@pie-element/shared-theming 0.2.0-next.3 → 0.2.0-next.4

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.
@@ -6,6 +6,7 @@ export declare const PIE_COLOR_DEFAULTS: {
6
6
  readonly TEXT: "black";
7
7
  readonly DISABLED: "grey";
8
8
  readonly DISABLED_SECONDARY: "#ABABAB";
9
+ readonly DISABLED_TEXT: "#545454";
9
10
  readonly CORRECT: "#4CAF50";
10
11
  readonly CORRECT_SECONDARY: "#E8F5E9";
11
12
  readonly CORRECT_TERTIARY: "#0EA449";
@@ -169,6 +170,10 @@ export declare const DEFAULT_CSS_MAPPINGS: readonly [{
169
170
  readonly variableName: "--pie-disabled-secondary";
170
171
  readonly themeKey: "disabled-secondary";
171
172
  readonly fallback: "#ABABAB";
173
+ }, {
174
+ readonly variableName: "--pie-disabled-text";
175
+ readonly themeKey: "disabled-text";
176
+ readonly fallback: "#545454";
172
177
  }, {
173
178
  readonly variableName: "--pie-border";
174
179
  readonly themeKey: "border";
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ var e = {
3
3
  TEXT: "black",
4
4
  DISABLED: "grey",
5
5
  DISABLED_SECONDARY: "#ABABAB",
6
+ DISABLED_TEXT: "#545454",
6
7
  CORRECT: "#4CAF50",
7
8
  CORRECT_SECONDARY: "#E8F5E9",
8
9
  CORRECT_TERTIARY: "#0EA449",
@@ -188,6 +189,11 @@ var e = {
188
189
  themeKey: "disabled-secondary",
189
190
  fallback: e.DISABLED_SECONDARY
190
191
  },
192
+ {
193
+ variableName: "--pie-disabled-text",
194
+ themeKey: "disabled-text",
195
+ fallback: e.DISABLED_TEXT
196
+ },
191
197
  {
192
198
  variableName: "--pie-border",
193
199
  themeKey: "border",
@@ -363,6 +369,7 @@ var e = {
363
369
  "missing-icon": "#757575",
364
370
  disabled: "#9E9E9E",
365
371
  "disabled-secondary": "#E0E0E0",
372
+ "disabled-text": "#545454",
366
373
  "background-dark": "#F5F5F5",
367
374
  "secondary-background": "#FAFAFA",
368
375
  "dropdown-background": "#ffffff",
@@ -419,6 +426,7 @@ var e = {
419
426
  "missing-icon": "#9E9E9E",
420
427
  disabled: "#757575",
421
428
  "disabled-secondary": "#424242",
429
+ "disabled-text": "#A0AEC0",
422
430
  "background-dark": "#0f1419",
423
431
  "secondary-background": "#2d3748",
424
432
  "dropdown-background": "#2d3748",
package/dist/types.d.ts CHANGED
@@ -18,6 +18,7 @@ export interface PieThemeExtended extends PieTheme {
18
18
  'base-300'?: string;
19
19
  disabled?: string;
20
20
  'disabled-secondary'?: string;
21
+ 'disabled-text'?: string;
21
22
  'correct-secondary'?: string;
22
23
  'correct-tertiary'?: string;
23
24
  'correct-icon'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/shared-theming",
3
- "version": "0.2.0-next.3",
3
+ "version": "0.2.0-next.4",
4
4
  "description": "Core theming system for PIE elements",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -23,12 +23,6 @@
23
23
  "dependencies": {
24
24
  "@pie-element/shared-types": "0.2.0-next.0"
25
25
  },
26
- "devDependencies": {
27
- "@types/react": "^18.3.0",
28
- "typescript": "^5.9.3",
29
- "vite": "^8.1.5",
30
- "vitest": "^4.1.11"
31
- },
32
26
  "publishConfig": {
33
27
  "access": "public"
34
28
  },