@iress-oss/ids-components 6.0.0-beta.9 → 6.0.1
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/Shadow-OHZiBoEb.js +57 -0
- package/dist/components/Expander/Expander.styles.d.ts +4 -0
- package/dist/components/Expander/Expander.styles.js +5 -1
- package/dist/components/Field/Field.styles.d.ts +1 -1
- package/dist/components/Field/Field.styles.js +2 -2
- package/dist/components/Field/FieldGroup/FieldGroup.js +1 -0
- package/dist/components/Field/FieldGroup/FieldGroup.styles.d.ts +7 -0
- package/dist/components/Field/FieldGroup/FieldGroup.styles.js +4 -2
- package/dist/main.js +1 -1
- package/dist/patterns/Shadow/Shadow.js +1 -1
- package/dist/patterns/Shadow/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -5
- package/dist/Shadow-BL3YAhE_.js +0 -57
|
@@ -19,8 +19,12 @@ export declare const expander: import('../../styled-system/types').SlotRecipeRun
|
|
|
19
19
|
_hover: {
|
|
20
20
|
bg: "colour.neutral.20";
|
|
21
21
|
};
|
|
22
|
+
_focusVisible: {
|
|
23
|
+
bg: "colour.neutral.20";
|
|
24
|
+
};
|
|
22
25
|
'&[aria-expanded="true"]': {
|
|
23
26
|
borderBottomRadius: "radius.0";
|
|
27
|
+
bg: "colour.neutral.20";
|
|
24
28
|
};
|
|
25
29
|
};
|
|
26
30
|
content: {
|
|
@@ -52,7 +52,11 @@ var t = e({
|
|
|
52
52
|
transition: "[all 0.3s linear]",
|
|
53
53
|
focusable: "expander-activator",
|
|
54
54
|
_hover: { bg: "colour.neutral.20" },
|
|
55
|
-
|
|
55
|
+
_focusVisible: { bg: "colour.neutral.20" },
|
|
56
|
+
"&[aria-expanded=\"true\"]": {
|
|
57
|
+
borderBottomRadius: "radius.0",
|
|
58
|
+
bg: "colour.neutral.20"
|
|
59
|
+
}
|
|
56
60
|
},
|
|
57
61
|
content: {
|
|
58
62
|
px: "spacing.4",
|
|
@@ -33,7 +33,7 @@ var t = e({
|
|
|
33
33
|
},
|
|
34
34
|
footerIcon: { verticalAlign: "[-1.5px]" },
|
|
35
35
|
supplementary: { fontSize: "inherit" },
|
|
36
|
-
label: { mb: "spacing.
|
|
36
|
+
label: { mb: "spacing.2" },
|
|
37
37
|
labelContainer: {},
|
|
38
38
|
fieldContainer: { "& .ids-popover__content": { zIndex: "100" } }
|
|
39
39
|
},
|
|
@@ -60,7 +60,7 @@ var t = e({
|
|
|
60
60
|
element: { "& > .ids-radio-group:first-child, & > .ids-checkbox-group:first-child, & > .ids-checkbox:first-child": { mt: "spacing.0" } }
|
|
61
61
|
} },
|
|
62
62
|
hasError: { true: { root: { _nestedFormElements: { "--iress-border-color": "{colors.colour.system.danger.fill}" } } } },
|
|
63
|
-
hasHint: { true: { label: { mb: "spacing.
|
|
63
|
+
hasHint: { true: { label: { mb: "spacing.1" } } },
|
|
64
64
|
hiddenLabel: { true: { label: { mb: "none" } } },
|
|
65
65
|
multipleFields: { true: { supplementary: {
|
|
66
66
|
position: "relative",
|
|
@@ -12,6 +12,7 @@ import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
|
12
12
|
var d = ({ children: d, className: f, "data-testid": p, error: m, errorMessages: h, hiddenLabel: g, hint: _, inline: v, join: y, label: b, removeErrorMargin: x, required: S, supplementary: C, ...w }) => {
|
|
13
13
|
let T = c.raw({
|
|
14
14
|
hasError: !!m || !!h?.length,
|
|
15
|
+
hasHint: !!_,
|
|
15
16
|
hiddenLabel: g,
|
|
16
17
|
inline: v,
|
|
17
18
|
join: y,
|
|
@@ -18,10 +18,11 @@ var t = e({
|
|
|
18
18
|
},
|
|
19
19
|
hint: {
|
|
20
20
|
color: "colour.neutral.70",
|
|
21
|
-
textStyle: "typography.body.sm"
|
|
21
|
+
textStyle: "typography.body.sm",
|
|
22
|
+
mt: "spacing.1"
|
|
22
23
|
},
|
|
23
24
|
legend: {
|
|
24
|
-
mb: "spacing.
|
|
25
|
+
mb: "spacing.2",
|
|
25
26
|
px: "spacing.0",
|
|
26
27
|
float: "start",
|
|
27
28
|
"& + *": { clear: "left" }
|
|
@@ -38,6 +39,7 @@ var t = e({
|
|
|
38
39
|
},
|
|
39
40
|
variants: {
|
|
40
41
|
hasError: { true: { root: { _nestedFormElements: { borderColor: "colour.system.danger.fill" } } } },
|
|
42
|
+
hasHint: { true: { legend: { mb: "spacing.1" } } },
|
|
41
43
|
hiddenLabel: { true: { legend: { mb: "none" } } },
|
|
42
44
|
inline: { true: { fields: {
|
|
43
45
|
alignItems: "flex-end",
|
package/dist/main.js
CHANGED
|
@@ -149,7 +149,7 @@ import { IressFormField as mn } from "./patterns/Form/FormField/FormField.js";
|
|
|
149
149
|
import { IressFormFieldset as hn } from "./patterns/Form/FormField/FormFieldset.js";
|
|
150
150
|
import { IressLoading as gn } from "./patterns/Loading/Loading.js";
|
|
151
151
|
import { IressLoadingSuspense as _n } from "./patterns/Loading/LoadingSuspense.js";
|
|
152
|
-
import { t as vn } from "./Shadow-
|
|
152
|
+
import { t as vn } from "./Shadow-OHZiBoEb.js";
|
|
153
153
|
import { contextualMenu as yn } from "./patterns/ContextualMenu/ContextualMenu.styles.js";
|
|
154
154
|
import { IressContextualMenu as bn } from "./patterns/ContextualMenu/ContextualMenu.js";
|
|
155
155
|
import { sideNav as xn } from "./patterns/SideNav/SideNav.styles.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Shadow-
|
|
1
|
+
import { t as e } from "../../Shadow-OHZiBoEb.js";
|
|
2
2
|
export { e as IressShadow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Shadow-
|
|
1
|
+
import { t as e } from "../../Shadow-OHZiBoEb.js";
|
|
2
2
|
export { e as IressShadow };
|