@stihl-design-system/components 1.0.0-RC.8 → 1.0.0-RC.9
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/assets/CustomReactSelect.CMkn-EGK.css +1 -0
- package/assets/Fieldset.qHYeUFZt.css +1 -0
- package/assets/InputPassword.Cf394z47.css +1 -0
- package/assets/InputSearch.eCRQoxjN.css +1 -0
- package/assets/InputStepper.B80KulYE.css +1 -0
- package/assets/Notification.DK6agBGS.css +1 -0
- package/assets/Select.BptsMxz4.css +1 -0
- package/assets/Textarea.CIIVh03G.css +1 -0
- package/assets/Toast.Dsvs1zdM.css +1 -0
- package/assets/asterisk.DlJ4YtSZ.css +1 -0
- package/assets/button.B1O7Yw3Q.css +1 -0
- package/assets/buttonround.DlH_ipDo.css +1 -0
- package/assets/checkbox.K4CVYK9g.css +1 -0
- package/assets/heading.6bER-Eac.css +1 -0
- package/assets/input.C0MrSbQu.css +1 -0
- package/assets/link.vtTST2ki.css +1 -0
- package/assets/linkstandalone.BtAcziZ7.css +1 -0
- package/assets/optioncheckbox.BJJAph5_.css +1 -0
- package/assets/radio.9kpIO3HC.css +1 -0
- package/assets/skiptocontent.CHcqLS7S.css +1 -0
- package/assets/switch.2DQF2zH-.css +1 -0
- package/assets/systemfeedback.Sq0bAIyf.css +1 -0
- package/assets/text.Dhb_l50R.css +1 -0
- package/assets/title.f74Bosn-.css +1 -0
- package/{asterisk.Cjbk-xZi.js → asterisk.DDn-yX4P.js} +1 -1
- package/button.CkHCQg3Y.js +135 -0
- package/buttonround.DX3u2Fio.js +118 -0
- package/checkbox.BbmCDJCm.js +112 -0
- package/{checkboxgroup.C9VX3c5W.js → checkboxgroup.CPENWSuk.js} +2 -2
- package/chunks/{CheckboxGroup.kG1WWhe_.js → CheckboxGroup.Dx_Hn8Dl.js} +2 -2
- package/chunks/CustomReactSelect.C4rTVlvy.js +3593 -0
- package/chunks/{Dialog.o7bcfCBf.js → Dialog.TPjJ_yxK.js} +1 -1
- package/chunks/{Drawer.VbG4cfgJ.js → Drawer.DrLGSch-.js} +1 -1
- package/chunks/{Fieldset.B1vsrHNv.js → Fieldset.P09LInkT.js} +29 -29
- package/chunks/{Input.utils.BGUhXCNP.js → Input.utils.ChV6RJsh.js} +19 -17
- package/chunks/InputPassword.CSc1c98k.js +140 -0
- package/chunks/{InputSearch.BbCdCCax.js → InputSearch.DrgdGFT_.js} +49 -49
- package/chunks/{InputStepper.DR3NR_II.js → InputStepper.DJEuIr4C.js} +76 -76
- package/chunks/{Notification.B6a6FOlS.js → Notification.B68mMDiB.js} +24 -24
- package/chunks/{RadioGroup.BO4pbAJw.js → RadioGroup.B5jRveyI.js} +2 -2
- package/chunks/Select.Cl2eJR1z.js +191 -0
- package/chunks/Textarea.Sk9-GXfs.js +195 -0
- package/chunks/Toast.D9DAuz2m.js +89 -0
- package/{combobox.Dgp3kvFR.js → combobox.jDpV6bv-.js} +1 -1
- package/{customreactselect.BxkJi_UE.js → customreactselect.C2QK_Q8T.js} +4 -4
- package/{dialog.CVFl9IVY.js → dialog.BPX7RJtQ.js} +2 -2
- package/{drawer.BheN3lap.js → drawer.BfEPcSsQ.js} +2 -2
- package/fieldset.4yvz0e7M.js +11 -0
- package/heading.CAkraI2D.js +50 -0
- package/index.es.js +26 -26
- package/input.lLMqAG-6.js +236 -0
- package/{inputpassword.CvnUeLTq.js → inputpassword.BIdYGrhB.js} +4 -4
- package/{inputsearch.ClX9PlYG.js → inputsearch.DleOblJp.js} +4 -4
- package/inputstepper.DWkHwOAn.js +13 -0
- package/link.KZaBufPM.js +116 -0
- package/linkstandalone.B6tN-NXD.js +80 -0
- package/{notification.BGRev3jC.js → notification.DdJjbSdM.js} +2 -2
- package/optioncheckbox.DwQEfxGG.js +43 -0
- package/package.json +5 -3
- package/partials/index.js +442 -442
- package/radio.CWGJtmKl.js +115 -0
- package/{radiogroup.CiENWRos.js → radiogroup.FfK4DLsV.js} +3 -3
- package/{select.DLYav8gw.js → select.BEuTuEFZ.js} +3 -3
- package/{skiptocontent.ALhHiH8t.js → skiptocontent.fP4SOp-p.js} +9 -9
- package/styles/scss/lib/_heading.scss +50 -9
- package/styles/scss/lib/_helpers.scss +12 -0
- package/styles/scss/lib/_link.scss +58 -94
- package/styles/scss/lib/_text.scss +57 -14
- package/switch.KO8HZPNL.js +65 -0
- package/{systemfeedback.CUWch42u.js → systemfeedback._8gatmgR.js} +1 -1
- package/text.rgDKQBrU.js +57 -0
- package/{textarea.hLgeYdsI.js → textarea.DV1yVty7.js} +3 -3
- package/title.LY1ylQsb.js +36 -0
- package/{toast.CtgjrtBC.js → toast.BB8L0ixD.js} +2 -2
- package/{toastmanager.6mUZ8eCN.js → toastmanager.DifUvJcg.js} +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/useIsomorphicLayoutEffect.d.ts +26 -0
- package/assets/CustomReactSelect.Bsphydqt.css +0 -1
- package/assets/Fieldset.D0jHAGRL.css +0 -1
- package/assets/InputPassword.VCNO8ANM.css +0 -1
- package/assets/InputSearch.BMRAb95l.css +0 -1
- package/assets/InputStepper.BKjqNi-i.css +0 -1
- package/assets/Notification.Bg63cvs4.css +0 -1
- package/assets/Select.Bz1TImkI.css +0 -1
- package/assets/Textarea.D2h5cW_t.css +0 -1
- package/assets/Toast.ChT0hchk.css +0 -1
- package/assets/asterisk.JlyPArZu.css +0 -1
- package/assets/button.3UhhGy87.css +0 -1
- package/assets/buttonround.DXDlPKwD.css +0 -1
- package/assets/checkbox.BjIn2stV.css +0 -1
- package/assets/heading.CCbuI4X-.css +0 -1
- package/assets/input.71tOIrpp.css +0 -1
- package/assets/link.BJHmVrew.css +0 -1
- package/assets/linkstandalone.Bx8Uvo0G.css +0 -1
- package/assets/optioncheckbox.BdRJHcSw.css +0 -1
- package/assets/radio.ewRpPo4W.css +0 -1
- package/assets/skiptocontent.DGVJ77cj.css +0 -1
- package/assets/switch.Ds-I_ybT.css +0 -1
- package/assets/systemfeedback.BzJATHDd.css +0 -1
- package/assets/text.B-CTuGgI.css +0 -1
- package/assets/title.DlhX9K3W.css +0 -1
- package/button.DPrDynn_.js +0 -135
- package/buttonround.ix_-O4l1.js +0 -118
- package/checkbox.hoVQ37RP.js +0 -112
- package/chunks/CustomReactSelect.BVv0Zcvc.js +0 -4981
- package/chunks/InputPassword.TlusvIds.js +0 -140
- package/chunks/Select.COdS787F.js +0 -191
- package/chunks/Textarea.oqCrSopu.js +0 -195
- package/chunks/Toast.BpyBIPFW.js +0 -89
- package/fieldset.aY3V2jK2.js +0 -11
- package/heading.BTNroD1E.js +0 -50
- package/input.CfO9lL_o.js +0 -236
- package/inputstepper.Dd76qaQT.js +0 -13
- package/link.CIY7SOpm.js +0 -115
- package/linkstandalone.DNe0Nydm.js +0 -79
- package/optioncheckbox.C4l2UIak.js +0 -43
- package/radio.epf54-sG.js +0 -115
- package/switch.rd7PdLc9.js +0 -65
- package/text.CrYUewrP.js +0 -57
- package/title.Dvp8LKJt.js +0 -36
package/text.CrYUewrP.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { j as e } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
-
import { c as x } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
-
import './assets/text.B-CTuGgI.css';const c = "_root_1dnm1_76", u = "_root--large_1dnm1_82", b = "_root--large-bold_1dnm1_92", S = "_root--medium_1dnm1_102", g = "_root--medium-bold_1dnm1_112", B = "_root--small_1dnm1_122", i = "_root--small-bold_1dnm1_132", X = "_root--x-small_1dnm1_142", k = "_root--x-small-bold_1dnm1_152", L = "_root--xx-small_1dnm1_162", M = "_root--theme-dark_1dnm1_172", o = {
|
|
5
|
-
root: c,
|
|
6
|
-
"root--large": "_root--large_1dnm1_82",
|
|
7
|
-
rootLarge: u,
|
|
8
|
-
"root--large-bold": "_root--large-bold_1dnm1_92",
|
|
9
|
-
rootLargeBold: b,
|
|
10
|
-
"root--medium": "_root--medium_1dnm1_102",
|
|
11
|
-
rootMedium: S,
|
|
12
|
-
"root--medium-bold": "_root--medium-bold_1dnm1_112",
|
|
13
|
-
rootMediumBold: g,
|
|
14
|
-
"root--small": "_root--small_1dnm1_122",
|
|
15
|
-
rootSmall: B,
|
|
16
|
-
"root--small-bold": "_root--small-bold_1dnm1_132",
|
|
17
|
-
rootSmallBold: i,
|
|
18
|
-
"root--x-small": "_root--x-small_1dnm1_142",
|
|
19
|
-
rootXSmall: X,
|
|
20
|
-
"root--x-small-bold": "_root--x-small-bold_1dnm1_152",
|
|
21
|
-
rootXSmallBold: k,
|
|
22
|
-
"root--xx-small": "_root--xx-small_1dnm1_162",
|
|
23
|
-
rootXxSmall: L,
|
|
24
|
-
"root--theme-dark": "_root--theme-dark_1dnm1_172",
|
|
25
|
-
rootThemeDark: M
|
|
26
|
-
}, h = ({
|
|
27
|
-
children: m,
|
|
28
|
-
className: t,
|
|
29
|
-
size: l = "medium",
|
|
30
|
-
tag: d = "p",
|
|
31
|
-
theme: a = "light",
|
|
32
|
-
weight: r = "normal",
|
|
33
|
-
..._
|
|
34
|
-
}) => {
|
|
35
|
-
const s = d, n = x(o.root, t, {
|
|
36
|
-
// large
|
|
37
|
-
[o.rootLarge]: l === "large",
|
|
38
|
-
[o.rootLargeBold]: l === "large" && r === "bold",
|
|
39
|
-
// medium
|
|
40
|
-
[o.rootMedium]: l == "medium",
|
|
41
|
-
[o.rootMediumBold]: l === "medium" && r === "bold",
|
|
42
|
-
// small
|
|
43
|
-
[o.rootSmall]: l == "small",
|
|
44
|
-
[o.rootSmallBold]: l == "small" && r === "bold",
|
|
45
|
-
// x-small
|
|
46
|
-
[o.rootXSmall]: l == "x-small",
|
|
47
|
-
[o.rootXSmallBold]: l == "x-small" && r === "bold",
|
|
48
|
-
// xx-small
|
|
49
|
-
[o.rootXxSmall]: l == "xx-small",
|
|
50
|
-
// dark theme
|
|
51
|
-
[o.rootThemeDark]: a === "dark"
|
|
52
|
-
});
|
|
53
|
-
return /* @__PURE__ */ e.jsx(s, { className: n, ..._, children: m });
|
|
54
|
-
};
|
|
55
|
-
export {
|
|
56
|
-
h as DSText
|
|
57
|
-
};
|
package/title.Dvp8LKJt.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { j as o } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
-
import { c as u } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
-
import './assets/title.DlhX9K3W.css';const x = "_root_14u1x_76", g = "_root--x-large-uppercase_14u1x_79", n = "_root--large-uppercase_14u1x_93", h = "_root--theme-dark_14u1x_107", m = "_dash_14u1x_110", r = {
|
|
5
|
-
root: x,
|
|
6
|
-
"root--x-large-uppercase": "_root--x-large-uppercase_14u1x_79",
|
|
7
|
-
rootXLargeUppercase: g,
|
|
8
|
-
"root--large-uppercase": "_root--large-uppercase_14u1x_93",
|
|
9
|
-
rootLargeUppercase: n,
|
|
10
|
-
"root--theme-dark": "_root--theme-dark_14u1x_107",
|
|
11
|
-
rootThemeDark: h,
|
|
12
|
-
dash: m
|
|
13
|
-
}, k = ({
|
|
14
|
-
children: a,
|
|
15
|
-
className: t,
|
|
16
|
-
size: e = "x-large",
|
|
17
|
-
tag: s = "h1",
|
|
18
|
-
// Design suggested to set default tag to h1
|
|
19
|
-
theme: p = "light",
|
|
20
|
-
...c
|
|
21
|
-
}) => {
|
|
22
|
-
const _ = s, l = u(r.root, t, {
|
|
23
|
-
// sizes
|
|
24
|
-
[r.rootXLargeUppercase]: e === "x-large",
|
|
25
|
-
[r.rootLargeUppercase]: e === "large",
|
|
26
|
-
// dark theme
|
|
27
|
-
[r.rootThemeDark]: p === "dark"
|
|
28
|
-
});
|
|
29
|
-
return /* @__PURE__ */ o.jsxs(_, { className: l, ...c, children: [
|
|
30
|
-
a,
|
|
31
|
-
/* @__PURE__ */ o.jsx("span", { className: r.dash, "aria-hidden": "true", children: "ƒ" })
|
|
32
|
-
] });
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
k as DSTitle
|
|
36
|
-
};
|