@ogcio/design-system-react 1.28.0 → 1.30.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/README.md +11 -33
- package/dist/alert/variants.d.ts +78 -2
- package/dist/assets/logos/LogoBlack.d.ts +3 -0
- package/dist/assets/logos/LogoBlack.js +322 -0
- package/dist/assets/logos/LogoGoldGreen.d.ts +3 -0
- package/dist/assets/logos/LogoGoldGreen.js +322 -0
- package/dist/assets/logos/LogoGoldWhite.d.ts +3 -0
- package/dist/assets/logos/LogoGoldWhite.js +82 -0
- package/dist/assets/logos/LogoHarpBlack.d.ts +3 -0
- package/dist/assets/logos/{harp/harp-white.js → LogoHarpBlack.js} +24 -21
- package/dist/assets/logos/LogoHarpWhite.d.ts +3 -0
- package/dist/assets/logos/LogoHarpWhite.js +60 -0
- package/dist/assets/logos/LogoWhite.d.ts +3 -0
- package/dist/assets/logos/LogoWhite.js +322 -0
- package/dist/assets/logos/index.d.ts +6 -0
- package/dist/assets/logos/index.js +14 -0
- package/dist/atoms/DsButton.d.ts +194 -0
- package/dist/atoms/DsButton.js +329 -0
- package/dist/atoms/icons/Close.d.ts +3 -0
- package/dist/atoms/icons/Close.js +22 -0
- package/dist/atoms/icons/KeyboardArrowDown.d.ts +3 -0
- package/dist/atoms/icons/KeyboardArrowDown.js +22 -0
- package/dist/atoms/icons/KeyboardArrowUp.d.ts +3 -0
- package/dist/atoms/icons/KeyboardArrowUp.js +22 -0
- package/dist/atoms/icons/Visibility.d.ts +3 -0
- package/dist/atoms/icons/Visibility.js +22 -0
- package/dist/atoms/icons/VisibilityOff.d.ts +3 -0
- package/dist/atoms/icons/VisibilityOff.js +22 -0
- package/dist/atoms/icons/index.d.ts +6 -0
- package/dist/atoms/icons/index.js +12 -0
- package/dist/atoms/icons/types.d.ts +10 -0
- package/dist/atoms/icons/types.js +1 -0
- package/dist/atoms/index.d.ts +2 -0
- package/dist/atoms/index.js +14 -0
- package/dist/autocomplete/autocomplete.js +131 -115
- package/dist/combo-box/dropdown-item.js +39 -40
- package/dist/data-table/data-table-footer.js +57 -51
- package/dist/data-table/data-table-header.d.ts +7 -7
- package/dist/data-table/data-table-header.js +97 -110
- package/dist/data-table/data-table-selected-rows.d.ts +1 -0
- package/dist/data-table/data-table-selected-rows.js +15 -19
- package/dist/footer/footer.js +9 -9
- package/dist/forms/form-field/form-field.d.ts +2 -2
- package/dist/forms/form-field/form-field.js +40 -30
- package/dist/forms/form-field/types.d.ts +10 -3
- package/dist/header/components/header-slot.js +33 -32
- package/dist/header/header-legacy.js +41 -41
- package/dist/header/variants.d.ts +220 -20
- package/dist/heading/heading.d.ts +70 -2
- package/dist/hooks/use-breakpoint.js +15 -12
- package/dist/icon/icon.d.ts +10 -0
- package/dist/icon/icon.js +64 -52
- package/dist/icon/icons.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +174 -171
- package/dist/input-password/input-password.js +13 -12
- package/dist/input-text/input-text.js +18 -16
- package/dist/label/label.d.ts +43 -0
- package/dist/label/label.js +7 -6
- package/dist/modal/modal.js +8 -7
- package/dist/spinner/spinner.d.ts +30 -2
- package/dist/styles.css +12 -2
- package/dist/table/table.d.ts +22 -2
- package/dist/tabs/tab-item.d.ts +2 -2
- package/dist/text-input/text-input.d.ts +1 -1
- package/dist/textarea/textarea.js +27 -28
- package/dist/toast/ds-toast.d.ts +78 -2
- package/dist/utils/placeholder.d.ts +2 -0
- package/dist/utils/placeholder.js +24 -0
- package/fonts.css +10 -0
- package/package.json +21 -8
- package/dist/assets/logos/gov-of-ireland/harp-black.d.ts +0 -2
- package/dist/assets/logos/gov-of-ireland/harp-black.js +0 -322
- package/dist/assets/logos/gov-of-ireland/harp-gold-text-green.d.ts +0 -2
- package/dist/assets/logos/gov-of-ireland/harp-gold-text-green.js +0 -322
- package/dist/assets/logos/gov-of-ireland/harp-white.d.ts +0 -2
- package/dist/assets/logos/gov-of-ireland/harp-white.js +0 -322
- package/dist/assets/logos/harp/harp-black.d.ts +0 -2
- package/dist/assets/logos/harp/harp-black.js +0 -63
- package/dist/assets/logos/harp/harp-white.d.ts +0 -2
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as s } from "react";
|
|
4
|
+
import { c } from "../index-CB-zPpNk.js";
|
|
5
|
+
const r = {
|
|
6
|
+
PRIMARY: "primary",
|
|
7
|
+
SECONDARY: "secondary",
|
|
8
|
+
FLAT: "flat"
|
|
9
|
+
}, i = {
|
|
10
|
+
DEFAULT: "default",
|
|
11
|
+
DARK: "dark",
|
|
12
|
+
LIGHT: "light"
|
|
13
|
+
}, o = {
|
|
14
|
+
SMALL: "small",
|
|
15
|
+
MEDIUM: "medium",
|
|
16
|
+
LARGE: "large"
|
|
17
|
+
}, g = c({
|
|
18
|
+
base: [
|
|
19
|
+
"gi-border-solid",
|
|
20
|
+
"gi-border-sm",
|
|
21
|
+
"gi-gap-2",
|
|
22
|
+
"gi-flex",
|
|
23
|
+
"gi-rounded-sm",
|
|
24
|
+
"gi-items-center",
|
|
25
|
+
//disabled
|
|
26
|
+
"disabled:gi-cursor-not-allowed",
|
|
27
|
+
"disabled:gi-pointer-events-none",
|
|
28
|
+
// focus
|
|
29
|
+
"focus:gi-outline",
|
|
30
|
+
"focus:gi-outline-sm",
|
|
31
|
+
"focus:gi-outline-color-shadow-intent-focus-default",
|
|
32
|
+
"focus:gi-outline-offset-0",
|
|
33
|
+
"focus:gi-border-solid",
|
|
34
|
+
"focus:gi-border-color-border-intent-focus-default",
|
|
35
|
+
"focus:gi-border-sm",
|
|
36
|
+
"focus:gi-rounded-sm"
|
|
37
|
+
],
|
|
38
|
+
variants: {
|
|
39
|
+
variant: {
|
|
40
|
+
primary: [
|
|
41
|
+
"gi-border-transparent",
|
|
42
|
+
"focus:gi-shadow-color-border-intent-focus-light",
|
|
43
|
+
"focus:gi-shadow-[inset_0_0_0_2px]"
|
|
44
|
+
],
|
|
45
|
+
secondary: [],
|
|
46
|
+
flat: ["gi-border-base-transparent"]
|
|
47
|
+
},
|
|
48
|
+
appearance: {
|
|
49
|
+
default: "",
|
|
50
|
+
light: "",
|
|
51
|
+
dark: ""
|
|
52
|
+
},
|
|
53
|
+
size: {
|
|
54
|
+
small: "gi-h-8 gi-px-2 gi-py-1.5 gi-text-xs",
|
|
55
|
+
medium: "gi-h-10 gi-px-3 gi-py-2 gi-text-sm",
|
|
56
|
+
large: "gi-h-12 gi-px-4 gi-py-3 gi-text-2md"
|
|
57
|
+
},
|
|
58
|
+
disabled: {
|
|
59
|
+
true: "",
|
|
60
|
+
false: ""
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
compoundVariants: [
|
|
64
|
+
{
|
|
65
|
+
variant: "primary",
|
|
66
|
+
appearance: "default",
|
|
67
|
+
disabled: !1,
|
|
68
|
+
class: [
|
|
69
|
+
"gi-text-color-text-tone-primary-fill-default",
|
|
70
|
+
"gi-bg-color-surface-tone-primary-fill-default",
|
|
71
|
+
"gi-stroke-color-text-tone-primary-fill-default",
|
|
72
|
+
"hover:gi-bg-color-surface-tone-primary-fill-hover",
|
|
73
|
+
"focus:gi-bg-color-surface-tone-primary-fill-hover"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
variant: "primary",
|
|
78
|
+
appearance: "light",
|
|
79
|
+
disabled: !1,
|
|
80
|
+
class: [
|
|
81
|
+
"gi-text-color-text-tone-light-fill-default",
|
|
82
|
+
"gi-stroke-color-text-tone-light-fill-default",
|
|
83
|
+
"gi-bg-color-surface-tone-light-fill-default",
|
|
84
|
+
"hover:gi-bg-color-surface-tone-light-fill-hover",
|
|
85
|
+
"focus:gi-bg-color-surface-tone-light-fill-hover"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
variant: "primary",
|
|
90
|
+
appearance: "dark",
|
|
91
|
+
disabled: !1,
|
|
92
|
+
class: [
|
|
93
|
+
"gi-text-color-text-tone-dark-fill-default",
|
|
94
|
+
"gi-stroke-color-text-tone-dark-fill-default",
|
|
95
|
+
"gi-bg-color-surface-tone-dark-fill-default",
|
|
96
|
+
"hover:gi-bg-color-surface-tone-dark-fill-hover",
|
|
97
|
+
"focus:gi-bg-color-surface-tone-dark-fill-hover"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
variant: "primary",
|
|
102
|
+
appearance: "default",
|
|
103
|
+
disabled: !0,
|
|
104
|
+
class: [
|
|
105
|
+
"gi-bg-color-surface-tone-primary-fill-disabled",
|
|
106
|
+
"gi-text-color-text-tone-primary-fill-disabled",
|
|
107
|
+
"gi-stroke-color-text-tone-primary-fill-disabled"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
variant: "primary",
|
|
112
|
+
appearance: "light",
|
|
113
|
+
disabled: !0,
|
|
114
|
+
class: [
|
|
115
|
+
"gi-bg-color-surface-tone-light-fill-disabled",
|
|
116
|
+
"gi-text-color-text-tone-light-fill-disabled",
|
|
117
|
+
"gi-stroke-color-text-tone-light-fill-disabled"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
variant: "primary",
|
|
122
|
+
appearance: "dark",
|
|
123
|
+
disabled: !0,
|
|
124
|
+
class: [
|
|
125
|
+
"gi-bg-color-surface-tone-dark-fill-disabled",
|
|
126
|
+
"gi-text-color-text-tone-dark-fill-disabled",
|
|
127
|
+
"gi-stroke-color-text-tone-dark-fill-disabled"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
variant: "secondary",
|
|
132
|
+
appearance: "default",
|
|
133
|
+
disabled: !1,
|
|
134
|
+
class: [
|
|
135
|
+
"gi-border-color-border-tone-primary-outline-default",
|
|
136
|
+
"gi-text-color-text-tone-primary-outline-default",
|
|
137
|
+
"gi-stroke-color-text-tone-primary-outline-default",
|
|
138
|
+
"hover:gi-bg-color-surface-tone-primary-outline-hover",
|
|
139
|
+
"focus:gi-bg-color-surface-tone-primary-outline-hover"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
variant: "secondary",
|
|
144
|
+
appearance: "light",
|
|
145
|
+
disabled: !1,
|
|
146
|
+
class: [
|
|
147
|
+
"gi-text-color-text-tone-light-outline-default",
|
|
148
|
+
"gi-stroke-color-text-tone-light-outline-default",
|
|
149
|
+
"gi-border-color-border-tone-light-outline-default",
|
|
150
|
+
"gi-bg-base-transparent",
|
|
151
|
+
"hover:gi-bg-color-surface-tone-light-outline-hover",
|
|
152
|
+
"focus:gi-bg-color-surface-tone-dark-fill-hover"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
variant: "secondary",
|
|
157
|
+
appearance: "dark",
|
|
158
|
+
disabled: !1,
|
|
159
|
+
class: [
|
|
160
|
+
"gi-border-color-border-tone-dark-outline-default",
|
|
161
|
+
"gi-bg-color-surface-tone-dark-outline-default",
|
|
162
|
+
"hover:gi-bg-color-surface-tone-dark-outline-hover",
|
|
163
|
+
"focus:gi-bg-color-surface-tone-light-fill-hover"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
variant: "secondary",
|
|
168
|
+
appearance: "default",
|
|
169
|
+
disabled: !0,
|
|
170
|
+
class: [
|
|
171
|
+
"gi-border-color-border-tone-primary-outline-disabled",
|
|
172
|
+
"gi-bg-color-surface-tone-primary-outline-disabled",
|
|
173
|
+
"gi-text-color-text-tone-primary-outline-disabled",
|
|
174
|
+
"gi-stroke-color-text-tone-primary-outline-disabled"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
variant: "secondary",
|
|
179
|
+
appearance: "light",
|
|
180
|
+
disabled: !0,
|
|
181
|
+
class: [
|
|
182
|
+
"gi-bg-color-surface-tone-light-outline-disabled",
|
|
183
|
+
"gi-border-color-border-tone-light-outline-disabled",
|
|
184
|
+
"gi-text-color-text-tone-light-outline-disabled",
|
|
185
|
+
"gi-stroke-color-text-tone-light-outline-disabled"
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
variant: "secondary",
|
|
190
|
+
appearance: "dark",
|
|
191
|
+
disabled: !0,
|
|
192
|
+
class: [
|
|
193
|
+
"gi-border-color-border-tone-dark-outline-disabled",
|
|
194
|
+
"gi-bg-color-surface-tone-dark-fill-disabled",
|
|
195
|
+
"gi-text-color-text-tone-dark-outline-disabled",
|
|
196
|
+
"gi-stroke-color-text-tone-dark-outline-disabled"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
variant: "flat",
|
|
201
|
+
appearance: "default",
|
|
202
|
+
disabled: !1,
|
|
203
|
+
class: [
|
|
204
|
+
"gi-text-color-text-tone-primary-flat-default",
|
|
205
|
+
"gi-stroke-color-text-tone-primary-flat-default",
|
|
206
|
+
"gi-bg-base-transparent",
|
|
207
|
+
"hover:gi-bg-color-surface-tone-primary-flat-hover",
|
|
208
|
+
"focus:gi-bg-color-surface-tone-primary-outline-hover"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
variant: "flat",
|
|
213
|
+
appearance: "light",
|
|
214
|
+
disabled: !1,
|
|
215
|
+
class: [
|
|
216
|
+
"gi-bg-color-surface-tone-light-flat-default",
|
|
217
|
+
"gi-text-color-text-tone-light-flat-default",
|
|
218
|
+
"gi-stroke-color-text-tone-light-flat-default",
|
|
219
|
+
"hover:gi-bg-color-surface-tone-light-flat-hover",
|
|
220
|
+
"focus:gi-bg-color-surface-tone-dark-fill-hover"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
variant: "flat",
|
|
225
|
+
appearance: "dark",
|
|
226
|
+
disabled: !1,
|
|
227
|
+
class: [
|
|
228
|
+
"gi-text-color-text-tone-dark-flat-default",
|
|
229
|
+
"gi-stroke-color-text-tone-dark-flat-default",
|
|
230
|
+
"hover:gi-bg-color-surface-tone-dark-flat-hover",
|
|
231
|
+
"focus:gi-bg-color-surface-tone-light-fill-hover"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
variant: "flat",
|
|
236
|
+
appearance: "default",
|
|
237
|
+
disabled: !0,
|
|
238
|
+
class: [
|
|
239
|
+
"gi-text-color-text-tone-primary-flat-disabled",
|
|
240
|
+
"gi-stroke-color-text-tone-primary-flat-disabled",
|
|
241
|
+
"gi-bg-color-surface-tone-primary-flat-disabled"
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
variant: "flat",
|
|
246
|
+
appearance: "light",
|
|
247
|
+
disabled: !0,
|
|
248
|
+
class: [
|
|
249
|
+
"gi-bg-color-surface-tone-light-flat-disabled",
|
|
250
|
+
"gi-text-color-text-tone-light-flat-disabled",
|
|
251
|
+
"gi-stroke-color-text-tone-light-flat-disabled"
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
variant: "flat",
|
|
256
|
+
appearance: "dark",
|
|
257
|
+
disabled: !0,
|
|
258
|
+
class: [
|
|
259
|
+
"gi-bg-color-surface-tone-dark-flat-disabled",
|
|
260
|
+
"gi-text-color-text-tone-dark-flat-disabled",
|
|
261
|
+
"gi-stroke-color-text-tone-dark-flat-disabled"
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
defaultVariants: {
|
|
266
|
+
variant: "primary",
|
|
267
|
+
appearance: "default",
|
|
268
|
+
size: "medium",
|
|
269
|
+
disabled: !1
|
|
270
|
+
}
|
|
271
|
+
}), f = (t = r.PRIMARY) => Object.values(r).includes(t) ? t : r.PRIMARY, u = (t) => t === i.LIGHT || t === i.DARK ? t : i.DEFAULT, b = (t) => t === o.SMALL || t === o.LARGE ? t : o.MEDIUM, y = s(function(e, d) {
|
|
272
|
+
return /* @__PURE__ */ n(
|
|
273
|
+
"button",
|
|
274
|
+
{
|
|
275
|
+
ref: d,
|
|
276
|
+
id: e.id,
|
|
277
|
+
className: g({
|
|
278
|
+
variant: f(e.variant),
|
|
279
|
+
appearance: u(e.appearance),
|
|
280
|
+
size: b(e.size),
|
|
281
|
+
disabled: e.disabled,
|
|
282
|
+
class: e.className
|
|
283
|
+
}),
|
|
284
|
+
disabled: e.disabled,
|
|
285
|
+
onClick: (l) => {
|
|
286
|
+
var a;
|
|
287
|
+
return (a = e.onClick) == null ? void 0 : a.call(e, l);
|
|
288
|
+
},
|
|
289
|
+
onFocus: (l) => {
|
|
290
|
+
var a;
|
|
291
|
+
return (a = e.onFocus) == null ? void 0 : a.call(e, l);
|
|
292
|
+
},
|
|
293
|
+
onBlur: (l) => {
|
|
294
|
+
var a;
|
|
295
|
+
return (a = e.onBlur) == null ? void 0 : a.call(e, l);
|
|
296
|
+
},
|
|
297
|
+
onKeyDown: (l) => {
|
|
298
|
+
var a;
|
|
299
|
+
return (a = e.onKeyDown) == null ? void 0 : a.call(e, l);
|
|
300
|
+
},
|
|
301
|
+
onKeyUp: (l) => {
|
|
302
|
+
var a;
|
|
303
|
+
return (a = e.onKeyUp) == null ? void 0 : a.call(e, l);
|
|
304
|
+
},
|
|
305
|
+
"aria-label": e.ariaLabel,
|
|
306
|
+
"aria-labelledby": e.ariaLabelledBy,
|
|
307
|
+
"aria-describedby": e.ariaDescribedBy,
|
|
308
|
+
"aria-pressed": e.ariaPressed,
|
|
309
|
+
"aria-expanded": e.ariaExpanded,
|
|
310
|
+
"aria-controls": e.ariaControls,
|
|
311
|
+
"aria-haspopup": e.ariaHasPopup,
|
|
312
|
+
"aria-busy": e.ariaBusy,
|
|
313
|
+
role: e.role,
|
|
314
|
+
type: e.type ?? "button",
|
|
315
|
+
form: e.form,
|
|
316
|
+
value: e.value,
|
|
317
|
+
tabIndex: e.tabIndex,
|
|
318
|
+
"data-testid": e.dataTestId ?? e.dataTestid,
|
|
319
|
+
children: e.children
|
|
320
|
+
}
|
|
321
|
+
);
|
|
322
|
+
});
|
|
323
|
+
export {
|
|
324
|
+
i as Appearance,
|
|
325
|
+
o as Size,
|
|
326
|
+
r as Variant,
|
|
327
|
+
y as default,
|
|
328
|
+
g as styles
|
|
329
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
function l(e) {
|
|
3
|
+
return /* @__PURE__ */ a(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
viewBox: "0 -960 960 960",
|
|
7
|
+
width: e.size ?? 24,
|
|
8
|
+
height: e.size ?? 24,
|
|
9
|
+
className: e.className,
|
|
10
|
+
id: e.id,
|
|
11
|
+
role: e.role,
|
|
12
|
+
"aria-label": e.ariaLabel,
|
|
13
|
+
"aria-hidden": e.ariaHidden ?? "true",
|
|
14
|
+
fill: e.color ?? "currentColor",
|
|
15
|
+
"data-testid": e.dataTestId ?? "close",
|
|
16
|
+
children: /* @__PURE__ */ a("path", { d: "m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" })
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
l as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
function d(a) {
|
|
3
|
+
return /* @__PURE__ */ e(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
viewBox: "0 -960 960 960",
|
|
7
|
+
width: a.size ?? 24,
|
|
8
|
+
height: a.size ?? 24,
|
|
9
|
+
className: a.className,
|
|
10
|
+
id: a.id,
|
|
11
|
+
role: a.role,
|
|
12
|
+
"aria-label": a.ariaLabel,
|
|
13
|
+
"aria-hidden": a.ariaHidden ?? "true",
|
|
14
|
+
fill: a.color ?? "currentColor",
|
|
15
|
+
"data-testid": a.dataTestId ?? "keyboard_arrow_down",
|
|
16
|
+
children: /* @__PURE__ */ e("path", { d: "M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z" })
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
function d(a) {
|
|
3
|
+
return /* @__PURE__ */ e(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
viewBox: "0 -960 960 960",
|
|
7
|
+
width: a.size ?? 24,
|
|
8
|
+
height: a.size ?? 24,
|
|
9
|
+
className: a.className,
|
|
10
|
+
id: a.id,
|
|
11
|
+
role: a.role,
|
|
12
|
+
"aria-label": a.ariaLabel,
|
|
13
|
+
"aria-hidden": a.ariaHidden ?? "true",
|
|
14
|
+
fill: a.color ?? "currentColor",
|
|
15
|
+
"data-testid": a.dataTestId ?? "keyboard_arrow_up",
|
|
16
|
+
children: /* @__PURE__ */ e("path", { d: "M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z" })
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
function e(i) {
|
|
3
|
+
return /* @__PURE__ */ t(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
viewBox: "0 -960 960 960",
|
|
7
|
+
width: i.size ?? 24,
|
|
8
|
+
height: i.size ?? 24,
|
|
9
|
+
className: i.className,
|
|
10
|
+
id: i.id,
|
|
11
|
+
role: i.role,
|
|
12
|
+
"aria-label": i.ariaLabel,
|
|
13
|
+
"aria-hidden": i.ariaHidden ?? "true",
|
|
14
|
+
fill: i.color ?? "currentColor",
|
|
15
|
+
"data-testid": i.dataTestId ?? "visibility",
|
|
16
|
+
children: /* @__PURE__ */ t("path", { d: "M607.5-372.5Q660-425 660-500t-52.5-127.5Q555-680 480-680t-127.5 52.5Q300-575 300-500t52.5 127.5Q405-320 480-320t127.5-52.5Zm-204-51Q372-455 372-500t31.5-76.5Q435-608 480-608t76.5 31.5Q588-545 588-500t-31.5 76.5Q525-392 480-392t-76.5-31.5ZM214-281.5Q94-363 40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200q-146 0-266-81.5ZM480-500Zm207.5 160.5Q782-399 832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280q113 0 207.5-59.5Z" })
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
e as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
function e(t) {
|
|
3
|
+
return /* @__PURE__ */ i(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
viewBox: "0 -960 960 960",
|
|
7
|
+
width: t.size ?? 24,
|
|
8
|
+
height: t.size ?? 24,
|
|
9
|
+
className: t.className,
|
|
10
|
+
id: t.id,
|
|
11
|
+
"data-testid": t.dataTestId,
|
|
12
|
+
role: t.role,
|
|
13
|
+
"aria-label": t.ariaLabel,
|
|
14
|
+
"aria-hidden": t.ariaHidden ?? "true",
|
|
15
|
+
fill: t.color ?? "currentColor",
|
|
16
|
+
children: /* @__PURE__ */ i("path", { d: "m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z" })
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
e as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as KeyboardArrowDown } from './KeyboardArrowDown';
|
|
2
|
+
export { default as KeyboardArrowUp } from './KeyboardArrowUp';
|
|
3
|
+
export { default as Close } from './Close';
|
|
4
|
+
export { default as Visibility } from './Visibility';
|
|
5
|
+
export { default as VisibilityOff } from './VisibilityOff';
|
|
6
|
+
export * from './types';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as e } from "./KeyboardArrowDown.js";
|
|
2
|
+
import { default as f } from "./KeyboardArrowUp.js";
|
|
3
|
+
import { default as i } from "./Close.js";
|
|
4
|
+
import { default as s } from "./Visibility.js";
|
|
5
|
+
import { default as p } from "./VisibilityOff.js";
|
|
6
|
+
export {
|
|
7
|
+
i as Close,
|
|
8
|
+
e as KeyboardArrowDown,
|
|
9
|
+
f as KeyboardArrowUp,
|
|
10
|
+
s as Visibility,
|
|
11
|
+
p as VisibilityOff
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as t } from "./DsButton.js";
|
|
2
|
+
import { default as a } from "./icons/KeyboardArrowDown.js";
|
|
3
|
+
import { default as s } from "./icons/KeyboardArrowUp.js";
|
|
4
|
+
import { default as d } from "./icons/Close.js";
|
|
5
|
+
import { default as p } from "./icons/Visibility.js";
|
|
6
|
+
import { default as m } from "./icons/VisibilityOff.js";
|
|
7
|
+
export {
|
|
8
|
+
d as Close,
|
|
9
|
+
t as DsButton,
|
|
10
|
+
a as KeyboardArrowDown,
|
|
11
|
+
s as KeyboardArrowUp,
|
|
12
|
+
p as Visibility,
|
|
13
|
+
m as VisibilityOff
|
|
14
|
+
};
|