@konstructio/ui 0.1.2-alpha.105 → 0.1.2-alpha.107
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/README.md +118 -31
- package/dist/{AdditionalOptions-D0BAS2HG.js → AdditionalOptions-Crcnz0_g.js} +1 -1
- package/dist/{AlertDialogTrigger-BGo_acd5.js → AlertDialogTrigger-ouMGAlJW.js} +39 -39
- package/dist/{Breadcrumb-Cp3abB2w.js → Breadcrumb-MrF1Z6w2.js} +3 -3
- package/dist/{Checkbox-B_ngk9Dj.js → Checkbox-8KnRLpQG.js} +60 -61
- package/dist/{CommandInput-BLq69pOT.js → CommandInput-CGnqfudl.js} +4 -4
- package/dist/{Counter-BV680M5r.js → Counter-CDXdP1Af.js} +3 -3
- package/dist/{DayPicker-kweJz134.js → DayPicker-C22j0Y-u.js} +539 -518
- package/dist/{DropdownButton-DfNojmCW.js → DropdownButton-D4QlKGg7.js} +7 -7
- package/dist/{FlagSelectorList-CkTR3j6O.js → FlagSelectorList-tYZNl-tz.js} +31 -24
- package/dist/{HamburgerTrigger-DRylBL2d.js → HamburgerTrigger-B_NGSZ2r.js} +20 -20
- package/dist/{ImageUpload-DiwymQcU.js → ImageUpload-D7HKSXK8.js} +71 -66
- package/dist/Input-is8n7emP.js +195 -0
- package/dist/{Loading-DUh9PMJN.js → Loading-DO8JOWBV.js} +1 -1
- package/dist/{Modal-Dyn088X7.js → Modal-Dq9BHD_9.js} +4 -4
- package/dist/{Spinner-CUwE2bLm.js → Spinner-BJE79VTl.js} +1 -1
- package/dist/{StepIndicatorContent-CjbjVjS1.js → StepIndicatorContent-BGDvxLzV.js} +1 -1
- package/dist/Switch-C7286Bcu.js +199 -0
- package/dist/{Toast-3NEz7LLa.js → Toast-jSx3Lao8.js} +8 -7
- package/dist/Wrapper-2AUlYAHQ.js +195 -0
- package/dist/{Wrapper-CVJSuYWx.js → Wrapper-CyHxGs4E.js} +4 -4
- package/dist/{Wrapper-DP6Sxngx.js → Wrapper-a7RVCcrn.js} +248 -242
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +1 -1
- package/dist/components/Autocomplete/components/List/List.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +27 -25
- package/dist/components/Autocomplete/hooks/useNavigationList.js +2 -3
- package/dist/components/Badge/Badge.js +2 -2
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/components/BackButton/BackButton.js +2 -2
- package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +65 -60
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +10 -9
- package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +8 -6
- package/dist/components/Card/Card.js +25 -22
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +2 -2
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/CommandItem.js +2 -2
- package/dist/components/Command/components/CommandList.js +2 -2
- package/dist/components/Command/components/CommandSeparator.js +2 -2
- package/dist/components/Command/components/CommandShortcut.js +1 -1
- package/dist/components/Command/components/DialogContent.js +3 -3
- package/dist/components/Command/components/DialogOverlay.js +2 -2
- package/dist/components/Command/components/index.js +1 -1
- package/dist/components/Counter/Counter.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +2 -2
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +30 -28
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +23 -21
- package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +48 -41
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +48 -41
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +2 -2
- package/dist/components/Divider/Divider.js +7 -7
- package/dist/components/Drawer/Drawer.js +28 -26
- package/dist/components/Drawer/components/Body/Body.js +1 -1
- package/dist/components/Drawer/components/Footer/Footer.js +1 -1
- package/dist/components/Drawer/components/Header/Header.js +1 -1
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +51 -36
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +40 -38
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +1 -1
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +1 -1
- package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +2 -2
- package/dist/components/Filter/components/ResetButton/ResetButton.js +1 -1
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +43 -41
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +1 -1
- package/dist/components/Filter/utils/index.js +1 -1
- package/dist/components/ImageUpload/ImageUpload.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/LineChart/LineChart.js +2 -2
- package/dist/components/Loading/Loading.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/MultiSelectDropdown/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +4 -3
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +17 -16
- package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +11 -11
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +3 -3
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +3 -3
- package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/index.js +2 -2
- package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
- package/dist/components/PhoneNumberInput/utils/index.js +1 -1
- package/dist/components/PieChart/PieChart.js +31 -28
- package/dist/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RadioCard/RadioCard.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +2 -2
- package/dist/components/Select/Select.js +43 -36
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -1
- package/dist/components/Select/components/List/List.js +78 -67
- package/dist/components/Select/components/ListItem/ListItem.js +1 -1
- package/dist/components/Select/components/Wrapper.js +1 -1
- package/dist/components/Select/components/index.js +2 -2
- package/dist/components/Select/hooks/useNavigationList.js +2 -3
- package/dist/components/Select/hooks/useSelect.js +8 -8
- package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +1 -1
- package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
- package/dist/components/Sidebar/components/Label/Label.js +1 -1
- package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
- package/dist/components/Sidebar/components/Navigation/Navigation.js +1 -1
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +1 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +2 -2
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +25 -24
- package/dist/components/Sidebar/components/index.js +1 -1
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +2 -2
- package/dist/components/Stepper/components/StepConnector/StepConnector.js +1 -1
- package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +1 -1
- package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +2 -2
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Switch/Switch.variants.js +15 -7
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/components/Body.js +1 -1
- package/dist/components/Table/components/Filter.js +1 -1
- package/dist/components/Table/components/Head.js +1 -1
- package/dist/components/Table/components/Row.js +1 -1
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/components/Content.js +2 -2
- package/dist/components/Tabs/components/List.js +2 -2
- package/dist/components/Tabs/components/Trigger.js +2 -2
- package/dist/components/Tag/Tag.js +8 -8
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.js +1 -1
- package/dist/components/TagSelect/components/List/List.js +1 -1
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/TagSelect/components/index.js +1 -1
- package/dist/components/TagSelect/hooks/useTagSelect.js +11 -11
- package/dist/components/TextArea/TextArea.js +71 -26
- package/dist/components/TextArea/TextArea.variants.js +49 -13
- package/dist/components/TimePicker/components/HoursList/HoursList.js +1 -1
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +1 -1
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +1 -1
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +114 -99
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +19 -18
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Typography/Typography.js +19 -16
- package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +1 -1
- package/dist/components/VirtualizedTable/components/Body/Body.js +2 -2
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +2 -2
- package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +4 -4
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +2 -2
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +1 -1
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +3 -3
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +1 -1
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/index.js +12 -12
- package/dist/{components-Cf345jTv.js → components-CaEW5ge4.js} +32 -32
- package/dist/{constants-CxJJRVK3.js → constants-HQIXhj2t.js} +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/contexts/theme.provider.js +1 -1
- package/dist/{debounce-C5Ycjilj.js → debounce-BdyZeJQk.js} +2 -2
- package/dist/{dist-DFCz63oC2.js → dist-9WbMf_jT.js} +158 -159
- package/dist/{dist-tGUUcv8n.js → dist-AxOGvL82.js} +114 -115
- package/dist/{dist-DDck_2lb.js → dist-BIBFLVt1.js} +117 -116
- package/dist/{dist-BZNE2Tnx.js → dist-BbX4Nrk2.js} +1 -1
- package/dist/{dist-BaPW7qXd2.js → dist-BnCbAI-c.js} +1 -1
- package/dist/{dist-BdobXn93.js → dist-CszFjHAP.js} +2 -2
- package/dist/{dist-C3YVLapk.js → dist-DO3apbIh.js} +24 -24
- package/dist/{dist-CzKqHuqJ2.js → dist-DwxO2RoR.js} +38 -38
- package/dist/{dist-AihTpWdF.js → dist-iUAHw-3y.js} +272 -272
- package/dist/{dist-BlPTJNIm.js → dist-pxvIAJzo.js} +2 -2
- package/dist/es2015-B_07N-UL.js +796 -0
- package/dist/hooks/useMediaQuery.js +1 -1
- package/dist/index.js +14 -14
- package/dist/{isObject-BeFFiVJK.js → isObject-pLoSfdr0.js} +1 -1
- package/dist/lib/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.types.d.ts +1 -1
- package/dist/lib/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.types.d.ts +2 -0
- package/dist/lib/components/Card/Card.types.d.ts +1 -0
- package/dist/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/lib/components/Checkbox/Checkbox.types.d.ts +2 -1
- package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.types.d.ts +1 -0
- package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.types.d.ts +1 -0
- package/dist/lib/components/Divider/Divider.d.ts +3 -2
- package/dist/lib/components/Divider/Divider.types.d.ts +4 -0
- package/dist/lib/components/Input/Input.types.d.ts +4 -0
- package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +2 -0
- package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.types.d.ts +2 -0
- package/dist/lib/components/Select/Select.types.d.ts +2 -0
- package/dist/lib/components/Select/components/List/List.types.d.ts +3 -0
- package/dist/lib/components/Select/components/Wrapper.d.ts +2 -0
- package/dist/lib/components/Sidebar/Sidebar.types.d.ts +2 -0
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +2 -0
- package/dist/lib/components/Switch/Switch.variants.d.ts +3 -1
- package/dist/lib/components/Tag/Tag.types.d.ts +1 -0
- package/dist/lib/components/TextArea/TextArea.d.ts +6 -0
- package/dist/lib/components/TextArea/TextArea.types.d.ts +13 -2
- package/dist/lib/components/TextArea/TextArea.variants.d.ts +4 -1
- package/dist/lib/components/TimePicker/TimePicker.types.d.ts +4 -0
- package/dist/lib/components/TimePicker/components/WrapperList/WrapperList.types.d.ts +1 -0
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/{libphonenumber-hGupNnJu.js → libphonenumber-BMq3Thej.js} +356 -347
- package/dist/package.json +27 -27
- package/dist/{phone-number.provider-BxQCTxp8.js → phone-number.provider-Dkq_p1Gi.js} +2 -2
- package/dist/{prop-types-CfEYxTbR.js → prop-types-BCUW56rg.js} +1 -1
- package/dist/{react-CvUtBTMg.js → react-7zQ6bvbE.js} +837 -828
- package/dist/{rolldown-runtime-Ck3dxwZt.js → rolldown-runtime-Dw9YIBcH.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{table.provider-B0BafHuU.js → table.provider-CWzODR1t.js} +96 -96
- package/dist/{theme.provider-Dw4O3ocC.js → theme.provider-CSL1WCYG.js} +1 -1
- package/dist/{useBreadcrumb-DYfZL_2p.js → useBreadcrumb-Ds_9BeFz.js} +7 -6
- package/dist/utils/index.js +6 -5
- package/dist/{utils-Cx-WzRZF.js → utils-B-6R7kNE.js} +8 -4
- package/dist/{utils-B-BTGYA5.js → utils-DVYdP0CJ.js} +2 -3
- package/dist/{x-BI9jmc7e.js → x-Ierxf0uI.js} +2 -2
- package/package.json +27 -27
- package/dist/Input-Cf44DzfE.js +0 -188
- package/dist/Switch-aPhL5rNG.js +0 -196
- package/dist/Wrapper-R8fik3ah.js +0 -182
- package/dist/es2015-DigR3dar.js +0 -795
- /package/dist/{dist-DGOjiAnB2.js → dist-DGOjiAnB.js} +0 -0
- /package/dist/{dist-pWlMx4Fi2.js → dist-pWlMx4Fi.js} +0 -0
- /package/dist/{x-a_LpoXzG2.js → x-a_LpoXzG.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as o } from "./Checkbox-
|
|
2
|
-
import { t as m } from "./DropdownButton-
|
|
3
|
-
import { t as e } from "./Breadcrumb-
|
|
4
|
-
import { t as a } from "./Input-
|
|
5
|
-
import { t as n } from "./Counter-
|
|
6
|
-
import {
|
|
1
|
+
import { t as o } from "./Checkbox-8KnRLpQG.js";
|
|
2
|
+
import { t as m } from "./DropdownButton-D4QlKGg7.js";
|
|
3
|
+
import { t as e } from "./Breadcrumb-MrF1Z6w2.js";
|
|
4
|
+
import { t as a } from "./Input-is8n7emP.js";
|
|
5
|
+
import { t as n } from "./Counter-CDXdP1Af.js";
|
|
6
|
+
import { a as l, t as d } from "./utils-B-6R7kNE.js";
|
|
7
7
|
import { Alert as g } from "./components/Alert/Alert.js";
|
|
8
8
|
import { Button as c } from "./components/Button/Button.js";
|
|
9
9
|
import { AlertDialog as D } from "./components/AlertDialog/AlertDialog.js";
|
|
@@ -11,7 +11,7 @@ import { useClickOutside as R } from "./hooks/useClickOutside.js";
|
|
|
11
11
|
import { useMediaQuery as b } from "./hooks/useMediaQuery.js";
|
|
12
12
|
import { useToggle as w } from "./hooks/useToggle.js";
|
|
13
13
|
import { Autocomplete as x } from "./components/Autocomplete/Autocomplete.js";
|
|
14
|
-
import { t as E } from "./Loading-
|
|
14
|
+
import { t as E } from "./Loading-DO8JOWBV.js";
|
|
15
15
|
import { Badge as P } from "./components/Badge/Badge.js";
|
|
16
16
|
import { Typography as I } from "./components/Typography/Typography.js";
|
|
17
17
|
import { ButtonGroup as k } from "./components/ButtonGroup/ButtonGroup.js";
|
|
@@ -29,10 +29,10 @@ import { DateRangeFilterDropdown as tr } from "./components/Filter/components/Da
|
|
|
29
29
|
import { TextMultiSelect as ir } from "./components/Filter/components/TextMultiSelect/TextMultiSelect.js";
|
|
30
30
|
import { TimeFilterDropdown as pr } from "./components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js";
|
|
31
31
|
import { Filter as fr } from "./components/Filter/Filter.js";
|
|
32
|
-
import { t as sr } from "./ImageUpload-
|
|
32
|
+
import { t as sr } from "./ImageUpload-D7HKSXK8.js";
|
|
33
33
|
import { LineChart as dr } from "./components/LineChart/LineChart.js";
|
|
34
|
-
import { t as gr } from "./Modal-
|
|
35
|
-
import { t as cr } from "./components-
|
|
34
|
+
import { t as gr } from "./Modal-Dq9BHD_9.js";
|
|
35
|
+
import { t as cr } from "./components-CaEW5ge4.js";
|
|
36
36
|
import { PhoneNumberInput as Dr } from "./components/PhoneNumberInput/PhoneNumberInput.js";
|
|
37
37
|
import { PieChart as Rr } from "./components/PieChart/PieChart.js";
|
|
38
38
|
import { ProgressBar as br } from "./components/ProgressBar/ProgressBar.js";
|
|
@@ -50,10 +50,10 @@ import { NavigationSeparator as jr } from "./components/Sidebar/components/Navig
|
|
|
50
50
|
import { Navigation as Hr } from "./components/Sidebar/components/Navigation/Navigation.js";
|
|
51
51
|
import { Sidebar as Kr } from "./components/Sidebar/Sidebar.js";
|
|
52
52
|
import { Slider as Yr } from "./components/Slider/Slider.js";
|
|
53
|
-
import { t as _r } from "./Spinner-
|
|
53
|
+
import { t as _r } from "./Spinner-BJE79VTl.js";
|
|
54
54
|
import { horizontalConnectorWrapperVariants as ro, stepConnectorVariants as oo, stepContentVariants as to, stepDescriptionVariants as mo, stepIndicatorVariants as io, stepItemVariants as eo, stepLabelVariants as po, stepListVariants as ao, stepVariants as fo, stepperVariants as no } from "./components/Stepper/Stepper.variants.js";
|
|
55
55
|
import { Stepper as lo } from "./components/Stepper/Stepper.js";
|
|
56
|
-
import { t as go } from "./Switch-
|
|
56
|
+
import { t as go } from "./Switch-C7286Bcu.js";
|
|
57
57
|
import { Table as co } from "./components/Table/Table.js";
|
|
58
58
|
import { Content as Do } from "./components/Tabs/components/Content.js";
|
|
59
59
|
import { List as Ro } from "./components/Tabs/components/List.js";
|
|
@@ -62,7 +62,7 @@ import { Tabs as wo } from "./components/Tabs/Tabs.js";
|
|
|
62
62
|
import { Tag as xo } from "./components/Tag/Tag.js";
|
|
63
63
|
import { TagSelect as Eo } from "./components/TagSelect/TagSelect.js";
|
|
64
64
|
import { TextArea as Po } from "./components/TextArea/TextArea.js";
|
|
65
|
-
import { t as Io } from "./Toast-
|
|
65
|
+
import { t as Io } from "./Toast-jSx3Lao8.js";
|
|
66
66
|
import { Tooltip as ko } from "./components/Tooltip/Tooltip.js";
|
|
67
67
|
import { t as Ao } from "./events.types-BG1Uh8i6.js";
|
|
68
68
|
import { sendResetFiltersEvent as yo } from "./components/VirtualizedTable/events/filters/filters.js";
|
|
@@ -72,7 +72,7 @@ import { TruncateText as Ho } from "./components/VirtualizedTable/components/Tru
|
|
|
72
72
|
import { VirtualizedTable as Ko } from "./components/VirtualizedTable/VirtualizedTable.js";
|
|
73
73
|
import { ThemeContext as Yo } from "./contexts/theme.context.js";
|
|
74
74
|
import { useTheme as _o } from "./contexts/theme.hook.js";
|
|
75
|
-
import { t as rt } from "./theme.provider-
|
|
75
|
+
import { t as rt } from "./theme.provider-CSL1WCYG.js";
|
|
76
76
|
import "./contexts/index.js";
|
|
77
77
|
export {
|
|
78
78
|
g as Alert,
|
|
@@ -15,6 +15,7 @@ import { cardVariants } from './Card.variants';
|
|
|
15
15
|
export interface Props extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants>, PropsWithChildren {
|
|
16
16
|
/** Enable hover effect */
|
|
17
17
|
canHover?: boolean;
|
|
18
|
+
component?: 'div' | 'article' | 'section' | 'aside' | 'li';
|
|
18
19
|
/** Show active/selected state */
|
|
19
20
|
isActive?: boolean;
|
|
20
21
|
/** Theme override for this component */
|
|
@@ -12,9 +12,10 @@ import { checkboxVariants } from './Checkbox.variants';
|
|
|
12
12
|
* <Checkbox label="Disabled option" disabled />
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
|
-
export interface Props extends Omit<CheckboxPropsPrimitive, 'onChange'>, Omit<VariantProps<typeof checkboxVariants>, 'checked'> {
|
|
15
|
+
export interface Props extends Omit<CheckboxPropsPrimitive, 'onChange' | 'checked'>, Omit<VariantProps<typeof checkboxVariants>, 'checked'> {
|
|
16
16
|
/** ID of element that labels the checkbox for accessibility */
|
|
17
17
|
ariaLabelledBy?: string;
|
|
18
|
+
checked?: boolean;
|
|
18
19
|
/** Additional CSS classes */
|
|
19
20
|
className?: string;
|
|
20
21
|
/** Initial checked state */
|
|
@@ -9,6 +9,7 @@ export type Props = {
|
|
|
9
9
|
labelDate?: string;
|
|
10
10
|
labelTime?: string;
|
|
11
11
|
ariaLabelDate?: string;
|
|
12
|
+
ariaLabelTime?: string;
|
|
12
13
|
onDateChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
13
14
|
onDateFocus: () => void;
|
|
14
15
|
onDateBlur: (e: FocusEvent<HTMLInputElement>) => void;
|
|
@@ -9,6 +9,7 @@ export type Props = {
|
|
|
9
9
|
labelDate?: string;
|
|
10
10
|
labelTime?: string;
|
|
11
11
|
ariaLabelDate?: string;
|
|
12
|
+
ariaLabelTime?: string;
|
|
12
13
|
onDateChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
13
14
|
onDateFocus: () => void;
|
|
14
15
|
onDateBlur: (e: FocusEvent<HTMLInputElement>) => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { FC
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Props } from './Divider.types';
|
|
2
3
|
/**
|
|
3
4
|
* A horizontal divider/separator line.
|
|
4
5
|
*
|
|
@@ -13,5 +14,5 @@ import { FC, HTMLAttributes } from 'react';
|
|
|
13
14
|
*
|
|
14
15
|
* @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-divider--docs Storybook}
|
|
15
16
|
*/
|
|
16
|
-
declare const Divider: FC<
|
|
17
|
+
declare const Divider: FC<Props>;
|
|
17
18
|
export { Divider };
|
|
@@ -19,6 +19,10 @@ export interface Props extends InputHTMLAttributes<HTMLInputElement>, VariantPro
|
|
|
19
19
|
helperText?: string;
|
|
20
20
|
/** Additional CSS classes for the helper text */
|
|
21
21
|
helperTextClassName?: string;
|
|
22
|
+
/** Accessible label for the password toggle while the password is visible */
|
|
23
|
+
hidePasswordLabel?: string;
|
|
24
|
+
/** Accessible label for the password toggle while the password is hidden */
|
|
25
|
+
showPasswordLabel?: string;
|
|
22
26
|
/** Show required indicator (*) next to label */
|
|
23
27
|
isRequired?: boolean;
|
|
24
28
|
/** Show search icon inside the input */
|
|
@@ -60,6 +60,8 @@ export interface Props extends VariantProps<typeof multiSelectDropdownVariants>,
|
|
|
60
60
|
name?: string;
|
|
61
61
|
/** Text shown when no options match the search */
|
|
62
62
|
noOptionsText?: string;
|
|
63
|
+
/** Text shown in the list while options are loading */
|
|
64
|
+
loadingText?: string;
|
|
63
65
|
/** Available options to select from */
|
|
64
66
|
options: MultiSelectDropdownOption[];
|
|
65
67
|
/** Placeholder text when no selection */
|
|
@@ -5,6 +5,7 @@ export type State = {
|
|
|
5
5
|
isLoading?: boolean;
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
noOptionsText?: string;
|
|
8
|
+
loadingText?: string;
|
|
8
9
|
options: MultiSelectDropdownOption[];
|
|
9
10
|
selectedOptions: MultiSelectDropdownOption[];
|
|
10
11
|
onSelectOption: (option: MultiSelectDropdownOption) => void;
|
|
@@ -17,6 +18,7 @@ export type MultiSelectDropdownProviderProps = PropsWithChildren & {
|
|
|
17
18
|
multiselect?: boolean;
|
|
18
19
|
name?: string;
|
|
19
20
|
noOptionsText?: string;
|
|
21
|
+
loadingText?: string;
|
|
20
22
|
value?: MultiSelectDropdownOption[];
|
|
21
23
|
onChange?: (params: {
|
|
22
24
|
target: {
|
|
@@ -111,6 +111,8 @@ export type Props = VariantProps<typeof selectVariants> & Omit<InputHTMLAttribut
|
|
|
111
111
|
listItemSecondRowClassName?: string;
|
|
112
112
|
mainWrapperClassName?: string;
|
|
113
113
|
noOptionsText?: string;
|
|
114
|
+
/** Text shown in the list while options are loading */
|
|
115
|
+
loadingText?: string;
|
|
114
116
|
visibleItems?: number;
|
|
115
117
|
options: Option[] | OptionGroup[];
|
|
116
118
|
searchable?: boolean;
|
|
@@ -2,6 +2,8 @@ import { ComponentRef, RefObject } from 'react';
|
|
|
2
2
|
import { Props as SelectProps } from '../../Select.types';
|
|
3
3
|
export type ListProps = Pick<SelectProps, 'name' | 'options' | 'theme' | 'additionalOptions'> & {
|
|
4
4
|
className?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
labelledBy?: string;
|
|
5
7
|
groupedOptions: SelectProps['options'];
|
|
6
8
|
inputRef?: RefObject<ComponentRef<'input'> | null>;
|
|
7
9
|
isLoading: boolean;
|
|
@@ -12,5 +14,6 @@ export type ListProps = Pick<SelectProps, 'name' | 'options' | 'theme' | 'additi
|
|
|
12
14
|
isInfiniteScrollEnabled: SelectProps['isInfiniteScrollEnabled'];
|
|
13
15
|
onFetchMoreOptions?: SelectProps['onFetchMoreOptions'];
|
|
14
16
|
noOptionsText?: SelectProps['noOptionsText'];
|
|
17
|
+
loadingText?: SelectProps['loadingText'];
|
|
15
18
|
visibleItems?: number;
|
|
16
19
|
};
|
|
@@ -2,4 +2,6 @@ import { ComponentRef, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
|
2
2
|
import { SelectProps } from '../Select.types';
|
|
3
3
|
export declare const Wrapper: ForwardRefExoticComponent<Omit<SelectProps, 'options'> & {
|
|
4
4
|
groupedOptions: SelectProps['options'];
|
|
5
|
+
fieldId: string;
|
|
6
|
+
describedBy?: string;
|
|
5
7
|
} & RefAttributes<ComponentRef<'input'>>>;
|
|
@@ -69,6 +69,8 @@ export interface Props extends Omit<VariantProps<typeof wrapperSiderbarVariants>
|
|
|
69
69
|
separatorClassName?: string;
|
|
70
70
|
/** Additional CSS classes for the hamburger trigger button rendered in drawer mode */
|
|
71
71
|
triggerClassName?: string;
|
|
72
|
+
/** Accessible label for the mobile navigation trigger */
|
|
73
|
+
openNavigationLabel?: string;
|
|
72
74
|
/**
|
|
73
75
|
* Per-slot class overrides for the underlying `Drawer` rendered in
|
|
74
76
|
* `drawer` mode. Mirrors `Drawer`'s `classNames` shape: `root`, `overlay`,
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export declare const switchVariants: (props?:
|
|
1
|
+
export declare const switchVariants: (props?: ({
|
|
2
|
+
variant?: "default" | "black" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
2
4
|
export declare const thumbVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
@@ -17,6 +17,12 @@ import { Props } from './TextArea.types';
|
|
|
17
17
|
* value={comments}
|
|
18
18
|
* onChange={(e) => setComments(e.target.value)}
|
|
19
19
|
* />
|
|
20
|
+
*
|
|
21
|
+
* // Required textarea with validation state
|
|
22
|
+
* <TextArea label="Bio" isRequired error="Bio is required" />
|
|
23
|
+
*
|
|
24
|
+
* // Textarea with helper text
|
|
25
|
+
* <TextArea label="Bio" helperText="Max 200 characters" />
|
|
20
26
|
* ```
|
|
21
27
|
*
|
|
22
28
|
* @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-textarea--docs Storybook}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import {
|
|
2
|
+
import { ReactNode, TextareaHTMLAttributes } from 'react';
|
|
3
3
|
import { Theme } from '../../domain/theme';
|
|
4
4
|
import { textAreaVariants } from './TextArea.variants';
|
|
5
5
|
/**
|
|
@@ -10,13 +10,24 @@ import { textAreaVariants } from './TextArea.variants';
|
|
|
10
10
|
* <TextArea label="Description" placeholder="Enter description..." />
|
|
11
11
|
* <TextArea label="Notes" rows={5} />
|
|
12
12
|
* <TextArea name="bio" initialValue="Default text" />
|
|
13
|
+
* <TextArea label="Bio" isRequired error="Bio is required" />
|
|
13
14
|
* ```
|
|
14
15
|
*/
|
|
15
|
-
export interface Props extends
|
|
16
|
+
export interface Props extends TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
16
17
|
/** Number of visible text rows (default: 3) */
|
|
17
18
|
rows?: number;
|
|
19
|
+
/** Error message to display below the textarea */
|
|
20
|
+
error?: string;
|
|
21
|
+
/** Helper text displayed below the textarea when no error */
|
|
22
|
+
helperText?: string;
|
|
23
|
+
/** Additional CSS classes for the helper text */
|
|
24
|
+
helperTextClassName?: string;
|
|
25
|
+
/** Show required indicator (*) next to label */
|
|
26
|
+
isRequired?: boolean;
|
|
18
27
|
/** Label displayed above the textarea */
|
|
19
28
|
label?: string | ReactNode;
|
|
29
|
+
/** Additional CSS classes for the label */
|
|
30
|
+
labelClassName?: string;
|
|
20
31
|
/** Additional CSS classes for the label wrapper */
|
|
21
32
|
labelWrapperClassName?: string;
|
|
22
33
|
/** Form field name */
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
export declare const textAreaVariants: (props?:
|
|
1
|
+
export declare const textAreaVariants: (props?: ({
|
|
2
|
+
variant?: "error" | "default" | null | undefined;
|
|
3
|
+
isExpandable?: boolean | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -28,8 +28,12 @@ export type Props = VariantProps<typeof timePickerVariants> & {
|
|
|
28
28
|
time?: Date;
|
|
29
29
|
/** Form field name */
|
|
30
30
|
name?: string;
|
|
31
|
+
/** Id of the rendered control, for consumer-owned labels */
|
|
32
|
+
id?: string;
|
|
31
33
|
/** Label displayed above the picker */
|
|
32
34
|
label?: string;
|
|
35
|
+
/** Accessible name, when the visible label is rendered by the consumer */
|
|
36
|
+
ariaLabel?: string;
|
|
33
37
|
/** Whether the field is required */
|
|
34
38
|
isRequired?: boolean;
|
|
35
39
|
/** Additional CSS classes for the wrapper */
|
|
@@ -3,3 +3,4 @@ export declare const cn: (...inputs: ClassValue[]) => string;
|
|
|
3
3
|
export declare const filterByValue: (elements: string[], valueToFind: string) => string[];
|
|
4
4
|
export declare const isClient: boolean;
|
|
5
5
|
export declare const resolveColor: (cssVar: string) => string;
|
|
6
|
+
export declare const composeIds: (...ids: (string | false | null | undefined)[]) => string | undefined;
|