softable-pixels-web 1.1.31 → 1.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/{Breadcrumb-DCx_3Gei.js → Breadcrumb-BLu27RXT.js} +2 -2
  2. package/dist/{Breadcrumb-DCx_3Gei.js.map → Breadcrumb-BLu27RXT.js.map} +1 -1
  3. package/dist/{Button-BIvpHJtO.js → Button-BVxsixz_.js} +2 -50
  4. package/dist/Button-BVxsixz_.js.map +1 -0
  5. package/dist/{IconButton-iiLQQcYQ.js → IconButton-BUBVowPJ.js} +1 -1
  6. package/dist/{IconButton-iiLQQcYQ.js.map → IconButton-BUBVowPJ.js.map} +1 -1
  7. package/dist/{Input-hznFa6IM.js → Input-Cxr_P2wz.js} +2 -2
  8. package/dist/{Input-hznFa6IM.js.map → Input-Cxr_P2wz.js.map} +1 -1
  9. package/dist/Loader-CmESHuyP.js +55 -0
  10. package/dist/Loader-CmESHuyP.js.map +1 -0
  11. package/dist/{MaskModule-Msq9W67y.js → MaskModule-eB4lPBKt.js} +1 -1
  12. package/dist/{MaskModule-Msq9W67y.js.map → MaskModule-eB4lPBKt.js.map} +1 -1
  13. package/dist/{Select-Bvq9Xdgv.js → Select-DzahPXcJ.js} +11 -6
  14. package/dist/Select-DzahPXcJ.js.map +1 -0
  15. package/dist/{Skeleton-D0DopfRg.js → Skeleton-BPFVMk3-.js} +1 -1
  16. package/dist/{Skeleton-D0DopfRg.js.map → Skeleton-BPFVMk3-.js.map} +1 -1
  17. package/dist/{TextArea-CdJ_LEke.js → TextArea-B0QQy0U5.js} +1 -1
  18. package/dist/{TextArea-CdJ_LEke.js.map → TextArea-B0QQy0U5.js.map} +1 -1
  19. package/dist/base-popover.d.ts +3 -3
  20. package/dist/breadcrumb.d.ts +1 -1
  21. package/dist/breadcrumb.js +2 -2
  22. package/dist/button.d.ts +2 -2
  23. package/dist/button.js +2 -1
  24. package/dist/check-item.d.ts +1 -1
  25. package/dist/checkbox.d.ts +2 -2
  26. package/dist/chip-list.d.ts +1 -1
  27. package/dist/chip.d.ts +1 -1
  28. package/dist/context-menu.d.ts +1 -1
  29. package/dist/icon-button.d.ts +1 -1
  30. package/dist/icon-button.js +1 -1
  31. package/dist/{index-B7FPiP1T.d.ts → index-7XwQGvrk.d.ts} +2 -2
  32. package/dist/{index-CuNXel3a.d.ts → index-B2PIaNMu.d.ts} +2 -2
  33. package/dist/{index-yD8AFwqR.d.ts → index-BQpj6_SN.d.ts} +3 -3
  34. package/dist/{index-d_2Cjz1T.d.ts → index-BS68Mp68.d.ts} +7 -6
  35. package/dist/{index-CrKxTYgR.d.ts → index-BfVdqarn.d.ts} +2 -2
  36. package/dist/{index-D8phtbEN.d.ts → index-BsTs8mui.d.ts} +1 -1
  37. package/dist/{index-CJHsyNfq.d.ts → index-C86jTuzO.d.ts} +2 -2
  38. package/dist/{index-Cs-WJgro.d.ts → index-CBppDr5R.d.ts} +1 -1
  39. package/dist/{index-CzTlwSA6.d.ts → index-Cb_tkhK8.d.ts} +1 -1
  40. package/dist/{index-zAekwBhQ.d.ts → index-CdTCwpWl.d.ts} +2 -2
  41. package/dist/{index-z_-twWT-.d.ts → index-DR6lOsN7.d.ts} +2 -2
  42. package/dist/{index-B9F6s4M6.d.ts → index-DTWpYpA9.d.ts} +4 -4
  43. package/dist/{index-B9eik20w.d.ts → index-DaxLlCt_.d.ts} +2 -2
  44. package/dist/{index-CfJRp6Z5.d.ts → index-DsuLq-mw.d.ts} +1 -1
  45. package/dist/{index-C4JS9PSn.d.ts → index-DuwmDJgm.d.ts} +4 -4
  46. package/dist/{index-CFojep1-.d.ts → index-W18JT5Ey.d.ts} +2 -2
  47. package/dist/{index-DCRi1D3M.d.ts → index-pb46GNxT.d.ts} +1 -1
  48. package/dist/index.d.ts +20 -20
  49. package/dist/index.js +9 -8
  50. package/dist/input.d.ts +1 -1
  51. package/dist/input.js +2 -2
  52. package/dist/mask-modules.d.ts +1 -1
  53. package/dist/mask-modules.js +1 -1
  54. package/dist/popover.d.ts +2 -2
  55. package/dist/select.d.ts +2 -2
  56. package/dist/select.js +2 -1
  57. package/dist/skeleton.d.ts +1 -1
  58. package/dist/skeleton.js +1 -1
  59. package/dist/{styleProps-9dCJTnWO.d.ts → styleProps-CntgA2bz.d.ts} +1 -1
  60. package/dist/switch.d.ts +1 -1
  61. package/dist/tab-switch.d.ts +1 -1
  62. package/dist/text-area.d.ts +1 -1
  63. package/dist/text-area.js +1 -1
  64. package/dist/theme-context.d.ts +1 -1
  65. package/dist/{types-mUSoybMc.d.ts → types-DZ6gPTYT.d.ts} +3 -3
  66. package/dist/{types-gPgzbDxA.d.ts → types-DxP32BlE.d.ts} +1 -1
  67. package/dist/{types-ByiN1FkJ.d.ts → types-FwxL7aW5.d.ts} +1 -1
  68. package/dist/{types-X5cadzGX.d.ts → types-NSbCuvRr.d.ts} +3 -3
  69. package/dist/typography.d.ts +1 -1
  70. package/dist/use-floating.d.ts +1 -1
  71. package/dist/{useThemedStyles-D0Wj8XM7.d.ts → useThemedStyles-ClPrd4wW.d.ts} +1 -1
  72. package/package.json +1 -1
  73. package/dist/Button-BIvpHJtO.js.map +0 -1
  74. package/dist/Select-Bvq9Xdgv.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select-DzahPXcJ.js","names":["value","Select: React.FC<SelectProps>"],"sources":["../src/components/commons/inputs/Select/components/OptionItem/styles.ts","../src/components/commons/inputs/Select/components/OptionItem/index.tsx","../src/hooks/useCompositeListNavigation/index.ts","../src/components/commons/inputs/Select/hooks/useSelect/index.ts","../src/components/commons/inputs/Select/styles.ts","../src/components/commons/inputs/Select/types.ts","../src/components/commons/inputs/Select/index.tsx"],"sourcesContent":["import type { OptionItemProps } from './types'\nimport { styled } from '@hooks/useThemedStyles/types'\n\nexport function createOptionsStyles(\n props: OptionItemProps & { ['data-active']?: string }\n) {\n const { isSelected } = props\n const isActive = props['data-active'] === 'true'\n const highlighted = isSelected || isActive\n\n return styled({\n container: {\n width: '100%',\n\n display: 'flex',\n alignItems: 'center',\n textAlign: 'left',\n\n borderRadius: '0.25rem',\n padding: '0.5rem 0.75rem',\n\n cursor: 'pointer',\n transition: 'background-color 0.2s ease-out',\n\n backgroundColor: highlighted\n ? 'var(--px-background-card-hover)'\n : 'transparent',\n\n __rules: {\n '&:hover': {\n backgroundColor: 'var(--px-background-card-hover) !important'\n },\n\n '&:focus': {\n outlineOffset: '-1px',\n outline: '2px solid var(--px-color-primary)'\n }\n }\n },\n\n text: {\n flex: 1,\n\n fontSize: '1rem',\n fontWeight: 500,\n lineHeight: '1.5rem',\n fontFamily: 'inherit',\n color: 'var(--px-text-primary)',\n\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis'\n }\n })\n}\n","/** biome-ignore-all lint/a11y/useSemanticElements: It's a custom select component */\nimport type React from 'react'\nimport { forwardRef } from 'react'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Types\nimport type { OptionItemProps } from './types'\n\n// Styles\nimport { createOptionsStyles } from './styles'\n\ntype NativeButtonProps = Omit<\n React.ComponentPropsWithoutRef<'button'>,\n 'onClick'\n>\n\nexport const OptionItem = forwardRef<\n HTMLButtonElement,\n OptionItemProps & NativeButtonProps\n>((props, ref) => {\n const { styles, classes } = useThemedStyles(props, createOptionsStyles)\n\n const { option, isSelected, onClick, ...rest } = props\n\n return (\n <button\n {...rest}\n ref={ref}\n type=\"button\"\n role=\"option\"\n style={styles.container}\n className={classes.container}\n aria-label={option.label}\n aria-selected={isSelected}\n onClick={() => onClick(option.value)}\n >\n <span style={styles.text}>{option.label}</span>\n </button>\n )\n})\n\nOptionItem.displayName = 'OptionItem'\n","// External Libraries\nimport { useCallback, useEffect, useRef, useState } from 'react'\n\nexport type CompositeItemMeta = {\n disabled?: boolean\n hasChildren?: boolean\n onActivate?: () => void\n onOpenChildren?: () => void\n onCloseChildren?: () => void\n}\n\ntype Params = {\n open: boolean\n itemCount: number\n initialIndex?: number\n onCloseByTab?: () => void\n setOpen: (v: boolean) => void\n makeMeta: (index: number) => CompositeItemMeta\n}\n\nfunction findNextEnabled(\n start: number,\n dir: 1 | -1,\n count: number,\n isDisabled: (i: number) => boolean\n) {\n if (count <= 0) return 0\n let i = start\n for (let step = 0; step < count; step++) {\n i = (i + dir + count) % count\n if (!isDisabled(i)) return i\n }\n return start\n}\n\nfunction findFirstEnabled(count: number, isDisabled: (i: number) => boolean) {\n for (let i = 0; i < count; i++) if (!isDisabled(i)) return i\n return 0\n}\n\nexport function useCompositeListNavigation({\n open,\n itemCount,\n initialIndex,\n setOpen,\n makeMeta,\n onCloseByTab\n}: Params) {\n const listRef = useRef<HTMLElement | null>(null)\n const itemRefs = useRef<Array<HTMLButtonElement | null>>([])\n\n const isDisabled = useCallback(\n (i: number) => !!makeMeta(i).disabled,\n [makeMeta]\n )\n\n const [activeIndex, setActiveIndex] = useState(0)\n\n const focusItem = useCallback((i: number) => {\n const el = itemRefs.current[i]\n if (!el) return\n el.focus({ preventScroll: true })\n el.scrollIntoView({ block: 'nearest' })\n }, [])\n\n const openAndFocus = useCallback(\n (index?: number) => {\n setOpen(true)\n\n const next =\n typeof index === 'number'\n ? index\n : typeof initialIndex === 'number'\n ? initialIndex\n : findFirstEnabled(itemCount, isDisabled)\n\n setActiveIndex(next)\n requestAnimationFrame(() => focusItem(next))\n },\n [focusItem, initialIndex, isDisabled, itemCount, setOpen]\n )\n\n useEffect(() => {\n if (!open) return\n requestAnimationFrame(() => focusItem(activeIndex))\n }, [open, activeIndex, focusItem])\n\n const move = useCallback(\n (dir: 1 | -1) => {\n const next = findNextEnabled(activeIndex, dir, itemCount, isDisabled)\n setActiveIndex(next)\n requestAnimationFrame(() => focusItem(next))\n },\n [activeIndex, itemCount, isDisabled, focusItem]\n )\n\n const activate = useCallback(() => {\n const meta = makeMeta(activeIndex)\n if (meta.disabled) return\n meta.onActivate?.()\n }, [activeIndex, makeMeta])\n\n const onListKeyDown = useCallback(\n (e: React.KeyboardEvent) => {\n if (!open) return\n\n switch (e.key) {\n case 'Tab': {\n // ✅ fecha e deixa o browser focar o próximo\n // (e NÃO restaura foco pro trigger)\n onCloseByTab?.()\n setOpen(false)\n return\n }\n\n case 'ArrowDown':\n e.preventDefault()\n move(+1)\n return\n\n case 'ArrowUp':\n e.preventDefault()\n move(-1)\n return\n\n case 'Home': {\n e.preventDefault()\n const first = findFirstEnabled(itemCount, isDisabled)\n setActiveIndex(first)\n requestAnimationFrame(() => focusItem(first))\n return\n }\n\n case 'End': {\n e.preventDefault()\n let last = itemCount - 1\n for (let i = itemCount - 1; i >= 0; i--) {\n if (!isDisabled(i)) {\n last = i\n break\n }\n }\n setActiveIndex(last)\n requestAnimationFrame(() => focusItem(last))\n return\n }\n\n case 'Enter':\n case ' ': {\n e.preventDefault()\n activate()\n return\n }\n\n case 'Escape':\n e.preventDefault()\n setOpen(false)\n return\n\n case 'ArrowRight': {\n e.preventDefault()\n const meta = makeMeta(activeIndex)\n if (meta.hasChildren) meta.onOpenChildren?.()\n return\n }\n\n case 'ArrowLeft': {\n e.preventDefault()\n const meta = makeMeta(activeIndex)\n meta.onCloseChildren?.()\n return\n }\n }\n },\n [\n open,\n itemCount,\n activeIndex,\n move,\n setOpen,\n activate,\n makeMeta,\n focusItem,\n isDisabled,\n onCloseByTab\n ]\n )\n\n const getTriggerProps = useCallback(() => {\n return {\n onKeyDown: (e: React.KeyboardEvent) => {\n if (e.key === 'Enter' || e.key === ' ' || e.key === 'ArrowDown') {\n e.preventDefault()\n if (!open) openAndFocus()\n return\n }\n\n if (e.key === 'ArrowUp') {\n e.preventDefault()\n if (!open) openAndFocus(itemCount > 0 ? itemCount - 1 : 0)\n }\n }\n }\n }, [open, openAndFocus, itemCount])\n\n const getListProps = useCallback(() => {\n return {\n ref: (el: HTMLElement | null) => {\n listRef.current = el\n },\n onKeyDown: onListKeyDown\n }\n }, [onListKeyDown])\n\n const getItemProps = useCallback(\n (index: number) => {\n const isActive = index === activeIndex\n return {\n ref: (el: HTMLButtonElement | null) => {\n itemRefs.current[index] = el\n },\n tabIndex: isActive ? 0 : -1,\n 'data-active': isActive ? 'true' : 'false'\n } as const\n },\n [activeIndex]\n )\n\n return {\n activeIndex,\n getListProps,\n getItemProps,\n openAndFocus,\n setActiveIndex,\n getTriggerProps\n }\n}\n","// External Libraries\nimport { useState } from 'react'\n\n// Types\nimport type { SelectProps } from '../../types'\nimport { useCompositeListNavigation } from '@hooks/useCompositeListNavigation'\n\nexport function useSelect({\n value,\n options,\n multiple,\n disabled,\n canClear,\n onChange\n}: SelectProps) {\n // States\n const [open, setOpen] = useState(false)\n\n // Hooks\n const nav = useCompositeListNavigation({\n open,\n itemCount: options.length,\n setOpen: changeOpen,\n makeMeta: makeMeta\n })\n\n // Functions\n function handleOptionClick(option: string) {\n const isAlreadySelected = value.includes(option)\n\n if (!multiple) {\n if (isAlreadySelected) {\n if (canClear) onChange([])\n } else onChange([option])\n\n setOpen(false)\n return\n }\n\n if (isAlreadySelected) {\n if (value.length === 1) {\n if (canClear) onChange([])\n } else onChange(value.filter(v => v !== option))\n } else onChange([...value, option])\n }\n\n function makeMeta(index: number) {\n const opt = options[index]\n return {\n onActivate: () => {\n if (opt) handleOptionClick(opt.value)\n }\n }\n }\n\n function changeOpen(value: boolean) {\n setOpen(value)\n }\n\n function togglePanel() {\n if (disabled) return\n if (!open) nav.openAndFocus()\n }\n\n function closePanel() {\n setOpen(false)\n }\n\n return {\n nav,\n open,\n makeMeta,\n changeOpen,\n togglePanel,\n closePanel,\n handleOptionClick\n }\n}\n","import { styled } from '@hooks/useThemedStyles/types'\nimport type { SelectProps } from './types'\n\nexport function createSelectStyles(props: SelectProps) {\n return styled({\n container: {\n width: '100%',\n\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n\n rowGap: '0.375rem'\n },\n\n content: {\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n\n borderWidth: 1,\n columnGap: '0.25rem',\n borderRadius: '0.5rem',\n padding: '0.625rem 0.875rem',\n\n opacity: props.disabled || props.isLoading ? 0.5 : 1,\n cursor: props.isLoading\n ? 'progress'\n : props.disabled\n ? 'not-allowed'\n : 'pointer',\n boxShadow: 'var(--px-shadow-default)',\n borderColor: props.errorMessage\n ? 'var(--px-color-error)'\n : 'var(--px-border-primary)',\n\n __rules: {\n '&:focus-within': {\n outlineOffset: '-1px !important',\n outline: `2px solid var(${props.errorMessage ? '--px-color-error' : '--px-color-primary'}) !important`\n }\n }\n },\n\n text: {\n flex: 1,\n\n textAlign: 'left',\n\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n\n fontSize: '1rem',\n lineHeight: '1.5rem',\n fontFamily: 'inherit',\n fontWeight: props.value.length ? 500 : 400,\n color: props.value.length\n ? 'var(--px-text-primary)'\n : 'var(--px-text-secondary)'\n },\n\n panel: { width: '100%' }\n })\n}\n","import type {\n StylesOf,\n TextProps,\n LayoutProps,\n MarginProps\n} from '@hooks/useThemedStyles/types'\nimport type { createSelectStyles } from './styles'\nimport type { FloatingOptions } from '@hooks/useFloating/types'\nimport type { PopoverProps } from '@components/commons/toolkit/Popover/types'\n\nexport interface SelectProps extends LayoutProps, MarginProps {\n label: string\n value: string[]\n placeholder?: string\n options: SelectOption[]\n isLoading?: boolean\n\n portalId?: PopoverProps['portalId']\n strategy?: FloatingOptions['strategy']\n scrollContainerId?: FloatingOptions['scrollContainerId']\n absoluteReference?: FloatingOptions['absoluteReference']\n\n canClear?: boolean\n multiple?: boolean\n required?: boolean\n disabled?: boolean\n hideLabel?: boolean\n errorMessage?: string\n maxVisibleItems?: number\n\n startIcon?: React.ReactNode\n styles?: StylesOf<typeof createSelectStyles>\n\n requiredColor?: string\n labelConfig?: TextProps\n\n onChange: (value: string[]) => void\n}\n\nexport interface SelectOption {\n label: string\n value: string\n}\n","/** biome-ignore-all lint/a11y/useSemanticElements: It's a custom select component */\n// External Libraries\nimport type React from 'react'\nimport { useMemo } from 'react'\n\n// Components\nimport { OptionItem } from './components/OptionItem'\nimport { Icon } from '@components/commons/toolkit/Icon'\nimport { Label } from '@components/commons/toolkit/Label'\nimport { ErrorMessage } from '../../toolkit/ErrorMessage'\nimport { Loader } from '@components/commons/toolkit/Loader'\nimport { Typography } from '@components/commons/toolkit/Typography'\nimport { BasePopover } from '@components/commons/structure/BasePopover'\n\n// Hooks\nimport { useSelect } from './hooks/useSelect'\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Types\nimport type { SelectProps } from './types'\nimport type { PopoverTriggerRenderProps } from '@components/commons/toolkit/Popover/types'\n\n// Styles\nimport { createSelectStyles } from './styles'\n\nexport * as SelectTypes from './types'\n\nexport const Select: React.FC<SelectProps> = props => {\n const { nav, open, changeOpen, handleOptionClick } = useSelect(props)\n const { styles, classes } = useThemedStyles(props, createSelectStyles, {\n pick: p => [p.disabled, p.errorMessage, p.value, p.isLoading],\n override: props.styles,\n applyCommonProps: true,\n commonSlot: 'container'\n })\n\n const maxVisible = props.maxVisibleItems ?? Infinity\n const optionsMap = useMemo(\n () => new Map(props.options.map(option => [option.value, option.label])),\n [props.options]\n )\n\n // Functions\n function renderContent() {\n if (!props.value?.length) return props.placeholder\n\n const resolvedValues = props.value.map(val => optionsMap.get(val) ?? val)\n const visibleItems = resolvedValues.slice(0, maxVisible)\n const hiddenCount = resolvedValues.length - visibleItems.length\n\n let result = visibleItems.join(', ')\n if (hiddenCount > 0) result += ` +${hiddenCount}`\n return result\n }\n\n function renderTrigger({\n ref,\n ariaExpanded,\n onClick\n }: PopoverTriggerRenderProps) {\n const triggerKeyProps = nav.getTriggerProps()\n\n return (\n <button\n ref={ref as React.RefObject<HTMLButtonElement>}\n dir=\"ltr\"\n type=\"button\"\n role=\"combobox\"\n style={styles.content}\n aria-autocomplete=\"none\"\n aria-label={props.label}\n className={classes.content}\n aria-expanded={ariaExpanded}\n disabled={props.disabled || props.isLoading}\n {...triggerKeyProps}\n onClick={onClick}\n >\n {props.value.length ? props.startIcon : null}\n\n <span id=\"text-content\" style={styles.text}>\n {renderContent()}\n </span>\n\n {props.isLoading ? (\n <Loader size=\"1rem\" color=\"var(--px-color-primary)\" />\n ) : (\n <Icon size=\"sm\" name=\"chevrons-down\" />\n )}\n </button>\n )\n }\n\n function renderOptions() {\n if (props.options.length === 0) {\n return (\n <Typography variant=\"b2\" textAlign=\"center\">\n No options\n </Typography>\n )\n }\n\n return props.options.map((option, idx) => (\n <OptionItem\n key={option.value}\n option={option}\n onClick={handleOptionClick}\n isSelected={props.value.includes(option.value)}\n {...nav.getItemProps(idx)}\n />\n ))\n }\n\n return (\n <div style={styles.container}>\n {props.hideLabel ? null : (\n <Label\n label={props.label}\n required={props.required}\n requiredColor={props.requiredColor}\n {...props.labelConfig}\n />\n )}\n\n <BasePopover\n open={open}\n portalId={props.portalId}\n absoluteReference={props.absoluteReference}\n floatingOptions={{\n viewportMargin: 0,\n strategy: props.strategy,\n scrollContainerId: props.scrollContainerId\n }}\n trigger={renderTrigger}\n onOpenChange={changeOpen}\n >\n <div style={styles.panel} role=\"listbox\" {...nav.getListProps()}>\n {renderOptions()}\n </div>\n </BasePopover>\n\n {props.errorMessage ? (\n <ErrorMessage message={props.errorMessage} />\n ) : null}\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;AAGA,SAAgB,oBACd,OACA;CACA,MAAM,EAAE,eAAe;CACvB,MAAM,WAAW,MAAM,mBAAmB;AAG1C,QAAO,OAAO;EACZ,WAAW;GACT,OAAO;GAEP,SAAS;GACT,YAAY;GACZ,WAAW;GAEX,cAAc;GACd,SAAS;GAET,QAAQ;GACR,YAAY;GAEZ,iBAhBgB,cAAc,WAiB1B,oCACA;GAEJ,SAAS;IACP,WAAW,EACT,iBAAiB,8CAClB;IAED,WAAW;KACT,eAAe;KACf,SAAS;KACV;IACF;GACF;EAED,MAAM;GACJ,MAAM;GAEN,UAAU;GACV,YAAY;GACZ,YAAY;GACZ,YAAY;GACZ,OAAO;GAEP,UA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C;KAAK,IAAG;KAAe,OAAO,OAAO;eACnC,eAAe;MACX;IAEN,MAAM,YACL,oBAAC;KAAO,MAAK;KAAO,OAAM;MAA4B,GAEtD,oBAAC;KAAK,MAAK;KAAK,MAAK;MAAkB;;IAElC;;CAIb,SAAS,gBAAgB;AACvB,MAAI,MAAM,QAAQ,WAAW,EAC3B,QACE,oBAAC;GAAW,SAAQ;GAAK,WAAU;aAAS;IAE/B;AAIjB,SAAO,MAAM,QAAQ,KAAK,QAAQ,QAChC,oBAAC;GAES;GACR,SAAS;GACT,YAAY,MAAM,MAAM,SAAS,OAAO,MAAM;GAC9C,GAAI,IAAI,aAAa,IAAI;KAJpB,OAAO,MAKZ,CACF;;AAGJ,QACE,qBAAC;EAAI,OAAO,OAAO;;GAChB,MAAM,YAAY,OACjB,oBAAC;IACC,OAAO,MAAM;IACb,UAAU,MAAM;IAChB,eAAe,MAAM;IACrB,GAAI,MAAM;KACV;GAGJ,oBAAC;IACO;IACN,UAAU,MAAM;IAChB,mBAAmB,MAAM;IACzB,iBAAiB;KACf,gBAAgB;KAChB,UAAU,MAAM;KAChB,mBAAmB,MAAM;KAC1B;IACD,SAAS;IACT,cAAc;cAEd,oBAAC;KAAI,OAAO,OAAO;KAAO,MAAK;KAAU,GAAI,IAAI,cAAc;eAC5D,eAAe;MACZ;KACM;GAEb,MAAM,eACL,oBAAC,gBAAa,SAAS,MAAM,eAAgB,GAC3C;;GACA"}
@@ -41,4 +41,4 @@ const Skeleton = (props) => {
41
41
 
42
42
  //#endregion
43
43
  export { Skeleton as t };
44
- //# sourceMappingURL=Skeleton-D0DopfRg.js.map
44
+ //# sourceMappingURL=Skeleton-BPFVMk3-.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton-D0DopfRg.js","names":["Skeleton: React.FC<SkeletonProps>"],"sources":["../src/components/commons/structure/Skeleton/styles.ts","../src/components/commons/structure/Skeleton/index.tsx"],"sourcesContent":["// Types\nimport type { SkeletonProps } from './types'\nimport type { StyleMap } from '@hooks/useThemedStyles/types'\nimport { styled } from '@hooks/useThemedStyles/types'\n\nexport function createSkeletonStyles(props: SkeletonProps): StyleMap {\n const { width = '100%', height = '100%', borderRadius = '5px' } = props\n\n return styled({\n container: {\n display: 'flex',\n\n width,\n minWidth: width,\n\n height,\n minHeight: height,\n\n borderRadius,\n\n cursor: 'default',\n color: 'transparent',\n\n background: 'var(--px-bg-skeleton)',\n backgroundSize: '400% 400%',\n animation: 'gradient 3s ease infinite',\n\n __keyframes: {\n gradient: {\n '0%': { backgroundPosition: '0% 50%' },\n '50%': { backgroundPosition: '100% 50%' },\n '100%': { backgroundPosition: '0% 50%' }\n }\n }\n }\n })\n}\n","// External Libraries\nimport type React from 'react'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Types\nimport type { SkeletonProps } from './types'\n\n// Styles\nimport { createSkeletonStyles } from './styles'\n\nexport const Skeleton: React.FC<SkeletonProps> = props => {\n const { styles } = useThemedStyles(props, createSkeletonStyles, {\n applyCommonProps: true,\n override: props.styles,\n pick: p => [p.width, p.height, p.borderRadius]\n })\n\n return <div style={styles.container} />\n}\n"],"mappings":";;;;AAKA,SAAgB,qBAAqB,OAAgC;CACnE,MAAM,EAAE,QAAQ,QAAQ,SAAS,QAAQ,eAAe,UAAU;AAElE,QAAO,OAAO,EACZ,WAAW;EACT,SAAS;EAET;EACA,UAAU;EAEV;EACA,WAAW;EAEX;EAEA,QAAQ;EACR,OAAO;EAEP,YAAY;EACZ,gBAAgB;EAChB,WAAW;EAEX,aAAa,EACX,UAAU;GACR,MAAM,EAAE,oBAAoB,UAAU;GACtC,OAAO,EAAE,oBAAoB,YAAY;GACzC,QAAQ,EAAE,oBAAoB,UAAU;GACzC,EACF;EACF,EACF,CAAC;;;;;ACvBJ,MAAaA,YAAoC,UAAS;CACxD,MAAM,EAAE,WAAW,gBAAgB,OAAO,sBAAsB;EAC9D,kBAAkB;EAClB,UAAU,MAAM;EAChB,OAAM,MAAK;GAAC,EAAE;GAAO,EAAE;GAAQ,EAAE;GAAa;EAC/C,CAAC;AAEF,QAAO,oBAAC,SAAI,OAAO,OAAO,YAAa"}
1
+ {"version":3,"file":"Skeleton-BPFVMk3-.js","names":["Skeleton: React.FC<SkeletonProps>"],"sources":["../src/components/commons/structure/Skeleton/styles.ts","../src/components/commons/structure/Skeleton/index.tsx"],"sourcesContent":["// Types\nimport type { SkeletonProps } from './types'\nimport type { StyleMap } from '@hooks/useThemedStyles/types'\nimport { styled } from '@hooks/useThemedStyles/types'\n\nexport function createSkeletonStyles(props: SkeletonProps): StyleMap {\n const { width = '100%', height = '100%', borderRadius = '5px' } = props\n\n return styled({\n container: {\n display: 'flex',\n\n width,\n minWidth: width,\n\n height,\n minHeight: height,\n\n borderRadius,\n\n cursor: 'default',\n color: 'transparent',\n\n background: 'var(--px-bg-skeleton)',\n backgroundSize: '400% 400%',\n animation: 'gradient 3s ease infinite',\n\n __keyframes: {\n gradient: {\n '0%': { backgroundPosition: '0% 50%' },\n '50%': { backgroundPosition: '100% 50%' },\n '100%': { backgroundPosition: '0% 50%' }\n }\n }\n }\n })\n}\n","// External Libraries\nimport type React from 'react'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Types\nimport type { SkeletonProps } from './types'\n\n// Styles\nimport { createSkeletonStyles } from './styles'\n\nexport const Skeleton: React.FC<SkeletonProps> = props => {\n const { styles } = useThemedStyles(props, createSkeletonStyles, {\n applyCommonProps: true,\n override: props.styles,\n pick: p => [p.width, p.height, p.borderRadius]\n })\n\n return <div style={styles.container} />\n}\n"],"mappings":";;;;AAKA,SAAgB,qBAAqB,OAAgC;CACnE,MAAM,EAAE,QAAQ,QAAQ,SAAS,QAAQ,eAAe,UAAU;AAElE,QAAO,OAAO,EACZ,WAAW;EACT,SAAS;EAET;EACA,UAAU;EAEV;EACA,WAAW;EAEX;EAEA,QAAQ;EACR,OAAO;EAEP,YAAY;EACZ,gBAAgB;EAChB,WAAW;EAEX,aAAa,EACX,UAAU;GACR,MAAM,EAAE,oBAAoB,UAAU;GACtC,OAAO,EAAE,oBAAoB,YAAY;GACzC,QAAQ,EAAE,oBAAoB,UAAU;GACzC,EACF;EACF,EACF,CAAC;;;;;ACvBJ,MAAaA,YAAoC,UAAS;CACxD,MAAM,EAAE,WAAW,gBAAgB,OAAO,sBAAsB;EAC9D,kBAAkB;EAClB,UAAU,MAAM;EAChB,OAAM,MAAK;GAAC,EAAE;GAAO,EAAE;GAAQ,EAAE;GAAa;EAC/C,CAAC;AAEF,QAAO,oBAAC,SAAI,OAAO,OAAO,YAAa"}
@@ -109,4 +109,4 @@ const TextArea = (props) => {
109
109
 
110
110
  //#endregion
111
111
  export { TextArea as t };
112
- //# sourceMappingURL=TextArea-CdJ_LEke.js.map
112
+ //# sourceMappingURL=TextArea-B0QQy0U5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea-CdJ_LEke.js","names":[],"sources":["../src/components/commons/inputs/TextArea/styles.ts","../src/components/commons/inputs/TextArea/index.tsx"],"sourcesContent":["// Types\nimport { styled } from '@hooks/useThemedStyles/types'\nimport type { TextAreaProps } from './types'\n\nexport function createTextAreaStyles(props: TextAreaProps) {\n const { height = '8rem', readOnly } = props\n\n return styled({\n container: {\n width: '100%',\n\n display: 'flex',\n flexDirection: 'column',\n\n rowGap: '0.375rem'\n },\n iconContainer: {\n position: 'absolute',\n left: '0.75rem',\n top: '1.375rem',\n transform: 'translateY(-50%)'\n },\n textArea: {\n height,\n width: '100%',\n paddingBlock: '0.75rem',\n paddingInline: '0.875rem',\n borderWidth: 1,\n borderRadius: '0.5rem',\n resize: 'none',\n\n fontWeight: '400',\n fontSize: '1rem',\n color: 'var(--px-text-primary)',\n\n borderColor: props.errorMessage\n ? 'var(--px-color-error)'\n : 'var(--px-border-primary)',\n outlineOffset: '-1px',\n\n cursor: readOnly ? 'default' : undefined,\n\n __rules: {\n '&::placeholder': {\n fontWeight: 400,\n color: 'var(--px-text-secondary)'\n },\n\n '&:focus-within': {\n outlineOffset: '-1px',\n outline: `2px solid var(${props.errorMessage ? '--px-color-error' : '--px-color-primary'})`\n }\n }\n }\n })\n}\n","// External Libraries\nimport { useId } from 'react'\n\n// Types\nimport type { TextAreaProps } from './types'\n\n// Components\nimport { Label } from '@components/commons/toolkit/Label'\nimport { Typography } from '@components/commons/toolkit/Typography'\nimport { ErrorMessage } from '@components/commons/toolkit/ErrorMessage'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Styles\nimport { createTextAreaStyles } from './styles'\n\nexport const TextArea = (props: TextAreaProps) => {\n const {\n value,\n disabled,\n readOnly,\n maxLength,\n hideMaxLength,\n textMaxLength,\n placeholder,\n errorMessage,\n\n label,\n required,\n requiredColor,\n labelConfig\n } = props\n\n // Hooks\n const inputId = useId()\n\n const { styles, classes } = useThemedStyles(props, createTextAreaStyles, {\n pick: p => [p.height, p.readOnly, p.placeholderColor, p.focusedRingColor],\n override: props.styles,\n applyCommonProps: true\n })\n\n // Functions\n function handleChange(e: React.ChangeEvent<HTMLTextAreaElement>) {\n if (disabled || readOnly) return\n props.onChange?.(e.target.value)\n }\n\n function renderLabel() {\n if (!label) return null\n\n return (\n <div>\n <Label\n label={label}\n htmlFor={inputId}\n required={required}\n requiredColor={requiredColor}\n {...labelConfig}\n />\n </div>\n )\n }\n\n return (\n <div style={styles.container}>\n {renderLabel()}\n\n <textarea\n value={value}\n disabled={disabled}\n readOnly={readOnly}\n maxLength={maxLength}\n placeholder={placeholder}\n style={styles.textArea}\n className={classes.textArea}\n onChange={handleChange}\n />\n\n {maxLength && !hideMaxLength ? (\n <Typography variant=\"b2\" styles={{ text: { marginLeft: 'auto' } }}>\n {value?.length}/{maxLength} {textMaxLength}\n </Typography>\n ) : null}\n\n {errorMessage ? <ErrorMessage message={errorMessage} /> : null}\n </div>\n )\n}\n"],"mappings":";;;;;;;AAIA,SAAgB,qBAAqB,OAAsB;CACzD,MAAM,EAAE,SAAS,QAAQ,aAAa;AAEt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Q,EAAE;;KAC9D,OAAO;KAAO;KAAE;KAAU;KAAE;;KAClB,GACX;GAEH,eAAe,oBAAC,gBAAa,SAAS,eAAgB,GAAG;;GACtD"}
1
+ {"version":3,"file":"TextArea-B0QQy0U5.js","names":[],"sources":["../src/components/commons/inputs/TextArea/styles.ts","../src/components/commons/inputs/TextArea/index.tsx"],"sourcesContent":["// Types\nimport { styled } from '@hooks/useThemedStyles/types'\nimport type { TextAreaProps } from './types'\n\nexport function createTextAreaStyles(props: TextAreaProps) {\n const { height = '8rem', readOnly } = props\n\n return styled({\n container: {\n width: '100%',\n\n display: 'flex',\n flexDirection: 'column',\n\n rowGap: '0.375rem'\n },\n iconContainer: {\n position: 'absolute',\n left: '0.75rem',\n top: '1.375rem',\n transform: 'translateY(-50%)'\n },\n textArea: {\n height,\n width: '100%',\n paddingBlock: '0.75rem',\n paddingInline: '0.875rem',\n borderWidth: 1,\n borderRadius: '0.5rem',\n resize: 'none',\n\n fontWeight: '400',\n fontSize: '1rem',\n color: 'var(--px-text-primary)',\n\n borderColor: props.errorMessage\n ? 'var(--px-color-error)'\n : 'var(--px-border-primary)',\n outlineOffset: '-1px',\n\n cursor: readOnly ? 'default' : undefined,\n\n __rules: {\n '&::placeholder': {\n fontWeight: 400,\n color: 'var(--px-text-secondary)'\n },\n\n '&:focus-within': {\n outlineOffset: '-1px',\n outline: `2px solid var(${props.errorMessage ? '--px-color-error' : '--px-color-primary'})`\n }\n }\n }\n })\n}\n","// External Libraries\nimport { useId } from 'react'\n\n// Types\nimport type { TextAreaProps } from './types'\n\n// Components\nimport { Label } from '@components/commons/toolkit/Label'\nimport { Typography } from '@components/commons/toolkit/Typography'\nimport { ErrorMessage } from '@components/commons/toolkit/ErrorMessage'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Styles\nimport { createTextAreaStyles } from './styles'\n\nexport const TextArea = (props: TextAreaProps) => {\n const {\n value,\n disabled,\n readOnly,\n maxLength,\n hideMaxLength,\n textMaxLength,\n placeholder,\n errorMessage,\n\n label,\n required,\n requiredColor,\n labelConfig\n } = props\n\n // Hooks\n const inputId = useId()\n\n const { styles, classes } = useThemedStyles(props, createTextAreaStyles, {\n pick: p => [p.height, p.readOnly, p.placeholderColor, p.focusedRingColor],\n override: props.styles,\n applyCommonProps: true\n })\n\n // Functions\n function handleChange(e: React.ChangeEvent<HTMLTextAreaElement>) {\n if (disabled || readOnly) return\n props.onChange?.(e.target.value)\n }\n\n function renderLabel() {\n if (!label) return null\n\n return (\n <div>\n <Label\n label={label}\n htmlFor={inputId}\n required={required}\n requiredColor={requiredColor}\n {...labelConfig}\n />\n </div>\n )\n }\n\n return (\n <div style={styles.container}>\n {renderLabel()}\n\n <textarea\n value={value}\n disabled={disabled}\n readOnly={readOnly}\n maxLength={maxLength}\n placeholder={placeholder}\n style={styles.textArea}\n className={classes.textArea}\n onChange={handleChange}\n />\n\n {maxLength && !hideMaxLength ? (\n <Typography variant=\"b2\" styles={{ text: { marginLeft: 'auto' } }}>\n {value?.length}/{maxLength} {textMaxLength}\n </Typography>\n ) : null}\n\n {errorMessage ? <ErrorMessage message={errorMessage} /> : null}\n </div>\n )\n}\n"],"mappings":";;;;;;;AAIA,SAAgB,qBAAqB,OAAsB;CACzD,MAAM,EAAE,SAAS,QAAQ,aAAa;AAEtC,QAAO,OAAO;EACZ,WAAW;GACT,OAAO;GAEP,SAAS;GACT,eAAe;GAEf,QAAQ;GACT;EACD,eAAe;GACb,UAAU;GACV,MAAM;GACN,KAAK;GACL,WAAW;GACZ;EACD,UAAU;GACR;GACA,OAAO;GACP,cAAc;GACd,eAAe;GACf,aAAa;GACb,cAAc;GACd,QAAQ;GAER,YAAY;GACZ,UAAU;GACV,OAAO;GAEP,aAAa,MAAM,eACf,0BACA;GACJ,eAAe;GAEf,QAAQ,WAAW,YAAY;GAE/B,SAAS;IACP,kBAAkB;KAChB,YAAY;KACZ,OAAO;KACR;IAED,kBAAkB;KAChB,eAAe;KACf,SAAS,iBAAiB,MAAM,eAAe,qBAAqB,qBAAqB;KAC1F;IACF;GACF;EACF,CAAC;;;;;ACrCJ,MAAa,YAAY,UAAyB;CAChD,MAAM,EACJ,OACA,UACA,UACA,WACA,eACA,eACA,aACA,cAEA,OACA,UACA,eACA,gBACE;CAGJ,MAAM,UAAU,OAAO;CAEvB,MAAM,EAAE,QAAQ,YAAY,gBAAgB,OAAO,sBAAsB;EACvE,OAAM,MAAK;GAAC,EAAE;GAAQ,EAAE;GAAU,EAAE;GAAkB,EAAE;GAAiB;EACzE,UAAU,MAAM;EAChB,kBAAkB;EACnB,CAAC;CAGF,SAAS,aAAa,GAA2C;AAC/D,MAAI,YAAY,SAAU;AAC1B,QAAM,WAAW,EAAE,OAAO,MAAM;;CAGlC,SAAS,cAAc;AACrB,MAAI,CAAC,MAAO,QAAO;AAEnB,SACE,oBAAC,mBACC,oBAAC;GACQ;GACP,SAAS;GACC;GACK;GACf,GAAI;IACJ,GACE;;AAIV,QACE,qBAAC;EAAI,OAAO,OAAO;;GAChB,aAAa;GAEd,oBAAC;IACQ;IACG;IACA;IACC;IACE;IACb,OAAO,OAAO;IACd,WAAW,QAAQ;IACnB,UAAU;KACV;GAED,aAAa,CAAC,gBACb,qBAAC;IAAW,SAAQ;IAAK,QAAQ,EAAE,MAAM,EAAE,YAAY,QAAQ,EAAE;;KAC9D,OAAO;KAAO;KAAE;KAAU;KAAE;;KAClB,GACX;GAEH,eAAe,oBAAC,gBAAa,SAAS,eAAgB,GAAG;;GACtD"}
@@ -1,4 +1,4 @@
1
- import "./types-mUSoybMc.js";
2
- import "./index-z_-twWT-.js";
3
- import { t as BasePopover } from "./index-CuNXel3a.js";
1
+ import "./types-DZ6gPTYT.js";
2
+ import "./index-DR6lOsN7.js";
3
+ import { t as BasePopover } from "./index-B2PIaNMu.js";
4
4
  export { BasePopover };
@@ -1,2 +1,2 @@
1
- import { t as Breadcrumb } from "./index-CrKxTYgR.js";
1
+ import { t as Breadcrumb } from "./index-BfVdqarn.js";
2
2
  export { Breadcrumb };
@@ -1,6 +1,6 @@
1
1
  import "./useThemedStyles-BBJ_TF_l.js";
2
2
  import "./Typography-3tAIdGuj.js";
3
- import "./Skeleton-D0DopfRg.js";
4
- import { t as Breadcrumb } from "./Breadcrumb-DCx_3Gei.js";
3
+ import "./Skeleton-BPFVMk3-.js";
4
+ import { t as Breadcrumb } from "./Breadcrumb-BLu27RXT.js";
5
5
 
6
6
  export { Breadcrumb };
package/dist/button.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import "./types-X5cadzGX.js";
2
- import { t as Button } from "./index-C4JS9PSn.js";
1
+ import "./types-NSbCuvRr.js";
2
+ import { t as Button } from "./index-DuwmDJgm.js";
3
3
  export { Button };
package/dist/button.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import "./useThemedStyles-BBJ_TF_l.js";
2
2
  import "./Typography-3tAIdGuj.js";
3
- import { t as Button } from "./Button-BIvpHJtO.js";
3
+ import "./Loader-CmESHuyP.js";
4
+ import { t as Button } from "./Button-BVxsixz_.js";
4
5
 
5
6
  export { Button };
@@ -1,2 +1,2 @@
1
- import { t as CheckItem } from "./index-D8phtbEN.js";
1
+ import { t as CheckItem } from "./index-BsTs8mui.js";
2
2
  export { CheckItem };
@@ -1,3 +1,3 @@
1
- import "./types-X5cadzGX.js";
2
- import { t as Checkbox } from "./index-CJHsyNfq.js";
1
+ import "./types-NSbCuvRr.js";
2
+ import { t as Checkbox } from "./index-C86jTuzO.js";
3
3
  export { Checkbox };
@@ -1,2 +1,2 @@
1
- import { t as ChipList } from "./index-yD8AFwqR.js";
1
+ import { t as ChipList } from "./index-BQpj6_SN.js";
2
2
  export { ChipList };
package/dist/chip.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as ChipProps, r as types_d_exports } from "./types-gPgzbDxA.js";
1
+ import { n as ChipProps, r as types_d_exports } from "./types-DxP32BlE.js";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/commons/toolkit/Chip/index.d.ts
@@ -1,2 +1,2 @@
1
- import { n as types_d_exports, t as ContextMenu } from "./index-CFojep1-.js";
1
+ import { n as types_d_exports, t as ContextMenu } from "./index-W18JT5Ey.js";
2
2
  export { ContextMenu, types_d_exports as ContextMenuTypes };
@@ -1,2 +1,2 @@
1
- import { t as IconButton } from "./index-CfJRp6Z5.js";
1
+ import { t as IconButton } from "./index-DsuLq-mw.js";
2
2
  export { IconButton };
@@ -1,4 +1,4 @@
1
1
  import "./useThemedStyles-BBJ_TF_l.js";
2
- import { t as IconButton } from "./IconButton-iiLQQcYQ.js";
2
+ import { t as IconButton } from "./IconButton-BUBVowPJ.js";
3
3
 
4
4
  export { IconButton };
@@ -1,4 +1,4 @@
1
- import { a as TextProps } from "./styleProps-9dCJTnWO.js";
1
+ import { a as TextProps } from "./styleProps-CntgA2bz.js";
2
2
  import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/commons/inputs/TextArea/styles.d.ts
@@ -68,4 +68,4 @@ interface TextAreaProps {
68
68
  declare const TextArea: (props: TextAreaProps) => react_jsx_runtime2.JSX.Element;
69
69
  //#endregion
70
70
  export { TextArea as t };
71
- //# sourceMappingURL=index-B7FPiP1T.d.ts.map
71
+ //# sourceMappingURL=index-7XwQGvrk.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as PopoverProps } from "./types-mUSoybMc.js";
1
+ import { t as PopoverProps } from "./types-DZ6gPTYT.js";
2
2
  import React, { PropsWithChildren } from "react";
3
3
 
4
4
  //#region src/components/commons/structure/BasePopover/types.d.ts
@@ -19,4 +19,4 @@ interface BasePopoverProps extends Omit<PopoverProps, 'content' | 'hideShadow'>,
19
19
  declare const BasePopover: React.FC<BasePopoverProps>;
20
20
  //#endregion
21
21
  export { BasePopover as t };
22
- //# sourceMappingURL=index-CuNXel3a.d.ts.map
22
+ //# sourceMappingURL=index-B2PIaNMu.d.ts.map
@@ -1,5 +1,5 @@
1
- import { a as TextProps } from "./styleProps-9dCJTnWO.js";
2
- import { t as ChipOption } from "./types-gPgzbDxA.js";
1
+ import { a as TextProps } from "./styleProps-CntgA2bz.js";
2
+ import { t as ChipOption } from "./types-DxP32BlE.js";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/commons/toolkit/ChipList/types.d.ts
@@ -24,4 +24,4 @@ interface ChipListProps {
24
24
  declare const ChipList: React.FC<ChipListProps>;
25
25
  //#endregion
26
26
  export { ChipList as t };
27
- //# sourceMappingURL=index-yD8AFwqR.d.ts.map
27
+ //# sourceMappingURL=index-BQpj6_SN.d.ts.map
@@ -1,7 +1,7 @@
1
- import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-9dCJTnWO.js";
2
- import { r as StylesOf } from "./useThemedStyles-D0Wj8XM7.js";
3
- import { t as FloatingOptions } from "./types-ByiN1FkJ.js";
4
- import { t as PopoverProps } from "./types-mUSoybMc.js";
1
+ import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-CntgA2bz.js";
2
+ import { r as StylesOf } from "./useThemedStyles-ClPrd4wW.js";
3
+ import { t as FloatingOptions } from "./types-FwxL7aW5.js";
4
+ import { t as PopoverProps } from "./types-DZ6gPTYT.js";
5
5
  import React$1 from "react";
6
6
 
7
7
  //#region src/components/commons/inputs/Select/styles.d.ts
@@ -23,7 +23,7 @@ declare function createSelectStyles(props: SelectProps): {
23
23
  borderRadius: string;
24
24
  padding: string;
25
25
  opacity: number;
26
- cursor: "not-allowed" | "pointer";
26
+ cursor: "not-allowed" | "pointer" | "progress";
27
27
  boxShadow: "var(--px-shadow-default)";
28
28
  borderColor: "var(--px-color-error)" | "var(--px-border-primary)";
29
29
  __rules: {
@@ -57,6 +57,7 @@ interface SelectProps extends LayoutProps, MarginProps {
57
57
  value: string[];
58
58
  placeholder?: string;
59
59
  options: SelectOption[];
60
+ isLoading?: boolean;
60
61
  portalId?: PopoverProps['portalId'];
61
62
  strategy?: FloatingOptions['strategy'];
62
63
  scrollContainerId?: FloatingOptions['scrollContainerId'];
@@ -83,4 +84,4 @@ interface SelectOption {
83
84
  declare const Select: React$1.FC<SelectProps>;
84
85
  //#endregion
85
86
  export { types_d_exports as n, Select as t };
86
- //# sourceMappingURL=index-d_2Cjz1T.d.ts.map
87
+ //# sourceMappingURL=index-BS68Mp68.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as StyleMap } from "./useThemedStyles-D0Wj8XM7.js";
1
+ import { n as StyleMap } from "./useThemedStyles-ClPrd4wW.js";
2
2
  import React$1 from "react";
3
3
 
4
4
  //#region src/components/commons/structure/Breadcrumb/styles.d.ts
@@ -26,4 +26,4 @@ interface PageOption {
26
26
  declare const Breadcrumb: React$1.FC<BreadcrumbProps>;
27
27
  //#endregion
28
28
  export { Breadcrumb as t };
29
- //# sourceMappingURL=index-CrKxTYgR.d.ts.map
29
+ //# sourceMappingURL=index-BfVdqarn.d.ts.map
@@ -10,4 +10,4 @@ interface CheckItemProps {
10
10
  declare const CheckItem: React.FC<CheckItemProps>;
11
11
  //#endregion
12
12
  export { CheckItem as t };
13
- //# sourceMappingURL=index-D8phtbEN.d.ts.map
13
+ //# sourceMappingURL=index-BsTs8mui.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as TypographyVariant } from "./types-X5cadzGX.js";
1
+ import { n as TypographyVariant } from "./types-NSbCuvRr.js";
2
2
  import React$1 from "react";
3
3
 
4
4
  //#region src/components/commons/toolkit/Checkbox/types.d.ts
@@ -26,4 +26,4 @@ interface CheckboxProps {
26
26
  declare const Checkbox: React$1.FC<CheckboxProps>;
27
27
  //#endregion
28
28
  export { Checkbox as t };
29
- //# sourceMappingURL=index-CJHsyNfq.d.ts.map
29
+ //# sourceMappingURL=index-C86jTuzO.d.ts.map
@@ -142,4 +142,4 @@ declare const MaskModule: {
142
142
  };
143
143
  //#endregion
144
144
  export { Locale as n, MaskType as r, MaskModule as t };
145
- //# sourceMappingURL=index-Cs-WJgro.d.ts.map
145
+ //# sourceMappingURL=index-CBppDr5R.d.ts.map
@@ -13,4 +13,4 @@ interface SwitchThumbProps {
13
13
  declare const Switch: React.FC<SwitchThumbProps>;
14
14
  //#endregion
15
15
  export { Switch as t };
16
- //# sourceMappingURL=index-CzTlwSA6.d.ts.map
16
+ //# sourceMappingURL=index-Cb_tkhK8.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as CommonStyleProps } from "./styleProps-9dCJTnWO.js";
1
+ import { t as CommonStyleProps } from "./styleProps-CntgA2bz.js";
2
2
  import { ReactNode } from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -44,4 +44,4 @@ interface TabSwitchProps<T> extends CommonStyleProps {
44
44
  declare const TabSwitch: <T>(props: TabSwitchProps<T>) => react_jsx_runtime0.JSX.Element;
45
45
  //#endregion
46
46
  export { SwitchOption as n, TabSwitchProps as r, TabSwitch as t };
47
- //# sourceMappingURL=index-zAekwBhQ.d.ts.map
47
+ //# sourceMappingURL=index-CdTCwpWl.d.ts.map
@@ -1,8 +1,8 @@
1
- import { t as PopoverProps } from "./types-mUSoybMc.js";
1
+ import { t as PopoverProps } from "./types-DZ6gPTYT.js";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/commons/toolkit/Popover/index.d.ts
5
5
  declare const Popover: React.FC<PopoverProps>;
6
6
  //#endregion
7
7
  export { Popover as t };
8
- //# sourceMappingURL=index-z_-twWT-.d.ts.map
8
+ //# sourceMappingURL=index-DR6lOsN7.d.ts.map
@@ -1,6 +1,6 @@
1
- import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-9dCJTnWO.js";
2
- import { r as StylesOf } from "./useThemedStyles-D0Wj8XM7.js";
3
- import { r as MaskType } from "./index-Cs-WJgro.js";
1
+ import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-CntgA2bz.js";
2
+ import { r as StylesOf } from "./useThemedStyles-ClPrd4wW.js";
3
+ import { r as MaskType } from "./index-CBppDr5R.js";
4
4
  import * as react0 from "react";
5
5
  import { HTMLInputTypeAttribute, InputHTMLAttributes, ReactNode } from "react";
6
6
 
@@ -100,4 +100,4 @@ interface InputMethods {
100
100
  declare const Input: react0.ForwardRefExoticComponent<InputProps & react0.RefAttributes<InputMethods>>;
101
101
  //#endregion
102
102
  export { Input as t };
103
- //# sourceMappingURL=index-B9F6s4M6.d.ts.map
103
+ //# sourceMappingURL=index-DTWpYpA9.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as StyleMap } from "./useThemedStyles-D0Wj8XM7.js";
1
+ import { n as StyleMap } from "./useThemedStyles-ClPrd4wW.js";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/commons/structure/Skeleton/styles.d.ts
@@ -16,4 +16,4 @@ interface SkeletonProps {
16
16
  declare const Skeleton: React.FC<SkeletonProps>;
17
17
  //#endregion
18
18
  export { Skeleton as t };
19
- //# sourceMappingURL=index-B9eik20w.d.ts.map
19
+ //# sourceMappingURL=index-DaxLlCt_.d.ts.map
@@ -49,4 +49,4 @@ type IconButtonVariant = 'filled' | 'outlined' | 'ghost';
49
49
  declare const IconButton: React.FC<IconButtonProps>;
50
50
  //#endregion
51
51
  export { IconButton as t };
52
- //# sourceMappingURL=index-CfJRp6Z5.d.ts.map
52
+ //# sourceMappingURL=index-DsuLq-mw.d.ts.map
@@ -1,6 +1,6 @@
1
- import { i as PaddingProps, n as LayoutProps } from "./styleProps-9dCJTnWO.js";
2
- import { i as TypeStyles } from "./useThemedStyles-D0Wj8XM7.js";
3
- import { n as TypographyVariant } from "./types-X5cadzGX.js";
1
+ import { i as PaddingProps, n as LayoutProps } from "./styleProps-CntgA2bz.js";
2
+ import { i as TypeStyles } from "./useThemedStyles-ClPrd4wW.js";
3
+ import { n as TypographyVariant } from "./types-NSbCuvRr.js";
4
4
  import React, { MouseEvent, ReactNode } from "react";
5
5
 
6
6
  //#region src/components/commons/buttons/Button/styles.d.ts
@@ -121,4 +121,4 @@ interface ButtonProps extends PaddingProps, LayoutProps {
121
121
  declare const Button: React.FC<ButtonProps>;
122
122
  //#endregion
123
123
  export { Button as t };
124
- //# sourceMappingURL=index-C4JS9PSn.d.ts.map
124
+ //# sourceMappingURL=index-DuwmDJgm.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as Placement } from "./types-ByiN1FkJ.js";
1
+ import { n as Placement } from "./types-FwxL7aW5.js";
2
2
  import { ReactNode } from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -70,4 +70,4 @@ interface ContextMenuProps<T> {
70
70
  declare const ContextMenu: <T extends string>(props: ContextMenuProps<T>) => react_jsx_runtime0.JSX.Element;
71
71
  //#endregion
72
72
  export { types_d_exports as n, ContextMenu as t };
73
- //# sourceMappingURL=index-CFojep1-.d.ts.map
73
+ //# sourceMappingURL=index-W18JT5Ey.d.ts.map
@@ -294,4 +294,4 @@ declare const ThemeProvider: React.FC<ThemeProviderProps>;
294
294
  declare function useTheme(): ThemeContextData;
295
295
  //#endregion
296
296
  export { ThemeName as a, ThemeRegistry as c, ThemeMode as i, ThemeTokens as l, useTheme as n, ThemePersistence as o, ThemeContextData as r, ThemeProviderProps as s, ThemeProvider as t };
297
- //# sourceMappingURL=index-DCRi1D3M.d.ts.map
297
+ //# sourceMappingURL=index-pb46GNxT.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,26 +1,26 @@
1
- import "./types-X5cadzGX.js";
2
- import { t as Button } from "./index-C4JS9PSn.js";
3
- import { t as IconButton } from "./index-CfJRp6Z5.js";
4
- import { n as Locale, r as MaskType, t as MaskModule } from "./index-Cs-WJgro.js";
5
- import { t as Input } from "./index-B9F6s4M6.js";
6
- import { n as types_d_exports$3, t as Select } from "./index-d_2Cjz1T.js";
7
- import { n as types_d_exports$2 } from "./types-mUSoybMc.js";
8
- import { t as TextArea } from "./index-B7FPiP1T.js";
9
- import { t as Popover } from "./index-z_-twWT-.js";
10
- import { t as BasePopover } from "./index-CuNXel3a.js";
11
- import { t as Breadcrumb } from "./index-CrKxTYgR.js";
12
- import { t as Skeleton } from "./index-B9eik20w.js";
13
- import { t as CheckItem } from "./index-D8phtbEN.js";
14
- import { t as Checkbox } from "./index-CJHsyNfq.js";
15
- import { r as types_d_exports } from "./types-gPgzbDxA.js";
1
+ import "./types-NSbCuvRr.js";
2
+ import { t as Button } from "./index-DuwmDJgm.js";
3
+ import { t as IconButton } from "./index-DsuLq-mw.js";
4
+ import { n as Locale, r as MaskType, t as MaskModule } from "./index-CBppDr5R.js";
5
+ import { t as Input } from "./index-DTWpYpA9.js";
6
+ import { n as types_d_exports$3, t as Select } from "./index-BS68Mp68.js";
7
+ import { n as types_d_exports$2 } from "./types-DZ6gPTYT.js";
8
+ import { t as TextArea } from "./index-7XwQGvrk.js";
9
+ import { t as Popover } from "./index-DR6lOsN7.js";
10
+ import { t as BasePopover } from "./index-B2PIaNMu.js";
11
+ import { t as Breadcrumb } from "./index-BfVdqarn.js";
12
+ import { t as Skeleton } from "./index-DaxLlCt_.js";
13
+ import { t as CheckItem } from "./index-BsTs8mui.js";
14
+ import { t as Checkbox } from "./index-C86jTuzO.js";
15
+ import { r as types_d_exports } from "./types-DxP32BlE.js";
16
16
  import { Chip } from "./chip.js";
17
- import { t as ChipList } from "./index-yD8AFwqR.js";
18
- import { n as types_d_exports$1, t as ContextMenu } from "./index-CFojep1-.js";
17
+ import { t as ChipList } from "./index-BQpj6_SN.js";
18
+ import { n as types_d_exports$1, t as ContextMenu } from "./index-W18JT5Ey.js";
19
19
  import { InfoSummary, InfoSummaryItem, InfoSummaryProps } from "./info-summary.js";
20
- import { t as Switch } from "./index-CzTlwSA6.js";
21
- import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-zAekwBhQ.js";
20
+ import { t as Switch } from "./index-Cb_tkhK8.js";
21
+ import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-CdTCwpWl.js";
22
22
  import { Typography } from "./typography.js";
23
- import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-DCRi1D3M.js";
23
+ import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-pb46GNxT.js";
24
24
  import { useDismiss } from "./use-dismiss.js";
25
25
  import { AnchorLike, useFloating } from "./use-floating.js";
26
26
  import { useVirtualAnchor } from "./use-virtual-anchor.js";
package/dist/index.js CHANGED
@@ -15,14 +15,15 @@ import { n as types_exports$1, t as ContextMenu } from "./ContextMenu-DUHmXf8f.j
15
15
  import { n as types_exports, t as Chip } from "./Chip-CxSFYy0c.js";
16
16
  import "./ErrorMessage-C2FJLFsj.js";
17
17
  import { t as ChipList } from "./ChipList-oMddO6fO.js";
18
- import { t as Button } from "./Button-BIvpHJtO.js";
19
- import { t as IconButton } from "./IconButton-iiLQQcYQ.js";
20
- import { n as MaskType, r as MaskModule, t as Locale } from "./MaskModule-Msq9W67y.js";
21
- import { t as Input } from "./Input-hznFa6IM.js";
22
- import { n as types_exports$3, t as Select } from "./Select-Bvq9Xdgv.js";
23
- import { t as TextArea } from "./TextArea-CdJ_LEke.js";
24
- import { t as Skeleton } from "./Skeleton-D0DopfRg.js";
18
+ import "./Loader-CmESHuyP.js";
19
+ import { t as Button } from "./Button-BVxsixz_.js";
20
+ import { t as IconButton } from "./IconButton-BUBVowPJ.js";
21
+ import { n as MaskType, r as MaskModule, t as Locale } from "./MaskModule-eB4lPBKt.js";
22
+ import { t as Input } from "./Input-Cxr_P2wz.js";
23
+ import { n as types_exports$3, t as Select } from "./Select-DzahPXcJ.js";
24
+ import { t as TextArea } from "./TextArea-B0QQy0U5.js";
25
+ import { t as Skeleton } from "./Skeleton-BPFVMk3-.js";
25
26
  import { useVirtualAnchor } from "./use-virtual-anchor.js";
26
- import { t as Breadcrumb } from "./Breadcrumb-DCx_3Gei.js";
27
+ import { t as Breadcrumb } from "./Breadcrumb-BLu27RXT.js";
27
28
 
28
29
  export { BasePopover, Breadcrumb, Button, CheckItem, Checkbox, Chip, ChipList, types_exports as ChipTypes, ContextMenu, types_exports$1 as ContextMenuTypes, IconButton, InfoSummary, Input, Locale, MaskModule, MaskType, Popover, types_exports$2 as PopoverTypes, Select, types_exports$3 as SelectTypes, Skeleton, Switch, TabSwitch, TextArea, ThemeProvider, Typography, useDismiss, useFloating, useTheme, useVirtualAnchor };
package/dist/input.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as Input } from "./index-B9F6s4M6.js";
1
+ import { t as Input } from "./index-DTWpYpA9.js";
2
2
  export { Input };
package/dist/input.js CHANGED
@@ -2,7 +2,7 @@ import "./useThemedStyles-BBJ_TF_l.js";
2
2
  import "./Icon-RM-EqP7I.js";
3
3
  import "./Typography-3tAIdGuj.js";
4
4
  import "./ErrorMessage-C2FJLFsj.js";
5
- import "./MaskModule-Msq9W67y.js";
6
- import { t as Input } from "./Input-hznFa6IM.js";
5
+ import "./MaskModule-eB4lPBKt.js";
6
+ import { t as Input } from "./Input-Cxr_P2wz.js";
7
7
 
8
8
  export { Input };
@@ -1,2 +1,2 @@
1
- import { n as Locale, r as MaskType, t as MaskModule } from "./index-Cs-WJgro.js";
1
+ import { n as Locale, r as MaskType, t as MaskModule } from "./index-CBppDr5R.js";
2
2
  export { Locale, MaskModule, MaskType };
@@ -1,3 +1,3 @@
1
- import { n as MaskType, r as MaskModule, t as Locale } from "./MaskModule-Msq9W67y.js";
1
+ import { n as MaskType, r as MaskModule, t as Locale } from "./MaskModule-eB4lPBKt.js";
2
2
 
3
3
  export { Locale, MaskModule, MaskType };
package/dist/popover.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { n as types_d_exports } from "./types-mUSoybMc.js";
2
- import { t as Popover } from "./index-z_-twWT-.js";
1
+ import { n as types_d_exports } from "./types-DZ6gPTYT.js";
2
+ import { t as Popover } from "./index-DR6lOsN7.js";
3
3
  export { Popover, types_d_exports as PopoverTypes };
package/dist/select.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { n as types_d_exports, t as Select } from "./index-d_2Cjz1T.js";
2
- import "./types-mUSoybMc.js";
1
+ import { n as types_d_exports, t as Select } from "./index-BS68Mp68.js";
2
+ import "./types-DZ6gPTYT.js";
3
3
  export { Select, types_d_exports as SelectTypes };
package/dist/select.js CHANGED
@@ -6,6 +6,7 @@ import "./Icon-RM-EqP7I.js";
6
6
  import "./Typography-3tAIdGuj.js";
7
7
  import "./BasePopover-BYa7SBXE.js";
8
8
  import "./ErrorMessage-C2FJLFsj.js";
9
- import { n as types_exports, t as Select } from "./Select-Bvq9Xdgv.js";
9
+ import "./Loader-CmESHuyP.js";
10
+ import { n as types_exports, t as Select } from "./Select-DzahPXcJ.js";
10
11
 
11
12
  export { Select, types_exports as SelectTypes };
@@ -1,2 +1,2 @@
1
- import { t as Skeleton } from "./index-B9eik20w.js";
1
+ import { t as Skeleton } from "./index-DaxLlCt_.js";
2
2
  export { Skeleton };
package/dist/skeleton.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./useThemedStyles-BBJ_TF_l.js";
2
- import { t as Skeleton } from "./Skeleton-D0DopfRg.js";
2
+ import { t as Skeleton } from "./Skeleton-BPFVMk3-.js";
3
3
 
4
4
  export { Skeleton };
@@ -44,4 +44,4 @@ interface LayoutProps {
44
44
  type CommonStyleProps = MarginProps & PaddingProps & TextProps & LayoutProps;
45
45
  //#endregion
46
46
  export { TextProps as a, PaddingProps as i, LayoutProps as n, MarginProps as r, CommonStyleProps as t };
47
- //# sourceMappingURL=styleProps-9dCJTnWO.d.ts.map
47
+ //# sourceMappingURL=styleProps-CntgA2bz.d.ts.map
package/dist/switch.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as Switch } from "./index-CzTlwSA6.js";
1
+ import { t as Switch } from "./index-Cb_tkhK8.js";
2
2
  export { Switch };
@@ -1,2 +1,2 @@
1
- import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-zAekwBhQ.js";
1
+ import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-CdTCwpWl.js";
2
2
  export { SwitchOption, TabSwitch, TabSwitchProps };
@@ -1,2 +1,2 @@
1
- import { t as TextArea } from "./index-B7FPiP1T.js";
1
+ import { t as TextArea } from "./index-7XwQGvrk.js";
2
2
  export { TextArea };
package/dist/text-area.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./useThemedStyles-BBJ_TF_l.js";
2
2
  import "./Typography-3tAIdGuj.js";
3
3
  import "./ErrorMessage-C2FJLFsj.js";
4
- import { t as TextArea } from "./TextArea-CdJ_LEke.js";
4
+ import { t as TextArea } from "./TextArea-B0QQy0U5.js";
5
5
 
6
6
  export { TextArea };