@nation-a/ui 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-B5IKaL0m.cjs +2 -0
- package/dist/index-B5IKaL0m.cjs.map +1 -0
- package/dist/index-DqIJ_a5v.cjs +2 -0
- package/dist/{index-CW6PaxOI.cjs.map → index-DqIJ_a5v.cjs.map} +1 -1
- package/dist/{index-DEbT8Bqu.js → index-ETT604QL.js} +14 -14
- package/dist/{index-DEbT8Bqu.js.map → index-ETT604QL.js.map} +1 -1
- package/dist/index-FC3cETza.js +26 -0
- package/dist/index-FC3cETza.js.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -1
- package/dist/lottie.cjs +1 -1
- package/dist/lottie.js +1 -1
- package/dist/react-lottie-BoWlnUa4.js +9490 -0
- package/dist/react-lottie-BoWlnUa4.js.map +1 -0
- package/dist/react-lottie-D3xAW5ky.cjs +29 -0
- package/dist/react-lottie-D3xAW5ky.cjs.map +1 -0
- package/dist/stats.html +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +3 -6
- package/dist/index-CW6PaxOI.cjs +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as Button, type ButtonProps } from './Button';
|
|
2
2
|
export { default as Text, type TextProps } from './Text';
|
|
3
3
|
export { default as Dialog, type DialogProps } from './Dialog';
|
|
4
|
+
export { default as Spinner, type SpinnerProps } from './Spinner';
|
|
4
5
|
export { default as IconButton, type IconButtonProps } from './IconButton';
|
|
5
6
|
export { default as BottomSheet, type BottomSheetProps } from './BottomSheet';
|
|
6
7
|
export { default as Navigation, type NavigationProps, type NavigationTriggerProps } from './Navigation';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nation-a/ui",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/types/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"motion": "^12.23.24",
|
|
21
21
|
"react": "^19.2.0",
|
|
22
22
|
"react-dom": "^19.2.0",
|
|
23
|
+
"react-lottie": "^1.2.10",
|
|
23
24
|
"@nation-a/icons": "0.5.3",
|
|
24
25
|
"@nation-a/tokens": "0.4.3"
|
|
25
26
|
},
|
|
@@ -63,8 +64,7 @@
|
|
|
63
64
|
"peerDependencies": {
|
|
64
65
|
"react": "^19",
|
|
65
66
|
"react-dom": "^19",
|
|
66
|
-
"react-hot-toast": "^2.6.0"
|
|
67
|
-
"react-lottie": "^1.2.10"
|
|
67
|
+
"react-hot-toast": "^2.6.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependenciesMeta": {
|
|
70
70
|
"@pandacss/dev": {
|
|
@@ -72,9 +72,6 @@
|
|
|
72
72
|
},
|
|
73
73
|
"react-hot-toast": {
|
|
74
74
|
"optional": true
|
|
75
|
-
},
|
|
76
|
-
"react-lottie": {
|
|
77
|
-
"optional": true
|
|
78
75
|
}
|
|
79
76
|
},
|
|
80
77
|
"sideEffects": false,
|
package/dist/index-CW6PaxOI.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var d=Object.create;var r=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var f=(t,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of u(e))!y.call(t,a)&&a!==s&&r(t,a,{get:()=>e[a],enumerable:!(i=k(e,a))||i.enumerable});return t};var S=(t,e,s)=>(s=t!=null?d(x(t)):{},f(e||!t||!t.__esModule?r(s,"default",{value:t,enumerable:!0}):s,t));const c=require("react/jsx-runtime"),l=require("react"),n=require("./index-BnkuQ4Ze.cjs"),w=n.cva({base:{"& path":{stroke:"currentColor"}},defaultVariants:{size:"md"},variants:{size:{sm:{width:4,height:4},md:{width:6,height:6},lg:{width:12,height:12},xl:{width:24,height:24}}}}),g="newScene",b=0,E=600,j=600,D={g:"@lottiefiles/toolkit-js 0.33.2"},B=[{ty:4,nm:"Shape Layer 1",sr:1,st:0,op:900.000036657751,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[0,0,0]},s:{a:0,k:[244,244,100]},sk:{a:0,k:0},p:{a:0,k:[300,300,0]},r:{a:0,k:0},sa:{a:0,k:0},o:{a:0,k:100}},ef:[],shapes:[{ty:"el",bm:0,hd:!1,mn:"ADBE Vector Shape - Ellipse",nm:"Ellipse Path 1",d:1,p:{a:0,k:[0,0]},s:{a:0,k:[180,180]}},{ty:"tm",bm:0,hd:!1,mn:"ADBE Vector Filter - Trim",nm:"Trim Paths 1",ix:2,e:{a:1,k:[{o:{x:.561,y:.016},i:{x:.439,y:1.017},s:[100],t:0},{s:[0],t:30.0000012219251}],ix:2},o:{a:0,k:0,ix:3},s:{a:1,k:[{o:{x:.561,y:.015},i:{x:.439,y:1.016},s:[100],t:5},{s:[0],t:33.0000013441176}],ix:1},m:1},{ty:"st",bm:0,hd:!1,mn:"ADBE Vector Graphic - Stroke",nm:"Stroke 1",lc:2,lj:1,ml:4,o:{a:0,k:100},w:{a:0,k:25},c:{a:0,k:[1,1,1]}}],ind:1}],C="4.5.3",L=29.9700012207031,V=33.0000013441175,q=1.00000004073083,v=[],A={nm:g,ddd:b,h:E,w:j,meta:D,layers:B,v:C,fr:L,op:V,ip:q,assets:v},h=({className:t,size:e,color:s,ref:i,...a})=>{const[o,m]=l.useState(null);return l.useEffect(()=>{import("react-lottie").then(p=>{m(()=>p.default)})},[]),c.jsx(n.Box,{ref:i,id:"spinner",...a,className:n.cx(w({size:e}),n.css({color:s}),t),children:o&&c.jsx(o,{options:{loop:!0,autoplay:!0,animationData:A},style:{width:"100%",height:"100%"},isClickToPauseDisabled:!0})})};h.displayName="Spinner";exports.Spinner=h;
|
|
2
|
-
//# sourceMappingURL=index-CW6PaxOI.cjs.map
|