@vellira-ui/tokens 2.40.0 → 2.41.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/css/tokens.css +51 -0
- package/dist/dark/components/tooltip.d.ts +1 -11
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +19 -11
- package/dist/factories/createTooltipTokens.d.ts +57 -0
- package/dist/factories/createTooltipTokens.d.ts.map +1 -0
- package/dist/factories/createTooltipTokens.js +28 -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 +68 -0
- package/dist/highContrast/components/tooltip.d.ts +1 -11
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +19 -11
- package/dist/light/components/tooltip.d.ts +1 -11
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +19 -11
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-types.d.ts","sourceRoot":"","sources":["../../src/generated/token-types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAO,MAAM,UAAU,6CAA8C,CAAC;AAEtE,eAAO,MAAM,eAAe,05EAqHlB,CAAC;AAEX,eAAO,MAAM,kBAAkB,q+MAwMrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"token-types.d.ts","sourceRoot":"","sources":["../../src/generated/token-types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH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,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACxC,MAAM,GACN,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACjB,MAAM,GACN,CAAC,CAAC,CAAC,CAAC,SAAS,OAAO,GAClB,OAAO,GACP,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACjB,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACtB,CAAC,CAAC,CAAC,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC,OAAO,UAAU,CAAC,CAAC;AAC7D,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC3E,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,iBAAiB,CAAC;AACtE,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AACnD,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;AAC7D,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -2200,10 +2200,27 @@ export const componentTokenPaths = [
|
|
|
2200
2200
|
'components.tabs.warning.trigger.hover.border',
|
|
2201
2201
|
'components.tabs.warning.trigger.hover.fg',
|
|
2202
2202
|
'components.tooltip.arrow.bg',
|
|
2203
|
+
'components.tooltip.arrow.compactSize',
|
|
2204
|
+
'components.tooltip.arrow.size',
|
|
2205
|
+
'components.tooltip.content.animationDuration',
|
|
2203
2206
|
'components.tooltip.content.bg',
|
|
2204
2207
|
'components.tooltip.content.border',
|
|
2208
|
+
'components.tooltip.content.borderWidth',
|
|
2209
|
+
'components.tooltip.content.compactFontSize',
|
|
2210
|
+
'components.tooltip.content.compactLineHeight',
|
|
2211
|
+
'components.tooltip.content.compactMaxWidth',
|
|
2212
|
+
'components.tooltip.content.compactPaddingX',
|
|
2213
|
+
'components.tooltip.content.compactPaddingY',
|
|
2205
2214
|
'components.tooltip.content.fg',
|
|
2215
|
+
'components.tooltip.content.fontSize',
|
|
2216
|
+
'components.tooltip.content.lineHeight',
|
|
2217
|
+
'components.tooltip.content.maxWidth',
|
|
2218
|
+
'components.tooltip.content.paddingX',
|
|
2219
|
+
'components.tooltip.content.paddingY',
|
|
2220
|
+
'components.tooltip.content.radius',
|
|
2221
|
+
'components.tooltip.content.scale',
|
|
2206
2222
|
'components.tooltip.content.shadow',
|
|
2223
|
+
'components.tooltip.content.translateY',
|
|
2207
2224
|
];
|
|
2208
2225
|
export const baseTokenPaths = [
|
|
2209
2226
|
'tokens.radius.full',
|
|
@@ -4262,10 +4279,27 @@ export const tokenPaths = [
|
|
|
4262
4279
|
'components.tabs.warning.trigger.hover.border',
|
|
4263
4280
|
'components.tabs.warning.trigger.hover.fg',
|
|
4264
4281
|
'components.tooltip.arrow.bg',
|
|
4282
|
+
'components.tooltip.arrow.compactSize',
|
|
4283
|
+
'components.tooltip.arrow.size',
|
|
4284
|
+
'components.tooltip.content.animationDuration',
|
|
4265
4285
|
'components.tooltip.content.bg',
|
|
4266
4286
|
'components.tooltip.content.border',
|
|
4287
|
+
'components.tooltip.content.borderWidth',
|
|
4288
|
+
'components.tooltip.content.compactFontSize',
|
|
4289
|
+
'components.tooltip.content.compactLineHeight',
|
|
4290
|
+
'components.tooltip.content.compactMaxWidth',
|
|
4291
|
+
'components.tooltip.content.compactPaddingX',
|
|
4292
|
+
'components.tooltip.content.compactPaddingY',
|
|
4267
4293
|
'components.tooltip.content.fg',
|
|
4294
|
+
'components.tooltip.content.fontSize',
|
|
4295
|
+
'components.tooltip.content.lineHeight',
|
|
4296
|
+
'components.tooltip.content.maxWidth',
|
|
4297
|
+
'components.tooltip.content.paddingX',
|
|
4298
|
+
'components.tooltip.content.paddingY',
|
|
4299
|
+
'components.tooltip.content.radius',
|
|
4300
|
+
'components.tooltip.content.scale',
|
|
4268
4301
|
'components.tooltip.content.shadow',
|
|
4302
|
+
'components.tooltip.content.translateY',
|
|
4269
4303
|
'semantic.action.close.active.bg',
|
|
4270
4304
|
'semantic.action.close.active.border',
|
|
4271
4305
|
'semantic.action.close.active.fg',
|
|
@@ -6769,10 +6803,27 @@ export const themeCssVariableNames = [
|
|
|
6769
6803
|
'--text-secondary',
|
|
6770
6804
|
'--text-subtle',
|
|
6771
6805
|
'--tooltip-arrow-bg',
|
|
6806
|
+
'--tooltip-arrow-compact-size',
|
|
6807
|
+
'--tooltip-arrow-size',
|
|
6808
|
+
'--tooltip-content-animation-duration',
|
|
6772
6809
|
'--tooltip-content-bg',
|
|
6773
6810
|
'--tooltip-content-border',
|
|
6811
|
+
'--tooltip-content-border-width',
|
|
6812
|
+
'--tooltip-content-compact-font-size',
|
|
6813
|
+
'--tooltip-content-compact-line-height',
|
|
6814
|
+
'--tooltip-content-compact-max-width',
|
|
6815
|
+
'--tooltip-content-compact-padding-x',
|
|
6816
|
+
'--tooltip-content-compact-padding-y',
|
|
6774
6817
|
'--tooltip-content-fg',
|
|
6818
|
+
'--tooltip-content-font-size',
|
|
6819
|
+
'--tooltip-content-line-height',
|
|
6820
|
+
'--tooltip-content-max-width',
|
|
6821
|
+
'--tooltip-content-padding-x',
|
|
6822
|
+
'--tooltip-content-padding-y',
|
|
6823
|
+
'--tooltip-content-radius',
|
|
6824
|
+
'--tooltip-content-scale',
|
|
6775
6825
|
'--tooltip-content-shadow',
|
|
6826
|
+
'--tooltip-content-translate-y',
|
|
6776
6827
|
];
|
|
6777
6828
|
export const cssVariableNames = [
|
|
6778
6829
|
'--action-close-active-bg',
|
|
@@ -9004,10 +9055,27 @@ export const cssVariableNames = [
|
|
|
9004
9055
|
'--text-secondary',
|
|
9005
9056
|
'--text-subtle',
|
|
9006
9057
|
'--tooltip-arrow-bg',
|
|
9058
|
+
'--tooltip-arrow-compact-size',
|
|
9059
|
+
'--tooltip-arrow-size',
|
|
9060
|
+
'--tooltip-content-animation-duration',
|
|
9007
9061
|
'--tooltip-content-bg',
|
|
9008
9062
|
'--tooltip-content-border',
|
|
9063
|
+
'--tooltip-content-border-width',
|
|
9064
|
+
'--tooltip-content-compact-font-size',
|
|
9065
|
+
'--tooltip-content-compact-line-height',
|
|
9066
|
+
'--tooltip-content-compact-max-width',
|
|
9067
|
+
'--tooltip-content-compact-padding-x',
|
|
9068
|
+
'--tooltip-content-compact-padding-y',
|
|
9009
9069
|
'--tooltip-content-fg',
|
|
9070
|
+
'--tooltip-content-font-size',
|
|
9071
|
+
'--tooltip-content-line-height',
|
|
9072
|
+
'--tooltip-content-max-width',
|
|
9073
|
+
'--tooltip-content-padding-x',
|
|
9074
|
+
'--tooltip-content-padding-y',
|
|
9075
|
+
'--tooltip-content-radius',
|
|
9076
|
+
'--tooltip-content-scale',
|
|
9010
9077
|
'--tooltip-content-shadow',
|
|
9078
|
+
'--tooltip-content-translate-y',
|
|
9011
9079
|
'--z-index-backdrop',
|
|
9012
9080
|
'--z-index-dropdown',
|
|
9013
9081
|
'--z-index-modal',
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
export declare const tooltip:
|
|
2
|
-
readonly content: {
|
|
3
|
-
readonly bg: "#FFFFFF";
|
|
4
|
-
readonly fg: "#000000";
|
|
5
|
-
readonly border: "#FCD34D";
|
|
6
|
-
readonly shadow: "0 4px 12px rgba(0, 0, 0, 0.6)";
|
|
7
|
-
};
|
|
8
|
-
readonly arrow: {
|
|
9
|
-
readonly bg: "#FFFFFF";
|
|
10
|
-
};
|
|
11
|
-
};
|
|
1
|
+
export declare const tooltip: import("../../factories/createTooltipTokens.js").TooltipTokens;
|
|
12
2
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/tooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/tooltip.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,gEAclB,CAAC"}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
import { createTooltipTokens } from '../../factories/createTooltipTokens.js';
|
|
2
|
+
import { radius } from '../../tokens/radius.js';
|
|
3
|
+
import { spacing } from '../../tokens/spacing.js';
|
|
4
|
+
import { typography } from '../../tokens/typography.js';
|
|
1
5
|
import { overlay } from '../semantic/overlay.js';
|
|
2
6
|
import { shadow } from '../semantic/shadow.js';
|
|
3
|
-
export const tooltip = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
export const tooltip = createTooltipTokens({
|
|
8
|
+
contentBg: overlay.tooltip.bg,
|
|
9
|
+
contentFg: overlay.tooltip.fg,
|
|
10
|
+
contentBorder: overlay.tooltip.border,
|
|
11
|
+
contentShadow: shadow.md,
|
|
12
|
+
contentRadius: radius.sm,
|
|
13
|
+
contentPaddingX: spacing[3],
|
|
14
|
+
contentPaddingY: spacing[2],
|
|
15
|
+
contentCompactPaddingX: spacing[2],
|
|
16
|
+
contentCompactPaddingY: spacing[1],
|
|
17
|
+
contentFontSize: typography.size.sm,
|
|
18
|
+
contentLineHeight: typography.lineHeight.sm,
|
|
19
|
+
contentCompactFontSize: typography.size.xs,
|
|
20
|
+
contentCompactLineHeight: typography.lineHeight.xs,
|
|
21
|
+
});
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
export declare const tooltip:
|
|
2
|
-
readonly content: {
|
|
3
|
-
readonly bg: "#181521";
|
|
4
|
-
readonly fg: "#FFFFFF";
|
|
5
|
-
readonly border: "#181521";
|
|
6
|
-
readonly shadow: "0 4px 12px rgba(24, 21, 33, 0.12)";
|
|
7
|
-
};
|
|
8
|
-
readonly arrow: {
|
|
9
|
-
readonly bg: "#181521";
|
|
10
|
-
};
|
|
11
|
-
};
|
|
1
|
+
export declare const tooltip: import("../../factories/createTooltipTokens.js").TooltipTokens;
|
|
12
2
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/light/components/tooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/light/components/tooltip.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,gEAclB,CAAC"}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
import { createTooltipTokens } from '../../factories/createTooltipTokens.js';
|
|
2
|
+
import { radius } from '../../tokens/radius.js';
|
|
3
|
+
import { spacing } from '../../tokens/spacing.js';
|
|
4
|
+
import { typography } from '../../tokens/typography.js';
|
|
1
5
|
import { overlay } from '../semantic/overlay.js';
|
|
2
6
|
import { shadow } from '../semantic/shadow.js';
|
|
3
|
-
export const tooltip = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
export const tooltip = createTooltipTokens({
|
|
8
|
+
contentBg: overlay.tooltip.bg,
|
|
9
|
+
contentFg: overlay.tooltip.fg,
|
|
10
|
+
contentBorder: overlay.tooltip.border,
|
|
11
|
+
contentShadow: shadow.md,
|
|
12
|
+
contentRadius: radius.sm,
|
|
13
|
+
contentPaddingX: spacing[3],
|
|
14
|
+
contentPaddingY: spacing[2],
|
|
15
|
+
contentCompactPaddingX: spacing[2],
|
|
16
|
+
contentCompactPaddingY: spacing[1],
|
|
17
|
+
contentFontSize: typography.size.sm,
|
|
18
|
+
contentLineHeight: typography.lineHeight.sm,
|
|
19
|
+
contentCompactFontSize: typography.size.xs,
|
|
20
|
+
contentCompactLineHeight: typography.lineHeight.xs,
|
|
21
|
+
});
|