@raystack/apsara 0.28.0 → 0.29.1
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/container/container.cjs +3 -0
- package/dist/container/container.cjs.map +1 -1
- package/dist/container/container.d.ts +3 -0
- package/dist/container/container.d.ts.map +1 -1
- package/dist/container/container.js +3 -0
- package/dist/container/container.js.map +1 -1
- package/dist/image/image.cjs +6 -0
- package/dist/image/image.cjs.map +1 -1
- package/dist/image/image.d.ts +6 -0
- package/dist/image/image.d.ts.map +1 -1
- package/dist/image/image.js +6 -0
- package/dist/image/image.js.map +1 -1
- package/dist/link/link.cjs +3 -0
- package/dist/link/link.cjs.map +1 -1
- package/dist/link/link.d.ts +3 -0
- package/dist/link/link.d.ts.map +1 -1
- package/dist/link/link.js +3 -0
- package/dist/link/link.js.map +1 -1
- package/dist/separator/separator.cjs +3 -0
- package/dist/separator/separator.cjs.map +1 -1
- package/dist/separator/separator.d.ts +3 -0
- package/dist/separator/separator.d.ts.map +1 -1
- package/dist/separator/separator.js +3 -0
- package/dist/separator/separator.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/table/DataTableFilterChips.cjs.map +1 -1
- package/dist/table/DataTableFilterChips.js.map +1 -1
- package/dist/toggle-group/togglegroup.cjs +0 -9
- package/dist/toggle-group/togglegroup.cjs.map +1 -1
- package/dist/toggle-group/togglegroup.d.ts +0 -15
- package/dist/toggle-group/togglegroup.d.ts.map +1 -1
- package/dist/toggle-group/togglegroup.js +0 -9
- package/dist/toggle-group/togglegroup.js.map +1 -1
- package/dist/v1/components/box/box.cjs +3 -3
- package/dist/v1/components/box/box.cjs.map +1 -1
- package/dist/v1/components/box/box.d.ts +7 -2
- package/dist/v1/components/box/box.d.ts.map +1 -1
- package/dist/v1/components/box/box.js +3 -3
- package/dist/v1/components/box/box.js.map +1 -1
- package/dist/v1/components/calendar/calendar.cjs +6 -6
- package/dist/v1/components/calendar/calendar.cjs.map +1 -1
- package/dist/v1/components/calendar/calendar.d.ts.map +1 -1
- package/dist/v1/components/calendar/calendar.js +6 -6
- package/dist/v1/components/calendar/calendar.js.map +1 -1
- package/dist/v1/components/calendar/calendar.module.css.cjs +1 -1
- package/dist/v1/components/calendar/calendar.module.css.js +1 -1
- package/dist/v1/components/calendar/date-picker.cjs +6 -6
- package/dist/v1/components/calendar/date-picker.cjs.map +1 -1
- package/dist/v1/components/calendar/date-picker.d.ts +3 -2
- package/dist/v1/components/calendar/date-picker.d.ts.map +1 -1
- package/dist/v1/components/calendar/date-picker.js +6 -6
- package/dist/v1/components/calendar/date-picker.js.map +1 -1
- package/dist/v1/components/calendar/range-picker.cjs +6 -6
- package/dist/v1/components/calendar/range-picker.cjs.map +1 -1
- package/dist/v1/components/calendar/range-picker.d.ts +3 -2
- package/dist/v1/components/calendar/range-picker.d.ts.map +1 -1
- package/dist/v1/components/calendar/range-picker.js +6 -6
- package/dist/v1/components/calendar/range-picker.js.map +1 -1
- package/dist/v1/components/callout/callout.cjs +7 -4
- package/dist/v1/components/callout/callout.cjs.map +1 -1
- package/dist/v1/components/callout/callout.d.ts +3 -1
- package/dist/v1/components/callout/callout.d.ts.map +1 -1
- package/dist/v1/components/callout/callout.js +7 -4
- package/dist/v1/components/callout/callout.js.map +1 -1
- package/dist/v1/components/container/container.cjs +31 -0
- package/dist/v1/components/container/container.cjs.map +1 -0
- package/dist/v1/components/container/container.d.ts +13 -0
- package/dist/v1/components/container/container.d.ts.map +1 -0
- package/dist/v1/components/container/container.js +29 -0
- package/dist/v1/components/container/container.js.map +1 -0
- package/dist/v1/components/container/container.module.css.cjs +8 -0
- package/dist/v1/components/container/container.module.css.cjs.map +1 -0
- package/dist/v1/components/container/container.module.css.js +4 -0
- package/dist/v1/components/container/container.module.css.js.map +1 -0
- package/dist/v1/components/container/index.d.ts +2 -0
- package/dist/v1/components/container/index.d.ts.map +1 -0
- package/dist/v1/components/filter-chip/filter-chip.cjs +53 -0
- package/dist/v1/components/filter-chip/filter-chip.cjs.map +1 -0
- package/dist/v1/components/filter-chip/filter-chip.d.ts +24 -0
- package/dist/v1/components/filter-chip/filter-chip.d.ts.map +1 -0
- package/dist/v1/components/filter-chip/filter-chip.js +51 -0
- package/dist/v1/components/filter-chip/filter-chip.js.map +1 -0
- package/dist/v1/components/filter-chip/filter-chip.module.css.cjs +8 -0
- package/dist/v1/components/filter-chip/filter-chip.module.css.cjs.map +1 -0
- package/dist/v1/components/filter-chip/filter-chip.module.css.js +4 -0
- package/dist/v1/components/filter-chip/filter-chip.module.css.js.map +1 -0
- package/dist/v1/components/filter-chip/index.d.ts +2 -0
- package/dist/v1/components/filter-chip/index.d.ts.map +1 -0
- package/dist/v1/components/image/image.cjs +43 -0
- package/dist/v1/components/image/image.cjs.map +1 -0
- package/dist/v1/components/image/image.d.ts +17 -0
- package/dist/v1/components/image/image.d.ts.map +1 -0
- package/dist/v1/components/image/image.js +41 -0
- package/dist/v1/components/image/image.js.map +1 -0
- package/dist/v1/components/image/image.module.css.cjs +8 -0
- package/dist/v1/components/image/image.module.css.cjs.map +1 -0
- package/dist/v1/components/image/image.module.css.js +4 -0
- package/dist/v1/components/image/image.module.css.js.map +1 -0
- package/dist/v1/components/image/index.d.ts +2 -0
- package/dist/v1/components/image/index.d.ts.map +1 -0
- package/dist/v1/components/input-field/input-field.cjs.map +1 -1
- package/dist/v1/components/input-field/input-field.d.ts.map +1 -1
- package/dist/v1/components/input-field/input-field.js.map +1 -1
- package/dist/v1/components/link/index.d.ts +2 -0
- package/dist/v1/components/link/index.d.ts.map +1 -0
- package/dist/v1/components/link/link.cjs +74 -0
- package/dist/v1/components/link/link.cjs.map +1 -0
- package/dist/v1/components/link/link.d.ts +18 -0
- package/dist/v1/components/link/link.d.ts.map +1 -0
- package/dist/v1/components/link/link.js +72 -0
- package/dist/v1/components/link/link.js.map +1 -0
- package/dist/v1/components/link/link.module.css.cjs +8 -0
- package/dist/v1/components/link/link.module.css.cjs.map +1 -0
- package/dist/v1/components/link/link.module.css.js +4 -0
- package/dist/v1/components/link/link.module.css.js.map +1 -0
- package/dist/v1/components/list/index.d.ts +2 -0
- package/dist/v1/components/list/index.d.ts.map +1 -0
- package/dist/v1/components/list/list.cjs +42 -0
- package/dist/v1/components/list/list.cjs.map +1 -0
- package/dist/v1/components/list/list.d.ts +44 -0
- package/dist/v1/components/list/list.d.ts.map +1 -0
- package/dist/v1/components/list/list.js +40 -0
- package/dist/v1/components/list/list.js.map +1 -0
- package/dist/v1/components/list/list.module.css.cjs +8 -0
- package/dist/v1/components/list/list.module.css.cjs.map +1 -0
- package/dist/v1/components/list/list.module.css.js +4 -0
- package/dist/v1/components/list/list.module.css.js.map +1 -0
- package/dist/v1/components/popover/popover.cjs +1 -1
- package/dist/v1/components/popover/popover.cjs.map +1 -1
- package/dist/v1/components/popover/popover.d.ts.map +1 -1
- package/dist/v1/components/popover/popover.js +1 -1
- package/dist/v1/components/popover/popover.js.map +1 -1
- package/dist/v1/components/search/search.cjs.map +1 -1
- package/dist/v1/components/search/search.d.ts.map +1 -1
- package/dist/v1/components/search/search.js.map +1 -1
- package/dist/v1/components/select/select.cjs +6 -1
- package/dist/v1/components/select/select.cjs.map +1 -1
- package/dist/v1/components/select/select.d.ts +1 -0
- package/dist/v1/components/select/select.d.ts.map +1 -1
- package/dist/v1/components/select/select.js +6 -1
- package/dist/v1/components/select/select.js.map +1 -1
- package/dist/v1/components/select/select.module.css.cjs +1 -1
- package/dist/v1/components/select/select.module.css.js +1 -1
- package/dist/v1/components/separator/index.d.ts +2 -0
- package/dist/v1/components/separator/index.d.ts.map +1 -0
- package/dist/v1/components/separator/separator.cjs +32 -0
- package/dist/v1/components/separator/separator.cjs.map +1 -0
- package/dist/v1/components/separator/separator.d.ts +13 -0
- package/dist/v1/components/separator/separator.d.ts.map +1 -0
- package/dist/v1/components/separator/separator.js +30 -0
- package/dist/v1/components/separator/separator.js.map +1 -0
- package/dist/v1/components/separator/separator.module.css.cjs +8 -0
- package/dist/v1/components/separator/separator.module.css.cjs.map +1 -0
- package/dist/v1/components/separator/separator.module.css.js +4 -0
- package/dist/v1/components/separator/separator.module.css.js.map +1 -0
- package/dist/v1/components/sidepanel/sidepanel.cjs.map +1 -1
- package/dist/v1/components/sidepanel/sidepanel.d.ts +1 -1
- package/dist/v1/components/sidepanel/sidepanel.d.ts.map +1 -1
- package/dist/v1/components/sidepanel/sidepanel.js.map +1 -1
- package/dist/v1/components/slider/slider.cjs +2 -2
- package/dist/v1/components/slider/slider.cjs.map +1 -1
- package/dist/v1/components/slider/slider.d.ts +2 -2
- package/dist/v1/components/slider/slider.d.ts.map +1 -1
- package/dist/v1/components/slider/slider.js +2 -2
- package/dist/v1/components/slider/slider.js.map +1 -1
- package/dist/v1/components/text/text.cjs.map +1 -1
- package/dist/v1/components/text/text.d.ts.map +1 -1
- package/dist/v1/components/text/text.js +33 -33
- package/dist/v1/components/text/text.js.map +1 -1
- package/dist/v1/components/text/text.module.css.cjs +2 -2
- package/dist/v1/components/text/text.module.css.js +2 -2
- package/dist/v1/components/text-area/text-area.cjs +1 -1
- package/dist/v1/components/text-area/text-area.cjs.map +1 -1
- package/dist/v1/components/text-area/text-area.d.ts +1 -1
- package/dist/v1/components/text-area/text-area.d.ts.map +1 -1
- package/dist/v1/components/text-area/text-area.js +1 -1
- package/dist/v1/components/text-area/text-area.js.map +1 -1
- package/dist/v1/components/textfield/textfield.cjs.map +1 -1
- package/dist/v1/components/textfield/textfield.d.ts.map +1 -1
- package/dist/v1/components/textfield/textfield.js.map +1 -1
- package/dist/v1/components/tooltip/tooltip.cjs +1 -1
- package/dist/v1/components/tooltip/tooltip.cjs.map +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/v1/components/tooltip/tooltip.js +1 -1
- package/dist/v1/components/tooltip/tooltip.js.map +1 -1
- package/dist/v1/index.cjs +21 -8
- package/dist/v1/index.cjs.map +1 -1
- package/dist/v1/index.d.ts +11 -5
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +11 -5
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +23 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +23 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs +51 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js +48 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -0
- package/dist/v1/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
|
+
var index = require('../../node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs');
|
|
5
|
+
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
6
|
+
var separator_module = require('./separator.module.css.cjs');
|
|
7
|
+
|
|
8
|
+
const separator = index$1.cva(separator_module.default.separator, {
|
|
9
|
+
variants: {
|
|
10
|
+
size: {
|
|
11
|
+
small: separator_module.default["separator-small"],
|
|
12
|
+
half: separator_module.default["separator-half"],
|
|
13
|
+
full: separator_module.default["separator-full"],
|
|
14
|
+
},
|
|
15
|
+
color: {
|
|
16
|
+
primary: separator_module.default["separator-primary"],
|
|
17
|
+
secondary: separator_module.default["separator-secondary"],
|
|
18
|
+
tertiary: separator_module.default["separator-tertiary"],
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
defaultVariants: {
|
|
22
|
+
size: "full",
|
|
23
|
+
color: "primary",
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
function Separator({ className, orientation = "horizontal", size, color, "aria-label": ariaLabel, ...props }) {
|
|
27
|
+
return (jsxRuntime.jsxRuntimeExports.jsx(index.Root, { decorative: true, orientation: orientation, className: separator({ size, color, className }), "aria-orientation": orientation, "aria-label": ariaLabel || `${orientation} separator`, role: "separator", ...props }));
|
|
28
|
+
}
|
|
29
|
+
Separator.displayName = "Separator";
|
|
30
|
+
|
|
31
|
+
exports.Separator = Separator;
|
|
32
|
+
//# sourceMappingURL=separator.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.cjs","sources":["../../../../v1/components/separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef } from \"react\";\nimport styles from \"./separator.module.css\";\n\nconst separator = cva(styles.separator, {\n variants: {\n size: {\n small: styles[\"separator-small\"],\n half: styles[\"separator-half\"],\n full: styles[\"separator-full\"],\n },\n color: {\n primary: styles[\"separator-primary\"],\n secondary: styles[\"separator-secondary\"],\n tertiary: styles[\"separator-tertiary\"],\n }\n },\n defaultVariants: {\n size: \"full\",\n color: \"primary\",\n },\n});\n\ninterface SeparatorProps {\n className?: string;\n orientation?: 'horizontal' | 'vertical';\n size?: 'small' | 'half' | 'full';\n color?: 'primary' | 'secondary' | 'tertiary';\n 'aria-label'?: string;\n}\n\nexport function Separator({\n className,\n orientation = \"horizontal\",\n size,\n color,\n \"aria-label\": ariaLabel,\n ...props\n}: SeparatorProps) {\n return (\n <SeparatorPrimitive.Root\n decorative\n orientation={orientation}\n className={separator({ size, color, className })}\n aria-orientation={orientation}\n aria-label={ariaLabel || `${orientation} separator`}\n role=\"separator\"\n {...props}\n />\n );\n}\n\nSeparator.displayName = \"Separator\"; "],"names":["cva","styles","_jsx","SeparatorPrimitive.Root"],"mappings":";;;;;;;AAKA,MAAM,SAAS,GAAGA,WAAG,CAACC,wBAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,wBAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC9B,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAEA,wBAAM,CAAC,mBAAmB,CAAC;AACpC,YAAA,SAAS,EAAEA,wBAAM,CAAC,qBAAqB,CAAC;AACxC,YAAA,QAAQ,EAAEA,wBAAM,CAAC,oBAAoB,CAAC;AACvC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,KAAK,EAAE,SAAS;AACjB,KAAA;AACF,CAAA,CAAC,CAAC;AAUG,SAAU,SAAS,CAAC,EACxB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,IAAI,EACJ,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACO,EAAA;AACf,IAAA,QACEC,gCAAC,CAAAC,UAAuB,EAAA,EACtB,UAAU,EACV,IAAA,EAAA,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAA,kBAAA,EAC9B,WAAW,EACjB,YAAA,EAAA,SAAS,IAAI,CAAG,EAAA,WAAW,CAAY,UAAA,CAAA,EACnD,IAAI,EAAC,WAAW,KACZ,KAAK,EAAA,CACT,EACF;AACJ,CAAC;AAED,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface SeparatorProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
|
4
|
+
size?: 'small' | 'half' | 'full';
|
|
5
|
+
color?: 'primary' | 'secondary' | 'tertiary';
|
|
6
|
+
'aria-label'?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Separator({ className, orientation, size, color, "aria-label": ariaLabel, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare namespace Separator {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../v1/components/separator/separator.tsx"],"names":[],"mappings":"AAwBA,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,WAA0B,EAC1B,IAAI,EACJ,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACT,EAAE,cAAc,2CAYhB;yBAnBe,SAAS"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
+
import { Root as $89eedd556c436f6a$export$be92b6f5f03c0fe9 } from '../../node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js';
|
|
3
|
+
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
4
|
+
import styles from './separator.module.css.js';
|
|
5
|
+
|
|
6
|
+
const separator = cva(styles.separator, {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
small: styles["separator-small"],
|
|
10
|
+
half: styles["separator-half"],
|
|
11
|
+
full: styles["separator-full"],
|
|
12
|
+
},
|
|
13
|
+
color: {
|
|
14
|
+
primary: styles["separator-primary"],
|
|
15
|
+
secondary: styles["separator-secondary"],
|
|
16
|
+
tertiary: styles["separator-tertiary"],
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
size: "full",
|
|
21
|
+
color: "primary",
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
function Separator({ className, orientation = "horizontal", size, color, "aria-label": ariaLabel, ...props }) {
|
|
25
|
+
return (jsxRuntimeExports.jsx($89eedd556c436f6a$export$be92b6f5f03c0fe9, { decorative: true, orientation: orientation, className: separator({ size, color, className }), "aria-orientation": orientation, "aria-label": ariaLabel || `${orientation} separator`, role: "separator", ...props }));
|
|
26
|
+
}
|
|
27
|
+
Separator.displayName = "Separator";
|
|
28
|
+
|
|
29
|
+
export { Separator };
|
|
30
|
+
//# sourceMappingURL=separator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.js","sources":["../../../../v1/components/separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef } from \"react\";\nimport styles from \"./separator.module.css\";\n\nconst separator = cva(styles.separator, {\n variants: {\n size: {\n small: styles[\"separator-small\"],\n half: styles[\"separator-half\"],\n full: styles[\"separator-full\"],\n },\n color: {\n primary: styles[\"separator-primary\"],\n secondary: styles[\"separator-secondary\"],\n tertiary: styles[\"separator-tertiary\"],\n }\n },\n defaultVariants: {\n size: \"full\",\n color: \"primary\",\n },\n});\n\ninterface SeparatorProps {\n className?: string;\n orientation?: 'horizontal' | 'vertical';\n size?: 'small' | 'half' | 'full';\n color?: 'primary' | 'secondary' | 'tertiary';\n 'aria-label'?: string;\n}\n\nexport function Separator({\n className,\n orientation = \"horizontal\",\n size,\n color,\n \"aria-label\": ariaLabel,\n ...props\n}: SeparatorProps) {\n return (\n <SeparatorPrimitive.Root\n decorative\n orientation={orientation}\n className={separator({ size, color, className })}\n aria-orientation={orientation}\n aria-label={ariaLabel || `${orientation} separator`}\n role=\"separator\"\n {...props}\n />\n );\n}\n\nSeparator.displayName = \"Separator\"; "],"names":["_jsx","SeparatorPrimitive.Root"],"mappings":";;;;;AAKA,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC9B,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,MAAM,CAAC,mBAAmB,CAAC;AACpC,YAAA,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC;AACxC,YAAA,QAAQ,EAAE,MAAM,CAAC,oBAAoB,CAAC;AACvC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,KAAK,EAAE,SAAS;AACjB,KAAA;AACF,CAAA,CAAC,CAAC;AAUG,SAAU,SAAS,CAAC,EACxB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,IAAI,EACJ,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACO,EAAA;AACf,IAAA,QACEA,qBAAC,CAAAC,yCAAuB,EAAA,EACtB,UAAU,EACV,IAAA,EAAA,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAA,kBAAA,EAC9B,WAAW,EACjB,YAAA,EAAA,SAAS,IAAI,CAAG,EAAA,WAAW,CAAY,UAAA,CAAA,EACnD,IAAI,EAAC,WAAW,KACZ,KAAK,EAAA,CACT,EACF;AACJ,CAAC;AAED,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {"separator":"separator-module_separator__lEF1K","separator-primary":"separator-module_separator-primary__MVQsA","separator-secondary":"separator-module_separator-secondary__1UR29","separator-tertiary":"separator-module_separator-tertiary__yfUWC","separator-small":"separator-module_separator-small__B9UsA","separator-half":"separator-module_separator-half__-QSNv","separator-full":"separator-module_separator-full__B6K2h","separator___primary":"separator-module_separator-primary__MVQsA","separator___secondary":"separator-module_separator-secondary__1UR29","separator___tertiary":"separator-module_separator-tertiary__yfUWC","separator___small":"separator-module_separator-small__B9UsA","separator___half":"separator-module_separator-half__-QSNv","separator___full":"separator-module_separator-full__B6K2h"};
|
|
6
|
+
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
//# sourceMappingURL=separator.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var styles = {"separator":"separator-module_separator__lEF1K","separator-primary":"separator-module_separator-primary__MVQsA","separator-secondary":"separator-module_separator-secondary__1UR29","separator-tertiary":"separator-module_separator-tertiary__yfUWC","separator-small":"separator-module_separator-small__B9UsA","separator-half":"separator-module_separator-half__-QSNv","separator-full":"separator-module_separator-full__B6K2h","separator___primary":"separator-module_separator-primary__MVQsA","separator___secondary":"separator-module_separator-secondary__1UR29","separator___tertiary":"separator-module_separator-tertiary__yfUWC","separator___small":"separator-module_separator-small__B9UsA","separator___half":"separator-module_separator-half__-QSNv","separator___full":"separator-module_separator-full__B6K2h"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
4
|
+
//# sourceMappingURL=separator.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidepanel.cjs","sources":["../../../../v1/components/sidepanel/sidepanel.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"sidepanel.cjs","sources":["../../../../v1/components/sidepanel/sidepanel.tsx"],"sourcesContent":["import * as Collapsible from '@radix-ui/react-collapsible';\nimport { cva } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ComponentRef, ReactNode } from \"react\";\n\nimport { Tooltip, TooltipProvider } from \"../tooltip\";\nimport styles from \"./sidepanel.module.css\";\n\nconst root = cva(styles.root);\n\ninterface SidepanelProps extends ComponentPropsWithoutRef<typeof Collapsible.Root> {\n position?: 'left' | 'right';\n profile?: {\n icon: ReactNode;\n label: string;\n href?: string;\n onIconClick?: () => void;\n };\n ref?: ComponentRef<typeof Collapsible.Root>;\n}\n\ninterface SidepanelHeaderProps extends ComponentPropsWithoutRef<\"div\"> {\n logo: ReactNode;\n title: string;\n onLogoClick?: () => void;\n ref?: ComponentRef<\"div\">;\n}\n\ninterface SidepanelItemProps extends ComponentPropsWithoutRef<\"a\"> {\n icon: ReactNode;\n active?: boolean;\n ref?: ComponentRef<\"a\">;\n}\n\nconst SidepanelRoot = ({ \n className, \n position = 'left', \n open, \n onOpenChange, \n children, \n profile, \n ref,\n ...props \n}: SidepanelProps) => (\n <TooltipProvider>\n <Collapsible.Root\n ref={ref}\n className={root({ className })}\n data-position={position}\n data-state={open ? 'expanded' : 'collapsed'}\n open={open}\n onOpenChange={onOpenChange}\n aria-label=\"Navigation Sidebar\"\n aria-expanded={open}\n role=\"navigation\"\n {...props}\n >\n <Tooltip \n message={open ? \"Click to collapse\" : \"Click to expand\"}\n side={position === 'left' ? 'right' : 'left'}\n >\n <div \n className={styles.resizeHandle}\n onClick={() => onOpenChange?.(!open)}\n role=\"button\"\n tabIndex={0}\n aria-label={open ? \"Collapse sidebar\" : \"Expand sidebar\"}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n onOpenChange?.(!open);\n }\n }}\n />\n </Tooltip>\n {children}\n {profile && (\n <a \n href={profile.href} \n className={styles.account}\n role=\"button\"\n aria-label={`Profile: ${profile.label}`}\n onClick={(e) => {\n if (profile.onIconClick) {\n e.preventDefault();\n profile.onIconClick();\n }\n }}\n >\n <span \n className={styles['nav-icon']} \n aria-hidden=\"true\"\n style={{ cursor: profile.onIconClick ? 'pointer' : undefined }}\n >\n {profile.icon}\n </span>\n <span className={styles['nav-text']}>{profile.label}</span>\n </a>\n )}\n </Collapsible.Root>\n </TooltipProvider>\n);\n\nconst SidepanelHeader = ({\n className,\n logo,\n title,\n onLogoClick,\n ref,\n ...props\n}: SidepanelHeaderProps) => (\n <div \n ref={ref} \n className={styles.header} \n role=\"banner\"\n {...props}\n >\n <div \n className={styles.logo} \n aria-hidden=\"true\"\n onClick={onLogoClick}\n role={onLogoClick ? \"button\" : undefined}\n tabIndex={onLogoClick ? 0 : undefined}\n onKeyDown={(e) => {\n if (onLogoClick && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onLogoClick();\n }\n }}\n style={{ cursor: onLogoClick ? 'pointer' : undefined }}\n >\n {logo}\n </div>\n <div className={styles.title} role=\"heading\" aria-level={1}>{title}</div>\n </div>\n);\n\nconst SidepanelMain = ({\n className,\n children,\n ref,\n ...props\n}: ComponentPropsWithoutRef<\"div\"> & { ref?: ComponentRef<\"div\"> }) => (\n <div \n ref={ref} \n className={styles.main}\n role=\"group\"\n aria-label=\"Main navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidepanelFooter = ({\n className,\n children,\n ref,\n ...props\n}: ComponentPropsWithoutRef<\"div\"> & { ref?: ComponentRef<\"div\"> }) => (\n <div \n ref={ref} \n className={styles.footer}\n role=\"group\"\n aria-label=\"Footer navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidepanelItem = ({\n className,\n icon,\n children,\n active,\n ref,\n ...props\n}: SidepanelItemProps) => (\n <a \n ref={ref} \n className={styles['nav-item']} \n data-active={active}\n role=\"menuitem\"\n aria-current={active ? \"page\" : undefined}\n {...props}\n >\n <span className={styles['nav-icon']} aria-hidden=\"true\">{icon}</span>\n <span className={styles['nav-text']}>{children}</span>\n </a>\n);\n\nSidepanelRoot.displayName = \"Sidepanel.Root\";\nSidepanelHeader.displayName = \"Sidepanel.Header\";\nSidepanelMain.displayName = \"Sidepanel.Main\";\nSidepanelFooter.displayName = \"Sidepanel.Footer\";\nSidepanelItem.displayName = \"Sidepanel.Item\";\n\nexport const Sidepanel = {\n Root: SidepanelRoot,\n Header: SidepanelHeader,\n Main: SidepanelMain,\n Footer: SidepanelFooter,\n Item: SidepanelItem,\n};\n"],"names":["cva","styles","_jsx","TooltipProvider","_jsxs","Collapsible.Root","Tooltip"],"mappings":";;;;;;;;AAOA,MAAM,IAAI,GAAGA,WAAG,CAACC,wBAAM,CAAC,IAAI,CAAC,CAAC;AA0B9B,MAAM,aAAa,GAAG,CAAC,EACrB,SAAS,EACT,QAAQ,GAAG,MAAM,EACjB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,GAAG,EACH,GAAG,KAAK,EACO,MACfC,gCAAA,CAACC,uBAAe,EACd,EAAA,QAAA,EAAAC,iCAAA,CAACC,UAAgB,EACf,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,mBACf,QAAQ,EAAA,YAAA,EACX,IAAI,GAAG,UAAU,GAAG,WAAW,EAC3C,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EACf,YAAA,EAAA,oBAAoB,EAChB,eAAA,EAAA,IAAI,EACnB,IAAI,EAAC,YAAY,EAAA,GACb,KAAK,EAAA,QAAA,EAAA,CAETH,gCAAC,CAAAI,eAAO,IACN,OAAO,EAAE,IAAI,GAAG,mBAAmB,GAAG,iBAAiB,EACvD,IAAI,EAAE,QAAQ,KAAK,MAAM,GAAG,OAAO,GAAG,MAAM,EAAA,QAAA,EAE5CJ,gCACE,CAAA,KAAA,EAAA,EAAA,SAAS,EAAED,wBAAM,CAAC,YAAY,EAC9B,OAAO,EAAE,MAAM,YAAY,GAAG,CAAC,IAAI,CAAC,EACpC,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,gBACC,IAAI,GAAG,kBAAkB,GAAG,gBAAgB,EACxD,SAAS,EAAE,CAAC,CAAC,KAAI;AACf,wBAAA,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,C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,EACR,MAAM,EACN,GAAG,EACH,GAAG,KAAK,EACW,MACnBG,iCACE,CAAA,GAAA,EAAA,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAEH,wBAAM,CAAC,UAAU,CAAC,EAAA,aAAA,EAChB,MAAM,EACnB,IAAI,EAAC,UAAU,EACD,cAAA,EAAA,MAAM,GAAG,MAAM,GAAG,SAAS,EACrC,GAAA,KAAK,aAETC,gCAAM,CAAA,MAAA,EAAA,EAAA,SAAS,EAAED,wBAAM,CAAC,UAAU,CAAC,EAAc,aAAA,EAAA,MAAM,YAAE,IAAI,EAAA,CAAQ,EACrEC,gCAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAED,wBAAM,CAAC,UAAU,CAAC,EAAG,QAAA,EAAA,QAAQ,EAAQ,CAAA,CAAA,EAAA,CACpD,CACL,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAC7C,eAAe,CAAC,WAAW,GAAG,kBAAkB,CAAC;AACjD,aAAa,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAC7C,eAAe,CAAC,WAAW,GAAG,kBAAkB,CAAC;AACjD,aAAa,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAEhC,MAAA,SAAS,GAAG;AACvB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,eAAe;AACvB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,eAAe;AACvB,IAAA,IAAI,EAAE,aAAa;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentRef, ReactNode } from "react";
|
|
2
1
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
|
2
|
+
import { ComponentPropsWithoutRef, ComponentRef, ReactNode } from "react";
|
|
3
3
|
interface SidepanelProps extends ComponentPropsWithoutRef<typeof Collapsible.Root> {
|
|
4
4
|
position?: 'left' | 'right';
|
|
5
5
|
profile?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidepanel.d.ts","sourceRoot":"","sources":["../../../../v1/components/sidepanel/sidepanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"sidepanel.d.ts","sourceRoot":"","sources":["../../../../v1/components/sidepanel/sidepanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAO1E,UAAU,cAAe,SAAQ,wBAAwB,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC;IAChF,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE;QACR,IAAI,EAAE,SAAS,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;KAC1B,CAAC;IACF,GAAG,CAAC,EAAE,YAAY,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED,UAAU,oBAAqB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACpE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,GAAG,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC3B;AAED,UAAU,kBAAmB,SAAQ,wBAAwB,CAAC,GAAG,CAAC;IAChE,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CACzB;AAsKD,eAAO,MAAM,SAAS;;wFA3JnB,cAAc;;;;iEAmEd,oBAAoB;;;;;;;;;;;;;;;;+DAoEpB,kBAAkB;;;CA0BpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidepanel.js","sources":["../../../../v1/components/sidepanel/sidepanel.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"sidepanel.js","sources":["../../../../v1/components/sidepanel/sidepanel.tsx"],"sourcesContent":["import * as Collapsible from '@radix-ui/react-collapsible';\nimport { cva } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ComponentRef, ReactNode } from \"react\";\n\nimport { Tooltip, TooltipProvider } from \"../tooltip\";\nimport styles from \"./sidepanel.module.css\";\n\nconst root = cva(styles.root);\n\ninterface SidepanelProps extends ComponentPropsWithoutRef<typeof Collapsible.Root> {\n position?: 'left' | 'right';\n profile?: {\n icon: ReactNode;\n label: string;\n href?: string;\n onIconClick?: () => void;\n };\n ref?: ComponentRef<typeof Collapsible.Root>;\n}\n\ninterface SidepanelHeaderProps extends ComponentPropsWithoutRef<\"div\"> {\n logo: ReactNode;\n title: string;\n onLogoClick?: () => void;\n ref?: ComponentRef<\"div\">;\n}\n\ninterface SidepanelItemProps extends ComponentPropsWithoutRef<\"a\"> {\n icon: ReactNode;\n active?: boolean;\n ref?: ComponentRef<\"a\">;\n}\n\nconst SidepanelRoot = ({ \n className, \n position = 'left', \n open, \n onOpenChange, \n children, \n profile, \n ref,\n ...props \n}: SidepanelProps) => (\n <TooltipProvider>\n <Collapsible.Root\n ref={ref}\n className={root({ className })}\n data-position={position}\n data-state={open ? 'expanded' : 'collapsed'}\n open={open}\n onOpenChange={onOpenChange}\n aria-label=\"Navigation Sidebar\"\n aria-expanded={open}\n role=\"navigation\"\n {...props}\n >\n <Tooltip \n message={open ? \"Click to collapse\" : \"Click to expand\"}\n side={position === 'left' ? 'right' : 'left'}\n >\n <div \n className={styles.resizeHandle}\n onClick={() => onOpenChange?.(!open)}\n role=\"button\"\n tabIndex={0}\n aria-label={open ? \"Collapse sidebar\" : \"Expand sidebar\"}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n onOpenChange?.(!open);\n }\n }}\n />\n </Tooltip>\n {children}\n {profile && (\n <a \n href={profile.href} \n className={styles.account}\n role=\"button\"\n aria-label={`Profile: ${profile.label}`}\n onClick={(e) => {\n if (profile.onIconClick) {\n e.preventDefault();\n profile.onIconClick();\n }\n }}\n >\n <span \n className={styles['nav-icon']} \n aria-hidden=\"true\"\n style={{ cursor: profile.onIconClick ? 'pointer' : undefined }}\n >\n {profile.icon}\n </span>\n <span className={styles['nav-text']}>{profile.label}</span>\n </a>\n )}\n </Collapsible.Root>\n </TooltipProvider>\n);\n\nconst SidepanelHeader = ({\n className,\n logo,\n title,\n onLogoClick,\n ref,\n ...props\n}: SidepanelHeaderProps) => (\n <div \n ref={ref} \n className={styles.header} \n role=\"banner\"\n {...props}\n >\n <div \n className={styles.logo} \n aria-hidden=\"true\"\n onClick={onLogoClick}\n role={onLogoClick ? \"button\" : undefined}\n tabIndex={onLogoClick ? 0 : undefined}\n onKeyDown={(e) => {\n if (onLogoClick && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onLogoClick();\n }\n }}\n style={{ cursor: onLogoClick ? 'pointer' : undefined }}\n >\n {logo}\n </div>\n <div className={styles.title} role=\"heading\" aria-level={1}>{title}</div>\n </div>\n);\n\nconst SidepanelMain = ({\n className,\n children,\n ref,\n ...props\n}: ComponentPropsWithoutRef<\"div\"> & { ref?: ComponentRef<\"div\"> }) => (\n <div \n ref={ref} \n className={styles.main}\n role=\"group\"\n aria-label=\"Main navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidepanelFooter = ({\n className,\n children,\n ref,\n ...props\n}: ComponentPropsWithoutRef<\"div\"> & { ref?: ComponentRef<\"div\"> }) => (\n <div \n ref={ref} \n className={styles.footer}\n role=\"group\"\n aria-label=\"Footer navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidepanelItem = ({\n className,\n icon,\n children,\n active,\n ref,\n ...props\n}: SidepanelItemProps) => (\n <a \n ref={ref} \n className={styles['nav-item']} \n data-active={active}\n role=\"menuitem\"\n aria-current={active ? \"page\" : undefined}\n {...props}\n >\n <span className={styles['nav-icon']} aria-hidden=\"true\">{icon}</span>\n <span className={styles['nav-text']}>{children}</span>\n </a>\n);\n\nSidepanelRoot.displayName = \"Sidepanel.Root\";\nSidepanelHeader.displayName = \"Sidepanel.Header\";\nSidepanelMain.displayName = \"Sidepanel.Main\";\nSidepanelFooter.displayName = \"Sidepanel.Footer\";\nSidepanelItem.displayName = \"Sidepanel.Item\";\n\nexport const Sidepanel = {\n Root: SidepanelRoot,\n Header: SidepanelHeader,\n Main: SidepanelMain,\n Footer: SidepanelFooter,\n Item: SidepanelItem,\n};\n"],"names":["_jsx","_jsxs","Collapsible.Root"],"mappings":";;;;;;AAOA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AA0B9B,MAAM,aAAa,GAAG,CAAC,EACrB,SAAS,EACT,QAAQ,GAAG,MAAM,EACjB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,GAAG,EACH,GAAG,KAAK,EACO,MACfA,qBAAA,CAAC,eAAe,EACd,EAAA,QAAA,EAAAC,sBAAA,CAACC,IAAgB,EACf,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,mBACf,QAAQ,EAAA,YAAA,EACX,IAAI,GAAG,UAAU,GAAG,WAAW,EAC3C,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EACf,YAAA,EAAA,oBAAoB,EAChB,eAAA,EAAA,IAAI,EACnB,IAAI,EAAC,YAAY,EAAA,GACb,KAAK,EAAA,QAAA,EAAA,CAETF,qBAAC,CAAA,OAAO,IACN,OAAO,EAAE,IAAI,GAAG,mBAAmB,GAAG,iBAAiB,EACvD,IAAI,EAAE,QAAQ,KAAK,MAAM,GAAG,O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AE,aAAa;;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
|
-
var React = require('react');
|
|
5
4
|
var index = require('../../node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.cjs');
|
|
6
5
|
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
7
|
-
var
|
|
6
|
+
var React = require('react');
|
|
8
7
|
var slider_module = require('./slider.module.css.cjs');
|
|
8
|
+
var thumb = require('./thumb.cjs');
|
|
9
9
|
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
11
11
|
var n = Object.create(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.cjs","sources":["../../../../v1/components/slider/slider.tsx"],"sourcesContent":["import * as
|
|
1
|
+
{"version":3,"file":"slider.cjs","sources":["../../../../v1/components/slider/slider.tsx"],"sourcesContent":["import * as RadixSlider from '@radix-ui/react-slider';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { type ComponentPropsWithoutRef } from 'react';\n\nimport styles from './slider.module.css';\nimport { ThumbIcon } from './thumb';\n\nconst slider = cva(styles.slider, {\n variants: {\n variant: {\n single: styles['slider-variant-single'],\n range: styles['slider-variant-range'],\n },\n },\n defaultVariants: {\n variant: 'single',\n },\n});\n\nexport interface SliderProps\n extends Omit<ComponentPropsWithoutRef<typeof RadixSlider.Root>, 'value' | 'defaultValue' | 'onChange'>,\n VariantProps<typeof slider> {\n value?: number | [number, number];\n defaultValue?: number | [number, number];\n min?: number;\n max?: number;\n step?: number;\n label?: string | [string, string];\n onChange?: (value: number | [number, number]) => void;\n 'aria-label'?: string;\n 'aria-valuetext'?: string;\n}\n\nexport const Slider = React.forwardRef<React.ElementRef<typeof RadixSlider.Root>, SliderProps>(\n ({ \n className, \n variant = 'single', \n value, \n defaultValue, \n min = 0, \n max = 100, \n step = 1, \n label, \n onChange,\n 'aria-label': ariaLabel,\n 'aria-valuetext': ariaValueText,\n ...props \n }, ref) => {\n const isRange = variant === 'range';\n const defaultVal = isRange \n ? (defaultValue as [number, number]) || [min, max] \n : [defaultValue as number || min];\n const currentValue = value ? (isRange ? value as [number, number] : [value as number]) : defaultVal;\n\n const getLabel = (index: number) => {\n if (!label) return undefined;\n if (typeof label === 'string') return label;\n return label[index];\n };\n\n const getAriaValueText = (index: number) => {\n if (ariaValueText) return ariaValueText;\n const labelText = getLabel(index);\n const val = currentValue[index];\n return labelText ? `${labelText}: ${val}` : `${val}`;\n };\n\n return (\n <RadixSlider.Root\n ref={ref}\n className={`${slider({ variant })} ${className || ''}`}\n value={value ? currentValue : undefined}\n defaultValue={defaultVal}\n min={min}\n max={max}\n step={step}\n onValueChange={(val) => onChange?.(isRange ? val as [number, number] : val[0])}\n aria-label={ariaLabel || (isRange ? 'Range slider' : 'Slider')}\n {...props}\n >\n <RadixSlider.Track className={styles.track}>\n <RadixSlider.Range className={styles.range} />\n </RadixSlider.Track>\n {defaultVal.map((_, i) => (\n <RadixSlider.Thumb \n key={i} \n className={styles.thumb} \n asChild\n aria-label={getLabel(i) || `Thumb ${i + 1}`}\n aria-valuetext={getAriaValueText(i)}\n >\n <div>\n <ThumbIcon />\n {getLabel(i) && <div className={styles.label}>{getLabel(i)}</div>}\n </div>\n </RadixSlider.Thumb>\n ))}\n </RadixSlider.Root>\n );\n }\n);\n\nSlider.displayName = 'Slider';"],"names":["cva","styles","React","_jsxs","RadixSlider.Root","_jsx","RadixSlider.Track","RadixSlider.Range","RadixSlider.Thumb","ThumbIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAM,MAAM,GAAGA,WAAG,CAACC,qBAAM,CA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CAACI,eAAS,EAAG,EAAA,CAAA,EACZ,QAAQ,CAAC,CAAC,CAAC,IAAIJ,gCAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEJ,qBAAM,CAAC,KAAK,EAAA,QAAA,EAAG,QAAQ,CAAC,CAAC,CAAC,EAAO,CAAA,CAAA,EAAA,CAC7D,IATD,CAAC,CAUY,CACrB,CAAC,CAAA,EAAA,CACe,EACnB;AACJ,CAAC,EACD;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
3
1
|
import * as RadixSlider from '@radix-ui/react-slider';
|
|
4
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
5
5
|
declare const slider: (props?: ({
|
|
6
6
|
variant?: "range" | "single" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../v1/components/slider/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../v1/components/slider/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAKtD,QAAA,MAAM,MAAM;;mFAUV,CAAC;AAEH,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,CAAC,EACpG,YAAY,CAAC,OAAO,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,qFAmElB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
import { Root, Track, Range, Thumb } from '../../node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.js';
|
|
4
3
|
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
5
|
-
import
|
|
4
|
+
import * as React from 'react';
|
|
6
5
|
import styles from './slider.module.css.js';
|
|
6
|
+
import { ThumbIcon } from './thumb.js';
|
|
7
7
|
|
|
8
8
|
const slider = cva(styles.slider, {
|
|
9
9
|
variants: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.js","sources":["../../../../v1/components/slider/slider.tsx"],"sourcesContent":["import * as
|
|
1
|
+
{"version":3,"file":"slider.js","sources":["../../../../v1/components/slider/slider.tsx"],"sourcesContent":["import * as RadixSlider from '@radix-ui/react-slider';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { type ComponentPropsWithoutRef } from 'react';\n\nimport styles from './slider.module.css';\nimport { ThumbIcon } from './thumb';\n\nconst slider = cva(styles.slider, {\n variants: {\n variant: {\n single: styles['slider-variant-single'],\n range: styles['slider-variant-range'],\n },\n },\n defaultVariants: {\n variant: 'single',\n },\n});\n\nexport interface SliderProps\n extends Omit<ComponentPropsWithoutRef<typeof RadixSlider.Root>, 'value' | 'defaultValue' | 'onChange'>,\n VariantProps<typeof slider> {\n value?: number | [number, number];\n defaultValue?: number | [number, number];\n min?: number;\n max?: number;\n step?: number;\n label?: string | [string, string];\n onChange?: (value: number | [number, number]) => void;\n 'aria-label'?: string;\n 'aria-valuetext'?: string;\n}\n\nexport const Slider = React.forwardRef<React.ElementRef<typeof RadixSlider.Root>, SliderProps>(\n ({ \n className, \n variant = 'single', \n value, \n defaultValue, \n min = 0, \n max = 100, \n step = 1, \n label, \n onChange,\n 'aria-label': ariaLabel,\n 'aria-valuetext': ariaValueText,\n ...props \n }, ref) => {\n const isRange = variant === 'range';\n const defaultVal = isRange \n ? (defaultValue as [number, number]) || [min, max] \n : [defaultValue as number || min];\n const currentValue = value ? (isRange ? value as [number, number] : [value as number]) : defaultVal;\n\n const getLabel = (index: number) => {\n if (!label) return undefined;\n if (typeof label === 'string') return label;\n return label[index];\n };\n\n const getAriaValueText = (index: number) => {\n if (ariaValueText) return ariaValueText;\n const labelText = getLabel(index);\n const val = currentValue[index];\n return labelText ? `${labelText}: ${val}` : `${val}`;\n };\n\n return (\n <RadixSlider.Root\n ref={ref}\n className={`${slider({ variant })} ${className || ''}`}\n value={value ? currentValue : undefined}\n defaultValue={defaultVal}\n min={min}\n max={max}\n step={step}\n onValueChange={(val) => onChange?.(isRange ? val as [number, number] : val[0])}\n aria-label={ariaLabel || (isRange ? 'Range slider' : 'Slider')}\n {...props}\n >\n <RadixSlider.Track className={styles.track}>\n <RadixSlider.Range className={styles.range} />\n </RadixSlider.Track>\n {defaultVal.map((_, i) => (\n <RadixSlider.Thumb \n key={i} \n className={styles.thumb} \n asChild\n aria-label={getLabel(i) || `Thumb ${i + 1}`}\n aria-valuetext={getAriaValueText(i)}\n >\n <div>\n <ThumbIcon />\n {getLabel(i) && <div className={styles.label}>{getLabel(i)}</div>}\n </div>\n </RadixSlider.Thumb>\n ))}\n </RadixSlider.Root>\n );\n }\n);\n\nSlider.displayName = 'Slider';"],"names":["_jsxs","RadixSlider.Root","_jsx","RadixSlider.Track","RadixSlider.Range","RadixSlider.Thumb"],"mappings":";;;;;;;AAQA,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;AAChC,IAAA,QAAQ,EAAE;AACR,QAAA,OAAO,EAAE;AACP,YAAA,MAAM,EAAE,MAAM,CAAC,uBAAuB,CAAC;AACvC,YAAA,KAAK,EAAE,MAAM,CAAC,sBAAsB,CAAC;AACtC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,OAAO,EAAE,QAAQ;AAClB,KAAA;AACF,CAAA,CAAC,CAAC;MAgBU,MAAM,GAAG,KAAK,CAAC,UAAU,CACpC,CAAC,EACC,SAAS,EACT,OAAO,GAAG,QAAQ,EAClB,KAAK,EACL,YAAY,EACZ,GAAG,GAAG,CAAC,EACP,GAAG,GAAG,GAAG,EACT,IAAI,GAAG,CAAC,EACR,KAAK,EACL,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,gBAAgB,EAAE,aAAa,EAC/B,GAAG,KAAK,EACT,EAAE,GAAG,KAAI;AACR,IAAA,MAAM,OAAO,GAAG,OAAO,KAAK,OAAO,CAAC;IACpC,MAAM,UAAU,GAAG,OAAO;AACxB,UAAG,YAAiC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AAClD,UAAE,CAAC,YAA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qBAAA,CAACC,KAAiB,IAAC,SAAS,EAAE,MAAM,CAAC,KAAK,YACxCD,qBAAC,CAAAE,KAAiB,EAAA,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAA,CAAI,GAC5B,EACnB,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,MACnBF,qBAAA,CAACG,KAAiB,IAEhB,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,OAAO,EAAA,IAAA,EAAA,YAAA,EACK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,MAAA,EAAS,CAAC,GAAG,CAAC,EAAE,EAC3B,gBAAA,EAAA,gBAAgB,CAAC,CAAC,CAAC,YAEnCL,sBACE,CAAA,KAAA,EAAA,EAAA,QAAA,EAAA,CAAAE,qBAAA,CAAC,SAAS,EAAG,EAAA,CAAA,EACZ,QAAQ,CAAC,CAAC,CAAC,IAAIA,qBAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,KAAK,EAAA,QAAA,EAAG,QAAQ,CAAC,CAAC,CAAC,EAAO,CAAA,CAAA,EAAA,CAC7D,IATD,CAAC,CAUY,CACrB,CAAC,CAAA,EAAA,CACe,EACnB;AACJ,CAAC,EACD;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.cjs","sources":["../../../../v1/components/text/text.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./text.module.css\";\n\nconst text = cva(styles.text, {\n variants: {\n variant: {\n primary: styles[\"text-primary\"],\n secondary: styles[\"text-secondary\"],\n tertiary: styles[\"text-tertiary\"],\n emphasis: styles[\"text-emphasis\"],\n accent: styles[\"text-accent\"],\n attention: styles[\"text-attention\"],\n danger: styles[\"text-danger\"],\n success: styles[\"text-success\"],\n },\n size: {\n 1: styles[\"text-1\"],\n 2: styles[\"text-2\"],\n 3: styles[\"text-3\"],\n 4: styles[\"text-4\"],\n 5: styles[\"text-5\"],\n 6: styles[\"text-6\"],\n 7: styles[\"text-7\"],\n 8: styles[\"text-8\"],\n 9: styles[\"text-9\"],\n 10: styles[\"text-10\"],\n },\n weight: {\n bold: styles[\"text-weight-bold\"],\n bolder: styles[\"text-weight-bolder\"],\n normal: styles[\"text-weight-normal\"],\n lighter: styles[\"text-weight-lighter\"],\n 100: styles[\"text-weight-100\"],\n 200: styles[\"text-weight-200\"],\n 300: styles[\"text-weight-300\"],\n 400: styles[\"text-weight-400\"],\n 500: styles[\"text-weight-500\"],\n 600: styles[\"text-weight-600\"],\n 700: styles[\"text-weight-700\"],\n 800: styles[\"text-weight-800\"],\n 900: styles[\"text-weight-900\"],\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: 2,\n weight: 400,\n },\n});\n\nexport type TextProps = PropsWithChildren<VariantProps<typeof text>> &\n HTMLAttributes<HTMLSpanElement>;\n\nexport function Text({\n children,\n className,\n size,\n variant,\n weight,\n ...props\n}: TextProps) {\n return (\n <span className={text({ size, className, weight, variant })} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"text.cjs","sources":["../../../../v1/components/text/text.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\n\n// Also used by link.tsx\nimport styles from \"./text.module.css\";\n\nconst text = cva(styles.text, {\n variants: {\n variant: {\n primary: styles[\"text-primary\"],\n secondary: styles[\"text-secondary\"],\n tertiary: styles[\"text-tertiary\"],\n emphasis: styles[\"text-emphasis\"],\n accent: styles[\"text-accent\"],\n attention: styles[\"text-attention\"],\n danger: styles[\"text-danger\"],\n success: styles[\"text-success\"],\n },\n size: {\n 1: styles[\"text-1\"],\n 2: styles[\"text-2\"],\n 3: styles[\"text-3\"],\n 4: styles[\"text-4\"],\n 5: styles[\"text-5\"],\n 6: styles[\"text-6\"],\n 7: styles[\"text-7\"],\n 8: styles[\"text-8\"],\n 9: styles[\"text-9\"],\n 10: styles[\"text-10\"],\n },\n weight: {\n bold: styles[\"text-weight-bold\"],\n bolder: styles[\"text-weight-bolder\"],\n normal: styles[\"text-weight-normal\"],\n lighter: styles[\"text-weight-lighter\"],\n 100: styles[\"text-weight-100\"],\n 200: styles[\"text-weight-200\"],\n 300: styles[\"text-weight-300\"],\n 400: styles[\"text-weight-400\"],\n 500: styles[\"text-weight-500\"],\n 600: styles[\"text-weight-600\"],\n 700: styles[\"text-weight-700\"],\n 800: styles[\"text-weight-800\"],\n 900: styles[\"text-weight-900\"],\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: 2,\n weight: 400,\n },\n});\n\nexport type TextProps = PropsWithChildren<VariantProps<typeof text>> &\n HTMLAttributes<HTMLSpanElement>;\n\nexport function Text({\n children,\n className,\n size,\n variant,\n weight,\n ...props\n}: TextProps) {\n return (\n <span className={text({ size, className, weight, variant })} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAMA,MAAM,IAAI,GAAGA,SAAG,CAACC,mBAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAEA,mBAAM,CAAC,cAAc,CAAC;AAC/B,YAAA,SAAS,EAAEA,mBAAM,CAAC,gBAAgB,CAAC;AACnC,YAAA,QAAQ,EAAEA,mBAAM,CAAC,eAAe,CAAC;AACjC,YAAA,QAAQ,EAAEA,mBAAM,CAAC,eAAe,CAAC;AACjC,YAAA,MAAM,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,SAAS,EAAEA,mBAAM,CAAC,gBAAgB,CAAC;AACnC,YAAA,MAAM,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,OAAO,EAAEA,mBAAM,CAAC,cAAc,CAAC;AAChC,SAAA;A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G,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,IAAI,EAAE,CAAC;AACP,QAAA,MAAM,EAAE,GAAG;AACZ,KAAA;AACF,CAAA,CAAC,CAAC;SAKa,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACE,EAAA;IACV,QACEC,2CAAM,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAA,GAAM,KAAK,EACnE,QAAA,EAAA,QAAQ,EACJ,CAAA,EACP;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../v1/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../v1/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK1D,QAAA,MAAM,IAAI;;;;mFA6CR,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAClE,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACT,EAAE,SAAS,2CAMX"}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
2
|
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
3
|
-
import
|
|
3
|
+
import textStyles from './text.module.css.js';
|
|
4
4
|
|
|
5
|
-
const text = cva(
|
|
5
|
+
const text = cva(textStyles.text, {
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
8
|
-
primary:
|
|
9
|
-
secondary:
|
|
10
|
-
tertiary:
|
|
11
|
-
emphasis:
|
|
12
|
-
accent:
|
|
13
|
-
attention:
|
|
14
|
-
danger:
|
|
15
|
-
success:
|
|
8
|
+
primary: textStyles["text-primary"],
|
|
9
|
+
secondary: textStyles["text-secondary"],
|
|
10
|
+
tertiary: textStyles["text-tertiary"],
|
|
11
|
+
emphasis: textStyles["text-emphasis"],
|
|
12
|
+
accent: textStyles["text-accent"],
|
|
13
|
+
attention: textStyles["text-attention"],
|
|
14
|
+
danger: textStyles["text-danger"],
|
|
15
|
+
success: textStyles["text-success"],
|
|
16
16
|
},
|
|
17
17
|
size: {
|
|
18
|
-
1:
|
|
19
|
-
2:
|
|
20
|
-
3:
|
|
21
|
-
4:
|
|
22
|
-
5:
|
|
23
|
-
6:
|
|
24
|
-
7:
|
|
25
|
-
8:
|
|
26
|
-
9:
|
|
27
|
-
10:
|
|
18
|
+
1: textStyles["text-1"],
|
|
19
|
+
2: textStyles["text-2"],
|
|
20
|
+
3: textStyles["text-3"],
|
|
21
|
+
4: textStyles["text-4"],
|
|
22
|
+
5: textStyles["text-5"],
|
|
23
|
+
6: textStyles["text-6"],
|
|
24
|
+
7: textStyles["text-7"],
|
|
25
|
+
8: textStyles["text-8"],
|
|
26
|
+
9: textStyles["text-9"],
|
|
27
|
+
10: textStyles["text-10"],
|
|
28
28
|
},
|
|
29
29
|
weight: {
|
|
30
|
-
bold:
|
|
31
|
-
bolder:
|
|
32
|
-
normal:
|
|
33
|
-
lighter:
|
|
34
|
-
100:
|
|
35
|
-
200:
|
|
36
|
-
300:
|
|
37
|
-
400:
|
|
38
|
-
500:
|
|
39
|
-
600:
|
|
40
|
-
700:
|
|
41
|
-
800:
|
|
42
|
-
900:
|
|
30
|
+
bold: textStyles["text-weight-bold"],
|
|
31
|
+
bolder: textStyles["text-weight-bolder"],
|
|
32
|
+
normal: textStyles["text-weight-normal"],
|
|
33
|
+
lighter: textStyles["text-weight-lighter"],
|
|
34
|
+
100: textStyles["text-weight-100"],
|
|
35
|
+
200: textStyles["text-weight-200"],
|
|
36
|
+
300: textStyles["text-weight-300"],
|
|
37
|
+
400: textStyles["text-weight-400"],
|
|
38
|
+
500: textStyles["text-weight-500"],
|
|
39
|
+
600: textStyles["text-weight-600"],
|
|
40
|
+
700: textStyles["text-weight-700"],
|
|
41
|
+
800: textStyles["text-weight-800"],
|
|
42
|
+
900: textStyles["text-weight-900"],
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
defaultVariants: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","sources":["../../../../v1/components/text/text.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./text.module.css\";\n\nconst text = cva(styles.text, {\n variants: {\n variant: {\n primary: styles[\"text-primary\"],\n secondary: styles[\"text-secondary\"],\n tertiary: styles[\"text-tertiary\"],\n emphasis: styles[\"text-emphasis\"],\n accent: styles[\"text-accent\"],\n attention: styles[\"text-attention\"],\n danger: styles[\"text-danger\"],\n success: styles[\"text-success\"],\n },\n size: {\n 1: styles[\"text-1\"],\n 2: styles[\"text-2\"],\n 3: styles[\"text-3\"],\n 4: styles[\"text-4\"],\n 5: styles[\"text-5\"],\n 6: styles[\"text-6\"],\n 7: styles[\"text-7\"],\n 8: styles[\"text-8\"],\n 9: styles[\"text-9\"],\n 10: styles[\"text-10\"],\n },\n weight: {\n bold: styles[\"text-weight-bold\"],\n bolder: styles[\"text-weight-bolder\"],\n normal: styles[\"text-weight-normal\"],\n lighter: styles[\"text-weight-lighter\"],\n 100: styles[\"text-weight-100\"],\n 200: styles[\"text-weight-200\"],\n 300: styles[\"text-weight-300\"],\n 400: styles[\"text-weight-400\"],\n 500: styles[\"text-weight-500\"],\n 600: styles[\"text-weight-600\"],\n 700: styles[\"text-weight-700\"],\n 800: styles[\"text-weight-800\"],\n 900: styles[\"text-weight-900\"],\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: 2,\n weight: 400,\n },\n});\n\nexport type TextProps = PropsWithChildren<VariantProps<typeof text>> &\n HTMLAttributes<HTMLSpanElement>;\n\nexport function Text({\n children,\n className,\n size,\n variant,\n weight,\n ...props\n}: TextProps) {\n return (\n <span className={text({ size, className, weight, variant })} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"text.js","sources":["../../../../v1/components/text/text.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\n\n// Also used by link.tsx\nimport styles from \"./text.module.css\";\n\nconst text = cva(styles.text, {\n variants: {\n variant: {\n primary: styles[\"text-primary\"],\n secondary: styles[\"text-secondary\"],\n tertiary: styles[\"text-tertiary\"],\n emphasis: styles[\"text-emphasis\"],\n accent: styles[\"text-accent\"],\n attention: styles[\"text-attention\"],\n danger: styles[\"text-danger\"],\n success: styles[\"text-success\"],\n },\n size: {\n 1: styles[\"text-1\"],\n 2: styles[\"text-2\"],\n 3: styles[\"text-3\"],\n 4: styles[\"text-4\"],\n 5: styles[\"text-5\"],\n 6: styles[\"text-6\"],\n 7: styles[\"text-7\"],\n 8: styles[\"text-8\"],\n 9: styles[\"text-9\"],\n 10: styles[\"text-10\"],\n },\n weight: {\n bold: styles[\"text-weight-bold\"],\n bolder: styles[\"text-weight-bolder\"],\n normal: styles[\"text-weight-normal\"],\n lighter: styles[\"text-weight-lighter\"],\n 100: styles[\"text-weight-100\"],\n 200: styles[\"text-weight-200\"],\n 300: styles[\"text-weight-300\"],\n 400: styles[\"text-weight-400\"],\n 500: styles[\"text-weight-500\"],\n 600: styles[\"text-weight-600\"],\n 700: styles[\"text-weight-700\"],\n 800: styles[\"text-weight-800\"],\n 900: styles[\"text-weight-900\"],\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: 2,\n weight: 400,\n },\n});\n\nexport type TextProps = PropsWithChildren<VariantProps<typeof text>> &\n HTMLAttributes<HTMLSpanElement>;\n\nexport function Text({\n children,\n className,\n size,\n variant,\n weight,\n ...props\n}: TextProps) {\n return (\n <span className={text({ size, className, weight, variant })} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["styles","_jsx"],"mappings":";;;;AAMA,MAAM,IAAI,GAAG,GAAG,CAACA,UAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAEA,UAAM,CAAC,cAAc,CAAC;AAC/B,YAAA,SAAS,EAAEA,UAAM,CAAC,gBAAgB,CAAC;AACnC,YAAA,QAAQ,EAAEA,UAAM,CAAC,eAAe,CAAC;AACjC,YAAA,QAAQ,EAAEA,UAAM,CAAC,eAAe,CAAC;AACjC,YAAA,MAAM,EAAEA,UAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,SAAS,EAAEA,UAAM,CAAC,gBAAgB,CAAC;AACnC,YAAA,MAAM,EAAEA,UAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,OAAO,EAAEA,UAAM,CAAC,cAAc,CAAC;AAChC,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,CAAC,EAAEA,UAAM,CAAC,QAAQ,CAAC;AACnB,YAAA,CAAC,EAAEA,UAAM,CAAC,QAAQ,CAAC;AACnB,YAAA,CAAC,EAAEA,UAAM,CAAC,QAAQ,CAAC;AACnB,YAAA,CAAC,EAAEA,UAAM,CAAC,QAAQ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AAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACE,EAAA;IACV,QACEC,gCAAM,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAA,GAAM,KAAK,EACnE,QAAA,EAAA,QAAQ,EACJ,CAAA,EACP;AACJ;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var textStyles = {"text":"text-module_text__tFuTL","text-1":"text-module_text-1__-2-1Q","text-2":"text-module_text-2__5ZsOG","text-3":"text-module_text-3__U15pQ","text-4":"text-module_text-4__9N-7-","text-5":"text-module_text-5__e0fbX","text-6":"text-module_text-6__BUzVU","text-7":"text-module_text-7__No7hH","text-8":"text-module_text-8__yNdGp","text-9":"text-module_text-9__DSyEB","text-10":"text-module_text-10__k14Sp","text-weight-bold":"text-module_text-weight-bold__7ih3v","text-weight-bolder":"text-module_text-weight-bolder__mVFaj","text-weight-normal":"text-module_text-weight-normal__WnUcI","text-weight-lighter":"text-module_text-weight-lighter__5rGlI","text-weight-100":"text-module_text-weight-100__yQW-Y","text-weight-200":"text-module_text-weight-200__y7kFi","text-weight-300":"text-module_text-weight-300__dCeJe","text-weight-400":"text-module_text-weight-400__GRCMw","text-weight-500":"text-module_text-weight-500__1LhmO","text-weight-600":"text-module_text-weight-600__w51eJ","text-weight-700":"text-module_text-weight-700__oz9p8","text-weight-800":"text-module_text-weight-800__nnim6","text-weight-900":"text-module_text-weight-900__Ol4Lo","text-primary":"text-module_text-primary__3JNcv","text-secondary":"text-module_text-secondary__qhbTE","text-tertiary":"text-module_text-tertiary__-Bta6","text-emphasis":"text-module_text-emphasis__nmBMl","text-accent":"text-module_text-accent__oymau","text-attention":"text-module_text-attention__Ugy-6","text-danger":"text-module_text-danger__7pZHX","text-success":"text-module_text-success__aRO0z","text___1":"text-module_text-1__-2-1Q","text___2":"text-module_text-2__5ZsOG","text___3":"text-module_text-3__U15pQ","text___4":"text-module_text-4__9N-7-","text___5":"text-module_text-5__e0fbX","text___6":"text-module_text-6__BUzVU","text___7":"text-module_text-7__No7hH","text___8":"text-module_text-8__yNdGp","text___9":"text-module_text-9__DSyEB","text___10":"text-module_text-10__k14Sp","text___weight___bold":"text-module_text-weight-bold__7ih3v","text___weight___bolder":"text-module_text-weight-bolder__mVFaj","text___weight___normal":"text-module_text-weight-normal__WnUcI","text___weight___lighter":"text-module_text-weight-lighter__5rGlI","text___weight___100":"text-module_text-weight-100__yQW-Y","text___weight___200":"text-module_text-weight-200__y7kFi","text___weight___300":"text-module_text-weight-300__dCeJe","text___weight___400":"text-module_text-weight-400__GRCMw","text___weight___500":"text-module_text-weight-500__1LhmO","text___weight___600":"text-module_text-weight-600__w51eJ","text___weight___700":"text-module_text-weight-700__oz9p8","text___weight___800":"text-module_text-weight-800__nnim6","text___weight___900":"text-module_text-weight-900__Ol4Lo","text___primary":"text-module_text-primary__3JNcv","text___secondary":"text-module_text-secondary__qhbTE","text___tertiary":"text-module_text-tertiary__-Bta6","text___emphasis":"text-module_text-emphasis__nmBMl","text___accent":"text-module_text-accent__oymau","text___attention":"text-module_text-attention__Ugy-6","text___danger":"text-module_text-danger__7pZHX","text___success":"text-module_text-success__aRO0z"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = textStyles;
|
|
8
8
|
//# sourceMappingURL=text.module.css.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var textStyles = {"text":"text-module_text__tFuTL","text-1":"text-module_text-1__-2-1Q","text-2":"text-module_text-2__5ZsOG","text-3":"text-module_text-3__U15pQ","text-4":"text-module_text-4__9N-7-","text-5":"text-module_text-5__e0fbX","text-6":"text-module_text-6__BUzVU","text-7":"text-module_text-7__No7hH","text-8":"text-module_text-8__yNdGp","text-9":"text-module_text-9__DSyEB","text-10":"text-module_text-10__k14Sp","text-weight-bold":"text-module_text-weight-bold__7ih3v","text-weight-bolder":"text-module_text-weight-bolder__mVFaj","text-weight-normal":"text-module_text-weight-normal__WnUcI","text-weight-lighter":"text-module_text-weight-lighter__5rGlI","text-weight-100":"text-module_text-weight-100__yQW-Y","text-weight-200":"text-module_text-weight-200__y7kFi","text-weight-300":"text-module_text-weight-300__dCeJe","text-weight-400":"text-module_text-weight-400__GRCMw","text-weight-500":"text-module_text-weight-500__1LhmO","text-weight-600":"text-module_text-weight-600__w51eJ","text-weight-700":"text-module_text-weight-700__oz9p8","text-weight-800":"text-module_text-weight-800__nnim6","text-weight-900":"text-module_text-weight-900__Ol4Lo","text-primary":"text-module_text-primary__3JNcv","text-secondary":"text-module_text-secondary__qhbTE","text-tertiary":"text-module_text-tertiary__-Bta6","text-emphasis":"text-module_text-emphasis__nmBMl","text-accent":"text-module_text-accent__oymau","text-attention":"text-module_text-attention__Ugy-6","text-danger":"text-module_text-danger__7pZHX","text-success":"text-module_text-success__aRO0z","text___1":"text-module_text-1__-2-1Q","text___2":"text-module_text-2__5ZsOG","text___3":"text-module_text-3__U15pQ","text___4":"text-module_text-4__9N-7-","text___5":"text-module_text-5__e0fbX","text___6":"text-module_text-6__BUzVU","text___7":"text-module_text-7__No7hH","text___8":"text-module_text-8__yNdGp","text___9":"text-module_text-9__DSyEB","text___10":"text-module_text-10__k14Sp","text___weight___bold":"text-module_text-weight-bold__7ih3v","text___weight___bolder":"text-module_text-weight-bolder__mVFaj","text___weight___normal":"text-module_text-weight-normal__WnUcI","text___weight___lighter":"text-module_text-weight-lighter__5rGlI","text___weight___100":"text-module_text-weight-100__yQW-Y","text___weight___200":"text-module_text-weight-200__y7kFi","text___weight___300":"text-module_text-weight-300__dCeJe","text___weight___400":"text-module_text-weight-400__GRCMw","text___weight___500":"text-module_text-weight-500__1LhmO","text___weight___600":"text-module_text-weight-600__w51eJ","text___weight___700":"text-module_text-weight-700__oz9p8","text___weight___800":"text-module_text-weight-800__nnim6","text___weight___900":"text-module_text-weight-900__Ol4Lo","text___primary":"text-module_text-primary__3JNcv","text___secondary":"text-module_text-secondary__qhbTE","text___tertiary":"text-module_text-tertiary__-Bta6","text___emphasis":"text-module_text-emphasis__nmBMl","text___accent":"text-module_text-accent__oymau","text___attention":"text-module_text-attention__Ugy-6","text___danger":"text-module_text-danger__7pZHX","text___success":"text-module_text-success__aRO0z"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { textStyles as default };
|
|
4
4
|
//# sourceMappingURL=text.module.css.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
|
-
var React = require('react');
|
|
5
4
|
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
5
|
+
var React = require('react');
|
|
6
6
|
var textArea_module = require('./text-area.module.css.cjs');
|
|
7
7
|
|
|
8
8
|
function _interopNamespaceDefault(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.cjs","sources":["../../../../v1/components/text-area/text-area.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"text-area.cjs","sources":["../../../../v1/components/text-area/text-area.tsx"],"sourcesContent":["import { InfoCircledIcon } from \"@radix-ui/react-icons\";\nimport { cva, cx,VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\n\nimport styles from \"./text-area.module.css\";\n\nconst textArea = cva(styles.textarea, {\n variants: {\n error: {\n true: styles.error\n }\n }\n});\n\nexport interface TextAreaProps extends PropsWithChildren<VariantProps<typeof textArea>>, \n HTMLAttributes<HTMLTextAreaElement> {\n label?: string;\n required?: boolean;\n // tooltip?: string;\n helperText?: string;\n error?: boolean;\n width?: string | number;\n value?: string;\n onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n}\n\nconst TextArea = React.forwardRef<HTMLTextAreaElement, TextAreaProps>(\n ({ className, style, label, required, helperText, error, width = \"200px\", value, onChange, ...props }, ref) => {\n return (\n <div className={styles.container} style={{ width }}>\n {label && (\n <div className={styles.labelContainer}>\n <label className={styles.label}>\n {label}\n </label>\n {!required && <span className={styles.optional}>(optional)</span>}\n {/* {tooltip && <span className={styles.helpIcon}><InfoCircledIcon /></span>} */}\n </div>\n )}\n <textarea\n className={cx(textArea({ error }), className)}\n ref={ref}\n value={value}\n onChange={onChange}\n required={required}\n {...props}\n />\n {helperText && <span className={styles.helperText}>{helperText}</span>}\n </div>\n );\n }\n);\n\nTextArea.displayName = \"TextArea\";\n\nexport { TextArea };\n"],"names":["cva","styles","React","_jsxs","_jsx","cx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,QAAQ,GAAGA,SAAG,CAACC,uBAAM,CAAC,QAAQ,EAAE;AACpC,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE;YACL,IAAI,EAAEA,uBAAM,CAAC,KAAK;AACnB,SAAA;AACF,KAAA;AACF,CAAA,CAAC,CAAC;AAcH,MAAM,QAAQ,GAAGC,gBAAK,CAAC,UAAU,CAC/B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;IAC5G,QACEC,2CAAK,SAAS,EAAEF,uBAAM,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,aAC/C,KAAK,KACJE,iCAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAEF,uBAAM,CAAC,cAAc,EACnC,QAAA,EAAA,CAAAG,gCAAA,CAAA,OAAA,EAAA,EAAO,SAAS,EAAEH,uBAAM,CAAC,KAAK,E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