@vellira-ui/tokens 2.28.0 → 2.30.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.
Files changed (63) hide show
  1. package/dist/css/tokens.css +1045 -56
  2. package/dist/dark/components/button.d.ts +15 -15
  3. package/dist/dark/components/button.js +1 -1
  4. package/dist/dark/components/checkbox.d.ts +15 -15
  5. package/dist/dark/components/checkbox.js +1 -1
  6. package/dist/dark/components/formField.d.ts +52 -0
  7. package/dist/dark/components/formField.d.ts.map +1 -1
  8. package/dist/dark/components/formField.js +55 -0
  9. package/dist/dark/components/input.d.ts +109 -4
  10. package/dist/dark/components/input.d.ts.map +1 -1
  11. package/dist/dark/components/input.js +81 -4
  12. package/dist/dark/components/radio.d.ts +35 -25
  13. package/dist/dark/components/radio.d.ts.map +1 -1
  14. package/dist/dark/components/radio.js +117 -27
  15. package/dist/factories/createButtonPalette.d.ts.map +1 -0
  16. package/dist/factories/createCheckboxPalette.d.ts.map +1 -0
  17. package/dist/factories/createInputPalette.d.ts +78 -0
  18. package/dist/factories/createInputPalette.d.ts.map +1 -0
  19. package/dist/factories/createInputPalette.js +78 -0
  20. package/dist/factories/createRadioPalette.d.ts +19 -0
  21. package/dist/factories/createRadioPalette.d.ts.map +1 -0
  22. package/dist/factories/createRadioPalette.js +6 -0
  23. package/dist/factories/index.d.ts +5 -0
  24. package/dist/factories/index.d.ts.map +1 -0
  25. package/dist/factories/index.js +4 -0
  26. package/dist/generated/token-types.d.ts +4 -4
  27. package/dist/generated/token-types.d.ts.map +1 -1
  28. package/dist/generated/token-types.js +1388 -68
  29. package/dist/highContrast/components/button.d.ts +15 -15
  30. package/dist/highContrast/components/button.js +1 -1
  31. package/dist/highContrast/components/checkbox.d.ts +15 -15
  32. package/dist/highContrast/components/checkbox.js +1 -1
  33. package/dist/highContrast/components/formField.d.ts +52 -0
  34. package/dist/highContrast/components/formField.d.ts.map +1 -1
  35. package/dist/highContrast/components/formField.js +55 -0
  36. package/dist/highContrast/components/input.d.ts +109 -4
  37. package/dist/highContrast/components/input.d.ts.map +1 -1
  38. package/dist/highContrast/components/input.js +101 -4
  39. package/dist/highContrast/components/radio.d.ts +35 -25
  40. package/dist/highContrast/components/radio.d.ts.map +1 -1
  41. package/dist/highContrast/components/radio.js +117 -27
  42. package/dist/light/components/button.d.ts +15 -15
  43. package/dist/light/components/button.js +1 -1
  44. package/dist/light/components/checkbox.d.ts +15 -15
  45. package/dist/light/components/checkbox.js +1 -1
  46. package/dist/light/components/formField.d.ts +52 -0
  47. package/dist/light/components/formField.d.ts.map +1 -1
  48. package/dist/light/components/formField.js +55 -0
  49. package/dist/light/components/input.d.ts +110 -5
  50. package/dist/light/components/input.d.ts.map +1 -1
  51. package/dist/light/components/input.js +81 -4
  52. package/dist/light/components/radio.d.ts +35 -25
  53. package/dist/light/components/radio.d.ts.map +1 -1
  54. package/dist/light/components/radio.js +117 -27
  55. package/dist/light/semantic/icons.d.ts +1 -1
  56. package/dist/light/semantic/icons.js +1 -1
  57. package/package.json +3 -2
  58. package/dist/utils/createButtonPalette.d.ts.map +0 -1
  59. package/dist/utils/createCheckboxPalette.d.ts.map +0 -1
  60. /package/dist/{utils → factories}/createButtonPalette.d.ts +0 -0
  61. /package/dist/{utils → factories}/createButtonPalette.js +0 -0
  62. /package/dist/{utils → factories}/createCheckboxPalette.d.ts +0 -0
  63. /package/dist/{utils → factories}/createCheckboxPalette.js +0 -0
@@ -1,40 +1,124 @@
1
+ import { createRadioPalette } from '../../factories/createRadioPalette.js';
1
2
  import { colors } from '../../primitives/colors.js';
2
3
  import { border } from '../semantic/border.js';
3
4
  import { control } from '../semantic/control.js';
4
5
  import { focus } from '../semantic/focus.js';
5
6
  import { status } from '../semantic/status.js';
6
- import { surface } from '../semantic/surface.js';
7
7
  import { text } from '../semantic/text.js';
8
+ const primary = createRadioPalette({
9
+ ring: colors.primary[400],
10
+ default: {
11
+ bg: colors.primary[600],
12
+ fg: colors.primary[50],
13
+ border: colors.primary[600],
14
+ labelFg: colors.primary[300],
15
+ },
16
+ hover: {
17
+ bg: colors.primary[700],
18
+ fg: colors.primary[200],
19
+ border: colors.primary[700],
20
+ labelFg: colors.primary[400],
21
+ },
22
+ pressed: {
23
+ bg: colors.primary[800],
24
+ fg: colors.primary[300],
25
+ border: colors.primary[800],
26
+ labelFg: colors.primary[500],
27
+ },
28
+ });
29
+ const neutral = createRadioPalette({
30
+ ring: colors.grayBlue[400],
31
+ default: {
32
+ bg: colors.grayBlue[50],
33
+ fg: colors.grayBlue[950],
34
+ border: colors.grayBlue[50],
35
+ labelFg: colors.grayBlue[50],
36
+ },
37
+ hover: {
38
+ bg: colors.grayBlue[200],
39
+ fg: colors.grayBlue[900],
40
+ border: colors.grayBlue[200],
41
+ labelFg: colors.gray[200],
42
+ },
43
+ pressed: {
44
+ bg: colors.grayBlue[400],
45
+ fg: colors.grayBlue[800],
46
+ border: colors.grayBlue[400],
47
+ labelFg: colors.grayBlue[300],
48
+ },
49
+ });
50
+ const success = createRadioPalette({
51
+ ring: colors.success[500],
52
+ default: {
53
+ bg: colors.success[500],
54
+ fg: colors.success[950],
55
+ border: colors.success[500],
56
+ labelFg: colors.success[300],
57
+ },
58
+ hover: {
59
+ bg: colors.success[600],
60
+ fg: colors.success[900],
61
+ border: colors.success[600],
62
+ labelFg: colors.success[400],
63
+ },
64
+ pressed: {
65
+ bg: colors.success[700],
66
+ fg: colors.success[800],
67
+ border: colors.success[700],
68
+ labelFg: colors.success[500],
69
+ },
70
+ });
71
+ const warning = createRadioPalette({
72
+ ring: colors.warning[500],
73
+ default: {
74
+ bg: colors.warning[500],
75
+ fg: colors.warning[950],
76
+ border: colors.warning[500],
77
+ labelFg: colors.warning[500],
78
+ },
79
+ hover: {
80
+ bg: colors.warning[600],
81
+ fg: colors.warning[900],
82
+ border: colors.warning[600],
83
+ labelFg: colors.warning[400],
84
+ },
85
+ pressed: {
86
+ bg: colors.warning[700],
87
+ fg: colors.warning[800],
88
+ border: colors.warning[700],
89
+ labelFg: colors.warning[600],
90
+ },
91
+ });
92
+ const danger = createRadioPalette({
93
+ ring: colors.error[500],
94
+ default: {
95
+ bg: colors.error[700],
96
+ fg: colors.error[50],
97
+ border: colors.error[700],
98
+ labelFg: colors.error[400],
99
+ },
100
+ hover: {
101
+ bg: colors.error[600],
102
+ fg: colors.error[200],
103
+ border: colors.error[600],
104
+ labelFg: colors.error[200],
105
+ },
106
+ pressed: {
107
+ bg: colors.error[800],
108
+ fg: colors.error[300],
109
+ border: colors.error[800],
110
+ labelFg: colors.error[300],
111
+ },
112
+ });
8
113
  export const radio = {
9
114
  default: control.default,
10
115
  hover: control.hover,
11
116
  pressed: control.active,
12
- checked: {
13
- default: {
14
- bg: surface.default,
15
- fg: colors.warning[300],
16
- border: colors.warning[300],
17
- labelFg: text.interactive,
18
- },
19
- hover: {
20
- bg: surface.hover,
21
- fg: colors.warning[200],
22
- border: colors.warning[200],
23
- labelFg: text.interactiveHover,
24
- },
25
- pressed: {
26
- bg: surface.active,
27
- fg: colors.warning[400],
28
- border: colors.warning[400],
29
- labelFg: text.interactiveActive,
30
- },
31
- disabled: {
32
- bg: surface.disabled,
33
- fg: text.disabled,
34
- border: border.disabled,
35
- labelFg: text.disabled,
36
- },
37
- },
117
+ primary,
118
+ neutral,
119
+ success,
120
+ warning,
121
+ danger,
38
122
  focus: {
39
123
  ring: focus.ring.color,
40
124
  border: border.focus,
@@ -45,4 +129,10 @@ export const radio = {
45
129
  ring: status.error.ring,
46
130
  },
47
131
  disabled: control.disabled,
132
+ selectedDisabled: {
133
+ bg: control.disabled.bg,
134
+ fg: text.disabled,
135
+ border: border.disabled,
136
+ labelFg: text.disabled,
137
+ },
48
138
  };
@@ -2,9 +2,9 @@ export declare const button: {
2
2
  readonly primary: {
3
3
  readonly ring: string;
4
4
  readonly solid: {
5
- default: import("../../utils/createButtonPalette.js").ButtonState;
6
- hover: import("../../utils/createButtonPalette.js").ButtonState;
7
- pressed: import("../../utils/createButtonPalette.js").ButtonState;
5
+ default: import("../../factories/createButtonPalette.js").ButtonState;
6
+ hover: import("../../factories/createButtonPalette.js").ButtonState;
7
+ pressed: import("../../factories/createButtonPalette.js").ButtonState;
8
8
  };
9
9
  readonly outline: {
10
10
  readonly default: {
@@ -78,9 +78,9 @@ export declare const button: {
78
78
  readonly neutral: {
79
79
  readonly ring: string;
80
80
  readonly solid: {
81
- default: import("../../utils/createButtonPalette.js").ButtonState;
82
- hover: import("../../utils/createButtonPalette.js").ButtonState;
83
- pressed: import("../../utils/createButtonPalette.js").ButtonState;
81
+ default: import("../../factories/createButtonPalette.js").ButtonState;
82
+ hover: import("../../factories/createButtonPalette.js").ButtonState;
83
+ pressed: import("../../factories/createButtonPalette.js").ButtonState;
84
84
  };
85
85
  readonly outline: {
86
86
  readonly default: {
@@ -154,9 +154,9 @@ export declare const button: {
154
154
  readonly success: {
155
155
  readonly ring: string;
156
156
  readonly solid: {
157
- default: import("../../utils/createButtonPalette.js").ButtonState;
158
- hover: import("../../utils/createButtonPalette.js").ButtonState;
159
- pressed: import("../../utils/createButtonPalette.js").ButtonState;
157
+ default: import("../../factories/createButtonPalette.js").ButtonState;
158
+ hover: import("../../factories/createButtonPalette.js").ButtonState;
159
+ pressed: import("../../factories/createButtonPalette.js").ButtonState;
160
160
  };
161
161
  readonly outline: {
162
162
  readonly default: {
@@ -230,9 +230,9 @@ export declare const button: {
230
230
  readonly warning: {
231
231
  readonly ring: string;
232
232
  readonly solid: {
233
- default: import("../../utils/createButtonPalette.js").ButtonState;
234
- hover: import("../../utils/createButtonPalette.js").ButtonState;
235
- pressed: import("../../utils/createButtonPalette.js").ButtonState;
233
+ default: import("../../factories/createButtonPalette.js").ButtonState;
234
+ hover: import("../../factories/createButtonPalette.js").ButtonState;
235
+ pressed: import("../../factories/createButtonPalette.js").ButtonState;
236
236
  };
237
237
  readonly outline: {
238
238
  readonly default: {
@@ -306,9 +306,9 @@ export declare const button: {
306
306
  readonly danger: {
307
307
  readonly ring: string;
308
308
  readonly solid: {
309
- default: import("../../utils/createButtonPalette.js").ButtonState;
310
- hover: import("../../utils/createButtonPalette.js").ButtonState;
311
- pressed: import("../../utils/createButtonPalette.js").ButtonState;
309
+ default: import("../../factories/createButtonPalette.js").ButtonState;
310
+ hover: import("../../factories/createButtonPalette.js").ButtonState;
311
+ pressed: import("../../factories/createButtonPalette.js").ButtonState;
312
312
  };
313
313
  readonly outline: {
314
314
  readonly default: {
@@ -1,5 +1,5 @@
1
+ import { createButtonPalette } from '../../factories/createButtonPalette.js';
1
2
  import { colors } from '../../primitives/colors.js';
2
- import { createButtonPalette } from '../../utils/createButtonPalette.js';
3
3
  import { border } from '../semantic/border.js';
4
4
  import { surface } from '../semantic/surface.js';
5
5
  import { text } from '../semantic/text.js';
@@ -12,33 +12,33 @@ export declare const checkbox: {
12
12
  };
13
13
  readonly primary: {
14
14
  readonly ring: string;
15
- readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
16
- readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
17
- readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
15
+ readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
16
+ readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
17
+ readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
18
18
  };
19
19
  readonly neutral: {
20
20
  readonly ring: string;
21
- readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
22
- readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
23
- readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
21
+ readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
22
+ readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
23
+ readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
24
24
  };
25
25
  readonly success: {
26
26
  readonly ring: string;
27
- readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
28
- readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
29
- readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
27
+ readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
28
+ readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
29
+ readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
30
30
  };
31
31
  readonly warning: {
32
32
  readonly ring: string;
33
- readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
34
- readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
35
- readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
33
+ readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
34
+ readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
35
+ readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
36
36
  };
37
37
  readonly danger: {
38
38
  readonly ring: string;
39
- readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
40
- readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
41
- readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
39
+ readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
40
+ readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
41
+ readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
42
42
  };
43
43
  readonly focus: {
44
44
  readonly ring: "#5037C8";
@@ -1,5 +1,5 @@
1
+ import { createCheckboxPalette } from '../../factories/createCheckboxPalette.js';
1
2
  import { colors } from '../../primitives/colors.js';
2
- import { createCheckboxPalette } from '../../utils/createCheckboxPalette.js';
3
3
  import { control } from '../semantic/control.js';
4
4
  import { focus } from '../semantic/focus.js';
5
5
  import { status } from '../semantic/status.js';
@@ -2,6 +2,14 @@ export declare const formField: {
2
2
  readonly label: {
3
3
  readonly fg: "#3D3754";
4
4
  };
5
+ readonly optional: {
6
+ readonly fg: "#6B6386";
7
+ };
8
+ readonly labelInfo: {
9
+ readonly fg: "#6B6386";
10
+ readonly border: "#6B6386";
11
+ readonly radius: 999;
12
+ };
5
13
  readonly description: {
6
14
  readonly fg: "#6B6386";
7
15
  };
@@ -30,5 +38,49 @@ export declare const formField: {
30
38
  readonly descriptionFg: "#958CB0";
31
39
  readonly helperTextFg: "#958CB0";
32
40
  };
41
+ readonly size: {
42
+ readonly sm: {
43
+ readonly gap: 4;
44
+ readonly horizontalGap: 12;
45
+ readonly labelFontSize: 14;
46
+ readonly labelLineHeight: 20;
47
+ readonly descriptionFontSize: 12;
48
+ readonly descriptionLineHeight: 16;
49
+ readonly helperTextFontSize: 12;
50
+ readonly helperTextLineHeight: 16;
51
+ readonly optionalFontSize: 12;
52
+ readonly optionalLineHeight: 16;
53
+ readonly labelInfoSize: 16;
54
+ readonly labelInfoFontSize: 12;
55
+ };
56
+ readonly md: {
57
+ readonly gap: 8;
58
+ readonly horizontalGap: 16;
59
+ readonly labelFontSize: 16;
60
+ readonly labelLineHeight: 24;
61
+ readonly descriptionFontSize: 14;
62
+ readonly descriptionLineHeight: 20;
63
+ readonly helperTextFontSize: 14;
64
+ readonly helperTextLineHeight: 20;
65
+ readonly optionalFontSize: 12;
66
+ readonly optionalLineHeight: 16;
67
+ readonly labelInfoSize: 16;
68
+ readonly labelInfoFontSize: 12;
69
+ };
70
+ readonly lg: {
71
+ readonly gap: 12;
72
+ readonly horizontalGap: 20;
73
+ readonly labelFontSize: 20;
74
+ readonly labelLineHeight: 28;
75
+ readonly descriptionFontSize: 16;
76
+ readonly descriptionLineHeight: 24;
77
+ readonly helperTextFontSize: 16;
78
+ readonly helperTextLineHeight: 24;
79
+ readonly optionalFontSize: 14;
80
+ readonly optionalLineHeight: 20;
81
+ readonly labelInfoSize: 20;
82
+ readonly labelInfoFontSize: 14;
83
+ };
84
+ };
33
85
  };
34
86
  //# sourceMappingURL=formField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formField.d.ts","sourceRoot":"","sources":["../../../src/light/components/formField.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCZ,CAAC"}
1
+ {"version":3,"file":"formField.d.ts","sourceRoot":"","sources":["../../../src/light/components/formField.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FZ,CAAC"}
@@ -1,9 +1,20 @@
1
+ import { radius } from '../../tokens/radius.js';
2
+ import { spacing } from '../../tokens/spacing.js';
3
+ import { typography } from '../../tokens/typography.js';
1
4
  import { status } from '../semantic/status.js';
2
5
  import { text } from '../semantic/text.js';
3
6
  export const formField = {
4
7
  label: {
5
8
  fg: text.primary,
6
9
  },
10
+ optional: {
11
+ fg: text.secondary,
12
+ },
13
+ labelInfo: {
14
+ fg: text.secondary,
15
+ border: text.secondary,
16
+ radius: radius.full,
17
+ },
7
18
  description: {
8
19
  fg: text.secondary,
9
20
  },
@@ -32,4 +43,48 @@ export const formField = {
32
43
  descriptionFg: text.disabled,
33
44
  helperTextFg: text.disabled,
34
45
  },
46
+ size: {
47
+ sm: {
48
+ gap: spacing[1],
49
+ horizontalGap: spacing[3],
50
+ labelFontSize: typography.size.sm,
51
+ labelLineHeight: typography.lineHeight.sm,
52
+ descriptionFontSize: typography.size.xs,
53
+ descriptionLineHeight: typography.lineHeight.xs,
54
+ helperTextFontSize: typography.size.xs,
55
+ helperTextLineHeight: typography.lineHeight.xs,
56
+ optionalFontSize: typography.size.xs,
57
+ optionalLineHeight: typography.lineHeight.xs,
58
+ labelInfoSize: spacing[4],
59
+ labelInfoFontSize: typography.size.xs,
60
+ },
61
+ md: {
62
+ gap: spacing[2],
63
+ horizontalGap: spacing[4],
64
+ labelFontSize: typography.size.md,
65
+ labelLineHeight: typography.lineHeight.md,
66
+ descriptionFontSize: typography.size.sm,
67
+ descriptionLineHeight: typography.lineHeight.sm,
68
+ helperTextFontSize: typography.size.sm,
69
+ helperTextLineHeight: typography.lineHeight.sm,
70
+ optionalFontSize: typography.size.xs,
71
+ optionalLineHeight: typography.lineHeight.xs,
72
+ labelInfoSize: spacing[4],
73
+ labelInfoFontSize: typography.size.xs,
74
+ },
75
+ lg: {
76
+ gap: spacing[3],
77
+ horizontalGap: spacing[5],
78
+ labelFontSize: typography.size.lg,
79
+ labelLineHeight: typography.lineHeight.lg,
80
+ descriptionFontSize: typography.size.md,
81
+ descriptionLineHeight: typography.lineHeight.md,
82
+ helperTextFontSize: typography.size.md,
83
+ helperTextLineHeight: typography.lineHeight.md,
84
+ optionalFontSize: typography.size.sm,
85
+ optionalLineHeight: typography.lineHeight.sm,
86
+ labelInfoSize: spacing[5],
87
+ labelInfoFontSize: typography.size.sm,
88
+ },
89
+ },
35
90
  };
@@ -1,4 +1,94 @@
1
1
  export declare const input: {
2
+ readonly primary: {
3
+ readonly ring: string;
4
+ readonly outline: {
5
+ default: import("../../factories/createInputPalette.js").InputState;
6
+ hover: import("../../factories/createInputPalette.js").InputState;
7
+ focus: import("../../factories/createInputPalette.js").InputState;
8
+ };
9
+ readonly filled: {
10
+ default: import("../../factories/createInputPalette.js").InputState;
11
+ hover: import("../../factories/createInputPalette.js").InputState;
12
+ focus: import("../../factories/createInputPalette.js").InputState;
13
+ };
14
+ readonly soft: {
15
+ default: import("../../factories/createInputPalette.js").InputState;
16
+ hover: import("../../factories/createInputPalette.js").InputState;
17
+ focus: import("../../factories/createInputPalette.js").InputState;
18
+ };
19
+ };
20
+ readonly neutral: {
21
+ readonly ring: string;
22
+ readonly outline: {
23
+ default: import("../../factories/createInputPalette.js").InputState;
24
+ hover: import("../../factories/createInputPalette.js").InputState;
25
+ focus: import("../../factories/createInputPalette.js").InputState;
26
+ };
27
+ readonly filled: {
28
+ default: import("../../factories/createInputPalette.js").InputState;
29
+ hover: import("../../factories/createInputPalette.js").InputState;
30
+ focus: import("../../factories/createInputPalette.js").InputState;
31
+ };
32
+ readonly soft: {
33
+ default: import("../../factories/createInputPalette.js").InputState;
34
+ hover: import("../../factories/createInputPalette.js").InputState;
35
+ focus: import("../../factories/createInputPalette.js").InputState;
36
+ };
37
+ };
38
+ readonly success: {
39
+ readonly ring: string;
40
+ readonly outline: {
41
+ default: import("../../factories/createInputPalette.js").InputState;
42
+ hover: import("../../factories/createInputPalette.js").InputState;
43
+ focus: import("../../factories/createInputPalette.js").InputState;
44
+ };
45
+ readonly filled: {
46
+ default: import("../../factories/createInputPalette.js").InputState;
47
+ hover: import("../../factories/createInputPalette.js").InputState;
48
+ focus: import("../../factories/createInputPalette.js").InputState;
49
+ };
50
+ readonly soft: {
51
+ default: import("../../factories/createInputPalette.js").InputState;
52
+ hover: import("../../factories/createInputPalette.js").InputState;
53
+ focus: import("../../factories/createInputPalette.js").InputState;
54
+ };
55
+ };
56
+ readonly warning: {
57
+ readonly ring: string;
58
+ readonly outline: {
59
+ default: import("../../factories/createInputPalette.js").InputState;
60
+ hover: import("../../factories/createInputPalette.js").InputState;
61
+ focus: import("../../factories/createInputPalette.js").InputState;
62
+ };
63
+ readonly filled: {
64
+ default: import("../../factories/createInputPalette.js").InputState;
65
+ hover: import("../../factories/createInputPalette.js").InputState;
66
+ focus: import("../../factories/createInputPalette.js").InputState;
67
+ };
68
+ readonly soft: {
69
+ default: import("../../factories/createInputPalette.js").InputState;
70
+ hover: import("../../factories/createInputPalette.js").InputState;
71
+ focus: import("../../factories/createInputPalette.js").InputState;
72
+ };
73
+ };
74
+ readonly danger: {
75
+ readonly ring: string;
76
+ readonly outline: {
77
+ default: import("../../factories/createInputPalette.js").InputState;
78
+ hover: import("../../factories/createInputPalette.js").InputState;
79
+ focus: import("../../factories/createInputPalette.js").InputState;
80
+ };
81
+ readonly filled: {
82
+ default: import("../../factories/createInputPalette.js").InputState;
83
+ hover: import("../../factories/createInputPalette.js").InputState;
84
+ focus: import("../../factories/createInputPalette.js").InputState;
85
+ };
86
+ readonly soft: {
87
+ default: import("../../factories/createInputPalette.js").InputState;
88
+ hover: import("../../factories/createInputPalette.js").InputState;
89
+ focus: import("../../factories/createInputPalette.js").InputState;
90
+ };
91
+ };
2
92
  readonly default: {
3
93
  readonly bg: "transparent";
4
94
  readonly fg: "#3D3754";
@@ -32,10 +122,6 @@ export declare const input: {
32
122
  readonly border: "#E11D48";
33
123
  readonly ring: "#F43F5E";
34
124
  };
35
- readonly success: {
36
- readonly border: "#0F766E";
37
- readonly ring: "#14B8A6";
38
- };
39
125
  readonly readOnly: {
40
126
  readonly bg: "#FDFCFF";
41
127
  readonly fg: "#6B6386";
@@ -47,7 +133,7 @@ export declare const input: {
47
133
  readonly default: "#3D3754";
48
134
  readonly primary: "#5037C8";
49
135
  readonly secondary: "#6B6386";
50
- readonly success: "#0F766E";
136
+ readonly success: "#14B8A6";
51
137
  readonly danger: "#BE123C";
52
138
  readonly muted: "#958CB0";
53
139
  readonly inverse: "#FFFFFF";
@@ -60,5 +146,24 @@ export declare const input: {
60
146
  readonly focusBg: "#FDFCFF";
61
147
  readonly pressedBg: "#EEE8FA";
62
148
  };
149
+ readonly revealButton: {
150
+ readonly fg: "#3D3754";
151
+ readonly hoverFg: "#3D3754";
152
+ readonly hoverBg: "#F4F1FB";
153
+ };
154
+ readonly addon: {
155
+ readonly bg: "#F4F1FB";
156
+ readonly fg: "#6B6386";
157
+ readonly border: "#BBB2D2";
158
+ };
159
+ readonly affix: {
160
+ readonly fg: "#3D3754";
161
+ };
162
+ readonly counter: {
163
+ readonly fg: "#6B6386";
164
+ };
165
+ readonly spinner: {
166
+ readonly fg: "#958CB0";
167
+ };
63
168
  };
64
169
  //# sourceMappingURL=input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/light/components/input.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsER,CAAC"}
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/light/components/input.ts"],"names":[],"mappings":"AAsEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FR,CAAC"}