@dito-uai/components 5.1.0-alpha.35 → 5.1.0-alpha.36
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/global.css +1 -1
- package/dist/index.cjs +43 -42
- package/dist/index.d.cts +213 -1
- package/dist/index.d.ts +213 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -11
- package/dist/ui/button.d.ts +204 -0
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/loading.d.ts +9 -0
- package/dist/ui/loading.d.ts.map +1 -0
- package/package.json +1 -1
- package/tailwind.config.ts +18 -0
package/dist/ui/button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAK1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
|
4
|
+
color?: 'WHITE' | 'RED' | 'BLUE' | 'GREEN' | 'GRAY' | 'INDIGO' | 'TRANSPARENT';
|
|
5
|
+
fill?: 'WHITE' | 'RED' | 'BLUE' | 'GREEN' | 'GRAY' | 'INDIGO' | 'TRANSPARENT';
|
|
6
|
+
};
|
|
7
|
+
declare const Loading: ({ className, size, color, fill, }: LoadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Loading;
|
|
9
|
+
//# sourceMappingURL=loading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading.d.ts","sourceRoot":"","sources":["../../src/ui/loading.tsx"],"names":[],"mappings":"AA4CA,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACtD,KAAK,CAAC,EACF,OAAO,GACP,KAAK,GACL,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,aAAa,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,QAAA,MAAM,OAAO,sCAKV,YAAY,4CA4Bd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
package/tailwind.config.ts
CHANGED
|
@@ -239,10 +239,28 @@ export default {
|
|
|
239
239
|
from: { height: 'var(--radix-accordion-content-height)' },
|
|
240
240
|
to: { height: '0' },
|
|
241
241
|
},
|
|
242
|
+
rotate: {
|
|
243
|
+
'100%': { transform: 'rotate(360deg)' },
|
|
244
|
+
},
|
|
245
|
+
dash: {
|
|
246
|
+
'0%': {
|
|
247
|
+
'stroke-dasharray': '1, 200',
|
|
248
|
+
'stroke-dashoffset': '0',
|
|
249
|
+
},
|
|
250
|
+
'50%': {
|
|
251
|
+
'stroke-dasharray': '90, 200',
|
|
252
|
+
'stroke-dashoffset': '-35px',
|
|
253
|
+
},
|
|
254
|
+
'100%': {
|
|
255
|
+
'stroke-dashoffset': '-125px',
|
|
256
|
+
},
|
|
257
|
+
},
|
|
242
258
|
},
|
|
243
259
|
animation: {
|
|
244
260
|
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
245
261
|
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
262
|
+
rotate: 'rotate 2s linear infinite',
|
|
263
|
+
dash: 'dash 1.5s ease-in-out infinite',
|
|
246
264
|
},
|
|
247
265
|
},
|
|
248
266
|
},
|