@vellira-ui/tokens 2.117.1 → 2.118.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/component-token-dependencies.d.ts +6 -0
- package/dist/component-token-dependencies.d.ts.map +1 -1
- package/dist/component-token-dependencies.js +7 -0
- package/dist/css/tokens.css +48 -0
- package/dist/dark/components/index.d.ts +1 -0
- package/dist/dark/components/index.d.ts.map +1 -1
- package/dist/dark/components/index.js +1 -0
- package/dist/dark/components/textarea.d.ts +2 -0
- package/dist/dark/components/textarea.d.ts.map +1 -0
- package/dist/dark/components/textarea.js +9 -0
- package/dist/factories/components/createTextareaTokens.d.ts +40 -0
- package/dist/factories/components/createTextareaTokens.d.ts.map +1 -0
- package/dist/factories/components/createTextareaTokens.js +13 -0
- package/dist/factories/index.d.ts +1 -0
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +1 -0
- package/dist/generated/token-types.d.ts +4 -4
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +64 -0
- package/dist/highContrast/components/index.d.ts +1 -0
- package/dist/highContrast/components/index.d.ts.map +1 -1
- package/dist/highContrast/components/index.js +1 -0
- package/dist/highContrast/components/textarea.d.ts +2 -0
- package/dist/highContrast/components/textarea.d.ts.map +1 -0
- package/dist/highContrast/components/textarea.js +9 -0
- package/dist/light/components/index.d.ts +1 -0
- package/dist/light/components/index.d.ts.map +1 -1
- package/dist/light/components/index.js +1 -0
- package/dist/light/components/textarea.d.ts +2 -0
- package/dist/light/components/textarea.d.ts.map +1 -0
- package/dist/light/components/textarea.js +9 -0
- package/dist/preservation/token-migrations.d.ts +6 -0
- package/dist/preservation/token-migrations.d.ts.map +1 -1
- package/dist/preservation/token-migrations.js +26 -0
- package/dist/token-architecture.d.ts +5 -0
- package/dist/token-architecture.d.ts.map +1 -1
- package/dist/token-architecture.js +6 -0
- package/package.json +1 -1
|
@@ -113,6 +113,12 @@ export declare const componentTokenDependencyAuditV1: readonly [{
|
|
|
113
113
|
readonly file: "tabs.ts";
|
|
114
114
|
readonly primitiveColorUsage: readonly ["intent-palette-construction", "component-owned-presentation"];
|
|
115
115
|
readonly unresolved: readonly [];
|
|
116
|
+
}, {
|
|
117
|
+
readonly factory: "createTextareaTokens";
|
|
118
|
+
readonly component: "textarea";
|
|
119
|
+
readonly file: "textarea.ts";
|
|
120
|
+
readonly primitiveColorUsage: readonly ["none"];
|
|
121
|
+
readonly unresolved: readonly [];
|
|
116
122
|
}, {
|
|
117
123
|
readonly factory: "createTooltipTokens";
|
|
118
124
|
readonly component: "tooltip";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-token-dependencies.d.ts","sourceRoot":"","sources":["../src/component-token-dependencies.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;CA8BnC,CAAC;AAEX,MAAM,MAAM,4BAA4B,GACtC,MAAM,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;AAE1E,eAAO,MAAM,wCAAwC;;;;;;;;;;EAe3C,CAAC;AAEX,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"component-token-dependencies.d.ts","sourceRoot":"","sources":["../src/component-token-dependencies.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;CA8BnC,CAAC;AAEX,MAAM,MAAM,4BAA4B,GACtC,MAAM,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;AAE1E,eAAO,MAAM,wCAAwC;;;;;;;;;;EAe3C,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0HlC,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAiC9B,CAAC"}
|
|
@@ -149,6 +149,13 @@ export const componentTokenDependencyAuditV1 = [
|
|
|
149
149
|
],
|
|
150
150
|
unresolved: [],
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
factory: 'createTextareaTokens',
|
|
154
|
+
component: 'textarea',
|
|
155
|
+
file: 'textarea.ts',
|
|
156
|
+
primitiveColorUsage: ['none'],
|
|
157
|
+
unresolved: [],
|
|
158
|
+
},
|
|
152
159
|
{
|
|
153
160
|
factory: 'createTooltipTokens',
|
|
154
161
|
component: 'tooltip',
|
package/dist/css/tokens.css
CHANGED
|
@@ -2321,6 +2321,22 @@
|
|
|
2321
2321
|
--tabs-list-border: #E4DDF4;
|
|
2322
2322
|
--tabs-list-segmented-bg: #231F3108;
|
|
2323
2323
|
--tabs-panel-fg: #3D3754;
|
|
2324
|
+
--textarea-default-bg: #FFFFFF;
|
|
2325
|
+
--textarea-default-fg: #3D3754;
|
|
2326
|
+
--textarea-default-border: #BBB2D2;
|
|
2327
|
+
--textarea-hover-bg: #F4F3FF;
|
|
2328
|
+
--textarea-hover-fg: #402C9F;
|
|
2329
|
+
--textarea-hover-border: #5037C8;
|
|
2330
|
+
--textarea-pressed-bg: #E9E6FF;
|
|
2331
|
+
--textarea-pressed-fg: #342580;
|
|
2332
|
+
--textarea-pressed-border: #402C9F;
|
|
2333
|
+
--textarea-focus-ring: #5037C8;
|
|
2334
|
+
--textarea-error-fg: #BE123C;
|
|
2335
|
+
--textarea-error-border: #E11D48;
|
|
2336
|
+
--textarea-error-ring: #F43F5E;
|
|
2337
|
+
--textarea-disabled-bg: #F4F1FB;
|
|
2338
|
+
--textarea-disabled-fg: #958CB0;
|
|
2339
|
+
--textarea-disabled-border: #E4DDF4;
|
|
2324
2340
|
--tooltip-content-bg: #FFFFFF;
|
|
2325
2341
|
--tooltip-content-fg: #3D3754;
|
|
2326
2342
|
--tooltip-content-border: #E4DDF4;
|
|
@@ -4616,6 +4632,22 @@
|
|
|
4616
4632
|
--tabs-list-border: #3D3754;
|
|
4617
4633
|
--tabs-list-segmented-bg: #FFFFFF0D;
|
|
4618
4634
|
--tabs-panel-fg: #F4F1FB;
|
|
4635
|
+
--textarea-default-bg: #2F2A42;
|
|
4636
|
+
--textarea-default-fg: #F4F1FB;
|
|
4637
|
+
--textarea-default-border: #4F4867;
|
|
4638
|
+
--textarea-hover-bg: #2F2A42;
|
|
4639
|
+
--textarea-hover-fg: #B8A8FF;
|
|
4640
|
+
--textarea-hover-border: #B8A8FF;
|
|
4641
|
+
--textarea-pressed-bg: #3D3754;
|
|
4642
|
+
--textarea-pressed-fg: #B8A8FF;
|
|
4643
|
+
--textarea-pressed-border: #B8A8FF;
|
|
4644
|
+
--textarea-focus-ring: #B8A8FF;
|
|
4645
|
+
--textarea-error-fg: #FB7185;
|
|
4646
|
+
--textarea-error-border: #FB7185;
|
|
4647
|
+
--textarea-error-ring: #FB7185;
|
|
4648
|
+
--textarea-disabled-bg: #2F2A42;
|
|
4649
|
+
--textarea-disabled-fg: #6B6386;
|
|
4650
|
+
--textarea-disabled-border: #3D3754;
|
|
4619
4651
|
--tooltip-content-bg: #2F2A42;
|
|
4620
4652
|
--tooltip-content-fg: #F4F1FB;
|
|
4621
4653
|
--tooltip-content-border: #4F4867;
|
|
@@ -6911,6 +6943,22 @@
|
|
|
6911
6943
|
--tabs-list-border: #9CA3AF;
|
|
6912
6944
|
--tabs-list-segmented-bg: #374151;
|
|
6913
6945
|
--tabs-panel-fg: #FFFFFF;
|
|
6946
|
+
--textarea-default-bg: #000000;
|
|
6947
|
+
--textarea-default-fg: #FFFFFF;
|
|
6948
|
+
--textarea-default-border: #9CA3AF;
|
|
6949
|
+
--textarea-hover-bg: #374151;
|
|
6950
|
+
--textarea-hover-fg: #FBBF24;
|
|
6951
|
+
--textarea-hover-border: #FCD34D;
|
|
6952
|
+
--textarea-pressed-bg: #374151;
|
|
6953
|
+
--textarea-pressed-fg: #FFFFFF;
|
|
6954
|
+
--textarea-pressed-border: #FDE68A;
|
|
6955
|
+
--textarea-focus-ring: #FCD34D;
|
|
6956
|
+
--textarea-error-fg: #FB7185;
|
|
6957
|
+
--textarea-error-border: #FB7185;
|
|
6958
|
+
--textarea-error-ring: #FB7185;
|
|
6959
|
+
--textarea-disabled-bg: #111827;
|
|
6960
|
+
--textarea-disabled-fg: #6B7280;
|
|
6961
|
+
--textarea-disabled-border: #4B5563;
|
|
6914
6962
|
--tooltip-content-bg: #FFFFFF;
|
|
6915
6963
|
--tooltip-content-fg: #000000;
|
|
6916
6964
|
--tooltip-content-border: #FCD34D;
|
|
@@ -12,5 +12,6 @@ export { radioGroup } from './radioGroup.js';
|
|
|
12
12
|
export { select } from './select.js';
|
|
13
13
|
export { switchTokens as switch } from './switch.js';
|
|
14
14
|
export { tabs } from './tabs.js';
|
|
15
|
+
export { textareaTokens as textarea } from './textarea.js';
|
|
15
16
|
export { tooltip } from './tooltip.js';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dark/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dark/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -12,4 +12,5 @@ export { radioGroup } from './radioGroup.js';
|
|
|
12
12
|
export { select } from './select.js';
|
|
13
13
|
export { switchTokens as switch } from './switch.js';
|
|
14
14
|
export { tabs } from './tabs.js';
|
|
15
|
+
export { textareaTokens as textarea } from './textarea.js';
|
|
15
16
|
export { tooltip } from './tooltip.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/dark/components/textarea.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,yDAIzB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createTextareaTokensFromSemantics } from '../../factories/components/createTextareaTokens.js';
|
|
2
|
+
import { control } from '../semantic/control.js';
|
|
3
|
+
import { focus } from '../semantic/focus.js';
|
|
4
|
+
import { status } from '../semantic/status.js';
|
|
5
|
+
export const textareaTokens = createTextareaTokensFromSemantics({
|
|
6
|
+
control,
|
|
7
|
+
focus,
|
|
8
|
+
status,
|
|
9
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export type TextareaVisualState = {
|
|
2
|
+
bg: string;
|
|
3
|
+
fg: string;
|
|
4
|
+
border: string;
|
|
5
|
+
};
|
|
6
|
+
export type TextareaTokensConfig = {
|
|
7
|
+
default: TextareaVisualState;
|
|
8
|
+
hover: TextareaVisualState;
|
|
9
|
+
pressed: TextareaVisualState;
|
|
10
|
+
focusRing: string;
|
|
11
|
+
error: {
|
|
12
|
+
fg: string;
|
|
13
|
+
border: string;
|
|
14
|
+
ring: string;
|
|
15
|
+
};
|
|
16
|
+
disabled: TextareaVisualState;
|
|
17
|
+
};
|
|
18
|
+
export type TextareaThemeSemantics = {
|
|
19
|
+
control: {
|
|
20
|
+
default: TextareaVisualState;
|
|
21
|
+
hover: TextareaVisualState;
|
|
22
|
+
pressed: TextareaVisualState;
|
|
23
|
+
disabled: TextareaVisualState;
|
|
24
|
+
};
|
|
25
|
+
focus: {
|
|
26
|
+
ring: {
|
|
27
|
+
color: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
status: {
|
|
31
|
+
error: {
|
|
32
|
+
fg: string;
|
|
33
|
+
border: string;
|
|
34
|
+
ring: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const createTextareaTokens: (config: TextareaTokensConfig) => TextareaTokensConfig;
|
|
39
|
+
export declare const createTextareaTokensFromSemantics: ({ control, focus, status, }: TextareaThemeSemantics) => TextareaTokensConfig;
|
|
40
|
+
//# sourceMappingURL=createTextareaTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTextareaTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createTextareaTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,EAAE,mBAAmB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE;QACP,OAAO,EAAE,mBAAmB,CAAC;QAC7B,KAAK,EAAE,mBAAmB,CAAC;QAC3B,OAAO,EAAE,mBAAmB,CAAC;QAC7B,QAAQ,EAAE,mBAAmB,CAAC;KAC/B,CAAC;IACF,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,KAAK,EAAE;YACL,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;KACH,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,QAAQ,oBAAoB,yBAAW,CAAC;AAE7E,eAAO,MAAM,iCAAiC,GAAI,6BAI/C,sBAAsB,yBAYrB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const createTextareaTokens = (config) => config;
|
|
2
|
+
export const createTextareaTokensFromSemantics = ({ control, focus, status, }) => createTextareaTokens({
|
|
3
|
+
default: control.default,
|
|
4
|
+
hover: control.hover,
|
|
5
|
+
pressed: control.pressed,
|
|
6
|
+
focusRing: focus.ring.color,
|
|
7
|
+
error: {
|
|
8
|
+
fg: status.error.fg,
|
|
9
|
+
border: status.error.border,
|
|
10
|
+
ring: status.error.ring,
|
|
11
|
+
},
|
|
12
|
+
disabled: control.disabled,
|
|
13
|
+
});
|
|
@@ -12,5 +12,6 @@ export * from './components/createRadioTokens.js';
|
|
|
12
12
|
export * from './components/createSelectTokens.js';
|
|
13
13
|
export * from './components/createSwitchTokens.js';
|
|
14
14
|
export * from './components/createTabsTokens.js';
|
|
15
|
+
export * from './components/createTextareaTokens.js';
|
|
15
16
|
export * from './components/createTooltipTokens.js';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC"}
|
package/dist/factories/index.js
CHANGED
|
@@ -12,4 +12,5 @@ export * from './components/createRadioTokens.js';
|
|
|
12
12
|
export * from './components/createSelectTokens.js';
|
|
13
13
|
export * from './components/createSwitchTokens.js';
|
|
14
14
|
export * from './components/createTabsTokens.js';
|
|
15
|
+
export * from './components/createTextareaTokens.js';
|
|
15
16
|
export * from './components/createTooltipTokens.js';
|