@chayns-components/core 5.1.0 → 5.2.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/AGENTS.md +117 -2
- package/lib/cjs/components/search-input/SearchInput.js +3 -1
- package/lib/cjs/components/search-input/SearchInput.js.map +1 -1
- package/lib/cjs/components/skeleton/base-skeleton/BaseSkeleton.js +47 -0
- package/lib/cjs/components/skeleton/base-skeleton/BaseSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/base-skeleton/BaseSkeleton.styles.js +73 -0
- package/lib/cjs/components/skeleton/base-skeleton/BaseSkeleton.styles.js.map +1 -0
- package/lib/cjs/components/skeleton/index.js +34 -0
- package/lib/cjs/components/skeleton/index.js.map +1 -0
- package/lib/cjs/components/skeleton/skeleton-provider/SkeletonProvider.js +89 -0
- package/lib/cjs/components/skeleton/skeleton-provider/SkeletonProvider.js.map +1 -0
- package/lib/cjs/components/skeleton/types.js +13 -0
- package/lib/cjs/components/skeleton/types.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.js +41 -0
- package/lib/cjs/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.js +16 -0
- package/lib/cjs/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/badge-skeleton/BadgeSkeleton.js +30 -0
- package/lib/cjs/components/skeleton/variants/badge-skeleton/BadgeSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/box-skeleton/BoxSkeleton.js +32 -0
- package/lib/cjs/components/skeleton/variants/box-skeleton/BoxSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/button-skeleton/ButtonSkeleton.js +30 -0
- package/lib/cjs/components/skeleton/variants/button-skeleton/ButtonSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/circle-skeleton/CircleSkeleton.js +30 -0
- package/lib/cjs/components/skeleton/variants/circle-skeleton/CircleSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/headline-skeleton/HeadlineSkeleton.js +50 -0
- package/lib/cjs/components/skeleton/variants/headline-skeleton/HeadlineSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.js +44 -0
- package/lib/cjs/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.js +24 -0
- package/lib/cjs/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/text-skeleton/TextSkeleton.js +41 -0
- package/lib/cjs/components/skeleton/variants/text-skeleton/TextSkeleton.js.map +1 -0
- package/lib/cjs/components/skeleton/variants/text-skeleton/TextSkeleton.styles.js +13 -0
- package/lib/cjs/components/skeleton/variants/text-skeleton/TextSkeleton.styles.js.map +1 -0
- package/lib/cjs/index.js +14 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/search-input/SearchInput.js +3 -1
- package/lib/esm/components/search-input/SearchInput.js.map +1 -1
- package/lib/esm/components/skeleton/base-skeleton/BaseSkeleton.js +40 -0
- package/lib/esm/components/skeleton/base-skeleton/BaseSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/base-skeleton/BaseSkeleton.styles.js +66 -0
- package/lib/esm/components/skeleton/base-skeleton/BaseSkeleton.styles.js.map +1 -0
- package/lib/esm/components/skeleton/index.js +27 -0
- package/lib/esm/components/skeleton/index.js.map +1 -0
- package/lib/esm/components/skeleton/skeleton-provider/SkeletonProvider.js +79 -0
- package/lib/esm/components/skeleton/skeleton-provider/SkeletonProvider.js.map +1 -0
- package/lib/esm/components/skeleton/types.js +7 -0
- package/lib/esm/components/skeleton/types.js.map +1 -0
- package/lib/esm/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.js +33 -0
- package/lib/esm/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.js +9 -0
- package/lib/esm/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.js.map +1 -0
- package/lib/esm/components/skeleton/variants/badge-skeleton/BadgeSkeleton.js +23 -0
- package/lib/esm/components/skeleton/variants/badge-skeleton/BadgeSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/box-skeleton/BoxSkeleton.js +25 -0
- package/lib/esm/components/skeleton/variants/box-skeleton/BoxSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/button-skeleton/ButtonSkeleton.js +23 -0
- package/lib/esm/components/skeleton/variants/button-skeleton/ButtonSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/circle-skeleton/CircleSkeleton.js +23 -0
- package/lib/esm/components/skeleton/variants/circle-skeleton/CircleSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/headline-skeleton/HeadlineSkeleton.js +43 -0
- package/lib/esm/components/skeleton/variants/headline-skeleton/HeadlineSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.js +36 -0
- package/lib/esm/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.js +17 -0
- package/lib/esm/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.js.map +1 -0
- package/lib/esm/components/skeleton/variants/text-skeleton/TextSkeleton.js +34 -0
- package/lib/esm/components/skeleton/variants/text-skeleton/TextSkeleton.js.map +1 -0
- package/lib/esm/components/skeleton/variants/text-skeleton/TextSkeleton.styles.js +6 -0
- package/lib/esm/components/skeleton/variants/text-skeleton/TextSkeleton.styles.js.map +1 -0
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/types/components/skeleton/base-skeleton/BaseSkeleton.d.ts +10 -0
- package/lib/types/components/skeleton/base-skeleton/BaseSkeleton.styles.d.ts +22 -0
- package/lib/types/components/skeleton/index.d.ts +27 -0
- package/lib/types/components/skeleton/skeleton-provider/SkeletonProvider.d.ts +37 -0
- package/lib/types/components/skeleton/types.d.ts +14 -0
- package/lib/types/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.d.ts +4 -0
- package/lib/types/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.d.ts +1 -0
- package/lib/types/components/skeleton/variants/badge-skeleton/BadgeSkeleton.d.ts +7 -0
- package/lib/types/components/skeleton/variants/box-skeleton/BoxSkeleton.d.ts +8 -0
- package/lib/types/components/skeleton/variants/button-skeleton/ButtonSkeleton.d.ts +7 -0
- package/lib/types/components/skeleton/variants/circle-skeleton/CircleSkeleton.d.ts +7 -0
- package/lib/types/components/skeleton/variants/headline-skeleton/HeadlineSkeleton.d.ts +12 -0
- package/lib/types/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.d.ts +4 -0
- package/lib/types/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.d.ts +2 -0
- package/lib/types/components/skeleton/variants/text-skeleton/TextSkeleton.d.ts +9 -0
- package/lib/types/components/skeleton/variants/text-skeleton/TextSkeleton.styles.d.ts +1 -0
- package/lib/types/index.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StyledAccordionSkeleton = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const StyledAccordionSkeleton = exports.StyledAccordionSkeleton = _styledComponents.default.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 6px;
|
|
13
|
+
height: 35px;
|
|
14
|
+
margin-top: 6px;
|
|
15
|
+
`;
|
|
16
|
+
//# sourceMappingURL=AccordionSkeleton.styles.js.map
|
package/lib/cjs/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionSkeleton.styles.js","names":["_styledComponents","_interopRequireDefault","require","e","__esModule","default","StyledAccordionSkeleton","exports","styled","div"],"sources":["../../../../../../src/components/skeleton/variants/accordion-skeleton/AccordionSkeleton.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nexport const StyledAccordionSkeleton = styled.div`\n display: flex;\n align-items: center;\n gap: 6px;\n height: 35px;\n margin-top: 6px;\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAuC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,GAAGE,yBAAM,CAACC,GAAG;AACjD;AACA;AACA;AACA;AACA;AACA,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _BaseSkeleton = require("../../base-skeleton/BaseSkeleton");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
+
const BadgeSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
11
|
+
className,
|
|
12
|
+
baseColor,
|
|
13
|
+
highlightColor,
|
|
14
|
+
style,
|
|
15
|
+
animationType,
|
|
16
|
+
width = 24
|
|
17
|
+
}, ref) => /*#__PURE__*/_react.default.createElement(_BaseSkeleton.BaseSkeleton, {
|
|
18
|
+
width: width,
|
|
19
|
+
height: 24,
|
|
20
|
+
borderRadius: "50%",
|
|
21
|
+
animationType: animationType,
|
|
22
|
+
baseColor: baseColor,
|
|
23
|
+
className: className,
|
|
24
|
+
style: style,
|
|
25
|
+
highlightColor: highlightColor,
|
|
26
|
+
ref: ref
|
|
27
|
+
}));
|
|
28
|
+
BadgeSkeleton.displayName = 'Skeleton.Badge';
|
|
29
|
+
var _default = exports.default = BadgeSkeleton;
|
|
30
|
+
//# sourceMappingURL=BadgeSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeSkeleton.js","names":["_react","_interopRequireWildcard","require","_BaseSkeleton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BadgeSkeleton","forwardRef","className","baseColor","highlightColor","style","animationType","width","ref","createElement","BaseSkeleton","height","borderRadius","displayName","_default","exports"],"sources":["../../../../../../src/components/skeleton/variants/badge-skeleton/BadgeSkeleton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';\nimport { BaseSkeletonConfig } from '../../types';\n\ninterface BadgeSkeletonProps extends BaseSkeletonConfig {\n width: number | string;\n}\n\nconst BadgeSkeleton = forwardRef<HTMLDivElement, Omit<BadgeSkeletonProps, 'borderRadius'>>(\n ({ className, baseColor, highlightColor, style, animationType, width = 24 }, ref) => (\n <BaseSkeleton\n width={width}\n height={24}\n borderRadius=\"50%\"\n animationType={animationType}\n baseColor={baseColor}\n className={className}\n style={style}\n highlightColor={highlightColor}\n ref={ref}\n />\n ),\n);\n\nBadgeSkeleton.displayName = 'Skeleton.Badge';\n\nexport default BadgeSkeleton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAAgE,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAOhE,MAAMkB,aAAa,gBAAG,IAAAC,iBAAU,EAC5B,CAAC;EAAEC,SAAS;EAAEC,SAAS;EAAEC,cAAc;EAAEC,KAAK;EAAEC,aAAa;EAAEC,KAAK,GAAG;AAAG,CAAC,EAAEC,GAAG,kBAC5E/B,MAAA,CAAAc,OAAA,CAAAkB,aAAA,CAAC7B,aAAA,CAAA8B,YAAY;EACTH,KAAK,EAAEA,KAAM;EACbI,MAAM,EAAE,EAAG;EACXC,YAAY,EAAC,KAAK;EAClBN,aAAa,EAAEA,aAAc;EAC7BH,SAAS,EAAEA,SAAU;EACrBD,SAAS,EAAEA,SAAU;EACrBG,KAAK,EAAEA,KAAM;EACbD,cAAc,EAAEA,cAAe;EAC/BI,GAAG,EAAEA;AAAI,CACZ,CAET,CAAC;AAEDR,aAAa,CAACa,WAAW,GAAG,gBAAgB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxB,OAAA,GAE9BS,aAAa","ignoreList":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _BaseSkeleton = require("../../base-skeleton/BaseSkeleton");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
+
const BoxSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
11
|
+
className,
|
|
12
|
+
baseColor,
|
|
13
|
+
highlightColor,
|
|
14
|
+
style,
|
|
15
|
+
borderRadius,
|
|
16
|
+
animationType,
|
|
17
|
+
height,
|
|
18
|
+
width
|
|
19
|
+
}, ref) => /*#__PURE__*/_react.default.createElement(_BaseSkeleton.BaseSkeleton, {
|
|
20
|
+
width: width,
|
|
21
|
+
height: height,
|
|
22
|
+
borderRadius: borderRadius,
|
|
23
|
+
animationType: animationType,
|
|
24
|
+
baseColor: baseColor,
|
|
25
|
+
className: className,
|
|
26
|
+
style: style,
|
|
27
|
+
highlightColor: highlightColor,
|
|
28
|
+
ref: ref
|
|
29
|
+
}));
|
|
30
|
+
BoxSkeleton.displayName = 'Skeleton.Box';
|
|
31
|
+
var _default = exports.default = BoxSkeleton;
|
|
32
|
+
//# sourceMappingURL=BoxSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxSkeleton.js","names":["_react","_interopRequireWildcard","require","_BaseSkeleton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BoxSkeleton","forwardRef","className","baseColor","highlightColor","style","borderRadius","animationType","height","width","ref","createElement","BaseSkeleton","displayName","_default","exports"],"sources":["../../../../../../src/components/skeleton/variants/box-skeleton/BoxSkeleton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';\nimport { BaseSkeletonConfig } from '../../types';\n\ninterface BoxSkeletonProps extends BaseSkeletonConfig {\n height: number | string;\n width: number | string;\n}\n\nconst BoxSkeleton = forwardRef<HTMLDivElement, BoxSkeletonProps>(\n (\n { className, baseColor, highlightColor, style, borderRadius, animationType, height, width },\n ref,\n ) => (\n <BaseSkeleton\n width={width}\n height={height}\n borderRadius={borderRadius}\n animationType={animationType}\n baseColor={baseColor}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S;EAAEC,cAAc;EAAEC,KAAK;EAAEC,YAAY;EAAEC,aAAa;EAAEC,MAAM;EAAEC;AAAM,CAAC,EAC3FC,GAAG,kBAEHjC,MAAA,CAAAc,OAAA,CAAAoB,aAAA,CAAC/B,aAAA,CAAAgC,YAAY;EACTH,KAAK,EAAEA,KAAM;EACbD,MAAM,EAAEA,MAAO;EACfF,YAAY,EAAEA,YAAa;EAC3BC,aAAa,EAAEA,aAAc;EAC7BJ,SAAS,EAAEA,SAAU;EACrBD,SAAS,EAAEA,SAAU;EACrBG,KAAK,EAAEA,KAAM;EACbD,cAAc,EAAEA,cAAe;EAC/BM,GAAG,EAAEA;AAAI,CACZ,CAET,CAAC;AAEDV,WAAW,CAACa,WAAW,GAAG,cAAc;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxB,OAAA,GAE1BS,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _BaseSkeleton = require("../../base-skeleton/BaseSkeleton");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
+
const ButtonSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
11
|
+
className,
|
|
12
|
+
baseColor,
|
|
13
|
+
highlightColor,
|
|
14
|
+
style,
|
|
15
|
+
animationType,
|
|
16
|
+
shouldRoundCorners = false
|
|
17
|
+
}, ref) => /*#__PURE__*/_react.default.createElement(_BaseSkeleton.BaseSkeleton, {
|
|
18
|
+
width: 100,
|
|
19
|
+
height: 34,
|
|
20
|
+
borderRadius: shouldRoundCorners ? '50%' : 3,
|
|
21
|
+
animationType: animationType,
|
|
22
|
+
baseColor: baseColor,
|
|
23
|
+
className: className,
|
|
24
|
+
style: style,
|
|
25
|
+
highlightColor: highlightColor,
|
|
26
|
+
ref: ref
|
|
27
|
+
}));
|
|
28
|
+
ButtonSkeleton.displayName = 'Skeleton.Button';
|
|
29
|
+
var _default = exports.default = ButtonSkeleton;
|
|
30
|
+
//# sourceMappingURL=ButtonSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonSkeleton.js","names":["_react","_interopRequireWildcard","require","_BaseSkeleton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ButtonSkeleton","forwardRef","className","baseColor","highlightColor","style","animationType","shouldRoundCorners","ref","createElement","BaseSkeleton","width","height","borderRadius","displayName","_default","exports"],"sources":["../../../../../../src/components/skeleton/variants/button-skeleton/ButtonSkeleton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';\nimport { BaseSkeletonConfig } from '../../types';\n\ninterface ButtonSkeletonProps extends BaseSkeletonConfig {\n shouldRoundCorners?: boolean;\n}\n\nconst ButtonSkeleton = forwardRef<HTMLDivElement, Omit<ButtonSkeletonProps, 'borderRadius'>>(\n (\n { className, baseColor, highlightColor, style, animationType, shouldRoundCorners = false },\n ref,\n ) => (\n <BaseSkeleton\n width={100}\n height={34}\n borderRadius={shouldRoundCorners ? '50%' : 3}\n animationType={animationType}\n baseColor={baseColor}\n className={className}\n style={style}\n highlightColor={highlightCol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;EAAEC,aAAa;EAAEC,kBAAkB,GAAG;AAAM,CAAC,EAC1FC,GAAG,kBAEH/B,MAAA,CAAAc,OAAA,CAAAkB,aAAA,CAAC7B,aAAA,CAAA8B,YAAY;EACTC,KAAK,EAAE,GAAI;EACXC,MAAM,EAAE,EAAG;EACXC,YAAY,EAAEN,kBAAkB,GAAG,KAAK,GAAG,CAAE;EAC7CD,aAAa,EAAEA,aAAc;EAC7BH,SAAS,EAAEA,SAAU;EACrBD,SAAS,EAAEA,SAAU;EACrBG,KAAK,EAAEA,KAAM;EACbD,cAAc,EAAEA,cAAe;EAC/BI,GAAG,EAAEA;AAAI,CACZ,CAET,CAAC;AAEDR,cAAc,CAACc,WAAW,GAAG,iBAAiB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAEhCS,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _BaseSkeleton = require("../../base-skeleton/BaseSkeleton");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
+
const CircleSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
11
|
+
className,
|
|
12
|
+
baseColor,
|
|
13
|
+
highlightColor,
|
|
14
|
+
style,
|
|
15
|
+
animationType,
|
|
16
|
+
size
|
|
17
|
+
}, ref) => /*#__PURE__*/_react.default.createElement(_BaseSkeleton.BaseSkeleton, {
|
|
18
|
+
width: size,
|
|
19
|
+
height: size,
|
|
20
|
+
borderRadius: "100%",
|
|
21
|
+
animationType: animationType,
|
|
22
|
+
baseColor: baseColor,
|
|
23
|
+
className: className,
|
|
24
|
+
style: style,
|
|
25
|
+
highlightColor: highlightColor,
|
|
26
|
+
ref: ref
|
|
27
|
+
}));
|
|
28
|
+
CircleSkeleton.displayName = 'Skeleton.Box';
|
|
29
|
+
var _default = exports.default = CircleSkeleton;
|
|
30
|
+
//# sourceMappingURL=CircleSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircleSkeleton.js","names":["_react","_interopRequireWildcard","require","_BaseSkeleton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CircleSkeleton","forwardRef","className","baseColor","highlightColor","style","animationType","size","ref","createElement","BaseSkeleton","width","height","borderRadius","displayName","_default","exports"],"sources":["../../../../../../src/components/skeleton/variants/circle-skeleton/CircleSkeleton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';\nimport { BaseSkeletonConfig } from '../../types';\n\ninterface CircleSkeletonProps extends BaseSkeletonConfig {\n size: number;\n}\n\nconst CircleSkeleton = forwardRef<HTMLDivElement, Omit<CircleSkeletonProps, 'borderRadius'>>(\n ({ className, baseColor, highlightColor, style, animationType, size }, ref) => (\n <BaseSkeleton\n width={size}\n height={size}\n borderRadius=\"100%\"\n animationType={animationType}\n baseColor={baseColor}\n className={className}\n style={style}\n highlightColor={highlightColor}\n ref={ref}\n />\n ),\n);\n\nCircleSkeleton.displayName = 'Skeleton.Box';\n\nexport default CircleSkeleton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,G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AY;EACTC,KAAK,EAAEJ,IAAK;EACZK,MAAM,EAAEL,IAAK;EACbM,YAAY,EAAC,MAAM;EACnBP,aAAa,EAAEA,aAAc;EAC7BH,SAAS,EAAEA,SAAU;EACrBD,SAAS,EAAEA,SAAU;EACrBG,KAAK,EAAEA,KAAM;EACbD,cAAc,EAAEA,cAAe;EAC/BI,GAAG,EAAEA;AAAI,CACZ,CAET,CAAC;AAEDR,cAAc,CAACc,WAAW,GAAG,cAAc;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAE7BS,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.H6Skeleton = exports.H5Skeleton = exports.H4Skeleton = exports.H3Skeleton = exports.H2Skeleton = exports.H1Skeleton = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _BaseSkeleton = require("../../base-skeleton/BaseSkeleton");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
|
+
const BaseHeadlineSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
12
|
+
className,
|
|
13
|
+
baseColor,
|
|
14
|
+
highlightColor,
|
|
15
|
+
style,
|
|
16
|
+
borderRadius,
|
|
17
|
+
animationType,
|
|
18
|
+
width = '60%',
|
|
19
|
+
type
|
|
20
|
+
}, ref) => /*#__PURE__*/_react.default.createElement(_BaseSkeleton.BaseSkeleton, {
|
|
21
|
+
as: type,
|
|
22
|
+
ref: ref,
|
|
23
|
+
width: width,
|
|
24
|
+
height: 0,
|
|
25
|
+
borderRadius: borderRadius,
|
|
26
|
+
animationType: animationType,
|
|
27
|
+
baseColor: baseColor,
|
|
28
|
+
className: className,
|
|
29
|
+
style: style,
|
|
30
|
+
highlightColor: highlightColor
|
|
31
|
+
}, "Pseudo Headline"));
|
|
32
|
+
BaseHeadlineSkeleton.displayName = 'BaseHeadlineSkeleton';
|
|
33
|
+
const createHeadlineSkeleton = (type, displayName) => {
|
|
34
|
+
const Component = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
|
|
35
|
+
/*#__PURE__*/
|
|
36
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
37
|
+
_react.default.createElement(BaseHeadlineSkeleton, _extends({
|
|
38
|
+
ref: ref,
|
|
39
|
+
type: type
|
|
40
|
+
}, props)));
|
|
41
|
+
Component.displayName = displayName;
|
|
42
|
+
return Component;
|
|
43
|
+
};
|
|
44
|
+
const H1Skeleton = exports.H1Skeleton = createHeadlineSkeleton('h1', 'Skeleton.H1');
|
|
45
|
+
const H2Skeleton = exports.H2Skeleton = createHeadlineSkeleton('h2', 'Skeleton.H2');
|
|
46
|
+
const H3Skeleton = exports.H3Skeleton = createHeadlineSkeleton('h3', 'Skeleton.H3');
|
|
47
|
+
const H4Skeleton = exports.H4Skeleton = createHeadlineSkeleton('h4', 'Skeleton.H4');
|
|
48
|
+
const H5Skeleton = exports.H5Skeleton = createHeadlineSkeleton('h5', 'Skeleton.H5');
|
|
49
|
+
const H6Skeleton = exports.H6Skeleton = createHeadlineSkeleton('h6', 'Skeleton.H6');
|
|
50
|
+
//# sourceMappingURL=HeadlineSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadlineSkeleton.js","names":["_react","_interopRequireWildcard","require","_BaseSkeleton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","BaseHeadlineSkeleton","forwardRef","className","baseColor","highlightColor","style","borderRadius","animationType","width","type","ref","createElement","BaseSkeleton","as","height","displayName","createHeadlineSkeleton","Component","props","H1Skeleton","exports","H2Skeleton","H3Skeleton","H4Skeleton","H5Skeleton","H6Skeleton"],"sources":["../../../../../../src/components/skeleton/variants/headline-skeleton/HeadlineSkeleton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';\nimport { BaseSkeletonConfig } from '../../types';\n\ntype HeadlineType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n\ninterface BaseHeadlineSkeletonProps extends BaseSkeletonConfig {\n width?: number | string;\n type: HeadlineType;\n}\n\ninterface HeadlineSkeletonProps extends BaseSkeletonConfig {\n width?: number | string;\n}\n\nconst BaseHeadlineSkeleton = forwardRef<HTMLDivElement, BaseHeadlineSkeletonProps>(\n (\n {\n className,\n baseColor,\n highlightColor,\n style,\n borderRadius,\n animationType,\n width = '60%',\n type,\n },\n ref,\n ) => (\n <BaseSkeleton\n as={type}\n ref={ref}\n width={width}\n height={0}\n borderRadius={borderRadius}\n animationType={animationType}\n baseColor={baseColor}\n className={className}\n style={style}\n highlightColor={highlightColor}\n >\n Pseudo Headline\n </BaseSkeleton>\n ),\n);\n\nBaseHeadlineSkeleton.displayName = 'BaseHeadlineSkeleton';\n\nconst createHeadlineSkeleton = (type: HeadlineType, displayName: string) => {\n const Component = forwardRef<HTMLDivElement, HeadlineSkeletonProps>((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <BaseHeadlineSkeleton ref={ref} type={type} {...props} />\n ));\n\n Component.displayName = displayName;\n\n return Component;\n};\n\nexport const H1Skeleton = createHeadlineSkeleton('h1', 'Skeleton.H1');\nexport const H2Skeleton = createHeadlineSkeleton('h2', 'Skeleton.H2');\nexport const H3Skeleton = createHeadlineSkeleton('h3', 'Skeleton.H3');\nexport const H4Skeleton = createHeadlineSkeleton('h4', 'Skeleton.H4');\nexport const H5Skeleton = createHeadlineSkeleton('h5', 'Skeleton.H5');\nexport const H6Skeleton = createHeadlineSkeleton('h6', 'Skeleton.H6');\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAAgE,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAA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CAACP,IAAkB,EAAEM,WAAmB,KAAK;EACxE,MAAME,SAAS,gBAAG,IAAAhB,iBAAU,EAAwC,CAACiB,KAAK,EAAER,GAAG;EAAA;EAC3E;EACAvC,MAAA,CAAAc,OAAA,CAAA0B,aAAA,CAACX,oBAAoB,EAAAN,QAAA;IAACgB,GAAG,EAAEA,GAAI;IAACD,IAAI,EAAEA;EAAK,GAAKS,KAAK,CAAG,CAC3D,CAAC;EAEFD,SAAS,CAACF,WAAW,GAAGA,WAAW;EAEnC,OAAOE,SAAS;AACpB,CAAC;AAEM,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGH,sBAAsB,CAAC,IAAI,EAAE,aAAa,CAAC;AAC9D,MAAMK,UAAU,GAAAD,OAAA,CAAAC,UAAA,GAAGL,sBAAsB,CAAC,IAAI,EAAE,aAAa,CAAC;AAC9D,MAAMM,UAAU,GAAAF,OAAA,CAAAE,UAAA,GAAGN,sBAAsB,CAAC,IAAI,EAAE,aAAa,CAAC;AAC9D,MAAMO,UAAU,GAAAH,OAAA,CAAAG,UAAA,GAAGP,sBAAsB,CAAC,IAAI,EAAE,aAAa,CAAC;AAC9D,MAAMQ,UAAU,GAAAJ,OAAA,CAAAI,UAAA,GAAGR,sBAAsB,CAAC,IAAI,EAAE,aAAa,CAAC;AAC9D,MAAMS,UAAU,GAAAL,OAAA,CAAAK,UAAA,GAAGT,sBAAsB,CAAC,IAAI,EAAE,aAAa,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _ListItemSkeleton = require("./ListItemSkeleton.styles");
|
|
9
|
+
var _CircleSkeleton = _interopRequireDefault(require("../circle-skeleton/CircleSkeleton"));
|
|
10
|
+
var _BoxSkeleton = _interopRequireDefault(require("../box-skeleton/BoxSkeleton"));
|
|
11
|
+
var _SkeletonProvider = _interopRequireWildcard(require("../../skeleton-provider/SkeletonProvider"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
|
+
const ListItemSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
15
|
+
className,
|
|
16
|
+
baseColor,
|
|
17
|
+
highlightColor,
|
|
18
|
+
style,
|
|
19
|
+
animationType,
|
|
20
|
+
borderRadius
|
|
21
|
+
}, ref) => {
|
|
22
|
+
const context = (0, _SkeletonProvider.useSkeletonContext)();
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement(_ListItemSkeleton.StyledListItemSkeleton, {
|
|
24
|
+
className: className,
|
|
25
|
+
style: style,
|
|
26
|
+
ref: ref
|
|
27
|
+
}, /*#__PURE__*/_react.default.createElement(_SkeletonProvider.default, {
|
|
28
|
+
highlightColor: highlightColor ?? context.highlightColor,
|
|
29
|
+
baseColor: baseColor ?? context.baseColor,
|
|
30
|
+
animationType: animationType ?? context.animationType,
|
|
31
|
+
borderRadius: borderRadius ?? context.borderRadius
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement(_CircleSkeleton.default, {
|
|
33
|
+
size: 40
|
|
34
|
+
}), /*#__PURE__*/_react.default.createElement(_ListItemSkeleton.StyledListItemSkeletonBars, null, /*#__PURE__*/_react.default.createElement(_BoxSkeleton.default, {
|
|
35
|
+
height: 16,
|
|
36
|
+
width: "90%"
|
|
37
|
+
}), /*#__PURE__*/_react.default.createElement(_BoxSkeleton.default, {
|
|
38
|
+
height: 16,
|
|
39
|
+
width: "60%"
|
|
40
|
+
}))));
|
|
41
|
+
});
|
|
42
|
+
ListItemSkeleton.displayName = 'Skeleton.ListItem';
|
|
43
|
+
var _default = exports.default = ListItemSkeleton;
|
|
44
|
+
//# sourceMappingURL=ListItemSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemSkeleton.js","names":["_react","_interopRequireWildcard","require","_ListItemSkeleton","_CircleSkeleton","_interopRequireDefault","_BoxSkeleton","_SkeletonProvider","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ListItemSkeleton","forwardRef","className","baseColor","highlightColor","style","animationType","borderRadius","ref","context","useSkeletonContext","createElement","StyledListItemSkeleton","size","StyledListItemSkeletonBars","height","width","displayName","_default","exports"],"sources":["../../../../../../src/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { BaseSkeletonConfig } from '../../types';\nimport { StyledListItemSkeleton, StyledListItemSkeletonBars } from './ListItemSkeleton.styles';\nimport CircleSkeleton from '../circle-skeleton/CircleSkeleton';\nimport BoxSkeleton from '../box-skeleton/BoxSkeleton';\nimport SkeletonProvider, { useSkeletonContext } from '../../skeleton-provider/SkeletonProvider';\n\nconst ListItemSkeleton = forwardRef<HTMLDivElement, BaseSkeletonConfig>(\n ({ className, baseColor, highlightColor, style, animationType, borderRadius }, ref) => {\n const context = useSkeletonContext();\n\n return (\n <StyledListItemSkeleton className={className} style={style} ref={ref}>\n <SkeletonProvider\n highlightColor={highlightColor ?? context.highlightColor}\n baseColor={baseColor ?? context.baseColor}\n animationType={animationType ?? context.animationType}\n borderRadius={borderRadius ?? context.borderRadius}\n >\n <CircleSkeleton size={40} />\n <StyledListItemSkeletonBars>\n <BoxSkeleton height={16} width=\"90%\" />\n <BoxSkeleton height={16} width=\"60%\" />\n </StyledListItemSkeletonBars>\n </SkeletonProvider>\n </StyledListItemSkeleton>\n );\n },\n);\n\nListItemSkeleton.displayName = 'Skeleton.ListItem';\n\nexport default ListItemSkeleton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,iBAAA,GAAAN,uBAAA,CAAAC,OAAA;AAAgG,SAAAG,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAX,uBAAA,YAAAA,CAAAO,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAAK,GAAA,CAAAZ,CAAA,GAAAO,CAAA,CAAAM,GAAA,CAAAb,CAAA,EAAAS,CAAA,gBAAAN,CAAA,IAAAH,CAAA,gBAAAG,CAAA,OAAAW,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAG,CAAA,OAAAK,CAAA,IAAAD,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,EAAC;EAAK,CAAE,CAAC,eACvC3C,MAAA,CAAAU,OAAA,CAAA4B,aAAA,CAAChC,YAAA,CAAAI,OAAW;IAACgC,MAAM,EAAE,EAAG;IAACC,KAAK,EAAC;EAAK,CAAE,CACd,CACd,CACE,CAAC;AAEjC,CACJ,CAAC;AAEDhB,gBAAgB,CAACiB,WAAW,GAAG,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAApC,OAAA,GAEpCiB,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StyledListItemSkeletonBars = exports.StyledListItemSkeleton = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const StyledListItemSkeleton = exports.StyledListItemSkeleton = _styledComponents.default.div`
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 64px;
|
|
12
|
+
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: 10px;
|
|
16
|
+
padding: 12px 9px 12px 12px;
|
|
17
|
+
`;
|
|
18
|
+
const StyledListItemSkeletonBars = exports.StyledListItemSkeletonBars = _styledComponents.default.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 8px;
|
|
22
|
+
flex: 1;
|
|
23
|
+
`;
|
|
24
|
+
//# sourceMappingURL=ListItemSkeleton.styles.js.map
|
package/lib/cjs/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemSkeleton.styles.js","names":["_styledComponents","_interopRequireDefault","require","e","__esModule","default","StyledListItemSkeleton","exports","styled","div","StyledListItemSkeletonBars"],"sources":["../../../../../../src/components/skeleton/variants/list-item-skeleton/ListItemSkeleton.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nexport const StyledListItemSkeleton = styled.div`\n width: 100%;\n height: 64px;\n\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 12px 9px 12px 12px;\n`;\n\nexport const StyledListItemSkeletonBars = styled.div`\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAuC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,GAAGE,yBAAM,CAACC,GAAG;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAEM,MAAMC,0BAA0B,GAAAH,OAAA,CAAAG,0BAAA,GAAGF,yBAAM,CAACC,GAAG;AACpD;AACA;AACA;AACA;AACA,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _BaseSkeleton = require("../../base-skeleton/BaseSkeleton");
|
|
9
|
+
var _TextSkeleton = require("./TextSkeleton.styles");
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
11
|
+
const TextSkeleton = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
12
|
+
className,
|
|
13
|
+
baseColor,
|
|
14
|
+
highlightColor,
|
|
15
|
+
style,
|
|
16
|
+
borderRadius,
|
|
17
|
+
animationType,
|
|
18
|
+
width = '100%',
|
|
19
|
+
lines = 1,
|
|
20
|
+
randomWithBounds
|
|
21
|
+
}, ref) => {
|
|
22
|
+
const renderedLines = (0, _react.useMemo)(() => Array.from({
|
|
23
|
+
length: lines
|
|
24
|
+
}).map(() => /*#__PURE__*/_react.default.createElement(_BaseSkeleton.BaseSkeleton, {
|
|
25
|
+
key: Math.random(),
|
|
26
|
+
as: "p",
|
|
27
|
+
ref: ref,
|
|
28
|
+
width: randomWithBounds ? `${Math.floor(Math.random() * (randomWithBounds[1] - randomWithBounds[0] + 1)) + randomWithBounds[0]}%` : width,
|
|
29
|
+
height: 0,
|
|
30
|
+
borderRadius: borderRadius,
|
|
31
|
+
animationType: animationType,
|
|
32
|
+
baseColor: baseColor,
|
|
33
|
+
className: className,
|
|
34
|
+
style: style,
|
|
35
|
+
highlightColor: highlightColor
|
|
36
|
+
}, "Pseudo Text")), [animationType, baseColor, borderRadius, className, highlightColor, lines, randomWithBounds, ref, style, width]);
|
|
37
|
+
return /*#__PURE__*/_react.default.createElement(_TextSkeleton.StyledTextSkeleton, null, renderedLines);
|
|
38
|
+
});
|
|
39
|
+
TextSkeleton.displayName = 'Skeleton.Text';
|
|
40
|
+
var _default = exports.default = TextSkeleton;
|
|
41
|
+
//# sourceMappingURL=TextSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextSkeleton.js","names":["_react","_interopRequireWildcard","require","_BaseSkeleton","_TextSkeleton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TextSkeleton","forwardRef","className","baseColor","highlightColor","style","borderRadius","animationType","width","lines","randomWithBounds","ref","renderedLines","useMemo","Array","from","length","map","createElement","BaseSkeleton","key","Math","random","as","floor","height","StyledTextSkeleton","displayName","_default","exports"],"sources":["../../../../../../src/components/skeleton/variants/text-skeleton/TextSkeleton.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\nimport { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';\nimport { BaseSkeletonConfig } from '../../types';\nimport { StyledTextSkeleton } from './TextSkeleton.styles';\n\ninterface TextSkeletonProps extends BaseSkeletonConfig {\n width?: number | string;\n lines?: number;\n randomWithBounds?: [number, number];\n}\n\nconst TextSkeleton = forwardRef<HTMLDivElement, TextSkeletonProps>(\n (\n {\n className,\n baseColor,\n highlightColor,\n style,\n borderRadius,\n animationType,\n width = '100%',\n lines = 1,\n randomWithBounds,\n },\n ref,\n ) => {\n const renderedLines = useMemo(\n () =>\n Array.from({ length: lines }).map(() => (\n <BaseSkeleton\n key={Math.random()}\n as=\"p\"\n ref={ref}\n width={\n randomWithBounds\n ? `${Math.floor(Math.random() * (randomWithBounds[1] - randomWithBounds[0] + 1)) + randomWithBounds[0]}%`\n : width\n }\n height={0}\n borderRadius={borderRadius}\n animationType={animationType}\n baseColor={baseColor}\n className={className}\n style={style}\n highlightColor={highlightColor}\n >\n Pseudo Text\n </BaseSkeleton>\n )),\n [\n animationType,\n baseColor,\n borderRadius,\n className,\n highlightColor,\n lines,\n randomWithBounds,\n ref,\n style,\n width,\n ],\n );\n\n return <StyledTextSkeleton>{renderedLines}</StyledTextSkeleton>;\n },\n);\n\nTextSkeleton.displayName = 'Skeleton.Text';\n\nexport default TextSkeleton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEA,IAAAE,aAAA,GAAAF,OAAA;AAA2D,SAAAD,wBAAAI,CAAA,E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CAAC,CAAC,CAACQ,GAAG,CAAC,mBAC9BzC,MAAA,CAAAe,OAAA,CAAA2B,aAAA,CAACvC,aAAA,CAAAwC,YAAY;IACTC,GAAG,EAAEC,IAAI,CAACC,MAAM,CAAC,CAAE;IACnBC,EAAE,EAAC,GAAG;IACNZ,GAAG,EAAEA,GAAI;IACTH,KAAK,EACDE,gBAAgB,GACV,GAAGW,IAAI,CAACG,KAAK,CAACH,IAAI,CAACC,MAAM,CAAC,CAAC,IAAIZ,gBAAgB,CAAC,CAAC,CAAC,GAAGA,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAGA,gBAAgB,CAAC,CAAC,CAAC,GAAG,GACvGF,KACT;IACDiB,MAAM,EAAE,CAAE;IACVnB,YAAY,EAAEA,YAAa;IAC3BC,aAAa,EAAEA,aAAc;IAC7BJ,SAAS,EAAEA,SAAU;IACrBD,SAAS,EAAEA,SAAU;IACrBG,KAAK,EAAEA,KAAM;IACbD,cAAc,EAAEA;EAAe,GAClC,aAEa,CACjB,CAAC,EACN,CACIG,aAAa,EACbJ,SAAS,EACTG,YAAY,EACZJ,SAAS,EACTE,cAAc,EACdK,KAAK,EACLC,gBAAgB,EAChBC,GAAG,EACHN,KAAK,EACLG,KAAK,CAEb,CAAC;EAED,oBAAOhC,MAAA,CAAAe,OAAA,CAAA2B,aAAA,CAACtC,aAAA,CAAA8C,kBAAkB,QAAEd,aAAkC,CAAC;AACnE,CACJ,CAAC;AAEDZ,YAAY,CAAC2B,WAAW,GAAG,eAAe;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAtC,OAAA,GAE5BS,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StyledTextSkeleton = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const StyledTextSkeleton = exports.StyledTextSkeleton = _styledComponents.default.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
`;
|
|
13
|
+
//# sourceMappingURL=TextSkeleton.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextSkeleton.styles.js","names":["_styledComponents","_interopRequireDefault","require","e","__esModule","default","StyledTextSkeleton","exports","styled","div"],"sources":["../../../../../../src/components/skeleton/variants/text-skeleton/TextSkeleton.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nexport const StyledTextSkeleton = styled.div`\n display: flex;\n flex-direction: column;\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAuC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAGE,yBAAM,CAACC,GAAG;AAC5C;AACA;AACA,CAAC","ignoreList":[]}
|
package/lib/cjs/index.js
CHANGED
|
@@ -411,6 +411,18 @@ Object.defineProperty(exports, "Signature", {
|
|
|
411
411
|
return _Signature.default;
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
|
+
Object.defineProperty(exports, "Skeleton", {
|
|
415
|
+
enumerable: true,
|
|
416
|
+
get: function () {
|
|
417
|
+
return _skeleton.default;
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
Object.defineProperty(exports, "SkeletonAnimationType", {
|
|
421
|
+
enumerable: true,
|
|
422
|
+
get: function () {
|
|
423
|
+
return _types.SkeletonAnimationType;
|
|
424
|
+
}
|
|
425
|
+
});
|
|
414
426
|
Object.defineProperty(exports, "Slider", {
|
|
415
427
|
enumerable: true,
|
|
416
428
|
get: function () {
|
|
@@ -645,6 +657,8 @@ var _isTobitEmployee = require("./utils/isTobitEmployee");
|
|
|
645
657
|
var _pageProvider = require("./utils/pageProvider");
|
|
646
658
|
var _uploadFile = require("./utils/uploadFile");
|
|
647
659
|
var _ComboBox2 = require("./components/combobox/ComboBox.types");
|
|
660
|
+
var _skeleton = _interopRequireDefault(require("./components/skeleton"));
|
|
661
|
+
var _types = require("./components/skeleton/types");
|
|
648
662
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
649
663
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
650
664
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_Accordion","_interopRequireDefault","require","_AccordionContent","_AccordionGroup","_AccordionIntro","_AccordionItem","_AmountControl","_VerificationBadge","_AreaContextProvider","_interopRequireWildcard","_Badge","_Button","_Checkbox","_ColorSchemeProvider","_Badge2","_container","_dropdown","_element","_ref","_Filter","_AnimatedNumber","_FileList","_FileSelect","_DropdownBodyWrapper","_ComboBox","_ContentCard","_HighlightSlider","_ContextMenu","_ContextMenu2","_ExpandableContent","_FileInput","_FilterButton","_FilterButtons","_GridImage","_GroupedImage","_Icon","_Input","_List","_ListItemContent","_ListItem","_ListItem2","_MentionFinder","_MultiActionButton","_NumberInput","_PageProvider","_Popup","_PopupContent","_ProgressBar","_popup","_RadioButtonGroup","_RadioButton","_ScrollView","_SearchBox","_SearchInput","_SelectButton","_SetupWizardItem","_SetupWizard","_SharingContextMenu","_SharingBar","_SharingButton","_Signature","_SliderButton","_Slider","_SmallWaitCursor","_TagInput","_TextArea","_Tooltip","_Truncation","_mentionFinder","_contentCard","_file","_filterButtons","_MultiActionButton2","_truncation","_environment","_fileDialog","_isTobitEmployee","_pageProvider","_uploadFile","_ComboBox2","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor"],"sources":["../../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\n\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport { default as VerificationBadge } from './components/verification-badge/VerificationBadge';\nexport {\n AreaContext,\n default as AreaProvider,\n} from './components/area-provider/AreaContextProvider';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport {\n default as ColorSchemeProvider,\n useColorScheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { BadgeSize, BadgeDesign } from './components/badge/Badge.types';\nexport type {\n ColorSchemeContextProps,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { useContainer, ContainerAnchor } from './hooks/container';\nexport { DropdownDirection, type DropdownCoordinates } from './types/dropdown';\nexport { useIsMeasuredClone } from './hooks/element';\nexport { useCombinedRefs } from './hooks/ref';\nexport { default as Filter, type FilterRightIcon } from './components/filter/Filter';\nexport {\n type SortItem,\n type SearchConfig,\n type SortConfig,\n type CheckboxConfig,\n type FilterButtonConfig,\n type FilterRef,\n} from './types/filter';\nexport { default as AnimatedNumber } from './components/animated-number/AnimatedNumber';\nexport {\n default as FileList,\n type IFileItem as FileListItem,\n} from './components/file-list/FileList';\nexport { default as FileSelect } from './components/file-select/FileSelect';\nexport { default as DropdownBodyWrapper } from './components/dropdown-body-wrapper/DropdownBodyWrapper';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as HighlightSlider } from './components/highlight-slider/HighlightSlider';\nexport type { HighlightSliderItemColors as HighlightSliderColors } from './components/highlight-slider/highlight-slider-item/HighlightSliderItem';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport {\n ContextMenuAlignment,\n type ContextMenuCoordinates,\n type ContextMenuItem,\n type ContextMenuProps,\n type ContextMenuRef,\n} from './components/context-menu/ContextMenu.types';\nexport { default as ExpandableContent } from './components/expandable-content/ExpandableContent';\nexport {\n default as FileInput,\n type FileInputRef,\n STREAMINGSERVICE_FILE_TYPES,\n TSIMG_FILE_TYPES,\n} from './components/file-input/FileInput';\nexport { default as FilterButton } from './components/filter-buttons/filter-button/FilterButton';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as GroupedImage } from './components/grouped-image/GroupedImage';\nexport { default as Icon, type IconProps } from './components/icon/Icon';\nexport { default as Input, InputSize } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport {\n default as ListItem,\n type ListItemElements,\n type ListItemProps,\n type ListItemRef,\n type ListItemSize,\n} from './components/list/list-item/ListItem';\nexport {\n type ListItemMarkedForwardRefComponent,\n type ListItemMarkedComponent,\n type ListItemMetaProps,\n LIST_ITEM_MARKER,\n withListItemMarker,\n withListItemMarkerForwardRef,\n} from './components/list/list-item/ListItem.utils';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as MultiActionButton } from './components/multi-action-button/MultiActionButton';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as PageProvider } from './components/page-provider/PageProvider';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as PopupContent } from './components/popup/popup-content/PopupContent';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { PopupAlignment } from './types/popup';\nexport type { PopupProps } from './components/popup/Popup.types';\nexport {\n default as RadioButtonGroup,\n type RadioButtonGroupRef,\n} from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingContextMenu } from './components/sharing-context-menu/SharingContextMenu';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as SharingButton } from './components/sharing-button/SharingButton';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport type { Tag } from './types/tagInput';\nexport { default as TagInput } from './components/tag-input/TagInput';\nexport type { TagInputRef } from './components/tag-input/TagInput';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/element';\nexport type { BrowserName } from './types/chayns';\nexport { ContentCardType } from './types/contentCard';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport { isValidFileType } from './utils/file';\nexport type { FileInputFileItem } from './types/fileInput';\nexport { FilterButtonItemShape, FilterButtonSize } from './types/filterButtons';\nexport type { IFilterButtonItem as FilterButtonItem } from './types/filterButtons';\nexport type { IListItemRightElements } from './types/list';\nexport type { PopupRef } from './types/popup';\nexport type { RadioButtonItem } from './types/radioButton';\nexport type {\n ISearchBoxItem as SearchBoxItem,\n ISearchBoxItems as SearchBoxItems,\n} from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport {\n type MultiActionButtonAction,\n type MultiActionButtonActionEvent,\n type MultiActionButtonActionStatus,\n MultiActionButtonHeight,\n type MultiActionButtonProps,\n type MultiActionButtonSecondaryContextMenu,\n MultiActionButtonStatusType,\n} from './components/multi-action-button/MultiActionButton.types';\nexport { ClampPosition } from './types/truncation';\nexport { useIsTouch } from './utils/environment';\nexport { filterFilesByMimeType, getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { getUsableHeight } from './utils/pageProvider';\nexport { uploadFile } from './utils/uploadFile';\nexport type { Theme } from './components/color-scheme-provider/ColorSchemeProvider';\nexport { ComboBoxSize } from './components/combobox/ComboBox.types';\nexport type {\n IComboBoxItem as ComboBoxItem,\n ComboBoxTextStyles,\n IComboBoxItems as ComboBoxItems,\n ComboBoxRef,\n} from './components/combobox/ComboBox.types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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List":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Accordion","_interopRequireDefault","require","_AccordionContent","_AccordionGroup","_AccordionIntro","_AccordionItem","_AmountControl","_VerificationBadge","_AreaContextProvider","_interopRequireWildcard","_Badge","_Button","_Checkbox","_ColorSchemeProvider","_Badge2","_container","_dropdown","_element","_ref","_Filter","_AnimatedNumber","_FileList","_FileSelect","_DropdownBodyWrapper","_ComboBox","_ContentCard","_HighlightSlider","_ContextMenu","_ContextMenu2","_ExpandableContent","_FileInput","_FilterButton","_FilterButtons","_GridImage","_GroupedImage","_Icon","_Input","_List","_ListItemContent","_ListItem","_ListItem2","_MentionFinder","_MultiActionButton","_NumberInput","_PageProvider","_Popup","_PopupContent","_ProgressBar","_popup","_RadioButtonGroup","_RadioButton","_ScrollView","_SearchBox","_SearchInput","_SelectButton","_SetupWizardItem","_SetupWizard","_SharingContextMenu","_SharingBar","_SharingButton","_Signature","_SliderButton","_Slider","_SmallWaitCursor","_TagInput","_TextArea","_Tooltip","_Truncation","_mentionFinder","_contentCard","_file","_filterButtons","_MultiActionButton2","_truncation","_environment","_fileDialog","_isTobitEmployee","_pageProvider","_uploadFile","_ComboBox2","_skeleton","_types","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor"],"sources":["../../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\n\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport { default as VerificationBadge } from './components/verification-badge/VerificationBadge';\nexport {\n AreaContext,\n default as AreaProvider,\n} from './components/area-provider/AreaContextProvider';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport {\n default as ColorSchemeProvider,\n useColorScheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { BadgeSize, BadgeDesign } from './components/badge/Badge.types';\nexport type {\n ColorSchemeContextProps,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { useContainer, ContainerAnchor } from './hooks/container';\nexport { DropdownDirection, type DropdownCoordinates } from './types/dropdown';\nexport { useIsMeasuredClone } from './hooks/element';\nexport { useCombinedRefs } from './hooks/ref';\nexport { default as Filter, type FilterRightIcon } from './components/filter/Filter';\nexport {\n type SortItem,\n type SearchConfig,\n type SortConfig,\n type CheckboxConfig,\n type FilterButtonConfig,\n type FilterRef,\n} from './types/filter';\nexport { default as AnimatedNumber } from './components/animated-number/AnimatedNumber';\nexport {\n default as FileList,\n type IFileItem as FileListItem,\n} from './components/file-list/FileList';\nexport { default as FileSelect } from './components/file-select/FileSelect';\nexport { default as DropdownBodyWrapper } from './components/dropdown-body-wrapper/DropdownBodyWrapper';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as HighlightSlider } from './components/highlight-slider/HighlightSlider';\nexport type { HighlightSliderItemColors as HighlightSliderColors } from './components/highlight-slider/highlight-slider-item/HighlightSliderItem';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport {\n ContextMenuAlignment,\n type ContextMenuCoordinates,\n type ContextMenuItem,\n type ContextMenuProps,\n type ContextMenuRef,\n} from './components/context-menu/ContextMenu.types';\nexport { default as ExpandableContent } from './components/expandable-content/ExpandableContent';\nexport {\n default as FileInput,\n type FileInputRef,\n STREAMINGSERVICE_FILE_TYPES,\n TSIMG_FILE_TYPES,\n} from './components/file-input/FileInput';\nexport { default as FilterButton } from './components/filter-buttons/filter-button/FilterButton';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as GroupedImage } from './components/grouped-image/GroupedImage';\nexport { default as Icon, type IconProps } from './components/icon/Icon';\nexport { default as Input, InputSize } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport {\n default as ListItem,\n type ListItemElements,\n type ListItemProps,\n type ListItemRef,\n type ListItemSize,\n} from './components/list/list-item/ListItem';\nexport {\n type ListItemMarkedForwardRefComponent,\n type ListItemMarkedComponent,\n type ListItemMetaProps,\n LIST_ITEM_MARKER,\n withListItemMarker,\n withListItemMarkerForwardRef,\n} from './components/list/list-item/ListItem.utils';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as MultiActionButton } from './components/multi-action-button/MultiActionButton';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as PageProvider } from './components/page-provider/PageProvider';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as PopupContent } from './components/popup/popup-content/PopupContent';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { PopupAlignment } from './types/popup';\nexport type { PopupProps } from './components/popup/Popup.types';\nexport {\n default as RadioButtonGroup,\n type RadioButtonGroupRef,\n} from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingContextMenu } from './components/sharing-context-menu/SharingContextMenu';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as SharingButton } from './components/sharing-button/SharingButton';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport type { Tag } from './types/tagInput';\nexport { default as TagInput } from './components/tag-input/TagInput';\nexport type { TagInputRef } from './components/tag-input/TagInput';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/element';\nexport type { BrowserName } from './types/chayns';\nexport { ContentCardType } from './types/contentCard';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport { isValidFileType } from './utils/file';\nexport type { FileInputFileItem } from './types/fileInput';\nexport { FilterButtonItemShape, FilterButtonSize } from './types/filterButtons';\nexport type { IFilterButtonItem as FilterButtonItem } from './types/filterButtons';\nexport type { IListItemRightElements } from './types/list';\nexport type { PopupRef } from './types/popup';\nexport type { RadioButtonItem } from './types/radioButton';\nexport type {\n ISearchBoxItem as SearchBoxItem,\n ISearchBoxItems as SearchBoxItems,\n} from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport {\n type MultiActionButtonAction,\n type MultiActionButtonActionEvent,\n type MultiActionButtonActionStatus,\n MultiActionButtonHeight,\n type MultiActionButtonProps,\n type MultiActionButtonSecondaryContextMenu,\n MultiActionButtonStatusType,\n} from './components/multi-action-button/MultiActionButton.types';\nexport { ClampPosition } from './types/truncation';\nexport { useIsTouch } from './utils/environment';\nexport { filterFilesByMimeType, getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { getUsableHeight } from './utils/pageProvider';\nexport { uploadFile } from './utils/uploadFile';\nexport type { Theme } from './components/color-scheme-provider/ColorSchemeProvider';\nexport { ComboBoxSize } from './components/combobox/ComboBox.types';\nexport type {\n IComboBoxItem as ComboBoxItem,\n ComboBoxTextStyles,\n IComboBoxItems as ComboBoxItems,\n ComboBoxRef,\n} from './components/combobox/ComboBox.types';\nexport { default as Skeleton } from './components/skeleton';\nexport { SkeletonAnimationType } from './components/skeleton/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,eAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,cAAA,GAAAN,sBAAA,C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,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAAA,SAAAnF,uBAAAkF,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAK,UAAA,GAAAL,CAAA,KAAAU,OAAA,EAAAV,CAAA","ignoreList":[]}
|
|
@@ -28,10 +28,12 @@ const SearchInput = /*#__PURE__*/forwardRef(({
|
|
|
28
28
|
if (typeof onActiveChange === 'function') {
|
|
29
29
|
onActiveChange(isSearchInputActive);
|
|
30
30
|
}
|
|
31
|
+
}, [isSearchInputActive, onActiveChange]);
|
|
32
|
+
useEffect(() => {
|
|
31
33
|
if (isSearchInputActive) {
|
|
32
34
|
inputRef.current?.focus();
|
|
33
35
|
}
|
|
34
|
-
}, [isSearchInputActive
|
|
36
|
+
}, [isSearchInputActive]);
|
|
35
37
|
useEffect(() => {
|
|
36
38
|
if (typeof isActive === 'boolean') {
|
|
37
39
|
setIsSearchInputActive(isActive);
|