@szum-tech/design-system 3.9.0 → 3.10.0

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.
Files changed (73) hide show
  1. package/dist/chunk-2WQJ36RD.cjs +78 -0
  2. package/dist/chunk-D4QID7AI.cjs +607 -0
  3. package/dist/chunk-DGWBE2Y3.cjs +205 -0
  4. package/dist/{chunk-XTNS5QH5.cjs → chunk-EG374TED.cjs} +52 -86
  5. package/dist/chunk-EUH466AL.cjs +179 -0
  6. package/dist/chunk-F7N6WQV6.cjs +53 -0
  7. package/dist/chunk-GYXQUTWZ.cjs +59 -0
  8. package/dist/chunk-IWF52DDE.js +55 -0
  9. package/dist/{chunk-PHPJ54IC.js → chunk-JLKQ6WKK.js} +48 -82
  10. package/dist/chunk-K5AURCK5.js +183 -0
  11. package/dist/chunk-OCOCENE6.js +42 -0
  12. package/dist/chunk-R65CJGEQ.js +48 -0
  13. package/dist/chunk-TKZOB6C3.cjs +70 -0
  14. package/dist/chunk-WMGJCB7O.js +157 -0
  15. package/dist/chunk-YEFLGE3L.cjs +47 -0
  16. package/dist/chunk-YQ6J6VOI.js +48 -0
  17. package/dist/chunk-YSYZKK24.js +575 -0
  18. package/dist/chunk-YUMKV5TH.js +56 -0
  19. package/dist/components/accordion/index.cjs +23 -0
  20. package/dist/components/accordion/index.d.cts +17 -0
  21. package/dist/components/accordion/index.d.ts +17 -0
  22. package/dist/components/accordion/index.js +2 -0
  23. package/dist/components/button/index.cjs +17 -10
  24. package/dist/components/button/index.js +16 -9
  25. package/dist/components/counting-number/index.cjs +11 -0
  26. package/dist/components/counting-number/index.d.cts +18 -0
  27. package/dist/components/counting-number/index.d.ts +18 -0
  28. package/dist/components/counting-number/index.js +2 -0
  29. package/dist/components/index.cjs +214 -111
  30. package/dist/components/index.d.cts +11 -2
  31. package/dist/components/index.d.ts +11 -2
  32. package/dist/components/index.js +16 -9
  33. package/dist/components/marquee/index.cjs +11 -0
  34. package/dist/components/marquee/index.d.cts +48 -0
  35. package/dist/components/marquee/index.d.ts +48 -0
  36. package/dist/components/marquee/index.js +2 -0
  37. package/dist/components/status/index.cjs +19 -0
  38. package/dist/components/status/index.d.cts +25 -0
  39. package/dist/components/status/index.d.ts +25 -0
  40. package/dist/components/status/index.js +2 -0
  41. package/dist/components/stepper/index.cjs +35 -28
  42. package/dist/components/stepper/index.d.cts +5 -4
  43. package/dist/components/stepper/index.d.ts +5 -4
  44. package/dist/components/stepper/index.js +16 -9
  45. package/dist/components/tabs/index.cjs +23 -0
  46. package/dist/components/tabs/index.d.cts +17 -0
  47. package/dist/components/tabs/index.d.ts +17 -0
  48. package/dist/components/tabs/index.js +2 -0
  49. package/dist/components/timeline/index.cjs +44 -0
  50. package/dist/components/timeline/index.d.cts +62 -0
  51. package/dist/components/timeline/index.d.ts +62 -0
  52. package/dist/components/timeline/index.js +3 -0
  53. package/dist/components/toaster/index.cjs +18 -11
  54. package/dist/components/toaster/index.js +16 -9
  55. package/dist/components/typing-text/index.cjs +11 -0
  56. package/dist/components/typing-text/index.d.cts +40 -0
  57. package/dist/components/typing-text/index.d.ts +40 -0
  58. package/dist/components/typing-text/index.js +2 -0
  59. package/dist/components/word-rotate/index.cjs +11 -0
  60. package/dist/components/word-rotate/index.d.cts +29 -0
  61. package/dist/components/word-rotate/index.d.ts +29 -0
  62. package/dist/components/word-rotate/index.js +2 -0
  63. package/dist/direction-CUOPDLCj.d.cts +7 -0
  64. package/dist/direction-CUOPDLCj.d.ts +7 -0
  65. package/package.json +35 -44
  66. package/tailwind/animation.css +23 -1
  67. package/tailwind/palette.css +2 -2
  68. package/dist/chunk-EW6TE3N5.cjs +0 -38
  69. package/dist/chunk-H5O5L6XT.js +0 -14
  70. package/dist/contexts/index.cjs +0 -18
  71. package/dist/contexts/index.d.cts +0 -11
  72. package/dist/contexts/index.d.ts +0 -11
  73. package/dist/contexts/index.js +0 -1
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
-
5
- function _interopNamespace(e) {
6
- if (e && e.__esModule) return e;
7
- var n = Object.create(null);
8
- if (e) {
9
- Object.keys(e).forEach(function (k) {
10
- if (k !== 'default') {
11
- var d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: function () { return e[k]; }
15
- });
16
- }
17
- });
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
-
23
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
24
-
25
- // src/contexts/directon.tsx
26
- var Direction = {
27
- LTR: "ltr",
28
- RTL: "rtl"
29
- };
30
- var DirectionContext = React__namespace.createContext(void 0);
31
- function useDirection(dirProp) {
32
- const contextDir = React__namespace.useContext(DirectionContext);
33
- return dirProp ?? contextDir ?? Direction.LTR;
34
- }
35
-
36
- exports.Direction = Direction;
37
- exports.DirectionContext = DirectionContext;
38
- exports.useDirection = useDirection;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
-
3
- // src/contexts/directon.tsx
4
- var Direction = {
5
- LTR: "ltr",
6
- RTL: "rtl"
7
- };
8
- var DirectionContext = React.createContext(void 0);
9
- function useDirection(dirProp) {
10
- const contextDir = React.useContext(DirectionContext);
11
- return dirProp ?? contextDir ?? Direction.LTR;
12
- }
13
-
14
- export { Direction, DirectionContext, useDirection };
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkEW6TE3N5_cjs = require('../chunk-EW6TE3N5.cjs');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Direction", {
8
- enumerable: true,
9
- get: function () { return chunkEW6TE3N5_cjs.Direction; }
10
- });
11
- Object.defineProperty(exports, "DirectionContext", {
12
- enumerable: true,
13
- get: function () { return chunkEW6TE3N5_cjs.DirectionContext; }
14
- });
15
- Object.defineProperty(exports, "useDirection", {
16
- enumerable: true,
17
- get: function () { return chunkEW6TE3N5_cjs.useDirection; }
18
- });
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
-
3
- declare const Direction: {
4
- readonly LTR: "ltr";
5
- readonly RTL: "rtl";
6
- };
7
- type Direction = (typeof Direction)[keyof typeof Direction];
8
- declare const DirectionContext: React.Context<Direction | undefined>;
9
- declare function useDirection(dirProp?: Direction): Direction;
10
-
11
- export { Direction, DirectionContext, useDirection };
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
-
3
- declare const Direction: {
4
- readonly LTR: "ltr";
5
- readonly RTL: "rtl";
6
- };
7
- type Direction = (typeof Direction)[keyof typeof Direction];
8
- declare const DirectionContext: React.Context<Direction | undefined>;
9
- declare function useDirection(dirProp?: Direction): Direction;
10
-
11
- export { Direction, DirectionContext, useDirection };
@@ -1 +0,0 @@
1
- export { Direction, DirectionContext, useDirection } from '../chunk-H5O5L6XT.js';