@phcdevworks/spectre-tokens 3.2.0 → 3.3.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/README.md +1 -1
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/tokens.dtcg.json +32 -0
- package/package.json +8 -7
- package/tokens/components.json +36 -0
package/dist/index.d.cts
CHANGED
|
@@ -143,6 +143,10 @@ interface SpectreGeneratedTokens {
|
|
|
143
143
|
disabledBg: string;
|
|
144
144
|
disabledBorder: string;
|
|
145
145
|
focusBorder: string;
|
|
146
|
+
borderInvalid: string;
|
|
147
|
+
bgInvalid: string;
|
|
148
|
+
borderSuccess: string;
|
|
149
|
+
bgSuccess: string;
|
|
146
150
|
};
|
|
147
151
|
textarea: {
|
|
148
152
|
bg: string;
|
|
@@ -152,6 +156,10 @@ interface SpectreGeneratedTokens {
|
|
|
152
156
|
disabledBg: string;
|
|
153
157
|
disabledBorder: string;
|
|
154
158
|
focusBorder: string;
|
|
159
|
+
borderInvalid: string;
|
|
160
|
+
bgInvalid: string;
|
|
161
|
+
borderSuccess: string;
|
|
162
|
+
bgSuccess: string;
|
|
155
163
|
};
|
|
156
164
|
fieldset: {
|
|
157
165
|
border: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -143,6 +143,10 @@ interface SpectreGeneratedTokens {
|
|
|
143
143
|
disabledBg: string;
|
|
144
144
|
disabledBorder: string;
|
|
145
145
|
focusBorder: string;
|
|
146
|
+
borderInvalid: string;
|
|
147
|
+
bgInvalid: string;
|
|
148
|
+
borderSuccess: string;
|
|
149
|
+
bgSuccess: string;
|
|
146
150
|
};
|
|
147
151
|
textarea: {
|
|
148
152
|
bg: string;
|
|
@@ -152,6 +156,10 @@ interface SpectreGeneratedTokens {
|
|
|
152
156
|
disabledBg: string;
|
|
153
157
|
disabledBorder: string;
|
|
154
158
|
focusBorder: string;
|
|
159
|
+
borderInvalid: string;
|
|
160
|
+
bgInvalid: string;
|
|
161
|
+
borderSuccess: string;
|
|
162
|
+
bgSuccess: string;
|
|
155
163
|
};
|
|
156
164
|
fieldset: {
|
|
157
165
|
border: string;
|
package/dist/index.js
CHANGED
|
@@ -143,7 +143,11 @@ var coreTokens = {
|
|
|
143
143
|
"placeholderText": "{colors.neutral.500}",
|
|
144
144
|
"disabledBg": "{colors.neutral.50}",
|
|
145
145
|
"disabledBorder": "{colors.neutral.200}",
|
|
146
|
-
"focusBorder": "{colors.info.500}"
|
|
146
|
+
"focusBorder": "{colors.info.500}",
|
|
147
|
+
"borderInvalid": "{colors.error.500}",
|
|
148
|
+
"bgInvalid": "{colors.error.50}",
|
|
149
|
+
"borderSuccess": "{colors.success.500}",
|
|
150
|
+
"bgSuccess": "{colors.success.50}"
|
|
147
151
|
},
|
|
148
152
|
"textarea": {
|
|
149
153
|
"bg": "{colors.white}",
|
|
@@ -152,7 +156,11 @@ var coreTokens = {
|
|
|
152
156
|
"placeholder": "{colors.neutral.500}",
|
|
153
157
|
"disabledBg": "{colors.neutral.50}",
|
|
154
158
|
"disabledBorder": "{colors.neutral.200}",
|
|
155
|
-
"focusBorder": "{colors.info.500}"
|
|
159
|
+
"focusBorder": "{colors.info.500}",
|
|
160
|
+
"borderInvalid": "{colors.error.500}",
|
|
161
|
+
"bgInvalid": "{colors.error.50}",
|
|
162
|
+
"borderSuccess": "{colors.success.500}",
|
|
163
|
+
"bgSuccess": "{colors.success.50}"
|
|
156
164
|
},
|
|
157
165
|
"fieldset": {
|
|
158
166
|
"border": "{colors.neutral.200}",
|