@eightshift/ui-components 7.2.0 → 7.3.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/Autocomplete-pLMPWMFq.js +451 -0
- package/dist/Button-Biwg7zwt.js +223 -0
- package/dist/Dialog-C1sh8jbh.js +2474 -0
- package/dist/{Disclosure-NYWFw9RJ.js → Disclosure-B_SHgiUz.js} +50 -51
- package/dist/FocusScope-lGkM8AO8.js +734 -0
- package/dist/Form-BxIJCHYd.js +5 -0
- package/dist/Heading-B2EsUuu6.js +16 -0
- package/dist/{Hidden-8TB37dpK.js → Hidden-DYY00jLm.js} +10 -10
- package/dist/I18nProvider-Cm6dj5jY.js +93 -0
- package/dist/Label-B1TkoVOG.js +17 -0
- package/dist/ListBox-BquE0m8z.js +584 -0
- package/dist/{NumberFormatter-m5VW6MTK.js → NumberFormatter-JHF0Tadk.js} +24 -26
- package/dist/PortalProvider-BYcv24il.js +13 -0
- package/dist/RadioGroup-BxjLooWU.js +324 -0
- package/dist/SearchField-BkAU0HLm.js +322 -0
- package/dist/SelectionIndicator-Bx_EYBXD.js +13 -0
- package/dist/{Slider-DW1RuMVp.js → Slider-DSv6fyZ6.js} +321 -363
- package/dist/Text-C8pfwn0W.js +16 -0
- package/dist/{VisuallyHidden-CfsnJHZb.js → VisuallyHidden-KcXlGa5p.js} +12 -12
- package/dist/{animation-Bd2peown.js → animation-BJ-2VKdB.js} +12 -12
- package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
- package/dist/assets/style-admin.css +1 -1
- package/dist/assets/style-editor.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/{button-D9cbyHeZ.js → button-CawAzlko.js} +21 -73
- package/dist/{checkbox-BO5RZmO8.js → checkbox-t7VrqXv2.js} +59 -62
- package/dist/{color-swatch-D2ZBkuTt.js → color-swatch-gU09x9Ga.js} +417 -414
- package/dist/components/base-control/base-control.js +2 -2
- package/dist/components/base-control/container.js +1 -1
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +2 -2
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +1 -1
- package/dist/components/component-toggle/component-toggle.js +4 -4
- package/dist/components/container-panel/container-panel.js +5 -5
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +7 -7
- package/dist/components/index.js +15 -15
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +5 -5
- package/dist/components/menu/menu.js +11 -11
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.js +3 -3
- package/dist/components/options-panel/options-panel.js +3 -3
- package/dist/components/placeholders/file-picker-shell.js +1 -1
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +6 -6
- package/dist/components/portal-provider/portal-provider.js +2 -2
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.js +3 -3
- package/dist/components/responsive/mini-responsive.js +6 -6
- package/dist/components/responsive/responsive-legacy.js +5 -5
- package/dist/components/responsive/responsive.js +5 -5
- package/dist/components/responsive-preview/responsive-preview.js +2 -2
- package/dist/components/select/async-multi-select.js +27 -26
- package/dist/components/select/async-select.js +27 -26
- package/dist/components/select/multi-select.js +33 -32
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/single-select.js +33 -32
- package/dist/components/select/styles.js +1 -1
- package/dist/components/slider/column-config-slider.js +8 -8
- package/dist/components/slider/slider.js +8 -8
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/smart-image/smart-image.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +3 -3
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{draggable-CTDVJ4zd.js → draggable-Cxv-OueQ.js} +1 -1
- package/dist/filterDOMProps-BfW758QC.js +69 -0
- package/dist/{gradient-editor-xfxA_s9a.js → gradient-editor-CInqVF8v.js} +6 -11
- package/dist/icons/index.js +1 -1
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/index.js +15 -15
- package/dist/{input-field-_OCWbftf.js → input-field-BdFrxQ-R.js} +46 -47
- package/dist/{jsx-svg-BRJ4n3pD.js → jsx-svg-DT1SBWuP.js} +6 -12
- package/dist/keyboard-CT41mQzR.js +55 -0
- package/dist/{link-input-Bh8G7Urm.js → link-input-BDFhSSvH.js} +324 -356
- package/dist/{modal-snrElwty.js → modal-CJDaBdPh.js} +100 -92
- package/dist/{number-ZZIxJukn.js → number-MWRvGfyE.js} +10 -10
- package/dist/{number-picker-Dhtx4409.js → number-picker-BrxrB-xq.js} +43 -42
- package/dist/{shared-BiWZjrGF.js → shared-CI4kcnm8.js} +482 -502
- package/dist/{smart-image-CBNbxJ57.js → smart-image-eGdMu9s9.js} +2 -2
- package/dist/{solid-color-picker-DukArNH-.js → solid-color-picker-DXgX-OAm.js} +926 -935
- package/dist/{switch-DmsvyQPa.js → switch-DNHFoCCx.js} +28 -28
- package/dist/{tabs-DaIUEc0g.js → tabs-C2tPOEYr.js} +150 -153
- package/dist/textSelection-BhX_2zV9.js +45 -0
- package/dist/{toggle-button-BlzUGfGy.js → toggle-button-DYDp11rq.js} +35 -35
- package/dist/{tooltip-BzJzYlcc.js → tooltip-C-hT6tN9.js} +162 -162
- package/dist/{useAsyncList-BNzwKoX4.js → useAsyncList-DsOh1xIx.js} +54 -74
- package/dist/{useButton-ra1ZSZ4z.js → useButton-BMZc4fTX.js} +11 -11
- package/dist/{SelectionManager-B8lLv6Ue.js → useCollection-CBVYSuGz.js} +1689 -1777
- package/dist/{useEvent-DkZVfgsS.js → useEvent-ypAU33vv.js} +5 -5
- package/dist/useField-BXf__jxy.js +32 -0
- package/dist/{useFilter-OiMnf6sb.js → useFilter-CfKEbIwL.js} +5 -5
- package/dist/{useFocusRing-DuYL4cdO.js → useFocusRing-BgYY-7ko.js} +23 -23
- package/dist/useFormReset-BuMc_O4y.js +17 -0
- package/dist/{FieldError-BWDbP5Db.js → useFormValidation-BcME9D0E.js} +63 -66
- package/dist/useHover-lyApu3ba.js +975 -0
- package/dist/{useLabel-2EohW5l6.js → useLabel-Rv8cIIKk.js} +8 -8
- package/dist/{useLabels-B2p7RXi5.js → useLabels-xOYtkA8o.js} +5 -5
- package/dist/useListState-u6DfeXHi.js +135 -0
- package/dist/{useLocalizedStringFormatter-Dv2diN3k.js → useLocalizedStringFormatter-CR-bmorj.js} +45 -45
- package/dist/{useNumberField-2xbi3jRV.js → useNumberFieldState-xL-ecwNz.js} +665 -619
- package/dist/useNumberFormatter-CR1PAFPG.js +10 -0
- package/dist/useOverlayTriggerState-AeCx45Gv.js +551 -0
- package/dist/usePress-Dnx5rBoD.js +593 -0
- package/dist/useTextField-BW3ZwGyz.js +159 -0
- package/dist/{useToggle-ecIirvIM.js → useToggle-BF5wptMP.js} +19 -20
- package/dist/useToggleState-D5P01lch.js +22 -0
- package/dist/useToolbar-BT25-MJg.js +55 -0
- package/dist/utilities/debounce-throttle.js +1 -1
- package/dist/utilities/es-dash.js +1 -1
- package/dist/utilities/index.js +3 -3
- package/dist/{utils-B_uiqNa4.js → utils-JFcCNFzy.js} +121 -122
- package/package.json +18 -18
- package/dist/Button-h6xF_WrP.js +0 -225
- package/dist/Dialog-i5VLQw1o.js +0 -2488
- package/dist/FocusScope-CgwbGOBB.js +0 -746
- package/dist/Form-DTMkbrQY.js +0 -5
- package/dist/Heading-Hol-wS_B.js +0 -16
- package/dist/Input-BURqyJXW.js +0 -161
- package/dist/Label-DFXXxMKY.js +0 -17
- package/dist/ListBox-B21SgugS.js +0 -601
- package/dist/OverlayArrow-BoloUPQM.js +0 -573
- package/dist/PortalProvider-DinZZCKX.js +0 -14
- package/dist/RSPContexts-C_z0bI8W.js +0 -12
- package/dist/RadioGroup-BwlGtCja.js +0 -329
- package/dist/SearchField-DR_I4_yn.js +0 -765
- package/dist/SelectionIndicator-31L6EI9F.js +0 -13
- package/dist/Text-O6VBBDlP.js +0 -16
- package/dist/context-C-XNeJ_l.js +0 -93
- package/dist/filterDOMProps-_2_3GD-K.js +0 -69
- package/dist/textSelection-Dv6WPj0Z.js +0 -45
- package/dist/useField-D0WrzR2F.js +0 -32
- package/dist/useFormReset-DdkykzAn.js +0 -18
- package/dist/useHover-qaMm3XFO.js +0 -982
- package/dist/useListState-CD_5vfyy.js +0 -147
- package/dist/useNumberFormatter-C2Cm2mNj.js +0 -10
- package/dist/usePress-ZP1TjkFf.js +0 -678
- package/dist/useToggleState-IIDbiKPl.js +0 -23
- /package/dist/{List-DWlgW2Ex.js → List---tsVJlI.js} +0 -0
- /package/dist/{build-module-Bsx62nlm.js → build-module-K6vi4xE0.js} +0 -0
- /package/dist/{debounce-throttle-DXxSAKpq.js → debounce-throttle-LSPAPFtq.js} +0 -0
- /package/dist/{dist-2gkv7_1U.js → dist-jw8wvxoG.js} +0 -0
- /package/dist/{es-dash-HqXWZZ3_.js → es-dash-BuShf_ht.js} +0 -0
- /package/dist/{utilities-lwX686oD.js → utilities-DV0KKJNR.js} +0 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, g as $a4e76a5424781910$export$e08e3b67e392101e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-JFcCNFzy.js";
|
|
2
|
+
import { d as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useHover-lyApu3ba.js";
|
|
3
|
+
import { n as $4b38b5b75ecc6208$export$698f465ec27e93df } from "./Autocomplete-pLMPWMFq.js";
|
|
4
|
+
import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CR-bmorj.js";
|
|
5
|
+
import { t as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-DYY00jLm.js";
|
|
6
|
+
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BfW758QC.js";
|
|
7
|
+
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B1TkoVOG.js";
|
|
8
|
+
import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-Biwg7zwt.js";
|
|
9
|
+
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-C8pfwn0W.js";
|
|
10
|
+
import { a as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useFormValidation-BcME9D0E.js";
|
|
11
|
+
import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BxIJCHYd.js";
|
|
12
|
+
import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, t as $054f71d2330da2e3$export$712718f7aec83d5 } from "./useTextField-BW3ZwGyz.js";
|
|
13
|
+
import React, { createContext, useRef } from "react";
|
|
14
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/ar-AE.mjs
|
|
15
|
+
var $144b40583c9847c5$exports = {};
|
|
16
|
+
$144b40583c9847c5$exports = { "Clear search": `\u{645}\u{633}\u{62D} \u{627}\u{644}\u{628}\u{62D}\u{62B}` };
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/bg-BG.mjs
|
|
19
|
+
var $f7ac89ad9c1c6708$exports = {};
|
|
20
|
+
$f7ac89ad9c1c6708$exports = { "Clear search": `\u{418}\u{437}\u{447}\u{438}\u{441}\u{442}\u{432}\u{430}\u{43D}\u{435} \u{43D}\u{430} \u{442}\u{44A}\u{440}\u{441}\u{435}\u{43D}\u{435}` };
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/cs-CZ.mjs
|
|
23
|
+
var $b5d80d3b86cad359$exports = {};
|
|
24
|
+
$b5d80d3b86cad359$exports = { "Clear search": `Vymazat hled\xe1n\xed` };
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/da-DK.mjs
|
|
27
|
+
var $7bc76068ce4c3b7e$exports = {};
|
|
28
|
+
$7bc76068ce4c3b7e$exports = { "Clear search": `Ryd s\xf8gning` };
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/de-DE.mjs
|
|
31
|
+
var $ccd90980ce76d396$exports = {};
|
|
32
|
+
$ccd90980ce76d396$exports = { "Clear search": `Suche zur\xfccksetzen` };
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/el-GR.mjs
|
|
35
|
+
var $ad9b187d34fdd225$exports = {};
|
|
36
|
+
$ad9b187d34fdd225$exports = { "Clear search": `\u{391}\u{3C0}\u{3B1}\u{3BB}\u{3BF}\u{3B9}\u{3C6}\u{3AE} \u{3B1}\u{3BD}\u{3B1}\u{3B6}\u{3AE}\u{3C4}\u{3B7}\u{3C3}\u{3B7}\u{3C2}` };
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/en-US.mjs
|
|
39
|
+
var $0b5fc13def2a30c7$exports = {};
|
|
40
|
+
$0b5fc13def2a30c7$exports = { "Clear search": `Clear search` };
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/es-ES.mjs
|
|
43
|
+
var $e35f8fb6c3f9e97c$exports = {};
|
|
44
|
+
$e35f8fb6c3f9e97c$exports = { "Clear search": `Borrar b\xfasqueda` };
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/et-EE.mjs
|
|
47
|
+
var $40e49c6c9e6fa358$exports = {};
|
|
48
|
+
$40e49c6c9e6fa358$exports = { "Clear search": `T\xfchjenda otsing` };
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/fi-FI.mjs
|
|
51
|
+
var $a4988accc5a2bbb9$exports = {};
|
|
52
|
+
$a4988accc5a2bbb9$exports = { "Clear search": `Tyhjenn\xe4 haku` };
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/fr-FR.mjs
|
|
55
|
+
var $edce3ce0bbac84b4$exports = {};
|
|
56
|
+
$edce3ce0bbac84b4$exports = { "Clear search": `Effacer la recherche` };
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/he-IL.mjs
|
|
59
|
+
var $879d66a4ec6ff3f5$exports = {};
|
|
60
|
+
$879d66a4ec6ff3f5$exports = { "Clear search": `\u{5E0}\u{5E7}\u{5D4} \u{5D7}\u{5D9}\u{5E4}\u{5D5}\u{5E9}` };
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/hr-HR.mjs
|
|
63
|
+
var $c1852d2398baa2ff$exports = {};
|
|
64
|
+
$c1852d2398baa2ff$exports = { "Clear search": `Obri\u{161}i pretragu` };
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/hu-HU.mjs
|
|
67
|
+
var $970538d6c6329605$exports = {};
|
|
68
|
+
$970538d6c6329605$exports = { "Clear search": `Keres\xe9s t\xf6rl\xe9se` };
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/it-IT.mjs
|
|
71
|
+
var $508544fa08cae44d$exports = {};
|
|
72
|
+
$508544fa08cae44d$exports = { "Clear search": `Cancella ricerca` };
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/ja-JP.mjs
|
|
75
|
+
var $e6be46486a51c27f$exports = {};
|
|
76
|
+
$e6be46486a51c27f$exports = { "Clear search": `\u{691C}\u{7D22}\u{3092}\u{30AF}\u{30EA}\u{30A2}` };
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/ko-KR.mjs
|
|
79
|
+
var $aca782271fda5aaa$exports = {};
|
|
80
|
+
$aca782271fda5aaa$exports = { "Clear search": `\u{AC80}\u{C0C9} \u{C9C0}\u{C6B0}\u{AE30}` };
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/lt-LT.mjs
|
|
83
|
+
var $3bf9ad93c1aad52f$exports = {};
|
|
84
|
+
$3bf9ad93c1aad52f$exports = { "Clear search": `I\u{161}valyti ie\u{161}k\u{105}` };
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/lv-LV.mjs
|
|
87
|
+
var $f648321ae94b8ad5$exports = {};
|
|
88
|
+
$f648321ae94b8ad5$exports = { "Clear search": `Not\u{12B}r\u{12B}t mekl\u{113}\u{161}anu` };
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/nb-NO.mjs
|
|
91
|
+
var $656f1a37422df52a$exports = {};
|
|
92
|
+
$656f1a37422df52a$exports = { "Clear search": `T\xf8m s\xf8k` };
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/nl-NL.mjs
|
|
95
|
+
var $82eacc9a6cad8168$exports = {};
|
|
96
|
+
$82eacc9a6cad8168$exports = { "Clear search": `Zoekactie wissen` };
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/pl-PL.mjs
|
|
99
|
+
var $9af183cfb2cb9094$exports = {};
|
|
100
|
+
$9af183cfb2cb9094$exports = { "Clear search": `Wyczy\u{15B}\u{107} zawarto\u{15B}\u{107} wyszukiwania` };
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/pt-BR.mjs
|
|
103
|
+
var $53e95c7b6521e26c$exports = {};
|
|
104
|
+
$53e95c7b6521e26c$exports = { "Clear search": `Limpar pesquisa` };
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/pt-PT.mjs
|
|
107
|
+
var $ab35ca149e74c27f$exports = {};
|
|
108
|
+
$ab35ca149e74c27f$exports = { "Clear search": `Limpar pesquisa` };
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/ro-RO.mjs
|
|
111
|
+
var $09af5659fa5d1530$exports = {};
|
|
112
|
+
$09af5659fa5d1530$exports = { "Clear search": `\u{15E}terge\u{163}i c\u{103}utarea` };
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/ru-RU.mjs
|
|
115
|
+
var $bab267b77ddeadf8$exports = {};
|
|
116
|
+
$bab267b77ddeadf8$exports = { "Clear search": `\u{41E}\u{447}\u{438}\u{441}\u{442}\u{438}\u{442}\u{44C} \u{43F}\u{43E}\u{438}\u{441}\u{43A}` };
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/sk-SK.mjs
|
|
119
|
+
var $c42af7093d2ec3f7$exports = {};
|
|
120
|
+
$c42af7093d2ec3f7$exports = { "Clear search": `Vymaza\u{165} vyh\u{13E}ad\xe1vanie` };
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/sl-SI.mjs
|
|
123
|
+
var $79a999abfc605712$exports = {};
|
|
124
|
+
$79a999abfc605712$exports = { "Clear search": `Po\u{10D}isti iskanje` };
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/sr-SP.mjs
|
|
127
|
+
var $9790b582a4a31826$exports = {};
|
|
128
|
+
$9790b582a4a31826$exports = { "Clear search": `Obri\u{161}i pretragu` };
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/sv-SE.mjs
|
|
131
|
+
var $f09c5845c732c7f4$exports = {};
|
|
132
|
+
$f09c5845c732c7f4$exports = { "Clear search": `Rensa s\xf6kning` };
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/tr-TR.mjs
|
|
135
|
+
var $22573d5058bf9ea8$exports = {};
|
|
136
|
+
$22573d5058bf9ea8$exports = { "Clear search": `Aramay\u{131} temizle` };
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/uk-UA.mjs
|
|
139
|
+
var $211addb72c816ef7$exports = {};
|
|
140
|
+
$211addb72c816ef7$exports = { "Clear search": `\u{41E}\u{447}\u{438}\u{441}\u{442}\u{438}\u{442}\u{438} \u{43F}\u{43E}\u{448}\u{443}\u{43A}` };
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/zh-CN.mjs
|
|
143
|
+
var $8eeb1c35d0764ab5$exports = {};
|
|
144
|
+
$8eeb1c35d0764ab5$exports = { "Clear search": `\u{6E05}\u{9664}\u{641C}\u{7D22}` };
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region node_modules/react-aria/dist/private/intl/searchfield/zh-TW.mjs
|
|
147
|
+
var $d63da6b1e3b1db3a$exports = {};
|
|
148
|
+
$d63da6b1e3b1db3a$exports = { "Clear search": `\u{6E05}\u{9664}\u{641C}\u{5C0B}\u{689D}\u{4EF6}` };
|
|
149
|
+
//#endregion
|
|
150
|
+
//#region node_modules/react-aria/dist/private/searchfield/intlStrings.mjs
|
|
151
|
+
var $cb1bf3901ab9f046$exports = {};
|
|
152
|
+
$cb1bf3901ab9f046$exports = {
|
|
153
|
+
"ar-AE": $144b40583c9847c5$exports,
|
|
154
|
+
"bg-BG": $f7ac89ad9c1c6708$exports,
|
|
155
|
+
"cs-CZ": $b5d80d3b86cad359$exports,
|
|
156
|
+
"da-DK": $7bc76068ce4c3b7e$exports,
|
|
157
|
+
"de-DE": $ccd90980ce76d396$exports,
|
|
158
|
+
"el-GR": $ad9b187d34fdd225$exports,
|
|
159
|
+
"en-US": $0b5fc13def2a30c7$exports,
|
|
160
|
+
"es-ES": $e35f8fb6c3f9e97c$exports,
|
|
161
|
+
"et-EE": $40e49c6c9e6fa358$exports,
|
|
162
|
+
"fi-FI": $a4988accc5a2bbb9$exports,
|
|
163
|
+
"fr-FR": $edce3ce0bbac84b4$exports,
|
|
164
|
+
"he-IL": $879d66a4ec6ff3f5$exports,
|
|
165
|
+
"hr-HR": $c1852d2398baa2ff$exports,
|
|
166
|
+
"hu-HU": $970538d6c6329605$exports,
|
|
167
|
+
"it-IT": $508544fa08cae44d$exports,
|
|
168
|
+
"ja-JP": $e6be46486a51c27f$exports,
|
|
169
|
+
"ko-KR": $aca782271fda5aaa$exports,
|
|
170
|
+
"lt-LT": $3bf9ad93c1aad52f$exports,
|
|
171
|
+
"lv-LV": $f648321ae94b8ad5$exports,
|
|
172
|
+
"nb-NO": $656f1a37422df52a$exports,
|
|
173
|
+
"nl-NL": $82eacc9a6cad8168$exports,
|
|
174
|
+
"pl-PL": $9af183cfb2cb9094$exports,
|
|
175
|
+
"pt-BR": $53e95c7b6521e26c$exports,
|
|
176
|
+
"pt-PT": $ab35ca149e74c27f$exports,
|
|
177
|
+
"ro-RO": $09af5659fa5d1530$exports,
|
|
178
|
+
"ru-RU": $bab267b77ddeadf8$exports,
|
|
179
|
+
"sk-SK": $c42af7093d2ec3f7$exports,
|
|
180
|
+
"sl-SI": $79a999abfc605712$exports,
|
|
181
|
+
"sr-SP": $9790b582a4a31826$exports,
|
|
182
|
+
"sv-SE": $f09c5845c732c7f4$exports,
|
|
183
|
+
"tr-TR": $22573d5058bf9ea8$exports,
|
|
184
|
+
"uk-UA": $211addb72c816ef7$exports,
|
|
185
|
+
"zh-CN": $8eeb1c35d0764ab5$exports,
|
|
186
|
+
"zh-TW": $d63da6b1e3b1db3a$exports
|
|
187
|
+
};
|
|
188
|
+
//#endregion
|
|
189
|
+
//#region node_modules/react-aria/dist/private/searchfield/useSearchField.mjs
|
|
190
|
+
function $parcel$interopDefault(a) {
|
|
191
|
+
return a && a.__esModule ? a.default : a;
|
|
192
|
+
}
|
|
193
|
+
function $44614525ec969a63$export$9bb30bbe003b82e0(props, state, inputRef) {
|
|
194
|
+
let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($cb1bf3901ab9f046$exports), "@react-aria/searchfield");
|
|
195
|
+
let { isDisabled, isReadOnly, onSubmit, onClear, type = "search" } = props;
|
|
196
|
+
let onKeyDown = (e) => {
|
|
197
|
+
const key = e.key;
|
|
198
|
+
if (key === "Enter" && (isDisabled || isReadOnly)) e.preventDefault();
|
|
199
|
+
if (isDisabled || isReadOnly) return;
|
|
200
|
+
if (key === "Enter" && onSubmit) {
|
|
201
|
+
e.preventDefault();
|
|
202
|
+
onSubmit(state.value);
|
|
203
|
+
}
|
|
204
|
+
if (key === "Escape") if (state.value === "" && (!inputRef.current || inputRef.current.value === "")) e.continuePropagation();
|
|
205
|
+
else {
|
|
206
|
+
e.preventDefault();
|
|
207
|
+
state.setValue("");
|
|
208
|
+
if (onClear) onClear();
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
let onClearButtonClick = () => {
|
|
212
|
+
state.setValue("");
|
|
213
|
+
if (onClear) onClear();
|
|
214
|
+
};
|
|
215
|
+
let onPressStart = () => {
|
|
216
|
+
inputRef.current?.focus();
|
|
217
|
+
};
|
|
218
|
+
let { labelProps, inputProps, descriptionProps, errorMessageProps, ...validation } = $054f71d2330da2e3$export$712718f7aec83d5({
|
|
219
|
+
...props,
|
|
220
|
+
value: state.value,
|
|
221
|
+
onChange: state.setValue,
|
|
222
|
+
onKeyDown: !isReadOnly ? $a4e76a5424781910$export$e08e3b67e392101e(onKeyDown, props.onKeyDown) : props.onKeyDown,
|
|
223
|
+
type
|
|
224
|
+
}, inputRef);
|
|
225
|
+
return {
|
|
226
|
+
labelProps,
|
|
227
|
+
inputProps: {
|
|
228
|
+
...inputProps,
|
|
229
|
+
defaultValue: void 0
|
|
230
|
+
},
|
|
231
|
+
clearButtonProps: {
|
|
232
|
+
"aria-label": stringFormatter.format("Clear search"),
|
|
233
|
+
excludeFromTabOrder: true,
|
|
234
|
+
preventFocusOnPress: true,
|
|
235
|
+
isDisabled: isDisabled || isReadOnly,
|
|
236
|
+
onPress: onClearButtonClick,
|
|
237
|
+
onPressStart
|
|
238
|
+
},
|
|
239
|
+
descriptionProps,
|
|
240
|
+
errorMessageProps,
|
|
241
|
+
...validation
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region node_modules/react-stately/dist/private/searchfield/useSearchFieldState.mjs
|
|
246
|
+
function $56baeede9f35e022$export$3f8be18b0f41eaf2(props) {
|
|
247
|
+
let [value, setValue] = $3e6197669829fe11$export$40bfa8c7b0832715($56baeede9f35e022$var$toString(props.value), $56baeede9f35e022$var$toString(props.defaultValue) || "", props.onChange);
|
|
248
|
+
return {
|
|
249
|
+
value,
|
|
250
|
+
setValue
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
function $56baeede9f35e022$var$toString(val) {
|
|
254
|
+
if (val == null) return;
|
|
255
|
+
return val.toString();
|
|
256
|
+
}
|
|
257
|
+
//#endregion
|
|
258
|
+
//#region node_modules/react-aria-components/dist/private/SearchField.mjs
|
|
259
|
+
var $29a5029ff43c9612$export$d1c4e4c63cb03a11 = createContext(null);
|
|
260
|
+
var $29a5029ff43c9612$export$b94867ecbd698f21 = $d7f64c32b702fe2c$export$86427a43e3e48ebb(function SearchField(props, ref) {
|
|
261
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $29a5029ff43c9612$export$d1c4e4c63cb03a11);
|
|
262
|
+
let { validationBehavior: formValidationBehavior } = $7230ffa83bc0c2cf$export$fabf2dc03a41866e($cdaed739b1139372$export$c24727297075ec6a) || {};
|
|
263
|
+
let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? "native";
|
|
264
|
+
let inputRef = useRef(null);
|
|
265
|
+
[props, inputRef] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, inputRef, $4b38b5b75ecc6208$export$698f465ec27e93df);
|
|
266
|
+
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
267
|
+
let state = $56baeede9f35e022$export$3f8be18b0f41eaf2({
|
|
268
|
+
...props,
|
|
269
|
+
validationBehavior
|
|
270
|
+
});
|
|
271
|
+
let { labelProps, inputProps, clearButtonProps, descriptionProps, errorMessageProps, ...validation } = $44614525ec969a63$export$9bb30bbe003b82e0({
|
|
272
|
+
...$7230ffa83bc0c2cf$export$ef03459518577ad4(props),
|
|
273
|
+
label,
|
|
274
|
+
validationBehavior
|
|
275
|
+
}, state, inputRef);
|
|
276
|
+
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
277
|
+
...props,
|
|
278
|
+
values: {
|
|
279
|
+
isEmpty: state.value === "",
|
|
280
|
+
isDisabled: props.isDisabled || false,
|
|
281
|
+
isInvalid: validation.isInvalid || false,
|
|
282
|
+
isReadOnly: props.isReadOnly || false,
|
|
283
|
+
isRequired: props.isRequired || false,
|
|
284
|
+
state
|
|
285
|
+
},
|
|
286
|
+
defaultClassName: "react-aria-SearchField"
|
|
287
|
+
});
|
|
288
|
+
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
289
|
+
delete DOMProps.id;
|
|
290
|
+
return React.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
291
|
+
...DOMProps,
|
|
292
|
+
...renderProps,
|
|
293
|
+
ref,
|
|
294
|
+
slot: props.slot || void 0,
|
|
295
|
+
"data-empty": state.value === "" || void 0,
|
|
296
|
+
"data-disabled": props.isDisabled || void 0,
|
|
297
|
+
"data-invalid": validation.isInvalid || void 0,
|
|
298
|
+
"data-readonly": props.isReadOnly || void 0,
|
|
299
|
+
"data-required": props.isRequired || void 0
|
|
300
|
+
}, React.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
301
|
+
[$43a3b93638fe5db9$export$75b6ee27786ba447, {
|
|
302
|
+
...labelProps,
|
|
303
|
+
ref: labelRef
|
|
304
|
+
}],
|
|
305
|
+
[$41fb335299a4a39e$export$37fb8590cf2c088c, {
|
|
306
|
+
...inputProps,
|
|
307
|
+
ref: inputRef
|
|
308
|
+
}],
|
|
309
|
+
[$7705c033048f6da7$export$24d547caef80ccd1, clearButtonProps],
|
|
310
|
+
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
311
|
+
description: descriptionProps,
|
|
312
|
+
errorMessage: errorMessageProps
|
|
313
|
+
} }],
|
|
314
|
+
[$3a442827418ebe87$export$f9c6924e160136d1, {
|
|
315
|
+
isInvalid: validation.isInvalid,
|
|
316
|
+
isDisabled: props.isDisabled || false
|
|
317
|
+
}],
|
|
318
|
+
[$1f3c3b1a70cec653$export$ff05c3ac10437e03, validation]
|
|
319
|
+
] }, renderProps.children));
|
|
320
|
+
});
|
|
321
|
+
//#endregion
|
|
322
|
+
export { $29a5029ff43c9612$export$b94867ecbd698f21 as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { createContext, forwardRef, useContext, useRef, useState } from "react";
|
|
2
|
+
import { flushSync } from "react-dom";
|
|
3
|
+
//#region node_modules/react-aria-components/dist/private/SharedElementTransition.mjs
|
|
4
|
+
var $792f28e438b9ad5f$var$SharedElementContext = createContext(null);
|
|
5
|
+
function $792f28e438b9ad5f$export$758399f318e6385a(props) {
|
|
6
|
+
let ref = useRef({});
|
|
7
|
+
return React.createElement($792f28e438b9ad5f$var$SharedElementContext.Provider, { value: ref }, props.children);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
|
|
11
|
+
var $91fe5e721c7f36c1$export$c9549807523555e0 = createContext({ isSelected: false });
|
|
12
|
+
//#endregion
|
|
13
|
+
export { $792f28e438b9ad5f$export$758399f318e6385a as n, $91fe5e721c7f36c1$export$c9549807523555e0 as t };
|