@raystack/apsara 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/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/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/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/style.css +1 -1
- package/dist/table/datatable.cjs +1 -1
- package/dist/table/datatable.cjs.map +1 -1
- package/dist/table/datatable.js +1 -1
- package/dist/table/datatable.js.map +1 -1
- package/dist/v1/components/box/box.cjs.map +1 -1
- package/dist/v1/components/box/box.d.ts.map +1 -1
- package/dist/v1/components/box/box.js.map +1 -1
- package/dist/v1/components/callout/callout.cjs.map +1 -1
- package/dist/v1/components/callout/callout.d.ts +1 -1
- package/dist/v1/components/callout/callout.d.ts.map +1 -1
- package/dist/v1/components/callout/callout.js.map +1 -1
- package/dist/v1/components/chip/chip.cjs.map +1 -1
- package/dist/v1/components/chip/chip.d.ts +1 -1
- package/dist/v1/components/chip/chip.d.ts.map +1 -1
- package/dist/v1/components/chip/chip.js.map +1 -1
- package/dist/v1/components/command/command.cjs +2 -2
- package/dist/v1/components/command/command.cjs.map +1 -1
- package/dist/v1/components/command/command.d.ts.map +1 -1
- package/dist/v1/components/command/command.js +2 -2
- package/dist/v1/components/command/command.js.map +1 -1
- package/dist/v1/components/container/container.cjs.map +1 -1
- package/dist/v1/components/container/container.d.ts.map +1 -1
- package/dist/v1/components/container/container.js.map +1 -1
- package/dist/v1/components/copy-button/copy-button.cjs +28 -0
- package/dist/v1/components/copy-button/copy-button.cjs.map +1 -0
- package/dist/v1/components/copy-button/copy-button.d.ts +9 -0
- package/dist/v1/components/copy-button/copy-button.d.ts.map +1 -0
- package/dist/v1/components/copy-button/copy-button.js +26 -0
- package/dist/v1/components/copy-button/copy-button.js.map +1 -0
- package/dist/v1/components/copy-button/index.d.ts +2 -0
- package/dist/v1/components/copy-button/index.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/content.cjs +8 -8
- package/dist/v1/components/data-table/components/content.cjs.map +1 -1
- package/dist/v1/components/data-table/components/content.d.ts.map +1 -1
- package/dist/v1/components/data-table/components/content.js +8 -8
- package/dist/v1/components/data-table/components/content.js.map +1 -1
- package/dist/v1/components/data-table/components/display-settings.cjs +3 -3
- package/dist/v1/components/data-table/components/display-settings.cjs.map +1 -1
- package/dist/v1/components/data-table/components/display-settings.d.ts.map +1 -1
- package/dist/v1/components/data-table/components/display-settings.js +3 -3
- package/dist/v1/components/data-table/components/display-settings.js.map +1 -1
- package/dist/v1/components/data-table/components/filters.cjs +4 -4
- package/dist/v1/components/data-table/components/filters.cjs.map +1 -1
- package/dist/v1/components/data-table/components/filters.js +4 -4
- package/dist/v1/components/data-table/components/filters.js.map +1 -1
- package/dist/v1/components/data-table/components/grouping.cjs +2 -2
- package/dist/v1/components/data-table/components/grouping.cjs.map +1 -1
- package/dist/v1/components/data-table/components/grouping.d.ts.map +1 -1
- package/dist/v1/components/data-table/components/grouping.js +2 -2
- package/dist/v1/components/data-table/components/grouping.js.map +1 -1
- package/dist/v1/components/data-table/components/ordering.cjs +4 -4
- package/dist/v1/components/data-table/components/ordering.cjs.map +1 -1
- package/dist/v1/components/data-table/components/ordering.d.ts.map +1 -1
- package/dist/v1/components/data-table/components/ordering.js +4 -4
- package/dist/v1/components/data-table/components/ordering.js.map +1 -1
- package/dist/v1/components/data-table/components/toolbar.cjs.map +1 -1
- package/dist/v1/components/data-table/components/toolbar.js.map +1 -1
- package/dist/v1/components/data-table/context.cjs.map +1 -1
- package/dist/v1/components/data-table/context.d.ts.map +1 -1
- package/dist/v1/components/data-table/context.js.map +1 -1
- package/dist/v1/components/data-table/data-table.types.cjs.map +1 -1
- package/dist/v1/components/data-table/data-table.types.d.ts +1 -0
- package/dist/v1/components/data-table/data-table.types.d.ts.map +1 -1
- package/dist/v1/components/data-table/data-table.types.js.map +1 -1
- package/dist/v1/components/data-table/hooks/useDataTable.cjs.map +1 -1
- package/dist/v1/components/data-table/hooks/useDataTable.d.ts.map +1 -1
- package/dist/v1/components/data-table/hooks/useDataTable.js.map +1 -1
- package/dist/v1/components/data-table/hooks/useFilters.cjs.map +1 -1
- package/dist/v1/components/data-table/hooks/useFilters.d.ts.map +1 -1
- package/dist/v1/components/data-table/hooks/useFilters.js.map +1 -1
- package/dist/v1/components/data-table/utils/filter-operations.cjs.map +1 -1
- package/dist/v1/components/data-table/utils/filter-operations.d.ts +1 -1
- package/dist/v1/components/data-table/utils/filter-operations.d.ts.map +1 -1
- package/dist/v1/components/data-table/utils/filter-operations.js.map +1 -1
- package/dist/v1/components/data-table/utils/index.cjs.map +1 -1
- package/dist/v1/components/data-table/utils/index.d.ts +1 -1
- package/dist/v1/components/data-table/utils/index.d.ts.map +1 -1
- package/dist/v1/components/data-table/utils/index.js.map +1 -1
- package/dist/v1/components/dialog/dialog.cjs +1 -1
- package/dist/v1/components/dialog/dialog.cjs.map +1 -1
- package/dist/v1/components/dialog/dialog.d.ts.map +1 -1
- package/dist/v1/components/dialog/dialog.js +1 -1
- package/dist/v1/components/dialog/dialog.js.map +1 -1
- package/dist/v1/components/filter-chip/filter-chip.cjs +4 -4
- package/dist/v1/components/filter-chip/filter-chip.cjs.map +1 -1
- package/dist/v1/components/filter-chip/filter-chip.d.ts +1 -1
- package/dist/v1/components/filter-chip/filter-chip.d.ts.map +1 -1
- package/dist/v1/components/filter-chip/filter-chip.js +4 -4
- package/dist/v1/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/v1/components/image/image.cjs.map +1 -1
- package/dist/v1/components/image/image.d.ts.map +1 -1
- package/dist/v1/components/image/image.js.map +1 -1
- package/dist/v1/components/label/label.cjs.map +1 -1
- package/dist/v1/components/label/label.d.ts.map +1 -1
- package/dist/v1/components/label/label.js.map +1 -1
- package/dist/v1/components/list/list.cjs.map +1 -1
- package/dist/v1/components/list/list.d.ts.map +1 -1
- package/dist/v1/components/list/list.js.map +1 -1
- 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 +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 +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 +1 -1
- package/dist/v1/components/search/search.js.map +1 -1
- package/dist/v1/components/search/search.module.css.cjs +1 -1
- package/dist/v1/components/search/search.module.css.js +1 -1
- package/dist/v1/components/separator/separator.cjs.map +1 -1
- package/dist/v1/components/separator/separator.js.map +1 -1
- package/dist/v1/components/side-panel/index.d.ts +2 -0
- package/dist/v1/components/side-panel/index.d.ts.map +1 -0
- package/dist/v1/components/side-panel/side-panel.cjs +36 -0
- package/dist/v1/components/side-panel/side-panel.cjs.map +1 -0
- package/dist/v1/components/side-panel/side-panel.d.ts +24 -0
- package/dist/v1/components/side-panel/side-panel.d.ts.map +1 -0
- package/dist/v1/components/side-panel/side-panel.js +34 -0
- package/dist/v1/components/side-panel/side-panel.js.map +1 -0
- package/dist/v1/components/side-panel/side-panel.module.css.cjs +8 -0
- package/dist/v1/components/side-panel/side-panel.module.css.cjs.map +1 -0
- package/dist/v1/components/side-panel/side-panel.module.css.js +4 -0
- package/dist/v1/components/side-panel/side-panel.module.css.js.map +1 -0
- package/dist/v1/components/text-area/text-area.cjs +4 -2
- package/dist/v1/components/text-area/text-area.cjs.map +1 -1
- package/dist/v1/components/text-area/text-area.d.ts +1 -0
- package/dist/v1/components/text-area/text-area.d.ts.map +1 -1
- package/dist/v1/components/text-area/text-area.js +4 -2
- package/dist/v1/components/text-area/text-area.js.map +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.map +1 -1
- package/dist/v1/hooks/index.cjs +8 -0
- package/dist/v1/hooks/index.cjs.map +1 -0
- package/dist/v1/hooks/index.d.ts +2 -0
- package/dist/v1/hooks/index.d.ts.map +1 -0
- package/dist/v1/hooks/index.js +2 -0
- package/dist/v1/hooks/index.js.map +1 -0
- package/dist/v1/hooks/useCopyToClipboard.cjs +28 -0
- package/dist/v1/hooks/useCopyToClipboard.cjs.map +1 -0
- package/dist/v1/hooks/useCopyToClipboard.d.ts +7 -0
- package/dist/v1/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/v1/hooks/useCopyToClipboard.js +26 -0
- package/dist/v1/hooks/useCopyToClipboard.js.map +1 -0
- package/dist/v1/icons/assets/check-circle-filled.svg.cjs +45 -0
- package/dist/v1/icons/assets/check-circle-filled.svg.cjs.map +1 -0
- package/dist/v1/icons/assets/check-circle-filled.svg.js +24 -0
- package/dist/v1/icons/assets/check-circle-filled.svg.js.map +1 -0
- package/dist/v1/icons/assets/cross-circle-filled.svg.cjs +41 -0
- package/dist/v1/icons/assets/cross-circle-filled.svg.cjs.map +1 -0
- package/dist/v1/icons/assets/cross-circle-filled.svg.js +20 -0
- package/dist/v1/icons/assets/cross-circle-filled.svg.js.map +1 -0
- package/dist/v1/{components/icons → icons}/assets/filter.svg.cjs +1 -1
- package/dist/v1/icons/assets/filter.svg.cjs.map +1 -0
- package/dist/v1/{components/icons → icons}/assets/filter.svg.js +1 -1
- package/dist/v1/icons/assets/filter.svg.js.map +1 -0
- package/dist/v1/icons/assets/organization.svg.cjs +41 -0
- package/dist/v1/icons/assets/organization.svg.cjs.map +1 -0
- package/dist/v1/icons/assets/organization.svg.js +20 -0
- package/dist/v1/icons/assets/organization.svg.js.map +1 -0
- package/dist/v1/icons/assets/sidebar.svg.cjs +41 -0
- package/dist/v1/icons/assets/sidebar.svg.cjs.map +1 -0
- package/dist/v1/icons/assets/sidebar.svg.js +20 -0
- package/dist/v1/icons/assets/sidebar.svg.js.map +1 -0
- package/dist/v1/icons/index.cjs +16 -0
- package/dist/v1/icons/index.cjs.map +1 -0
- package/dist/v1/icons/index.d.ts +6 -0
- package/dist/v1/icons/index.d.ts.map +1 -0
- package/dist/v1/icons/index.js +6 -0
- package/dist/v1/icons/index.js.map +1 -0
- package/dist/v1/index.cjs +28 -24
- package/dist/v1/index.cjs.map +1 -1
- package/dist/v1/index.d.ts +12 -10
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +14 -12
- 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/style.css +1 -1
- package/package.json +15 -2
- package/dist/v1/components/icons/assets/filter.svg.cjs.map +0 -1
- package/dist/v1/components/icons/assets/filter.svg.js.map +0 -1
- package/dist/v1/components/icons/icons.d.ts +0 -3
- package/dist/v1/components/icons/icons.d.ts.map +0 -1
- package/dist/v1/components/icons/index.d.ts +0 -2
- package/dist/v1/components/icons/index.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var styles = {"container":"search-module_container__8gEJW","
|
|
1
|
+
var styles = {"container":"search-module_container__8gEJW","disabled":"search-module_disabled__hsaoU","searchField":"search-module_searchField__-tDuP","search-small":"search-module_search-small__-ZBT7","search-large":"search-module_search-large__KhTvs","search-disabled":"search-module_search-disabled__F7Fe0","leadingIcon":"search-module_leadingIcon__qHtrW","clearButton":"search-module_clearButton__CGShe","search___small":"search-module_search-small__-ZBT7","search___large":"search-module_search-large__KhTvs","search___disabled":"search-module_search-disabled__F7Fe0"};
|
|
2
2
|
|
|
3
3
|
export { styles as default };
|
|
4
4
|
//# sourceMappingURL=search.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.cjs","sources":["../../../../v1/components/separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva
|
|
1
|
+
{"version":3,"file":"separator.cjs","sources":["../../../../v1/components/separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva } from \"class-variance-authority\";\n\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;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.js","sources":["../../../../v1/components/separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva
|
|
1
|
+
{"version":3,"file":"separator.js","sources":["../../../../v1/components/separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva } from \"class-variance-authority\";\n\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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/side-panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
6
|
+
var sidePanel_module = require('./side-panel.module.css.cjs');
|
|
7
|
+
var flex = require('../flex/flex.cjs');
|
|
8
|
+
var text = require('../text/text.cjs');
|
|
9
|
+
|
|
10
|
+
const sidePanelRoot = index.cva(sidePanel_module.default["side-panel"], {
|
|
11
|
+
variants: {
|
|
12
|
+
side: {
|
|
13
|
+
left: sidePanel_module.default["side-panel-left"],
|
|
14
|
+
right: sidePanel_module.default["side-panel-right"],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
side: "right",
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
const SidePanelRoot = ({ children, side = "right", className, }) => {
|
|
22
|
+
return (jsxRuntime.jsxRuntimeExports.jsx("aside", { className: sidePanelRoot({ side, className }), children: children }));
|
|
23
|
+
};
|
|
24
|
+
const SidePanelHeader = ({ title, icon, actions = [], description, }) => {
|
|
25
|
+
return (jsxRuntime.jsxRuntimeExports.jsxs("div", { className: sidePanel_module.default["side-panel-header"], children: [jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { gap: 3, justify: "between", align: "center", children: [jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { gap: 3, children: [icon, jsxRuntime.jsxRuntimeExports.jsx(text.Text, { size: 5, weight: 500, children: title })] }), jsxRuntime.jsxRuntimeExports.jsx(flex.Flex, { gap: 3, children: actions?.map((action, index) => (jsxRuntime.jsxRuntimeExports.jsx(React.Fragment, { children: action }, index))) })] }), description ? jsxRuntime.jsxRuntimeExports.jsx(text.Text, { size: 2, children: description }) : null] }));
|
|
26
|
+
};
|
|
27
|
+
const SidePanelSection = ({ children }) => {
|
|
28
|
+
return jsxRuntime.jsxRuntimeExports.jsx("div", { className: sidePanel_module.default["side-panel-section"], children: children });
|
|
29
|
+
};
|
|
30
|
+
const SidePanel = Object.assign(SidePanelRoot, {
|
|
31
|
+
Header: SidePanelHeader,
|
|
32
|
+
Section: SidePanelSection,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
exports.SidePanel = SidePanel;
|
|
36
|
+
//# sourceMappingURL=side-panel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side-panel.cjs","sources":["../../../../v1/components/side-panel/side-panel.tsx"],"sourcesContent":["import React from \"react\";\nimport { VariantProps, cva } from \"class-variance-authority\";\n\nimport styles from \"./side-panel.module.css\";\nimport { Flex } from \"../flex\";\nimport { Text } from \"../text\";\n\nconst sidePanelRoot = cva(styles[\"side-panel\"], {\n variants: {\n side: {\n left: styles[\"side-panel-left\"],\n right: styles[\"side-panel-right\"],\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\ninterface SidePanelProps extends VariantProps<typeof sidePanelRoot> {\n children: React.ReactNode;\n className?: string;\n}\n\nconst SidePanelRoot = ({\n children,\n side = \"right\",\n className,\n}: SidePanelProps) => {\n return (\n <aside className={sidePanelRoot({ side, className })}>{children}</aside>\n );\n};\n\ninterface SidePanelHeaderProps {\n title: string;\n icon?: React.ReactNode;\n actions?: Array<React.ReactNode>;\n description?: string;\n}\n\nconst SidePanelHeader = ({\n title,\n icon,\n actions = [],\n description,\n}: SidePanelHeaderProps) => {\n return (\n <div className={styles[\"side-panel-header\"]}>\n <Flex gap={3} justify=\"between\" align=\"center\">\n <Flex gap={3}>\n {icon}\n <Text size={5} weight={500}>\n {title}\n </Text>\n </Flex>\n <Flex gap={3}>\n {actions?.map((action, index) => (\n <React.Fragment key={index}>{action}</React.Fragment>\n ))}\n </Flex>\n </Flex>\n {description ? <Text size={2}>{description}</Text> : null}\n </div>\n );\n};\n\ninterface SidePanelSectionProps {\n children: React.ReactNode;\n}\n\nconst SidePanelSection = ({ children }: SidePanelSectionProps) => {\n return <div className={styles[\"side-panel-section\"]}>{children}</div>;\n};\n\nexport const SidePanel = Object.assign(SidePanelRoot, {\n Header: SidePanelHeader,\n Section: SidePanelSection,\n});\n"],"names":["cva","styles","_jsx","_jsxs","Flex","Text"],"mappings":";;;;;;;;;AAOA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A,QAAA,EAAc,MAAM,EAAA,EAAd,KAAK,CAA2B,CACtD,CAAC,EAAA,CACG,IACF,EACN,WAAW,GAAGA,gCAAC,CAAAG,SAAI,EAAC,EAAA,IAAI,EAAE,CAAC,EAAA,QAAA,EAAG,WAAW,EAAQ,CAAA,GAAG,IAAI,CACrD,EAAA,CAAA,EACN;AACJ,CAAC,CAAC;AAMF,MAAM,gBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAyB,KAAI;IAC/D,OAAOH,gCAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAED,wBAAM,CAAC,oBAAoB,CAAC,EAAA,QAAA,EAAG,QAAQ,EAAA,CAAO,CAAC;AACxE,CAAC,CAAC;MAEW,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE;AACpD,IAAA,MAAM,EAAE,eAAe;AACvB,IAAA,OAAO,EAAE,gBAAgB;AAC1B,CAAA;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const sidePanelRoot: (props?: ({
|
|
4
|
+
side?: "right" | "left" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
+
interface SidePanelProps extends VariantProps<typeof sidePanelRoot> {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
interface SidePanelHeaderProps {
|
|
11
|
+
title: string;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
actions?: Array<React.ReactNode>;
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
interface SidePanelSectionProps {
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const SidePanel: (({ children, side, className, }: SidePanelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
20
|
+
Header: ({ title, icon, actions, description, }: SidePanelHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
Section: ({ children }: SidePanelSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=side-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side-panel.d.ts","sourceRoot":"","sources":["../../../../v1/components/side-panel/side-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,aAAa;;mFAUjB,CAAC;AAEH,UAAU,cAAe,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA4BD,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAMD,eAAO,MAAM,SAAS,oCA/CnB,cAAc;qDAkBd,oBAAoB;4BAyBiB,qBAAqB;CAO3D,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
+
import React__default from 'react';
|
|
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 './side-panel.module.css.js';
|
|
5
|
+
import { Flex } from '../flex/flex.js';
|
|
6
|
+
import { Text } from '../text/text.js';
|
|
7
|
+
|
|
8
|
+
const sidePanelRoot = cva(styles["side-panel"], {
|
|
9
|
+
variants: {
|
|
10
|
+
side: {
|
|
11
|
+
left: styles["side-panel-left"],
|
|
12
|
+
right: styles["side-panel-right"],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
side: "right",
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
const SidePanelRoot = ({ children, side = "right", className, }) => {
|
|
20
|
+
return (jsxRuntimeExports.jsx("aside", { className: sidePanelRoot({ side, className }), children: children }));
|
|
21
|
+
};
|
|
22
|
+
const SidePanelHeader = ({ title, icon, actions = [], description, }) => {
|
|
23
|
+
return (jsxRuntimeExports.jsxs("div", { className: styles["side-panel-header"], children: [jsxRuntimeExports.jsxs(Flex, { gap: 3, justify: "between", align: "center", children: [jsxRuntimeExports.jsxs(Flex, { gap: 3, children: [icon, jsxRuntimeExports.jsx(Text, { size: 5, weight: 500, children: title })] }), jsxRuntimeExports.jsx(Flex, { gap: 3, children: actions?.map((action, index) => (jsxRuntimeExports.jsx(React__default.Fragment, { children: action }, index))) })] }), description ? jsxRuntimeExports.jsx(Text, { size: 2, children: description }) : null] }));
|
|
24
|
+
};
|
|
25
|
+
const SidePanelSection = ({ children }) => {
|
|
26
|
+
return jsxRuntimeExports.jsx("div", { className: styles["side-panel-section"], children: children });
|
|
27
|
+
};
|
|
28
|
+
const SidePanel = Object.assign(SidePanelRoot, {
|
|
29
|
+
Header: SidePanelHeader,
|
|
30
|
+
Section: SidePanelSection,
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export { SidePanel };
|
|
34
|
+
//# sourceMappingURL=side-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side-panel.js","sources":["../../../../v1/components/side-panel/side-panel.tsx"],"sourcesContent":["import React from \"react\";\nimport { VariantProps, cva } from \"class-variance-authority\";\n\nimport styles from \"./side-panel.module.css\";\nimport { Flex } from \"../flex\";\nimport { Text } from \"../text\";\n\nconst sidePanelRoot = cva(styles[\"side-panel\"], {\n variants: {\n side: {\n left: styles[\"side-panel-left\"],\n right: styles[\"side-panel-right\"],\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\ninterface SidePanelProps extends VariantProps<typeof sidePanelRoot> {\n children: React.ReactNode;\n className?: string;\n}\n\nconst SidePanelRoot = ({\n children,\n side = \"right\",\n className,\n}: SidePanelProps) => {\n return (\n <aside className={sidePanelRoot({ side, className })}>{children}</aside>\n );\n};\n\ninterface SidePanelHeaderProps {\n title: string;\n icon?: React.ReactNode;\n actions?: Array<React.ReactNode>;\n description?: string;\n}\n\nconst SidePanelHeader = ({\n title,\n icon,\n actions = [],\n description,\n}: SidePanelHeaderProps) => {\n return (\n <div className={styles[\"side-panel-header\"]}>\n <Flex gap={3} justify=\"between\" align=\"center\">\n <Flex gap={3}>\n {icon}\n <Text size={5} weight={500}>\n {title}\n </Text>\n </Flex>\n <Flex gap={3}>\n {actions?.map((action, index) => (\n <React.Fragment key={index}>{action}</React.Fragment>\n ))}\n </Flex>\n </Flex>\n {description ? <Text size={2}>{description}</Text> : null}\n </div>\n );\n};\n\ninterface SidePanelSectionProps {\n children: React.ReactNode;\n}\n\nconst SidePanelSection = ({ children }: SidePanelSectionProps) => {\n return <div className={styles[\"side-panel-section\"]}>{children}</div>;\n};\n\nexport const SidePanel = Object.assign(SidePanelRoot, {\n Header: SidePanelHeader,\n Section: SidePanelSection,\n});\n"],"names":["_jsx","_jsxs","React"],"mappings":";;;;;;;AAOA,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;AAC9C,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,IAAI,EAAE,MAAM,CAAC,iBAAiB,CAAC;AAC/B,YAAA,KAAK,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAClC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,OAAO;AACd,KAAA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A,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAA,QAAA,EAAG,QAAQ,EAAA,CAAO,CAAC;AACxE,CAAC,CAAC;MAEW,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE;AACpD,IAAA,MAAM,EAAE,eAAe;AACvB,IAAA,OAAO,EAAE,gBAAgB;AAC1B,CAAA;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {"side-panel":"side-panel-module_side-panel__c2HHP","side-panel-left":"side-panel-module_side-panel-left__nYNQQ","side-panel-right":"side-panel-module_side-panel-right__lk9BT","side-panel-header":"side-panel-module_side-panel-header__mh1aj","side-panel-section":"side-panel-module_side-panel-section__e43-m","side___panel":"side-panel-module_side-panel__c2HHP","side___panel___left":"side-panel-module_side-panel-left__nYNQQ","side___panel___right":"side-panel-module_side-panel-right__lk9BT","side___panel___header":"side-panel-module_side-panel-header__mh1aj","side___panel___section":"side-panel-module_side-panel-section__e43-m"};
|
|
6
|
+
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
//# sourceMappingURL=side-panel.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side-panel.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var styles = {"side-panel":"side-panel-module_side-panel__c2HHP","side-panel-left":"side-panel-module_side-panel-left__nYNQQ","side-panel-right":"side-panel-module_side-panel-right__lk9BT","side-panel-header":"side-panel-module_side-panel-header__mh1aj","side-panel-section":"side-panel-module_side-panel-section__e43-m","side___panel":"side-panel-module_side-panel__c2HHP","side___panel___left":"side-panel-module_side-panel-left__nYNQQ","side___panel___right":"side-panel-module_side-panel-right__lk9BT","side___panel___header":"side-panel-module_side-panel-header__mh1aj","side___panel___section":"side-panel-module_side-panel-section__e43-m"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
4
|
+
//# sourceMappingURL=side-panel.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side-panel.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,6 +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 reactIcons_esm = require('../../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');
|
|
5
|
+
var tooltip = require('../tooltip/tooltip.cjs');
|
|
4
6
|
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
5
7
|
var React = require('react');
|
|
6
8
|
var textArea_module = require('./text-area.module.css.cjs');
|
|
@@ -31,8 +33,8 @@ const textArea = index.cva(textArea_module.default.textarea, {
|
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
});
|
|
34
|
-
const TextArea = React__namespace.forwardRef(({ className, style, label, required, helperText, error, width = "200px", value, onChange, ...props }, ref) => {
|
|
35
|
-
return (jsxRuntime.jsxRuntimeExports.jsxs("div", { className: textArea_module.default.container, style: { width }, children: [label && (jsxRuntime.jsxRuntimeExports.jsxs("div", { className: textArea_module.default.labelContainer, children: [jsxRuntime.jsxRuntimeExports.jsx("label", { className: textArea_module.default.label, children: label }), !required && jsxRuntime.jsxRuntimeExports.jsx("span", { className: textArea_module.default.optional, children: "(optional)" })] })), jsxRuntime.jsxRuntimeExports.jsx("textarea", { className: index.cx(textArea({ error }), className), ref: ref, value: value, onChange: onChange, required: required, ...props }), helperText && jsxRuntime.jsxRuntimeExports.jsx("span", { className: textArea_module.default.helperText, children: helperText })] }));
|
|
36
|
+
const TextArea = React__namespace.forwardRef(({ className, style, label, required, infoTooltip, helperText, error, width = "200px", value, onChange, ...props }, ref) => {
|
|
37
|
+
return (jsxRuntime.jsxRuntimeExports.jsxs("div", { className: textArea_module.default.container, style: { width }, children: [label && (jsxRuntime.jsxRuntimeExports.jsxs("div", { className: textArea_module.default.labelContainer, children: [jsxRuntime.jsxRuntimeExports.jsx("label", { className: textArea_module.default.label, children: label }), !required && jsxRuntime.jsxRuntimeExports.jsx("span", { className: textArea_module.default.optional, children: "(optional)" }), infoTooltip && (jsxRuntime.jsxRuntimeExports.jsx(tooltip.Tooltip, { message: infoTooltip, side: "right", children: jsxRuntime.jsxRuntimeExports.jsx("span", { className: textArea_module.default.helpIcon, children: jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.InfoCircledIcon, {}) }) }))] })), jsxRuntime.jsxRuntimeExports.jsx("textarea", { className: index.cx(textArea({ error }), className), ref: ref, value: value, onChange: onChange, required: required, ...props }), helperText && jsxRuntime.jsxRuntimeExports.jsx("span", { className: textArea_module.default.helperText, children: helperText })] }));
|
|
36
38
|
});
|
|
37
39
|
TextArea.displayName = "TextArea";
|
|
38
40
|
|
|
@@ -1 +1 @@
|
|
|
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
|
|
1
|
+
{"version":3,"file":"text-area.cjs","sources":["../../../../v1/components/text-area/text-area.tsx"],"sourcesContent":["import { InfoCircledIcon } from \"@radix-ui/react-icons\";\nimport { Tooltip } from \"../tooltip\";\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 infoTooltip?: 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, infoTooltip, 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 {infoTooltip && (\n <Tooltip message={infoTooltip} side=\"right\">\n <span className={styles.helpIcon}>\n <InfoCircledIcon />\n </span>\n </Tooltip>\n )}\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","Tooltip","InfoCircledIcon","cx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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,UA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EAAM,SAAS,EAAEH,uBAAM,CAAC,UAAU,EAAA,QAAA,EAAG,UAAU,EAAA,CAAQ,CAClE,EAAA,CAAA,EACN;AACJ,CAAC,EACD;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU;;;;"}
|
|
@@ -7,6 +7,7 @@ declare const textArea: (props?: ({
|
|
|
7
7
|
export interface TextAreaProps extends PropsWithChildren<VariantProps<typeof textArea>>, HTMLAttributes<HTMLTextAreaElement> {
|
|
8
8
|
label?: string;
|
|
9
9
|
required?: boolean;
|
|
10
|
+
infoTooltip?: string;
|
|
10
11
|
helperText?: string;
|
|
11
12
|
error?: boolean;
|
|
12
13
|
width?: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../v1/components/text-area/text-area.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../v1/components/text-area/text-area.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1D,QAAA,MAAM,QAAQ;;mFAMZ,CAAC;AAEH,MAAM,WAAW,aAAc,SAAQ,iBAAiB,CAAC,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC,EACrF,cAAc,CAAC,mBAAmB,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CACpE;AAED,QAAA,MAAM,QAAQ,2FA+Bb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
+
import { InfoCircledIcon } from '../../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';
|
|
3
|
+
import { Tooltip } from '../tooltip/tooltip.js';
|
|
2
4
|
import { cx, cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
3
5
|
import * as React from 'react';
|
|
4
6
|
import styles from './text-area.module.css.js';
|
|
@@ -10,8 +12,8 @@ const textArea = cva(styles.textarea, {
|
|
|
10
12
|
}
|
|
11
13
|
}
|
|
12
14
|
});
|
|
13
|
-
const TextArea = React.forwardRef(({ className, style, label, required, helperText, error, width = "200px", value, onChange, ...props }, ref) => {
|
|
14
|
-
return (jsxRuntimeExports.jsxs("div", { className: styles.container, style: { width }, children: [label && (jsxRuntimeExports.jsxs("div", { className: styles.labelContainer, children: [jsxRuntimeExports.jsx("label", { className: styles.label, children: label }), !required && jsxRuntimeExports.jsx("span", { className: styles.optional, children: "(optional)" })] })), jsxRuntimeExports.jsx("textarea", { className: cx(textArea({ error }), className), ref: ref, value: value, onChange: onChange, required: required, ...props }), helperText && jsxRuntimeExports.jsx("span", { className: styles.helperText, children: helperText })] }));
|
|
15
|
+
const TextArea = React.forwardRef(({ className, style, label, required, infoTooltip, helperText, error, width = "200px", value, onChange, ...props }, ref) => {
|
|
16
|
+
return (jsxRuntimeExports.jsxs("div", { className: styles.container, style: { width }, children: [label && (jsxRuntimeExports.jsxs("div", { className: styles.labelContainer, children: [jsxRuntimeExports.jsx("label", { className: styles.label, children: label }), !required && jsxRuntimeExports.jsx("span", { className: styles.optional, children: "(optional)" }), infoTooltip && (jsxRuntimeExports.jsx(Tooltip, { message: infoTooltip, side: "right", children: jsxRuntimeExports.jsx("span", { className: styles.helpIcon, children: jsxRuntimeExports.jsx(InfoCircledIcon, {}) }) }))] })), jsxRuntimeExports.jsx("textarea", { className: cx(textArea({ error }), className), ref: ref, value: value, onChange: onChange, required: required, ...props }), helperText && jsxRuntimeExports.jsx("span", { className: styles.helperText, children: helperText })] }));
|
|
15
17
|
});
|
|
16
18
|
TextArea.displayName = "TextArea";
|
|
17
19
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.js","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
|
|
1
|
+
{"version":3,"file":"text-area.js","sources":["../../../../v1/components/text-area/text-area.tsx"],"sourcesContent":["import { InfoCircledIcon } from \"@radix-ui/react-icons\";\nimport { Tooltip } from \"../tooltip\";\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 infoTooltip?: 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, infoTooltip, 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 {infoTooltip && (\n <Tooltip message={infoTooltip} side=\"right\">\n <span className={styles.helpIcon}>\n <InfoCircledIcon />\n </span>\n </Tooltip>\n )}\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":["_jsxs","_jsx"],"mappings":";;;;;;;AAQA,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE;AACpC,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE;YACL,IAAI,EAAE,MAAM,CAAC,KAAK;AACnB,SAAA;AACF,KAAA;AACF,CAAA,CAAC,CAAC;AAcH,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;IACzH,QACEA,sBAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAC/C,QAAA,EAAA,CAAA,KAAK,KACJA,sBAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,cAAc,EACnC,QAAA,EAAA,CAAAC,qBAAA,CAAA,OAAA,EAAA,EAAO,SAAS,EAAE,MAAM,CAAC,KAAK,EAAA,QAAA,EAC3B,KAAK,EAAA,CACA,EACP,CAAC,QAAQ,IAAIA,qBAAM,CAAA,MAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAmB,QAAA,EAAA,YAAA,EAAA,CAAA,EAChE,WAAW,KACVA,qBAAA,CAAC,OAAO,EAAA,EAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAC,OAAO,EAAA,QAAA,EACzCA,qBAAM,CAAA,MAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAA,QAAA,EAC9BA,qBAAC,CAAA,eAAe,EAAG,EAAA,CAAA,EAAA,CACd,EACC,CAAA,CACX,CACG,EAAA,CAAA,CACP,EACDA,qBAAA,CAAA,UAAA,EAAA,EACE,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,EAC7C,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAAA,GACd,KAAK,EAAA,CACT,EACD,UAAU,IAAIA,qBAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAE,MAAM,CAAC,UAAU,EAAA,QAAA,EAAG,UAAU,EAAA,CAAQ,CAClE,EAAA,CAAA,EACN;AACJ,CAAC,EACD;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.cjs","sources":["../../../../v1/components/tooltip/tooltip.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"tooltip.cjs","sources":["../../../../v1/components/tooltip/tooltip.tsx"],"sourcesContent":["import * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport clsx from \"clsx\";\nimport React from \"react\";\n\nimport { Text } from \"../text\";\nimport styles from \"./tooltip.module.css\";\n\nconst tooltip = cva(styles.content, {\n variants: {\n side: {\n top: styles[\"side-top\"],\n right: styles[\"side-right\"],\n bottom: styles[\"side-bottom\"],\n left: styles[\"side-left\"],\n \"top-left\": styles[\"side-top-left\"],\n \"top-right\": styles[\"side-top-right\"],\n \"bottom-left\": styles[\"side-bottom-left\"],\n \"bottom-right\": styles[\"side-bottom-right\"],\n }\n },\n defaultVariants: {\n side: \"top\"\n }\n});\n\ninterface TooltipProps extends VariantProps<typeof tooltip> {\n disabled?: boolean;\n children: React.ReactNode;\n message: React.ReactNode;\n classNames?: {\n trigger?: string;\n content?: string;\n arrow?: string;\n };\n triggerStyle?: React.CSSProperties;\n contentStyle?: React.CSSProperties;\n delayDuration?: number;\n skipDelayDuration?: number;\n 'aria-label'?: string;\n asChild?: boolean;\n showArrow?: boolean;\n}\n\nexport const Tooltip: React.FC<TooltipProps> = ({\n children,\n message,\n disabled,\n side = \"top\",\n classNames,\n triggerStyle,\n contentStyle,\n delayDuration = 200,\n skipDelayDuration = 200,\n 'aria-label': ariaLabel,\n asChild = true,\n showArrow = true,\n}) => {\n return disabled ? (\n children\n ) : (\n <TooltipPrimitive.Provider delayDuration={delayDuration} skipDelayDuration={skipDelayDuration}>\n <TooltipPrimitive.Root>\n <TooltipPrimitive.Trigger \n aria-describedby=\"tooltip\" \n asChild={asChild}\n >\n <div className={clsx(styles.trigger, classNames?.trigger ?? \"\")} style={triggerStyle}>\n {children}\n </div>\n </TooltipPrimitive.Trigger>\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n id=\"tooltip\"\n role=\"tooltip\"\n aria-label={ariaLabel || (typeof message === 'string' ? message : undefined)}\n side={side?.split('-')[0] as TooltipPrimitive.TooltipContentProps['side'] || 'top'}\n align={(side?.includes('-') ? (side.split('-')[1] === 'left' ? 'start' : 'end') : 'center') satisfies 'start' | 'end' | 'center'}\n sideOffset={4}\n className={tooltip({ side, className: classNames?.content })}\n style={contentStyle}\n >\n {typeof message === \"string\" ? (\n <Text>{message}</Text>\n ) : (\n message\n )}\n {showArrow && (\n <TooltipPrimitive.Arrow \n className={clsx(styles.arrow, classNames?.arrow)} \n width={12} \n height={6} \n />\n )}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n </TooltipPrimitive.Root>\n </TooltipPrimitive.Provider>\n );\n};\n\nTooltip.displayName = 'Tooltip';\n\nexport const TooltipProvider = TooltipPrimitive.Provider;\n"],"names":["cva","styles","_jsx","TooltipPrimitive.Provider","_jsxs","TooltipPrimitive.Root","TooltipPrimitive.Trigger","clsx","TooltipPrimitive.Portal","TooltipPrimitive.Content","Text","TooltipPrimitive.Arrow"],"mappings":";;;;;;;;;AAQA,MAAM,OAAO,GAAGA,WAAG,CAACC,sBAAM,CAAC,OAAO,EAAE;AAClC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,GAAG,EAAEA,sBAAM,CAAC,UAAU,CAAC;AACvB,YAAA,KAAK,EAAEA,sBAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAEA,sBAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,IAAI,EAAEA,sBAAM,CAAC,WAAW,CAAC;AACzB,YAAA,UAAU,EAAEA,sBAAM,CAAC,eAAe,CAAC;AACnC,YAAA,WAAW,EAAEA,sBAAM,CAAC,gBAAgB,CAAC;AACrC,YAAA,aAAa,EAAEA,sBAAM,CAAC,kBAAkB,CAAC;AACzC,YAAA,cAAc,EAAEA,sBAAM,CAAC,mBAAmB,CAAC;AAC5C,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,KAAK;AACZ,KAAA;AACF,CAAA,CAAC,CAAC;AAoBU,MAAA,OAAO,GAA2B,CAAC,EAC9C,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,IAAI,GAAG,KAAK,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,aAAa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K,QAAQ,IAC1BP,gCAAA,CAACQ,SAAI,EAAA,EAAA,QAAA,EAAE,OAAO,EAAA,CAAQ,KAEtB,OAAO,CACR,EACA,SAAS,KACRR,gCAAC,CAAAS,WAAsB,IACrB,SAAS,EAAEJ,SAAI,CAACN,sBAAM,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,EAChD,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,CAAC,EAAA,CACT,CACH,CAAA,EAAA,CACwB,EACH,CAAA,CAAA,EAAA,CACJ,EACE,CAAA,CAC7B,CAAC;AACJ,EAAE;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEnB,MAAA,eAAe,GAAGE;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import React from "react";
|
|
4
4
|
declare const tooltip: (props?: ({
|
|
5
5
|
side?: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../v1/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../v1/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,QAAA,MAAM,OAAO;;mFAgBX,CAAC;AAEH,UAAU,YAAa,SAAQ,YAAY,CAAC,OAAO,OAAO,CAAC;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAuD1C,CAAC;AAIF,eAAO,MAAM,eAAe,iDAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sources":["../../../../v1/components/tooltip/tooltip.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"tooltip.js","sources":["../../../../v1/components/tooltip/tooltip.tsx"],"sourcesContent":["import * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport clsx from \"clsx\";\nimport React from \"react\";\n\nimport { Text } from \"../text\";\nimport styles from \"./tooltip.module.css\";\n\nconst tooltip = cva(styles.content, {\n variants: {\n side: {\n top: styles[\"side-top\"],\n right: styles[\"side-right\"],\n bottom: styles[\"side-bottom\"],\n left: styles[\"side-left\"],\n \"top-left\": styles[\"side-top-left\"],\n \"top-right\": styles[\"side-top-right\"],\n \"bottom-left\": styles[\"side-bottom-left\"],\n \"bottom-right\": styles[\"side-bottom-right\"],\n }\n },\n defaultVariants: {\n side: \"top\"\n }\n});\n\ninterface TooltipProps extends VariantProps<typeof tooltip> {\n disabled?: boolean;\n children: React.ReactNode;\n message: React.ReactNode;\n classNames?: {\n trigger?: string;\n content?: string;\n arrow?: string;\n };\n triggerStyle?: React.CSSProperties;\n contentStyle?: React.CSSProperties;\n delayDuration?: number;\n skipDelayDuration?: number;\n 'aria-label'?: string;\n asChild?: boolean;\n showArrow?: boolean;\n}\n\nexport const Tooltip: React.FC<TooltipProps> = ({\n children,\n message,\n disabled,\n side = \"top\",\n classNames,\n triggerStyle,\n contentStyle,\n delayDuration = 200,\n skipDelayDuration = 200,\n 'aria-label': ariaLabel,\n asChild = true,\n showArrow = true,\n}) => {\n return disabled ? (\n children\n ) : (\n <TooltipPrimitive.Provider delayDuration={delayDuration} skipDelayDuration={skipDelayDuration}>\n <TooltipPrimitive.Root>\n <TooltipPrimitive.Trigger \n aria-describedby=\"tooltip\" \n asChild={asChild}\n >\n <div className={clsx(styles.trigger, classNames?.trigger ?? \"\")} style={triggerStyle}>\n {children}\n </div>\n </TooltipPrimitive.Trigger>\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n id=\"tooltip\"\n role=\"tooltip\"\n aria-label={ariaLabel || (typeof message === 'string' ? message : undefined)}\n side={side?.split('-')[0] as TooltipPrimitive.TooltipContentProps['side'] || 'top'}\n align={(side?.includes('-') ? (side.split('-')[1] === 'left' ? 'start' : 'end') : 'center') satisfies 'start' | 'end' | 'center'}\n sideOffset={4}\n className={tooltip({ side, className: classNames?.content })}\n style={contentStyle}\n >\n {typeof message === \"string\" ? (\n <Text>{message}</Text>\n ) : (\n message\n )}\n {showArrow && (\n <TooltipPrimitive.Arrow \n className={clsx(styles.arrow, classNames?.arrow)} \n width={12} \n height={6} \n />\n )}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n </TooltipPrimitive.Root>\n </TooltipPrimitive.Provider>\n );\n};\n\nTooltip.displayName = 'Tooltip';\n\nexport const TooltipProvider = TooltipPrimitive.Provider;\n"],"names":["_jsx","TooltipPrimitive.Provider","_jsxs","TooltipPrimitive.Root","TooltipPrimitive.Trigger","TooltipPrimitive.Portal","TooltipPrimitive.Content","TooltipPrimitive.Arrow"],"mappings":";;;;;;;AAQA,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;AAClC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;AACvB,YAAA,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC;AACzB,YAAA,UAAU,EAAE,MAAM,CAAC,eAAe,CAAC;AACnC,YAAA,WAAW,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACrC,YAAA,aAAa,EAAE,MAAM,CAAC,kBAAkB,CAAC;AACzC,YAAA,cAAc,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC5C,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,KAAK;AACZ,KAAA;AACF,CAAA,CAAC,CAAC;AAoBU,MAAA,OAAO,GAA2B,CAAC,EAC9C,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,IAAI,GAAG,KAAK,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,aAAa,GAAG,GAAG,EACnB,iBAAiB,GAAG,GAAG,EACvB,YAAY,EAAE,SAAS,EACvB,OAAO,GAAG,IAAI,EACd,SAAS,GAAG,IAAI,GACjB,KAAI;IACH,OAAO,QAAQ,IACb,QAAQ,KAERA,qBAAA,CAACC,yCAAyB,EAAC,EAAA,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAC3F,QAAA,EAAAC,sBAAA,CAACC,yCAAqB,EACpB,EAAA,QAAA,EAAA,CAAAH,qBAAA,CAACI,yCAAwB,EAAA,EAAA,k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AAC;AACJ,EAAE;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEnB,MAAA,eAAe,GAAGN;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v1/hooks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var react = require('react');
|
|
4
|
+
|
|
5
|
+
const useCopyToClipboard = () => {
|
|
6
|
+
const [copiedText, setCopiedText] = react.useState("");
|
|
7
|
+
const copy = async (text) => {
|
|
8
|
+
if (!navigator?.clipboard) {
|
|
9
|
+
console.warn("Clipboard not supported");
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
// Try to save to clipboard then save it in the state if worked
|
|
13
|
+
try {
|
|
14
|
+
await navigator.clipboard.writeText(text);
|
|
15
|
+
setCopiedText(text);
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
catch (error) {
|
|
19
|
+
console.warn("Copy failed", error);
|
|
20
|
+
setCopiedText("");
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
return { copiedText, copy };
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
exports.useCopyToClipboard = useCopyToClipboard;
|
|
28
|
+
//# sourceMappingURL=useCopyToClipboard.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCopyToClipboard.cjs","sources":["../../../v1/hooks/useCopyToClipboard.tsx"],"sourcesContent":["import { useState } from \"react\";\n\ntype CopyFn = (text: string) => Promise<boolean>; // Return success\n\nexport const useCopyToClipboard = () => {\n const [copiedText, setCopiedText] = useState(\"\");\n\n const copy: CopyFn = async (text) => {\n if (!navigator?.clipboard) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n\n // Try to save to clipboard then save it in the state if worked\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(\"\");\n return false;\n }\n };\n\n return { copiedText, copy };\n};\n"],"names":["useState"],"mappings":";;;;AAIO,MAAM,kBAAkB,GAAG,MAAK;IACrC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAGA,cAAQ,CAAC,EAAE,CAAC,CAAC;AAEjD,IAAA,MAAM,IAAI,GAAW,OAAO,IAAI,KAAI;AAClC,QAAA,IAAI,CAAC,SAAS,EAAE,SAAS,EAAE;AACzB,YAAA,OAAO,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AACxC,YAAA,OAAO,KAAK,CAAC;SACd;;AAGD,QAAA,IAAI;YACF,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAC1C,aAAa,CAAC,IAAI,CAAC,CAAC;AACpB,YAAA,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;YACnC,aAAa,CAAC,EAAE,CAAC,CAAC;AAClB,YAAA,OAAO,KAAK,CAAC;SACd;AACH,KAAC,CAAC;AAEF,IAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;AAC9B;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCopyToClipboard.d.ts","sourceRoot":"","sources":["../../../v1/hooks/useCopyToClipboard.tsx"],"names":[],"mappings":"AAEA,KAAK,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEjD,eAAO,MAAM,kBAAkB;;;CAsB9B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
|
|
3
|
+
const useCopyToClipboard = () => {
|
|
4
|
+
const [copiedText, setCopiedText] = useState("");
|
|
5
|
+
const copy = async (text) => {
|
|
6
|
+
if (!navigator?.clipboard) {
|
|
7
|
+
console.warn("Clipboard not supported");
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
// Try to save to clipboard then save it in the state if worked
|
|
11
|
+
try {
|
|
12
|
+
await navigator.clipboard.writeText(text);
|
|
13
|
+
setCopiedText(text);
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
catch (error) {
|
|
17
|
+
console.warn("Copy failed", error);
|
|
18
|
+
setCopiedText("");
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
return { copiedText, copy };
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { useCopyToClipboard };
|
|
26
|
+
//# sourceMappingURL=useCopyToClipboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCopyToClipboard.js","sources":["../../../v1/hooks/useCopyToClipboard.tsx"],"sourcesContent":["import { useState } from \"react\";\n\ntype CopyFn = (text: string) => Promise<boolean>; // Return success\n\nexport const useCopyToClipboard = () => {\n const [copiedText, setCopiedText] = useState(\"\");\n\n const copy: CopyFn = async (text) => {\n if (!navigator?.clipboard) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n\n // Try to save to clipboard then save it in the state if worked\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(\"\");\n return false;\n }\n };\n\n return { copiedText, copy };\n};\n"],"names":[],"mappings":";;AAIO,MAAM,kBAAkB,GAAG,MAAK;IACrC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAEjD,IAAA,MAAM,IAAI,GAAW,OAAO,IAAI,KAAI;AAClC,QAAA,IAAI,CAAC,SAAS,EAAE,SAAS,EAAE;AACzB,YAAA,OAAO,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AACxC,YAAA,OAAO,KAAK,CAAC;SACd;;AAGD,QAAA,IAAI;YACF,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAC1C,aAAa,CAAC,IAAI,CAAC,CAAC;AACpB,YAAA,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;YACnC,aAAa,CAAC,EAAE,CAAC,CAAC;AAClB,YAAA,OAAO,KAAK,CAAC;SACd;AACH,KAAC,CAAC;AAEF,IAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;AAC9B;;;;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
var n = Object.create(null);
|
|
7
|
+
if (e) {
|
|
8
|
+
Object.keys(e).forEach(function (k) {
|
|
9
|
+
if (k !== 'default') {
|
|
10
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return e[k]; }
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
23
|
+
|
|
24
|
+
var _circle, _path;
|
|
25
|
+
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); }
|
|
26
|
+
var SvgCheckCircleFilled = function SvgCheckCircleFilled(props) {
|
|
27
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
fill: "none",
|
|
30
|
+
viewBox: "0 0 16 16"
|
|
31
|
+
}, props), _circle || (_circle = /*#__PURE__*/React__namespace.createElement("circle", {
|
|
32
|
+
cx: 8,
|
|
33
|
+
cy: 8,
|
|
34
|
+
r: 6,
|
|
35
|
+
fill: "#FCFCFC"
|
|
36
|
+
})), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
37
|
+
fill: "currentColor",
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
d: "M1.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0m8.907-1.21a.5.5 0 1 0-.814-.58L7.436 9.23 6.353 8.146a.5.5 0 0 0-.706.706l1.5 1.5a.5.5 0 0 0 .76-.062z",
|
|
40
|
+
clipRule: "evenodd"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
exports.ReactComponent = SvgCheckCircleFilled;
|
|
45
|
+
//# sourceMappingURL=check-circle-filled.svg.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-circle-filled.svg.cjs","sources":["../../../../v1/icons/assets/check-circle-filled.svg"],"sourcesContent":["var img = \"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg id='Check circle'%3e %3ccircle id='Ellipse 368' cx='8' cy='8' r='6' fill='%23FCFCFC' /%3e %3cpath id='Vector' fill-rule='evenodd' clip-rule='evenodd' d='M1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM10.4067 6.79067C10.4467 6.73737 10.4756 6.67661 10.4918 6.61197C10.508 6.54732 10.5111 6.48009 10.5009 6.41424C10.4907 6.34838 10.4675 6.28522 10.4326 6.22847C10.3976 6.17171 10.3517 6.12252 10.2975 6.08377C10.2433 6.04502 10.1819 6.0175 10.1169 6.00282C10.0519 5.98814 9.98459 5.98661 9.91899 5.99831C9.85338 6.01001 9.79078 6.0347 9.73485 6.07094C9.67893 6.10718 9.63081 6.15423 9.59333 6.20933L7.436 9.22933L6.35333 8.14667C6.25855 8.05835 6.13319 8.01026 6.00365 8.01255C5.87412 8.01484 5.75053 8.06731 5.65892 8.15892C5.56731 8.25053 5.51484 8.37412 5.51255 8.50365C5.51026 8.63319 5.55835 8.75855 5.64667 8.85333L7.14667 10.3533C7.19799 10.4046 7.25987 10.4441 7.32799 10.4691C7.39612 10.4941 7.46886 10.5039 7.54118 10.498C7.61349 10.492 7.68364 10.4704 7.74675 10.4346C7.80987 10.3988 7.86443 10.3497 7.90667 10.2907L10.4067 6.79067Z' fill='currentColor' /%3e %3c/g%3e%3c/svg%3e\";\n export default img;"],"names":["React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,SAAS,QAAQ,GAAG,EAAE,OAAO,QAAQ,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,UAAU,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,EAAE;AAEjR,IAAC,oBAAoB,GAAG,SAAS,oBAAoB,CAAC,KAAK,EAAE;AAChE,EAAE,oBAAoBA,gBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC1D,IAAI,KAAK,EAAE,4BAA4B;AACvC,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,WAAW;AACxB,GAAG,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,gBAAgBA,gBAAK,CAAC,aAAa,CAAC,QAAQ,EAAE;AAC9E,IAAI,EAAE,EAAE,CAAC;AACT,IAAI,EAAE,EAAE,CAAC;AACT,IAAI,CAAC,EAAE,CAAC;AACR,IAAI,IAAI,EAAE,SAAS;AACnB,GAAG,CAAC,CAAC,EAAE,KAAK,KAAK,KAAK,gBAAgBA,gBAAK,CAAC,aAAa,CAAC,MAAM,EAAE;AAClE,IAAI,IAAI,EAAE,cAAc;AACxB,IAAI,QAAQ,EAAE,SAAS;AACvB,IAAI,CAAC,EAAE,qJAAqJ;AAC5J,IAAI,QAAQ,EAAE,SAAS;AACvB,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _circle, _path;
|
|
4
|
+
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); }
|
|
5
|
+
var SvgCheckCircleFilled = function SvgCheckCircleFilled(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 16 16"
|
|
10
|
+
}, props), _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
|
|
11
|
+
cx: 8,
|
|
12
|
+
cy: 8,
|
|
13
|
+
r: 6,
|
|
14
|
+
fill: "#FCFCFC"
|
|
15
|
+
})), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
d: "M1.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0m8.907-1.21a.5.5 0 1 0-.814-.58L7.436 9.23 6.353 8.146a.5.5 0 0 0-.706.706l1.5 1.5a.5.5 0 0 0 .76-.062z",
|
|
19
|
+
clipRule: "evenodd"
|
|
20
|
+
})));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { SvgCheckCircleFilled as ReactComponent };
|
|
24
|
+
//# sourceMappingURL=check-circle-filled.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-circle-filled.svg.js","sources":["../../../../v1/icons/assets/check-circle-filled.svg"],"sourcesContent":["var img = \"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg id='Check circle'%3e %3ccircle id='Ellipse 368' cx='8' cy='8' r='6' fill='%23FCFCFC' /%3e %3cpath id='Vector' fill-rule='evenodd' clip-rule='evenodd' d='M1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM10.4067 6.79067C10.4467 6.73737 10.4756 6.67661 10.4918 6.61197C10.508 6.54732 10.5111 6.48009 10.5009 6.41424C10.4907 6.34838 10.4675 6.28522 10.4326 6.22847C10.3976 6.17171 10.3517 6.12252 10.2975 6.08377C10.2433 6.04502 10.1819 6.0175 10.1169 6.00282C10.0519 5.98814 9.98459 5.98661 9.91899 5.99831C9.85338 6.01001 9.79078 6.0347 9.73485 6.07094C9.67893 6.10718 9.63081 6.15423 9.59333 6.20933L7.436 9.22933L6.35333 8.14667C6.25855 8.05835 6.13319 8.01026 6.00365 8.01255C5.87412 8.01484 5.75053 8.06731 5.65892 8.15892C5.56731 8.25053 5.51484 8.37412 5.51255 8.50365C5.51026 8.63319 5.55835 8.75855 5.64667 8.85333L7.14667 10.3533C7.19799 10.4046 7.25987 10.4441 7.32799 10.4691C7.39612 10.4941 7.46886 10.5039 7.54118 10.498C7.61349 10.492 7.68364 10.4704 7.74675 10.4346C7.80987 10.3988 7.86443 10.3497 7.90667 10.2907L10.4067 6.79067Z' fill='currentColor' /%3e %3c/g%3e%3c/svg%3e\";\n export default img;"],"names":[],"mappings":";;AAAA,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,SAAS,QAAQ,GAAG,EAAE,OAAO,QAAQ,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,UAAU,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,EAAE;AAEjR,IAAC,oBAAoB,GAAG,SAAS,oBAAoB,CAAC,KAAK,EAAE;AAChE,EAAE,oBAAoB,KAAK,CAAC,aAAa,CAAC,KA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