@fluidattacks/design 9.1.1 → 9.2.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/components/inputs/fields/combobox/field/index.js +158 -156
- package/dist/components/inputs/fields/combobox/option/index.d.ts +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +85 -81
- package/dist/components/inputs/fields/combobox/types.d.ts +2 -0
- package/dist/components/stepper/index.d.ts +4 -0
- package/dist/components/stepper/index.js +50 -0
- package/dist/components/stepper/index.stories.d.ts +6 -0
- package/dist/components/stepper/index.test.d.ts +1 -0
- package/dist/components/stepper/styles.d.ts +10 -0
- package/dist/components/stepper/styles.js +65 -0
- package/dist/components/stepper/types.d.ts +25 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +128 -126
- package/dist/utils/open-url.test.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './assets/styles/global.css';/* empty css */
|
|
2
2
|
import { variantBuilder as t } from "./components/@core/variants/utils.js";
|
|
3
|
-
import { hiddenProps as
|
|
3
|
+
import { hiddenProps as m } from "./components/@core/constants.js";
|
|
4
4
|
import { BaseButtonComponent as x, BaseComponent as a, BaseSpanComponent as n, BaseTextComponent as i } from "./components/@core/styles.js";
|
|
5
5
|
import { getStyledConfig as l, setBorder as u, setDisplay as d, setInteraction as C, setMargin as g, setPadding as c, setPosition as S, setText as T } from "./components/@core/utils.js";
|
|
6
6
|
import { Accordion as b } from "./components/accordion/index.js";
|
|
@@ -22,7 +22,7 @@ import { Checkbox as Y } from "./components/checkbox/index.js";
|
|
|
22
22
|
import { CircularProgress as $ } from "./components/circular-progress/index.js";
|
|
23
23
|
import { CloudImage as or } from "./components/cloud-image/index.js";
|
|
24
24
|
import { CodeSnippet as tr } from "./components/code-snippet/index.js";
|
|
25
|
-
import { CollapsibleCard as
|
|
25
|
+
import { CollapsibleCard as mr } from "./components/collapsible-card/index.js";
|
|
26
26
|
import { CustomThemeProvider as xr, icons as ar, theme as nr } from "./components/colors/index.js";
|
|
27
27
|
import { ComparisonTable as sr } from "./components/comparison-table/index.js";
|
|
28
28
|
import { useConditionsDialog as ur } from "./components/conditions-dialog/index.js";
|
|
@@ -48,7 +48,7 @@ import { InputDateRange as Yr } from "./components/inputs/fields/date-range/inde
|
|
|
48
48
|
import { InputDateTime as $r } from "./components/inputs/fields/date-time/index.js";
|
|
49
49
|
import { Editable as oo } from "./components/inputs/fields/editable/index.js";
|
|
50
50
|
import { InputArray as to } from "./components/inputs/fields/input-array/index.js";
|
|
51
|
-
import { InputFile as
|
|
51
|
+
import { InputFile as mo } from "./components/inputs/fields/input-file/index.js";
|
|
52
52
|
import { InputSection as xo } from "./components/inputs/fields/input-section/index.js";
|
|
53
53
|
import { InputTags as no } from "./components/inputs/fields/input-tags/index.js";
|
|
54
54
|
import { InputNumber as so } from "./components/inputs/fields/number/index.js";
|
|
@@ -73,7 +73,7 @@ import { Lottie as Qo } from "./components/lottie/index.js";
|
|
|
73
73
|
import { Menu as Zo } from "./components/menu/index.js";
|
|
74
74
|
import { MessageBanner as re } from "./components/message-banner/index.js";
|
|
75
75
|
import { Modal as ee } from "./components/modal/index.js";
|
|
76
|
-
import { Notification as
|
|
76
|
+
import { Notification as pe } from "./components/notification/index.js";
|
|
77
77
|
import { NotificationSign as fe } from "./components/notification-sign/index.js";
|
|
78
78
|
import { OAuthSelector as ae } from "./components/oauth-selector/index.js";
|
|
79
79
|
import { OptionCard as ie } from "./components/option-card/index.js";
|
|
@@ -100,58 +100,59 @@ import { ShowOnHover as Qe } from "./components/show-on-hover/index.js";
|
|
|
100
100
|
import { SlideOutMenu as Ze } from "./components/slide-out-menu/index.js";
|
|
101
101
|
import { Slider as rt } from "./components/slider/index.js";
|
|
102
102
|
import { StepLapse as et } from "./components/step-lapse/index.js";
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
103
|
+
import { Stepper as pt } from "./components/stepper/index.js";
|
|
104
|
+
import { SummaryCard as ft } from "./components/summary-card/index.js";
|
|
105
|
+
import { Table as at } from "./components/table/index.js";
|
|
106
|
+
import { TableButton as it } from "./components/table-button/index.js";
|
|
107
|
+
import { TableContent as lt } from "./components/table-content/index.js";
|
|
108
|
+
import { TableOfContents as dt } from "./components/table-of-contents/index.js";
|
|
109
|
+
import { Tabs as gt } from "./components/tabs/index.js";
|
|
110
|
+
import { Tag as St } from "./components/tag/index.js";
|
|
111
|
+
import { TimeLine as It } from "./components/timeline/index.js";
|
|
112
|
+
import { Toggle as Bt } from "./components/toggle/index.js";
|
|
113
|
+
import { Tooltip as Ft } from "./components/tooltip/index.js";
|
|
114
|
+
import { Tour as Pt, baseStep as vt, defaultOptions as yt } from "./components/tour/index.js";
|
|
115
|
+
import { Tree as At } from "./components/tree/index.js";
|
|
116
|
+
import { TruncatedList as kt } from "./components/truncated-list/index.js";
|
|
117
|
+
import { Heading as Ot } from "./components/typography/heading/index.js";
|
|
118
|
+
import { Span as Et } from "./components/typography/span/index.js";
|
|
119
|
+
import { Text as Wt } from "./components/typography/text/index.js";
|
|
120
|
+
import { WeaknessesCard as Ut } from "./components/weaknesses-card/index.js";
|
|
121
|
+
import { DesignsContext as Gt } from "./context/react/index.js";
|
|
122
|
+
import { DesignsProvider as Kt } from "./globals/designs-provider/index.js";
|
|
123
|
+
import { GlobalTypography as _t } from "./globals/global-typography/index.js";
|
|
124
|
+
import { DesignTokensCss as qt } from "./globals/design-tokens-css/index.js";
|
|
125
|
+
import { useActiveSection as Qt } from "./hooks/use-active-section.js";
|
|
126
|
+
import { useCarousel as Zt } from "./hooks/use-carousel.js";
|
|
127
|
+
import { useClickOutside as rp } from "./hooks/use-click-outside.js";
|
|
128
|
+
import { useCloudinaryImage as ep } from "./hooks/use-cloudinary-image.js";
|
|
129
|
+
import { useColumnsModal as pp } from "./hooks/use-columns-modal.js";
|
|
130
|
+
import { useDebouncedCallback as fp } from "./hooks/use-debounced-callback.js";
|
|
131
|
+
import { useFiltersValues as ap } from "./hooks/use-filters.js";
|
|
132
|
+
import { useModal as ip } from "./hooks/use-modal.js";
|
|
133
|
+
import { useMountEffect as lp } from "./hooks/use-mount-effect.js";
|
|
134
|
+
import { useSearch as dp } from "./hooks/use-search.js";
|
|
135
|
+
import { formatDate as gp, formatDateTime as cp, formatDateTimeInInput as Sp } from "./utils/date.js";
|
|
136
|
+
import { EXCLUDE_TOKEN as Ip, analyzeFilterValue as bp, formatCheckboxesFilterValue as Bp, formatIncludeExcludeFilterValue as hp, formatTextFilterValue as Fp, getPreservedValues as Dp, normalizeCheckboxesFilterValue as Pp, parseCheckboxesFilterValue as vp, parseIncludeExcludeFilterValue as yp, parseTextFilterValue as Lp } from "./utils/filters.js";
|
|
137
|
+
import { normalizeDate as Mp, normalizeNumber as kp } from "./utils/normalizers.js";
|
|
138
|
+
import { openUrl as Op } from "./utils/open-url.js";
|
|
139
|
+
import { clearStorage as Ep, getPathname as Rp, getStorageItem as Wp } from "./utils/storage.js";
|
|
140
|
+
import { safeUrl as Up } from "./utils/url.js";
|
|
141
|
+
import { ActiveFilters as Gp } from "./components/filters/active-filters/index.js";
|
|
142
|
+
import { ColumnsModal as Kp } from "./components/modal/columns-modal/index.js";
|
|
143
|
+
import { Controller as _p, useController as jp, useFieldArray as qp, useFormContext as Jp, useWatch as Qp } from "./node_modules/react-hook-form/dist/index.esm.js";
|
|
144
|
+
import { InnerForm as Zp } from "./components/form/inner-form/index.js";
|
|
145
|
+
import { ItemContent as rm } from "./components/table-content/item-content/index.js";
|
|
146
|
+
import { ListItemsWrapper as em } from "./components/list-item/styles.js";
|
|
147
|
+
import { ModalConfirm as pm } from "./components/modal/modal-confirm/index.js";
|
|
148
|
+
import { ModalFooter as fm } from "./components/modal/footer/index.js";
|
|
149
|
+
import { ProgressStep as am } from "./components/progress-indicator/step/index.js";
|
|
150
|
+
import { TimeLineCard as im } from "./components/timeline/card/index.js";
|
|
151
|
+
import { partitionFilters as lm } from "./components/filters/utils.js";
|
|
152
|
+
import { useNumberFormatter as dm } from "./node_modules/react-aria/dist/private/i18n/useNumberFormatter.js";
|
|
152
153
|
export {
|
|
153
154
|
b as Accordion,
|
|
154
|
-
|
|
155
|
+
Gp as ActiveFilters,
|
|
155
156
|
h as AdvancedBadge,
|
|
156
157
|
D as AdvisoriesCard,
|
|
157
158
|
v as Alert,
|
|
@@ -177,21 +178,21 @@ export {
|
|
|
177
178
|
or as CloudImage,
|
|
178
179
|
tr as CodeSnippet,
|
|
179
180
|
Oo as Col,
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
mr as CollapsibleCard,
|
|
182
|
+
Kp as ColumnsModal,
|
|
182
183
|
jr as ComboBox,
|
|
183
184
|
sr as ComparisonTable,
|
|
184
185
|
cr as Container,
|
|
185
|
-
|
|
186
|
+
_p as Controller,
|
|
186
187
|
Tr as CopyButton,
|
|
187
188
|
xr as CustomThemeProvider,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
qt as DesignTokensCss,
|
|
190
|
+
Gt as DesignsContext,
|
|
191
|
+
Kt as DesignsProvider,
|
|
191
192
|
br as Divider,
|
|
192
193
|
hr as Drawer,
|
|
193
194
|
Dr as Dropdown,
|
|
194
|
-
|
|
195
|
+
Ip as EXCLUDE_TOKEN,
|
|
195
196
|
oo as Editable,
|
|
196
197
|
vr as EmptyState,
|
|
197
198
|
Fo as ErrorMessage,
|
|
@@ -200,30 +201,30 @@ export {
|
|
|
200
201
|
wr as Filters,
|
|
201
202
|
Vr as Form,
|
|
202
203
|
Eo as Gap,
|
|
203
|
-
|
|
204
|
+
_t as GlobalTypography,
|
|
204
205
|
Rr as GridContainer,
|
|
205
206
|
Nr as GroupSelector,
|
|
206
|
-
|
|
207
|
+
Ot as Heading,
|
|
207
208
|
zr as Icon,
|
|
208
209
|
Hr as IconButton,
|
|
209
210
|
X as IndicatorCard,
|
|
210
211
|
Xr as IndicatorCardDB,
|
|
211
|
-
|
|
212
|
+
Zp as InnerForm,
|
|
212
213
|
to as InputArray,
|
|
213
214
|
Jr as InputDate,
|
|
214
215
|
Yr as InputDateRange,
|
|
215
216
|
$r as InputDateTime,
|
|
216
|
-
|
|
217
|
+
mo as InputFile,
|
|
217
218
|
so as InputNumber,
|
|
218
219
|
uo as InputNumberRange,
|
|
219
220
|
xo as InputSection,
|
|
220
221
|
no as InputTags,
|
|
221
222
|
Po as ItemCardDB,
|
|
222
|
-
|
|
223
|
+
rm as ItemContent,
|
|
223
224
|
yo as LanguageSwitcher,
|
|
224
225
|
Uo as Link,
|
|
225
226
|
Go as ListItem,
|
|
226
|
-
|
|
227
|
+
em as ListItemsWrapper,
|
|
227
228
|
Ko as LittleFlag,
|
|
228
229
|
_o as Loading,
|
|
229
230
|
qo as Logo,
|
|
@@ -231,9 +232,9 @@ export {
|
|
|
231
232
|
Zo as Menu,
|
|
232
233
|
re as MessageBanner,
|
|
233
234
|
ee as Modal,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
pm as ModalConfirm,
|
|
236
|
+
fm as ModalFooter,
|
|
237
|
+
pe as Notification,
|
|
237
238
|
fe as NotificationSign,
|
|
238
239
|
ae as OAuthSelector,
|
|
239
240
|
ie as OptionCard,
|
|
@@ -247,7 +248,7 @@ export {
|
|
|
247
248
|
Ie as PriorityScore,
|
|
248
249
|
Be as ProgressBar,
|
|
249
250
|
Fe as ProgressIndicator,
|
|
250
|
-
|
|
251
|
+
am as ProgressStep,
|
|
251
252
|
ye as RadioButton,
|
|
252
253
|
Ae as RankPosition,
|
|
253
254
|
Wo as Row,
|
|
@@ -263,51 +264,52 @@ export {
|
|
|
263
264
|
Qe as ShowOnHover,
|
|
264
265
|
Ze as SlideOutMenu,
|
|
265
266
|
rt as Slider,
|
|
266
|
-
|
|
267
|
+
Et as Span,
|
|
267
268
|
et as StepLapse,
|
|
268
|
-
|
|
269
|
-
ft as
|
|
270
|
-
at as
|
|
271
|
-
it as
|
|
272
|
-
lt as
|
|
273
|
-
dt as
|
|
274
|
-
gt as
|
|
275
|
-
|
|
269
|
+
pt as Stepper,
|
|
270
|
+
ft as SummaryCard,
|
|
271
|
+
at as Table,
|
|
272
|
+
it as TableButton,
|
|
273
|
+
lt as TableContent,
|
|
274
|
+
dt as TableOfContents,
|
|
275
|
+
gt as Tabs,
|
|
276
|
+
St as Tag,
|
|
277
|
+
Wt as Text,
|
|
276
278
|
So as TextArea,
|
|
277
279
|
Io as TextInput,
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
280
|
+
It as TimeLine,
|
|
281
|
+
im as TimeLineCard,
|
|
282
|
+
Bt as Toggle,
|
|
283
|
+
Ft as Tooltip,
|
|
284
|
+
Pt as Tour,
|
|
285
|
+
At as Tree,
|
|
286
|
+
kt as TruncatedList,
|
|
287
|
+
Ut as WeaknessesCard,
|
|
288
|
+
bp as analyzeFilterValue,
|
|
289
|
+
vt as baseStep,
|
|
290
|
+
Ep as clearStorage,
|
|
291
|
+
yt as defaultOptions,
|
|
292
|
+
Bp as formatCheckboxesFilterValue,
|
|
293
|
+
gp as formatDate,
|
|
294
|
+
cp as formatDateTime,
|
|
295
|
+
Sp as formatDateTimeInInput,
|
|
296
|
+
hp as formatIncludeExcludeFilterValue,
|
|
297
|
+
Fp as formatTextFilterValue,
|
|
298
|
+
Rp as getPathname,
|
|
299
|
+
Dp as getPreservedValues,
|
|
300
|
+
Wp as getStorageItem,
|
|
299
301
|
l as getStyledConfig,
|
|
300
|
-
|
|
302
|
+
m as hiddenProps,
|
|
301
303
|
ar as icons,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
304
|
+
Pp as normalizeCheckboxesFilterValue,
|
|
305
|
+
Mp as normalizeDate,
|
|
306
|
+
kp as normalizeNumber,
|
|
307
|
+
Op as openUrl,
|
|
308
|
+
vp as parseCheckboxesFilterValue,
|
|
309
|
+
yp as parseIncludeExcludeFilterValue,
|
|
310
|
+
Lp as parseTextFilterValue,
|
|
311
|
+
lm as partitionFilters,
|
|
312
|
+
Up as safeUrl,
|
|
311
313
|
u as setBorder,
|
|
312
314
|
d as setDisplay,
|
|
313
315
|
C as setInteraction,
|
|
@@ -316,22 +318,22 @@ export {
|
|
|
316
318
|
S as setPosition,
|
|
317
319
|
T as setText,
|
|
318
320
|
nr as theme,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
Qt as useActiveSection,
|
|
322
|
+
Zt as useCarousel,
|
|
323
|
+
rp as useClickOutside,
|
|
324
|
+
ep as useCloudinaryImage,
|
|
325
|
+
pp as useColumnsModal,
|
|
324
326
|
ur as useConditionsDialog,
|
|
325
327
|
Cr as useConfirmDialog,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
328
|
+
jp as useController,
|
|
329
|
+
fp as useDebouncedCallback,
|
|
330
|
+
qp as useFieldArray,
|
|
331
|
+
ap as useFiltersValues,
|
|
332
|
+
Jp as useFormContext,
|
|
333
|
+
ip as useModal,
|
|
334
|
+
lp as useMountEffect,
|
|
335
|
+
dm as useNumberFormatter,
|
|
336
|
+
dp as useSearch,
|
|
337
|
+
Qp as useWatch,
|
|
336
338
|
t as variantBuilder
|
|
337
339
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED