@ryuzaki13/react-foundation-ui 1.4.4 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advanced-search/index.js +9 -9
- package/dist/badge/index.js +1 -1
- package/dist/base-table/index.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/check-box/index.js +1 -1
- package/dist/chunks/{CalendarView-Z_XWk7aI.js → CalendarView-DtacoN_c.js} +2 -2
- package/dist/chunks/{CalendarView-Z_XWk7aI.js.map → CalendarView-DtacoN_c.js.map} +1 -1
- package/dist/chunks/CheckBox.module-C5SjPwSj.js.map +1 -1
- package/dist/chunks/{TextEditorLexicalClient-CK8j3RA4.js → TextEditorLexicalClient-DVML-Nhd.js} +6 -6
- package/dist/chunks/{TextEditorLexicalClient-CK8j3RA4.js.map → TextEditorLexicalClient-DVML-Nhd.js.map} +1 -1
- package/dist/chunks/{badge-DwIUjH0a.js → badge-CbclcpUi.js} +2 -2
- package/dist/chunks/{badge-DwIUjH0a.js.map → badge-CbclcpUi.js.map} +1 -1
- package/dist/chunks/{base-table-BFsVwXg3.js → base-table-BPcdSitC.js} +3 -3
- package/dist/chunks/{base-table-BFsVwXg3.js.map → base-table-BPcdSitC.js.map} +1 -1
- package/dist/chunks/{button-BU2kRzwu.js → button-BOl7hYmT.js} +4 -4
- package/dist/chunks/button-BOl7hYmT.js.map +1 -0
- package/dist/chunks/{check-box-Dd3YFuxd.js → check-box-6HGX_KOy.js} +5 -5
- package/dist/chunks/check-box-6HGX_KOy.js.map +1 -0
- package/dist/chunks/{context-menu-C6RO7soI.js → context-menu-BY4pYGwB.js} +2 -2
- package/dist/chunks/{context-menu-C6RO7soI.js.map → context-menu-BY4pYGwB.js.map} +1 -1
- package/dist/chunks/{date-input-BzExUQnc.js → date-input-DKkJO_-h.js} +19 -19
- package/dist/chunks/date-input-DKkJO_-h.js.map +1 -0
- package/dist/chunks/{floating-arrow-BE-z4QkE.js → floating-arrow-DPKwJfww.js} +3 -3
- package/dist/chunks/{floating-arrow-BE-z4QkE.js.map → floating-arrow-DPKwJfww.js.map} +1 -1
- package/dist/chunks/{input-Bp6_Ucgr.js → input-BWCaVC06.js} +9 -7
- package/dist/chunks/input-BWCaVC06.js.map +1 -0
- package/dist/chunks/{input-files-D1JzSw_Y.js → input-files-62qH2TMj.js} +3 -3
- package/dist/chunks/{input-files-D1JzSw_Y.js.map → input-files-62qH2TMj.js.map} +1 -1
- package/dist/chunks/{input-search-Bkhcinru.js → input-search-CdPI1cb6.js} +2 -2
- package/dist/chunks/{input-search-Bkhcinru.js.map → input-search-CdPI1cb6.js.map} +1 -1
- package/dist/chunks/{misc-BYxxlJz6.js → misc-Cp_r022Z.js} +2 -2
- package/dist/chunks/{misc-BYxxlJz6.js.map → misc-Cp_r022Z.js.map} +1 -1
- package/dist/chunks/{modal-paexEF0j.js → modal-DPIXoMkB.js} +3 -3
- package/dist/chunks/{modal-paexEF0j.js.map → modal-DPIXoMkB.js.map} +1 -1
- package/dist/chunks/{multi-select-COEkc8Qc.js → multi-select-01xmD1nZ.js} +114 -104
- package/dist/chunks/multi-select-01xmD1nZ.js.map +1 -0
- package/dist/chunks/{picker-e6IsrMUG.js → picker-Mdb73_uW.js} +3 -3
- package/dist/chunks/picker-Mdb73_uW.js.map +1 -0
- package/dist/chunks/popover-BTT7zSqx.js +230 -0
- package/dist/chunks/{popover-CGU3MlsH.js.map → popover-BTT7zSqx.js.map} +1 -1
- package/dist/chunks/{radio-group-CM9Lg_nc.js → radio-group-4j2HbemI.js} +2 -2
- package/dist/chunks/{radio-group-CM9Lg_nc.js.map → radio-group-4j2HbemI.js.map} +1 -1
- package/dist/chunks/{select-BON0S9Dr.js → select-DRf4_a1Z.js} +6 -6
- package/dist/chunks/select-DRf4_a1Z.js.map +1 -0
- package/dist/chunks/{table-Dd5BcC0k.js → table-DSg9gi_l.js} +2 -2
- package/dist/chunks/{table-Dd5BcC0k.js.map → table-DSg9gi_l.js.map} +1 -1
- package/dist/chunks/{ui.module-BisoTevy.js → ui.module-BfaIVBba.js} +3 -1
- package/dist/chunks/ui.module-BfaIVBba.js.map +1 -0
- package/dist/chunks/{uiClasses-BNjBunnY.js → uiClasses-4atXOh0J.js} +2 -2
- package/dist/chunks/{uiClasses-BNjBunnY.js.map → uiClasses-4atXOh0J.js.map} +1 -1
- package/dist/chunks/{useODataSelectBase-CKe1AVMI.js → useODataSelectBase-DI_wwKgw.js} +2 -2
- package/dist/chunks/{useODataSelectBase-CKe1AVMI.js.map → useODataSelectBase-DI_wwKgw.js.map} +1 -1
- package/dist/context-menu/index.js +1 -1
- package/dist/date-input/index.js +2 -2
- package/dist/date-input/ui/DateInput.d.ts.map +1 -1
- package/dist/date-time-input/index.js +195 -194
- package/dist/date-time-input/index.js.map +1 -1
- package/dist/date-time-input/ui/SingleDateTimeInput.d.ts.map +1 -1
- package/dist/disclosure/index.js +4 -3
- package/dist/disclosure/index.js.map +1 -1
- package/dist/drop-zone/index.js +1 -1
- package/dist/expandable-action-panel/index.js +2 -2
- package/dist/floating-arrow/index.js +1 -1
- package/dist/image/index.js +4 -4
- package/dist/input/Input.d.ts +2 -1
- package/dist/input/Input.d.ts.map +1 -1
- package/dist/input/index.js +1 -1
- package/dist/input-date-time/index.js +2 -2
- package/dist/input-file/index.js +2 -2
- package/dist/input-files/index.js +1 -1
- package/dist/input-image/index.js +2 -2
- package/dist/input-search/index.js +1 -1
- package/dist/layout-picker/index.js +94 -107
- package/dist/layout-picker/index.js.map +1 -1
- package/dist/layout-picker/ui/LayoutPicker.d.ts.map +1 -1
- package/dist/list/index.js +1 -1
- package/dist/listbox/Listbox.d.ts +1 -0
- package/dist/listbox/Listbox.d.ts.map +1 -1
- package/dist/listbox/index.js +39 -34
- package/dist/listbox/index.js.map +1 -1
- package/dist/misc/index.js +1 -1
- package/dist/modal/index.js +1 -1
- package/dist/multi-select/index.js +2 -2
- package/dist/multi-select/ui/MultiSelect.d.ts.map +1 -1
- package/dist/multi-select/ui/defaultRenderers.d.ts +2 -1
- package/dist/multi-select/ui/defaultRenderers.d.ts.map +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/picker/index.js +1 -1
- package/dist/popover/FloatingPopover.d.ts +5 -0
- package/dist/popover/FloatingPopover.d.ts.map +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/preset-range-date-input/index.js +2 -3
- package/dist/preset-range-date-input/index.js.map +1 -1
- package/dist/preset-select/index.js +1 -1
- package/dist/radio-button/index.js +3 -3
- package/dist/radio-button/index.js.map +1 -1
- package/dist/radio-group/index.js +1 -1
- package/dist/select/Select.d.ts.map +1 -1
- package/dist/select/index.js +1 -1
- package/dist/simple-table/index.js +1 -1
- package/dist/slider/Slider.d.ts.map +1 -1
- package/dist/slider/index.js +131 -117
- package/dist/slider/index.js.map +1 -1
- package/dist/state-select/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table-sorting/index.js +1 -1
- package/dist/tabs/index.js +2 -2
- package/dist/tabs/index.js.map +1 -1
- package/dist/tag-input/index.js +2 -2
- package/dist/text/index.js +1 -1
- package/dist/text-editor/index.js +2 -2
- package/dist/textarea/Textarea.d.ts.map +1 -1
- package/dist/textarea/index.js +3 -2
- package/dist/textarea/index.js.map +1 -1
- package/dist/toggle/index.js +1 -1
- package/dist/tree-select/TreeMultiSelect.d.ts.map +1 -1
- package/dist/tree-select/TreePickerBase.d.ts.map +1 -1
- package/dist/tree-select/index.js +244 -244
- package/dist/tree-select/index.js.map +1 -1
- package/dist/tree-table/index.js +1 -1
- package/package.json +24 -18
- package/src/styles/_base.scss +3 -3
- package/src/styles/config/_index.scss +43 -38
- package/src/styles/mixins/_controls.scss +17 -16
- package/storybook-static/assets/Badge-CD5894x5.css +1 -0
- package/storybook-static/assets/{Badge-Bh73-APE.js → Badge-CblO4qSx.js} +1 -1
- package/storybook-static/assets/{Badge.stories-gNFtCWnR.js → Badge.stories-CtRrqjAo.js} +1 -1
- package/storybook-static/assets/{Button-O9QPAftp.js → Button-BVt4jmN4.js} +1 -1
- package/storybook-static/assets/{Button-mjF9HSg0.js → Button-Bzc9jBAF.js} +1 -1
- package/storybook-static/assets/{Button-DtU4kGzD.css → Button-DuVDH6-g.css} +1 -1
- package/storybook-static/assets/{Button.stories-wkiE0c_a.js → Button.stories-tqfxm0ox.js} +1 -1
- package/storybook-static/assets/CalendarView-MkrPd5D-.js +1 -0
- package/storybook-static/assets/{CheckBox-CB8fTQF0.js → CheckBox-0BK2dgdD.js} +1 -1
- package/storybook-static/assets/CheckBox-8XczNrjq.css +1 -0
- package/storybook-static/assets/{CheckBox-Clpeg9q7.js → CheckBox-CWipX4CI.js} +2 -2
- package/storybook-static/assets/{CheckBox.stories-pfWBxvOy.js → CheckBox.stories-B5yWzlQa.js} +1 -1
- package/storybook-static/assets/{Color-6AOWCN3U-CVvkiihj.js → Color-6AOWCN3U-WdTzF_2p.js} +1 -1
- package/storybook-static/assets/{ContextMenu-Sv4wfyS3.js → ContextMenu-BjWu5DHB.js} +1 -1
- package/storybook-static/assets/{ContextMenu-eGnlhRRu.js → ContextMenu-kbSWsoCE.js} +1 -1
- package/storybook-static/assets/ContextMenu.stories-CQcrX3sj.js +90 -0
- package/storybook-static/assets/DateInput-4lH8A4HQ.css +1 -0
- package/storybook-static/assets/DateInput-BUgBb3aH.js +1 -0
- package/storybook-static/assets/{DateInput-DQDplLib.js → DateInput-CyNIW9Md.js} +1 -1
- package/storybook-static/assets/{DateInput.stories-BNpS4CND.js → DateInput.stories-DyB3PjTl.js} +1 -1
- package/storybook-static/assets/{DateRangePresetSelect-DCBEf98i.js → DateRangePresetSelect-BwibZk_q.js} +1 -1
- package/storybook-static/assets/{DateRangePresetSelect-Bfx-d5qg.js → DateRangePresetSelect-CBZ0OAmn.js} +1 -1
- package/storybook-static/assets/{DateRangePresetSelect.stories-PAV2jgQb.js → DateRangePresetSelect.stories-kmmKl-3j.js} +1 -1
- package/storybook-static/assets/{Detail-DvmdQCue.js → Detail-pHBZ5bkR.js} +1 -1
- package/storybook-static/assets/{Detail.stories-CEm00aSN.js → Detail.stories-Bs5YNmLn.js} +1 -1
- package/storybook-static/assets/Dialog-DBTU-LRR.js +1 -0
- package/storybook-static/assets/{Dialog-3I2Y7jD7.js → Dialog-DbFhCtF1.js} +1 -1
- package/storybook-static/assets/Dialog.stories-_WQW8YNs.js +31 -0
- package/storybook-static/assets/{Disclosure-DUIQ37oh.js → Disclosure-vOJWmhLt.js} +1 -1
- package/storybook-static/assets/Disclosure.stories-wyulIOoJ.js +40 -0
- package/storybook-static/assets/DisclosureGroup-BUDxwl5C.js +2 -0
- package/storybook-static/assets/DisclosureGroup-DjObX5Qs.css +1 -0
- package/storybook-static/assets/{DocsRenderer-JROSPFPF-DwPk6ai7.js → DocsRenderer-JROSPFPF-B7vhvrpB.js} +1 -1
- package/storybook-static/assets/DropZone-B7Q1qQqP.js +9 -0
- package/storybook-static/assets/{DropZone-BGuCU5dq.js → DropZone-BvRT0gUm.js} +1 -1
- package/storybook-static/assets/DropZone.stories-WmoR3uPj.js +36 -0
- package/storybook-static/assets/DropdownMenu-BW35W6_U.js +1 -0
- package/storybook-static/assets/ExpandableActionPanel-C9G9PsZx.js +2 -0
- package/storybook-static/assets/ExpandableActionPanel.stories-Dllpmeu_.js +19 -0
- package/storybook-static/assets/{Flex-CBwbh1yu.js → Flex-Cydb-4MR.js} +1 -1
- package/storybook-static/assets/{Flex.stories-cdk6vRZq.js → Flex.stories-Dczj9g4W.js} +1 -1
- package/storybook-static/assets/FloatingPopover-C-W77AcJ.js +1 -0
- package/storybook-static/assets/{FloatingPopover-DC84VrV3.css → FloatingPopover-jwILx9b0.css} +1 -1
- package/storybook-static/assets/FormattedTableCell-fePg_bmP.js +18 -0
- package/storybook-static/assets/{Grid-BkKqSMfk.js → Grid-Dal3v5dj.js} +1 -1
- package/storybook-static/assets/{Grid.stories-828arrPi.js → Grid.stories-Byb4mMpE.js} +1 -1
- package/storybook-static/assets/{ImageCropper.stories-CrIWrKKR.js → ImageCropper.stories-B9OD2pur.js} +1 -1
- package/storybook-static/assets/{ImageRenderer-F3AaZx-K.js → ImageRenderer-BcUjptiu.js} +1 -1
- package/storybook-static/assets/{ImageRenderer.stories-l3PnRYxy.js → ImageRenderer.stories-BuO2nhom.js} +1 -1
- package/storybook-static/assets/{ImageView.stories-C6uhkvCN.js → ImageView.stories-mSkR535R.js} +1 -1
- package/storybook-static/assets/{ImageViewer.stories-BSPiv5lU.js → ImageViewer.stories-DVdR3-_j.js} +2 -2
- package/storybook-static/assets/{ImageViewerRuntime-BOpMGgz6.js → ImageViewerRuntime-DiR_HwIE.js} +1 -1
- package/storybook-static/assets/{Input-D-ZrbHVw.js → Input-BdCavSu1.js} +1 -1
- package/storybook-static/assets/Input-DZQKV4DP.js +3 -0
- package/storybook-static/assets/Input-Db2-9PJZ.css +1 -0
- package/storybook-static/assets/{Input.stories-vqPv6pLx.js → Input.stories-Cu66SvKb.js} +1 -1
- package/storybook-static/assets/{InputDateTime-DHBVbRii.js → InputDateTime-Day94W-O.js} +1 -1
- package/storybook-static/assets/{InputDateTime.stories-BAvLMBuk.js → InputDateTime.stories-990MuicZ.js} +1 -1
- package/storybook-static/assets/InputFile-CJll5mC-.js +1 -0
- package/storybook-static/assets/{InputFile-B9TVOEZV.js → InputFile-Cp8x84ZG.js} +1 -1
- package/storybook-static/assets/InputFile.stories-fNNwbNfa.js +36 -0
- package/storybook-static/assets/{InputFiles-CxZkOZFK.js → InputFiles-CBvR3Szf.js} +1 -1
- package/storybook-static/assets/InputFiles-OusF5Lfq.js +1 -0
- package/storybook-static/assets/InputFiles.stories-DcpEbOOo.js +33 -0
- package/storybook-static/assets/{InputFilesList-OEX4zGI3.js → InputFilesList-zuNP1QIB.js} +1 -1
- package/storybook-static/assets/{InputImage-31A6fxSf.js → InputImage-CjMAL3uq.js} +1 -1
- package/storybook-static/assets/InputImage-Dl2bJNZk.js +7 -0
- package/storybook-static/assets/InputImage.stories-BzxEndIe.js +45 -0
- package/storybook-static/assets/InteractiveComponents.stories-CXF1nGLl.js +303 -0
- package/storybook-static/assets/{LayoutPicker-Dc55ovYM.js → LayoutPicker-BahcFBzK.js} +1 -1
- package/storybook-static/assets/LayoutPicker-CZRoovVS.css +1 -0
- package/storybook-static/assets/LayoutPicker-DzAN3gGO.js +376 -0
- package/storybook-static/assets/LayoutPicker-yb6IMmd2.css +1 -0
- package/storybook-static/assets/LayoutPicker.stories-ByamaGlv.js +74 -0
- package/storybook-static/assets/Listbox-C5hwzE4s.js +41 -0
- package/storybook-static/assets/Listbox-CHsNGsDc.js +1 -0
- package/storybook-static/assets/Listbox.stories-CvXZeESb.js +53 -0
- package/storybook-static/assets/{Modal-CXvDgktT.js → Modal-Dib11Lzy.js} +1 -1
- package/storybook-static/assets/Modal.stories-DYMy-kLP.js +180 -0
- package/storybook-static/assets/ModalManagerProvider-natWXnSM.js +1 -0
- package/storybook-static/assets/{MultiSelect-DN4foQlG.js → MultiSelect-Cl9MkPZw.js} +1 -1
- package/storybook-static/assets/MultiSelect-DlCZ7dhH.js +2 -0
- package/storybook-static/assets/{MultiSelect.stories-CgKNQmma.js → MultiSelect.stories-202TRBKq.js} +1 -1
- package/storybook-static/assets/{NoData-W7wK8oTW.js → NoData-DcHZdLTJ.js} +1 -1
- package/storybook-static/assets/{NotificationsHost-D1UoWmF8.js → NotificationsHost-DzqEi2vc.js} +1 -1
- package/storybook-static/assets/{NotificationsHost.stories-BWUuMmPl.js → NotificationsHost.stories-CvoQfIjj.js} +1 -1
- package/storybook-static/assets/{ODataMultiSelect-DE1V4el8.js → ODataMultiSelect-CHQguikm.js} +1 -1
- package/storybook-static/assets/{ODataMultiSelect.stories-Q1DUIL2W.js → ODataMultiSelect.stories-BZbWK4CP.js} +1 -1
- package/storybook-static/assets/{ODataSelect-CtoT2Wxx.js → ODataSelect-C1YGDpg_.js} +1 -1
- package/storybook-static/assets/{ODataSelect.stories-DLi7Rwzk.js → ODataSelect.stories-D4tQXs2c.js} +1 -1
- package/storybook-static/assets/{ODataTreeMultiSelect-DEZfgyPK.js → ODataTreeMultiSelect-BjR7zhyJ.js} +1 -1
- package/storybook-static/assets/{ODataTreeMultiSelect.stories-H42q78xI.js → ODataTreeMultiSelect.stories-Drg8mLhi.js} +1 -1
- package/storybook-static/assets/{ODataTreeSelect-BeylEiPN.js → ODataTreeSelect-D_fcT3Aw.js} +1 -1
- package/storybook-static/assets/{ODataTreeSelect.stories-MOILmtfY.js → ODataTreeSelect.stories-BWFdmmvf.js} +2 -2
- package/storybook-static/assets/{OneStepScroller-BSvYN6QP.js → OneStepScroller-DWCRXFHq.js} +1 -1
- package/storybook-static/assets/{PeriodSelect-KQFGCxq6.js → PeriodSelect-C7QQKxZ4.js} +1 -1
- package/storybook-static/assets/PeriodSelect-DtfTzrNK.js +5 -0
- package/storybook-static/assets/PeriodSelect.stories-CF65LIHm.js +60 -0
- package/storybook-static/assets/{PickerSelectionToolbar-Cvv8vTZm.js → PickerSelectionToolbar-D9atWyWj.js} +1 -1
- package/storybook-static/assets/{PickerTriggerActions-BBZmXagt.js → PickerTriggerActions-C7WeaOKN.js} +1 -1
- package/storybook-static/assets/{Popover-D6gSyjaW.js → Popover-CUJF-IMC.js} +1 -1
- package/storybook-static/assets/{Popover-7YZIq8Fi.js → Popover-DQJIeny_.js} +1 -1
- package/storybook-static/assets/{Popover.stories-DM69Ztws.js → Popover.stories-BON0z3PX.js} +1 -1
- package/storybook-static/assets/PresetRangeDateInput-D3_uzWzQ.js +1 -0
- package/storybook-static/assets/{PresetRangeDateInput-Ch6GapcJ.js → PresetRangeDateInput-DpA1KOCo.js} +1 -1
- package/storybook-static/assets/PresetRangeDateInput.stories-CDDJDiei.js +15 -0
- package/storybook-static/assets/{PresetSelect-C8uIYhPJ.js → PresetSelect-DlV2eC-b.js} +1 -1
- package/storybook-static/assets/RadioButton-BLyqp88m.js +2 -0
- package/storybook-static/assets/{RadioButton-BQjiyASl.js → RadioButton-wkLEwRaH.js} +1 -1
- package/storybook-static/assets/RadioButton.stories-DS9RYBEJ.js +35 -0
- package/storybook-static/assets/{RadioGroup-vw4ObVj-.js → RadioGroup-CsWIje1J.js} +1 -1
- package/storybook-static/assets/{RadioGroup-DNqu6WaC.js → RadioGroup-DERcyzA0.js} +1 -1
- package/storybook-static/assets/{RadioGroup.stories-B-WQzZW_.js → RadioGroup.stories-DkgUPavS.js} +1 -1
- package/storybook-static/assets/{Scrollable-DrxMuH2M.js → Scrollable-DvJ3T3Ik.js} +1 -1
- package/storybook-static/assets/{Select-BxigZNtu.js → Select-DmEm2boi.js} +1 -1
- package/storybook-static/assets/{Select-X_O4M8Hi.js → Select-g0c0XGQY.js} +1 -1
- package/storybook-static/assets/{Select.stories-BpTrYJSr.js → Select.stories-BEPJovVd.js} +1 -1
- package/storybook-static/assets/{SelectOptionContent-RAmgWCOm.js → SelectOptionContent-B5E2W8PZ.js} +1 -1
- package/storybook-static/assets/{SerializableSelect-CA9wjk2m.js → SerializableSelect-wgzDfqEi.js} +1 -1
- package/storybook-static/assets/{SerializableSelect.stories-DXd4E-3U.js → SerializableSelect.stories-V8IqyO9Y.js} +1 -1
- package/storybook-static/assets/{SingleDateTimeInput-BeFLYUBF.js → SingleDateTimeInput-B7v0t9f5.js} +1 -1
- package/storybook-static/assets/SingleDateTimeInput-CN7PyOsb.js +1 -0
- package/storybook-static/assets/SingleDateTimeInput-dwDPQ0HY.css +1 -0
- package/storybook-static/assets/SingleDateTimeInput.stories-FOoEMoyF.js +78 -0
- package/storybook-static/assets/Slider-24H5ASxG.js +1 -0
- package/storybook-static/assets/{Slider-BdWBkKp4.js → Slider-3HQKHpoi.js} +1 -1
- package/storybook-static/assets/Slider-BWuie2gr.css +1 -0
- package/storybook-static/assets/{Slider.stories-CgmOhVBs.js → Slider.stories-DeeP8cmV.js} +1 -1
- package/storybook-static/assets/{SliderInput-QmF2VQWA.js → SliderInput-CFbx-GW7.js} +1 -1
- package/storybook-static/assets/SliderInput-bqFr-Lyp.js +2 -0
- package/storybook-static/assets/SliderInput.stories-Djli653m.js +67 -0
- package/storybook-static/assets/{Sortable-D5OTpesH.js → Sortable-CMo2PMKX.js} +1 -1
- package/storybook-static/assets/{Sortable.stories-yz3c5EhY.js → Sortable.stories-BFsQvwMx.js} +1 -1
- package/storybook-static/assets/{Splitter-DVq6XBul.js → Splitter-dwOhGuIg.js} +1 -1
- package/storybook-static/assets/{Splitter.stories-CopPw1_p.js → Splitter.stories-DZ3nAxpo.js} +1 -1
- package/storybook-static/assets/StateSelect-IigEzRom.js +4 -0
- package/storybook-static/assets/{StateSelect-ojwXeKmx.js → StateSelect-j3gi4kbM.js} +1 -1
- package/storybook-static/assets/StateSelect.stories-Bj-2m2hS.js +44 -0
- package/storybook-static/assets/{StringToggle.stories-ByYMmlXl.js → StringToggle.stories-ClSl76ts.js} +1 -1
- package/storybook-static/assets/{Switch-Dy4Pahkn.js → Switch-BDbBZjMA.js} +1 -1
- package/storybook-static/assets/Switch-C9OAPzUM.js +1 -0
- package/storybook-static/assets/Switch.stories-CQ3ueThx.js +26 -0
- package/storybook-static/assets/{Table-BO6Oa4JV.js → Table-BbGcLQ81.js} +1 -1
- package/storybook-static/assets/{Table.stories--TpBKwmP.js → Table.stories-DvaHP59R.js} +1 -1
- package/storybook-static/assets/{Tabs-7c93qVyH.js → Tabs-CNEYvzUv.js} +1 -1
- package/storybook-static/assets/Tabs.stories-BpyQokl8.js +57 -0
- package/storybook-static/assets/TabsBox-ClZCbgKB.js +2 -0
- package/storybook-static/assets/TabsBox-Co1vxD90.css +1 -0
- package/storybook-static/assets/TagInput-ChmW4s9O.css +1 -0
- package/storybook-static/assets/TagInput-DorsSF_V.js +7 -0
- package/storybook-static/assets/TagInput.stories-ChgRz4Co.js +12 -0
- package/storybook-static/assets/{Text-BPlJUr3R.js → Text-DUqtop-c.js} +1 -1
- package/storybook-static/assets/{Textarea-D3S4MkiX.js → Textarea-ZfZJmHsp.js} +1 -1
- package/storybook-static/assets/Textarea-yZWv6QdW.js +1 -0
- package/storybook-static/assets/Textarea.stories-B5Q7syxH.js +27 -0
- package/storybook-static/assets/{TimePanel-C2iZ9Qr6.js → TimePanel-C39f__j8.js} +1 -1
- package/storybook-static/assets/{TimePanel.stories-JTjIv6z1.js → TimePanel.stories-DtjILTPk.js} +1 -1
- package/storybook-static/assets/{Toggle-CHmajZE5.js → Toggle-BndjhQFY.js} +1 -1
- package/storybook-static/assets/{Toggle-OlKw8qaK.js → Toggle-CdpPJI_O.js} +1 -1
- package/storybook-static/assets/{Toggle.stories-k4Z8qQVs.js → Toggle.stories-BD_C0YTw.js} +1 -1
- package/storybook-static/assets/{TreeMultiSelect-dOg0l7rk.js → TreeMultiSelect--M1WiE_f.js} +1 -1
- package/storybook-static/assets/TreeMultiSelect-BPz5kISi.js +1 -0
- package/storybook-static/assets/{TreeMultiSelect.stories-CAzZRxn5.js → TreeMultiSelect.stories-BgkDJur9.js} +1 -1
- package/storybook-static/assets/{TreePickerBase-DMs9EpFv.css → TreePickerBase-BxLupQDs.css} +1 -1
- package/storybook-static/assets/{TreePickerBase-ycYQYQgi.js → TreePickerBase-Dup03AiC.js} +2 -2
- package/storybook-static/assets/{TreeSelect-BrNyI_Qx.js → TreeSelect-B0RWsDT4.js} +1 -1
- package/storybook-static/assets/{TreeSelect-CDecTnag.js → TreeSelect-BrQGgG40.js} +1 -1
- package/storybook-static/assets/{TreeSelect.stories-BUOw2Rwn.js → TreeSelect.stories-DkgdJ5XX.js} +1 -1
- package/storybook-static/assets/{TreeTable-BXw7lFBk.js → TreeTable-HQr8pb9r.js} +1 -1
- package/storybook-static/assets/{TreeTable.stories-z40pruPV.js → TreeTable.stories-C4hcph6x.js} +1 -1
- package/storybook-static/assets/{async-BLDV04P4.js → async-lzSWdC34.js} +1 -1
- package/storybook-static/assets/{blocks-BiaKjftm.js → blocks-D8l_hmHU.js} +3 -3
- package/storybook-static/assets/{browserAndReact-DX4H5rjQ.js → browserAndReact-BwvRFhzI.js} +1 -1
- package/storybook-static/assets/{check-fB4gCKB_.js → check-DpX8PMs_.js} +1 -1
- package/storybook-static/assets/{chevron-down-B9GH0QvB.js → chevron-down-DE8FRR-h.js} +1 -1
- package/storybook-static/assets/{chevron-left-DjbyJeHO.js → chevron-left-Cy3TEG_Y.js} +1 -1
- package/storybook-static/assets/{chevron-right-D29uf09I.js → chevron-right-CZ4-4s1X.js} +1 -1
- package/storybook-static/assets/{chunk-W22LQPXL-CGkHFiZ0.js → chunk-W22LQPXL-Ci-XApFb.js} +1 -1
- package/storybook-static/assets/{circle-alert-Dmd7-WNp.js → circle-alert-CWbgc3Jn.js} +1 -1
- package/storybook-static/assets/{circle-check-VtVMsaJJ.js → circle-check-DODquDnH.js} +1 -1
- package/storybook-static/assets/{components-CsfQDbHv.js → components-BdUOCBP9.js} +3 -3
- package/storybook-static/assets/{contextMenu-CzdfaUsd.js → contextMenu-XvvXJEpW.js} +1 -1
- package/storybook-static/assets/defaultRenderers-lMEgLPIU.js +1 -0
- package/storybook-static/assets/defaultRenderers-tFmVIvt_.css +1 -0
- package/storybook-static/assets/{download-CyVhTbv6.js → download-BEGaHxQc.js} +1 -1
- package/storybook-static/assets/{filesAndExcel-DlUnL-Uu.js → filesAndExcel-C9FnZv9P.js} +1 -1
- package/storybook-static/assets/{floating-ui.react-DZ8IyUV4.js → floating-ui.react-GziJy4gA.js} +1 -1
- package/storybook-static/assets/formatters-CVj-3Vn0-C5-BLq9O.js +1 -0
- package/storybook-static/assets/{formatters-runtime-DVi3RdYb.js → formatters-runtime-DO0szrYr.js} +1 -1
- package/storybook-static/assets/{formatters-BTz64vfu.js → formatters-vWial7jf.js} +16 -1
- package/storybook-static/assets/{foundationLib-CFj4J-Pc.js → foundationLib-CIqc9fhG.js} +1 -1
- package/storybook-static/assets/{hooks-Ch5aYb7R.js → hooks-DfgvMSqN.js} +2 -2
- package/storybook-static/assets/{iframe-DaN-XFub.js → iframe-BHhbrImE.js} +4 -4
- package/storybook-static/assets/iframe-D7iJQEr5.css +1 -0
- package/storybook-static/assets/iframe-oIP1aL7X.js +1 -0
- package/storybook-static/assets/{info-Cirk1RKZ.js → info-DSZ4aUvi.js} +1 -1
- package/storybook-static/assets/{odata-BtfB5Aje.js → odata-DmijE2H9.js} +1 -1
- package/storybook-static/assets/{odata-service-DnPlNGpU-Bpd4Zh9L.js → odata-service-B5w4YBao-BcP2cvfZ.js} +1 -1
- package/storybook-static/assets/{odataAndTables-TEZyQ-TZ.js → odataAndTables-m2AMS6oI.js} +1 -1
- package/storybook-static/assets/{odataFetchFn-DEKVPDzV.js → odataFetchFn-CwpkgKoz.js} +1 -1
- package/storybook-static/assets/{odataStoryFixtures-CDDaJZKW.js → odataStoryFixtures-CBtJYQsv.js} +1 -1
- package/storybook-static/assets/{persisted-BzLLmgUK.js → persisted-DpSU25AR.js} +1 -1
- package/storybook-static/assets/{pureUtilities-Dw249t3R.js → pureUtilities-BG4ZSO63.js} +1 -1
- package/storybook-static/assets/react-Bz35HWpn.js +9 -0
- package/storybook-static/assets/{refresh-cw-BN3JCsXv.js → refresh-cw-ltgf4cUB.js} +1 -1
- package/storybook-static/assets/{runtimeAndState-CCVgv3ck.js → runtimeAndState-C_GrWjr8.js} +1 -1
- package/storybook-static/assets/{settings-2-jtcbbWm5.js → settings-2-qpVYfZn_.js} +1 -1
- package/storybook-static/assets/{sortable-dNWaObUX.js → sortable-CrCQ3H1V.js} +1 -1
- package/storybook-static/assets/{syntaxhighlighter-T5IQBZDB-hYwVxXYm.js → syntaxhighlighter-T5IQBZDB-eOr9ght-.js} +1 -1
- package/storybook-static/assets/{trash-2-DrVfT0z5.js → trash-2-lfhUDclN.js} +1 -1
- package/storybook-static/assets/{triangle-alert-B1Q28Bq9.js → triangle-alert-D9YGTafY.js} +1 -1
- package/storybook-static/assets/ui-CD51AD-_.css +1 -0
- package/storybook-static/assets/ui.module-kfCm3RIG.js +1 -0
- package/storybook-static/assets/{uiClasses-CO3Cdv1E.js → uiClasses-BS9RPcty.js} +1 -1
- package/storybook-static/assets/{useODataSelectBase-DlbeGYUP.js → useODataSelectBase-BVgxJPNn.js} +1 -1
- package/storybook-static/assets/{useODataTreeData-CvsoLfiG.js → useODataTreeData-CdLHOBnD.js} +1 -1
- package/storybook-static/assets/{usePickerDefaultFilter-DdxyE_i8.js → usePickerDefaultFilter-Be420WNF.js} +1 -1
- package/storybook-static/assets/{usePickerQuery-6rDaPaB0.js → usePickerQuery-B6U-oOS6.js} +1 -1
- package/storybook-static/assets/{usePickerTriggerController-BHBjSLtn.js → usePickerTriggerController-C-VxrzSe.js} +1 -1
- package/storybook-static/assets/{usePickerTriggerController-DzBkX15M.css → usePickerTriggerController-Q-ULIoGr.css} +1 -1
- package/storybook-static/assets/{x-Dh43gJN9.js → x-CNM39xuu.js} +1 -1
- package/storybook-static/iframe.html +3 -3
- package/storybook-static/index.json +1 -1
- package/storybook-static/project.json +1 -1
- package/dist/chunks/button-BU2kRzwu.js.map +0 -1
- package/dist/chunks/check-box-Dd3YFuxd.js.map +0 -1
- package/dist/chunks/date-input-BzExUQnc.js.map +0 -1
- package/dist/chunks/input-Bp6_Ucgr.js.map +0 -1
- package/dist/chunks/multi-select-COEkc8Qc.js.map +0 -1
- package/dist/chunks/picker-e6IsrMUG.js.map +0 -1
- package/dist/chunks/popover-CGU3MlsH.js +0 -222
- package/dist/chunks/select-BON0S9Dr.js.map +0 -1
- package/dist/chunks/ui.module-BisoTevy.js.map +0 -1
- package/storybook-static/assets/Badge-Cr7bAbxa.css +0 -1
- package/storybook-static/assets/CalendarView-CqKlnF8k.js +0 -1
- package/storybook-static/assets/CheckBox-CT1_Mjc0.css +0 -1
- package/storybook-static/assets/ContextMenu.stories-CVw3hOvY.js +0 -90
- package/storybook-static/assets/DateInput-D8_Oleoy.js +0 -1
- package/storybook-static/assets/DateInput-pmGiwdvw.css +0 -1
- package/storybook-static/assets/Dialog.stories-lcadmonM.js +0 -31
- package/storybook-static/assets/Disclosure-DzVnkjef.css +0 -1
- package/storybook-static/assets/Disclosure.stories-BeizaZWP.js +0 -41
- package/storybook-static/assets/DropZone.stories-B4J6OZ3T.js +0 -44
- package/storybook-static/assets/ExpandableActionPanel.stories-gCrqbhG6.js +0 -20
- package/storybook-static/assets/FloatingPopover-D4h-c24R.js +0 -1
- package/storybook-static/assets/FormattedTableCell-Dh-kHTOC.js +0 -18
- package/storybook-static/assets/Input-BioMOZju.css +0 -1
- package/storybook-static/assets/Input-Co--DMHY.js +0 -3
- package/storybook-static/assets/InputFile.stories-CypBLWFh.js +0 -36
- package/storybook-static/assets/InputFiles.stories-BGwCp7OC.js +0 -33
- package/storybook-static/assets/InputImage.stories-CdpOudXI.js +0 -51
- package/storybook-static/assets/LayoutPicker-9tLTatHF.css +0 -1
- package/storybook-static/assets/LayoutPicker.stories-DXcn-WXQ.js +0 -449
- package/storybook-static/assets/Listbox-DF8E6oMR.js +0 -38
- package/storybook-static/assets/Listbox.stories-C98_9wX3.js +0 -47
- package/storybook-static/assets/Modal.stories-DAC_QwN7.js +0 -180
- package/storybook-static/assets/MultiSelect-B-wX6JPo.js +0 -2
- package/storybook-static/assets/MultiSelectToken-DDu5n78h.css +0 -1
- package/storybook-static/assets/MultiSelectToken-fjW8p4YG.js +0 -1
- package/storybook-static/assets/PeriodSelect.stories-BIYx4_Yy.js +0 -64
- package/storybook-static/assets/PresetRangeDateInput.stories-Cqd4eb0N.js +0 -15
- package/storybook-static/assets/RadioButton.stories-Cbho4i83.js +0 -36
- package/storybook-static/assets/SingleDateTimeInput-mOllNfg2.css +0 -1
- package/storybook-static/assets/SingleDateTimeInput.stories-B1aZ754N.js +0 -78
- package/storybook-static/assets/Slider-BYrHesOR.js +0 -1
- package/storybook-static/assets/Slider-DMDFRH6B.css +0 -1
- package/storybook-static/assets/SliderInput.stories-MjSmhiOM.js +0 -68
- package/storybook-static/assets/StateSelect.stories-D46m5HNn.js +0 -47
- package/storybook-static/assets/Switch.stories-EiAb5Z-D.js +0 -26
- package/storybook-static/assets/Tabs-BLkTB6pp.css +0 -1
- package/storybook-static/assets/Tabs.stories-DXZ0r2ix.js +0 -58
- package/storybook-static/assets/TagInput-LeQAhDgs.css +0 -1
- package/storybook-static/assets/TagInput.stories-CoM8rXwa.js +0 -18
- package/storybook-static/assets/Textarea.stories-47k8uHdB.js +0 -27
- package/storybook-static/assets/TreeMultiSelect-BC_n1Wb-.js +0 -1
- package/storybook-static/assets/formatters--mhLir82-v41eaI4a.js +0 -1
- package/storybook-static/assets/iframe-CJQlmNUm.css +0 -1
- package/storybook-static/assets/iframe-Cr7AcW_R.js +0 -1
- package/storybook-static/assets/react-KzpmXJc9.js +0 -9
- package/storybook-static/assets/ui-CSPaMpbi.css +0 -1
- package/storybook-static/assets/ui.module-DoMIk8Oc.js +0 -1
- /package/storybook-static/assets/{CheckBox.module-BBzuj5He.js → CheckBox.module-DPvJxTHD.js} +0 -0
- /package/storybook-static/assets/{Modal-BL_cTIW7.css → ModalManagerProvider-BL_cTIW7.css} +0 -0
- /package/storybook-static/assets/{array-BBSjoTRy-CIRmlF93.js → array-D-_yMMUK-CIRmlF93.js} +0 -0
package/dist/slider/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e, r as t } from "../chunks/popover-
|
|
2
|
-
import { t as n } from "../chunks/ui.module-
|
|
3
|
-
import { i as r, l as i, o as a, s as o } from "../chunks/input-
|
|
4
|
-
import { l as s } from "../chunks/picker-
|
|
1
|
+
import { n as e, r as t } from "../chunks/popover-BTT7zSqx.js";
|
|
2
|
+
import { t as n } from "../chunks/ui.module-BfaIVBba.js";
|
|
3
|
+
import { i as r, l as i, o as a, s as o } from "../chunks/input-BWCaVC06.js";
|
|
4
|
+
import { l as s } from "../chunks/picker-Mdb73_uW.js";
|
|
5
5
|
import { useCallback as c, useEffect as ee, useEffectEvent as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
6
6
|
import { cn as te } from "@ryuzaki13/react-foundation-lib/utils";
|
|
7
7
|
import { Fragment as ne, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -146,6 +146,7 @@ var V = {
|
|
|
146
146
|
sliderCompact: "TMbaqW",
|
|
147
147
|
trackShell: "_77qn1L",
|
|
148
148
|
track: "cxJQqh",
|
|
149
|
+
tooltipReference: "-X13t0",
|
|
149
150
|
rail: "gg-atO",
|
|
150
151
|
fill: "bTLJZl",
|
|
151
152
|
thumb: "vDAmRy",
|
|
@@ -179,6 +180,14 @@ function W(e) {
|
|
|
179
180
|
children: e
|
|
180
181
|
}) : e;
|
|
181
182
|
}
|
|
183
|
+
function oe({ position: e, children: t }) {
|
|
184
|
+
return /* @__PURE__ */ p("span", {
|
|
185
|
+
"data-slot": "slider-tooltip-reference",
|
|
186
|
+
className: V.tooltipReference,
|
|
187
|
+
style: { left: `${e}%` },
|
|
188
|
+
children: t
|
|
189
|
+
});
|
|
190
|
+
}
|
|
182
191
|
function G(t) {
|
|
183
192
|
let { min: n, max: r, step: a, marks: s, marksPosition: c = "value", marksDisplay: l = "compact", className: ne, error: h, onClearError: g, label: _, description: v, disabled: x, size: C } = t, { min: w, max: T } = u(() => S(n, r), [n, r]), A = u(() => E(s, w, T), [
|
|
184
193
|
s,
|
|
@@ -196,51 +205,51 @@ function G(t) {
|
|
|
196
205
|
a,
|
|
197
206
|
A,
|
|
198
207
|
c
|
|
199
|
-
]), N = t.mode === "range", P = N ? void 0 : j(t.value, M), F = N ? I(t.value, M) : void 0, L = N ? re(t.value, M) : void 0, G = N ? L : [P], K = B(N ? L : P, M),
|
|
208
|
+
]), N = t.mode === "range", P = N ? void 0 : j(t.value, M), F = N ? I(t.value, M) : void 0, L = N ? re(t.value, M) : void 0, G = N ? L : [P], K = B(N ? L : P, M), se = d(null), q = d([]), J = d(null), Y = d(null), [X, Z] = f(null), { controlId: Q, labelId: ce, descriptionId: le, errorId: ue, describedBy: de } = i({
|
|
200
209
|
hasLabel: _ != null,
|
|
201
210
|
hasDescription: !!v,
|
|
202
211
|
hasError: !!h
|
|
203
|
-
}),
|
|
212
|
+
}), fe = (e) => {
|
|
204
213
|
x || t.mode !== "single" || (t.value === void 0 || t.value !== e) && (t.onChange(e), g?.());
|
|
205
|
-
},
|
|
214
|
+
}, pe = (e) => {
|
|
206
215
|
x || t.mode !== "range" || U(t.value, e) || (t.onChange(e), g?.());
|
|
207
216
|
}, $ = (e, n) => {
|
|
208
217
|
if (!x) {
|
|
209
218
|
if (t.mode === "range") {
|
|
210
219
|
let [t, r] = L, [i, a] = F, o = I(n === 0 ? [R(Math.min(e, r), M), a] : [i, R(Math.max(e, t), M)], M);
|
|
211
|
-
|
|
220
|
+
pe(o);
|
|
212
221
|
return;
|
|
213
222
|
}
|
|
214
|
-
|
|
223
|
+
fe(j(e, M));
|
|
215
224
|
}
|
|
216
|
-
},
|
|
217
|
-
let t =
|
|
225
|
+
}, me = (e) => {
|
|
226
|
+
let t = se.current?.getBoundingClientRect();
|
|
218
227
|
if (!t) return w;
|
|
219
228
|
let n = (e - t.left) / t.width * 100;
|
|
220
229
|
return (A.length > 0 ? k(n, M) : void 0)?.value ?? b(n, w, T);
|
|
221
|
-
},
|
|
230
|
+
}, he = d($), ge = d(me);
|
|
222
231
|
ee(() => {
|
|
223
|
-
|
|
232
|
+
he.current = $, ge.current = me;
|
|
224
233
|
}), ee(() => {
|
|
225
234
|
let e = (e) => {
|
|
226
|
-
|
|
235
|
+
Y.current !== null && e && e.pointerId !== Y.current || (Y.current = null, J.current = null, Z(null));
|
|
227
236
|
}, t = (e) => {
|
|
228
|
-
|
|
237
|
+
J.current !== null && (Y.current === null || e.pointerId === Y.current) && he.current(ge.current(e.clientX), J.current);
|
|
229
238
|
};
|
|
230
239
|
return window.addEventListener("pointermove", t), window.addEventListener("pointerup", e), window.addEventListener("pointercancel", e), () => {
|
|
231
240
|
window.removeEventListener("pointermove", t), window.removeEventListener("pointerup", e), window.removeEventListener("pointercancel", e);
|
|
232
241
|
};
|
|
233
242
|
}, []);
|
|
234
|
-
let
|
|
235
|
-
|
|
236
|
-
},
|
|
243
|
+
let _e = (e, t) => {
|
|
244
|
+
Y.current = e, J.current = t, Z(t), q.current[t]?.focus();
|
|
245
|
+
}, ve = (e) => {
|
|
237
246
|
if (x) return;
|
|
238
247
|
e.preventDefault();
|
|
239
|
-
let t =
|
|
240
|
-
$(t, n),
|
|
241
|
-
}, ve = (e) => (t) => {
|
|
242
|
-
x || (t.preventDefault(), t.stopPropagation(), ge(t.pointerId, e));
|
|
248
|
+
let t = me(e.clientX), n = N ? z(t, L) : 0;
|
|
249
|
+
$(t, n), _e(e.pointerId, n);
|
|
243
250
|
}, ye = (e) => (t) => {
|
|
251
|
+
x || (t.preventDefault(), t.stopPropagation(), _e(t.pointerId, e));
|
|
252
|
+
}, be = (e) => (t) => {
|
|
244
253
|
if (x) return;
|
|
245
254
|
let n = N && e === 1 ? L[0] : w, r = N && e === 0 ? L[1] : T, i = H(t.key);
|
|
246
255
|
if (t.key === "Home") {
|
|
@@ -255,11 +264,11 @@ function G(t) {
|
|
|
255
264
|
t.preventDefault();
|
|
256
265
|
let a = G[e], o = y(a, i, M, n, r);
|
|
257
266
|
$(o, e);
|
|
258
|
-
},
|
|
267
|
+
}, xe = (e) => {
|
|
259
268
|
if (x) return;
|
|
260
269
|
let t = N ? z(e, L) : 0;
|
|
261
|
-
$(e, t),
|
|
262
|
-
},
|
|
270
|
+
$(e, t), q.current[t]?.focus();
|
|
271
|
+
}, Se = (e, t) => {
|
|
263
272
|
if (N) {
|
|
264
273
|
let n = F[t];
|
|
265
274
|
return A.find((t) => t.value === e)?.label ?? ie(n, t);
|
|
@@ -274,20 +283,20 @@ function G(t) {
|
|
|
274
283
|
size: C,
|
|
275
284
|
error: h,
|
|
276
285
|
controlId: Q,
|
|
277
|
-
labelId:
|
|
278
|
-
descriptionId:
|
|
279
|
-
errorId:
|
|
286
|
+
labelId: ce,
|
|
287
|
+
descriptionId: le,
|
|
288
|
+
errorId: ue,
|
|
280
289
|
children: /* @__PURE__ */ m("div", {
|
|
281
290
|
id: Q,
|
|
282
291
|
className: te(V.slider, l === "compact" && V.sliderCompact),
|
|
283
292
|
children: [/* @__PURE__ */ p("div", {
|
|
284
293
|
className: V.trackShell,
|
|
285
294
|
children: /* @__PURE__ */ m("div", {
|
|
286
|
-
ref:
|
|
295
|
+
ref: se,
|
|
287
296
|
"data-slot": "track",
|
|
288
297
|
className: V.track,
|
|
289
298
|
role: "presentation",
|
|
290
|
-
onPointerDown:
|
|
299
|
+
onPointerDown: ve,
|
|
291
300
|
children: [
|
|
292
301
|
/* @__PURE__ */ p("div", { className: V.rail }),
|
|
293
302
|
/* @__PURE__ */ p("div", {
|
|
@@ -300,57 +309,62 @@ function G(t) {
|
|
|
300
309
|
}),
|
|
301
310
|
l === "compact" && A.map((t) => {
|
|
302
311
|
let n = D(t, A, M), r = N ? t.value >= L[0] && t.value <= L[1] : t.value <= P;
|
|
303
|
-
return /* @__PURE__ */ p(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
312
|
+
return /* @__PURE__ */ p(oe, {
|
|
313
|
+
position: n,
|
|
314
|
+
children: /* @__PURE__ */ p(e, {
|
|
315
|
+
tooltip: !0,
|
|
316
|
+
placement: "top",
|
|
317
|
+
content: W(t.label),
|
|
318
|
+
children: /* @__PURE__ */ p("button", {
|
|
319
|
+
type: "button",
|
|
320
|
+
"data-slot": "mark",
|
|
321
|
+
"data-active": r ? "" : void 0,
|
|
322
|
+
className: V.compactMark,
|
|
323
|
+
"aria-label": t.ariaLabel,
|
|
324
|
+
disabled: x,
|
|
325
|
+
onClick: () => xe(t.value),
|
|
326
|
+
children: /* @__PURE__ */ p("span", {
|
|
327
|
+
className: V.markDot,
|
|
328
|
+
"aria-hidden": "true"
|
|
329
|
+
})
|
|
319
330
|
})
|
|
320
331
|
})
|
|
321
332
|
}, t.value);
|
|
322
333
|
}),
|
|
323
334
|
G.map((t, n) => {
|
|
324
|
-
let r =
|
|
325
|
-
return /* @__PURE__ */ p(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
335
|
+
let r = Se(t, n);
|
|
336
|
+
return /* @__PURE__ */ p(oe, {
|
|
337
|
+
position: O(t, M),
|
|
338
|
+
children: /* @__PURE__ */ p(e, {
|
|
339
|
+
tooltip: !0,
|
|
340
|
+
placement: "top",
|
|
341
|
+
content: W(r),
|
|
342
|
+
openDelay: 0,
|
|
343
|
+
closeDelay: 100,
|
|
344
|
+
positionUpdateKey: t,
|
|
345
|
+
children: /* @__PURE__ */ p("button", {
|
|
346
|
+
ref: (e) => {
|
|
347
|
+
q.current[n] = e;
|
|
348
|
+
},
|
|
349
|
+
type: "button",
|
|
350
|
+
role: "slider",
|
|
351
|
+
"data-slot": "thumb",
|
|
352
|
+
"data-thumb-index": n,
|
|
353
|
+
"data-dragging": X === n ? "" : void 0,
|
|
354
|
+
className: V.thumb,
|
|
355
|
+
disabled: x,
|
|
356
|
+
"aria-disabled": x || void 0,
|
|
357
|
+
"aria-orientation": "horizontal",
|
|
358
|
+
"aria-valuemin": N && n === 1 ? L[0] : w,
|
|
359
|
+
"aria-valuemax": N && n === 0 ? L[1] : T,
|
|
360
|
+
"aria-valuenow": t,
|
|
361
|
+
"aria-valuetext": typeof r == "string" || typeof r == "number" ? String(r) : void 0,
|
|
362
|
+
"aria-labelledby": ce,
|
|
363
|
+
"aria-describedby": de,
|
|
364
|
+
"aria-label": ce ? void 0 : N ? n === 0 ? "Минимальное значение" : "Максимальное значение" : "Значение",
|
|
365
|
+
onPointerDown: ye(n),
|
|
366
|
+
onKeyDown: be(n)
|
|
367
|
+
})
|
|
354
368
|
})
|
|
355
369
|
}, n);
|
|
356
370
|
})
|
|
@@ -368,7 +382,7 @@ function G(t) {
|
|
|
368
382
|
style: { left: `${D(e, A, M)}%` },
|
|
369
383
|
"aria-label": e.ariaLabel,
|
|
370
384
|
disabled: x,
|
|
371
|
-
onClick: () =>
|
|
385
|
+
onClick: () => xe(e.value),
|
|
372
386
|
children: [/* @__PURE__ */ p("span", {
|
|
373
387
|
className: V.markDot,
|
|
374
388
|
"aria-hidden": "true"
|
|
@@ -389,7 +403,7 @@ function K(e) {
|
|
|
389
403
|
marksDisplay: "compact"
|
|
390
404
|
});
|
|
391
405
|
}
|
|
392
|
-
function
|
|
406
|
+
function se(e) {
|
|
393
407
|
return /* @__PURE__ */ p(G, {
|
|
394
408
|
...e,
|
|
395
409
|
mode: "range",
|
|
@@ -398,7 +412,7 @@ function q(e) {
|
|
|
398
412
|
}
|
|
399
413
|
//#endregion
|
|
400
414
|
//#region src/slider/SliderInput.tsx
|
|
401
|
-
function
|
|
415
|
+
function q({ open: e, disabled: n, setOpen: r }) {
|
|
402
416
|
return /* @__PURE__ */ p(t.Trigger, {
|
|
403
417
|
passive: !0,
|
|
404
418
|
children: /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(s, {
|
|
@@ -411,18 +425,18 @@ function J({ open: e, disabled: n, setOpen: r }) {
|
|
|
411
425
|
}) })
|
|
412
426
|
});
|
|
413
427
|
}
|
|
414
|
-
function
|
|
428
|
+
function J(e, t) {
|
|
415
429
|
let n = I(e, t);
|
|
416
430
|
return {
|
|
417
431
|
start: n[0] === null ? "-∞" : String(n[0]),
|
|
418
432
|
end: n[1] === null ? "∞" : String(n[1])
|
|
419
433
|
};
|
|
420
434
|
}
|
|
421
|
-
function
|
|
435
|
+
function Y(e, t) {
|
|
422
436
|
let n = e.trim();
|
|
423
437
|
return n === "" || n === t ? null : h(n);
|
|
424
438
|
}
|
|
425
|
-
function
|
|
439
|
+
function X(e, t, n) {
|
|
426
440
|
let r = t.filter((t) => M(t) === e);
|
|
427
441
|
if (r.length) return e === null && n === "end" ? r[r.length - 1] : r[0];
|
|
428
442
|
}
|
|
@@ -430,13 +444,13 @@ function Z(e, t) {
|
|
|
430
444
|
return e?.readonlyLabel?.trim() ? e.readonlyLabel.trim() : typeof e?.label == "string" || typeof e?.label == "number" ? String(e.label) : t === null ? "" : String(t);
|
|
431
445
|
}
|
|
432
446
|
function Q(e, t, n) {
|
|
433
|
-
return Z(
|
|
447
|
+
return Z(X(e, t, n), e);
|
|
434
448
|
}
|
|
435
|
-
function
|
|
449
|
+
function ce(e, t, n) {
|
|
436
450
|
let [r, i] = e, a = r === null, o = i === null;
|
|
437
451
|
return a && o ? n ?? "" : a ? `Меньше ${Q(i, t, "end")}` : o ? `Больше ${Q(r, t, "start")}` : r === i ? `Равно ${Q(r, t, "start")}` : `От ${Q(r, t, "start")} до ${Q(i, t, "end")}`;
|
|
438
452
|
}
|
|
439
|
-
function
|
|
453
|
+
function le({ value: e, onChange: n, min: r, max: i, step: o, marks: s, marksPosition: d = "value", className: te, error: ne, onClearError: g, label: _, description: v, placeholder: y, disabled: b, size: x }) {
|
|
440
454
|
let { min: C, max: w } = u(() => S(r, i), [r, i]), T = u(() => E(s, C, w), [
|
|
441
455
|
s,
|
|
442
456
|
C,
|
|
@@ -498,7 +512,7 @@ function ce({ value: e, onChange: n, min: r, max: i, step: o, marks: s, marksPos
|
|
|
498
512
|
e.key === "Enter" && (e.preventDefault(), F());
|
|
499
513
|
},
|
|
500
514
|
endAdornmentWidth: "var(--control-height)",
|
|
501
|
-
endAdornment:
|
|
515
|
+
endAdornment: q({
|
|
502
516
|
open: k,
|
|
503
517
|
disabled: b,
|
|
504
518
|
setOpen: A
|
|
@@ -525,7 +539,7 @@ function ce({ value: e, onChange: n, min: r, max: i, step: o, marks: s, marksPos
|
|
|
525
539
|
})]
|
|
526
540
|
});
|
|
527
541
|
}
|
|
528
|
-
function
|
|
542
|
+
function ue({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPosition: _ = "value", className: v, error: y, onClearError: b, label: x, description: C, readonlyValueText: w, placeholder: T, disabled: D, size: O }) {
|
|
529
543
|
let { min: k, max: A } = u(() => S(s, d), [s, d]), j = u(() => E(g, k, A), [
|
|
530
544
|
g,
|
|
531
545
|
k,
|
|
@@ -542,7 +556,7 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
542
556
|
h,
|
|
543
557
|
j,
|
|
544
558
|
_
|
|
545
|
-
]), N = u(() => I(e, M), [M, e]), P = u(() =>
|
|
559
|
+
]), N = u(() => I(e, M), [M, e]), P = u(() => J(N, M), [N, M]), [F, L] = f(!1), [re, R] = f(P.start), [z, B] = f(P.end), [H, U] = f(N), ie = l((e, t) => {
|
|
546
560
|
R(e), B(t);
|
|
547
561
|
});
|
|
548
562
|
ee(() => {
|
|
@@ -553,25 +567,25 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
553
567
|
N,
|
|
554
568
|
F
|
|
555
569
|
]);
|
|
556
|
-
let { controlId: ae, labelId: W, descriptionId:
|
|
570
|
+
let { controlId: ae, labelId: W, descriptionId: oe, errorId: K, describedBy: se } = i({
|
|
557
571
|
hasLabel: x != null,
|
|
558
572
|
hasDescription: !!C,
|
|
559
573
|
hasError: !!y
|
|
560
|
-
}),
|
|
574
|
+
}), X = c(() => {
|
|
561
575
|
R(P.start), B(P.end);
|
|
562
|
-
}, [P.end, P.start]),
|
|
576
|
+
}, [P.end, P.start]), Z = c(() => {
|
|
563
577
|
if (D) {
|
|
564
|
-
|
|
578
|
+
X();
|
|
565
579
|
return;
|
|
566
580
|
}
|
|
567
|
-
let e =
|
|
581
|
+
let e = Y(re, "-∞"), t = Y(z, "∞");
|
|
568
582
|
if (e === void 0 || t === void 0) {
|
|
569
|
-
|
|
583
|
+
X();
|
|
570
584
|
return;
|
|
571
585
|
}
|
|
572
586
|
let n = I([e, t], M);
|
|
573
|
-
|
|
574
|
-
let r =
|
|
587
|
+
de(N, n) || (a(n), b?.());
|
|
588
|
+
let r = J(n, M);
|
|
575
589
|
R(r.start), B(r.end), U(n);
|
|
576
590
|
}, [
|
|
577
591
|
D,
|
|
@@ -580,12 +594,12 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
580
594
|
N,
|
|
581
595
|
a,
|
|
582
596
|
b,
|
|
583
|
-
|
|
597
|
+
X,
|
|
584
598
|
M
|
|
585
|
-
]),
|
|
599
|
+
]), Q = c((e) => {
|
|
586
600
|
let t = I(e, M);
|
|
587
|
-
|
|
588
|
-
let n =
|
|
601
|
+
de(N, t) || (a(t), b?.());
|
|
602
|
+
let n = J(t, M);
|
|
589
603
|
R(n.start), B(n.end), U(t);
|
|
590
604
|
}, [
|
|
591
605
|
N,
|
|
@@ -593,15 +607,15 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
593
607
|
b,
|
|
594
608
|
M
|
|
595
609
|
]), le = (e) => {
|
|
596
|
-
!F && e && (U(N), R(P.start), B(P.end)), F && !e && !D &&
|
|
597
|
-
},
|
|
598
|
-
e.key === "Enter" && (e.preventDefault(),
|
|
610
|
+
!F && e && (U(N), R(P.start), B(P.end)), F && !e && !D && Q(H), L(e);
|
|
611
|
+
}, ue = (e) => {
|
|
612
|
+
e.key === "Enter" && (e.preventDefault(), Z());
|
|
599
613
|
}, fe = (e) => {
|
|
600
614
|
let t = I(e, M);
|
|
601
615
|
U(t);
|
|
602
|
-
let n =
|
|
616
|
+
let n = J(t, M);
|
|
603
617
|
R(n.start), B(n.end);
|
|
604
|
-
},
|
|
618
|
+
}, pe = w ? ce(F ? H : N, j, T) : void 0;
|
|
605
619
|
return /* @__PURE__ */ m(t, {
|
|
606
620
|
open: F,
|
|
607
621
|
onOpenChange: le,
|
|
@@ -614,11 +628,11 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
614
628
|
error: y,
|
|
615
629
|
controlId: ae,
|
|
616
630
|
labelId: W,
|
|
617
|
-
descriptionId:
|
|
618
|
-
errorId:
|
|
631
|
+
descriptionId: oe,
|
|
632
|
+
errorId: K,
|
|
619
633
|
children: /* @__PURE__ */ p(r, {
|
|
620
634
|
endAdornmentWidth: "var(--control-height)",
|
|
621
|
-
endAdornment:
|
|
635
|
+
endAdornment: q({
|
|
622
636
|
open: F,
|
|
623
637
|
disabled: D,
|
|
624
638
|
setOpen: (e) => {
|
|
@@ -634,10 +648,10 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
634
648
|
"aria-invalid": !!y || void 0,
|
|
635
649
|
"aria-label": typeof x == "string" ? x : "Диапазон",
|
|
636
650
|
"aria-labelledby": typeof x == "string" ? void 0 : W,
|
|
637
|
-
"aria-describedby":
|
|
651
|
+
"aria-describedby": se,
|
|
638
652
|
children: w ? /* @__PURE__ */ p("span", {
|
|
639
|
-
className: te("flexEllipsis",
|
|
640
|
-
children:
|
|
653
|
+
className: te("flexEllipsis", !pe && n.uiPlaceholder),
|
|
654
|
+
children: pe || T
|
|
641
655
|
}) : /* @__PURE__ */ m(ne, { children: [
|
|
642
656
|
/* @__PURE__ */ p("input", {
|
|
643
657
|
type: "text",
|
|
@@ -647,8 +661,8 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
647
661
|
disabled: D,
|
|
648
662
|
"aria-label": "Начало диапазона",
|
|
649
663
|
onChange: (e) => R(e.target.value),
|
|
650
|
-
onBlur:
|
|
651
|
-
onKeyDown:
|
|
664
|
+
onBlur: Z,
|
|
665
|
+
onKeyDown: ue
|
|
652
666
|
}),
|
|
653
667
|
/* @__PURE__ */ p("span", {
|
|
654
668
|
className: V.rangeSeparator,
|
|
@@ -663,8 +677,8 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
663
677
|
disabled: D,
|
|
664
678
|
"aria-label": "Конец диапазона",
|
|
665
679
|
onChange: (e) => B(e.target.value),
|
|
666
|
-
onBlur:
|
|
667
|
-
onKeyDown:
|
|
680
|
+
onBlur: Z,
|
|
681
|
+
onKeyDown: ue
|
|
668
682
|
})
|
|
669
683
|
] })
|
|
670
684
|
})
|
|
@@ -689,10 +703,10 @@ function le({ value: e, onChange: a, min: s, max: d, step: h, marks: g, marksPos
|
|
|
689
703
|
})]
|
|
690
704
|
});
|
|
691
705
|
}
|
|
692
|
-
function
|
|
706
|
+
function de(e, t) {
|
|
693
707
|
return e[0] === t[0] && e[1] === t[1];
|
|
694
708
|
}
|
|
695
709
|
//#endregion
|
|
696
|
-
export { K as Slider,
|
|
710
|
+
export { K as Slider, le as SliderInput, se as SliderRange, ue as SliderRangeInput };
|
|
697
711
|
|
|
698
712
|
//# sourceMappingURL=index.js.map
|