@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.
@@ -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;AAI1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkElB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GACrE,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC1B,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cALE,OAAO;WACV,KAAK,CAAC,WAAW;cACd,OAAO;2CAoDpB,CAAC;AAGF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type LoadingProps = {
2
+ className?: string;
3
+ size?: 'TINY' | 'SMALL' | 'NORMAL' | 'LARGE' | 'HUGE';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dito-uai/components",
3
- "version": "5.1.0-alpha.35",
3
+ "version": "5.1.0-alpha.36",
4
4
  "description": "Dito's design system component library, made in TSX",
5
5
  "license": "MIT",
6
6
  "repository": "git+https://github.com/ditointernet/dito-uai.git",
@@ -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
  },