@fluidattacks/design 11.1.1 → 11.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/components/filters/context/types.d.ts +2 -0
- package/dist/components/filters/index.js +120 -116
- package/dist/components/filters/index.stories.d.ts +2 -1
- package/dist/components/filters/options-menu/index.js +74 -73
- package/dist/components/filters/types.d.ts +3 -0
- package/dist/components/skeleton/index.d.ts +6 -0
- package/dist/components/skeleton/index.js +18 -0
- package/dist/components/skeleton/index.stories.d.ts +8 -0
- package/dist/components/skeleton/index.test.d.ts +1 -0
- package/dist/components/skeleton/styles.d.ts +5 -0
- package/dist/components/skeleton/styles.js +33 -0
- package/dist/components/skeleton/types.d.ts +24 -0
- package/dist/components/tabs/index.js +27 -25
- package/dist/components/tabs/index.stories.d.ts +1 -2
- package/dist/components/tabs/tab/index.d.ts +1 -1
- package/dist/components/tabs/tab/index.js +25 -28
- package/dist/components/tabs/types.d.ts +7 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +142 -140
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export * from './components/severity-badge';
|
|
|
70
70
|
export * from './components/severity-indicator';
|
|
71
71
|
export * from './components/severity-overview';
|
|
72
72
|
export * from './components/show-on-hover';
|
|
73
|
+
export * from './components/skeleton';
|
|
73
74
|
export * from './components/slide-out-menu';
|
|
74
75
|
export * from './components/slider';
|
|
75
76
|
export * from './components/step-lapse';
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { AdvancedBadge as h } from "./components/advanced-badge/index.js";
|
|
|
8
8
|
import { AdvisoriesCard as D } from "./components/advisories-card/index.js";
|
|
9
9
|
import { Alert as v } from "./components/alert/index.js";
|
|
10
10
|
import { Avatar as L } from "./components/avatar/index.js";
|
|
11
|
-
import { Button as
|
|
11
|
+
import { Button as A } from "./components/button/index.js";
|
|
12
12
|
import { CardHeader as w } from "./components/card/card-header/index.js";
|
|
13
13
|
import { CardWithImage as V } from "./components/card/card-with-image/index.js";
|
|
14
14
|
import { CardWithInput as R } from "./components/card/card-with-input/index.js";
|
|
@@ -34,7 +34,7 @@ import { Drawer as hr } from "./components/drawer/index.js";
|
|
|
34
34
|
import { Dropdown as Dr } from "./components/dropdown/index.js";
|
|
35
35
|
import { EmptyState as vr } from "./components/empty-state/index.js";
|
|
36
36
|
import { FATag as Lr } from "./components/fa-tag/index.js";
|
|
37
|
-
import { FilePreview as
|
|
37
|
+
import { FilePreview as Ar } from "./components/file-preview/index.js";
|
|
38
38
|
import { Filters as wr } from "./components/filters/index.js";
|
|
39
39
|
import { Form as Vr } from "./components/form/index.js";
|
|
40
40
|
import { GridContainer as Rr } from "./components/grid-container/index.js";
|
|
@@ -60,7 +60,7 @@ import { OutlineContainer as Bo } from "./components/inputs/outline-container/in
|
|
|
60
60
|
import { ErrorMessage as Fo } from "./components/inputs/styles.js";
|
|
61
61
|
import { ItemCardDB as Po } from "./components/item-card-db/index.js";
|
|
62
62
|
import { LanguageSwitcher as yo } from "./components/language-switcher/index.js";
|
|
63
|
-
import { ButtonToolbarCenter as
|
|
63
|
+
import { ButtonToolbarCenter as ko, ButtonToolbarRow as Ao, ButtonToolbarStartRow as Mo } from "./components/layout/categories/buttons/index.js";
|
|
64
64
|
import { Col as Oo } from "./components/layout/categories/column/index.js";
|
|
65
65
|
import { Gap as Eo } from "./components/layout/categories/gap/index.js";
|
|
66
66
|
import { Row as Wo } from "./components/layout/categories/row/index.js";
|
|
@@ -86,8 +86,8 @@ import { ProgressBar as Be } from "./components/progress-bar/index.js";
|
|
|
86
86
|
import { ProgressIndicator as Fe } from "./components/progress-indicator/index.js";
|
|
87
87
|
import { PopUp as Pe } from "./components/pop-up/index.js";
|
|
88
88
|
import { RadioButton as ye } from "./components/radio-button/index.js";
|
|
89
|
-
import { RankPosition as
|
|
90
|
-
import { RulesCard as
|
|
89
|
+
import { RankPosition as ke } from "./components/rank-position/index.js";
|
|
90
|
+
import { RulesCard as Me } from "./components/rules-card/index.js";
|
|
91
91
|
import { ScrollUpButton as Oe } from "./components/scroll-button/index.js";
|
|
92
92
|
import { Search as Ee } from "./components/search/index.js";
|
|
93
93
|
import { SearchDropdown as We } from "./components/search-dropdown/index.js";
|
|
@@ -98,63 +98,64 @@ import { SeverityBadge as _e } from "./components/severity-badge/index.js";
|
|
|
98
98
|
import { SeverityIndicator as qe } from "./components/severity-indicator/index.js";
|
|
99
99
|
import { SeverityOverview as Qe } from "./components/severity-overview/index.js";
|
|
100
100
|
import { ShowOnHover as Ze } from "./components/show-on-hover/index.js";
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
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 {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
101
|
+
import { Skeleton as rt } from "./components/skeleton/index.js";
|
|
102
|
+
import { SlideOutMenu as et } from "./components/slide-out-menu/index.js";
|
|
103
|
+
import { Slider as pt } from "./components/slider/index.js";
|
|
104
|
+
import { StepLapse as ft } from "./components/step-lapse/index.js";
|
|
105
|
+
import { Stepper as at } from "./components/stepper/index.js";
|
|
106
|
+
import { SummaryCard as it } from "./components/summary-card/index.js";
|
|
107
|
+
import { Table as lt } from "./components/table/index.js";
|
|
108
|
+
import { TableButton as dt } from "./components/table-button/index.js";
|
|
109
|
+
import { TableContent as ct } from "./components/table-content/index.js";
|
|
110
|
+
import { TableOfContents as St } from "./components/table-of-contents/index.js";
|
|
111
|
+
import { Tabs as It } from "./components/tabs/index.js";
|
|
112
|
+
import { Tag as Bt } from "./components/tag/index.js";
|
|
113
|
+
import { TimeLine as Ft } from "./components/timeline/index.js";
|
|
114
|
+
import { Toggle as Pt } from "./components/toggle/index.js";
|
|
115
|
+
import { Tooltip as yt } from "./components/tooltip/index.js";
|
|
116
|
+
import { Tour as kt, baseStep as At, defaultOptions as Mt } from "./components/tour/index.js";
|
|
117
|
+
import { Tree as Ot } from "./components/tree/index.js";
|
|
118
|
+
import { TruncatedList as Et } from "./components/truncated-list/index.js";
|
|
119
|
+
import { TruncatedValues as Wt } from "./components/truncated-values/index.js";
|
|
120
|
+
import { Heading as Ut } from "./components/typography/heading/index.js";
|
|
121
|
+
import { Span as Gt } from "./components/typography/span/index.js";
|
|
122
|
+
import { Text as Kt } from "./components/typography/text/index.js";
|
|
123
|
+
import { WeaknessesCard as _t } from "./components/weaknesses-card/index.js";
|
|
124
|
+
import { DesignsContext as qt } from "./context/react/index.js";
|
|
125
|
+
import { DesignsProvider as Qt } from "./globals/designs-provider/index.js";
|
|
126
|
+
import { GlobalTypography as Zt } from "./globals/global-typography/index.js";
|
|
127
|
+
import { DesignTokensCss as rp } from "./globals/design-tokens-css/index.js";
|
|
128
|
+
import { useActiveSection as ep } from "./hooks/use-active-section.js";
|
|
129
|
+
import { useCarousel as pp } from "./hooks/use-carousel.js";
|
|
130
|
+
import { useClickOutside as fp } from "./hooks/use-click-outside.js";
|
|
131
|
+
import { useCloudinaryImage as ap } from "./hooks/use-cloudinary-image.js";
|
|
132
|
+
import { useColumnsModal as ip } from "./hooks/use-columns-modal.js";
|
|
133
|
+
import { useDebouncedCallback as lp } from "./hooks/use-debounced-callback.js";
|
|
134
|
+
import { useFiltersValues as dp } from "./hooks/use-filters.js";
|
|
135
|
+
import { useModal as cp } from "./hooks/use-modal.js";
|
|
136
|
+
import { useMountEffect as Sp } from "./hooks/use-mount-effect.js";
|
|
137
|
+
import { useSearch as Ip } from "./hooks/use-search.js";
|
|
138
|
+
import { formatDate as Bp, formatDateTime as hp, formatDateTimeInInput as Fp } from "./utils/date.js";
|
|
139
|
+
import { EXCLUDE_TOKEN as Pp, analyzeFilterValue as vp, formatCheckboxesFilterValue as yp, formatIncludeExcludeFilterValue as Lp, formatTextFilterValue as kp, getPreservedValues as Ap, normalizeCheckboxesFilterValue as Mp, parseCheckboxesFilterValue as wp, parseIncludeExcludeFilterValue as Op, parseTextFilterValue as Vp } from "./utils/filters.js";
|
|
140
|
+
import { normalizeDate as Rp, normalizeNumber as Wp } from "./utils/normalizers.js";
|
|
141
|
+
import { openUrl as Up } from "./utils/open-url.js";
|
|
142
|
+
import { clearStorage as Gp, getPathname as Hp, getStorageItem as Kp } from "./utils/storage.js";
|
|
143
|
+
import { safeUrl as _p } from "./utils/url.js";
|
|
144
|
+
import { ActiveFilters as qp } from "./components/filters/active-filters/index.js";
|
|
145
|
+
import { ColumnsModal as Qp } from "./components/modal/columns-modal/index.js";
|
|
146
|
+
import { Controller as Zp, useController as $p, useFieldArray as rm, useFormContext as om, useWatch as em } from "./node_modules/react-hook-form/dist/index.esm.js";
|
|
147
|
+
import { InnerForm as pm } from "./components/form/inner-form/index.js";
|
|
148
|
+
import { ItemContent as fm } from "./components/table-content/item-content/index.js";
|
|
149
|
+
import { ListItemsWrapper as am } from "./components/list-item/styles.js";
|
|
150
|
+
import { ModalConfirm as im } from "./components/modal/modal-confirm/index.js";
|
|
151
|
+
import { ModalFooter as lm } from "./components/modal/footer/index.js";
|
|
152
|
+
import { ProgressStep as dm } from "./components/progress-indicator/step/index.js";
|
|
153
|
+
import { TimeLineCard as cm } from "./components/timeline/card/index.js";
|
|
154
|
+
import { partitionFilters as Sm } from "./components/filters/utils.js";
|
|
155
|
+
import { useNumberFormatter as Im } from "./node_modules/react-aria/dist/private/i18n/useNumberFormatter.js";
|
|
155
156
|
export {
|
|
156
157
|
b as Accordion,
|
|
157
|
-
|
|
158
|
+
qp as ActiveFilters,
|
|
158
159
|
h as AdvancedBadge,
|
|
159
160
|
D as AdvisoriesCard,
|
|
160
161
|
v as Alert,
|
|
@@ -163,10 +164,10 @@ export {
|
|
|
163
164
|
a as BaseComponent,
|
|
164
165
|
n as BaseSpanComponent,
|
|
165
166
|
i as BaseTextComponent,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
A as Button,
|
|
168
|
+
ko as ButtonToolbarCenter,
|
|
169
|
+
Ao as ButtonToolbarRow,
|
|
170
|
+
Mo as ButtonToolbarStartRow,
|
|
170
171
|
j as CardContainer,
|
|
171
172
|
w as CardHeader,
|
|
172
173
|
V as CardWithImage,
|
|
@@ -181,37 +182,37 @@ export {
|
|
|
181
182
|
tr as CodeSnippet,
|
|
182
183
|
Oo as Col,
|
|
183
184
|
mr as CollapsibleCard,
|
|
184
|
-
|
|
185
|
+
Qp as ColumnsModal,
|
|
185
186
|
jr as ComboBox,
|
|
186
187
|
sr as ComparisonTable,
|
|
187
188
|
gr as Container,
|
|
188
|
-
|
|
189
|
+
Zp as Controller,
|
|
189
190
|
Tr as CopyButton,
|
|
190
191
|
xr as CustomThemeProvider,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
rp as DesignTokensCss,
|
|
193
|
+
qt as DesignsContext,
|
|
194
|
+
Qt as DesignsProvider,
|
|
194
195
|
br as Divider,
|
|
195
196
|
hr as Drawer,
|
|
196
197
|
Dr as Dropdown,
|
|
197
|
-
|
|
198
|
+
Pp as EXCLUDE_TOKEN,
|
|
198
199
|
oo as Editable,
|
|
199
200
|
vr as EmptyState,
|
|
200
201
|
Fo as ErrorMessage,
|
|
201
202
|
Lr as FATag,
|
|
202
|
-
|
|
203
|
+
Ar as FilePreview,
|
|
203
204
|
wr as Filters,
|
|
204
205
|
Vr as Form,
|
|
205
206
|
Eo as Gap,
|
|
206
|
-
|
|
207
|
+
Zt as GlobalTypography,
|
|
207
208
|
Rr as GridContainer,
|
|
208
209
|
Nr as GroupSelector,
|
|
209
|
-
|
|
210
|
+
Ut as Heading,
|
|
210
211
|
zr as Icon,
|
|
211
212
|
Hr as IconButton,
|
|
212
213
|
X as IndicatorCard,
|
|
213
214
|
Xr as IndicatorCardDB,
|
|
214
|
-
|
|
215
|
+
pm as InnerForm,
|
|
215
216
|
to as InputArray,
|
|
216
217
|
Jr as InputDate,
|
|
217
218
|
Yr as InputDateRange,
|
|
@@ -222,11 +223,11 @@ export {
|
|
|
222
223
|
xo as InputSection,
|
|
223
224
|
no as InputTags,
|
|
224
225
|
Po as ItemCardDB,
|
|
225
|
-
|
|
226
|
+
fm as ItemContent,
|
|
226
227
|
yo as LanguageSwitcher,
|
|
227
228
|
Uo as Link,
|
|
228
229
|
Go as ListItem,
|
|
229
|
-
|
|
230
|
+
am as ListItemsWrapper,
|
|
230
231
|
Ko as LittleFlag,
|
|
231
232
|
_o as Loading,
|
|
232
233
|
qo as Logo,
|
|
@@ -234,8 +235,8 @@ export {
|
|
|
234
235
|
Zo as Menu,
|
|
235
236
|
re as MessageBanner,
|
|
236
237
|
ee as Modal,
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
im as ModalConfirm,
|
|
239
|
+
lm as ModalFooter,
|
|
239
240
|
pe as Notification,
|
|
240
241
|
fe as NotificationSign,
|
|
241
242
|
ae as OAuthSelector,
|
|
@@ -250,11 +251,11 @@ export {
|
|
|
250
251
|
Ie as PriorityScore,
|
|
251
252
|
Be as ProgressBar,
|
|
252
253
|
Fe as ProgressIndicator,
|
|
253
|
-
|
|
254
|
+
dm as ProgressStep,
|
|
254
255
|
ye as RadioButton,
|
|
255
|
-
|
|
256
|
+
ke as RankPosition,
|
|
256
257
|
Wo as Row,
|
|
257
|
-
|
|
258
|
+
Me as RulesCard,
|
|
258
259
|
Oe as ScrollUpButton,
|
|
259
260
|
Ee as Search,
|
|
260
261
|
We as SearchDropdown,
|
|
@@ -265,55 +266,56 @@ export {
|
|
|
265
266
|
qe as SeverityIndicator,
|
|
266
267
|
Qe as SeverityOverview,
|
|
267
268
|
Ze as ShowOnHover,
|
|
268
|
-
rt as
|
|
269
|
-
et as
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
ft as
|
|
273
|
-
at as
|
|
274
|
-
it as
|
|
275
|
-
lt as
|
|
276
|
-
dt as
|
|
277
|
-
ct as
|
|
278
|
-
St as
|
|
279
|
-
It as
|
|
280
|
-
|
|
269
|
+
rt as Skeleton,
|
|
270
|
+
et as SlideOutMenu,
|
|
271
|
+
pt as Slider,
|
|
272
|
+
Gt as Span,
|
|
273
|
+
ft as StepLapse,
|
|
274
|
+
at as Stepper,
|
|
275
|
+
it as SummaryCard,
|
|
276
|
+
lt as Table,
|
|
277
|
+
dt as TableButton,
|
|
278
|
+
ct as TableContent,
|
|
279
|
+
St as TableOfContents,
|
|
280
|
+
It as Tabs,
|
|
281
|
+
Bt as Tag,
|
|
282
|
+
Kt as Text,
|
|
281
283
|
So as TextArea,
|
|
282
284
|
Io as TextInput,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
285
|
+
Ft as TimeLine,
|
|
286
|
+
cm as TimeLineCard,
|
|
287
|
+
Pt as Toggle,
|
|
288
|
+
yt as Tooltip,
|
|
289
|
+
kt as Tour,
|
|
290
|
+
Ot as Tree,
|
|
291
|
+
Et as TruncatedList,
|
|
292
|
+
Wt as TruncatedValues,
|
|
293
|
+
_t as WeaknessesCard,
|
|
294
|
+
vp as analyzeFilterValue,
|
|
295
|
+
At as baseStep,
|
|
296
|
+
Gp as clearStorage,
|
|
297
|
+
Mt as defaultOptions,
|
|
298
|
+
yp as formatCheckboxesFilterValue,
|
|
299
|
+
Bp as formatDate,
|
|
300
|
+
hp as formatDateTime,
|
|
301
|
+
Fp as formatDateTimeInInput,
|
|
302
|
+
Lp as formatIncludeExcludeFilterValue,
|
|
303
|
+
kp as formatTextFilterValue,
|
|
304
|
+
Hp as getPathname,
|
|
305
|
+
Ap as getPreservedValues,
|
|
306
|
+
Kp as getStorageItem,
|
|
305
307
|
l as getStyledConfig,
|
|
306
308
|
m as hiddenProps,
|
|
307
309
|
ar as icons,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
310
|
+
Mp as normalizeCheckboxesFilterValue,
|
|
311
|
+
Rp as normalizeDate,
|
|
312
|
+
Wp as normalizeNumber,
|
|
313
|
+
Up as openUrl,
|
|
314
|
+
wp as parseCheckboxesFilterValue,
|
|
315
|
+
Op as parseIncludeExcludeFilterValue,
|
|
316
|
+
Vp as parseTextFilterValue,
|
|
317
|
+
Sm as partitionFilters,
|
|
318
|
+
_p as safeUrl,
|
|
317
319
|
u as setBorder,
|
|
318
320
|
d as setDisplay,
|
|
319
321
|
C as setInteraction,
|
|
@@ -322,22 +324,22 @@ export {
|
|
|
322
324
|
S as setPosition,
|
|
323
325
|
T as setText,
|
|
324
326
|
nr as theme,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
327
|
+
ep as useActiveSection,
|
|
328
|
+
pp as useCarousel,
|
|
329
|
+
fp as useClickOutside,
|
|
330
|
+
ap as useCloudinaryImage,
|
|
331
|
+
ip as useColumnsModal,
|
|
330
332
|
ur as useConditionsDialog,
|
|
331
333
|
Cr as useConfirmDialog,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
334
|
+
$p as useController,
|
|
335
|
+
lp as useDebouncedCallback,
|
|
336
|
+
rm as useFieldArray,
|
|
337
|
+
dp as useFiltersValues,
|
|
338
|
+
om as useFormContext,
|
|
339
|
+
cp as useModal,
|
|
340
|
+
Sp as useMountEffect,
|
|
341
|
+
Im as useNumberFormatter,
|
|
342
|
+
Ip as useSearch,
|
|
343
|
+
em as useWatch,
|
|
342
344
|
t as variantBuilder
|
|
343
345
|
};
|
package/package.json
CHANGED