@midas-ds/components 1.0.2
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/Breadcrumbs.css +1 -0
- package/Button-CCevm2s3.js +183 -0
- package/Button.css +1 -0
- package/ButtonGroup.css +1 -0
- package/CHANGELOG.md +76 -0
- package/Card.css +1 -0
- package/Checkbox-CllWDBxF.js +405 -0
- package/Checkbox.css +1 -0
- package/Collection-B3xUVWPF.js +483 -0
- package/ComboBox.css +1 -0
- package/DatePicker.css +1 -0
- package/Dialog-CLTyYwkS.js +1889 -0
- package/DragAndDrop-OTN7La7U.js +42 -0
- package/Dropdown.css +1 -0
- package/FileUpload.css +1 -0
- package/Flex.css +1 -0
- package/Flex.module-CpoxBzQX.js +37 -0
- package/FocusScope-BR0SJ-cZ.js +512 -0
- package/Form-DXLoQL91.js +240 -0
- package/Grid.css +1 -0
- package/Grid.module-Ia0e9Dix.js +36 -0
- package/Group-DPMuN3h8.js +44 -0
- package/Hidden-BQWDvze4.js +37 -0
- package/InfoBanner.css +1 -0
- package/Label-C18A_4Z5.js +69 -0
- package/Layout.css +1 -0
- package/Link-BU1h3K2a.js +77 -0
- package/Link.css +1 -0
- package/LinkButton.css +1 -0
- package/ListBox-D21tdwTs.js +463 -0
- package/ListKeyboardDelegate-DxMjfMsI.js +172 -0
- package/Logo.css +1 -0
- package/Modal.css +1 -0
- package/MultiSelect.css +1 -0
- package/PressResponder-DP8ZDNGy.js +31 -0
- package/README.md +7 -0
- package/RSPContexts-EOiWkKOf.js +11 -0
- package/Radio.css +1 -0
- package/SearchField.css +1 -0
- package/Select.css +1 -0
- package/SelectionManager-D4WtKtey.js +988 -0
- package/Separator-DLUHK9vv.js +48 -0
- package/Spinner.css +1 -0
- package/Table.css +1 -0
- package/Tabs.css +1 -0
- package/Tag-CEd6WWSc.js +725 -0
- package/Tag.css +1 -0
- package/Text-DGLaY3HR.js +17 -0
- package/TextArea.css +1 -0
- package/TextField-C_hq9WeT.js +226 -0
- package/TextField.css +1 -0
- package/TextField.module-Cwq1FAm7.js +141 -0
- package/Toast.css +1 -0
- package/VisuallyHidden-B_XzVvlX.js +39 -0
- package/accordion/Accordion.d.ts +13 -0
- package/accordion/AccordionContent.d.ts +3 -0
- package/accordion/AccordionItem.d.ts +3 -0
- package/accordion/AccordionTagContext.d.ts +3 -0
- package/accordion/AccordionTrigger.d.ts +3 -0
- package/accordion/index.d.ts +5 -0
- package/breadcrumbs/Breadcrumbs.d.ts +9 -0
- package/breadcrumbs/index.d.ts +1 -0
- package/button/Button.d.ts +41 -0
- package/button/ButtonGroup.d.ts +12 -0
- package/button/index.d.ts +2 -0
- package/card/Card.d.ts +34 -0
- package/card/index.d.ts +1 -0
- package/checkbox/Checkbox.d.ts +2 -0
- package/checkbox/CheckboxGroup.d.ts +10 -0
- package/checkbox/index.d.ts +2 -0
- package/chevron-down-Cd1bkzXT.js +13 -0
- package/chevron-right-DBMc9VMi.js +23 -0
- package/clsx-OuTLNxxd.js +16 -0
- package/combobox/ComboBox.d.ts +12 -0
- package/combobox/index.d.ts +1 -0
- package/context-ScOIq_Gu.js +80 -0
- package/createLucideIcon-DeWljiyi.js +79 -0
- package/date-picker/DatePicker.d.ts +14 -0
- package/date-picker/index.d.ts +2 -0
- package/dropdown/Dropdown.d.ts +8 -0
- package/dropdown/index.d.ts +1 -0
- package/file-upload/FileUpload.d.ts +11 -0
- package/file-upload/index.d.ts +1 -0
- package/flex/Flex.d.ts +17 -0
- package/flex/FlexItem.d.ts +15 -0
- package/flex/index.d.ts +2 -0
- package/grid/Grid.d.ts +16 -0
- package/grid/GridItem.d.ts +7 -0
- package/grid/index.d.ts +2 -0
- package/index-CEg5vZQH.js +132 -0
- package/index-CgfokhRq.js +674 -0
- package/index-CorR1LBD.js +3122 -0
- package/index-Dl1Q-tbj.js +26984 -0
- package/index.css +1 -0
- package/index.d.ts +29 -0
- package/index.js +114 -0
- package/index10.js +4 -0
- package/index11.js +5 -0
- package/index12.js +4 -0
- package/index13.js +4 -0
- package/index14.js +4 -0
- package/index15.js +6 -0
- package/index16.js +6 -0
- package/index17.js +6 -0
- package/index18.js +4 -0
- package/index19.js +6 -0
- package/index2.js +8 -0
- package/index20.js +6 -0
- package/index21.js +4 -0
- package/index22.js +5 -0
- package/index23.js +5 -0
- package/index24.js +5 -0
- package/index25.js +6 -0
- package/index26.js +6 -0
- package/index27.js +6 -0
- package/index28.js +4 -0
- package/index29.js +12 -0
- package/index3.js +8 -0
- package/index30.js +20 -0
- package/index31.js +22 -0
- package/index32.js +14 -0
- package/index33.js +11 -0
- package/index34.js +31 -0
- package/index35.js +8 -0
- package/index36.js +9 -0
- package/index37.js +19 -0
- package/index38.js +9 -0
- package/index39.js +9 -0
- package/index4.js +4 -0
- package/index40.js +16 -0
- package/index41.js +16 -0
- package/index42.js +31 -0
- package/index43.js +16 -0
- package/index44.js +6 -0
- package/index45.js +53 -0
- package/index46.js +18 -0
- package/index47.js +27 -0
- package/index48.js +18 -0
- package/index49.js +21 -0
- package/index5.js +5 -0
- package/index50.js +49 -0
- package/index51.js +5 -0
- package/index52.js +25 -0
- package/index53.js +18 -0
- package/index54.js +9 -0
- package/index55.js +25 -0
- package/index56.js +18 -0
- package/index57.js +11 -0
- package/index58.js +12 -0
- package/index59.js +15 -0
- package/index6.js +4 -0
- package/index60.js +9 -0
- package/index61.js +9 -0
- package/index62.js +19 -0
- package/index63.js +22 -0
- package/index64.js +61 -0
- package/index65.js +15 -0
- package/index66.js +11 -0
- package/index67.js +63 -0
- package/index68.js +85 -0
- package/index69.js +74 -0
- package/index7.js +9 -0
- package/index70.js +24 -0
- package/index71.js +69 -0
- package/index72.js +80 -0
- package/index73.js +140 -0
- package/index74.js +70 -0
- package/index75.js +42 -0
- package/index76.js +82 -0
- package/index77.js +71 -0
- package/index78.js +104 -0
- package/index79.js +274 -0
- package/index8.js +4 -0
- package/index80.js +724 -0
- package/index81.js +491 -0
- package/index82.js +317 -0
- package/index83.js +391 -0
- package/index84.js +254 -0
- package/index85.js +1364 -0
- package/index86.js +1009 -0
- package/index87.js +388 -0
- package/index88.js +2105 -0
- package/index89.js +2371 -0
- package/index9.js +5 -0
- package/index90.js +6834 -0
- package/index91.js +17 -0
- package/index92.js +14 -0
- package/index93.js +6 -0
- package/index94.js +9 -0
- package/info-banner/InfoBanner.d.ts +21 -0
- package/info-banner/index.d.ts +1 -0
- package/intlStrings-Cd44R5hT.js +278 -0
- package/layout/Layout.d.ts +51 -0
- package/layout/index.d.ts +1 -0
- package/link/Link.d.ts +13 -0
- package/link/index.d.ts +1 -0
- package/link-button/LinkButton.d.ts +18 -0
- package/link-button/index.d.ts +1 -0
- package/logo/Logo.d.ts +16 -0
- package/logo/index.d.ts +1 -0
- package/modal/Modal.d.ts +13 -0
- package/modal/index.d.ts +1 -0
- package/multi-select/MultiSelect.d.ts +28 -0
- package/multi-select/index.d.ts +1 -0
- package/package.json +29 -0
- package/radio/Radio.d.ts +20 -0
- package/radio/index.d.ts +1 -0
- package/react.esm-D8HpDGKP.js +11060 -0
- package/search-field/SearchField.d.ts +13 -0
- package/search-field/index.d.ts +1 -0
- package/select/Select.d.ts +11 -0
- package/select/index.d.ts +1 -0
- package/spinner/Spinner.d.ts +11 -0
- package/spinner/index.d.ts +1 -0
- package/table/Table.d.ts +12 -0
- package/table/index.d.ts +1 -0
- package/tabs/Tabs.d.ts +12 -0
- package/tabs/index.d.ts +1 -0
- package/tag/Tag.d.ts +11 -0
- package/tag/index.d.ts +1 -0
- package/textarea/TextArea.d.ts +20 -0
- package/textarea/index.d.ts +1 -0
- package/textfield/TextField.d.ts +16 -0
- package/textfield/index.d.ts +3 -0
- package/theme/index.d.ts +138 -0
- package/theme/tokens.d.ts +135 -0
- package/toast/Toast.d.ts +25 -0
- package/toast/index.d.ts +1 -0
- package/tokens-CjXmpXTi.js +160 -0
- package/triangle-alert-1OYl9KWz.js +56 -0
- package/useControlledState-S_TYcV_c.js +45 -0
- package/useDescription-D4_zk_sA.js +32 -0
- package/useFilter-BnJDBCkt.js +35 -0
- package/useFocusRing-D97-G3fT.js +1324 -0
- package/useFocusable-C-N9wcwm.js +56 -0
- package/useGridSelectionCheckbox-i1rsjlC-.js +22 -0
- package/useHasTabbableChild-DeuCnGGv.js +34 -0
- package/useHighlightSelectionDescription-JVx2MW_e.js +552 -0
- package/useListState-DSOTbsL3.js +119 -0
- package/useLocalizedStringFormatter-DVCAZqcL.js +96 -0
- package/useSingleSelectListState-CmX9_L5H.js +34 -0
- package/useUpdateEffect-Dtz-i14F.js +12 -0
- package/x-JK7i-TQC.js +14 -0
package/index84.js
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { $ as W, a as Z, c as q, d as Q } from "./Collection-B3xUVWPF.js";
|
|
3
|
+
import { n, u as X, d as Y, a as ee } from "./useFocusRing-D97-G3fT.js";
|
|
4
|
+
import { a as re } from "./Link-BU1h3K2a.js";
|
|
5
|
+
import s, { forwardRef as ae, createContext as ue, useContext as te } from "react";
|
|
6
|
+
import { $ as ce } from "./useLocalizedStringFormatter-DVCAZqcL.js";
|
|
7
|
+
import { Link as se } from "./index77.js";
|
|
8
|
+
import './Breadcrumbs.css';var f = {};
|
|
9
|
+
f = {
|
|
10
|
+
breadcrumbs: "عناصر الواجهة"
|
|
11
|
+
};
|
|
12
|
+
var i = {};
|
|
13
|
+
i = {
|
|
14
|
+
breadcrumbs: "Трохи хляб"
|
|
15
|
+
};
|
|
16
|
+
var l = {};
|
|
17
|
+
l = {
|
|
18
|
+
breadcrumbs: "Popis cesty"
|
|
19
|
+
};
|
|
20
|
+
var m = {};
|
|
21
|
+
m = {
|
|
22
|
+
breadcrumbs: "Brødkrummer"
|
|
23
|
+
};
|
|
24
|
+
var p = {};
|
|
25
|
+
p = {
|
|
26
|
+
breadcrumbs: "Breadcrumbs"
|
|
27
|
+
};
|
|
28
|
+
var x = {};
|
|
29
|
+
x = {
|
|
30
|
+
breadcrumbs: "Πλοηγήσεις breadcrumb"
|
|
31
|
+
};
|
|
32
|
+
var v = {};
|
|
33
|
+
v = {
|
|
34
|
+
breadcrumbs: "Breadcrumbs"
|
|
35
|
+
};
|
|
36
|
+
var D = {};
|
|
37
|
+
D = {
|
|
38
|
+
breadcrumbs: "Migas de pan"
|
|
39
|
+
};
|
|
40
|
+
var C = {};
|
|
41
|
+
C = {
|
|
42
|
+
breadcrumbs: "Lingiread"
|
|
43
|
+
};
|
|
44
|
+
var B = {};
|
|
45
|
+
B = {
|
|
46
|
+
breadcrumbs: "Navigointilinkit"
|
|
47
|
+
};
|
|
48
|
+
var k = {};
|
|
49
|
+
k = {
|
|
50
|
+
breadcrumbs: "Chemin de navigation"
|
|
51
|
+
};
|
|
52
|
+
var E = {};
|
|
53
|
+
E = {
|
|
54
|
+
breadcrumbs: "שבילי ניווט"
|
|
55
|
+
};
|
|
56
|
+
var h = {};
|
|
57
|
+
h = {
|
|
58
|
+
breadcrumbs: "Navigacijski putovi"
|
|
59
|
+
};
|
|
60
|
+
var g = {};
|
|
61
|
+
g = {
|
|
62
|
+
breadcrumbs: "Morzsamenü"
|
|
63
|
+
};
|
|
64
|
+
var P = {};
|
|
65
|
+
P = {
|
|
66
|
+
breadcrumbs: "Breadcrumb"
|
|
67
|
+
};
|
|
68
|
+
var y = {};
|
|
69
|
+
y = {
|
|
70
|
+
breadcrumbs: "パンくずリスト"
|
|
71
|
+
};
|
|
72
|
+
var N = {};
|
|
73
|
+
N = {
|
|
74
|
+
breadcrumbs: "탐색 표시"
|
|
75
|
+
};
|
|
76
|
+
var R = {};
|
|
77
|
+
R = {
|
|
78
|
+
breadcrumbs: "Naršymo kelias"
|
|
79
|
+
};
|
|
80
|
+
var A = {};
|
|
81
|
+
A = {
|
|
82
|
+
breadcrumbs: "Atpakaļceļi"
|
|
83
|
+
};
|
|
84
|
+
var L = {};
|
|
85
|
+
L = {
|
|
86
|
+
breadcrumbs: "Navigasjonsstier"
|
|
87
|
+
};
|
|
88
|
+
var F = {};
|
|
89
|
+
F = {
|
|
90
|
+
breadcrumbs: "Broodkruimels"
|
|
91
|
+
};
|
|
92
|
+
var _ = {};
|
|
93
|
+
_ = {
|
|
94
|
+
breadcrumbs: "Struktura nawigacyjna"
|
|
95
|
+
};
|
|
96
|
+
var j = {};
|
|
97
|
+
j = {
|
|
98
|
+
breadcrumbs: "Caminho detalhado"
|
|
99
|
+
};
|
|
100
|
+
var S = {};
|
|
101
|
+
S = {
|
|
102
|
+
breadcrumbs: "Categorias"
|
|
103
|
+
};
|
|
104
|
+
var I = {};
|
|
105
|
+
I = {
|
|
106
|
+
breadcrumbs: "Miez de pâine"
|
|
107
|
+
};
|
|
108
|
+
var T = {};
|
|
109
|
+
T = {
|
|
110
|
+
breadcrumbs: "Навигация"
|
|
111
|
+
};
|
|
112
|
+
var z = {};
|
|
113
|
+
z = {
|
|
114
|
+
breadcrumbs: "Navigačné prvky Breadcrumbs"
|
|
115
|
+
};
|
|
116
|
+
var K = {};
|
|
117
|
+
K = {
|
|
118
|
+
breadcrumbs: "Drobtine"
|
|
119
|
+
};
|
|
120
|
+
var M = {};
|
|
121
|
+
M = {
|
|
122
|
+
breadcrumbs: "Putanje navigacije"
|
|
123
|
+
};
|
|
124
|
+
var U = {};
|
|
125
|
+
U = {
|
|
126
|
+
breadcrumbs: "Sökvägar"
|
|
127
|
+
};
|
|
128
|
+
var w = {};
|
|
129
|
+
w = {
|
|
130
|
+
breadcrumbs: "İçerik haritaları"
|
|
131
|
+
};
|
|
132
|
+
var G = {};
|
|
133
|
+
G = {
|
|
134
|
+
breadcrumbs: "Навігаційна стежка"
|
|
135
|
+
};
|
|
136
|
+
var H = {};
|
|
137
|
+
H = {
|
|
138
|
+
breadcrumbs: "导航栏"
|
|
139
|
+
};
|
|
140
|
+
var O = {};
|
|
141
|
+
O = {
|
|
142
|
+
breadcrumbs: "導覽列"
|
|
143
|
+
};
|
|
144
|
+
var J = {};
|
|
145
|
+
J = {
|
|
146
|
+
"ar-AE": f,
|
|
147
|
+
"bg-BG": i,
|
|
148
|
+
"cs-CZ": l,
|
|
149
|
+
"da-DK": m,
|
|
150
|
+
"de-DE": p,
|
|
151
|
+
"el-GR": x,
|
|
152
|
+
"en-US": v,
|
|
153
|
+
"es-ES": D,
|
|
154
|
+
"et-EE": C,
|
|
155
|
+
"fi-FI": B,
|
|
156
|
+
"fr-FR": k,
|
|
157
|
+
"he-IL": E,
|
|
158
|
+
"hr-HR": h,
|
|
159
|
+
"hu-HU": g,
|
|
160
|
+
"it-IT": P,
|
|
161
|
+
"ja-JP": y,
|
|
162
|
+
"ko-KR": N,
|
|
163
|
+
"lt-LT": R,
|
|
164
|
+
"lv-LV": A,
|
|
165
|
+
"nb-NO": L,
|
|
166
|
+
"nl-NL": F,
|
|
167
|
+
"pl-PL": _,
|
|
168
|
+
"pt-BR": j,
|
|
169
|
+
"pt-PT": S,
|
|
170
|
+
"ro-RO": I,
|
|
171
|
+
"ru-RU": T,
|
|
172
|
+
"sk-SK": z,
|
|
173
|
+
"sl-SI": K,
|
|
174
|
+
"sr-SP": M,
|
|
175
|
+
"sv-SE": U,
|
|
176
|
+
"tr-TR": w,
|
|
177
|
+
"uk-UA": G,
|
|
178
|
+
"zh-CN": H,
|
|
179
|
+
"zh-TW": O
|
|
180
|
+
};
|
|
181
|
+
function de(e) {
|
|
182
|
+
return e && e.__esModule ? e.default : e;
|
|
183
|
+
}
|
|
184
|
+
function be(e) {
|
|
185
|
+
let { "aria-label": r, ...t } = e, a = ce(de(J), "@react-aria/breadcrumbs");
|
|
186
|
+
return {
|
|
187
|
+
navProps: {
|
|
188
|
+
...n(t, {
|
|
189
|
+
labelable: !0
|
|
190
|
+
}),
|
|
191
|
+
"aria-label": r || a.format("breadcrumbs")
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
const o = /* @__PURE__ */ ue(null);
|
|
196
|
+
function oe(e, r) {
|
|
197
|
+
[e, r] = ee(e, r, o);
|
|
198
|
+
let { CollectionRoot: t } = te(Z), { navProps: a } = be(e);
|
|
199
|
+
return /* @__PURE__ */ s.createElement(q, {
|
|
200
|
+
content: /* @__PURE__ */ s.createElement(Q, e)
|
|
201
|
+
}, (u) => {
|
|
202
|
+
var c;
|
|
203
|
+
return /* @__PURE__ */ s.createElement("ol", {
|
|
204
|
+
ref: r,
|
|
205
|
+
...a,
|
|
206
|
+
slot: e.slot || void 0,
|
|
207
|
+
style: e.style,
|
|
208
|
+
className: (c = e.className) !== null && c !== void 0 ? c : "react-aria-Breadcrumbs"
|
|
209
|
+
}, /* @__PURE__ */ s.createElement(o.Provider, {
|
|
210
|
+
value: e
|
|
211
|
+
}, /* @__PURE__ */ s.createElement(t, {
|
|
212
|
+
collection: u
|
|
213
|
+
})));
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
const $e = /* @__PURE__ */ ae(oe), ne = /* @__PURE__ */ W("item", function(r, t, a) {
|
|
217
|
+
let u = a.nextKey == null, { isDisabled: c, onAction: d } = X(o), V = {
|
|
218
|
+
"aria-current": u ? "page" : null,
|
|
219
|
+
isDisabled: c || u,
|
|
220
|
+
onPress: () => d == null ? void 0 : d(a.key)
|
|
221
|
+
}, $ = Y({
|
|
222
|
+
...a.props,
|
|
223
|
+
children: a.rendered,
|
|
224
|
+
values: {
|
|
225
|
+
isDisabled: c || u,
|
|
226
|
+
isCurrent: u
|
|
227
|
+
},
|
|
228
|
+
defaultClassName: "react-aria-Breadcrumb"
|
|
229
|
+
});
|
|
230
|
+
return /* @__PURE__ */ s.createElement("li", {
|
|
231
|
+
...n(r),
|
|
232
|
+
...$,
|
|
233
|
+
ref: t,
|
|
234
|
+
"data-disabled": c || u || void 0,
|
|
235
|
+
"data-current": u || void 0
|
|
236
|
+
}, /* @__PURE__ */ s.createElement(re.Provider, {
|
|
237
|
+
value: V
|
|
238
|
+
}, $.children));
|
|
239
|
+
}), fe = '"../theme/tokens.css"', ie = '"Inter", sans-serif', le = "#1f1f1f", me = "_container_k9jic_4", pe = {
|
|
240
|
+
tokens: fe,
|
|
241
|
+
display: ie,
|
|
242
|
+
gray150: le,
|
|
243
|
+
container: me
|
|
244
|
+
}, he = ({ items: e }) => /* @__PURE__ */ b($e, { className: pe.container, children: e.map((r, t) => /* @__PURE__ */ b(ne, { children: /* @__PURE__ */ b(
|
|
245
|
+
se,
|
|
246
|
+
{
|
|
247
|
+
href: r.href,
|
|
248
|
+
isDisabled: r.isDisabled,
|
|
249
|
+
children: r.title
|
|
250
|
+
}
|
|
251
|
+
) }, r.title.toLocaleLowerCase() + t)) });
|
|
252
|
+
export {
|
|
253
|
+
he as Breadcrumbs
|
|
254
|
+
};
|