eidos-ui 4.1.1 → 4.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/chip/index.cjs +2 -2
- package/dist/chip/index.js +1 -1
- package/dist/{chunk-SOS4K7VC.js → chunk-45XFUEYG.js} +2 -2
- package/dist/{chunk-AWPJH3UB.js → chunk-4MURW4H3.js} +2 -2
- package/dist/{chunk-2WDL2ZVP.js → chunk-5TRO6CYR.js} +10 -4
- package/dist/chunk-5TRO6CYR.js.map +1 -0
- package/dist/{chunk-SJPCBRKR.cjs → chunk-5YTPZN6X.cjs} +3 -3
- package/dist/{chunk-SJPCBRKR.cjs.map → chunk-5YTPZN6X.cjs.map} +1 -1
- package/dist/{chunk-7VMF6LIC.cjs → chunk-6Z42NMP4.cjs} +9 -9
- package/dist/{chunk-7VMF6LIC.cjs.map → chunk-6Z42NMP4.cjs.map} +1 -1
- package/dist/{chunk-VGMRIXW4.cjs → chunk-7OWJQHHM.cjs} +25 -25
- package/dist/{chunk-VGMRIXW4.cjs.map → chunk-7OWJQHHM.cjs.map} +1 -1
- package/dist/{chunk-FSX7DDLO.js → chunk-BMRZHFDP.js} +97 -52
- package/dist/chunk-BMRZHFDP.js.map +1 -0
- package/dist/{chunk-43DJ3GGR.js → chunk-CEVMMYJ5.js} +2 -2
- package/dist/{chunk-DCUIT7SI.js → chunk-CIDHX2EW.js} +2 -2
- package/dist/{chunk-MKQVDEHI.cjs → chunk-CPRNLW4M.cjs} +13 -16
- package/dist/chunk-CPRNLW4M.cjs.map +1 -0
- package/dist/{chunk-6JYXGRJ3.cjs → chunk-EAUTJAKV.cjs} +3 -3
- package/dist/{chunk-6JYXGRJ3.cjs.map → chunk-EAUTJAKV.cjs.map} +1 -1
- package/dist/{chunk-OERK3T7E.js → chunk-ECP5J27K.js} +13 -16
- package/dist/chunk-ECP5J27K.js.map +1 -0
- package/dist/{chunk-5HRVHEHE.cjs → chunk-EJS22Y4B.cjs} +3 -3
- package/dist/{chunk-5HRVHEHE.cjs.map → chunk-EJS22Y4B.cjs.map} +1 -1
- package/dist/{chunk-HKLLKNRQ.cjs → chunk-EM4WYYFN.cjs} +3 -3
- package/dist/{chunk-HKLLKNRQ.cjs.map → chunk-EM4WYYFN.cjs.map} +1 -1
- package/dist/{chunk-Z3OEYDNI.js → chunk-EUQQG5WH.js} +2 -2
- package/dist/{chunk-FAGQGGT3.js → chunk-GVLQQGI3.js} +2 -2
- package/dist/{chunk-K6VEUJLY.cjs → chunk-I36GOOCM.cjs} +18 -18
- package/dist/{chunk-K6VEUJLY.cjs.map → chunk-I36GOOCM.cjs.map} +1 -1
- package/dist/{chunk-LXRNFQEI.js → chunk-JJJXVJUW.js} +3 -3
- package/dist/{chunk-FFYPSLQV.js → chunk-KUP3CP24.js} +8 -8
- package/dist/{chunk-UTOTOWPS.js → chunk-LPSRS5GI.js} +3 -3
- package/dist/{chunk-3QBMSZSE.cjs → chunk-NLTNIQG7.cjs} +3 -3
- package/dist/{chunk-3QBMSZSE.cjs.map → chunk-NLTNIQG7.cjs.map} +1 -1
- package/dist/{chunk-MUMTPMWD.cjs → chunk-NNNMXVHI.cjs} +3 -3
- package/dist/{chunk-MUMTPMWD.cjs.map → chunk-NNNMXVHI.cjs.map} +1 -1
- package/dist/{chunk-57BVERWD.js → chunk-NODLZFCN.js} +3 -3
- package/dist/{chunk-DHOBGYRD.js → chunk-NQ2IY4A2.js} +3 -3
- package/dist/{chunk-YHSCUPP6.cjs → chunk-QKCYXFET.cjs} +102 -57
- package/dist/chunk-QKCYXFET.cjs.map +1 -0
- package/dist/{chunk-SONL2RCW.js → chunk-QVUMYDRE.js} +5 -5
- package/dist/{chunk-SJKD3WCV.cjs → chunk-S3IZPWYP.cjs} +5 -5
- package/dist/{chunk-SJKD3WCV.cjs.map → chunk-S3IZPWYP.cjs.map} +1 -1
- package/dist/{chunk-GRKC4PIX.cjs → chunk-SHGRJX7B.cjs} +3 -3
- package/dist/{chunk-GRKC4PIX.cjs.map → chunk-SHGRJX7B.cjs.map} +1 -1
- package/dist/{chunk-BPVOQLCA.cjs → chunk-TFCOF5FC.cjs} +2 -2
- package/dist/chunk-TFCOF5FC.cjs.map +1 -0
- package/dist/{chunk-IJW6YCJB.cjs → chunk-TTFZKWPH.cjs} +5 -5
- package/dist/{chunk-IJW6YCJB.cjs.map → chunk-TTFZKWPH.cjs.map} +1 -1
- package/dist/{chunk-JO4NDJRA.cjs → chunk-U4B6C7OP.cjs} +6 -6
- package/dist/{chunk-JO4NDJRA.cjs.map → chunk-U4B6C7OP.cjs.map} +1 -1
- package/dist/{chunk-ADB7QRX5.cjs → chunk-U4MV7P4A.cjs} +5 -5
- package/dist/{chunk-ADB7QRX5.cjs.map → chunk-U4MV7P4A.cjs.map} +1 -1
- package/dist/{chunk-IBT535UH.js → chunk-UAAQVIZQ.js} +2 -2
- package/dist/chunk-UAAQVIZQ.js.map +1 -0
- package/dist/{chunk-VPN7AR7T.cjs → chunk-USGEUG2O.cjs} +4 -4
- package/dist/{chunk-VPN7AR7T.cjs.map → chunk-USGEUG2O.cjs.map} +1 -1
- package/dist/{chunk-TOLNPD7S.js → chunk-VA23PQTA.js} +2 -2
- package/dist/{chunk-BKUZF7CW.cjs → chunk-VY7DTPO3.cjs} +21 -15
- package/dist/chunk-VY7DTPO3.cjs.map +1 -0
- package/dist/{chunk-D2PXPX56.js → chunk-YAZSZFLB.js} +4 -4
- package/dist/{chunk-YYA5SWXD.js → chunk-ZBK4KYKJ.js} +2 -2
- package/dist/color-picker/index.cjs +3 -3
- package/dist/color-picker/index.js +2 -2
- package/dist/combobox/index.cjs +3 -3
- package/dist/combobox/index.js +2 -2
- package/dist/context-menu/index.cjs +4 -4
- package/dist/context-menu/index.js +3 -3
- package/dist/conversation/index.cjs +5 -5
- package/dist/conversation/index.js +4 -4
- package/dist/data-grid/index.cjs +10 -10
- package/dist/data-grid/index.js +9 -9
- package/dist/date-picker/index.cjs +4 -4
- package/dist/date-picker/index.d.cts +15 -1
- package/dist/date-picker/index.d.ts +15 -1
- package/dist/date-picker/index.js +3 -3
- package/dist/dropdown/index.cjs +2 -2
- package/dist/dropdown/index.d.cts +10 -0
- package/dist/dropdown/index.d.ts +10 -0
- package/dist/dropdown/index.js +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.css +1 -1
- package/dist/index.js +19 -19
- package/dist/menu/index.cjs +3 -3
- package/dist/menu/index.js +2 -2
- package/dist/page-layout/index.cjs +5 -5
- package/dist/page-layout/index.js +4 -4
- package/dist/pagination/index.cjs +4 -4
- package/dist/pagination/index.js +3 -3
- package/dist/select/index.cjs +3 -3
- package/dist/select/index.js +2 -2
- package/dist/split-button/index.cjs +4 -4
- package/dist/split-button/index.js +3 -3
- package/dist/split-chip/index.cjs +3 -3
- package/dist/split-chip/index.js +2 -2
- package/dist/table/index.cjs +9 -9
- package/dist/table/index.js +8 -8
- package/dist/tag-input/index.cjs +4 -4
- package/dist/tag-input/index.js +3 -3
- package/dist/theme-editor/index.cjs +5 -5
- package/dist/theme-editor/index.js +4 -4
- package/dist/toolbar/index.cjs +4 -4
- package/dist/toolbar/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-2WDL2ZVP.js.map +0 -1
- package/dist/chunk-BKUZF7CW.cjs.map +0 -1
- package/dist/chunk-BPVOQLCA.cjs.map +0 -1
- package/dist/chunk-FSX7DDLO.js.map +0 -1
- package/dist/chunk-IBT535UH.js.map +0 -1
- package/dist/chunk-MKQVDEHI.cjs.map +0 -1
- package/dist/chunk-OERK3T7E.js.map +0 -1
- package/dist/chunk-YHSCUPP6.cjs.map +0 -1
- /package/dist/{chunk-SOS4K7VC.js.map → chunk-45XFUEYG.js.map} +0 -0
- /package/dist/{chunk-AWPJH3UB.js.map → chunk-4MURW4H3.js.map} +0 -0
- /package/dist/{chunk-43DJ3GGR.js.map → chunk-CEVMMYJ5.js.map} +0 -0
- /package/dist/{chunk-DCUIT7SI.js.map → chunk-CIDHX2EW.js.map} +0 -0
- /package/dist/{chunk-Z3OEYDNI.js.map → chunk-EUQQG5WH.js.map} +0 -0
- /package/dist/{chunk-FAGQGGT3.js.map → chunk-GVLQQGI3.js.map} +0 -0
- /package/dist/{chunk-LXRNFQEI.js.map → chunk-JJJXVJUW.js.map} +0 -0
- /package/dist/{chunk-FFYPSLQV.js.map → chunk-KUP3CP24.js.map} +0 -0
- /package/dist/{chunk-UTOTOWPS.js.map → chunk-LPSRS5GI.js.map} +0 -0
- /package/dist/{chunk-57BVERWD.js.map → chunk-NODLZFCN.js.map} +0 -0
- /package/dist/{chunk-DHOBGYRD.js.map → chunk-NQ2IY4A2.js.map} +0 -0
- /package/dist/{chunk-SONL2RCW.js.map → chunk-QVUMYDRE.js.map} +0 -0
- /package/dist/{chunk-TOLNPD7S.js.map → chunk-VA23PQTA.js.map} +0 -0
- /package/dist/{chunk-D2PXPX56.js.map → chunk-YAZSZFLB.js.map} +0 -0
- /package/dist/{chunk-YYA5SWXD.js.map → chunk-ZBK4KYKJ.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-3LBWAUCR.js";
|
|
13
13
|
import {
|
|
14
14
|
Table
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QVUMYDRE.js";
|
|
16
16
|
import {
|
|
17
17
|
Tab,
|
|
18
18
|
TabPanel,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
} from "./chunk-KZKBZ2AV.js";
|
|
21
21
|
import {
|
|
22
22
|
TagInput
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NODLZFCN.js";
|
|
24
24
|
import {
|
|
25
25
|
Textarea
|
|
26
26
|
} from "./chunk-YPEJH57Z.js";
|
|
27
27
|
import {
|
|
28
28
|
ThemeEditor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NQ2IY4A2.js";
|
|
30
30
|
import {
|
|
31
31
|
Switch
|
|
32
32
|
} from "./chunk-7HEUWGYW.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./chunk-EDPCI2JC.js";
|
|
54
54
|
import {
|
|
55
55
|
SplitChip
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-45XFUEYG.js";
|
|
57
57
|
import {
|
|
58
58
|
NumberInput
|
|
59
59
|
} from "./chunk-YPPG7NLW.js";
|
|
@@ -62,10 +62,10 @@ import {
|
|
|
62
62
|
} from "./chunk-U233KQZX.js";
|
|
63
63
|
import {
|
|
64
64
|
PageLayout
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CEVMMYJ5.js";
|
|
66
66
|
import {
|
|
67
67
|
Toolbar
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4MURW4H3.js";
|
|
69
69
|
import {
|
|
70
70
|
Progress
|
|
71
71
|
} from "./chunk-NSITXZBU.js";
|
|
@@ -94,29 +94,29 @@ import {
|
|
|
94
94
|
} from "./chunk-KLHC5BHS.js";
|
|
95
95
|
import {
|
|
96
96
|
DataGrid
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KUP3CP24.js";
|
|
98
98
|
import {
|
|
99
99
|
TableFiltersDropdown
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-YAZSZFLB.js";
|
|
101
101
|
import {
|
|
102
102
|
SegmentedControl
|
|
103
103
|
} from "./chunk-BHZ76J2K.js";
|
|
104
104
|
import {
|
|
105
105
|
SplitButton
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-LPSRS5GI.js";
|
|
107
107
|
import {
|
|
108
108
|
Pagination
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-GVLQQGI3.js";
|
|
110
110
|
import "./chunk-KGXGTWUL.js";
|
|
111
111
|
import "./chunk-6NZXWKUE.js";
|
|
112
112
|
import {
|
|
113
113
|
Calendar,
|
|
114
114
|
DatePicker,
|
|
115
115
|
TimeInput
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-BMRZHFDP.js";
|
|
117
117
|
import {
|
|
118
118
|
Select
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-5TRO6CYR.js";
|
|
120
120
|
import {
|
|
121
121
|
Divider
|
|
122
122
|
} from "./chunk-MZZ4SAFY.js";
|
|
@@ -139,10 +139,10 @@ import {
|
|
|
139
139
|
} from "./chunk-DGXHR6FV.js";
|
|
140
140
|
import {
|
|
141
141
|
ColorPicker
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-CIDHX2EW.js";
|
|
143
143
|
import {
|
|
144
144
|
Combobox
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-EUQQG5WH.js";
|
|
146
146
|
import {
|
|
147
147
|
Input
|
|
148
148
|
} from "./chunk-GE3QCXT7.js";
|
|
@@ -152,12 +152,12 @@ import {
|
|
|
152
152
|
import "./chunk-XUZOU2EB.js";
|
|
153
153
|
import {
|
|
154
154
|
ContextMenu
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-ZBK4KYKJ.js";
|
|
156
156
|
import {
|
|
157
157
|
Chat,
|
|
158
158
|
CommentThread,
|
|
159
159
|
MessageComposer
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-JJJXVJUW.js";
|
|
161
161
|
import {
|
|
162
162
|
Skeleton
|
|
163
163
|
} from "./chunk-Y55M34RQ.js";
|
|
@@ -174,16 +174,16 @@ import {
|
|
|
174
174
|
import "./chunk-TPNCV7KA.js";
|
|
175
175
|
import {
|
|
176
176
|
Chip
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-UAAQVIZQ.js";
|
|
178
178
|
import {
|
|
179
179
|
Menu,
|
|
180
180
|
MenuPanel
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-VA23PQTA.js";
|
|
182
182
|
import {
|
|
183
183
|
Dropdown,
|
|
184
184
|
DropdownProvider,
|
|
185
185
|
useDropdownContext
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-ECP5J27K.js";
|
|
187
187
|
import {
|
|
188
188
|
Kbd
|
|
189
189
|
} from "./chunk-LYH3EKKQ.js";
|
package/dist/menu/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkUSGEUG2Ocjs = require('../chunk-USGEUG2O.cjs');
|
|
5
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
6
6
|
require('../chunk-KVIL4EP4.cjs');
|
|
7
7
|
require('../chunk-RZMQCVAS.cjs');
|
|
8
8
|
require('../chunk-R5WI5IGR.cjs');
|
|
@@ -11,5 +11,5 @@ require('../chunk-DZUJEN5N.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.Menu =
|
|
14
|
+
exports.Menu = _chunkUSGEUG2Ocjs.Menu; exports.MenuPanel = _chunkUSGEUG2Ocjs.MenuPanel;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/menu/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkSHGRJX7Bcjs = require('../chunk-SHGRJX7B.cjs');
|
|
4
|
+
require('../chunk-NNNMXVHI.cjs');
|
|
5
5
|
require('../chunk-ZVA5KJAJ.cjs');
|
|
6
6
|
require('../chunk-VCG647BY.cjs');
|
|
7
7
|
require('../chunk-K73JO4FK.cjs');
|
|
8
8
|
require('../chunk-PTBBY4ZX.cjs');
|
|
9
9
|
require('../chunk-FJSK2RT7.cjs');
|
|
10
10
|
require('../chunk-VW32UTUE.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-USGEUG2O.cjs');
|
|
12
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
13
13
|
require('../chunk-KVIL4EP4.cjs');
|
|
14
14
|
require('../chunk-Q3GNKF74.cjs');
|
|
15
15
|
require('../chunk-GP6EEZH5.cjs');
|
|
@@ -24,5 +24,5 @@ require('../chunk-75Q5OS7L.cjs');
|
|
|
24
24
|
require('../chunk-DZUJEN5N.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
exports.PageLayout =
|
|
27
|
+
exports.PageLayout = _chunkSHGRJX7Bcjs.PageLayout;
|
|
28
28
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PageLayout
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-CEVMMYJ5.js";
|
|
4
|
+
import "../chunk-4MURW4H3.js";
|
|
5
5
|
import "../chunk-NONYIHXD.js";
|
|
6
6
|
import "../chunk-OQWG7NLI.js";
|
|
7
7
|
import "../chunk-KLHC5BHS.js";
|
|
8
8
|
import "../chunk-W2F6WDUX.js";
|
|
9
9
|
import "../chunk-GLEPKX2R.js";
|
|
10
10
|
import "../chunk-XUZOU2EB.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-VA23PQTA.js";
|
|
12
|
+
import "../chunk-ECP5J27K.js";
|
|
13
13
|
import "../chunk-LYH3EKKQ.js";
|
|
14
14
|
import "../chunk-XJBWFDDE.js";
|
|
15
15
|
import "../chunk-26PRBZA6.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEAUTJAKVcjs = require('../chunk-EAUTJAKV.cjs');
|
|
4
4
|
require('../chunk-SJDTFR3I.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-VY7DTPO3.cjs');
|
|
6
6
|
require('../chunk-KF2OGUAD.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
8
8
|
require('../chunk-EACNRR3C.cjs');
|
|
9
9
|
require('../chunk-NSA7ASZ7.cjs');
|
|
10
10
|
require('../chunk-I6UOIS4J.cjs');
|
|
@@ -16,5 +16,5 @@ require('../chunk-75Q5OS7L.cjs');
|
|
|
16
16
|
require('../chunk-DZUJEN5N.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.Pagination =
|
|
19
|
+
exports.Pagination = _chunkEAUTJAKVcjs.Pagination;
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/pagination/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pagination
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GVLQQGI3.js";
|
|
4
4
|
import "../chunk-KGXGTWUL.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-5TRO6CYR.js";
|
|
6
6
|
import "../chunk-GE3QCXT7.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ECP5J27K.js";
|
|
8
8
|
import "../chunk-N5JDL4VE.js";
|
|
9
9
|
import "../chunk-GHUEVNNU.js";
|
|
10
10
|
import "../chunk-66R54X6R.js";
|
package/dist/select/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-SJDTFR3I.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkVY7DTPO3cjs = require('../chunk-VY7DTPO3.cjs');
|
|
5
5
|
require('../chunk-KF2OGUAD.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
7
7
|
require('../chunk-RZMQCVAS.cjs');
|
|
8
8
|
require('../chunk-R5WI5IGR.cjs');
|
|
9
9
|
require('../chunk-CJT7L764.cjs');
|
|
10
10
|
require('../chunk-DZUJEN5N.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.Select =
|
|
13
|
+
exports.Select = _chunkVY7DTPO3cjs.Select;
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
package/dist/select/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../chunk-KGXGTWUL.js";
|
|
2
2
|
import {
|
|
3
3
|
Select
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5TRO6CYR.js";
|
|
5
5
|
import "../chunk-GE3QCXT7.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-ECP5J27K.js";
|
|
7
7
|
import "../chunk-BUSMGQJ4.js";
|
|
8
8
|
import "../chunk-PP6HS4GR.js";
|
|
9
9
|
import "../chunk-V3T7RO4F.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var _chunkS3IZPWYPcjs = require('../chunk-S3IZPWYP.cjs');
|
|
4
|
+
require('../chunk-USGEUG2O.cjs');
|
|
5
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
6
6
|
require('../chunk-KVIL4EP4.cjs');
|
|
7
7
|
require('../chunk-RZMQCVAS.cjs');
|
|
8
8
|
require('../chunk-R5WI5IGR.cjs');
|
|
@@ -10,5 +10,5 @@ require('../chunk-CJT7L764.cjs');
|
|
|
10
10
|
require('../chunk-DZUJEN5N.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.SplitButton =
|
|
13
|
+
exports.SplitButton = _chunkS3IZPWYPcjs.SplitButton;
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SplitButton
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-LPSRS5GI.js";
|
|
4
|
+
import "../chunk-VA23PQTA.js";
|
|
5
|
+
import "../chunk-ECP5J27K.js";
|
|
6
6
|
import "../chunk-LYH3EKKQ.js";
|
|
7
7
|
import "../chunk-BUSMGQJ4.js";
|
|
8
8
|
import "../chunk-PP6HS4GR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkNLTNIQG7cjs = require('../chunk-NLTNIQG7.cjs');
|
|
4
|
+
require('../chunk-TFCOF5FC.cjs');
|
|
5
5
|
require('../chunk-RZMQCVAS.cjs');
|
|
6
6
|
require('../chunk-R5WI5IGR.cjs');
|
|
7
7
|
require('../chunk-CJT7L764.cjs');
|
|
@@ -10,5 +10,5 @@ require('../chunk-75Q5OS7L.cjs');
|
|
|
10
10
|
require('../chunk-DZUJEN5N.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.SplitChip =
|
|
13
|
+
exports.SplitChip = _chunkNLTNIQG7cjs.SplitChip;
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
package/dist/split-chip/index.js
CHANGED
package/dist/table/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkI36GOOCMcjs = require('../chunk-I36GOOCM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
6
|
+
var _chunk6Z42NMP4cjs = require('../chunk-6Z42NMP4.cjs');
|
|
7
|
+
require('../chunk-S3IZPWYP.cjs');
|
|
8
|
+
require('../chunk-EAUTJAKV.cjs');
|
|
9
9
|
require('../chunk-SJDTFR3I.cjs');
|
|
10
10
|
require('../chunk-I44YNYI6.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-QKCYXFET.cjs');
|
|
12
|
+
require('../chunk-VY7DTPO3.cjs');
|
|
13
13
|
require('../chunk-XJAXKENE.cjs');
|
|
14
14
|
require('../chunk-SWPZ3HFY.cjs');
|
|
15
15
|
require('../chunk-YJNQLH2L.cjs');
|
|
@@ -17,8 +17,8 @@ require('../chunk-KF2OGUAD.cjs');
|
|
|
17
17
|
require('../chunk-3RUIKBH4.cjs');
|
|
18
18
|
require('../chunk-TROYIUDH.cjs');
|
|
19
19
|
require('../chunk-KV3V2CPH.cjs');
|
|
20
|
-
require('../chunk-
|
|
21
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-USGEUG2O.cjs');
|
|
21
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
22
22
|
require('../chunk-KVIL4EP4.cjs');
|
|
23
23
|
require('../chunk-3ETWFS2N.cjs');
|
|
24
24
|
require('../chunk-EACNRR3C.cjs');
|
|
@@ -33,5 +33,5 @@ require('../chunk-DZUJEN5N.cjs');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
exports.Table =
|
|
36
|
+
exports.Table = _chunkI36GOOCMcjs.Table; exports.TableFiltersDropdown = _chunk6Z42NMP4cjs.TableFiltersDropdown;
|
|
37
37
|
//# sourceMappingURL=index.cjs.map
|
package/dist/table/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Table
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-QVUMYDRE.js";
|
|
4
4
|
import {
|
|
5
5
|
TableFiltersDropdown
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-YAZSZFLB.js";
|
|
7
|
+
import "../chunk-LPSRS5GI.js";
|
|
8
|
+
import "../chunk-GVLQQGI3.js";
|
|
9
9
|
import "../chunk-KGXGTWUL.js";
|
|
10
10
|
import "../chunk-6NZXWKUE.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-BMRZHFDP.js";
|
|
12
|
+
import "../chunk-5TRO6CYR.js";
|
|
13
13
|
import "../chunk-DI2VKKLW.js";
|
|
14
14
|
import "../chunk-TZWNX7FF.js";
|
|
15
15
|
import "../chunk-DGXHR6FV.js";
|
|
@@ -17,8 +17,8 @@ import "../chunk-GE3QCXT7.js";
|
|
|
17
17
|
import "../chunk-TH3ITGUM.js";
|
|
18
18
|
import "../chunk-6ZAT5CGB.js";
|
|
19
19
|
import "../chunk-3TUCQAYL.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-VA23PQTA.js";
|
|
21
|
+
import "../chunk-ECP5J27K.js";
|
|
22
22
|
import "../chunk-LYH3EKKQ.js";
|
|
23
23
|
import "../chunk-3SKI6FXB.js";
|
|
24
24
|
import "../chunk-N5JDL4VE.js";
|
package/dist/tag-input/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var _chunkTTFZKWPHcjs = require('../chunk-TTFZKWPH.cjs');
|
|
4
|
+
require('../chunk-TFCOF5FC.cjs');
|
|
5
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
6
6
|
require('../chunk-RZMQCVAS.cjs');
|
|
7
7
|
require('../chunk-R5WI5IGR.cjs');
|
|
8
8
|
require('../chunk-CJT7L764.cjs');
|
|
@@ -11,5 +11,5 @@ require('../chunk-75Q5OS7L.cjs');
|
|
|
11
11
|
require('../chunk-DZUJEN5N.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.TagInput =
|
|
14
|
+
exports.TagInput = _chunkTTFZKWPHcjs.TagInput;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/tag-input/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TagInput
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NODLZFCN.js";
|
|
4
|
+
import "../chunk-UAAQVIZQ.js";
|
|
5
|
+
import "../chunk-ECP5J27K.js";
|
|
6
6
|
import "../chunk-BUSMGQJ4.js";
|
|
7
7
|
import "../chunk-PP6HS4GR.js";
|
|
8
8
|
import "../chunk-V3T7RO4F.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkU4B6C7OPcjs = require('../chunk-U4B6C7OP.cjs');
|
|
4
4
|
require('../chunk-IXZMKIV5.cjs');
|
|
5
5
|
require('../chunk-O45W57Y4.cjs');
|
|
6
6
|
require('../chunk-OZZHOEN5.cjs');
|
|
7
7
|
require('../chunk-E7BFBU6K.cjs');
|
|
8
8
|
require('../chunk-SJDTFR3I.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-VY7DTPO3.cjs');
|
|
10
10
|
require('../chunk-V5RS3JZN.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-5YTPZN6X.cjs');
|
|
12
12
|
require('../chunk-KF2OGUAD.cjs');
|
|
13
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
14
14
|
require('../chunk-YWXS4IPH.cjs');
|
|
15
15
|
require('../chunk-EACNRR3C.cjs');
|
|
16
16
|
require('../chunk-NSA7ASZ7.cjs');
|
|
@@ -23,5 +23,5 @@ require('../chunk-75Q5OS7L.cjs');
|
|
|
23
23
|
require('../chunk-DZUJEN5N.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
exports.ThemeEditor =
|
|
26
|
+
exports.ThemeEditor = _chunkU4B6C7OPcjs.ThemeEditor;
|
|
27
27
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ThemeEditor
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-NQ2IY4A2.js";
|
|
4
4
|
import "../chunk-7HEUWGYW.js";
|
|
5
5
|
import "../chunk-EJWEG66P.js";
|
|
6
6
|
import "../chunk-2BC4M4QZ.js";
|
|
7
7
|
import "../chunk-BHZ76J2K.js";
|
|
8
8
|
import "../chunk-KGXGTWUL.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-5TRO6CYR.js";
|
|
10
10
|
import "../chunk-EF4Y6Q35.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-CIDHX2EW.js";
|
|
12
12
|
import "../chunk-GE3QCXT7.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-ECP5J27K.js";
|
|
14
14
|
import "../chunk-XBIMNWE6.js";
|
|
15
15
|
import "../chunk-N5JDL4VE.js";
|
|
16
16
|
import "../chunk-GHUEVNNU.js";
|
package/dist/toolbar/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNNNMXVHIcjs = require('../chunk-NNNMXVHI.cjs');
|
|
4
4
|
require('../chunk-FJSK2RT7.cjs');
|
|
5
5
|
require('../chunk-VW32UTUE.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-USGEUG2O.cjs');
|
|
7
|
+
require('../chunk-CPRNLW4M.cjs');
|
|
8
8
|
require('../chunk-KVIL4EP4.cjs');
|
|
9
9
|
require('../chunk-Q3GNKF74.cjs');
|
|
10
10
|
require('../chunk-GP6EEZH5.cjs');
|
|
@@ -19,5 +19,5 @@ require('../chunk-75Q5OS7L.cjs');
|
|
|
19
19
|
require('../chunk-DZUJEN5N.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.Toolbar =
|
|
22
|
+
exports.Toolbar = _chunkNNNMXVHIcjs.Toolbar;
|
|
23
23
|
//# sourceMappingURL=index.cjs.map
|
package/dist/toolbar/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Toolbar
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4MURW4H3.js";
|
|
4
4
|
import "../chunk-GLEPKX2R.js";
|
|
5
5
|
import "../chunk-XUZOU2EB.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-VA23PQTA.js";
|
|
7
|
+
import "../chunk-ECP5J27K.js";
|
|
8
8
|
import "../chunk-LYH3EKKQ.js";
|
|
9
9
|
import "../chunk-XJBWFDDE.js";
|
|
10
10
|
import "../chunk-26PRBZA6.js";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Select/Select.component.tsx"],"sourcesContent":["import React, { useState, useCallback, useRef, useEffect, useMemo } from 'react';\nimport { X, Check } from 'lucide-react';\nimport { Input } from '../Input/Input.component';\nimport { Dropdown } from '../Dropdown/Dropdown.component';\nimport type { SelectProps, SelectOption } from './Select.types';\nimport { renderIcon, devWarn } from '../../utils';\n\nexport const Select = React.forwardRef<HTMLDivElement, SelectProps>(\n (\n {\n options = [],\n value,\n defaultValue,\n onChange,\n className = '',\n multiple = false,\n label,\n placeholder = 'Select an option...',\n disabled = false,\n inputProps = {},\n name,\n id,\n required = false,\n fullWidth = false,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight = '300px',\n autoWidth = true,\n clearable = true,\n autoOpen = false,\n dropdownProps = {},\n },\n ref,\n ) => {\n const isControlled = value !== undefined;\n\n // Lazy initializer: seed from defaultValue in uncontrolled mode.\n const [selectedValues, setSelectedValues] = useState<Set<string>>(() => {\n if (defaultValue !== undefined) {\n const vals = Array.isArray(defaultValue) ? defaultValue : [defaultValue];\n return new Set(vals.filter((v) => v !== ''));\n }\n return new Set();\n });\n\n const [focusedIndex, setFocusedIndex] = useState(-1);\n // `Select` owns the open state and hands it to `Dropdown` as a controlled\n // value. It used to keep this flag *and* force the dropdown closed by\n // remounting it through a changing `key`, because `Dropdown`'s own state was\n // private - which meant this flag drove the ARIA attributes while reaching\n // nothing that renders, so the keyboard could not open the listbox at all.\n const [isOpen, setIsOpen] = useState(autoOpen);\n\n const inputRef = useRef<HTMLInputElement>(null);\n const triggerRef = useRef<HTMLDivElement>(null);\n const optionRefs = useRef<(HTMLDivElement | null)[]>([]);\n\n // Kept in sync every render so the mount-only callback ref below can\n // read the latest values without needing them in its dependency array\n // (see `handleOptionsMount`).\n const optionsRef = useRef(options);\n optionsRef.current = options;\n const selectedValuesRef = useRef(selectedValues);\n selectedValuesRef.current = selectedValues;\n\n useEffect(() => {\n if (value !== undefined) {\n const values = Array.isArray(value) ? value : [value];\n\n const validValues = values.filter((v) => v !== '');\n setSelectedValues(new Set(validValues));\n }\n }, [value]);\n\n useEffect(() => {\n setFocusedIndex(-1);\n }, [options]);\n\n useEffect(() => {\n optionRefs.current = optionRefs.current.slice(0, options.length);\n }, [options.length]);\n\n const handleOptionSelect = useCallback(\n (option: SelectOption) => {\n if (option.disabled) return;\n\n const newSelectedValues = new Set(selectedValues);\n\n if (multiple) {\n if (newSelectedValues.has(option.value)) {\n newSelectedValues.delete(option.value);\n } else {\n newSelectedValues.add(option.value);\n }\n } else {\n if (newSelectedValues.has(option.value)) {\n newSelectedValues.clear();\n } else {\n newSelectedValues.clear();\n newSelectedValues.add(option.value);\n }\n }\n\n // In uncontrolled mode, own the state directly.\n // In controlled mode, let the parent drive via value prop + useEffect sync.\n if (!isControlled) {\n setSelectedValues(newSelectedValues);\n }\n\n if (onChange) {\n const newValue = multiple\n ? Array.from(newSelectedValues)\n : Array.from(newSelectedValues)[0] || '';\n onChange(newValue);\n }\n\n if (!multiple) {\n setIsOpen(false);\n // Focus is returned explicitly because a click lands on an option\n // `div`, which is not focusable - without this, choosing with the\n // mouse would leave focus on `<body>` and the field would be\n // unreachable by keyboard until tabbed to again.\n inputRef.current?.focus();\n }\n },\n [multiple, onChange, selectedValues, isControlled],\n );\n\n const handleClear = useCallback(\n (e?: React.MouseEvent) => {\n if (e) {\n e.stopPropagation();\n }\n if (!isControlled) {\n setSelectedValues(new Set());\n }\n\n setIsOpen(false);\n inputRef.current?.focus();\n if (onChange) {\n onChange(multiple ? [] : '');\n }\n },\n [multiple, onChange, isControlled],\n );\n\n // A form control with no accessible name is announced as just \"combobox\".\n // `Select` was the only field in the library that could not be labelled\n // without knowing about `inputProps`, and three call sites duly shipped\n // without one - so the gap is closed from both ends: a first-class `label`\n // prop, and this warning.\n //\n // Measured from the DOM rather than from props, because a caller may name\n // the field with an external `<label for>` - `Pagination`'s page-size\n // picker does exactly that, and a props-only check would cry wolf at it.\n // `HTMLInputElement.labels` covers both wrapping and `for` labels.\n useEffect(() => {\n const element = inputRef.current;\n if (!element) return;\n const named =\n (element.labels?.length ?? 0) > 0 ||\n element.hasAttribute('aria-label') ||\n element.hasAttribute('aria-labelledby');\n if (!named) {\n devWarn(\n 'select-missing-label',\n 'Select: no accessible name. Pass `label` for a visible one, or `inputProps={{ \"aria-label\": \"...\" }}` where it must stay visually unlabelled - otherwise the field is announced as just \"combobox\". A placeholder is not a label, and disappears as soon as something is chosen.',\n );\n }\n }, []);\n\n const handleKeyDown = useCallback(\n (e: React.KeyboardEvent) => {\n if (disabled) return;\n\n switch (e.key) {\n case 'ArrowDown':\n e.preventDefault();\n if (!isOpen) {\n setIsOpen(true);\n setFocusedIndex(0);\n } else {\n setFocusedIndex((prev) => {\n const nextIndex = prev < options.length - 1 ? prev + 1 : 0;\n\n setTimeout(() => {\n optionRefs.current[nextIndex]?.scrollIntoView({\n block: 'nearest',\n behavior: 'smooth',\n });\n }, 0);\n return nextIndex;\n });\n }\n break;\n\n case 'ArrowUp':\n e.preventDefault();\n if (!isOpen) {\n setIsOpen(true);\n setFocusedIndex(options.length - 1);\n } else {\n setFocusedIndex((prev) => {\n const nextIndex = prev > 0 ? prev - 1 : options.length - 1;\n\n setTimeout(() => {\n optionRefs.current[nextIndex]?.scrollIntoView({\n block: 'nearest',\n behavior: 'smooth',\n });\n }, 0);\n return nextIndex;\n });\n }\n break;\n\n case 'Enter':\n case ' ':\n e.preventDefault();\n if (!isOpen) {\n setIsOpen(true);\n setFocusedIndex(0);\n } else if (focusedIndex >= 0 && focusedIndex < options.length) {\n const focusedOption = options[focusedIndex];\n handleOptionSelect(focusedOption);\n }\n break;\n\n case 'Escape':\n e.preventDefault();\n if (isOpen) {\n setIsOpen(false);\n setFocusedIndex(-1);\n }\n break;\n\n case 'Home':\n e.preventDefault();\n if (isOpen) {\n setFocusedIndex(0);\n optionRefs.current[0]?.scrollIntoView({\n block: 'nearest',\n behavior: 'smooth',\n });\n }\n break;\n\n case 'End':\n e.preventDefault();\n if (isOpen) {\n const lastIndex = options.length - 1;\n setFocusedIndex(lastIndex);\n optionRefs.current[lastIndex]?.scrollIntoView({\n block: 'nearest',\n behavior: 'smooth',\n });\n }\n break;\n\n default:\n if (isOpen && e.key.length === 1 && /[a-zA-Z0-9]/.test(e.key)) {\n const searchChar = e.key.toLowerCase();\n const foundIndex = options.findIndex(\n (option, index) =>\n index > focusedIndex && option.label.toLowerCase().startsWith(searchChar),\n );\n\n if (foundIndex !== -1) {\n setFocusedIndex(foundIndex);\n optionRefs.current[foundIndex]?.scrollIntoView({\n block: 'nearest',\n behavior: 'smooth',\n });\n } else {\n const foundFromStart = options.findIndex((option) =>\n option.label.toLowerCase().startsWith(searchChar),\n );\n if (foundFromStart !== -1) {\n setFocusedIndex(foundFromStart);\n optionRefs.current[foundFromStart]?.scrollIntoView({\n block: 'nearest',\n behavior: 'smooth',\n });\n }\n }\n }\n break;\n }\n },\n [disabled, isOpen, options, focusedIndex, handleOptionSelect],\n );\n\n // Scrolls the first selected option into view. Attached as the options\n // list's own ref below with an empty dependency array, so its identity\n // never changes and React only invokes it on genuine DOM mount/unmount -\n // i.e. exactly when the dropdown opens/closes (Dropdown unmounts its\n // `content` entirely while closed), not on every re-render while open.\n const handleOptionsMount = useCallback((el: HTMLDivElement | null) => {\n if (!el) return;\n const idx = optionsRef.current.findIndex((option) =>\n selectedValuesRef.current.has(option.value),\n );\n if (idx === -1) return;\n optionRefs.current[idx]?.scrollIntoView({ block: 'nearest' });\n }, []);\n\n // Past this many selections the full comma-joined label list becomes\n // unreadable in the trigger, so we switch to a compact \"N selected\" label.\n const COMPACT_LABEL_THRESHOLD = 2;\n\n const displayValue = useMemo(() => {\n if (selectedValues.size === 0) return '';\n\n if (multiple && selectedValues.size > COMPACT_LABEL_THRESHOLD) {\n return `${selectedValues.size} selected`;\n }\n\n const selectedOptions = options.filter((option) => selectedValues.has(option.value));\n const text = selectedOptions.map((option) => option.label).join(', ');\n return text;\n }, [options, selectedValues, multiple]);\n\n const selectContent = useMemo(\n () => (\n <div className={'eidos-select-options'} ref={handleOptionsMount}>\n {options.map((option, index) => {\n const isSelected = selectedValues.has(option.value);\n const isFocused = index === focusedIndex;\n return (\n <div\n key={option.id}\n // The trigger points `aria-activedescendant` at\n // `${id}-option-${focusedIndex}`, and nothing carried that id -\n // so the moment an option was hovered or arrowed to, the\n // attribute referenced an element that did not exist\n // (`aria-valid-attr-value`, critical). Invisible to axe until a\n // story left the listbox open, because the attribute is only\n // set once something is focused.\n id={`${id || 'select'}-option-${index}`}\n ref={(el) => {\n optionRefs.current[index] = el;\n }}\n className={`\n\t\t\t\t\t\t\t\t\t\t${'eidos-select-option'}\n\t\t\t\t\t\t\t\t\t\t${isSelected ? 'eidos-select-option--selected' : ''}\n\t\t\t\t\t\t\t\t\t\t${option.disabled ? 'eidos-select-option--disabled' : ''}\n\t\t\t\t\t\t\t\t\t\t${isFocused ? 'eidos-select-option--focused' : ''}\n\t\t\t\t\t\t\t\t\t`.trim()}\n onClick={() => handleOptionSelect(option)}\n onMouseEnter={() => setFocusedIndex(index)}\n role=\"option\"\n aria-selected={isSelected}\n aria-disabled={option.disabled}\n >\n {option.icon && renderIcon(option.icon, 'eidos-select-option-icon')}\n <span className={'eidos-select-option-label'}>{option.label}</span>\n {isSelected && <Check className={'eidos-select-option-check-icon'} />}\n </div>\n );\n })}\n </div>\n ),\n [options, selectedValues, focusedIndex, handleOptionSelect, handleOptionsMount, id],\n );\n\n const triggerElement = (\n <div\n ref={triggerRef}\n className={`eidos-select-trigger ${fullWidth ? 'eidos-select-trigger--full-width' : ''}`}\n onKeyDown={handleKeyDown}\n tabIndex={disabled ? -1 : undefined}\n role=\"combobox\"\n aria-expanded={isOpen}\n aria-haspopup=\"listbox\"\n // Only while the listbox exists. An `aria-controls` pointing at an id\n // that is not in the document is invalid, and the listbox only renders\n // while open - `Combobox`, `TagInput` and `CommandPalette` already gate\n // theirs this way. It could not be gated here before, because `isOpen`\n // did not track whether the panel had actually rendered.\n aria-controls={isOpen ? `${id || 'select'}-options` : undefined}\n aria-activedescendant={\n focusedIndex >= 0 ? `${id || 'select'}-option-${focusedIndex}` : undefined\n }\n >\n <Input\n ref={inputRef}\n value={selectedValues.size > 0 ? displayValue : ''}\n placeholder={selectedValues.size === 0 ? placeholder : ''}\n posIcon={selectedValues.size > 0 && clearable ? X : undefined}\n posIconButton={selectedValues.size > 0 && clearable}\n onPosIconClick={selectedValues.size > 0 && clearable ? handleClear : undefined}\n posIconLabel=\"Clear selection\"\n disabled={disabled}\n readOnly={true}\n isSelect={true}\n label={label}\n name={name}\n id={id}\n required={required}\n fullWidth={fullWidth}\n {...inputProps}\n />\n </div>\n );\n\n return (\n <div\n ref={ref}\n className={`${'eidos-select-container'} ${\n fullWidth ? 'eidos-select-container--full-width' : ''\n } ${className}`}\n >\n <Dropdown\n open={isOpen}\n onOpenChange={setIsOpen}\n trigger={triggerElement}\n content={\n <div id={`${id || 'select'}-options`} role=\"listbox\" aria-multiselectable={multiple}>\n {selectContent}\n </div>\n }\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n autoWidth={autoWidth}\n fullWidth={fullWidth}\n triggerRef={triggerRef as React.RefObject<HTMLElement | null>}\n {...dropdownProps}\n />\n </div>\n );\n },\n);\n\nSelect.displayName = 'Select';\n"],"mappings":";;;;;;;;;;;;AAAA,OAAO,SAAS,UAAU,aAAa,QAAQ,WAAW,eAAe;AACzE,SAAS,GAAG,aAAa;AAyUX,SA0BE,KA1BF;AAnUP,IAAM,SAAS,MAAM;AAAA,EAC1B,CACE;AAAA,IACE,UAAU,CAAC;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ,WAAW;AAAA,IACX;AAAA,IACA,cAAc;AAAA,IACd,WAAW;AAAA,IACX,aAAa,CAAC;AAAA,IACd;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,gBAAgB,CAAC;AAAA,EACnB,GACA,QACG;AACH,UAAM,eAAe,UAAU;AAG/B,UAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAsB,MAAM;AACtE,UAAI,iBAAiB,QAAW;AAC9B,cAAM,OAAO,MAAM,QAAQ,YAAY,IAAI,eAAe,CAAC,YAAY;AACvE,eAAO,IAAI,IAAI,KAAK,OAAO,CAAC,MAAM,MAAM,EAAE,CAAC;AAAA,MAC7C;AACA,aAAO,oBAAI,IAAI;AAAA,IACjB,CAAC;AAED,UAAM,C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