Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@radix-ui/react-primitive

Package Overview
Dependencies
Maintainers
8
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-primitive - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1-rc.1

2

dist/index.js

@@ -1,2 +0,2 @@

var e,r,t,o=require("@radix-ui/react-slot").Slot,i=(e={},r=require("react"),Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})),e),n=(t=require("@babel/runtime/helpers/extends"))&&t.__esModule?t.default:t;const s=["a","button","div","h2","h3","p","img","span","svg"].reduce(((e,r)=>({...e,[r]:/*#__PURE__*/i.forwardRef(((e,t)=>{const{asChild:s,...d}=e,u=s?o:r;return e.as&&console.error(a),/*#__PURE__*/i.createElement(u,n({},d,{ref:t}))}))})),{});exports.Primitive=s;const a="Warning: The `as` prop has been removed in favour of `asChild`. For details, see https://radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element",d=s;exports.Root=d;
var e,r,t,o=require("@radix-ui/react-slot").Slot,i=(e={},r=require("react"),Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})),e),n=(t=require("@babel/runtime/helpers/extends"))&&t.__esModule?t.default:t;const s=["a","button","div","h2","h3","p","img","span","svg"].reduce(((e,r)=>({...e,[r]:/*#__PURE__*/i.forwardRef(((e,t)=>{const{asChild:s,...d}=e,u=s?o:r;return i.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),e.as&&console.error(a),/*#__PURE__*/i.createElement(u,n({},d,{ref:t}))}))})),{});exports.Primitive=s;const a="Warning: The `as` prop has been removed in favour of `asChild`. For details, see https://radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element",d=s;exports.Root=d;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import{Slot as e}from"@radix-ui/react-slot";import*as r from"react";import t from"@babel/runtime/helpers/esm/extends";export const Primitive=["a","button","div","h2","h3","p","img","span","svg"].reduce(((i,s)=>({...i,[s]:/*#__PURE__*/r.forwardRef(((i,n)=>{const{asChild:a,...m}=i,d=a?e:s;return i.as&&console.error(o),/*#__PURE__*/r.createElement(d,t({},m,{ref:n}))}))})),{});const o="Warning: The `as` prop has been removed in favour of `asChild`. For details, see https://radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element";export const Root=Primitive;
import{Slot as e}from"@radix-ui/react-slot";import*as r from"react";import o from"@babel/runtime/helpers/esm/extends";export const Primitive=["a","button","div","h2","h3","p","img","span","svg"].reduce(((t,s)=>({...t,[s]:/*#__PURE__*/r.forwardRef(((t,n)=>{const{asChild:a,...m}=t,d=a?e:s;return r.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),t.as&&console.error(i),/*#__PURE__*/r.createElement(d,o({},m,{ref:n}))}))})),{});const i="Warning: The `as` prop has been removed in favour of `asChild`. For details, see https://radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element";export const Root=Primitive;
//# sourceMappingURL=index.module.js.map
{
"name": "@radix-ui/react-primitive",
"version": "0.1.0",
"version": "0.1.1-rc.1",
"license": "MIT",

@@ -35,3 +35,4 @@ "source": "src/index.ts",

"url": "https://github.com/radix-ui/primitives/issues"
}
},
"stableVersion": "0.1.0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc