@iress-oss/ids-components 6.0.0-alpha.17 → 6.0.0-alpha.18
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/Badge/Badge.styles.js +2 -0
- package/dist/components/Card/Card.styles.js +2 -0
- package/dist/components/Checkbox/Checkbox.styles.js +2 -0
- package/dist/components/Expander/Expander.styles.js +2 -0
- package/dist/components/Input/Input.styles.js +2 -0
- package/dist/components/Modal/Modal.styles.js +4 -2
- package/dist/components/Panel/Panel.styles.js +2 -0
- package/dist/components/Popover/Popover.styles.js +2 -0
- package/dist/components/Progress/Progress.styles.js +2 -0
- package/dist/components/Radio/Radio.styles.js +2 -0
- package/dist/components/RichSelect/RichSelect.styles.js +2 -0
- package/dist/components/RichSelect/SelectBody/SelectBody.styles.js +2 -0
- package/dist/components/RichSelect/SelectMenu/SelectMenu.styles.js +2 -0
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.styles.js +2 -0
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +2 -0
- package/dist/components/Select/Select.styles.js +4 -2
- package/dist/components/Slideout/Slideout.styles.js +2 -0
- package/dist/components/Slider/Slider.styles.js +2 -0
- package/dist/components/Spinner/Spinner.styles.js +6 -4
- package/dist/components/TabSet/TabSet.styles.js +2 -0
- package/dist/components/Tag/Tag.styles.d.ts +6 -0
- package/dist/components/Tag/Tag.styles.js +10 -2
- package/dist/components/Toggle/Toggle.styles.js +2 -0
- package/dist/components/Tooltip/Tooltip.styles.js +4 -2
- package/dist/patterns/Shadow/Shadow.js +8 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,8 @@ const e = t({
|
|
|
3
3
|
slots: ["root", "prepend", "heading", "topRight", "media", "body", "footer"],
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
6
|
+
// Performance: CSS containment (no paint to allow overflow)
|
|
7
|
+
contain: "layout style",
|
|
6
8
|
position: "relative",
|
|
7
9
|
borderRadius: "radius.system.layout",
|
|
8
10
|
bg: "colour.neutral.10",
|
|
@@ -3,6 +3,8 @@ const o = r({
|
|
|
3
3
|
slots: ["root", "wrapper", "inline", "addon", "internal", "formControl"],
|
|
4
4
|
base: {
|
|
5
5
|
wrapper: {
|
|
6
|
+
// Performance: CSS containment limits style recalculation scope
|
|
7
|
+
contain: "layout style paint",
|
|
6
8
|
display: "flex",
|
|
7
9
|
alignItems: "stretch",
|
|
8
10
|
borderRadius: "radius.system.form",
|
|
@@ -7,7 +7,7 @@ const o = [
|
|
|
7
7
|
"content",
|
|
8
8
|
"footer",
|
|
9
9
|
"pushElement"
|
|
10
|
-
],
|
|
10
|
+
], i = a({
|
|
11
11
|
slots: o,
|
|
12
12
|
base: {
|
|
13
13
|
backdrop: {
|
|
@@ -29,6 +29,8 @@ const o = [
|
|
|
29
29
|
borderBlockStart: "divider"
|
|
30
30
|
},
|
|
31
31
|
modal: {
|
|
32
|
+
// Performance: CSS containment (no paint due to fixed positioning)
|
|
33
|
+
contain: "layout style",
|
|
32
34
|
position: "relative",
|
|
33
35
|
borderRadius: "radius.system.layout",
|
|
34
36
|
padding: "spacing.0",
|
|
@@ -153,5 +155,5 @@ const o = [
|
|
|
153
155
|
}
|
|
154
156
|
});
|
|
155
157
|
export {
|
|
156
|
-
|
|
158
|
+
i as modal
|
|
157
159
|
};
|
|
@@ -3,6 +3,8 @@ const l = e({
|
|
|
3
3
|
slots: ["root", "placeholder", "prepend", "append", "tag", "tagsList"],
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
6
|
+
// Performance: CSS containment limits style recalculation scope
|
|
7
|
+
contain: "layout style paint",
|
|
6
8
|
display: "flex",
|
|
7
9
|
alignItems: "center",
|
|
8
10
|
width: "[100%]",
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { s as e } from "../../sva-B7kca5XO.js";
|
|
2
|
-
const t = ["wrapper", "control", "element"],
|
|
2
|
+
const t = ["wrapper", "control", "element"], a = e({
|
|
3
3
|
slots: t,
|
|
4
4
|
base: {
|
|
5
5
|
wrapper: {
|
|
6
|
+
// Performance: CSS containment limits style recalculation scope
|
|
7
|
+
contain: "layout style",
|
|
6
8
|
display: "block",
|
|
7
9
|
position: "relative",
|
|
8
10
|
lineHeight: 1,
|
|
@@ -122,5 +124,5 @@ const t = ["wrapper", "control", "element"], c = e({
|
|
|
122
124
|
}
|
|
123
125
|
});
|
|
124
126
|
export {
|
|
125
|
-
|
|
127
|
+
a as select
|
|
126
128
|
};
|
|
@@ -3,6 +3,8 @@ const i = t({
|
|
|
3
3
|
slots: ["root", "content", "footer", "closeButton"],
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
6
|
+
// Performance: CSS containment (no paint due to fixed positioning)
|
|
7
|
+
contain: "layout style",
|
|
6
8
|
textStyle: "typography.body.md",
|
|
7
9
|
position: "fixed",
|
|
8
10
|
insetBlockStart: "spacing.0",
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { s as
|
|
3
|
-
const o =
|
|
1
|
+
import { c as t } from "../../cva-DtPMccE9.js";
|
|
2
|
+
import { s as a } from "../../sva-B7kca5XO.js";
|
|
3
|
+
const o = t({
|
|
4
4
|
base: {
|
|
5
5
|
boxSizing: "border-box"
|
|
6
6
|
},
|
|
7
7
|
variants: {}
|
|
8
|
-
}), e =
|
|
8
|
+
}), e = a({
|
|
9
9
|
slots: ["root", "dot"],
|
|
10
10
|
base: {
|
|
11
11
|
root: {
|
|
12
|
+
// Performance: CSS containment (no paint to allow animation effects)
|
|
13
|
+
contain: "layout style",
|
|
12
14
|
display: "inline-flex",
|
|
13
15
|
alignItems: "center",
|
|
14
16
|
gap: "spacing.1"
|
|
@@ -20,6 +20,12 @@ export declare const tag: import('../../styled-system/types').SlotRecipeRuntimeF
|
|
|
20
20
|
_active: {
|
|
21
21
|
boxShadow: "color-mix(in srgb, {colors.colour.primary.surface}, transparent 60%) 0px 0px 0px 3px";
|
|
22
22
|
};
|
|
23
|
+
_focus: {
|
|
24
|
+
outline: "[none]";
|
|
25
|
+
};
|
|
26
|
+
_focusVisible: {
|
|
27
|
+
layerStyle: "elevation.focus";
|
|
28
|
+
};
|
|
23
29
|
};
|
|
24
30
|
};
|
|
25
31
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
const t =
|
|
1
|
+
import { s as o } from "../../sva-B7kca5XO.js";
|
|
2
|
+
const t = o({
|
|
3
3
|
slots: ["root", "content", "deleteButton"],
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
6
|
+
// Performance: CSS containment limits style recalculation scope
|
|
7
|
+
contain: "layout style",
|
|
6
8
|
alignItems: "center",
|
|
7
9
|
bg: "colour.neutral.20",
|
|
8
10
|
border: "divider",
|
|
@@ -53,6 +55,12 @@ const t = r({
|
|
|
53
55
|
},
|
|
54
56
|
_active: {
|
|
55
57
|
boxShadow: "color-mix(in srgb, {colors.colour.primary.surface}, transparent 60%) 0px 0px 0px 3px"
|
|
58
|
+
},
|
|
59
|
+
_focus: {
|
|
60
|
+
outline: "[none]"
|
|
61
|
+
},
|
|
62
|
+
_focusVisible: {
|
|
63
|
+
layerStyle: "elevation.focus"
|
|
56
64
|
}
|
|
57
65
|
}
|
|
58
66
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
const a =
|
|
1
|
+
import { s as t } from "../../sva-B7kca5XO.js";
|
|
2
|
+
const a = t({
|
|
3
3
|
slots: ["root", "activator", "content"],
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -8,6 +8,8 @@ const a = o({
|
|
|
8
8
|
},
|
|
9
9
|
activator: {},
|
|
10
10
|
content: {
|
|
11
|
+
// Performance: CSS containment limits style recalculation scope
|
|
12
|
+
contain: "layout style paint",
|
|
11
13
|
zIndex: "600",
|
|
12
14
|
width: "[max-content]",
|
|
13
15
|
maxWidth: "[20em]",
|
|
@@ -3775,6 +3775,10 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
3775
3775
|
display: none;
|
|
3776
3776
|
}
|
|
3777
3777
|
|
|
3778
|
+
.contain_layout_style_paint {
|
|
3779
|
+
contain: layout style paint;
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3778
3782
|
.lh_1 {
|
|
3779
3783
|
line-height: 1;
|
|
3780
3784
|
}
|
|
@@ -3910,6 +3914,10 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
3910
3914
|
vertical-align: stretch;
|
|
3911
3915
|
}
|
|
3912
3916
|
|
|
3917
|
+
.contain_layout_style {
|
|
3918
|
+
contain: layout style;
|
|
3919
|
+
}
|
|
3920
|
+
|
|
3913
3921
|
.ta_start {
|
|
3914
3922
|
text-align: start;
|
|
3915
3923
|
}
|