@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.
- package/dist/chunk-2WQJ36RD.cjs +78 -0
- package/dist/chunk-D4QID7AI.cjs +607 -0
- package/dist/chunk-DGWBE2Y3.cjs +205 -0
- package/dist/{chunk-XTNS5QH5.cjs → chunk-EG374TED.cjs} +52 -86
- package/dist/chunk-EUH466AL.cjs +179 -0
- package/dist/chunk-F7N6WQV6.cjs +53 -0
- package/dist/chunk-GYXQUTWZ.cjs +59 -0
- package/dist/chunk-IWF52DDE.js +55 -0
- package/dist/{chunk-PHPJ54IC.js → chunk-JLKQ6WKK.js} +48 -82
- package/dist/chunk-K5AURCK5.js +183 -0
- package/dist/chunk-OCOCENE6.js +42 -0
- package/dist/chunk-R65CJGEQ.js +48 -0
- package/dist/chunk-TKZOB6C3.cjs +70 -0
- package/dist/chunk-WMGJCB7O.js +157 -0
- package/dist/chunk-YEFLGE3L.cjs +47 -0
- package/dist/chunk-YQ6J6VOI.js +48 -0
- package/dist/chunk-YSYZKK24.js +575 -0
- package/dist/chunk-YUMKV5TH.js +56 -0
- package/dist/components/accordion/index.cjs +23 -0
- package/dist/components/accordion/index.d.cts +17 -0
- package/dist/components/accordion/index.d.ts +17 -0
- package/dist/components/accordion/index.js +2 -0
- package/dist/components/button/index.cjs +17 -10
- package/dist/components/button/index.js +16 -9
- package/dist/components/counting-number/index.cjs +11 -0
- package/dist/components/counting-number/index.d.cts +18 -0
- package/dist/components/counting-number/index.d.ts +18 -0
- package/dist/components/counting-number/index.js +2 -0
- package/dist/components/index.cjs +214 -111
- package/dist/components/index.d.cts +11 -2
- package/dist/components/index.d.ts +11 -2
- package/dist/components/index.js +16 -9
- package/dist/components/marquee/index.cjs +11 -0
- package/dist/components/marquee/index.d.cts +48 -0
- package/dist/components/marquee/index.d.ts +48 -0
- package/dist/components/marquee/index.js +2 -0
- package/dist/components/status/index.cjs +19 -0
- package/dist/components/status/index.d.cts +25 -0
- package/dist/components/status/index.d.ts +25 -0
- package/dist/components/status/index.js +2 -0
- package/dist/components/stepper/index.cjs +35 -28
- package/dist/components/stepper/index.d.cts +5 -4
- package/dist/components/stepper/index.d.ts +5 -4
- package/dist/components/stepper/index.js +16 -9
- package/dist/components/tabs/index.cjs +23 -0
- package/dist/components/tabs/index.d.cts +17 -0
- package/dist/components/tabs/index.d.ts +17 -0
- package/dist/components/tabs/index.js +2 -0
- package/dist/components/timeline/index.cjs +44 -0
- package/dist/components/timeline/index.d.cts +62 -0
- package/dist/components/timeline/index.d.ts +62 -0
- package/dist/components/timeline/index.js +3 -0
- package/dist/components/toaster/index.cjs +18 -11
- package/dist/components/toaster/index.js +16 -9
- package/dist/components/typing-text/index.cjs +11 -0
- package/dist/components/typing-text/index.d.cts +40 -0
- package/dist/components/typing-text/index.d.ts +40 -0
- package/dist/components/typing-text/index.js +2 -0
- package/dist/components/word-rotate/index.cjs +11 -0
- package/dist/components/word-rotate/index.d.cts +29 -0
- package/dist/components/word-rotate/index.d.ts +29 -0
- package/dist/components/word-rotate/index.js +2 -0
- package/dist/direction-CUOPDLCj.d.cts +7 -0
- package/dist/direction-CUOPDLCj.d.ts +7 -0
- package/package.json +35 -44
- package/tailwind/animation.css +23 -1
- package/tailwind/palette.css +2 -2
- package/dist/chunk-EW6TE3N5.cjs +0 -38
- package/dist/chunk-H5O5L6XT.js +0 -14
- package/dist/contexts/index.cjs +0 -18
- package/dist/contexts/index.d.cts +0 -11
- package/dist/contexts/index.d.ts +0 -11
- package/dist/contexts/index.js +0 -1
package/dist/chunk-EW6TE3N5.cjs
DELETED
|
@@ -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;
|
package/dist/chunk-H5O5L6XT.js
DELETED
|
@@ -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 };
|
package/dist/contexts/index.cjs
DELETED
|
@@ -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 };
|
package/dist/contexts/index.d.ts
DELETED
|
@@ -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 };
|
package/dist/contexts/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Direction, DirectionContext, useDirection } from '../chunk-H5O5L6XT.js';
|