@handijitcom/ui 0.0.0-stage → 1.1.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/LICENSE +21 -0
- package/README.md +1025 -2
- package/build/base.css +1 -0
- package/build/calendar.cjs +2 -0
- package/build/calendar.cjs.map +1 -0
- package/build/calendar.css +1 -0
- package/build/calendar.js +741 -0
- package/build/calendar.js.map +1 -0
- package/build/charts.cjs +2 -0
- package/build/charts.cjs.map +1 -0
- package/build/charts.css +1 -0
- package/build/charts.js +1866 -0
- package/build/charts.js.map +1 -0
- package/build/chat.cjs +4 -0
- package/build/chat.cjs.map +1 -0
- package/build/chat.css +1 -0
- package/build/chat.js +1126 -0
- package/build/chat.js.map +1 -0
- package/build/components/Accordion/index.cjs +2 -0
- package/build/components/Accordion/index.cjs.map +1 -0
- package/build/components/Accordion/index.d.cts +29 -0
- package/build/components/Accordion/index.d.ts +29 -0
- package/build/components/Accordion/index.js +42 -0
- package/build/components/Accordion/index.js.map +1 -0
- package/build/components/Accordion/style.css +1 -0
- package/build/components/Alert/index.cjs +2 -0
- package/build/components/Alert/index.cjs.map +1 -0
- package/build/components/Alert/index.d.cts +15 -0
- package/build/components/Alert/index.d.ts +15 -0
- package/build/components/Alert/index.js +32 -0
- package/build/components/Alert/index.js.map +1 -0
- package/build/components/Alert/style.css +1 -0
- package/build/components/Avatar/index.cjs +2 -0
- package/build/components/Avatar/index.cjs.map +1 -0
- package/build/components/Avatar/index.d.cts +26 -0
- package/build/components/Avatar/index.d.ts +26 -0
- package/build/components/Avatar/index.js +57 -0
- package/build/components/Avatar/index.js.map +1 -0
- package/build/components/Avatar/style.css +1 -0
- package/build/components/Badge/index.cjs +2 -0
- package/build/components/Badge/index.cjs.map +1 -0
- package/build/components/Badge/index.d.cts +21 -0
- package/build/components/Badge/index.d.ts +21 -0
- package/build/components/Badge/index.js +26 -0
- package/build/components/Badge/index.js.map +1 -0
- package/build/components/Badge/style.css +1 -0
- package/build/components/BottomSheet/index.cjs +2 -0
- package/build/components/BottomSheet/index.cjs.map +1 -0
- package/build/components/BottomSheet/index.d.cts +21 -0
- package/build/components/BottomSheet/index.d.ts +21 -0
- package/build/components/BottomSheet/index.js +85 -0
- package/build/components/BottomSheet/index.js.map +1 -0
- package/build/components/BottomSheet/style.css +1 -0
- package/build/components/Breadcrumb/index.cjs +2 -0
- package/build/components/Breadcrumb/index.cjs.map +1 -0
- package/build/components/Breadcrumb/index.d.cts +20 -0
- package/build/components/Breadcrumb/index.d.ts +20 -0
- package/build/components/Breadcrumb/index.js +31 -0
- package/build/components/Breadcrumb/index.js.map +1 -0
- package/build/components/Breadcrumb/style.css +1 -0
- package/build/components/Button/index.cjs +2 -0
- package/build/components/Button/index.cjs.map +1 -0
- package/build/components/Button/index.d.cts +32 -0
- package/build/components/Button/index.d.ts +32 -0
- package/build/components/Button/index.js +88 -0
- package/build/components/Button/index.js.map +1 -0
- package/build/components/Button/style.css +1 -0
- package/build/components/Card/index.cjs +2 -0
- package/build/components/Card/index.cjs.map +1 -0
- package/build/components/Card/index.d.cts +51 -0
- package/build/components/Card/index.d.ts +51 -0
- package/build/components/Card/index.js +58 -0
- package/build/components/Card/index.js.map +1 -0
- package/build/components/Card/style.css +1 -0
- package/build/components/Carousel/index.cjs +2 -0
- package/build/components/Carousel/index.cjs.map +1 -0
- package/build/components/Carousel/index.d.cts +24 -0
- package/build/components/Carousel/index.d.ts +24 -0
- package/build/components/Carousel/index.js +111 -0
- package/build/components/Carousel/index.js.map +1 -0
- package/build/components/Carousel/style.css +1 -0
- package/build/components/Checkbox/index.cjs +2 -0
- package/build/components/Checkbox/index.cjs.map +1 -0
- package/build/components/Checkbox/index.d.cts +15 -0
- package/build/components/Checkbox/index.d.ts +15 -0
- package/build/components/Checkbox/index.js +50 -0
- package/build/components/Checkbox/index.js.map +1 -0
- package/build/components/Checkbox/style.css +1 -0
- package/build/components/Chip/index.cjs +2 -0
- package/build/components/Chip/index.cjs.map +1 -0
- package/build/components/Chip/index.d.cts +27 -0
- package/build/components/Chip/index.d.ts +27 -0
- package/build/components/Chip/index.js +67 -0
- package/build/components/Chip/index.js.map +1 -0
- package/build/components/Chip/style.css +1 -0
- package/build/components/ChipGroup/index.cjs +2 -0
- package/build/components/ChipGroup/index.cjs.map +1 -0
- package/build/components/ChipGroup/index.d.cts +53 -0
- package/build/components/ChipGroup/index.d.ts +53 -0
- package/build/components/ChipGroup/index.js +81 -0
- package/build/components/ChipGroup/index.js.map +1 -0
- package/build/components/ChipGroup/style.css +1 -0
- package/build/components/CodeBadge/index.cjs +2 -0
- package/build/components/CodeBadge/index.cjs.map +1 -0
- package/build/components/CodeBadge/index.d.cts +36 -0
- package/build/components/CodeBadge/index.d.ts +36 -0
- package/build/components/CodeBadge/index.js +62 -0
- package/build/components/CodeBadge/index.js.map +1 -0
- package/build/components/CodeBadge/style.css +1 -0
- package/build/components/Combobox/index.cjs +2 -0
- package/build/components/Combobox/index.cjs.map +1 -0
- package/build/components/Combobox/index.d.cts +8 -0
- package/build/components/Combobox/index.d.ts +8 -0
- package/build/components/Combobox/index.js +332 -0
- package/build/components/Combobox/index.js.map +1 -0
- package/build/components/Combobox/style.css +1 -0
- package/build/components/CommandPalette/index.cjs +2 -0
- package/build/components/CommandPalette/index.cjs.map +1 -0
- package/build/components/CommandPalette/index.d.cts +37 -0
- package/build/components/CommandPalette/index.d.ts +37 -0
- package/build/components/CommandPalette/index.js +181 -0
- package/build/components/CommandPalette/index.js.map +1 -0
- package/build/components/CommandPalette/style.css +1 -0
- package/build/components/ConfirmDialog/index.cjs +2 -0
- package/build/components/ConfirmDialog/index.cjs.map +1 -0
- package/build/components/ConfirmDialog/index.d.cts +34 -0
- package/build/components/ConfirmDialog/index.d.ts +34 -0
- package/build/components/ConfirmDialog/index.js +85 -0
- package/build/components/ConfirmDialog/index.js.map +1 -0
- package/build/components/CopyField/index.cjs +2 -0
- package/build/components/CopyField/index.cjs.map +1 -0
- package/build/components/CopyField/index.d.cts +20 -0
- package/build/components/CopyField/index.d.ts +20 -0
- package/build/components/CopyField/index.js +44 -0
- package/build/components/CopyField/index.js.map +1 -0
- package/build/components/CopyField/style.css +1 -0
- package/build/components/DataTable/index.cjs +2 -0
- package/build/components/DataTable/index.cjs.map +1 -0
- package/build/components/DataTable/index.d.cts +60 -0
- package/build/components/DataTable/index.d.ts +60 -0
- package/build/components/DataTable/index.js +109 -0
- package/build/components/DataTable/index.js.map +1 -0
- package/build/components/DataTable/style.css +1 -0
- package/build/components/DateField/index.cjs +2 -0
- package/build/components/DateField/index.cjs.map +1 -0
- package/build/components/DateField/index.d.cts +57 -0
- package/build/components/DateField/index.d.ts +57 -0
- package/build/components/DateField/index.js +90 -0
- package/build/components/DateField/index.js.map +1 -0
- package/build/components/DateField/style.css +1 -0
- package/build/components/Directory/index.cjs +2 -0
- package/build/components/Directory/index.cjs.map +1 -0
- package/build/components/Directory/index.d.cts +51 -0
- package/build/components/Directory/index.d.ts +51 -0
- package/build/components/Directory/index.js +46 -0
- package/build/components/Directory/index.js.map +1 -0
- package/build/components/Directory/style.css +1 -0
- package/build/components/Disclosure/index.cjs +2 -0
- package/build/components/Disclosure/index.cjs.map +1 -0
- package/build/components/Disclosure/index.d.cts +34 -0
- package/build/components/Disclosure/index.d.ts +34 -0
- package/build/components/Disclosure/index.js +64 -0
- package/build/components/Disclosure/index.js.map +1 -0
- package/build/components/Disclosure/style.css +1 -0
- package/build/components/Divider/index.cjs +2 -0
- package/build/components/Divider/index.cjs.map +1 -0
- package/build/components/Divider/index.d.cts +10 -0
- package/build/components/Divider/index.d.ts +10 -0
- package/build/components/Divider/index.js +24 -0
- package/build/components/Divider/index.js.map +1 -0
- package/build/components/Divider/style.css +1 -0
- package/build/components/Drawer/index.cjs +2 -0
- package/build/components/Drawer/index.cjs.map +1 -0
- package/build/components/Drawer/index.d.cts +29 -0
- package/build/components/Drawer/index.d.ts +29 -0
- package/build/components/Drawer/index.js +91 -0
- package/build/components/Drawer/index.js.map +1 -0
- package/build/components/Drawer/style.css +1 -0
- package/build/components/EmptyState/index.cjs +2 -0
- package/build/components/EmptyState/index.cjs.map +1 -0
- package/build/components/EmptyState/index.d.cts +19 -0
- package/build/components/EmptyState/index.d.ts +19 -0
- package/build/components/EmptyState/index.js +35 -0
- package/build/components/EmptyState/index.js.map +1 -0
- package/build/components/EmptyState/style.css +1 -0
- package/build/components/Field/index.cjs +2 -0
- package/build/components/Field/index.cjs.map +1 -0
- package/build/components/Field/index.d.cts +37 -0
- package/build/components/Field/index.d.ts +37 -0
- package/build/components/Field/index.js +54 -0
- package/build/components/Field/index.js.map +1 -0
- package/build/components/Field/style.css +1 -0
- package/build/components/FileUpload/index.cjs +2 -0
- package/build/components/FileUpload/index.cjs.map +1 -0
- package/build/components/FileUpload/index.d.cts +42 -0
- package/build/components/FileUpload/index.d.ts +42 -0
- package/build/components/FileUpload/index.js +145 -0
- package/build/components/FileUpload/index.js.map +1 -0
- package/build/components/FileUpload/style.css +1 -0
- package/build/components/FilterBar/index.cjs +2 -0
- package/build/components/FilterBar/index.cjs.map +1 -0
- package/build/components/FilterBar/index.d.cts +28 -0
- package/build/components/FilterBar/index.d.ts +28 -0
- package/build/components/FilterBar/index.js +35 -0
- package/build/components/FilterBar/index.js.map +1 -0
- package/build/components/FilterBar/style.css +1 -0
- package/build/components/IconButton/index.cjs +2 -0
- package/build/components/IconButton/index.cjs.map +1 -0
- package/build/components/IconButton/index.d.cts +26 -0
- package/build/components/IconButton/index.d.ts +26 -0
- package/build/components/IconButton/index.js +61 -0
- package/build/components/IconButton/index.js.map +1 -0
- package/build/components/IconButton/style.css +1 -0
- package/build/components/Input/index.cjs +2 -0
- package/build/components/Input/index.cjs.map +1 -0
- package/build/components/Input/index.d.cts +15 -0
- package/build/components/Input/index.d.ts +15 -0
- package/build/components/Input/index.js +52 -0
- package/build/components/Input/index.js.map +1 -0
- package/build/components/Input/style.css +1 -0
- package/build/components/Kbd/index.cjs +2 -0
- package/build/components/Kbd/index.cjs.map +1 -0
- package/build/components/Kbd/index.d.cts +12 -0
- package/build/components/Kbd/index.d.ts +12 -0
- package/build/components/Kbd/index.js +13 -0
- package/build/components/Kbd/index.js.map +1 -0
- package/build/components/Kbd/style.css +1 -0
- package/build/components/Link/index.cjs +2 -0
- package/build/components/Link/index.cjs.map +1 -0
- package/build/components/Link/index.d.cts +5 -0
- package/build/components/Link/index.d.ts +5 -0
- package/build/components/Link/index.js +11 -0
- package/build/components/Link/index.js.map +1 -0
- package/build/components/Menu/index.cjs +2 -0
- package/build/components/Menu/index.cjs.map +1 -0
- package/build/components/Menu/index.d.cts +46 -0
- package/build/components/Menu/index.d.ts +46 -0
- package/build/components/Menu/index.js +241 -0
- package/build/components/Menu/index.js.map +1 -0
- package/build/components/Menu/style.css +1 -0
- package/build/components/Modal/index.cjs +2 -0
- package/build/components/Modal/index.cjs.map +1 -0
- package/build/components/Modal/index.d.cts +35 -0
- package/build/components/Modal/index.d.ts +35 -0
- package/build/components/Modal/index.js +95 -0
- package/build/components/Modal/index.js.map +1 -0
- package/build/components/Modal/style.css +1 -0
- package/build/components/MoneyInput/index.cjs +2 -0
- package/build/components/MoneyInput/index.cjs.map +1 -0
- package/build/components/MoneyInput/index.d.cts +17 -0
- package/build/components/MoneyInput/index.d.ts +17 -0
- package/build/components/MoneyInput/index.js +22 -0
- package/build/components/MoneyInput/index.js.map +1 -0
- package/build/components/PageHeader/index.cjs +2 -0
- package/build/components/PageHeader/index.cjs.map +1 -0
- package/build/components/PageHeader/index.d.cts +24 -0
- package/build/components/PageHeader/index.d.ts +24 -0
- package/build/components/PageHeader/index.js +34 -0
- package/build/components/PageHeader/index.js.map +1 -0
- package/build/components/PageHeader/style.css +1 -0
- package/build/components/Pagination/index.cjs +2 -0
- package/build/components/Pagination/index.cjs.map +1 -0
- package/build/components/Pagination/index.d.cts +39 -0
- package/build/components/Pagination/index.d.ts +39 -0
- package/build/components/Pagination/index.js +128 -0
- package/build/components/Pagination/index.js.map +1 -0
- package/build/components/Pagination/style.css +1 -0
- package/build/components/Panel/index.cjs +2 -0
- package/build/components/Panel/index.cjs.map +1 -0
- package/build/components/Panel/index.d.cts +43 -0
- package/build/components/Panel/index.d.ts +43 -0
- package/build/components/Panel/index.js +55 -0
- package/build/components/Panel/index.js.map +1 -0
- package/build/components/Panel/style.css +1 -0
- package/build/components/PasswordInput/index.cjs +2 -0
- package/build/components/PasswordInput/index.cjs.map +1 -0
- package/build/components/PasswordInput/index.d.cts +14 -0
- package/build/components/PasswordInput/index.d.ts +14 -0
- package/build/components/PasswordInput/index.js +40 -0
- package/build/components/PasswordInput/index.js.map +1 -0
- package/build/components/PasswordInput/style.css +1 -0
- package/build/components/PercentInput/index.cjs +2 -0
- package/build/components/PercentInput/index.cjs.map +1 -0
- package/build/components/PercentInput/index.d.cts +10 -0
- package/build/components/PercentInput/index.d.ts +10 -0
- package/build/components/PercentInput/index.js +14 -0
- package/build/components/PercentInput/index.js.map +1 -0
- package/build/components/Popover/index.cjs +2 -0
- package/build/components/Popover/index.cjs.map +1 -0
- package/build/components/Popover/index.d.cts +26 -0
- package/build/components/Popover/index.d.ts +26 -0
- package/build/components/Popover/index.js +106 -0
- package/build/components/Popover/index.js.map +1 -0
- package/build/components/Popover/style.css +1 -0
- package/build/components/Price/index.cjs +2 -0
- package/build/components/Price/index.cjs.map +1 -0
- package/build/components/Price/index.d.cts +22 -0
- package/build/components/Price/index.d.ts +22 -0
- package/build/components/Price/index.js +46 -0
- package/build/components/Price/index.js.map +1 -0
- package/build/components/Price/style.css +1 -0
- package/build/components/Progress/index.cjs +2 -0
- package/build/components/Progress/index.cjs.map +1 -0
- package/build/components/Progress/index.d.cts +59 -0
- package/build/components/Progress/index.d.ts +59 -0
- package/build/components/Progress/index.js +124 -0
- package/build/components/Progress/index.js.map +1 -0
- package/build/components/Progress/style.css +1 -0
- package/build/components/PromptDialog/index.cjs +2 -0
- package/build/components/PromptDialog/index.cjs.map +1 -0
- package/build/components/PromptDialog/index.d.cts +36 -0
- package/build/components/PromptDialog/index.d.ts +36 -0
- package/build/components/PromptDialog/index.js +119 -0
- package/build/components/PromptDialog/index.js.map +1 -0
- package/build/components/PromptDialog/style.css +1 -0
- package/build/components/QuantityInput/index.cjs +2 -0
- package/build/components/QuantityInput/index.cjs.map +1 -0
- package/build/components/QuantityInput/index.d.cts +17 -0
- package/build/components/QuantityInput/index.d.ts +17 -0
- package/build/components/QuantityInput/index.js +23 -0
- package/build/components/QuantityInput/index.js.map +1 -0
- package/build/components/QuantityStepper/index.cjs +2 -0
- package/build/components/QuantityStepper/index.cjs.map +1 -0
- package/build/components/QuantityStepper/index.d.cts +37 -0
- package/build/components/QuantityStepper/index.d.ts +37 -0
- package/build/components/QuantityStepper/index.js +118 -0
- package/build/components/QuantityStepper/index.js.map +1 -0
- package/build/components/QuantityStepper/style.css +1 -0
- package/build/components/Radio/index.cjs +2 -0
- package/build/components/Radio/index.cjs.map +1 -0
- package/build/components/Radio/index.d.cts +18 -0
- package/build/components/Radio/index.d.ts +18 -0
- package/build/components/Radio/index.js +53 -0
- package/build/components/Radio/index.js.map +1 -0
- package/build/components/Radio/style.css +1 -0
- package/build/components/RadioCard/index.cjs +2 -0
- package/build/components/RadioCard/index.cjs.map +1 -0
- package/build/components/RadioCard/index.d.cts +16 -0
- package/build/components/RadioCard/index.d.ts +16 -0
- package/build/components/RadioCard/index.js +48 -0
- package/build/components/RadioCard/index.js.map +1 -0
- package/build/components/RadioCard/style.css +1 -0
- package/build/components/RangeSlider/index.cjs +2 -0
- package/build/components/RangeSlider/index.cjs.map +1 -0
- package/build/components/RangeSlider/index.d.cts +45 -0
- package/build/components/RangeSlider/index.d.ts +45 -0
- package/build/components/RangeSlider/index.js +121 -0
- package/build/components/RangeSlider/index.js.map +1 -0
- package/build/components/RangeSlider/style.css +1 -0
- package/build/components/RateInput/index.cjs +2 -0
- package/build/components/RateInput/index.cjs.map +1 -0
- package/build/components/RateInput/index.d.cts +9 -0
- package/build/components/RateInput/index.d.ts +9 -0
- package/build/components/RateInput/index.js +18 -0
- package/build/components/RateInput/index.js.map +1 -0
- package/build/components/Rating/index.cjs +2 -0
- package/build/components/Rating/index.cjs.map +1 -0
- package/build/components/Rating/index.d.cts +16 -0
- package/build/components/Rating/index.d.ts +16 -0
- package/build/components/Rating/index.js +29 -0
- package/build/components/Rating/index.js.map +1 -0
- package/build/components/Rating/style.css +1 -0
- package/build/components/RatingInput/index.cjs +2 -0
- package/build/components/RatingInput/index.cjs.map +1 -0
- package/build/components/RatingInput/index.d.cts +34 -0
- package/build/components/RatingInput/index.d.ts +34 -0
- package/build/components/RatingInput/index.js +89 -0
- package/build/components/RatingInput/index.js.map +1 -0
- package/build/components/RatingInput/style.css +1 -0
- package/build/components/ScaledInput/index.cjs +2 -0
- package/build/components/ScaledInput/index.cjs.map +1 -0
- package/build/components/ScaledInput/index.d.cts +77 -0
- package/build/components/ScaledInput/index.d.ts +77 -0
- package/build/components/ScaledInput/index.js +77 -0
- package/build/components/ScaledInput/index.js.map +1 -0
- package/build/components/ScaledInput/style.css +1 -0
- package/build/components/ScrollArea/index.cjs +2 -0
- package/build/components/ScrollArea/index.cjs.map +1 -0
- package/build/components/ScrollArea/index.d.cts +23 -0
- package/build/components/ScrollArea/index.d.ts +23 -0
- package/build/components/ScrollArea/index.js +65 -0
- package/build/components/ScrollArea/index.js.map +1 -0
- package/build/components/ScrollArea/style.css +1 -0
- package/build/components/SectionHeader/index.cjs +2 -0
- package/build/components/SectionHeader/index.cjs.map +1 -0
- package/build/components/SectionHeader/index.d.cts +17 -0
- package/build/components/SectionHeader/index.d.ts +17 -0
- package/build/components/SectionHeader/index.js +25 -0
- package/build/components/SectionHeader/index.js.map +1 -0
- package/build/components/SectionHeader/style.css +1 -0
- package/build/components/SegmentedControl/index.cjs +2 -0
- package/build/components/SegmentedControl/index.cjs.map +1 -0
- package/build/components/SegmentedControl/index.d.cts +39 -0
- package/build/components/SegmentedControl/index.d.ts +39 -0
- package/build/components/SegmentedControl/index.js +84 -0
- package/build/components/SegmentedControl/index.js.map +1 -0
- package/build/components/SegmentedControl/style.css +1 -0
- package/build/components/Select/index.cjs +2 -0
- package/build/components/Select/index.cjs.map +1 -0
- package/build/components/Select/index.d.cts +52 -0
- package/build/components/Select/index.d.ts +52 -0
- package/build/components/Select/index.js +206 -0
- package/build/components/Select/index.js.map +1 -0
- package/build/components/Select/style.css +1 -0
- package/build/components/Skeleton/index.cjs +2 -0
- package/build/components/Skeleton/index.cjs.map +1 -0
- package/build/components/Skeleton/index.d.cts +25 -0
- package/build/components/Skeleton/index.d.ts +25 -0
- package/build/components/Skeleton/index.js +50 -0
- package/build/components/Skeleton/index.js.map +1 -0
- package/build/components/Skeleton/style.css +1 -0
- package/build/components/Spinner/index.cjs +2 -0
- package/build/components/Spinner/index.cjs.map +1 -0
- package/build/components/Spinner/index.d.cts +16 -0
- package/build/components/Spinner/index.d.ts +16 -0
- package/build/components/Spinner/index.js +15 -0
- package/build/components/Spinner/index.js.map +1 -0
- package/build/components/Spinner/style.css +1 -0
- package/build/components/Stat/index.cjs +2 -0
- package/build/components/Stat/index.cjs.map +1 -0
- package/build/components/Stat/index.d.cts +34 -0
- package/build/components/Stat/index.d.ts +34 -0
- package/build/components/Stat/index.js +72 -0
- package/build/components/Stat/index.js.map +1 -0
- package/build/components/Stat/style.css +1 -0
- package/build/components/StatusDot/index.cjs +2 -0
- package/build/components/StatusDot/index.cjs.map +1 -0
- package/build/components/StatusDot/index.d.cts +23 -0
- package/build/components/StatusDot/index.d.ts +23 -0
- package/build/components/StatusDot/index.js +23 -0
- package/build/components/StatusDot/index.js.map +1 -0
- package/build/components/StatusDot/style.css +1 -0
- package/build/components/Steps/index.cjs +2 -0
- package/build/components/Steps/index.cjs.map +1 -0
- package/build/components/Steps/index.d.cts +23 -0
- package/build/components/Steps/index.d.ts +23 -0
- package/build/components/Steps/index.js +69 -0
- package/build/components/Steps/index.js.map +1 -0
- package/build/components/Steps/style.css +1 -0
- package/build/components/SummaryCard/index.cjs +2 -0
- package/build/components/SummaryCard/index.cjs.map +1 -0
- package/build/components/SummaryCard/index.d.cts +24 -0
- package/build/components/SummaryCard/index.d.ts +24 -0
- package/build/components/SummaryCard/index.js +33 -0
- package/build/components/SummaryCard/index.js.map +1 -0
- package/build/components/SummaryCard/style.css +1 -0
- package/build/components/Switch/index.cjs +2 -0
- package/build/components/Switch/index.cjs.map +1 -0
- package/build/components/Switch/index.d.cts +21 -0
- package/build/components/Switch/index.d.ts +21 -0
- package/build/components/Switch/index.js +60 -0
- package/build/components/Switch/index.js.map +1 -0
- package/build/components/Switch/style.css +1 -0
- package/build/components/Table/index.cjs +2 -0
- package/build/components/Table/index.cjs.map +1 -0
- package/build/components/Table/index.d.cts +28 -0
- package/build/components/Table/index.d.ts +28 -0
- package/build/components/Table/index.js +58 -0
- package/build/components/Table/index.js.map +1 -0
- package/build/components/Table/style.css +1 -0
- package/build/components/TableCheckbox/index.cjs +2 -0
- package/build/components/TableCheckbox/index.cjs.map +1 -0
- package/build/components/TableCheckbox/index.d.cts +15 -0
- package/build/components/TableCheckbox/index.d.ts +15 -0
- package/build/components/TableCheckbox/index.js +31 -0
- package/build/components/TableCheckbox/index.js.map +1 -0
- package/build/components/TableCheckbox/style.css +1 -0
- package/build/components/Tabs/index.cjs +2 -0
- package/build/components/Tabs/index.cjs.map +1 -0
- package/build/components/Tabs/index.d.cts +27 -0
- package/build/components/Tabs/index.d.ts +27 -0
- package/build/components/Tabs/index.js +102 -0
- package/build/components/Tabs/index.js.map +1 -0
- package/build/components/Tabs/style.css +1 -0
- package/build/components/TagInput/index.cjs +2 -0
- package/build/components/TagInput/index.cjs.map +1 -0
- package/build/components/TagInput/index.d.cts +43 -0
- package/build/components/TagInput/index.d.ts +43 -0
- package/build/components/TagInput/index.js +134 -0
- package/build/components/TagInput/index.js.map +1 -0
- package/build/components/TagInput/style.css +1 -0
- package/build/components/TextLink/index.cjs +2 -0
- package/build/components/TextLink/index.cjs.map +1 -0
- package/build/components/TextLink/index.d.cts +16 -0
- package/build/components/TextLink/index.d.ts +16 -0
- package/build/components/TextLink/index.js +32 -0
- package/build/components/TextLink/index.js.map +1 -0
- package/build/components/TextLink/style.css +1 -0
- package/build/components/Textarea/index.cjs +2 -0
- package/build/components/Textarea/index.cjs.map +1 -0
- package/build/components/Textarea/index.d.cts +20 -0
- package/build/components/Textarea/index.d.ts +20 -0
- package/build/components/Textarea/index.js +68 -0
- package/build/components/Textarea/index.js.map +1 -0
- package/build/components/Textarea/style.css +1 -0
- package/build/components/Tile/index.cjs +2 -0
- package/build/components/Tile/index.cjs.map +1 -0
- package/build/components/Tile/index.d.cts +19 -0
- package/build/components/Tile/index.d.ts +19 -0
- package/build/components/Tile/index.js +24 -0
- package/build/components/Tile/index.js.map +1 -0
- package/build/components/Tile/style.css +1 -0
- package/build/components/Timeline/index.cjs +2 -0
- package/build/components/Timeline/index.cjs.map +1 -0
- package/build/components/Timeline/index.d.cts +24 -0
- package/build/components/Timeline/index.d.ts +24 -0
- package/build/components/Timeline/index.js +56 -0
- package/build/components/Timeline/index.js.map +1 -0
- package/build/components/Timeline/style.css +1 -0
- package/build/components/Toast/index.cjs +2 -0
- package/build/components/Toast/index.cjs.map +1 -0
- package/build/components/Toast/index.d.cts +63 -0
- package/build/components/Toast/index.d.ts +63 -0
- package/build/components/Toast/index.js +159 -0
- package/build/components/Toast/index.js.map +1 -0
- package/build/components/Toast/style.css +1 -0
- package/build/components/ToastPortal/index.cjs +2 -0
- package/build/components/ToastPortal/index.cjs.map +1 -0
- package/build/components/ToastPortal/index.d.cts +10 -0
- package/build/components/ToastPortal/index.d.ts +10 -0
- package/build/components/ToastPortal/index.js +15 -0
- package/build/components/ToastPortal/index.js.map +1 -0
- package/build/components/Tooltip/index.cjs +2 -0
- package/build/components/Tooltip/index.cjs.map +1 -0
- package/build/components/Tooltip/index.d.cts +23 -0
- package/build/components/Tooltip/index.d.ts +23 -0
- package/build/components/Tooltip/index.js +116 -0
- package/build/components/Tooltip/index.js.map +1 -0
- package/build/components/Tooltip/style.css +1 -0
- package/build/constants/breakpoint.constants.cjs +2 -0
- package/build/constants/breakpoint.constants.cjs.map +1 -0
- package/build/constants/breakpoint.constants.d.cts +15 -0
- package/build/constants/breakpoint.constants.d.ts +15 -0
- package/build/constants/breakpoint.constants.js +12 -0
- package/build/constants/breakpoint.constants.js.map +1 -0
- package/build/constants/combobox.constants.cjs +2 -0
- package/build/constants/combobox.constants.cjs.map +1 -0
- package/build/constants/combobox.constants.d.cts +11 -0
- package/build/constants/combobox.constants.d.ts +11 -0
- package/build/constants/combobox.constants.js +7 -0
- package/build/constants/combobox.constants.js.map +1 -0
- package/build/constants/scale.constants.cjs +2 -0
- package/build/constants/scale.constants.cjs.map +1 -0
- package/build/constants/scale.constants.d.cts +10 -0
- package/build/constants/scale.constants.d.ts +10 -0
- package/build/constants/scale.constants.js +8 -0
- package/build/constants/scale.constants.js.map +1 -0
- package/build/constants/scroll.constants.cjs +2 -0
- package/build/constants/scroll.constants.cjs.map +1 -0
- package/build/constants/scroll.constants.d.cts +7 -0
- package/build/constants/scroll.constants.d.ts +7 -0
- package/build/constants/scroll.constants.js +5 -0
- package/build/constants/scroll.constants.js.map +1 -0
- package/build/design/fonts/LICENSE-archivo.txt +93 -0
- package/build/design/fonts/LICENSE-ibm-plex-mono.txt +93 -0
- package/build/design/fonts/LICENSE-inter.txt +93 -0
- package/build/design/fonts/archivo-latin-ext-wdth-normal.woff2 +0 -0
- package/build/design/fonts/archivo-latin-wdth-normal.woff2 +0 -0
- package/build/design/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/build/design/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/build/design/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
- package/build/design/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
- package/build/design/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/build/design/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/build/design/fonts.css +75 -0
- package/build/design/fonts.d.css.ts +1 -0
- package/build/design/index.cjs +778 -0
- package/build/design/index.cjs.map +1 -0
- package/build/design/index.d.cts +263 -0
- package/build/design/index.d.mts +263 -0
- package/build/design/index.mjs +751 -0
- package/build/design/index.mjs.map +1 -0
- package/build/design/index.umd.cjs +2 -0
- package/build/design/index.umd.cjs.map +1 -0
- package/build/design/logos/horizontal.svg +1 -0
- package/build/design/logos/mark.svg +1 -0
- package/build/design/tokens.css +477 -0
- package/build/design/tokens.d.css.ts +1 -0
- package/build/design/tokens.json +542 -0
- package/build/design/tokens.scss +616 -0
- package/build/enums/ui-size.enum.cjs +2 -0
- package/build/enums/ui-size.enum.cjs.map +1 -0
- package/build/enums/ui-size.enum.d.cts +12 -0
- package/build/enums/ui-size.enum.d.ts +12 -0
- package/build/enums/ui-size.enum.js +5 -0
- package/build/enums/ui-size.enum.js.map +1 -0
- package/build/enums/ui-variant.enum.cjs +2 -0
- package/build/enums/ui-variant.enum.cjs.map +1 -0
- package/build/enums/ui-variant.enum.d.cts +20 -0
- package/build/enums/ui-variant.enum.d.ts +20 -0
- package/build/enums/ui-variant.enum.js +5 -0
- package/build/enums/ui-variant.enum.js.map +1 -0
- package/build/helpers/aria.helper.cjs +2 -0
- package/build/helpers/aria.helper.cjs.map +1 -0
- package/build/helpers/aria.helper.d.cts +7 -0
- package/build/helpers/aria.helper.d.ts +7 -0
- package/build/helpers/aria.helper.js +5 -0
- package/build/helpers/aria.helper.js.map +1 -0
- package/build/helpers/class-name.helper.cjs +2 -0
- package/build/helpers/class-name.helper.cjs.map +1 -0
- package/build/helpers/class-name.helper.d.cts +3 -0
- package/build/helpers/class-name.helper.d.ts +3 -0
- package/build/helpers/class-name.helper.js +10 -0
- package/build/helpers/class-name.helper.js.map +1 -0
- package/build/helpers/component.helper.cjs +2 -0
- package/build/helpers/component.helper.cjs.map +1 -0
- package/build/helpers/component.helper.d.cts +13 -0
- package/build/helpers/component.helper.d.ts +13 -0
- package/build/helpers/component.helper.js +5 -0
- package/build/helpers/component.helper.js.map +1 -0
- package/build/helpers/focus.helper.cjs +2 -0
- package/build/helpers/focus.helper.cjs.map +1 -0
- package/build/helpers/focus.helper.d.cts +90 -0
- package/build/helpers/focus.helper.d.ts +90 -0
- package/build/helpers/focus.helper.js +83 -0
- package/build/helpers/focus.helper.js.map +1 -0
- package/build/helpers/label.helper.cjs +2 -0
- package/build/helpers/label.helper.cjs.map +1 -0
- package/build/helpers/label.helper.d.cts +11 -0
- package/build/helpers/label.helper.d.ts +11 -0
- package/build/helpers/label.helper.js +11 -0
- package/build/helpers/label.helper.js.map +1 -0
- package/build/helpers/portal.helper.cjs +2 -0
- package/build/helpers/portal.helper.cjs.map +1 -0
- package/build/helpers/portal.helper.d.cts +28 -0
- package/build/helpers/portal.helper.d.ts +28 -0
- package/build/helpers/portal.helper.js +36 -0
- package/build/helpers/portal.helper.js.map +1 -0
- package/build/helpers/ref.helper.cjs +2 -0
- package/build/helpers/ref.helper.cjs.map +1 -0
- package/build/helpers/ref.helper.d.cts +3 -0
- package/build/helpers/ref.helper.d.ts +3 -0
- package/build/helpers/ref.helper.js +7 -0
- package/build/helpers/ref.helper.js.map +1 -0
- package/build/helpers/scaled-number.helper.cjs +2 -0
- package/build/helpers/scaled-number.helper.cjs.map +1 -0
- package/build/helpers/scaled-number.helper.d.cts +54 -0
- package/build/helpers/scaled-number.helper.d.ts +54 -0
- package/build/helpers/scaled-number.helper.js +34 -0
- package/build/helpers/scaled-number.helper.js.map +1 -0
- package/build/helpers/scroll.helper.cjs +2 -0
- package/build/helpers/scroll.helper.cjs.map +1 -0
- package/build/helpers/scroll.helper.d.cts +8 -0
- package/build/helpers/scroll.helper.d.ts +8 -0
- package/build/helpers/scroll.helper.js +11 -0
- package/build/helpers/scroll.helper.js.map +1 -0
- package/build/helpers/text.helper.cjs +2 -0
- package/build/helpers/text.helper.cjs.map +1 -0
- package/build/helpers/text.helper.d.cts +5 -0
- package/build/helpers/text.helper.d.ts +5 -0
- package/build/helpers/text.helper.js +6 -0
- package/build/helpers/text.helper.js.map +1 -0
- package/build/helpers/theme.helper.cjs +2 -0
- package/build/helpers/theme.helper.cjs.map +1 -0
- package/build/helpers/theme.helper.d.cts +18 -0
- package/build/helpers/theme.helper.d.ts +18 -0
- package/build/helpers/theme.helper.js +37 -0
- package/build/helpers/theme.helper.js.map +1 -0
- package/build/hooks/useAnnounce.cjs +2 -0
- package/build/hooks/useAnnounce.cjs.map +1 -0
- package/build/hooks/useAnnounce.d.cts +4 -0
- package/build/hooks/useAnnounce.d.ts +4 -0
- package/build/hooks/useAnnounce.js +23 -0
- package/build/hooks/useAnnounce.js.map +1 -0
- package/build/hooks/useAsyncSearch.cjs +2 -0
- package/build/hooks/useAsyncSearch.cjs.map +1 -0
- package/build/hooks/useAsyncSearch.d.cts +11 -0
- package/build/hooks/useAsyncSearch.d.ts +11 -0
- package/build/hooks/useAsyncSearch.js +17 -0
- package/build/hooks/useAsyncSearch.js.map +1 -0
- package/build/hooks/useCopyFeedback.cjs +2 -0
- package/build/hooks/useCopyFeedback.cjs.map +1 -0
- package/build/hooks/useCopyFeedback.d.cts +10 -0
- package/build/hooks/useCopyFeedback.d.ts +10 -0
- package/build/hooks/useCopyFeedback.js +25 -0
- package/build/hooks/useCopyFeedback.js.map +1 -0
- package/build/hooks/useDismissOnEscape.cjs +2 -0
- package/build/hooks/useDismissOnEscape.cjs.map +1 -0
- package/build/hooks/useDismissOnEscape.d.cts +16 -0
- package/build/hooks/useDismissOnEscape.d.ts +16 -0
- package/build/hooks/useDismissOnEscape.js +18 -0
- package/build/hooks/useDismissOnEscape.js.map +1 -0
- package/build/hooks/useListboxNavigation.cjs +2 -0
- package/build/hooks/useListboxNavigation.cjs.map +1 -0
- package/build/hooks/useListboxNavigation.d.cts +7 -0
- package/build/hooks/useListboxNavigation.d.ts +7 -0
- package/build/hooks/useListboxNavigation.js +53 -0
- package/build/hooks/useListboxNavigation.js.map +1 -0
- package/build/hooks/usePortalSurface.cjs +2 -0
- package/build/hooks/usePortalSurface.cjs.map +1 -0
- package/build/hooks/usePortalSurface.d.cts +25 -0
- package/build/hooks/usePortalSurface.d.ts +25 -0
- package/build/hooks/usePortalSurface.js +19 -0
- package/build/hooks/usePortalSurface.js.map +1 -0
- package/build/hooks/usePositioning.cjs +2 -0
- package/build/hooks/usePositioning.cjs.map +1 -0
- package/build/hooks/usePositioning.d.cts +13 -0
- package/build/hooks/usePositioning.d.ts +13 -0
- package/build/hooks/usePositioning.js +74 -0
- package/build/hooks/usePositioning.js.map +1 -0
- package/build/hooks/useScrollLock.cjs +2 -0
- package/build/hooks/useScrollLock.cjs.map +1 -0
- package/build/hooks/useScrollLock.d.cts +2 -0
- package/build/hooks/useScrollLock.d.ts +2 -0
- package/build/hooks/useScrollLock.js +34 -0
- package/build/hooks/useScrollLock.js.map +1 -0
- package/build/hooks/useSheetViewport.cjs +2 -0
- package/build/hooks/useSheetViewport.cjs.map +1 -0
- package/build/hooks/useSheetViewport.d.cts +6 -0
- package/build/hooks/useSheetViewport.d.ts +6 -0
- package/build/hooks/useSheetViewport.js +29 -0
- package/build/hooks/useSheetViewport.js.map +1 -0
- package/build/hooks/useStickToBottom.cjs +2 -0
- package/build/hooks/useStickToBottom.cjs.map +1 -0
- package/build/hooks/useStickToBottom.d.cts +12 -0
- package/build/hooks/useStickToBottom.d.ts +12 -0
- package/build/hooks/useStickToBottom.js +39 -0
- package/build/hooks/useStickToBottom.js.map +1 -0
- package/build/hooks/useUiTheme.cjs +2 -0
- package/build/hooks/useUiTheme.cjs.map +1 -0
- package/build/hooks/useUiTheme.d.cts +10 -0
- package/build/hooks/useUiTheme.d.ts +10 -0
- package/build/hooks/useUiTheme.js +42 -0
- package/build/hooks/useUiTheme.js.map +1 -0
- package/build/hooks/useUiTokens.cjs +2 -0
- package/build/hooks/useUiTokens.cjs.map +1 -0
- package/build/hooks/useUiTokens.d.cts +11 -0
- package/build/hooks/useUiTokens.d.ts +11 -0
- package/build/hooks/useUiTokens.js +36 -0
- package/build/hooks/useUiTokens.js.map +1 -0
- package/build/hooks/useVirtualList.cjs +2 -0
- package/build/hooks/useVirtualList.cjs.map +1 -0
- package/build/hooks/useVirtualList.d.cts +13 -0
- package/build/hooks/useVirtualList.d.ts +13 -0
- package/build/hooks/useVirtualList.js +41 -0
- package/build/hooks/useVirtualList.js.map +1 -0
- package/build/index.cjs +2 -0
- package/build/index.cjs.map +1 -0
- package/build/index.d.cts +98 -0
- package/build/index.d.ts +98 -0
- package/build/index.js +209 -0
- package/build/index.js.map +1 -0
- package/build/scss/_index.scss +7 -0
- package/build/scss/_mixins.scss +861 -0
- package/build/scss/_variables.scss +245 -0
- package/build/styles/base.d.cts +0 -0
- package/build/styles/base.d.ts +0 -0
- package/build/styles.css +135 -0
- package/build/theme/UiProvider.cjs +2 -0
- package/build/theme/UiProvider.cjs.map +1 -0
- package/build/theme/UiProvider.d.cts +23 -0
- package/build/theme/UiProvider.d.ts +23 -0
- package/build/theme/UiProvider.js +12 -0
- package/build/theme/UiProvider.js.map +1 -0
- package/build/theme/UiThemeScript.cjs +2 -0
- package/build/theme/UiThemeScript.cjs.map +1 -0
- package/build/theme/UiThemeScript.d.cts +22 -0
- package/build/theme/UiThemeScript.d.ts +22 -0
- package/build/theme/UiThemeScript.js +8 -0
- package/build/theme/UiThemeScript.js.map +1 -0
- package/build/theme/context.cjs +2 -0
- package/build/theme/context.cjs.map +1 -0
- package/build/theme/context.d.cts +5 -0
- package/build/theme/context.d.ts +5 -0
- package/build/theme/context.js +8 -0
- package/build/theme/context.js.map +1 -0
- package/build/types/calendar/Calendar/EventBlock.d.cts +29 -0
- package/build/types/calendar/Calendar/EventBlock.d.ts +29 -0
- package/build/types/calendar/Calendar/MonthGrid.d.cts +28 -0
- package/build/types/calendar/Calendar/MonthGrid.d.ts +28 -0
- package/build/types/calendar/Calendar/TimeGrid.d.cts +37 -0
- package/build/types/calendar/Calendar/TimeGrid.d.ts +37 -0
- package/build/types/calendar/Calendar/index.d.cts +72 -0
- package/build/types/calendar/Calendar/index.d.ts +72 -0
- package/build/types/calendar/core/layout.d.cts +43 -0
- package/build/types/calendar/core/layout.d.ts +43 -0
- package/build/types/calendar/core/moves.d.cts +37 -0
- package/build/types/calendar/core/moves.d.ts +37 -0
- package/build/types/calendar/core/time.d.cts +19 -0
- package/build/types/calendar/core/time.d.ts +19 -0
- package/build/types/calendar/core/types.d.cts +75 -0
- package/build/types/calendar/core/types.d.ts +75 -0
- package/build/types/calendar/core/useCalendarDrag.d.cts +32 -0
- package/build/types/calendar/core/useCalendarDrag.d.ts +32 -0
- package/build/types/calendar/index.d.cts +13 -0
- package/build/types/calendar/index.d.ts +13 -0
- package/build/types/charts/AreaChart/index.d.cts +14 -0
- package/build/types/charts/AreaChart/index.d.ts +14 -0
- package/build/types/charts/BarChart/index.d.cts +16 -0
- package/build/types/charts/BarChart/index.d.ts +16 -0
- package/build/types/charts/BoxPlot/index.d.cts +43 -0
- package/build/types/charts/BoxPlot/index.d.ts +43 -0
- package/build/types/charts/ComposedChart/index.d.cts +16 -0
- package/build/types/charts/ComposedChart/index.d.ts +16 -0
- package/build/types/charts/Heatmap/index.d.cts +30 -0
- package/build/types/charts/Heatmap/index.d.ts +30 -0
- package/build/types/charts/Histogram/index.d.cts +29 -0
- package/build/types/charts/Histogram/index.d.ts +29 -0
- package/build/types/charts/LineChart/index.d.cts +14 -0
- package/build/types/charts/LineChart/index.d.ts +14 -0
- package/build/types/charts/PieChart/index.d.cts +36 -0
- package/build/types/charts/PieChart/index.d.ts +36 -0
- package/build/types/charts/RadarChart/index.d.cts +40 -0
- package/build/types/charts/RadarChart/index.d.ts +40 -0
- package/build/types/charts/ScatterPlot/index.d.cts +41 -0
- package/build/types/charts/ScatterPlot/index.d.ts +41 -0
- package/build/types/charts/core/CartesianChart.d.cts +43 -0
- package/build/types/charts/core/CartesianChart.d.ts +43 -0
- package/build/types/charts/core/ChartFrame.d.cts +55 -0
- package/build/types/charts/core/ChartFrame.d.ts +55 -0
- package/build/types/charts/core/axes.d.cts +37 -0
- package/build/types/charts/core/axes.d.ts +37 -0
- package/build/types/charts/core/cartesian.d.cts +80 -0
- package/build/types/charts/core/cartesian.d.ts +80 -0
- package/build/types/charts/core/format.d.cts +19 -0
- package/build/types/charts/core/format.d.ts +19 -0
- package/build/types/charts/core/margins.d.cts +9 -0
- package/build/types/charts/core/margins.d.ts +9 -0
- package/build/types/charts/core/palette.d.cts +11 -0
- package/build/types/charts/core/palette.d.ts +11 -0
- package/build/types/charts/core/path.d.cts +24 -0
- package/build/types/charts/core/path.d.ts +24 -0
- package/build/types/charts/core/scale.d.cts +40 -0
- package/build/types/charts/core/scale.d.ts +40 -0
- package/build/types/charts/core/series.d.cts +11 -0
- package/build/types/charts/core/series.d.ts +11 -0
- package/build/types/charts/core/spatial.d.cts +12 -0
- package/build/types/charts/core/spatial.d.ts +12 -0
- package/build/types/charts/core/stats.d.cts +34 -0
- package/build/types/charts/core/stats.d.ts +34 -0
- package/build/types/charts/core/types.d.cts +31 -0
- package/build/types/charts/core/types.d.ts +31 -0
- package/build/types/charts/core/useChartWidth.d.cts +7 -0
- package/build/types/charts/core/useChartWidth.d.ts +7 -0
- package/build/types/charts/index.d.cts +21 -0
- package/build/types/charts/index.d.ts +21 -0
- package/build/types/chat/ActionList/index.d.cts +46 -0
- package/build/types/chat/ActionList/index.d.ts +46 -0
- package/build/types/chat/AppBar/index.d.cts +21 -0
- package/build/types/chat/AppBar/index.d.ts +21 -0
- package/build/types/chat/ChatMessage/index.d.cts +24 -0
- package/build/types/chat/ChatMessage/index.d.ts +24 -0
- package/build/types/chat/ChatThread/index.d.cts +24 -0
- package/build/types/chat/ChatThread/index.d.ts +24 -0
- package/build/types/chat/Citation/index.d.cts +15 -0
- package/build/types/chat/Citation/index.d.ts +15 -0
- package/build/types/chat/CodeBlock/format.d.cts +7 -0
- package/build/types/chat/CodeBlock/format.d.ts +7 -0
- package/build/types/chat/CodeBlock/grammars.d.cts +44 -0
- package/build/types/chat/CodeBlock/grammars.d.ts +44 -0
- package/build/types/chat/CodeBlock/highlight.d.cts +22 -0
- package/build/types/chat/CodeBlock/highlight.d.ts +22 -0
- package/build/types/chat/CodeBlock/index.d.cts +33 -0
- package/build/types/chat/CodeBlock/index.d.ts +33 -0
- package/build/types/chat/DescriptionList/index.d.cts +16 -0
- package/build/types/chat/DescriptionList/index.d.ts +16 -0
- package/build/types/chat/Legend/index.d.cts +21 -0
- package/build/types/chat/Legend/index.d.ts +21 -0
- package/build/types/chat/MessageActions/index.d.cts +21 -0
- package/build/types/chat/MessageActions/index.d.ts +21 -0
- package/build/types/chat/PromptInput/index.d.cts +47 -0
- package/build/types/chat/PromptInput/index.d.ts +47 -0
- package/build/types/chat/PromptSuggestions/index.d.cts +25 -0
- package/build/types/chat/PromptSuggestions/index.d.ts +25 -0
- package/build/types/chat/Prose/index.d.cts +15 -0
- package/build/types/chat/Prose/index.d.ts +15 -0
- package/build/types/chat/ReasoningBlock/index.d.cts +24 -0
- package/build/types/chat/ReasoningBlock/index.d.ts +24 -0
- package/build/types/chat/ReasoningText/index.d.cts +14 -0
- package/build/types/chat/ReasoningText/index.d.ts +14 -0
- package/build/types/chat/SegmentBar/index.d.cts +46 -0
- package/build/types/chat/SegmentBar/index.d.ts +46 -0
- package/build/types/chat/SourceList/index.d.cts +25 -0
- package/build/types/chat/SourceList/index.d.ts +25 -0
- package/build/types/chat/TerminalOutput/index.d.cts +25 -0
- package/build/types/chat/TerminalOutput/index.d.ts +25 -0
- package/build/types/chat/ToolCall/index.d.cts +41 -0
- package/build/types/chat/ToolCall/index.d.ts +41 -0
- package/build/types/chat/index.d.cts +26 -0
- package/build/types/chat/index.d.ts +26 -0
- package/build/types/combobox.type.d.cts +65 -0
- package/build/types/combobox.type.d.ts +65 -0
- package/build/types/common-element-props.type.d.cts +8 -0
- package/build/types/common-element-props.type.d.ts +8 -0
- package/build/types/helpers/class-name.helper.d.cts +3 -0
- package/build/types/helpers/class-name.helper.d.ts +3 -0
- package/build/types/helpers/component.helper.d.cts +13 -0
- package/build/types/helpers/component.helper.d.ts +13 -0
- package/build/types/helpers/label.helper.d.cts +12 -0
- package/build/types/helpers/label.helper.d.ts +12 -0
- package/build/types/hook.type.d.cts +36 -0
- package/build/types/hook.type.d.ts +36 -0
- package/build/types/link.type.d.cts +14 -0
- package/build/types/link.type.d.ts +14 -0
- package/build/types/positioning.type.d.cts +38 -0
- package/build/types/positioning.type.d.ts +38 -0
- package/build/types/theme.type.d.cts +197 -0
- package/build/types/theme.type.d.ts +197 -0
- package/build/types/types/common-element-props.type.d.cts +8 -0
- package/build/types/types/common-element-props.type.d.ts +8 -0
- package/build/types/types/link.type.d.cts +14 -0
- package/build/types/types/link.type.d.ts +14 -0
- package/build/types/types/theme.type.d.cts +197 -0
- package/build/types/types/theme.type.d.ts +197 -0
- package/package.json +929 -4
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as L, jsx as p, Fragment as ye } from "react/jsx-runtime";
|
|
3
|
+
import { useState as be, useRef as z, useCallback as se, useEffect as we, memo as ke, useId as Ae, useMemo as W } from "react";
|
|
4
|
+
import { useUi as Ee, useAnnounce as Le } from "@handijitcom/ui";
|
|
5
|
+
const R = (...e) => {
|
|
6
|
+
let t = "";
|
|
7
|
+
for (const n of e)
|
|
8
|
+
n && (t = t === "" ? n : `${t} ${n}`);
|
|
9
|
+
return t;
|
|
10
|
+
}, Te = (e, t) => Object.assign(e, { displayName: t }), ve = /* @__PURE__ */ new Set(), ce = (e, ...t) => {
|
|
11
|
+
for (const n of t) if (n !== void 0) return n;
|
|
12
|
+
return process.env.NODE_ENV !== "production" && !ve.has(e) && (ve.add(e), console.error(
|
|
13
|
+
`[@handijitcom/ui] Eksik metin: ${e}. Prop olarak geçin ya da <UiProvider labels={…}> içinde bir kez tanımlayın. Metinsiz bırakılan öğe ekran okuyucuda adsız kalır.`
|
|
14
|
+
)), "";
|
|
15
|
+
}, Me = (e, t, ...n) => t ? t(...n) : ce(e), Oe = 1440, Z = (e) => {
|
|
16
|
+
const [t, n] = e.split(":");
|
|
17
|
+
return Number(t) * 60 + Number(n ?? 0);
|
|
18
|
+
}, ee = (e) => `${String(Math.floor(e / 60)).padStart(2, "0")}:${String(e % 60).padStart(2, "0")}`, X = (e) => e.slice(0, 10), j = (e) => Z(e.slice(11, 16)), ne = (e, t) => `${e}T${ee(t)}`, ie = (e, t) => `${ee(e)}–${ee(t)}`, q = (e, t, n) => Math.min(Math.max(e, t), n), _e = (e, t) => `${e}|${t ?? ""}`, Re = (e, t) => t && t.length > 0 ? e.flatMap(
|
|
19
|
+
(n, o) => t.map((s, a) => ({
|
|
20
|
+
index: o * t.length + a,
|
|
21
|
+
day: n,
|
|
22
|
+
resource: s,
|
|
23
|
+
label: `${n.label}, ${s.label}`
|
|
24
|
+
}))
|
|
25
|
+
) : e.map((n, o) => ({ index: o, day: n, label: n.label })), Ne = (e, t) => {
|
|
26
|
+
const n = X(e.start), o = X(e.end);
|
|
27
|
+
return n <= t && (t < o || t === o && j(e.end) > 0);
|
|
28
|
+
}, re = (e) => X(e.start) === X(e.end), Ke = (e) => {
|
|
29
|
+
e.sort((a, r) => a.startMin - r.startMin || r.endMin - a.endMin);
|
|
30
|
+
let t = [], n = [], o = -1;
|
|
31
|
+
const s = () => {
|
|
32
|
+
for (const a of t) a.lanes = n.length;
|
|
33
|
+
t = [], n = [];
|
|
34
|
+
};
|
|
35
|
+
for (const a of e) {
|
|
36
|
+
a.startMin >= o && s();
|
|
37
|
+
const r = n.findIndex((_) => _ <= a.startMin);
|
|
38
|
+
a.lane = r === -1 ? n.length : r;
|
|
39
|
+
const l = Math.max(a.endMin, a.startMin + 1);
|
|
40
|
+
n[a.lane] = l, o = Math.max(o, l), t.push(a);
|
|
41
|
+
}
|
|
42
|
+
s();
|
|
43
|
+
}, Ie = (e, t, n, o, s) => {
|
|
44
|
+
var k;
|
|
45
|
+
const a = new Map(
|
|
46
|
+
t.map((h) => {
|
|
47
|
+
var c;
|
|
48
|
+
return [_e(h.day.date, (c = h.resource) == null ? void 0 : c.id), h];
|
|
49
|
+
})
|
|
50
|
+
), r = t.some((h) => h.resource), l = t.map(() => []), _ = (h, c) => {
|
|
51
|
+
const M = c.day.date, i = X(h.start) === M ? j(h.start) : 0, f = X(h.end) === M ? j(h.end) : Oe;
|
|
52
|
+
f <= n || i >= o || l[c.index].push({
|
|
53
|
+
key: `${h.id}@${c.index}`,
|
|
54
|
+
event: h,
|
|
55
|
+
column: c.index,
|
|
56
|
+
startMin: Math.max(i, n),
|
|
57
|
+
endMin: Math.min(f, o),
|
|
58
|
+
lane: 0,
|
|
59
|
+
lanes: 1,
|
|
60
|
+
isMovable: s && !h.isLocked && re(h) && i >= n && f <= o
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
for (const h of e) {
|
|
64
|
+
const c = r ? h.resourceId : void 0;
|
|
65
|
+
if (!(r && c === void 0)) {
|
|
66
|
+
if (re(h)) {
|
|
67
|
+
const M = a.get(_e(X(h.start), c));
|
|
68
|
+
M && _(h, M);
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
for (const M of t)
|
|
72
|
+
((k = M.resource) == null ? void 0 : k.id) === c && Ne(h, M.day.date) && _(h, M);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
for (const h of l) Ke(h);
|
|
76
|
+
return l;
|
|
77
|
+
}, Se = (e, t, n) => {
|
|
78
|
+
const o = new Map(t.map((r, l) => [r.date, l])), s = t.map(() => []), a = (r, l) => s[l].push({
|
|
79
|
+
key: `${r.id}@${l}`,
|
|
80
|
+
event: r,
|
|
81
|
+
column: l,
|
|
82
|
+
startMin: j(r.start),
|
|
83
|
+
endMin: j(r.end),
|
|
84
|
+
lane: 0,
|
|
85
|
+
lanes: 1,
|
|
86
|
+
isMovable: n && !r.isLocked && re(r)
|
|
87
|
+
});
|
|
88
|
+
for (const r of e) {
|
|
89
|
+
if (re(r)) {
|
|
90
|
+
const l = o.get(X(r.start));
|
|
91
|
+
l !== void 0 && a(r, l);
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
t.forEach((l, _) => {
|
|
95
|
+
Ne(r, l.date) && a(r, _);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
for (const r of s)
|
|
99
|
+
r.sort(
|
|
100
|
+
(l, _) => l.event.start < _.event.start ? -1 : l.event.start > _.event.start ? 1 : 0
|
|
101
|
+
);
|
|
102
|
+
return s;
|
|
103
|
+
}, Pe = (e, t, n) => (e ?? []).flatMap((o, s) => {
|
|
104
|
+
const a = Math.max(Z(o.start), t), r = Math.min(Z(o.end), n);
|
|
105
|
+
return r > a ? [{ key: `${s}`, label: o.label, startMin: a, endMin: r }] : [];
|
|
106
|
+
}), Q = (e, t, n, o, s) => {
|
|
107
|
+
if (s.view === "month")
|
|
108
|
+
return o < 0 || o >= s.columnCount ? void 0 : { column: o, startMin: e.startMin, endMin: e.endMin };
|
|
109
|
+
if (t) {
|
|
110
|
+
const l = Math.min(e.startMin + s.slotMinutes, s.rangeEnd);
|
|
111
|
+
return {
|
|
112
|
+
column: e.column,
|
|
113
|
+
startMin: e.startMin,
|
|
114
|
+
endMin: q(e.endMin + n, l, s.rangeEnd)
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
const a = e.endMin - e.startMin, r = q(
|
|
118
|
+
e.startMin + n,
|
|
119
|
+
s.rangeStart,
|
|
120
|
+
s.rangeEnd - a
|
|
121
|
+
);
|
|
122
|
+
return {
|
|
123
|
+
column: q(o, 0, s.columnCount - 1),
|
|
124
|
+
startMin: r,
|
|
125
|
+
endMin: r + a
|
|
126
|
+
};
|
|
127
|
+
}, Ye = (e, t, n, o, s) => {
|
|
128
|
+
var _;
|
|
129
|
+
if (t.column === e.column && t.startMin === e.startMin && t.endMin === e.endMin) return;
|
|
130
|
+
const r = n === "time" ? o[t.column] : void 0, l = r ? r.day.date : s[t.column].date;
|
|
131
|
+
return {
|
|
132
|
+
id: e.event.id,
|
|
133
|
+
start: ne(l, t.startMin),
|
|
134
|
+
end: ne(l, t.endMin),
|
|
135
|
+
resourceId: ((_ = r == null ? void 0 : r.resource) == null ? void 0 : _.id) ?? e.event.resourceId
|
|
136
|
+
};
|
|
137
|
+
}, Ue = (e) => e === "ArrowUp" || e === "ArrowDown" || e === "ArrowLeft" || e === "ArrowRight", Xe = (e, t, n) => {
|
|
138
|
+
if (n === "ArrowUp" || n === "ArrowDown") {
|
|
139
|
+
const s = e[t.column], a = s.findIndex((r) => r.key === t.key);
|
|
140
|
+
return s[a + (n === "ArrowDown" ? 1 : -1)];
|
|
141
|
+
}
|
|
142
|
+
const o = n === "ArrowRight" ? 1 : -1;
|
|
143
|
+
for (let s = t.column + o; s >= 0 && s < e.length; s += o) {
|
|
144
|
+
const a = e[s];
|
|
145
|
+
if (a.length !== 0)
|
|
146
|
+
return a.reduce(
|
|
147
|
+
(r, l) => Math.abs(l.startMin - t.startMin) < Math.abs(r.startMin - t.startMin) ? l : r
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
}, je = (e, t, n, o) => {
|
|
151
|
+
const s = t === "ArrowUp" || t === "ArrowDown", a = t === "ArrowDown" || t === "ArrowRight" ? 1 : -1;
|
|
152
|
+
if (o.view === "month")
|
|
153
|
+
return n ? void 0 : Q(e, !1, 0, e.column + a * (s ? 7 : 1), o);
|
|
154
|
+
if (!(n && !s))
|
|
155
|
+
return s ? Q(e, n, a * o.slotMinutes, e.column, o) : Q(e, !1, 0, e.column + a, o);
|
|
156
|
+
}, ze = 4, te = 7, Be = ({
|
|
157
|
+
bodyRef: e,
|
|
158
|
+
bounds: t,
|
|
159
|
+
onDrop: n
|
|
160
|
+
}) => {
|
|
161
|
+
const [o, s] = be(null), a = z(null), r = z(!1), l = z({ bounds: t, onDrop: n });
|
|
162
|
+
l.current = { bounds: t, onDrop: n };
|
|
163
|
+
const _ = (c, M) => {
|
|
164
|
+
var A;
|
|
165
|
+
const i = (A = e.current) == null ? void 0 : A.getBoundingClientRect(), { bounds: f } = l.current;
|
|
166
|
+
if (!i || i.width === 0 || i.height === 0) return;
|
|
167
|
+
if (f.view === "time") {
|
|
168
|
+
const T = (f.rangeEnd - f.rangeStart) / i.height, x = (c.clientY - M.y) * T, b = Math.round(x / f.slotMinutes) * f.slotMinutes, w = Math.floor((c.clientX - i.left) / i.width * f.columnCount);
|
|
169
|
+
return Q(M.item, M.isResize, b, w, f);
|
|
170
|
+
}
|
|
171
|
+
const N = Math.ceil(f.columnCount / te), D = Math.floor((c.clientX - i.left) / i.width * te), C = Math.floor((c.clientY - i.top) / i.height * N);
|
|
172
|
+
if (!(D < 0 || D >= te || C < 0 || C >= N))
|
|
173
|
+
return Q(M.item, !1, 0, C * te + D, f);
|
|
174
|
+
}, k = se(
|
|
175
|
+
(c, M, i) => {
|
|
176
|
+
var b;
|
|
177
|
+
if (r.current = !1, M.button !== 0 || !c.isMovable) return;
|
|
178
|
+
(b = a.current) == null || b.call(a);
|
|
179
|
+
const f = {
|
|
180
|
+
item: c,
|
|
181
|
+
isResize: i,
|
|
182
|
+
x: M.clientX,
|
|
183
|
+
y: M.clientY,
|
|
184
|
+
isStarted: !1
|
|
185
|
+
}, N = () => {
|
|
186
|
+
window.removeEventListener("pointermove", C), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", T), window.removeEventListener("keydown", x, !0), a.current = null, s(null);
|
|
187
|
+
}, D = () => {
|
|
188
|
+
r.current = !0, window.setTimeout(() => {
|
|
189
|
+
r.current = !1;
|
|
190
|
+
}, 0);
|
|
191
|
+
}, C = (w) => {
|
|
192
|
+
const K = Math.hypot(w.clientX - f.x, w.clientY - f.y);
|
|
193
|
+
if (!f.isStarted && K < ze) return;
|
|
194
|
+
f.isStarted = !0;
|
|
195
|
+
const I = _(w, f);
|
|
196
|
+
s(I ? { key: f.item.key, isResize: f.isResize, target: I } : null);
|
|
197
|
+
}, A = (w) => {
|
|
198
|
+
if (N(), !f.isStarted) return;
|
|
199
|
+
D();
|
|
200
|
+
const K = _(w, f);
|
|
201
|
+
K && l.current.onDrop(f.item, K);
|
|
202
|
+
}, T = () => N(), x = (w) => {
|
|
203
|
+
w.key !== "Escape" || !f.isStarted || (w.preventDefault(), w.stopPropagation(), D(), N());
|
|
204
|
+
};
|
|
205
|
+
window.addEventListener("pointermove", C), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", T), window.addEventListener("keydown", x, !0), a.current = N;
|
|
206
|
+
},
|
|
207
|
+
// `targetAt` reads the box and the bounds through refs at the moment of the event.
|
|
208
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
209
|
+
[]
|
|
210
|
+
);
|
|
211
|
+
we(() => () => {
|
|
212
|
+
var c;
|
|
213
|
+
return (c = a.current) == null ? void 0 : c.call(a);
|
|
214
|
+
}, []);
|
|
215
|
+
const h = se(() => r.current, []);
|
|
216
|
+
return { preview: o, begin: k, isClickSwallowed: h };
|
|
217
|
+
}, Fe = "ui-calendar-YEgbk", Ge = "ui-srOnly-6NUr9", Je = "ui-scroller-IkPuv", He = "ui-time-DPj2K", Ve = "ui-corner-7ggOq", We = "ui-headers-c6s18", qe = "ui-header-vuk-c", Qe = "ui-resource-i6zVF", Ze = "ui-resource__detail-ssEve", et = "ui-gutter-YjM1s", tt = "ui-gutter__hour-oyYrg", nt = "ui-gutter__band-D6P6s", rt = "ui-band-GkAex", ot = "ui-columns-aXu-3", at = "ui-column-BsLn7", st = "ui-event-uQH1A", ct = "ui-event__body-jClWr", it = "ui-event__time-8Nt0z", lt = "ui-event__handle-cXUkS", dt = "ui-preview-FsJaC", ut = "ui-preview__title-GkNhx", ht = "ui-month-aEknN", ft = "ui-weekdays-VJ6EQ", mt = "ui-cells-jQJ7X", gt = "ui-cell-c3itR", pt = "ui-cell__day-40ADs", vt = "ui-cell__more-e3wMw", d = {
|
|
218
|
+
calendar: Fe,
|
|
219
|
+
srOnly: Ge,
|
|
220
|
+
scroller: Je,
|
|
221
|
+
time: He,
|
|
222
|
+
"time--bands": "ui-time--bands-7Kndf",
|
|
223
|
+
corner: Ve,
|
|
224
|
+
headers: We,
|
|
225
|
+
header: qe,
|
|
226
|
+
resource: Qe,
|
|
227
|
+
"header--today": "ui-header--today-eLJzT",
|
|
228
|
+
resource__detail: Ze,
|
|
229
|
+
"resource--primary": "ui-resource--primary--iCwp",
|
|
230
|
+
"resource--neutral": "ui-resource--neutral-cxIaY",
|
|
231
|
+
"resource--success": "ui-resource--success-qhCEv",
|
|
232
|
+
"resource--warning": "ui-resource--warning-GR4eo",
|
|
233
|
+
"resource--danger": "ui-resource--danger-S8dwG",
|
|
234
|
+
"resource--info": "ui-resource--info-hZjna",
|
|
235
|
+
gutter: et,
|
|
236
|
+
gutter__hour: tt,
|
|
237
|
+
gutter__band: nt,
|
|
238
|
+
band: rt,
|
|
239
|
+
"band--alternate": "ui-band--alternate-5aeTI",
|
|
240
|
+
columns: ot,
|
|
241
|
+
column: at,
|
|
242
|
+
"column--off": "ui-column--off-4yR85",
|
|
243
|
+
event: st,
|
|
244
|
+
"event--primary": "ui-event--primary-ykXcJ",
|
|
245
|
+
"event--neutral": "ui-event--neutral-uTBTX",
|
|
246
|
+
"event--success": "ui-event--success-vosp6",
|
|
247
|
+
"event--warning": "ui-event--warning-scg6H",
|
|
248
|
+
"event--danger": "ui-event--danger-UY-OD",
|
|
249
|
+
"event--info": "ui-event--info-SHlJD",
|
|
250
|
+
"event--time": "ui-event--time-cg0iK",
|
|
251
|
+
"event--month": "ui-event--month-7wAJO",
|
|
252
|
+
"event--movable": "ui-event--movable-1n8nf",
|
|
253
|
+
"event--dragging": "ui-event--dragging-E2r9s",
|
|
254
|
+
"event--cancelled": "ui-event--cancelled-eG-x9",
|
|
255
|
+
event__body: ct,
|
|
256
|
+
event__time: it,
|
|
257
|
+
event__handle: lt,
|
|
258
|
+
preview: dt,
|
|
259
|
+
preview__title: ut,
|
|
260
|
+
month: ht,
|
|
261
|
+
weekdays: ft,
|
|
262
|
+
cells: mt,
|
|
263
|
+
cell: gt,
|
|
264
|
+
"cell--off": "ui-cell--off-TIR0O",
|
|
265
|
+
"cell--outside": "ui-cell--outside-F23oJ",
|
|
266
|
+
cell__day: pt,
|
|
267
|
+
"cell--target": "ui-cell--target-utfa-",
|
|
268
|
+
"cell__day--today": "ui-cell__day--today-2i28S",
|
|
269
|
+
cell__more: vt
|
|
270
|
+
}, Mt = (e, t, n) => ({
|
|
271
|
+
"--ui-calendar-top": `${(e.startMin - t) / n * 100}%`,
|
|
272
|
+
"--ui-calendar-height": `${(e.endMin - e.startMin) / n * 100}%`,
|
|
273
|
+
"--ui-calendar-lane": e.lane,
|
|
274
|
+
"--ui-calendar-lanes": e.lanes
|
|
275
|
+
}), _t = ({
|
|
276
|
+
item: e,
|
|
277
|
+
view: t,
|
|
278
|
+
isActive: n,
|
|
279
|
+
isDragSource: o,
|
|
280
|
+
isResizable: s,
|
|
281
|
+
rangeStart: a,
|
|
282
|
+
rangeLength: r,
|
|
283
|
+
columnLabel: l,
|
|
284
|
+
cancelledLabel: _,
|
|
285
|
+
renderEvent: k,
|
|
286
|
+
handlers: h
|
|
287
|
+
}) => {
|
|
288
|
+
const { event: c } = e, M = t === "time" ? ie(j(c.start), j(c.end)) : ee(j(c.start));
|
|
289
|
+
return /* @__PURE__ */ L(
|
|
290
|
+
"button",
|
|
291
|
+
{
|
|
292
|
+
type: "button",
|
|
293
|
+
className: R(
|
|
294
|
+
d.event,
|
|
295
|
+
d[`event--${t}`],
|
|
296
|
+
d[`event--${c.tone ?? "primary"}`],
|
|
297
|
+
c.isCancelled && d["event--cancelled"],
|
|
298
|
+
e.isMovable && d["event--movable"],
|
|
299
|
+
o && d["event--dragging"]
|
|
300
|
+
),
|
|
301
|
+
style: t === "time" ? Mt(e, a, r) : void 0,
|
|
302
|
+
tabIndex: n ? 0 : -1,
|
|
303
|
+
"data-key": e.key,
|
|
304
|
+
onPointerDown: (i) => h.onPointerDown(e, i, !1),
|
|
305
|
+
onClick: (i) => h.onClick(e, i),
|
|
306
|
+
onKeyDown: (i) => h.onKeyDown(e, i),
|
|
307
|
+
onFocus: () => h.onFocus(e),
|
|
308
|
+
children: [
|
|
309
|
+
c.isCancelled && /* @__PURE__ */ p("span", { className: d.srOnly, children: `${_}: ` }),
|
|
310
|
+
/* @__PURE__ */ p("span", { className: d.event__time, children: M }),
|
|
311
|
+
/* @__PURE__ */ p("span", { className: d.event__body, children: k ? k(c) : c.title }),
|
|
312
|
+
/* @__PURE__ */ p("span", { className: d.srOnly, children: `, ${l}` }),
|
|
313
|
+
s && /* @__PURE__ */ p(
|
|
314
|
+
"span",
|
|
315
|
+
{
|
|
316
|
+
className: d.event__handle,
|
|
317
|
+
"aria-hidden": !0,
|
|
318
|
+
onPointerDown: (i) => {
|
|
319
|
+
i.stopPropagation(), h.onPointerDown(e, i, !0);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
)
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
);
|
|
326
|
+
}, Ce = /* @__PURE__ */ ke(_t), yt = 7, bt = ({
|
|
327
|
+
days: e,
|
|
328
|
+
shown: t,
|
|
329
|
+
hiddenCounts: n,
|
|
330
|
+
weekdays: o,
|
|
331
|
+
selectedDate: s,
|
|
332
|
+
bodyRef: a,
|
|
333
|
+
activeKey: r,
|
|
334
|
+
preview: l,
|
|
335
|
+
cancelledLabel: _,
|
|
336
|
+
formatMore: k,
|
|
337
|
+
renderEvent: h,
|
|
338
|
+
handlers: c,
|
|
339
|
+
onDaySelect: M
|
|
340
|
+
}) => /* @__PURE__ */ L(
|
|
341
|
+
"div",
|
|
342
|
+
{
|
|
343
|
+
className: d.month,
|
|
344
|
+
style: { "--ui-calendar-rows": Math.ceil(e.length / yt) },
|
|
345
|
+
children: [
|
|
346
|
+
o && /* Each cell is named by its full day; the row of weekday names is for the eye. */
|
|
347
|
+
/* @__PURE__ */ p("div", { className: d.weekdays, "aria-hidden": !0, children: o.map((i) => /* @__PURE__ */ p("span", { children: i }, i)) }),
|
|
348
|
+
/* @__PURE__ */ p("div", { ref: a, className: d.cells, children: e.map((i, f) => {
|
|
349
|
+
const N = n[f], D = i.shortLabel ?? i.label;
|
|
350
|
+
return /* @__PURE__ */ L(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
role: "group",
|
|
354
|
+
"aria-label": i.label,
|
|
355
|
+
className: R(
|
|
356
|
+
d.cell,
|
|
357
|
+
i.isOff && d["cell--off"],
|
|
358
|
+
i.isOutside && d["cell--outside"],
|
|
359
|
+
(l == null ? void 0 : l.target.column) === f && d["cell--target"]
|
|
360
|
+
),
|
|
361
|
+
children: [
|
|
362
|
+
M ? /* @__PURE__ */ p(
|
|
363
|
+
"button",
|
|
364
|
+
{
|
|
365
|
+
type: "button",
|
|
366
|
+
className: R(d.cell__day, i.isToday && d["cell__day--today"]),
|
|
367
|
+
"aria-label": i.label,
|
|
368
|
+
"aria-current": i.isToday ? "date" : void 0,
|
|
369
|
+
"aria-pressed": s === void 0 ? void 0 : i.date === s,
|
|
370
|
+
onClick: () => M(i.date),
|
|
371
|
+
children: D
|
|
372
|
+
}
|
|
373
|
+
) : /* @__PURE__ */ p(
|
|
374
|
+
"span",
|
|
375
|
+
{
|
|
376
|
+
className: R(d.cell__day, i.isToday && d["cell__day--today"]),
|
|
377
|
+
"aria-hidden": !0,
|
|
378
|
+
children: D
|
|
379
|
+
}
|
|
380
|
+
),
|
|
381
|
+
t[f].map((C) => /* @__PURE__ */ p(
|
|
382
|
+
Ce,
|
|
383
|
+
{
|
|
384
|
+
item: C,
|
|
385
|
+
view: "month",
|
|
386
|
+
isActive: C.key === r,
|
|
387
|
+
isDragSource: C.key === (l == null ? void 0 : l.key),
|
|
388
|
+
isResizable: !1,
|
|
389
|
+
rangeStart: 0,
|
|
390
|
+
rangeLength: 1,
|
|
391
|
+
columnLabel: i.label,
|
|
392
|
+
cancelledLabel: _,
|
|
393
|
+
renderEvent: h,
|
|
394
|
+
handlers: c
|
|
395
|
+
},
|
|
396
|
+
C.key
|
|
397
|
+
)),
|
|
398
|
+
N > 0 && (M ? /* @__PURE__ */ p(
|
|
399
|
+
"button",
|
|
400
|
+
{
|
|
401
|
+
type: "button",
|
|
402
|
+
className: d.cell__more,
|
|
403
|
+
onClick: () => M(i.date),
|
|
404
|
+
children: k(N)
|
|
405
|
+
}
|
|
406
|
+
) : /* @__PURE__ */ p("span", { className: d.cell__more, children: k(N) }))
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
i.date
|
|
410
|
+
);
|
|
411
|
+
}) })
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
), wt = ({ day: e, span: t }) => /* @__PURE__ */ p(
|
|
415
|
+
"div",
|
|
416
|
+
{
|
|
417
|
+
className: R(d.header, e.isToday && d["header--today"]),
|
|
418
|
+
style: { gridColumn: `span ${t}` },
|
|
419
|
+
"aria-current": e.isToday ? "date" : void 0,
|
|
420
|
+
children: e.shortLabel ? /* @__PURE__ */ L(ye, { children: [
|
|
421
|
+
/* @__PURE__ */ p("span", { "aria-hidden": !0, children: e.shortLabel }),
|
|
422
|
+
/* @__PURE__ */ p("span", { className: d.srOnly, children: e.label })
|
|
423
|
+
] }) : e.label
|
|
424
|
+
}
|
|
425
|
+
), kt = ({
|
|
426
|
+
resource: e,
|
|
427
|
+
renderResource: t
|
|
428
|
+
}) => /* @__PURE__ */ p(
|
|
429
|
+
"div",
|
|
430
|
+
{
|
|
431
|
+
className: R(d.resource, e.tone && d[`resource--${e.tone}`]),
|
|
432
|
+
"data-tone": e.tone,
|
|
433
|
+
children: t ? t(e) : /* @__PURE__ */ L(ye, { children: [
|
|
434
|
+
e.label,
|
|
435
|
+
e.detail && /* @__PURE__ */ p("span", { className: d.resource__detail, children: e.detail })
|
|
436
|
+
] })
|
|
437
|
+
}
|
|
438
|
+
), Nt = ({
|
|
439
|
+
label: e,
|
|
440
|
+
days: t,
|
|
441
|
+
resources: n,
|
|
442
|
+
columns: o,
|
|
443
|
+
bands: s,
|
|
444
|
+
placed: a,
|
|
445
|
+
rangeStart: r,
|
|
446
|
+
rangeEnd: l,
|
|
447
|
+
slotMinutes: _,
|
|
448
|
+
bodyRef: k,
|
|
449
|
+
activeKey: h,
|
|
450
|
+
preview: c,
|
|
451
|
+
isEditable: M,
|
|
452
|
+
cancelledLabel: i,
|
|
453
|
+
renderEvent: f,
|
|
454
|
+
renderResource: N,
|
|
455
|
+
handlers: D,
|
|
456
|
+
isClickSwallowed: C,
|
|
457
|
+
onSlotSelect: A,
|
|
458
|
+
onExternalDrop: T
|
|
459
|
+
}) => {
|
|
460
|
+
const x = l - r, b = (n == null ? void 0 : n.length) ?? 0, w = b > 0, K = Array.from(
|
|
461
|
+
{ length: Math.floor((l - 1) / 60) - Math.ceil(r / 60) + 1 },
|
|
462
|
+
(u, m) => (Math.ceil(r / 60) + m) * 60
|
|
463
|
+
), I = (u) => `${u / x * 100}%`, S = (u) => I(u - r), J = c ? a.flat().find((u) => u.key === c.key) : void 0, B = (u, m, O) => {
|
|
464
|
+
var F;
|
|
465
|
+
const E = m.getBoundingClientRect(), oe = E.height > 0 ? q((O - E.top) / E.height, 0, 1) : 0, Y = Math.floor(oe * x / _) * _, U = q(r + Y, r, l - _);
|
|
466
|
+
return {
|
|
467
|
+
start: ne(u.day.date, U),
|
|
468
|
+
end: ne(u.day.date, U + _),
|
|
469
|
+
resourceId: (F = u.resource) == null ? void 0 : F.id
|
|
470
|
+
};
|
|
471
|
+
}, P = {
|
|
472
|
+
"--ui-calendar-columns": o.length,
|
|
473
|
+
"--ui-calendar-hours": x / 60,
|
|
474
|
+
"--ui-calendar-slot-ratio": _ / 60
|
|
475
|
+
};
|
|
476
|
+
return (
|
|
477
|
+
/*
|
|
478
|
+
* With no event to focus, the scroll box itself takes the focus (2.1.1): the hours past the
|
|
479
|
+
* fold are reached with the arrow keys of the box.
|
|
480
|
+
*/
|
|
481
|
+
/* @__PURE__ */ p(
|
|
482
|
+
"div",
|
|
483
|
+
{
|
|
484
|
+
className: d.scroller,
|
|
485
|
+
...a.some((u) => u.length > 0) ? {} : { tabIndex: 0, role: "region", "aria-label": e },
|
|
486
|
+
children: /* @__PURE__ */ L("div", { className: R(d.time, s.length > 0 && d["time--bands"]), style: P, children: [
|
|
487
|
+
/* @__PURE__ */ p("div", { className: d.corner }),
|
|
488
|
+
/* @__PURE__ */ L("div", { className: d.headers, children: [
|
|
489
|
+
t.map((u) => /* @__PURE__ */ p(wt, { day: u, span: w ? b : 1 }, u.date)),
|
|
490
|
+
w && o.map((u) => /* @__PURE__ */ p(
|
|
491
|
+
kt,
|
|
492
|
+
{
|
|
493
|
+
resource: u.resource,
|
|
494
|
+
renderResource: N
|
|
495
|
+
},
|
|
496
|
+
u.index
|
|
497
|
+
))
|
|
498
|
+
] }),
|
|
499
|
+
/* @__PURE__ */ L("div", { className: d.gutter, "aria-hidden": !0, children: [
|
|
500
|
+
K.map((u) => /* @__PURE__ */ p("span", { className: d.gutter__hour, style: { top: S(u) }, children: ee(u) }, u)),
|
|
501
|
+
s.map((u) => /* @__PURE__ */ p(
|
|
502
|
+
"span",
|
|
503
|
+
{
|
|
504
|
+
className: d.gutter__band,
|
|
505
|
+
style: { top: S(u.startMin), height: I(u.endMin - u.startMin) },
|
|
506
|
+
children: u.label
|
|
507
|
+
},
|
|
508
|
+
u.key
|
|
509
|
+
))
|
|
510
|
+
] }),
|
|
511
|
+
/* @__PURE__ */ p("div", { ref: k, className: d.columns, children: o.map((u) => /* @__PURE__ */ L(
|
|
512
|
+
"div",
|
|
513
|
+
{
|
|
514
|
+
role: "group",
|
|
515
|
+
"aria-label": u.label,
|
|
516
|
+
className: R(d.column, u.day.isOff && d["column--off"]),
|
|
517
|
+
onClick: A ? (m) => {
|
|
518
|
+
m.target !== m.currentTarget || C() || A(B(u, m.currentTarget, m.clientY));
|
|
519
|
+
} : void 0,
|
|
520
|
+
onDragOver: T ? (m) => {
|
|
521
|
+
m.preventDefault(), m.dataTransfer.dropEffect = "move";
|
|
522
|
+
} : void 0,
|
|
523
|
+
onDrop: T ? (m) => {
|
|
524
|
+
m.preventDefault(), T({
|
|
525
|
+
...B(u, m.currentTarget, m.clientY),
|
|
526
|
+
data: m.dataTransfer.getData("text/plain")
|
|
527
|
+
});
|
|
528
|
+
} : void 0,
|
|
529
|
+
children: [
|
|
530
|
+
s.map((m, O) => /* @__PURE__ */ p(
|
|
531
|
+
"div",
|
|
532
|
+
{
|
|
533
|
+
className: R(d.band, O % 2 === 1 && d["band--alternate"]),
|
|
534
|
+
style: {
|
|
535
|
+
top: S(m.startMin),
|
|
536
|
+
height: I(m.endMin - m.startMin)
|
|
537
|
+
},
|
|
538
|
+
"aria-hidden": !0
|
|
539
|
+
},
|
|
540
|
+
m.key
|
|
541
|
+
)),
|
|
542
|
+
a[u.index].map((m) => /* @__PURE__ */ p(
|
|
543
|
+
Ce,
|
|
544
|
+
{
|
|
545
|
+
item: m,
|
|
546
|
+
view: "time",
|
|
547
|
+
isActive: m.key === h,
|
|
548
|
+
isDragSource: m.key === (c == null ? void 0 : c.key),
|
|
549
|
+
isResizable: M && m.isMovable,
|
|
550
|
+
rangeStart: r,
|
|
551
|
+
rangeLength: x,
|
|
552
|
+
columnLabel: u.label,
|
|
553
|
+
cancelledLabel: i,
|
|
554
|
+
renderEvent: f,
|
|
555
|
+
handlers: D
|
|
556
|
+
},
|
|
557
|
+
m.key
|
|
558
|
+
)),
|
|
559
|
+
c && J && c.target.column === u.index && /* @__PURE__ */ L(
|
|
560
|
+
"div",
|
|
561
|
+
{
|
|
562
|
+
className: d.preview,
|
|
563
|
+
style: {
|
|
564
|
+
"--ui-calendar-top": S(c.target.startMin),
|
|
565
|
+
"--ui-calendar-height": `${(c.target.endMin - c.target.startMin) / x * 100}%`
|
|
566
|
+
},
|
|
567
|
+
"aria-hidden": !0,
|
|
568
|
+
children: [
|
|
569
|
+
ie(c.target.startMin, c.target.endMin),
|
|
570
|
+
/* @__PURE__ */ p("span", { className: d.preview__title, children: J.event.title })
|
|
571
|
+
]
|
|
572
|
+
}
|
|
573
|
+
)
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
u.index
|
|
577
|
+
)) })
|
|
578
|
+
] })
|
|
579
|
+
}
|
|
580
|
+
)
|
|
581
|
+
);
|
|
582
|
+
}, Ct = 3, Dt = ({
|
|
583
|
+
label: e,
|
|
584
|
+
days: t,
|
|
585
|
+
events: n,
|
|
586
|
+
view: o = "time",
|
|
587
|
+
resources: s,
|
|
588
|
+
renderResource: a,
|
|
589
|
+
bands: r,
|
|
590
|
+
startTime: l = "08:00",
|
|
591
|
+
endTime: _ = "20:00",
|
|
592
|
+
slotMinutes: k = 30,
|
|
593
|
+
weekdays: h,
|
|
594
|
+
maxEventsPerDay: c = Ct,
|
|
595
|
+
selectedDate: M,
|
|
596
|
+
onEventChange: i,
|
|
597
|
+
onEventOpen: f,
|
|
598
|
+
onSlotSelect: N,
|
|
599
|
+
onDaySelect: D,
|
|
600
|
+
onExternalDrop: C,
|
|
601
|
+
renderEvent: A,
|
|
602
|
+
className: T,
|
|
603
|
+
testId: x
|
|
604
|
+
}) => {
|
|
605
|
+
var me, ge, pe;
|
|
606
|
+
const { labels: b } = Ee(), w = Le(), K = Ae(), I = z(null), S = z(null), [J, B] = be(), P = z(null), u = !!i, m = Z(l), O = Z(_), E = W(() => Re(t, s), [t, s]), oe = W(
|
|
607
|
+
() => Pe(r, m, O),
|
|
608
|
+
[r, m, O]
|
|
609
|
+
), Y = W(
|
|
610
|
+
() => o === "time" ? Ie(n, E, m, O, u) : Se(n, t, u),
|
|
611
|
+
[o, n, E, t, m, O, u]
|
|
612
|
+
), U = W(
|
|
613
|
+
() => o === "month" ? Y.map((g) => g.slice(0, c)) : Y,
|
|
614
|
+
[o, Y, c]
|
|
615
|
+
), F = {
|
|
616
|
+
view: o,
|
|
617
|
+
columnCount: o === "time" ? E.length : t.length,
|
|
618
|
+
rangeStart: m,
|
|
619
|
+
rangeEnd: O,
|
|
620
|
+
slotMinutes: k
|
|
621
|
+
}, le = U.flat(), de = le.some((g) => g.key === J) ? J : (me = le[0]) == null ? void 0 : me.key, De = (g) => o === "time" ? E[g.column].label : t[g.column].label, H = z({ view: o, columns: E, days: t, onEventChange: i, onEventOpen: f, focusable: U, bounds: F });
|
|
622
|
+
H.current = { view: o, columns: E, days: t, onEventChange: i, onEventOpen: f, focusable: U, bounds: F };
|
|
623
|
+
const ae = se((g, v) => {
|
|
624
|
+
const y = H.current, $ = Ye(g, v, y.view, y.columns, y.days);
|
|
625
|
+
if (!(!$ || !y.onEventChange))
|
|
626
|
+
return y.onEventChange($), $;
|
|
627
|
+
}, []), V = Be({ bodyRef: S, bounds: F, onDrop: ae }), ue = (g) => {
|
|
628
|
+
const y = [...I.current.querySelectorAll("[data-key]")].find(
|
|
629
|
+
($) => $.dataset.key === g
|
|
630
|
+
);
|
|
631
|
+
y == null || y.focus();
|
|
632
|
+
}, he = W(
|
|
633
|
+
() => ({
|
|
634
|
+
onPointerDown: (g, v, y) => {
|
|
635
|
+
P.current = null, H.current.onEventChange && V.begin(g, v, y);
|
|
636
|
+
},
|
|
637
|
+
onClick: (g, v) => {
|
|
638
|
+
var y, $;
|
|
639
|
+
V.isClickSwallowed() || ($ = (y = H.current).onEventOpen) == null || $.call(y, g.event.id);
|
|
640
|
+
},
|
|
641
|
+
onFocus: (g) => B(g.key),
|
|
642
|
+
onKeyDown: (g, v) => {
|
|
643
|
+
if (P.current = null, !Ue(v.key)) return;
|
|
644
|
+
const y = H.current;
|
|
645
|
+
if (v.metaKey || v.ctrlKey) {
|
|
646
|
+
if (v.preventDefault(), !g.isMovable) return;
|
|
647
|
+
const G = je(g, v.key, v.shiftKey, y.bounds);
|
|
648
|
+
if (!G) return;
|
|
649
|
+
P.current = {
|
|
650
|
+
key: `${g.event.id}@${G.column}`,
|
|
651
|
+
before: g.event
|
|
652
|
+
}, ae(g, G) || (P.current = null);
|
|
653
|
+
return;
|
|
654
|
+
}
|
|
655
|
+
const $ = Xe(y.focusable, g, v.key);
|
|
656
|
+
$ && (v.preventDefault(), B($.key), ue($.key));
|
|
657
|
+
}
|
|
658
|
+
}),
|
|
659
|
+
// `drag.begin` and `drag.isClickSwallowed` are stable; the rest is read through `latest`.
|
|
660
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
661
|
+
[ae]
|
|
662
|
+
);
|
|
663
|
+
we(() => {
|
|
664
|
+
var G;
|
|
665
|
+
const g = P.current;
|
|
666
|
+
if (!g) return;
|
|
667
|
+
const v = Y.flat().find((xe) => xe.key === g.key), { before: y } = g;
|
|
668
|
+
v !== void 0 && (v.event.start !== y.start || v.event.end !== y.end || v.event.resourceId !== y.resourceId) && (P.current = null, B(v.key), ue(v.key), w(
|
|
669
|
+
Me(
|
|
670
|
+
"Calendar.moved",
|
|
671
|
+
(G = b == null ? void 0 : b.calendar) == null ? void 0 : G.moved,
|
|
672
|
+
v.event.title,
|
|
673
|
+
`${De(v)}, ${ie(v.startMin, v.endMin)}`
|
|
674
|
+
)
|
|
675
|
+
));
|
|
676
|
+
}, [n]);
|
|
677
|
+
const fe = ce("Calendar.cancelled", (ge = b == null ? void 0 : b.calendar) == null ? void 0 : ge.cancelled), $e = ce("Calendar.instructions", (pe = b == null ? void 0 : b.calendar) == null ? void 0 : pe.instructions);
|
|
678
|
+
return /* @__PURE__ */ L(
|
|
679
|
+
"div",
|
|
680
|
+
{
|
|
681
|
+
ref: I,
|
|
682
|
+
className: R(d.calendar, T),
|
|
683
|
+
role: "group",
|
|
684
|
+
"aria-label": e,
|
|
685
|
+
"aria-describedby": K,
|
|
686
|
+
"data-testid": x,
|
|
687
|
+
children: [
|
|
688
|
+
/* @__PURE__ */ p("span", { id: K, className: d.srOnly, children: $e }),
|
|
689
|
+
o === "time" ? /* @__PURE__ */ p(
|
|
690
|
+
Nt,
|
|
691
|
+
{
|
|
692
|
+
label: e,
|
|
693
|
+
days: t,
|
|
694
|
+
resources: s,
|
|
695
|
+
columns: E,
|
|
696
|
+
bands: oe,
|
|
697
|
+
placed: Y,
|
|
698
|
+
rangeStart: m,
|
|
699
|
+
rangeEnd: O,
|
|
700
|
+
slotMinutes: k,
|
|
701
|
+
bodyRef: S,
|
|
702
|
+
activeKey: de,
|
|
703
|
+
preview: V.preview,
|
|
704
|
+
isEditable: u,
|
|
705
|
+
cancelledLabel: fe,
|
|
706
|
+
renderEvent: A,
|
|
707
|
+
renderResource: a,
|
|
708
|
+
handlers: he,
|
|
709
|
+
isClickSwallowed: V.isClickSwallowed,
|
|
710
|
+
onSlotSelect: N,
|
|
711
|
+
onExternalDrop: C
|
|
712
|
+
}
|
|
713
|
+
) : /* @__PURE__ */ p(
|
|
714
|
+
bt,
|
|
715
|
+
{
|
|
716
|
+
days: t,
|
|
717
|
+
shown: U,
|
|
718
|
+
hiddenCounts: Y.map((g, v) => g.length - U[v].length),
|
|
719
|
+
weekdays: h,
|
|
720
|
+
selectedDate: M,
|
|
721
|
+
bodyRef: S,
|
|
722
|
+
activeKey: de,
|
|
723
|
+
preview: V.preview,
|
|
724
|
+
cancelledLabel: fe,
|
|
725
|
+
formatMore: (g) => {
|
|
726
|
+
var v;
|
|
727
|
+
return Me("Calendar.more", (v = b == null ? void 0 : b.calendar) == null ? void 0 : v.more, g);
|
|
728
|
+
},
|
|
729
|
+
renderEvent: A,
|
|
730
|
+
handlers: he,
|
|
731
|
+
onDaySelect: D
|
|
732
|
+
}
|
|
733
|
+
)
|
|
734
|
+
]
|
|
735
|
+
}
|
|
736
|
+
);
|
|
737
|
+
}, Et = /* @__PURE__ */ ke(/* @__PURE__ */ Te(Dt, "Calendar"));
|
|
738
|
+
export {
|
|
739
|
+
Et as Calendar
|
|
740
|
+
};
|
|
741
|
+
//# sourceMappingURL=calendar.js.map
|