@iress-oss/ids-theme-preset 6.0.0-beta.3 → 6.0.0
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/{chunk-ERLIY5Q3.js → chunk-WDJWG3KI.js} +11 -10
- package/dist/config.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -9
- package/src/config-recipes/table.ts +2 -2
- package/src/hooks/codegenPrepareHook.test.ts +1 -1
- package/src/tokens/colors.ts +2 -1
- package/src/utilities/chevron.ts +1 -1
- package/src/utilities/focusable.ts +5 -5
|
@@ -58,8 +58,9 @@ var colors = {
|
|
|
58
58
|
value: cssVars2.colour.neutral["80"]
|
|
59
59
|
},
|
|
60
60
|
"colour.neutral.90": {
|
|
61
|
-
description: colour.neutral["90"].$
|
|
62
|
-
value: cssVars2.colour.neutral["90"]
|
|
61
|
+
description: colour.neutral["90"].$deprecated ?? "",
|
|
62
|
+
value: cssVars2.colour.neutral["90"],
|
|
63
|
+
deprecated: true
|
|
63
64
|
},
|
|
64
65
|
"colour.primary.fill": {
|
|
65
66
|
description: colour.primary.fill.$description,
|
|
@@ -1269,7 +1270,7 @@ var tableRecipe = defineSlotRecipe({
|
|
|
1269
1270
|
table: {
|
|
1270
1271
|
textStyle: "typography.body.md",
|
|
1271
1272
|
bg: "colour.neutral.10",
|
|
1272
|
-
color: "colour.neutral.
|
|
1273
|
+
color: "colour.neutral.80",
|
|
1273
1274
|
borderRadius: "radius.system.layout",
|
|
1274
1275
|
borderSpacing: "spacing.0",
|
|
1275
1276
|
minWidth: "12/12",
|
|
@@ -1311,7 +1312,7 @@ var tableRecipe = defineSlotRecipe({
|
|
|
1311
1312
|
cursor: "pointer"
|
|
1312
1313
|
},
|
|
1313
1314
|
sortIcon: {
|
|
1314
|
-
fill: "colour.neutral.
|
|
1315
|
+
fill: "colour.neutral.80",
|
|
1315
1316
|
width: "[1.31em]",
|
|
1316
1317
|
height: "[1.31em]",
|
|
1317
1318
|
display: "inline-block",
|
|
@@ -1878,7 +1879,7 @@ var selectChevron = defineUtility4({
|
|
|
1878
1879
|
position: "absolute",
|
|
1879
1880
|
mask: `no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")`,
|
|
1880
1881
|
transform: value === true ? "translateY(-50%)" : "translateY(-50%) rotate(180deg)",
|
|
1881
|
-
backgroundColor: `var(--iress-chevron-color, ${cssVars13.colour.neutral[
|
|
1882
|
+
backgroundColor: `var(--iress-chevron-color, ${cssVars13.colour.neutral[80]})`,
|
|
1882
1883
|
pointerEvents: "none"
|
|
1883
1884
|
},
|
|
1884
1885
|
'&[aria-expanded="true"]:after, [aria-expanded="true"] > &:after': {
|
|
@@ -2662,13 +2663,13 @@ var focusable = defineUtility8({
|
|
|
2662
2663
|
outline: "none"
|
|
2663
2664
|
},
|
|
2664
2665
|
'&:has(input:focus:not(:disabled), textarea:focus:not(:disabled), select:focus:not(:disabled), [contenteditable="true"]:focus:not([aria-disabled="true"]))': {
|
|
2665
|
-
borderColor: `var(--iress-border-color, ${cssVars14.colour.neutral[
|
|
2666
|
-
boxShadow: `var(--iress-shadow-focus, 0 0 0 1px var(--iress-border-color, ${cssVars14.colour.neutral[
|
|
2666
|
+
borderColor: `var(--iress-border-color, ${cssVars14.colour.neutral[80]})`,
|
|
2667
|
+
boxShadow: `var(--iress-shadow-focus, 0 0 0 1px var(--iress-border-color, ${cssVars14.colour.neutral[80]}))`,
|
|
2667
2668
|
"&:hover": {
|
|
2668
2669
|
background: cssVars14.colour.neutral[10]
|
|
2669
2670
|
},
|
|
2670
2671
|
"& .ids-input__addon": {
|
|
2671
|
-
color: cssVars14.colour.neutral[
|
|
2672
|
+
color: cssVars14.colour.neutral[80]
|
|
2672
2673
|
}
|
|
2673
2674
|
}
|
|
2674
2675
|
};
|
|
@@ -2753,8 +2754,8 @@ var focusable = defineUtility8({
|
|
|
2753
2754
|
'&:focus-within, &:active, &[aria-expanded="true"]': {
|
|
2754
2755
|
backgroundColor: cssVars14.colour.neutral[10],
|
|
2755
2756
|
outline: "none",
|
|
2756
|
-
borderColor: `var(--iress-border-color, ${cssVars14.colour.neutral[
|
|
2757
|
-
boxShadow: `0 0 0 1px var(--iress-border-color, ${cssVars14.colour.neutral[
|
|
2757
|
+
borderColor: `var(--iress-border-color, ${cssVars14.colour.neutral[80]})`,
|
|
2758
|
+
boxShadow: `0 0 0 1px var(--iress-border-color, ${cssVars14.colour.neutral[80]})`
|
|
2758
2759
|
},
|
|
2759
2760
|
'&:disabled, &[aria-disabled="true"]': {
|
|
2760
2761
|
backgroundColor: cssVars14.colour.neutral[30],
|
package/dist/config.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iress-oss/ids-theme-preset",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Panda CSS preset for the Iress Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typecheck": "tsc --noEmit -p tsconfig.lib.json"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@iress-oss/ids-tokens": "^6.0.0
|
|
45
|
+
"@iress-oss/ids-tokens": "^6.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@pandacss/dev": ">=1.8.0",
|
|
@@ -59,18 +59,17 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@pandacss/dev": "1.9.1",
|
|
61
61
|
"@pandacss/types": "1.9.1",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
63
|
-
"@typescript-eslint/parser": "^8.
|
|
64
|
-
"eslint": "^10.
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.59.2",
|
|
63
|
+
"@typescript-eslint/parser": "^8.59.2",
|
|
64
|
+
"eslint": "^10.3.0",
|
|
65
65
|
"eslint-plugin-file-progress": "^4.0.0",
|
|
66
66
|
"rimraf": "^6.1.3",
|
|
67
67
|
"tsup": "^8.4.0",
|
|
68
|
-
"typescript": "
|
|
69
|
-
"vitest": "4.1.
|
|
68
|
+
"typescript": "6.0.3",
|
|
69
|
+
"vitest": "4.1.5"
|
|
70
70
|
},
|
|
71
71
|
"repository": {
|
|
72
72
|
"type": "git",
|
|
73
73
|
"url": "https://github.com/iress/design-system"
|
|
74
|
-
}
|
|
75
|
-
"stableVersion": "6.0.0-alpha.1"
|
|
74
|
+
}
|
|
76
75
|
}
|
|
@@ -24,7 +24,7 @@ export const tableRecipe = defineSlotRecipe({
|
|
|
24
24
|
table: {
|
|
25
25
|
textStyle: 'typography.body.md',
|
|
26
26
|
bg: 'colour.neutral.10',
|
|
27
|
-
color: 'colour.neutral.
|
|
27
|
+
color: 'colour.neutral.80',
|
|
28
28
|
borderRadius: 'radius.system.layout',
|
|
29
29
|
borderSpacing: 'spacing.0',
|
|
30
30
|
minWidth: '12/12',
|
|
@@ -73,7 +73,7 @@ export const tableRecipe = defineSlotRecipe({
|
|
|
73
73
|
cursor: 'pointer',
|
|
74
74
|
},
|
|
75
75
|
sortIcon: {
|
|
76
|
-
fill: 'colour.neutral.
|
|
76
|
+
fill: 'colour.neutral.80',
|
|
77
77
|
width: '[1.31em]',
|
|
78
78
|
height: '[1.31em]',
|
|
79
79
|
display: 'inline-block',
|
package/src/tokens/colors.ts
CHANGED
|
@@ -34,8 +34,9 @@ export const colors = {
|
|
|
34
34
|
value: cssVars.colour.neutral['80'],
|
|
35
35
|
},
|
|
36
36
|
'colour.neutral.90': {
|
|
37
|
-
description: colour.neutral['90'].$
|
|
37
|
+
description: colour.neutral['90'].$deprecated ?? '',
|
|
38
38
|
value: cssVars.colour.neutral['90'],
|
|
39
|
+
deprecated: true,
|
|
39
40
|
},
|
|
40
41
|
'colour.primary.fill': {
|
|
41
42
|
description: colour.primary.fill.$description,
|
package/src/utilities/chevron.ts
CHANGED
|
@@ -20,7 +20,7 @@ export const selectChevron = defineUtility({
|
|
|
20
20
|
value === true
|
|
21
21
|
? 'translateY(-50%)'
|
|
22
22
|
: 'translateY(-50%) rotate(180deg)',
|
|
23
|
-
backgroundColor: `var(--iress-chevron-color, ${cssVars.colour.neutral[
|
|
23
|
+
backgroundColor: `var(--iress-chevron-color, ${cssVars.colour.neutral[80]})`,
|
|
24
24
|
pointerEvents: 'none',
|
|
25
25
|
},
|
|
26
26
|
'&[aria-expanded="true"]:after, [aria-expanded="true"] > &:after': {
|
|
@@ -41,15 +41,15 @@ export const focusable = defineUtility({
|
|
|
41
41
|
},
|
|
42
42
|
'&:has(input:focus:not(:disabled), textarea:focus:not(:disabled), select:focus:not(:disabled), [contenteditable="true"]:focus:not([aria-disabled="true"]))':
|
|
43
43
|
{
|
|
44
|
-
borderColor: `var(--iress-border-color, ${cssVars.colour.neutral[
|
|
45
|
-
boxShadow: `var(--iress-shadow-focus, 0 0 0 1px var(--iress-border-color, ${cssVars.colour.neutral[
|
|
44
|
+
borderColor: `var(--iress-border-color, ${cssVars.colour.neutral[80]})`,
|
|
45
|
+
boxShadow: `var(--iress-shadow-focus, 0 0 0 1px var(--iress-border-color, ${cssVars.colour.neutral[80]}))`,
|
|
46
46
|
|
|
47
47
|
'&:hover': {
|
|
48
48
|
background: cssVars.colour.neutral[10],
|
|
49
49
|
},
|
|
50
50
|
|
|
51
51
|
'& .ids-input__addon': {
|
|
52
|
-
color: cssVars.colour.neutral[
|
|
52
|
+
color: cssVars.colour.neutral[80],
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
};
|
|
@@ -143,8 +143,8 @@ export const focusable = defineUtility({
|
|
|
143
143
|
'&:focus-within, &:active, &[aria-expanded="true"]': {
|
|
144
144
|
backgroundColor: cssVars.colour.neutral[10],
|
|
145
145
|
outline: 'none',
|
|
146
|
-
borderColor: `var(--iress-border-color, ${cssVars.colour.neutral[
|
|
147
|
-
boxShadow: `0 0 0 1px var(--iress-border-color, ${cssVars.colour.neutral[
|
|
146
|
+
borderColor: `var(--iress-border-color, ${cssVars.colour.neutral[80]})`,
|
|
147
|
+
boxShadow: `0 0 0 1px var(--iress-border-color, ${cssVars.colour.neutral[80]})`,
|
|
148
148
|
},
|
|
149
149
|
'&:disabled, &[aria-disabled="true"]': {
|
|
150
150
|
backgroundColor: cssVars.colour.neutral[30],
|