@stihl-design-system/components 1.0.0-RC.27 → 1.0.0-RC.29
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/{accordion.CBaDU14g.js → accordion.DkwtJy--.js} +2 -2
- package/{actionbutton.DEJsLxnQ.js → actionbutton.DHt1AL7U.js} +2 -2
- package/{actionlink.Cs6BTCA3.js → actionlink.BML1jenE.js} +2 -2
- package/assets/Accordion.BJb4TOG0.css +1 -0
- package/assets/CustomReactSelect.D0b1Hg1T.css +1 -0
- package/assets/{Fieldset.Cy5r0K7n.css → Fieldset.CW9dBvAo.css} +1 -1
- package/assets/InputFile.CCQxsulT.css +1 -0
- package/assets/InputPassword.124xVOiO.css +1 -0
- package/assets/InputSearch.Bkg-1urJ.css +1 -0
- package/assets/InputStepper.Dth4qZN_.css +1 -0
- package/assets/Select.CYACicZ3.css +1 -0
- package/assets/Slider.DzwSjDPV.css +1 -0
- package/assets/{systemfeedback.BX2zCzSL.css → SystemFeedback.RcrPepSZ.css} +1 -1
- package/assets/Textarea.BXWhXpXx.css +1 -0
- package/assets/input.ONbL-_C1.css +1 -0
- package/assets/radio.CgpGvYc-.css +1 -0
- package/{banner.CgQdUb_c.js → banner.B2YO054K.js} +1 -1
- package/{breadcrumb.x78HJy5P.js → breadcrumb.BS-S3zUI.js} +3 -3
- package/{button.BD_04tIG.js → button.CPilCCUI.js} +3 -3
- package/{buttonround.BT3OfowK.js → buttonround.C426mO4d.js} +2 -2
- package/{checkbox.BktYXQmJ.js → checkbox.BtlUvs0z.js} +3 -3
- package/{checkboxgroup.YK8H0YoX.js → checkboxgroup.C5NgyyQF.js} +2 -2
- package/{chip.BKtNbt4y.js → chip.tVIG1ysH.js} +2 -2
- package/{chipgroup.BWpqUzXF.js → chipgroup.CjIK0Z0x.js} +1 -1
- package/chunks/Accordion.C5V5IcM-.js +170 -0
- package/chunks/ActionButton.CzaWZGPt.js +165 -0
- package/chunks/ActionLink.BlhqDEtq.js +138 -0
- package/chunks/{Breadcrumb.B7g30dIO.js → Breadcrumb.BGzwzvh8.js} +2 -2
- package/chunks/{Button.CC0qEsuR.js → Button.B7xF1E19.js} +2 -2
- package/chunks/{Checkbox.BIQAKBVy.js → Checkbox.DxV7-F5W.js} +14 -14
- package/chunks/{CheckboxGroup.DHzpgOWp.js → CheckboxGroup.Dy_6tiGk.js} +2 -2
- package/chunks/{Chip.DifLxHH7.js → Chip.31UfPwQF.js} +1 -1
- package/chunks/{CustomReactSelect.BPnzhvw1.js → CustomReactSelect.iE5iTdez.js} +380 -379
- package/chunks/{Dialog.BuEEJ199.js → Dialog.B_2pKRnd.js} +1 -1
- package/chunks/{Drawer.BXUGmpJI.js → Drawer.HFlBTcqN.js} +1 -1
- package/chunks/Fieldset.CjIfmN_5.js +74 -0
- package/chunks/Header.BSvyYrIV.js +368 -0
- package/chunks/Icon.DGTYCv63.js +231 -0
- package/chunks/{InputFile.vkkg5Pab.js → InputFile.DvOatDzg.js} +59 -59
- package/chunks/InputPassword.DC2POUc1.js +136 -0
- package/chunks/{InputSearch.aIbUXVQU.js → InputSearch.B0aCuPRZ.js} +38 -38
- package/chunks/InputStepper.B_ZjgY_f.js +263 -0
- package/chunks/{LinkButton.DmXVHeyZ.js → LinkButton.DdTspmJz.js} +1 -1
- package/chunks/{NavigationTabList.IQM074Vb.js → NavigationTabList.dYFYTmWv.js} +1 -1
- package/chunks/{NavigationTabs.BofhX8bD.js → NavigationTabs.ClpVGcl0.js} +1 -1
- package/chunks/{Notification.B-3dPVUE.js → Notification.DIdIhGTQ.js} +2 -2
- package/chunks/{RadioGroup.c7YYJdUe.js → RadioGroup.peTeMK45.js} +2 -2
- package/chunks/Select.BDHLJ2ma.js +162 -0
- package/chunks/Slider.kyVr7BLk.js +292 -0
- package/chunks/SystemFeedback.B9f67mjJ.js +38 -0
- package/chunks/{Tabs.Bl4K3Kjn.js → Tabs.CkVL8Jw8.js} +1 -1
- package/chunks/Textarea.ORkJUx-S.js +163 -0
- package/chunks/{Toast.BHz0vlGz.js → Toast.DHo4pLH3.js} +2 -2
- package/chunks/caret-down.CupuwAF6.js +10 -0
- package/chunks/caret-right.DKtu4PQe.js +10 -0
- package/chunks/collapse.Dvv3mgkv.js +10 -0
- package/combobox.Bk2ycofh.js +60 -0
- package/components/Accordion/Accordion.utils.d.ts +3 -1
- package/components/ActionButton/ActionButton.d.ts +5 -5
- package/components/ActionLink/ActionLink.d.ts +5 -5
- package/components/Combobox/Combobox.d.ts +4 -0
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +1 -1
- package/components/Header/Header.d.ts +1 -1
- package/components/Radio/Radio.d.ts +0 -6
- package/components/SystemFeedback/SystemFeedback.d.ts +13 -5
- package/components/SystemFeedback/SystemFeedback.utils.d.ts +4 -7
- package/components/TopBar/TopBar.d.ts +1 -1
- package/{customreactselect.Bu1i8wkh.js → customreactselect.Hnch9LGg.js} +4 -4
- package/{dialog.CGsUCqhR.js → dialog.7sWoqGwL.js} +2 -2
- package/{drawer.BcAo4TO0.js → drawer.DsF4KIPn.js} +2 -2
- package/{fieldset.DM9ELUJa.js → fieldset.DUFUMcT-.js} +2 -2
- package/{filelist.Cj9U-Jx8.js → filelist.nunJKxkv.js} +7 -7
- package/{flag.BHaAfp6B.js → flag.D_iN8iD6.js} +1 -1
- package/{floatingactionbutton.DSZXUHB_.js → floatingactionbutton.DOH2k0gv.js} +2 -2
- package/{header.WhQHSuB1.js → header.Z4Oxj_xL.js} +1 -1
- package/{icon.DwfGhFCd.js → icon.vMQcEBnH.js} +1 -1
- package/index.d.ts +2 -0
- package/index.es.js +175 -170
- package/input.BKHOY118.js +203 -0
- package/{inputfile.Cmkxf4Vq.js → inputfile.DK8759wV.js} +5 -5
- package/{inputpassword.CaJBCMA0.js → inputpassword.rV_ZZw5F.js} +3 -3
- package/{inputsearch.B06DhYzo.js → inputsearch.CmhakTpa.js} +3 -3
- package/{inputstepper.DNY7nzP8.js → inputstepper.5olvh4tk.js} +3 -3
- package/{link.DGuYGfh2.js → link.D_FjTyoZ.js} +2 -2
- package/{linkbutton.B3q0B_yb.js → linkbutton.D2C4vykc.js} +2 -2
- package/{navigationtablist.CS9yEGdP.js → navigationtablist.CVjh1k-b.js} +2 -2
- package/{navigationtabs.DQ1kE-h4.js → navigationtabs.BGfi9AG2.js} +2 -2
- package/{notification.D8BDaU5x.js → notification.Dn-FZWEL.js} +3 -3
- package/{optioncheckbox.CEEPAq0u.js → optioncheckbox.D97W3zeW.js} +1 -1
- package/package.json +1 -1
- package/partials/index.js +30 -24
- package/partials/lib/partials.d.ts +1 -1
- package/radio.7_N_alaS.js +126 -0
- package/{radiogroup.BRjwP01C.js → radiogroup.J8WpEEo8.js} +3 -3
- package/{scroller.CCA6kFR6.js → scroller.BiRLQg__.js} +1 -1
- package/{select.3zE96eWc.js → select.DIzGPVx3.js} +3 -3
- package/{skiptocontent.D1UkPmhD.js → skiptocontent._F-d8y5b.js} +1 -1
- package/{slider.CTCf7Xdm.js → slider.DuJK0RdB.js} +2 -2
- package/{spinner.CeGt8DxU.js → spinner.Dht6FspZ.js} +1 -1
- package/styles/scss/ds/index.scss +1 -0
- package/styles/scss/ds/lib/ds-internal/_index.scss +1 -0
- package/styles/scss/ds/lib/ds-internal/_input.scss +187 -0
- package/styles/scss/ds/lib/input.scss +26 -0
- package/{switch.CtULjgZq.js → switch.B37S4vfP.js} +2 -2
- package/systemfeedback.C_2PhwKe.js +10 -0
- package/{tablist.Dzwe0_J4.js → tablist.g_Nwu6GA.js} +3 -3
- package/{tabs.yudjJk9d.js → tabs.oh9-wHPp.js} +2 -2
- package/{textarea.B_3fPtmd.js → textarea.dQ12-oYB.js} +2 -2
- package/{toast.Bhpwj1NF.js → toast.sMNbfKxi.js} +3 -3
- package/{toastmanager.BHk65ynQ.js → toastmanager.CVamaS5T.js} +1 -1
- package/{topbar.2b8fjmA4.js → topbar.Bccms0xZ.js} +1 -1
- package/types/icon-types.d.ts +1 -1
- package/assets/Accordion.DOcfZwq8.css +0 -1
- package/assets/CustomReactSelect.B9f_KYFg.css +0 -1
- package/assets/InputFile.Dqjz53mb.css +0 -1
- package/assets/InputPassword.BuVQ9dRy.css +0 -1
- package/assets/InputSearch.Dwtb3Mhw.css +0 -1
- package/assets/InputStepper.CBt99L83.css +0 -1
- package/assets/Select.CghDnBUQ.css +0 -1
- package/assets/Slider.C8i4U4iT.css +0 -1
- package/assets/Textarea.BgtH-TTe.css +0 -1
- package/assets/input.DFwunFjw.css +0 -1
- package/assets/radio.BCB51D_y.css +0 -1
- package/chunks/Accordion.eVOD7J_8.js +0 -154
- package/chunks/ActionButton.Ck1rGqgm.js +0 -165
- package/chunks/ActionLink.DnUNjoAT.js +0 -138
- package/chunks/Fieldset.BX46NuLh.js +0 -74
- package/chunks/Header.Djs1adPW.js +0 -361
- package/chunks/Icon.C0161Glk.js +0 -231
- package/chunks/InputPassword.D42uUEGy.js +0 -136
- package/chunks/InputStepper.DFEdUWm7.js +0 -263
- package/chunks/Select.B_EHpk22.js +0 -162
- package/chunks/Slider.DMSwmGwD.js +0 -292
- package/chunks/Textarea.Ce26v6ht.js +0 -163
- package/combobox.AaK6QjRl.js +0 -58
- package/input.DhxUW3zc.js +0 -203
- package/radio.Be4pFOLf.js +0 -134
- package/systemfeedback.CLQCbTF6.js +0 -44
|
@@ -7,11 +7,11 @@ export interface ActionLinkProps extends Omit<CommonLinkProps, 'iconPosition' |
|
|
|
7
7
|
* @default 'left'
|
|
8
8
|
*/
|
|
9
9
|
iconPosition?: ActionLinkIconPosition;
|
|
10
|
-
/** Size of the icon. Only available with `iconPosition='left'` and a custom `iconSource
|
|
10
|
+
/** Size of the icon. **Only available with `iconPosition='left'` and a custom `iconSource`**.
|
|
11
11
|
* @default 'large'
|
|
12
12
|
*/
|
|
13
13
|
iconSize?: ActionLinkIconSize;
|
|
14
|
-
/** Indent level of the link, used to align the link with other elements e.g. inside a DSAccordion. Only available with `iconPosition='left'
|
|
14
|
+
/** Indent level of the link, used to align the link with other elements e.g. inside a DSAccordion. **Only available with `iconPosition='left'`**.
|
|
15
15
|
* @default 0
|
|
16
16
|
*/
|
|
17
17
|
indentLevel?: ActionLinkIndentLevel;
|
|
@@ -21,11 +21,11 @@ export interface ActionLinkProps extends Omit<CommonLinkProps, 'iconPosition' |
|
|
|
21
21
|
isActive?: boolean;
|
|
22
22
|
/** Number Indicator value displayed next to the label or above the icon. */
|
|
23
23
|
numberIndicatorValue?: string;
|
|
24
|
-
/** Stretches the link over the parent's width. Only available with `iconPosition='left'
|
|
24
|
+
/** Stretches the link over the parent's width. **Only available with `iconPosition='left'`**.
|
|
25
25
|
* @default false
|
|
26
26
|
*/
|
|
27
27
|
stretched?: boolean;
|
|
28
|
-
/** Defines the weight. Only available with `iconPosition='left'
|
|
28
|
+
/** Defines the weight. **Only available with `iconPosition='left'`**.
|
|
29
29
|
* @default 'normal'
|
|
30
30
|
*/
|
|
31
31
|
weight?: ActionLinkWeight;
|
|
@@ -33,6 +33,6 @@ export interface ActionLinkProps extends Omit<CommonLinkProps, 'iconPosition' |
|
|
|
33
33
|
/**
|
|
34
34
|
* Use the ActionLink component when you want the users to navigate to another internal or external page, used in the DSDrawer as a mobile menu or in the DSTopBar of the DSHeader.
|
|
35
35
|
*
|
|
36
|
-
* Design in Figma: [Action Item](https://www.figma.com/design/
|
|
36
|
+
* Design in Figma: [Action Item](https://www.figma.com/design/Ie2r0R9QwjEc7O3nrFbXhV/Web-Pattern-Library?node-id=6307-72257&t=6MyKQ9TAUdzZ1XaJ-4)
|
|
37
37
|
* */
|
|
38
38
|
export declare const DSActionLink: import('react').ForwardRefExoticComponent<ActionLinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
@@ -4,6 +4,10 @@ type CommonComboboxProps = {
|
|
|
4
4
|
* @default false
|
|
5
5
|
*/
|
|
6
6
|
dropdownOnFocus?: boolean;
|
|
7
|
+
/** Selects a focused value in the MenuList when the Tab key is pressed.
|
|
8
|
+
* @default true
|
|
9
|
+
*/
|
|
10
|
+
tabSelectsValue?: boolean;
|
|
7
11
|
};
|
|
8
12
|
export type ComboboxProps = Omit<(CustomReactSelectProps<false> & {
|
|
9
13
|
/** Defines if only one option or multiple options can be selected.
|
|
@@ -20,7 +20,7 @@ export interface CustomReactSelectProps<IsMulti extends boolean> extends PickedR
|
|
|
20
20
|
options: ComboboxOptionsOrOptGroups;
|
|
21
21
|
/** The value of autoComplete to use for the DSCombobox. */
|
|
22
22
|
autoComplete?: string;
|
|
23
|
-
/** Value of the selected Option
|
|
23
|
+
/** Value of the initially selected Option. */
|
|
24
24
|
defaultValue?: IsMulti extends true ? ComboboxOption[] : ComboboxOption;
|
|
25
25
|
/** Disables the DSCombobox, preventing user interaction.
|
|
26
26
|
* @default false
|
|
@@ -6,7 +6,7 @@ export interface HeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
*
|
|
7
7
|
* `children`: Content of the brand addOn.
|
|
8
8
|
*
|
|
9
|
-
* `subTitle`: Sub title below the title. Only available with `variant="double"
|
|
9
|
+
* `subTitle`: Sub title below the title. **Only available with `variant="double"`**.
|
|
10
10
|
*
|
|
11
11
|
* `variant`: Variant of the brand addOn.
|
|
12
12
|
* Defaults to `'single'`
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import { BreakpointCustomizable } from '../../types';
|
|
3
2
|
export interface RadioProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
3
|
/** Label text displayed next to the radio. */
|
|
5
4
|
label: string;
|
|
@@ -23,11 +22,6 @@ export interface RadioProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
23
22
|
* Id of the parent Fieldset, required for a11y when systemFeedback is set
|
|
24
23
|
*/
|
|
25
24
|
fieldsetId?: string;
|
|
26
|
-
/** Hides the radio label, can be responsive.
|
|
27
|
-
* `boolean | { base: boolean; s?: boolean; m?: boolean; l?: boolean; xl?: boolean; }`
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
31
25
|
/** Makes the label use `ds.utility-medium-bold` if any option has a `hint` and `hideUncheckedHint` is set to false.
|
|
32
26
|
* @default false
|
|
33
27
|
*/
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { HTMLAttributes, JSX } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SystemFeedbackVariant } from './SystemFeedback.utils';
|
|
3
3
|
export interface SystemFeedbackProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
4
|
+
/** Unique id for connecting the system feedback with aria attributes like aria-describedby. */
|
|
5
5
|
id: string;
|
|
6
6
|
/** Defines the message. */
|
|
7
7
|
message: string;
|
|
8
|
-
/** Defines the
|
|
9
|
-
|
|
8
|
+
/** Defines the variant (e.g. "error", "success" or "warning"). */
|
|
9
|
+
variant: SystemFeedbackVariant;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Use the SystemFeedback component to provide clear and immediate feedback to the user
|
|
13
|
+
* about the status of a system process or validation state.
|
|
14
|
+
*
|
|
15
|
+
* Design in Figma: [SystemFeedback](https://www.figma.com/design/qXldpLO6gxHJNLdcXIPxYt/Core-Components-%F0%9F%92%A0?node-id=14690-32&t=qoxy54r8T2z3eW8T-4)
|
|
16
|
+
*
|
|
17
|
+
* <div className="ds-info">For more information on the different types of notifications and to determine which is best suited for your needs, please refer to our [Notification Guidelines](/docs/templates-notification-guidelines--documentation) and explore the decision trees provided.</div>
|
|
18
|
+
*/
|
|
19
|
+
export declare const DSSystemFeedback: ({ id, message, variant, className, ...rest }: SystemFeedbackProps) => JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const systemFeedbackIcons: SystemFeedbackIcons;
|
|
7
|
-
export type SystemFeedbackType = 'valid' | 'invalid' | 'warning';
|
|
1
|
+
type SystemFeedbackIcon = 'circle-check-colored' | 'diamond-exclamationmark-colored' | 'triangle-exclamationmark-colored';
|
|
2
|
+
export declare const SYSTEM_FEEDBACK_VARIANT: readonly ["success", "error", "warning"];
|
|
3
|
+
export type SystemFeedbackVariant = (typeof SYSTEM_FEEDBACK_VARIANT)[number];
|
|
4
|
+
export declare const SYSTEM_FEEDBACK_ICON_MAP: Record<SystemFeedbackVariant, SystemFeedbackIcon>;
|
|
8
5
|
export {};
|
|
@@ -32,7 +32,7 @@ export interface BrandAreaLogoProps {
|
|
|
32
32
|
export interface BrandAddOnProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
33
33
|
/** Content of the brand addOn. */
|
|
34
34
|
children: React.ReactNode;
|
|
35
|
-
/** Sub title below the title. Only available with `variant="double"
|
|
35
|
+
/** Sub title below the title. **Only available with `variant="double"`**. */
|
|
36
36
|
subTitle?: string;
|
|
37
37
|
/** Variant of the brand addOn.
|
|
38
38
|
* @default 'single'
|
|
@@ -3,12 +3,12 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.CgTHIF3K.js";
|
|
4
4
|
import "./chunks/index.CEyLAtio.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import { c as u } from "./chunks/CustomReactSelect.
|
|
6
|
+
import { c as u } from "./chunks/CustomReactSelect.iE5iTdez.js";
|
|
7
7
|
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
8
8
|
import "./asterisk.CR60hx8S.js";
|
|
9
|
-
import "./chunks/Icon.
|
|
10
|
-
import "./
|
|
11
|
-
import "./optioncheckbox.
|
|
9
|
+
import "./chunks/Icon.DGTYCv63.js";
|
|
10
|
+
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
11
|
+
import "./optioncheckbox.D97W3zeW.js";
|
|
12
12
|
export {
|
|
13
13
|
u as CustomReactSelect
|
|
14
14
|
};
|
|
@@ -3,8 +3,8 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.CgTHIF3K.js";
|
|
4
4
|
import "./chunks/index.CEyLAtio.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
7
|
-
import { D } from "./chunks/Dialog.
|
|
6
|
+
import "./chunks/Button.B7xF1E19.js";
|
|
7
|
+
import { D } from "./chunks/Dialog.B_2pKRnd.js";
|
|
8
8
|
export {
|
|
9
9
|
D as DSDialog
|
|
10
10
|
};
|
|
@@ -3,8 +3,8 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.CgTHIF3K.js";
|
|
4
4
|
import "./chunks/index.CEyLAtio.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
7
|
-
import { D } from "./chunks/Drawer.
|
|
6
|
+
import "./chunks/Button.B7xF1E19.js";
|
|
7
|
+
import { D } from "./chunks/Drawer.HFlBTcqN.js";
|
|
8
8
|
export {
|
|
9
9
|
D as DSDrawer
|
|
10
10
|
};
|
|
@@ -4,8 +4,8 @@ import "./chunks/index.CEyLAtio.js";
|
|
|
4
4
|
import "react";
|
|
5
5
|
import "./asterisk.CR60hx8S.js";
|
|
6
6
|
import "./heading.BXFBZhKv.js";
|
|
7
|
-
import "./
|
|
8
|
-
import { D as l } from "./chunks/Fieldset.
|
|
7
|
+
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
8
|
+
import { D as l } from "./chunks/Fieldset.CjIfmN_5.js";
|
|
9
9
|
export {
|
|
10
10
|
l as DSFieldset
|
|
11
11
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o, jsxs as I } from "react/jsx-runtime";
|
|
3
3
|
import { d as P } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { D as k } from "./chunks/Button.
|
|
5
|
-
import { D as u } from "./chunks/Icon.
|
|
6
|
-
import {
|
|
4
|
+
import { D as k } from "./chunks/Button.B7xF1E19.js";
|
|
5
|
+
import { D as u } from "./chunks/Icon.DGTYCv63.js";
|
|
6
|
+
import { D as S } from "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
7
7
|
import { c as j } from "./chunks/index.CEyLAtio.js";
|
|
8
|
-
import './assets/filelist.H_wKcSPX.css';const F = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"),
|
|
8
|
+
import './assets/filelist.H_wKcSPX.css';const F = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), z = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), y = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), C = /[^\p{L}\d]+/giu, E = "$1\0$2", N = "";
|
|
9
9
|
function R(t) {
|
|
10
10
|
let e = t.trim();
|
|
11
|
-
e = e.replace(F, E).replace(
|
|
11
|
+
e = e.replace(F, E).replace(z, E), e = e.replace(C, "\0");
|
|
12
12
|
let a = 0, s = e.length;
|
|
13
13
|
for (; e.charAt(a) === "\0"; )
|
|
14
14
|
a++;
|
|
@@ -21,7 +21,7 @@ function R(t) {
|
|
|
21
21
|
function A(t) {
|
|
22
22
|
const e = R(t);
|
|
23
23
|
for (let a = 0; a < e.length; a++) {
|
|
24
|
-
const s = e[a], c =
|
|
24
|
+
const s = e[a], c = y.exec(s);
|
|
25
25
|
if (c) {
|
|
26
26
|
const i = c.index + (c[1] ?? c[2]).length;
|
|
27
27
|
e.splice(a, 1, s.slice(0, i), s.slice(i));
|
|
@@ -145,7 +145,7 @@ const W = "ds-file-list_root_qx1ja_1", $ = "ds-file-list_file-wrapper_qx1ja_7",
|
|
|
145
145
|
i("fileListRemoveSelectionButtonLabel", [r.name]),
|
|
146
146
|
"."
|
|
147
147
|
] }),
|
|
148
|
-
r.feedback && /* @__PURE__ */ o(S, {
|
|
148
|
+
r.feedback && /* @__PURE__ */ o(S, { variant: "error", id: x(r.name), message: r.feedback, className: l.feedback }, p)
|
|
149
149
|
] }, p);
|
|
150
150
|
}, e[10] = d, e[11] = v, e[12] = s, e[13] = i, e[14] = n) : n = e[14], m = a.map(n), e[4] = d, e[5] = a, e[6] = v, e[7] = s, e[8] = i, e[9] = m;
|
|
151
151
|
} else
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs as y, jsx as p } from "react/jsx-runtime";
|
|
3
3
|
import { d as L } from "./chunks/index.CgTHIF3K.js";
|
|
4
4
|
import { c as u } from "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import { D as w } from "./chunks/Icon.
|
|
5
|
+
import { D as w } from "./chunks/Icon.DGTYCv63.js";
|
|
6
6
|
import './assets/flag.C7i3MAAP.css';const b = "ds-flag_root_14d3h_1", x = "ds-flag_root--color-grey-light_14d3h_28", G = "ds-flag_root--color-yellow-light_14d3h_31", N = "ds-flag_root--color-red-light_14d3h_34", S = "ds-flag_root--color-green-light_14d3h_37", D = "ds-flag_root--color-orange-base_14d3h_40", C = {
|
|
7
7
|
root: b,
|
|
8
8
|
"root--color-grey-light": "ds-flag_root--color-grey-light_14d3h_28",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsxs as L, jsx as I } from "react/jsx-runtime";
|
|
3
3
|
import { d as R } from "./chunks/index.CgTHIF3K.js";
|
|
4
4
|
import { c as O } from "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import { D as $ } from "./chunks/Icon.
|
|
6
|
-
import { DSSpinner as q } from "./spinner.
|
|
5
|
+
import { D as $ } from "./chunks/Icon.DGTYCv63.js";
|
|
6
|
+
import { DSSpinner as q } from "./spinner.Dht6FspZ.js";
|
|
7
7
|
import { forwardRef as G } from "react";
|
|
8
8
|
import './assets/floatingactionbutton.l0nvFiJU.css';const J = "ds-floating-action-button_root_1any0_1", K = "ds-floating-action-button_root--dark_1any0_70", M = "ds-floating-action-button_root--small_1any0_108", P = "ds-floating-action-button_loader_1any0_129", Q = "ds-floating-action-button_icon--hidden_1any0_141", T = "ds-floating-action-button_label--hidden_1any0_145", e = {
|
|
9
9
|
root: J,
|
|
@@ -5,7 +5,7 @@ import "./chunks/index.CEyLAtio.js";
|
|
|
5
5
|
import "react";
|
|
6
6
|
import "./chunks/helpers.BbWkXTr3.js";
|
|
7
7
|
import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
-
import { a as s, D } from "./chunks/Header.
|
|
8
|
+
import { a as s, D } from "./chunks/Header.BSvyYrIV.js";
|
|
9
9
|
export {
|
|
10
10
|
s as DSHeader,
|
|
11
11
|
D as DSHeaderContext
|
package/index.d.ts
CHANGED
|
@@ -71,6 +71,8 @@ export * from './components/Spinner/Spinner';
|
|
|
71
71
|
export * from './components/Spinner/Spinner.utils';
|
|
72
72
|
export * from './components/Switch/Switch';
|
|
73
73
|
export * from './components/Switch/Switch.utils';
|
|
74
|
+
export * from './components/SystemFeedback/SystemFeedback';
|
|
75
|
+
export * from './components/SystemFeedback/SystemFeedback.utils';
|
|
74
76
|
export * from './components/Tabs/Tabs';
|
|
75
77
|
export * from './components/Tabs/Tabs.utils';
|
|
76
78
|
export * from './components/Text/Text';
|