@stihl-design-system/components 1.0.0-RC.25 → 1.0.0-RC.27
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.Dw3qTPN8.js → accordion.CBaDU14g.js} +2 -2
- package/{actionbutton.wYg4A5a2.js → actionbutton.DEJsLxnQ.js} +2 -2
- package/{actionlink.BoWrs0Mo.js → actionlink.Cs6BTCA3.js} +2 -2
- package/{arialiveregions.DVsA5OTR.js → arialiveregions.Fgcshs5k.js} +1 -1
- package/assets/ActionButton.Ewi0i1hW.css +1 -0
- package/assets/ActionLink.BdPEvuGm.css +1 -0
- package/assets/CustomReactSelect.B9f_KYFg.css +1 -0
- package/assets/Icon.QeJ7TxZs.css +1 -0
- package/assets/InputFile.Dqjz53mb.css +1 -0
- package/assets/InputPassword.BuVQ9dRy.css +1 -0
- package/assets/InputSearch.Dwtb3Mhw.css +1 -0
- package/assets/InputStepper.CBt99L83.css +1 -0
- package/assets/Popover.BDTDsPAt.css +1 -0
- package/assets/Select.CghDnBUQ.css +1 -0
- package/assets/Textarea.BgtH-TTe.css +1 -0
- package/assets/banner.D9EiZqqR.css +1 -0
- package/assets/input.DFwunFjw.css +1 -0
- package/assets/radio.BCB51D_y.css +1 -0
- package/assets/scroller.Hszs1Yq4.css +1 -0
- package/banner.CgQdUb_c.js +55 -0
- package/banner.d.ts +2 -0
- package/{breadcrumb.C07HDyGp.js → breadcrumb.x78HJy5P.js} +3 -3
- package/{button.BBqDvwVm.js → button.BD_04tIG.js} +3 -3
- package/{buttonround.Vy1EygFm.js → buttonround.BT3OfowK.js} +2 -2
- package/{checkbox.CvWI1Jrx.js → checkbox.BktYXQmJ.js} +3 -3
- package/{checkboxgroup.BLpSLo9t.js → checkboxgroup.YK8H0YoX.js} +2 -2
- package/{chip.BsDriMfL.js → chip.BKtNbt4y.js} +2 -2
- package/chipgroup.BWpqUzXF.js +209 -0
- package/chunks/{Accordion.Cjc_1Bu1.js → Accordion.eVOD7J_8.js} +2 -2
- package/chunks/ActionButton.Ck1rGqgm.js +165 -0
- package/chunks/ActionLink.DnUNjoAT.js +138 -0
- package/chunks/{AriaLiveRegions.utils.zSFFD3SF.js → AriaLiveRegions.utils.Cb327d_2.js} +1 -1
- package/chunks/{Breadcrumb.QhD6byzd.js → Breadcrumb.B7g30dIO.js} +3 -3
- package/chunks/{Button.DZNUuPKC.js → Button.CC0qEsuR.js} +4 -4
- package/chunks/{Checkbox.Ch8DBzws.js → Checkbox.BIQAKBVy.js} +3 -3
- package/chunks/{CheckboxGroup.C8D6tjVI.js → CheckboxGroup.DHzpgOWp.js} +3 -3
- package/chunks/{Chip.CHy8cZJz.js → Chip.DifLxHH7.js} +3 -3
- package/chunks/{CustomReactSelect.hdDSE0ON.js → CustomReactSelect.BPnzhvw1.js} +1356 -1593
- package/chunks/{Dialog.DPeGj8-T.js → Dialog.BuEEJ199.js} +2 -2
- package/chunks/{Drawer.BMibxANc.js → Drawer.BXUGmpJI.js} +2 -2
- package/chunks/{Fieldset.DHccz6TP.js → Fieldset.BX46NuLh.js} +2 -2
- package/chunks/Header.Djs1adPW.js +361 -0
- package/chunks/{Icon.CAXZUNWo.js → Icon.C0161Glk.js} +70 -67
- package/chunks/{Input.utils.CCYTBWD_.js → Input.utils.Cnnzvuk4.js} +1 -1
- package/chunks/{InputFile.fltVIulD.js → InputFile.vkkg5Pab.js} +32 -32
- package/chunks/InputPassword.D42uUEGy.js +136 -0
- package/chunks/InputSearch.aIbUXVQU.js +174 -0
- package/chunks/InputStepper.DFEdUWm7.js +263 -0
- package/chunks/{LinkButton.DyTU9sfN.js → LinkButton.DmXVHeyZ.js} +3 -3
- package/chunks/{NavigationTabList.D2NVVTjK.js → NavigationTabList.IQM074Vb.js} +1 -1
- package/chunks/{NavigationTabs.TfdsA8GX.js → NavigationTabs.BofhX8bD.js} +2 -2
- package/chunks/{Notification.BRg1qlng.js → Notification.B-3dPVUE.js} +2 -2
- package/chunks/Popover.hXQTvwwd.js +1685 -0
- package/chunks/{RadioGroup.D9mECdMK.js → RadioGroup.c7YYJdUe.js} +3 -3
- package/chunks/{Select.DCxMPsCm.js → Select.B_EHpk22.js} +25 -25
- package/chunks/{Slider.Cljc14kS.js → Slider.DMSwmGwD.js} +2 -2
- package/chunks/{Tabs.GvcCCCFT.js → Tabs.Bl4K3Kjn.js} +2 -2
- package/chunks/{Text.TS4XdA9e.js → Text.DGWeWF1y.js} +1 -1
- package/chunks/{Textarea.Bs4-nzu8.js → Textarea.Ce26v6ht.js} +54 -54
- package/chunks/{Toast.DawJ9OSY.js → Toast.BHz0vlGz.js} +2 -2
- package/chunks/floating-ui.dom.C9TD1WpB.js +950 -0
- package/chunks/helpers.BbWkXTr3.js +37 -0
- package/chunks/is-animation-disabled.CUl4N3LI.js +20 -0
- package/{combobox.DW_ey38o.js → combobox.AaK6QjRl.js} +1 -1
- package/components/ActionButton/ActionButton.d.ts +9 -5
- package/components/ActionButton/ActionButton.utils.d.ts +4 -2
- package/components/ActionLink/ActionLink.d.ts +9 -5
- package/components/ActionLink/ActionLink.utils.d.ts +4 -2
- package/components/Banner/Banner.d.ts +32 -0
- package/components/Banner/Banner.utils.d.ts +2 -0
- package/components/Button/Button.utils.d.ts +1 -1
- package/components/Header/Header.utils.d.ts +0 -2
- package/components/Icon/Icon.d.ts +1 -1
- package/components/Icon/Icon.utils.d.ts +1 -1
- package/components/Popover/Popover.d.ts +40 -0
- package/components/Popover/Popover.test.d.ts +1 -0
- package/components/Popover/Popover.utils.d.ts +53 -0
- package/components/Popover/Popover.utils.test.d.ts +1 -0
- package/components/Scroller/Scroller.d.ts +20 -0
- package/components/Scroller/Scroller.utils.d.ts +3 -0
- package/components/Tabs/TabList/TabList.d.ts +1 -1
- package/components/Tabs/TabList/TabList.utils.d.ts +0 -4
- package/connected-icon.svg +1 -0
- package/{customreactselect.DcH7h1mb.js → customreactselect.Bu1i8wkh.js} +4 -4
- package/{dialog.D6d_WXOM.js → dialog.CGsUCqhR.js} +2 -2
- package/{drawer.BmQWFOuF.js → drawer.BcAo4TO0.js} +2 -2
- package/{fieldset.D6q9YXrO.js → fieldset.DM9ELUJa.js} +2 -2
- package/{filelist.Dnd5nOdw.js → filelist.Cj9U-Jx8.js} +3 -3
- package/{flag.BR312AU-.js → flag.BHaAfp6B.js} +1 -1
- package/{floatingactionbutton.Do6eNSHq.js → floatingactionbutton.DSZXUHB_.js} +2 -2
- package/{header.5iwPmK5V.js → header.WhQHSuB1.js} +2 -2
- package/{icon.HkVs68n_.js → icon.DwfGhFCd.js} +1 -1
- package/icon.svg +1 -1
- package/imow-icon.svg +1 -0
- package/index.d.ts +6 -0
- package/index.es.js +201 -188
- package/{input.mPceLGnf.js → input.DhxUW3zc.js} +37 -37
- package/{inputfile.CIpE9i-3.js → inputfile.Cmkxf4Vq.js} +6 -6
- package/{inputpassword.DkiyI-yo.js → inputpassword.CaJBCMA0.js} +3 -3
- package/{inputsearch.DcOp_VUd.js → inputsearch.B06DhYzo.js} +4 -4
- package/{inputstepper.D7TpDXst.js → inputstepper.DNY7nzP8.js} +4 -4
- package/{link.B5NZ1QKr.js → link.DGuYGfh2.js} +2 -2
- package/{linkbutton.CMVcQVxI.js → linkbutton.B3q0B_yb.js} +3 -3
- package/{logo.B9taqlZR.js → logo.C96KaG1P.js} +1 -1
- package/mystihl-icon.svg +1 -0
- package/{navigationtablist.BMJTC9qo.js → navigationtablist.CS9yEGdP.js} +2 -2
- package/{navigationtabs.BQeKKIFy.js → navigationtabs.DQ1kE-h4.js} +2 -2
- package/{notification.Bzli8Qlq.js → notification.D8BDaU5x.js} +3 -3
- package/{optioncheckbox.DYKRBTy0.js → optioncheckbox.CEEPAq0u.js} +1 -1
- package/package.json +4 -2
- package/partials/assets.const.js +2 -0
- package/partials/copyAssets.js +4 -2
- package/partials/index.js +109 -81
- package/partials/lib/partials.d.ts +1 -1
- package/popover.BFx99cHg.js +10 -0
- package/popover.d.ts +2 -0
- package/radio.Be4pFOLf.js +134 -0
- package/{radiogroup.BnMkpjvV.js → radiogroup.BRjwP01C.js} +3 -3
- package/scroller.CCA6kFR6.js +123 -0
- package/scroller.d.ts +2 -0
- package/{select.BSvjDIVC.js → select.3zE96eWc.js} +3 -3
- package/{skiptocontent.CQ4aARqd.js → skiptocontent.D1UkPmhD.js} +2 -2
- package/{slider.LRlFFlYL.js → slider.CTCf7Xdm.js} +2 -2
- package/{spinner.t5FHjIEK.js → spinner.CeGt8DxU.js} +1 -1
- package/{switch.QUUSE9ZF.js → switch.CtULjgZq.js} +2 -2
- package/{systemfeedback.BpKZEv4U.js → systemfeedback.CLQCbTF6.js} +1 -1
- package/tablist.Dzwe0_J4.js +256 -0
- package/{tabs.CXkSN2kd.js → tabs.yudjJk9d.js} +2 -2
- package/{text.CPwbk8Gy.js → text.ZOUuesnU.js} +2 -2
- package/{textarea.D0ADOdR6.js → textarea.B_3fPtmd.js} +3 -3
- package/{toast.CYYvK4DJ.js → toast.Bhpwj1NF.js} +3 -3
- package/{toastmanager.k9iGb7MN.js → toastmanager.BHk65ynQ.js} +3 -3
- package/topbar.2b8fjmA4.js +11 -0
- package/utils/get-rect.d.ts +4 -0
- package/utils/get-rect.test.d.ts +1 -0
- package/utils/helpers.d.ts +10 -0
- package/utils/index.d.ts +2 -1
- package/utils/is-animation-disabled.d.ts +14 -0
- package/utils/is-animation-disabled.test.d.ts +1 -0
- package/assets/ActionButton.DZVAnm-p.css +0 -1
- package/assets/ActionLink.DuklSL3c.css +0 -1
- package/assets/CustomReactSelect.B8l6al4B.css +0 -1
- package/assets/Icon.ZNrKuqgu.css +0 -1
- package/assets/InputFile.Dx_CULYq.css +0 -1
- package/assets/InputPassword.CkHF5zCh.css +0 -1
- package/assets/InputSearch.BV8Q2EUL.css +0 -1
- package/assets/InputStepper.DzzrAdma.css +0 -1
- package/assets/Select.e1fTfWmm.css +0 -1
- package/assets/Textarea.BGV7Z0Z9.css +0 -1
- package/assets/input.Cj4tF_F7.css +0 -1
- package/assets/radio.CqaNn1Gz.css +0 -1
- package/chipgroup.D1Km301k.js +0 -186
- package/chunks/ActionButton.DFI8P9-f.js +0 -159
- package/chunks/ActionLink.CLQ1yQZF.js +0 -132
- package/chunks/Header.DPafHEKw.js +0 -384
- package/chunks/InputPassword.C4QhwijC.js +0 -136
- package/chunks/InputSearch.DdWBmEmu.js +0 -174
- package/chunks/InputStepper.BRzbuEho.js +0 -263
- package/chunks/helpers.CcqWV-wZ.js +0 -8
- package/radio.Dm9bDBzM.js +0 -134
- package/tablist.DGGeFOi1.js +0 -266
- package/topbar.BPSDyH0N.js +0 -10
- package/utils/isAnimationDisabled.d.ts +0 -1
- /package/components/{Tabs/TabList/TabList.utils.test.d.ts → Banner/Banner.test.d.ts} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import u from "react";
|
|
3
|
+
const l = (e) => typeof e != "number" || isNaN(e) ? 0 : e / 16, d = (e, r) => `[STIHL Design System] - [${e}]: ${r}`, m = (e, r) => `The "${e}" prop is required. Please add the "${e}" prop to the ${r} component.`, y = (e, r) => e == null ? void 0 : e.closest(r), c = (e, r, a) => {
|
|
4
|
+
let s = !1;
|
|
5
|
+
const n = {
|
|
6
|
+
fn: r,
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- any is needed here to allow any React component type to be checked
|
|
8
|
+
displayName: r.displayName || r.name
|
|
9
|
+
};
|
|
10
|
+
return u.Children.forEach(e, (t) => {
|
|
11
|
+
if (s || !u.isValidElement(t)) return;
|
|
12
|
+
if (t.type === n.fn) {
|
|
13
|
+
s = !0;
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
const i = t.type, o = (
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- any is needed here to allow any React component type to be checked
|
|
18
|
+
i.displayName || i.name
|
|
19
|
+
);
|
|
20
|
+
if (typeof o == "string" && o === n.displayName) {
|
|
21
|
+
s = !0;
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const p = t.props;
|
|
25
|
+
if (a && p.children && c(p.children, n.fn, a)) {
|
|
26
|
+
s = !0;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
}), s;
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
y as a,
|
|
33
|
+
c,
|
|
34
|
+
d as g,
|
|
35
|
+
l as p,
|
|
36
|
+
m as r
|
|
37
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { h as i } from "./has-window.ut_-aShB.js";
|
|
3
|
+
const n = (t) => i && (t == null ? void 0 : t.getBoundingClientRect()) || DOMRect.fromRect({
|
|
4
|
+
x: 0,
|
|
5
|
+
y: 0,
|
|
6
|
+
width: 0,
|
|
7
|
+
height: 0
|
|
8
|
+
}), r = () => {
|
|
9
|
+
if (i) {
|
|
10
|
+
const {
|
|
11
|
+
matches: t
|
|
12
|
+
} = window.matchMedia("(prefers-reduced-motion: reduce)"), e = getComputedStyle(document.documentElement).getPropertyValue("--ds-animation-duration").trim();
|
|
13
|
+
return e === "0s" || e === "0ms" || t;
|
|
14
|
+
} else
|
|
15
|
+
return !0;
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
n as g,
|
|
19
|
+
r as i
|
|
20
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as S } from "react/jsx-runtime";
|
|
3
3
|
import { d as h } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { v as q, c as L } from "./chunks/CustomReactSelect.
|
|
4
|
+
import { v as q, c as L } from "./chunks/CustomReactSelect.BPnzhvw1.js";
|
|
5
5
|
import { forwardRef as R } from "react";
|
|
6
6
|
const j = R((b, x) => {
|
|
7
7
|
const o = h.c(28);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import { IconName, SelectedAriaAttributes } from '../../types';
|
|
3
3
|
import { IconProps } from '../Icon/Icon';
|
|
4
|
-
import { ActionButtonAriaAttribute, ActionButtonChevronDirection, ActionButtonIconPosition, ActionButtonIndentLevel, ActionButtonWeight } from './ActionButton.utils';
|
|
4
|
+
import { ActionButtonAriaAttribute, ActionButtonChevronDirection, ActionButtonIconPosition, ActionButtonIconSize, ActionButtonIndentLevel, ActionButtonWeight } from './ActionButton.utils';
|
|
5
5
|
export interface ActionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
6
|
/** Content within the button. */
|
|
7
7
|
children: React.ReactNode;
|
|
@@ -22,13 +22,17 @@ export interface ActionButtonProps extends ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
22
22
|
disabled?: boolean;
|
|
23
23
|
/** Name of the icon to display. */
|
|
24
24
|
iconName?: IconName;
|
|
25
|
-
/** Position of the icon.
|
|
25
|
+
/** Position of the icon. `iconPosition='top'` requires either an `iconName` or `iconSource` to be set.
|
|
26
26
|
* @default 'left'
|
|
27
27
|
*/
|
|
28
28
|
iconPosition?: ActionButtonIconPosition;
|
|
29
|
+
/** Size of the icon. Only available with `iconPosition='left'` and a custom `iconSource`.
|
|
30
|
+
* @default 'large'
|
|
31
|
+
*/
|
|
32
|
+
iconSize?: ActionButtonIconSize;
|
|
29
33
|
/** URL or path for a custom icon. */
|
|
30
34
|
iconSource?: IconProps['source'];
|
|
31
|
-
/** Indent level of the button, used to align the button with other elements e.g. inside a DSAccordion.
|
|
35
|
+
/** Indent level of the button, used to align the button with other elements e.g. inside a DSAccordion. Only available with `iconPosition='left'`.
|
|
32
36
|
* @default 0
|
|
33
37
|
*/
|
|
34
38
|
indentLevel?: ActionButtonIndentLevel;
|
|
@@ -38,11 +42,11 @@ export interface ActionButtonProps extends ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
38
42
|
isActive?: boolean;
|
|
39
43
|
/** Number Indicator value displayed next to the label or above the icon. */
|
|
40
44
|
numberIndicatorValue?: string;
|
|
41
|
-
/** Stretches the button over the parent's width.
|
|
45
|
+
/** Stretches the button over the parent's width. Only available with `iconPosition='left'`.
|
|
42
46
|
* @default false
|
|
43
47
|
*/
|
|
44
48
|
stretched?: boolean;
|
|
45
|
-
/** Defines the weight.
|
|
49
|
+
/** Defines the weight. Only available with `iconPosition='left'`.
|
|
46
50
|
* @default 'normal'
|
|
47
51
|
*/
|
|
48
52
|
weight?: ActionButtonWeight;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ActionButtonProps } from './ActionButton';
|
|
2
2
|
export declare const ACTION_BUTTON_ICON_POSITION: readonly ["left", "top"];
|
|
3
3
|
export type ActionButtonIconPosition = (typeof ACTION_BUTTON_ICON_POSITION)[number];
|
|
4
|
+
export declare const ACTION_BUTTON_ICON_SIZE: readonly ["large", "x-large"];
|
|
5
|
+
export type ActionButtonIconSize = (typeof ACTION_BUTTON_ICON_SIZE)[number];
|
|
4
6
|
export declare const ACTION_BUTTON_INDENT_LEVEL: readonly [0, 1];
|
|
5
7
|
export type ActionButtonIndentLevel = (typeof ACTION_BUTTON_INDENT_LEVEL)[number];
|
|
6
8
|
export declare const ACTION_BUTTON_WEIGHT: readonly ["normal", "bold"];
|
|
@@ -8,7 +10,7 @@ export type ActionButtonWeight = (typeof ACTION_BUTTON_WEIGHT)[number];
|
|
|
8
10
|
export declare const ACTION_BUTTON_CHEVRON_DIRECTION: readonly ["up", "down", "right", "left"];
|
|
9
11
|
export type ActionButtonChevronDirection = (typeof ACTION_BUTTON_CHEVRON_DIRECTION)[number];
|
|
10
12
|
export type ActionButtonAriaAttribute = 'aria-label' | 'aria-expanded' | 'aria-pressed' | 'aria-haspopup';
|
|
11
|
-
type ValidationProps = Pick<ActionButtonProps, 'iconName' | 'iconSource' | 'iconPosition' | 'indentLevel' | 'stretched' | 'weight'>;
|
|
13
|
+
type ValidationProps = Pick<ActionButtonProps, 'iconName' | 'iconSize' | 'iconSource' | 'iconPosition' | 'indentLevel' | 'stretched' | 'weight'>;
|
|
12
14
|
/**
|
|
13
15
|
* Performs runtime validation on a subset of `DSActionButton` props to detect
|
|
14
16
|
* misconfigurations during development.
|
|
@@ -16,5 +18,5 @@ type ValidationProps = Pick<ActionButtonProps, 'iconName' | 'iconSource' | 'icon
|
|
|
16
18
|
* Intended for development use only; should not be used in production environments.
|
|
17
19
|
*
|
|
18
20
|
*/
|
|
19
|
-
export declare const validateActionButtonProps: ({ iconName, iconSource, iconPosition, indentLevel, stretched, weight, }: ValidationProps) => void;
|
|
21
|
+
export declare const validateActionButtonProps: ({ iconName, iconSize, iconSource, iconPosition, indentLevel, stretched, weight, }: ValidationProps) => void;
|
|
20
22
|
export {};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { CommonLinkProps } from '../LinkButton/LinkButton';
|
|
2
|
-
import { ActionLinkIconPosition, ActionLinkIndentLevel, ActionLinkWeight } from './ActionLink.utils';
|
|
2
|
+
import { ActionLinkIconPosition, ActionLinkIconSize, ActionLinkIndentLevel, ActionLinkWeight } from './ActionLink.utils';
|
|
3
3
|
export interface ActionLinkProps extends Omit<CommonLinkProps, 'iconPosition' | 'theme'> {
|
|
4
4
|
/** Content within the link. */
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
-
/** The position of the icon.
|
|
6
|
+
/** The position of the icon. `iconPosition='top'` requires either an `iconName` or `iconSource` to be set.
|
|
7
7
|
* @default 'left'
|
|
8
8
|
*/
|
|
9
9
|
iconPosition?: ActionLinkIconPosition;
|
|
10
|
-
/**
|
|
10
|
+
/** Size of the icon. Only available with `iconPosition='left'` and a custom `iconSource`.
|
|
11
|
+
* @default 'large'
|
|
12
|
+
*/
|
|
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'`.
|
|
11
15
|
* @default 0
|
|
12
16
|
*/
|
|
13
17
|
indentLevel?: ActionLinkIndentLevel;
|
|
@@ -17,11 +21,11 @@ export interface ActionLinkProps extends Omit<CommonLinkProps, 'iconPosition' |
|
|
|
17
21
|
isActive?: boolean;
|
|
18
22
|
/** Number Indicator value displayed next to the label or above the icon. */
|
|
19
23
|
numberIndicatorValue?: string;
|
|
20
|
-
/** Stretches the link over the parent's width.
|
|
24
|
+
/** Stretches the link over the parent's width. Only available with `iconPosition='left'`.
|
|
21
25
|
* @default false
|
|
22
26
|
*/
|
|
23
27
|
stretched?: boolean;
|
|
24
|
-
/** Defines the weight.
|
|
28
|
+
/** Defines the weight. Only available with `iconPosition='left'`.
|
|
25
29
|
* @default 'normal'
|
|
26
30
|
*/
|
|
27
31
|
weight?: ActionLinkWeight;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ActionLinkProps } from './ActionLink';
|
|
2
2
|
export declare const ACTION_LINK_ICON_POSITION: readonly ["left", "top"];
|
|
3
3
|
export type ActionLinkIconPosition = (typeof ACTION_LINK_ICON_POSITION)[number];
|
|
4
|
+
export declare const ACTION_LINK_ICON_SIZE: readonly ["large", "x-large"];
|
|
5
|
+
export type ActionLinkIconSize = (typeof ACTION_LINK_ICON_SIZE)[number];
|
|
4
6
|
export declare const ACTION_LINK_INDENT_LEVEL: readonly [0, 1];
|
|
5
7
|
export type ActionLinkIndentLevel = (typeof ACTION_LINK_INDENT_LEVEL)[number];
|
|
6
8
|
export declare const ACTION_LINK_WEIGHT: readonly ["normal", "bold"];
|
|
7
9
|
export type ActionLinkWeight = (typeof ACTION_LINK_WEIGHT)[number];
|
|
8
|
-
type ValidationProps = Pick<ActionLinkProps, 'iconName' | 'iconSource' | 'iconPosition' | 'indentLevel' | 'stretched' | 'weight'>;
|
|
10
|
+
type ValidationProps = Pick<ActionLinkProps, 'iconName' | 'iconSize' | 'iconSource' | 'iconPosition' | 'indentLevel' | 'stretched' | 'weight'>;
|
|
9
11
|
/**
|
|
10
12
|
* Performs runtime validation on a subset of `DSActionLink` props to detect
|
|
11
13
|
* misconfigurations during development.
|
|
@@ -13,5 +15,5 @@ type ValidationProps = Pick<ActionLinkProps, 'iconName' | 'iconSource' | 'iconPo
|
|
|
13
15
|
* Intended for development use only; should not be used in production environments.
|
|
14
16
|
*
|
|
15
17
|
*/
|
|
16
|
-
export declare const validateActionLinkProps: ({ iconName, iconSource, iconPosition, indentLevel, stretched, weight, }: ValidationProps) => void;
|
|
18
|
+
export declare const validateActionLinkProps: ({ iconName, iconSize, iconSource, iconPosition, indentLevel, stretched, weight, }: ValidationProps) => void;
|
|
17
19
|
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HTMLAttributes, JSX } from 'react';
|
|
2
|
+
import { BannerVariant } from './Banner.utils';
|
|
3
|
+
export interface BannerProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Content of the Banner. */
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** Close button props:
|
|
7
|
+
*
|
|
8
|
+
* `data-*`: Custom data attributes.
|
|
9
|
+
*
|
|
10
|
+
* `label`: Accessibility label for the close button.
|
|
11
|
+
* (default) 'Close banner'
|
|
12
|
+
*/
|
|
13
|
+
closeButtonProps?: {
|
|
14
|
+
[key: `data-${string}`]: string | undefined;
|
|
15
|
+
label?: string;
|
|
16
|
+
};
|
|
17
|
+
/** Defines the variant.
|
|
18
|
+
* @default 'default'
|
|
19
|
+
*/
|
|
20
|
+
variant?: BannerVariant;
|
|
21
|
+
/** Shows a close button if provided and is called when the close button is clicked. */
|
|
22
|
+
onClose?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Use the Banner component to highlight temporary, non-critical marketing content—such as promotions, campaigns,
|
|
26
|
+
* or events—without disrupting the user experience.
|
|
27
|
+
*
|
|
28
|
+
* Avoid using it for critical updates or system messages; use notifications for those instead.
|
|
29
|
+
*
|
|
30
|
+
* Design in Figma: [Button](https://www.figma.com/design/E1V1SOH56AJFI8POcjNHhO/Header-open-topics?node-id=6901-29457&t=lCfYTKhxZ4XCLjnV-4)
|
|
31
|
+
* */
|
|
32
|
+
export declare const DSBanner: ({ className, closeButtonProps, children, variant, onClose, ...rest }: BannerProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from './Button';
|
|
2
2
|
export declare const BUTTON_SIZE: readonly ["medium", "small"];
|
|
3
3
|
export type ButtonSize = (typeof BUTTON_SIZE)[number];
|
|
4
|
-
export declare const BUTTON_VARIANT: readonly ["
|
|
4
|
+
export declare const BUTTON_VARIANT: readonly ["highlight", "filled", "outline", "ghost", "navigation"];
|
|
5
5
|
export type ButtonVariant = (typeof BUTTON_VARIANT)[number];
|
|
6
6
|
export type ButtonIconPosition = 'left' | 'right';
|
|
7
7
|
export type ButtonAriaAttribute = 'aria-label' | 'aria-expanded' | 'aria-pressed' | 'aria-haspopup';
|
|
@@ -10,8 +10,6 @@ export interface SlotProps {
|
|
|
10
10
|
export interface OptionalSlotProps extends Omit<SlotProps, 'children'> {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}
|
|
13
|
-
/** ========== Recursive check util (TS-friendly) ========== */
|
|
14
|
-
export declare const checkIfChildExists: (children: React.ReactNode, target: React.ComponentType<any>, shouldSearchNested?: boolean) => boolean;
|
|
15
13
|
export declare const validateHeaderChildren: ({ hasBrandArea, hasPrimaryArea, hasSecondaryArea, }: {
|
|
16
14
|
hasBrandArea: boolean;
|
|
17
15
|
hasPrimaryArea: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconName } from '../../types';
|
|
2
2
|
export type IconAriaAttribute = 'aria-label';
|
|
3
|
-
export declare const ICON_SIZE: readonly ["large", "medium", "small", "x-small"];
|
|
3
|
+
export declare const ICON_SIZE: readonly ["x-large", "large", "medium", "small", "x-small"];
|
|
4
4
|
export type IconSize = (typeof ICON_SIZE)[number];
|
|
5
5
|
export declare const useDynamicSvgImport: (iconName: IconName) => {
|
|
6
6
|
isLoading: boolean;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HTMLProps, JSX } from 'react';
|
|
2
|
+
import { OpenChangeReason, Placement } from '@floating-ui/react';
|
|
3
|
+
export interface PopoverProps {
|
|
4
|
+
/** Content within the Popover. */
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** Opens the Popover on initial render.
|
|
7
|
+
* @default false
|
|
8
|
+
*/
|
|
9
|
+
initialOpen?: boolean;
|
|
10
|
+
/** The placement of the Popover relative to the anchor element.
|
|
11
|
+
* @default 'bottom-start'
|
|
12
|
+
*/
|
|
13
|
+
placement?: Placement;
|
|
14
|
+
/** The offset distance in "px" between the Popover and its anchor element.
|
|
15
|
+
* @default 6
|
|
16
|
+
*/
|
|
17
|
+
popoverOffset?: number;
|
|
18
|
+
/** Controls the open state of the Popover. If provided, it will be a controlled component.
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
isOpen?: boolean;
|
|
22
|
+
/** A function that is called when the open state should change. */
|
|
23
|
+
onOpenChange?: (isOpen: boolean, event?: Event, reason?: OpenChangeReason) => void;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The Popover component is used to display additional information or actions related to an anchor element. It can be positioned relative to the anchor and supports various placements and offsets.
|
|
27
|
+
*
|
|
28
|
+
* Design in Figma: [Popover](https://www.figma.com/design/Ie2r0R9QwjEc7O3nrFbXhV/branch/DNB69TwlN0FaaVg7yVsYu4/Web-Pattern-Library?node-id=6263-62113&t=NnUduFxcjRqgbtO9-11)
|
|
29
|
+
* */
|
|
30
|
+
export declare const DSPopover: {
|
|
31
|
+
({ children, ...rest }: PopoverProps): JSX.Element;
|
|
32
|
+
/** attach static members */
|
|
33
|
+
Anchor: import('react').ForwardRefExoticComponent<Omit<HTMLProps<HTMLElement> & PopoverAnchorProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
34
|
+
Content: import('react').ForwardRefExoticComponent<Omit<HTMLProps<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
35
|
+
displayName: string;
|
|
36
|
+
};
|
|
37
|
+
interface PopoverAnchorProps {
|
|
38
|
+
children: React.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PopoverProps } from './Popover';
|
|
2
|
+
export declare const usePopover: ({ initialOpen, placement, isOpen: controlledOpen, popoverOffset, onOpenChange: setControlledOpen, }?: PopoverProps) => {
|
|
3
|
+
placement: import('@floating-ui/utils').Placement;
|
|
4
|
+
strategy: import('@floating-ui/utils').Strategy;
|
|
5
|
+
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
isPositioned: boolean;
|
|
9
|
+
update: () => void;
|
|
10
|
+
floatingStyles: React.CSSProperties;
|
|
11
|
+
refs: {
|
|
12
|
+
reference: import('react').MutableRefObject<import('@floating-ui/react-dom').ReferenceType | null>;
|
|
13
|
+
floating: React.MutableRefObject<HTMLElement | null>;
|
|
14
|
+
setReference: (node: import('@floating-ui/react-dom').ReferenceType | null) => void;
|
|
15
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
16
|
+
} & import('@floating-ui/react').ExtendedRefs<import('@floating-ui/react').ReferenceType>;
|
|
17
|
+
elements: {
|
|
18
|
+
reference: import('@floating-ui/react-dom').ReferenceType | null;
|
|
19
|
+
floating: HTMLElement | null;
|
|
20
|
+
} & import('@floating-ui/react').ExtendedElements<import('@floating-ui/react').ReferenceType>;
|
|
21
|
+
context: {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
placement: import('@floating-ui/utils').Placement;
|
|
25
|
+
strategy: import('@floating-ui/utils').Strategy;
|
|
26
|
+
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
27
|
+
isPositioned: boolean;
|
|
28
|
+
update: () => void;
|
|
29
|
+
floatingStyles: React.CSSProperties;
|
|
30
|
+
open: boolean;
|
|
31
|
+
onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
|
|
32
|
+
events: import('@floating-ui/react').FloatingEvents;
|
|
33
|
+
dataRef: React.MutableRefObject<import('@floating-ui/react').ContextData>;
|
|
34
|
+
nodeId: string | undefined;
|
|
35
|
+
floatingId: string | undefined;
|
|
36
|
+
refs: import('@floating-ui/react').ExtendedRefs<import('@floating-ui/react').ReferenceType>;
|
|
37
|
+
elements: import('@floating-ui/react').ExtendedElements<import('@floating-ui/react').ReferenceType>;
|
|
38
|
+
};
|
|
39
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
40
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
41
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
42
|
+
active?: boolean;
|
|
43
|
+
selected?: boolean;
|
|
44
|
+
}) => Record<string, unknown>;
|
|
45
|
+
open: boolean;
|
|
46
|
+
popoverOffset: number;
|
|
47
|
+
setOpen: (isOpen: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
|
|
48
|
+
};
|
|
49
|
+
export declare const validatePopoverAnchor: (children: React.ReactNode) => void;
|
|
50
|
+
export declare const validatePopoverChildren: ({ hasContent, hasAnchor, }: {
|
|
51
|
+
hasContent: boolean;
|
|
52
|
+
hasAnchor: boolean;
|
|
53
|
+
}) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, JSX } from 'react';
|
|
2
|
+
export interface ScrollerProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** Content to be displayed within the scroller. */
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/** Scrolls the scroll area to the left either smooth or immediately.
|
|
6
|
+
* `{scrollPosition: number;`
|
|
7
|
+
* `isSmooth?: boolean;}`
|
|
8
|
+
*/
|
|
9
|
+
scrollToPosition?: {
|
|
10
|
+
scrollPosition: number;
|
|
11
|
+
isSmooth?: boolean;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The <DSScroller> component enables horizontal scrolling when a single item or a group of items
|
|
16
|
+
* exceeds the container width, allowing users to navigate content side-to-side seamlessly.
|
|
17
|
+
*
|
|
18
|
+
* Design in Figma: [Scroller](https://www.figma.com/design/Ie2r0R9QwjEc7O3nrFbXhV/Web-Pattern-Library?node-id=6338-35848&t=cIB1PZbp81CoCSvk-4)
|
|
19
|
+
*/
|
|
20
|
+
export declare const DSScroller: ({ children, className, scrollToPosition, ...rest }: ScrollerProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch, HTMLAttributes,
|
|
1
|
+
import { Dispatch, HTMLAttributes, JSX, SetStateAction } from 'react';
|
|
2
2
|
import { SelectedAriaAttributes } from '../../../types';
|
|
3
3
|
import { NavigationTab } from '../../NavigationTabs/NavigationTabs';
|
|
4
4
|
import { Tab } from '../Tabs';
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns the bounding rectangle of a DOM element or a default DOMRect object with 0 values if unavailable.
|
|
3
|
-
*/
|
|
4
|
-
export declare const getRect: (element: HTMLElement | null) => DOMRect;
|
|
5
1
|
export declare const SCROLL_MARGIN_INLINE = 48;
|
|
6
2
|
export type TabListAriaAttributes = 'aria-label' | 'aria-labelledby';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512"><path fill="#F37A1F" d="M0 0h512v512H0z"/><path fill="#fff" d="M366.806 304.042c-17.69 35.56-54.39 60.01-96.8 60.04-57.87.04-105.97-46.12-108.17-103.95-2.35-61.65 46.94-112.38 108.08-112.38 42.34 0 78.99 24.33 96.75 59.77l48.01-48.01c-31.31-46.94-84.85-77.78-145.57-77.51-96.25.44-174.4 80.08-173.09 176.33 1.28 94.95 78.65 171.51 173.9 171.51 60.49 0 113.77-30.89 144.93-77.76l-48.04-48.04Z"/><path fill="#fff" d="M320.115 257.376c-.92-.92-.92-2.41 0-3.32l36.3-36.3c-9.38-21.21-26.31-38.31-47.39-47.92l-84.21 84.21c-.92.91-.92 2.4 0 3.32l84.5 84.5c21.05-9.67 37.93-26.83 47.23-48.07l-36.43-36.43"/></svg>
|
|
@@ -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.BPnzhvw1.js";
|
|
7
7
|
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
8
8
|
import "./asterisk.CR60hx8S.js";
|
|
9
|
-
import "./chunks/Icon.
|
|
10
|
-
import "./systemfeedback.
|
|
11
|
-
import "./optioncheckbox.
|
|
9
|
+
import "./chunks/Icon.C0161Glk.js";
|
|
10
|
+
import "./systemfeedback.CLQCbTF6.js";
|
|
11
|
+
import "./optioncheckbox.CEEPAq0u.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.CC0qEsuR.js";
|
|
7
|
+
import { D } from "./chunks/Dialog.BuEEJ199.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.CC0qEsuR.js";
|
|
7
|
+
import { D } from "./chunks/Drawer.BXUGmpJI.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 "./systemfeedback.
|
|
8
|
-
import { D as l } from "./chunks/Fieldset.
|
|
7
|
+
import "./systemfeedback.CLQCbTF6.js";
|
|
8
|
+
import { D as l } from "./chunks/Fieldset.BX46NuLh.js";
|
|
9
9
|
export {
|
|
10
10
|
l as DSFieldset
|
|
11
11
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { DSSystemFeedback as S } from "./systemfeedback.
|
|
4
|
+
import { D as k } from "./chunks/Button.CC0qEsuR.js";
|
|
5
|
+
import { D as u } from "./chunks/Icon.C0161Glk.js";
|
|
6
|
+
import { DSSystemFeedback as S } from "./systemfeedback.CLQCbTF6.js";
|
|
7
7
|
import { c as j } from "./chunks/index.CEyLAtio.js";
|
|
8
8
|
import './assets/filelist.H_wKcSPX.css';const F = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), y = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), z = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), C = /[^\p{L}\d]+/giu, E = "$1\0$2", N = "";
|
|
9
9
|
function R(t) {
|
|
@@ -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.C0161Glk.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.C0161Glk.js";
|
|
6
|
+
import { DSSpinner as q } from "./spinner.CeGt8DxU.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,
|
|
@@ -3,9 +3,9 @@ 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/helpers.
|
|
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.Djs1adPW.js";
|
|
9
9
|
export {
|
|
10
10
|
s as DSHeader,
|
|
11
11
|
D as DSHeaderContext
|
package/icon.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512"><path fill="#F37A1F" d="M512 0H0v512h512V0Z"/><path fill="#fff" d="m154.502 145.006-25.035 81.859c-11.126 36.45 9.14 63.364 45.048 63.364h117.226a7.613 7.613 0 0 1 6.007 3.271 7.625 7.625 0 0 1 .965 6.771l-6.322 20.592a15.536 15.536 0 0 1-13.077 10.042H95.076l-23.084 75.502H309.55c26.191 0 48.589-12.138 60.04-49.636l23.77-77.741c11.235-36.992-9.681-63.255-42.446-63.255H233.182c-6.502 0-9.103-4.769-7.225-10.549l6.286-20.591a15.53 15.53 0 0 1 15.353-12.174h169.462l23.084-75.501H215.12c-32.116 0-52.237 20.591-60.618 48.046Z"/></svg>
|
package/imow-icon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512"><path fill="#F37A1F" d="M512 0H0v512h512V0Z"/><path fill="#fff" d="M305.948 264.021c-3.583-2.444-7.816-2.444-12.05-2.444H251.72c-8.305 0-15.96.978-18.076 7.816-1.464 4.887-13.68 45.924-17.912 58.624-.652 1.956-.978 3.746-.978 5.215 0 4.72 2.606 7.165 4.885 8.793 3.421 2.442 7.817 2.442 12.051 2.442h42.176c8.306 0 15.798-.979 17.915-7.818 1.464-5.048 13.842-45.921 18.075-58.624a15.41 15.41 0 0 0 .813-5.048c0-4.723-2.605-7.328-4.721-8.956Zm-21.821 20.028-11.725 38.108c-.814 2.116-2.607 2.116-3.744 2.116h-24.755c-2.605 0-3.093-.977-2.605-2.604l11.888-38.108c.651-2.278 2.443-2.116 3.582-2.116h24.916c2.443 0 2.931.976 2.443 2.604ZM391.603 310.92l-.488-49.343h-22.473l-28.01 48.04-.325-48.04h-21.332l.163 82.89h25.728l25.405-45.435-.488 45.435h26.705l51.623-82.89h-27.357l-29.151 49.343ZM59.566 261.577l-6.224 20.178h24.59l6.223-20.178H59.566ZM34 344.464h24.59l15.801-51.229h-24.59L34 344.464ZM180.721 261.577l-30.453 48.692-2.442-48.692h-38.759l-26.217 82.89h23.775l19.541-62.208 3.421 62.208h21.821l40.06-62.208-19.378 62.208h23.776l25.567-82.89h-40.712ZM465.66 256.548c-6.967 0-12.34 5.406-12.34 12.34 0 6.935 5.373 12.341 12.34 12.341 6.968 0 12.34-5.406 12.34-12.341 0-6.932-5.372-12.34-12.34-12.34Zm0 22.924c-5.972 0-10.418-4.678-10.418-10.584 0-5.904 4.446-10.584 10.418-10.584 5.971 0 10.415 4.679 10.415 10.584 0 5.908-4.444 10.584-10.415 10.584Z"/><path fill="#fff" d="M471.3 265.697c0-2.553-1.427-3.947-4.645-3.947h-5.473v14.266h1.758v-6.338h2.954l4.012 6.338h2.058l-4.246-6.338c1.921-.33 3.582-1.459 3.582-3.981Zm-6.037 2.488h-2.325v-4.944h3.22c1.726 0 3.38.466 3.38 2.456 0 2.423-2.12 2.488-4.275 2.488ZM124.046 208.746l25.839-41.246h34.617l-21.648 70.304H142.67l16.382-52.752-33.934 52.752h-18.526l-2.926-52.752-16.575 52.752H66.906L88.4 167.5h33.598l2.049 41.246ZM233.417 167.5h24.182l-38.844 46.515-7.276 23.787h-20.868l7.411-24.084-10.627-46.218h19.403l5.168 26.619 21.451-26.619Z"/></svg>
|
package/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export * from './components/ActionButton/ActionButton.utils';
|
|
|
5
5
|
export * from './components/ActionLink/ActionLink';
|
|
6
6
|
export * from './components/ActionLink/ActionLink.utils';
|
|
7
7
|
export * from './components/AriaLiveRegions/AriaLiveRegions';
|
|
8
|
+
export * from './components/Banner/Banner';
|
|
9
|
+
export * from './components/Banner/Banner.utils';
|
|
8
10
|
export * from './components/Breadcrumb/Breadcrumb';
|
|
9
11
|
export * from './components/Breadcrumb/Breadcrumb.utils';
|
|
10
12
|
export * from './components/Button/Button';
|
|
@@ -54,8 +56,12 @@ export * from './components/NavigationTabs/NavigationTabs';
|
|
|
54
56
|
export * from './components/NavigationTabs/NavigationTabs.utils';
|
|
55
57
|
export * from './components/Notification/Notification';
|
|
56
58
|
export * from './components/Notification/Notification.utils';
|
|
59
|
+
export * from './components/Popover/Popover';
|
|
60
|
+
export * from './components/Popover/Popover.utils';
|
|
57
61
|
export * from './components/RadioGroup/RadioGroup';
|
|
58
62
|
export * from './components/RadioGroup/RadioGroup.utils';
|
|
63
|
+
export * from './components/Scroller/Scroller';
|
|
64
|
+
export * from './components/Scroller/Scroller.utils';
|
|
59
65
|
export * from './components/Select/Select';
|
|
60
66
|
export * from './components/Select/Select.utils';
|
|
61
67
|
export * from './components/SkipToContent/SkipToContent';
|