@veritone-ce/design-system 2.1.4 → 2.2.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 (41) hide show
  1. package/dist/cjs/Button/index.js +15 -4
  2. package/dist/cjs/Button/styles.module.scss.js +1 -1
  3. package/dist/cjs/Chip/index.js +61 -0
  4. package/dist/cjs/Chip/styles.module.scss.js +7 -0
  5. package/dist/cjs/Drawer/components.js +35 -11
  6. package/dist/cjs/Drawer/styles.module.scss.js +1 -1
  7. package/dist/cjs/IconButton/index.js +25 -7
  8. package/dist/cjs/IconButton/styles.module.scss.js +1 -1
  9. package/dist/cjs/index.js +27 -23
  10. package/dist/cjs/styles/createPalette.js +219 -0
  11. package/dist/cjs/styles/createTheme.js +2 -2
  12. package/dist/cjs/styles/palette.js +13 -196
  13. package/dist/cjs/styles.css +4 -3
  14. package/dist/cjs/utils/recursive.js +25 -0
  15. package/dist/esm/Button/index.js +15 -4
  16. package/dist/esm/Button/styles.module.scss.js +1 -1
  17. package/dist/esm/Chip/index.js +57 -0
  18. package/dist/esm/Chip/styles.module.scss.js +3 -0
  19. package/dist/esm/Drawer/components.js +36 -12
  20. package/dist/esm/Drawer/styles.module.scss.js +1 -1
  21. package/dist/esm/IconButton/index.js +25 -7
  22. package/dist/esm/IconButton/styles.module.scss.js +1 -1
  23. package/dist/esm/index.js +3 -1
  24. package/dist/esm/styles/createPalette.js +217 -0
  25. package/dist/esm/styles/createTheme.js +1 -1
  26. package/dist/esm/styles/palette.js +13 -196
  27. package/dist/esm/styles/scss/theme.generated.scss +72 -20
  28. package/dist/esm/styles.css +4 -3
  29. package/dist/esm/utils/recursive.js +23 -0
  30. package/dist/types/Button/index.d.ts +3 -1
  31. package/dist/types/Chip/index.d.ts +11 -0
  32. package/dist/types/Drawer/components.d.ts +13 -1
  33. package/dist/types/IconButton/index.d.ts +5 -1
  34. package/dist/types/index.d.ts +2 -0
  35. package/dist/types/styles/createPalette.d.ts +50 -0
  36. package/dist/types/styles/createTheme.d.ts +2 -1
  37. package/dist/types/styles/css-vars.d.ts +4 -2
  38. package/dist/types/styles/index.d.ts +3 -2
  39. package/dist/types/styles/palette.d.ts +13 -55
  40. package/dist/types/utils/recursive.d.ts +10 -0
  41. package/package.json +1 -1
@@ -1,204 +1,21 @@
1
1
  'use strict';
2
2
  'use strict';
3
3
 
4
- var color2k = require('color2k');
4
+ var recursive = require('../utils/recursive.js');
5
+ require('color2k');
6
+ require('./css-vars.js');
7
+ var defaultTheme = require('./defaultTheme.js');
8
+ require('react');
9
+ require('@mui/system');
10
+ require('./styled.js');
11
+ require('react/jsx-runtime');
5
12
 
6
- function isPaletteColorOptions(obj) {
7
- return typeof obj === "string";
8
- }
9
- function createPaletteColor(options) {
10
- return options;
11
- }
12
- function contrastColor(surface) {
13
- return color2k.readableColor(surface);
14
- }
15
- function isPaletteSurfaceColorsOptions(obj) {
16
- return typeof obj === "string" || obj["surface"] !== void 0;
17
- }
18
- function createPaletteSurfaceColors(options) {
19
- if (typeof options === "string") {
20
- const surface = createPaletteColor(options);
21
- return {
22
- surface,
23
- on: contrastColor(surface)
24
- };
25
- } else {
26
- const surface = createPaletteColor(options.surface);
27
- return {
28
- surface,
29
- on: options.on ? createPaletteColor(options.on) : contrastColor(surface)
30
- };
31
- }
32
- }
33
- function createPaletteActionVariantsColors(options, disabled) {
34
- const hoverFromBase = (b) => ({
35
- surface: color2k.toHex(color2k.desaturate(color2k.darken(b.surface, 1 / 10), 1 / 4)),
36
- on: b.on
37
- });
38
- if (isPaletteSurfaceColorsOptions(options)) {
39
- const resolved = createPaletteSurfaceColors(options);
40
- return {
41
- base: resolved,
42
- hover: hoverFromBase(resolved),
43
- disabled
44
- };
45
- } else {
46
- const base = createPaletteSurfaceColors(options.base);
47
- return {
48
- base,
49
- hover: options.hover ? createPaletteSurfaceColors(options.hover) : hoverFromBase(base),
50
- disabled
51
- };
52
- }
53
- }
54
- function createPaletteBrand(options) {
55
- const brandColorStepFromBase = (b, step) => {
56
- return {
57
- surface: step >= 1 ? color2k.toHex(color2k.darken(b.surface, step / 20)) : color2k.toHex(color2k.lighten(b.surface, step / 2)),
58
- on: b.on
59
- };
60
- };
61
- if (isPaletteSurfaceColorsOptions(options)) {
62
- const resolved = createPaletteSurfaceColors(options);
63
- return {
64
- 1: resolved,
65
- 2: brandColorStepFromBase(resolved, 1),
66
- 3: brandColorStepFromBase(resolved, 2),
67
- 4: brandColorStepFromBase(resolved, 0.5),
68
- 5: brandColorStepFromBase(resolved, 0.25)
69
- };
13
+ function resolvePaletteValue(input, palette = defaultTheme.defaultThemeCssVariableUsages.palette) {
14
+ if (typeof input === "string") {
15
+ return recursive.deepGetValue(palette, input);
70
16
  } else {
71
- const base = createPaletteSurfaceColors(options[1]);
72
- return {
73
- 1: base,
74
- 2: options[2] ? createPaletteSurfaceColors(options[2]) : brandColorStepFromBase(base, 1),
75
- 3: options[3] ? createPaletteSurfaceColors(options[3]) : brandColorStepFromBase(base, 2),
76
- 4: options[4] ? createPaletteSurfaceColors(options[4]) : brandColorStepFromBase(base, 0.5),
77
- 5: options[5] ? createPaletteSurfaceColors(options[5]) : brandColorStepFromBase(base, 0.25)
78
- };
17
+ return input;
79
18
  }
80
19
  }
81
- function createPaletteText(options) {
82
- const textColorStepFromBase = (b, _step) => {
83
- return b;
84
- };
85
- if (isPaletteColorOptions(options)) {
86
- const resolved = createPaletteColor(options);
87
- return {
88
- primary: resolved,
89
- secondary: textColorStepFromBase(resolved),
90
- tertiary: textColorStepFromBase(resolved)
91
- };
92
- } else {
93
- const base = createPaletteColor(options.primary);
94
- return {
95
- primary: base,
96
- secondary: options.secondary ? createPaletteColor(options.secondary) : textColorStepFromBase(base),
97
- tertiary: options.tertiary ? createPaletteColor(options.tertiary) : textColorStepFromBase(base)
98
- };
99
- }
100
- }
101
- function createPaletteAction(options, disabled) {
102
- const destructiveDefault = createPaletteActionVariantsColors(
103
- {
104
- base: {
105
- surface: "#EB0000",
106
- on: "#FFFFFF"
107
- },
108
- hover: {
109
- surface: "#a63737",
110
- on: "#FFFFFF"
111
- }
112
- },
113
- disabled
114
- );
115
- return {
116
- primary: createPaletteActionVariantsColors(options.primary, disabled),
117
- destructive: options.destructive ? createPaletteActionVariantsColors(options.destructive, disabled) : destructiveDefault
118
- };
119
- }
120
- function createPaletteIndicator(options, disabled) {
121
- return {
122
- success: options.success ? createPaletteActionVariantsColors(options.success, disabled) : createPaletteActionVariantsColors("#28BA3F", disabled),
123
- info: options.info ? createPaletteActionVariantsColors(options.info, disabled) : createPaletteActionVariantsColors("#335B89", disabled),
124
- warning: options.warning ? createPaletteActionVariantsColors(options.warning, disabled) : createPaletteActionVariantsColors("#FFBB0A", disabled),
125
- error: options.error ? createPaletteActionVariantsColors(options.error, disabled) : createPaletteActionVariantsColors("#EB0000", disabled)
126
- };
127
- }
128
- function createPaletteTable(options, disabled) {
129
- return createPaletteActionVariantsColors(options, disabled);
130
- }
131
- function createPaletteBackground(options) {
132
- const backgroundStepFromBase = (b, step) => {
133
- return color2k.toHex(color2k.darken(b, step / 20));
134
- };
135
- if (isPaletteColorOptions(options)) {
136
- const resolved = createPaletteColor(options);
137
- return {
138
- primary: resolved,
139
- secondary: backgroundStepFromBase(resolved, 1)
140
- };
141
- } else {
142
- const base = createPaletteColor(options.primary);
143
- return {
144
- primary: base,
145
- secondary: options.secondary ? createPaletteColor(options.secondary) : backgroundStepFromBase(base, 1)
146
- };
147
- }
148
- }
149
- function createPalette(options = {}) {
150
- const disabled = options.disabled ? createPaletteSurfaceColors(options.disabled) : createPaletteSurfaceColors({
151
- surface: "#FAFAFA",
152
- on: "#7C848D"
153
- });
154
- return {
155
- brand: createPaletteBrand(
156
- options.brand ?? {
157
- 1: "#214167",
158
- 2: "#335B89"
159
- }
160
- ),
161
- text: createPaletteText(
162
- options.text ?? {
163
- primary: "#2A323C",
164
- secondary: "#5C6269",
165
- tertiary: "#465364"
166
- }
167
- ),
168
- action: createPaletteAction(
169
- options.action ?? {
170
- primary: {
171
- base: {
172
- surface: "#1871E8",
173
- on: "#FFFFFF"
174
- },
175
- hover: {
176
- surface: "#335B89",
177
- on: "#FFFFFF"
178
- }
179
- }
180
- },
181
- disabled
182
- ),
183
- indicator: createPaletteIndicator(options.indicator ?? {}, disabled),
184
- disabled,
185
- background: createPaletteBackground(
186
- options.background ?? {
187
- primary: "#FFFFFF",
188
- secondary: "#E0E8F0"
189
- }
190
- ),
191
- table: createPaletteTable(
192
- options.table ?? {
193
- base: {
194
- surface: "#FFFFFF",
195
- on: "#2A323C"
196
- },
197
- hover: "#EAF1FA"
198
- },
199
- disabled
200
- )
201
- };
202
- }
203
20
 
204
- exports.createPalette = createPalette;
21
+ exports.resolvePaletteValue = resolvePaletteValue;
@@ -1,4 +1,5 @@
1
1
  .vt_ce_Checkbox_checkbox__cc119886{align-items:center;color:var(--vt-ce-theme-palette-text-secondary,#5c6269);cursor:pointer;display:inline-flex}.vt_ce_Checkbox_checkbox__cc119886 .vt_ce_Checkbox_checkboxSvgPath__cc119886{fill:var(--vt-ce-theme-palette-text-secondary,#5c6269)}.vt_ce_Checkbox_checkbox__cc119886:hover .vt_ce_Checkbox_checkboxSvgPath__cc119886{fill:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_Checkbox_checkbox__cc119886[aria-checked=mixed] .vt_ce_Checkbox_checkboxSvgPath__cc119886,.vt_ce_Checkbox_checkbox__cc119886[aria-checked=true] .vt_ce_Checkbox_checkboxSvgPath__cc119886{fill:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_Checkbox_checkbox__cc119886[aria-checked=mixed]:hover .vt_ce_Checkbox_checkboxSvgPath__cc119886,.vt_ce_Checkbox_checkbox__cc119886[aria-checked=true]:hover .vt_ce_Checkbox_checkboxSvgPath__cc119886{fill:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_Checkbox_checkbox__cc119886[aria-disabled=true] .vt_ce_Checkbox_checkboxSvgPath__cc119886,.vt_ce_Checkbox_checkbox__cc119886[aria-disabled=true]:hover .vt_ce_Checkbox_checkboxSvgPath__cc119886{fill:var(--vt-ce-theme-palette-disabled-on,#7c848d)}.vt_ce_Checkbox_passthroughLabelContainer__cc119886{cursor:pointer;display:inline-block;height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:40px}.vt_ce_Checkbox_invisibleCheckbox__cc119886{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.vt_ce_Checkbox_visibleLabel__cc119886{font-family:var(--vt-ce-theme-typography-paragraph2-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph2-fontSize,14px);font-style:var(--vt-ce-theme-typography-paragraph2-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph2-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph2-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph2-lineHeight,20px);margin-left:5px;text-transform:var(--vt-ce-theme-typography-paragraph2-textTransform,inherit)}.vt_ce_Checkbox_iconContainer__cc119886{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:1}
2
+ .vt_ce_Chip_chip__323b4046{align-items:center;background-color:var(--vt-ce-theme-palette-background-primary,#fff);border:.5px solid var(--vt-ce-theme-palette-text-secondary,#5c6269);border-radius:20px;display:inline-flex;height:30px;padding:0 10px;white-space:nowrap;width:auto}.vt_ce_Chip_chipText__323b4046{color:var(--vt-ce-theme-palette-text-tertiary,#465364);font-family:var(--vt-ce-theme-typography-paragraph3-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph3-fontSize,12px);font-style:var(--vt-ce-theme-typography-paragraph3-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph3-fontWeight,400);font-weight:700;letter-spacing:var(--vt-ce-theme-typography-paragraph3-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph3-lineHeight,18px);text-transform:var(--vt-ce-theme-typography-paragraph3-textTransform,inherit)}.vt_ce_Chip_buttonIcon__323b4046{--vt-ce-icon-size:18px;margin-left:5px}
2
3
  .vt_ce_Input_input__f7983a21{display:inline-flex;flex-direction:column;gap:3px}.vt_ce_Input_label__f7983a21{color:var(--vt-ce-theme-palette-text-secondary,#5c6269);font-family:var(--vt-ce-theme-typography-label-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-label-fontSize,14px);font-style:var(--vt-ce-theme-typography-label-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-label-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-label-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-label-lineHeight,17px);text-transform:var(--vt-ce-theme-typography-label-textTransform,inherit)}.vt_ce_Input_innerInputContainer__f7983a21{align-items:center;align-self:stretch;background:var(--vt-ce-theme-palette-background-primary,#fff);border-radius:4px;color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;gap:10px;margin-bottom:1px;margin-top:1px;outline-color:var(--vt-ce-theme-palette-text-secondary,#5c6269);outline-style:solid;outline-width:1px;padding:0 8px}.vt_ce_Input_innerInputContainer__f7983a21:focus-within{outline-color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89);outline-width:2px}.vt_ce_Input_innerInputContainer__f7983a21:hover{outline-color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89);outline-width:2px}.vt_ce_Input_innerInputContainer__f7983a21[data-disabled=true]{background-color:var(--vt-ce-theme-palette-action-primary-disabled-surface,#fafafa);color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d);outline-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0)}.vt_ce_Input_innerInputContainer__f7983a21[data-disabled=true]:focus-within{outline-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);outline-width:1px}.vt_ce_Input_innerInputContainer__f7983a21[data-disabled=true]:hover{outline-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);outline-width:1px}.vt_ce_Input_innerInputContainer__f7983a21[data-error=true]{outline-color:var(--vt-ce-theme-palette-indicator-error-base-surface,#eb0000)}.vt_ce_Input_innerInput__f7983a21{background:none;border:none;color:inherit;flex-grow:1;font-family:var(--vt-ce-theme-typography-paragraph2-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph2-fontSize,14px);font-style:var(--vt-ce-theme-typography-paragraph2-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph2-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph2-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph2-lineHeight,20px);outline:none;padding:8px 0;text-transform:var(--vt-ce-theme-typography-paragraph2-textTransform,inherit)}.vt_ce_Input_innerInput__f7983a21::-moz-placeholder{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Input_innerInput__f7983a21::placeholder{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Input_inputIcon__f7983a21{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center;padding:8px 0;--vt-ce-icon-size:18px}.vt_ce_Input_helpLabel__f7983a21{color:var(--vt-ce-theme-palette-text-secondary,#5c6269)}.vt_ce_Input_errorLabel__f7983a21,.vt_ce_Input_helpLabel__f7983a21{font-family:var(--vt-ce-theme-typography-paragraph3-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph3-fontSize,12px);font-style:var(--vt-ce-theme-typography-paragraph3-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph3-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph3-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph3-lineHeight,18px);text-transform:var(--vt-ce-theme-typography-paragraph3-textTransform,inherit)}.vt_ce_Input_errorLabel__f7983a21{align-items:center;color:var(--vt-ce-theme-palette-indicator-error-base-surface,#eb0000);display:flex;gap:3px}
3
4
  .vt_ce_Pagination_list__50478999{align-items:center;display:flex;list-style:none;margin:0;padding:0}.vt_ce_Pagination_list__50478999 li{align-items:center;display:flex}.vt_ce_Pagination_ellipsis__50478999{color:var(--vt-ce-theme-palette-text-tertiary,#465364)}
4
5
  .vt_ce_RadioButton_radio__d49ab70a{align-items:center;color:var(--vt-ce-theme-palette-text-secondary,#5c6269);cursor:pointer;display:flex}.vt_ce_RadioButton_radio__d49ab70a .vt_ce_RadioButton_radioCircleOuter__d49ab70a{fill:none;stroke:var(--vt-ce-theme-palette-text-tertiary,#465364)}.vt_ce_RadioButton_radio__d49ab70a .vt_ce_RadioButton_radioCircleInner__d49ab70a{fill:none}.vt_ce_RadioButton_radio__d49ab70a:hover .vt_ce_RadioButton_radioCircleOuter__d49ab70a{fill:none;stroke:var(--vt-ce-theme-palette-text-tertiary,#465364)}.vt_ce_RadioButton_radio__d49ab70a:hover .vt_ce_RadioButton_radioCircleInner__d49ab70a{fill:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_RadioButton_radio__d49ab70a[aria-checked=true] .vt_ce_RadioButton_radioCircleInner__d49ab70a{fill:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_RadioButton_radio__d49ab70a[aria-checked=true]:hover .vt_ce_RadioButton_radioCircleInner__d49ab70a{fill:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_RadioButton_radio__d49ab70a[aria-disabled=true]{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d);fill:none}.vt_ce_RadioButton_radio__d49ab70a[aria-disabled=true] .vt_ce_RadioButton_radioCircleOuter__d49ab70a{stroke:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_RadioButton_radio__d49ab70a[aria-disabled=true][aria-checked=true] .vt_ce_RadioButton_radioCircleInner__d49ab70a{fill:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_RadioButton_radio__d49ab70a[aria-disabled=true]:hover{fill:none}.vt_ce_RadioButton_radio__d49ab70a[aria-disabled=true]:hover .vt_ce_RadioButton_radioCircleOuter__d49ab70a{stroke:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_RadioButton_radio__d49ab70a[aria-disabled=true]:hover[aria-checked=true] .vt_ce_RadioButton_radioCircleInner__d49ab70a{fill:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_RadioButton_passthroughLabelContainer__d49ab70a{cursor:pointer;display:inline-block;height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:40px}.vt_ce_RadioButton_invisibleRadio__d49ab70a{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.vt_ce_RadioButton_visibleLabel__d49ab70a{font-family:var(--vt-ce-theme-typography-paragraph1-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph1-fontSize,16px);font-style:var(--vt-ce-theme-typography-paragraph1-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph1-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph1-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph1-lineHeight,24px);margin-left:5px;text-transform:var(--vt-ce-theme-typography-paragraph1-textTransform,inherit)}.vt_ce_RadioButton_iconContainer__d49ab70a{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:1}
@@ -7,12 +8,12 @@
7
8
  .vt_ce_Alert_alert__720ad3ec{--vt-ce-alert-color:var(--vt-ce-theme-palette-indicator-success-base-surface,#28ba3f);align-items:stretch;background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-theme-palette-disabled-on,#7c848d);border-radius:4px;border-style:solid;border-width:1px;display:flex;width:415px}.vt_ce_Alert_alertStripe__720ad3ec{background-color:var(--vt-ce-alert-color);width:4px}.vt_ce_Alert_alertIcon__720ad3ec{align-items:center;color:var(--vt-ce-alert-color);display:flex;margin:10px;--vt-ce-icon-size:24px}.vt_ce_Alert_alertContent__720ad3ec{align-items:baseline;color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;flex-wrap:wrap;margin:14px 0}.vt_ce_Alert_alertLabel__720ad3ec{font-weight:var(--vt-ce-theme-typography-paragraph3-fontWeight,400);font-weight:700}.vt_ce_Alert_alertLabel__720ad3ec,.vt_ce_Alert_alertText__720ad3ec{display:inline-block;font-family:var(--vt-ce-theme-typography-paragraph3-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph3-fontSize,12px);font-style:var(--vt-ce-theme-typography-paragraph3-fontStyle,normal);letter-spacing:var(--vt-ce-theme-typography-paragraph3-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph3-lineHeight,18px);margin-right:2px;text-transform:var(--vt-ce-theme-typography-paragraph3-textTransform,inherit);white-space:pre}.vt_ce_Alert_alertText__720ad3ec{font-weight:var(--vt-ce-theme-typography-paragraph3-fontWeight,400)}.vt_ce_Alert_spacer__720ad3ec{flex-grow:1}.vt_ce_Alert_alertAction__720ad3ec{flex-shrink:0}.vt_ce_Alert_alertClose__720ad3ec{align-items:center;color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;margin-right:10px}
8
9
  /*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:after,:before{box-sizing:border-box}html{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0}hr{color:inherit;height:0}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}
9
10
  .vt_ce_CircularProgress_container__0fadb3a4{--vt-ce-circular-progress-color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8);align-items:baseline;color:var(--vt-ce-circular-progress-color);display:inline-flex;justify-content:center}.vt_ce_CircularProgress_container__0fadb3a4[data-fill-parent-height=true]{align-items:stretch;height:100%;width:100%}.vt_ce_CircularProgress_container__0fadb3a4[data-fill-parent-height=true] .vt_ce_CircularProgress_progressContainer__0fadb3a4{height:100%;width:100%}.vt_ce_CircularProgress_progressContainer__0fadb3a4{display:inline-block;height:var(--vt-ce-circular-progress-size);width:var(--vt-ce-circular-progress-size)}.vt_ce_CircularProgress_progressSvg__0fadb3a4{display:block;stroke:currentColor;animation:vt_ce_CircularProgress_circularRotateKeyframe__0fadb3a4 1.4s linear infinite;height:100%}.vt_ce_CircularProgress_progressCircle__0fadb3a4{stroke-dasharray:80px,200px;stroke-dashoffset:0;animation:vt_ce_CircularProgress_circularDashKeyframe__0fadb3a4 1.4s ease-in-out infinite}@keyframes vt_ce_CircularProgress_circularRotateKeyframe__0fadb3a4{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes vt_ce_CircularProgress_circularDashKeyframe__0fadb3a4{0%{stroke-dasharray:1px,200px;stroke-dashoffset:0}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px}to{stroke-dasharray:100px,200px;stroke-dashoffset:-125px}}
10
- .vt_ce_Button_button__0157fdfe{align-items:center;border:1px solid transparent;border-radius:4px;cursor:pointer;display:inline-flex;gap:5px;justify-content:center;position:relative}.vt_ce_Button_button__0157fdfe[data-size=large]{font-family:var(--vt-ce-theme-typography-button-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-button-fontSize,14px);font-style:var(--vt-ce-theme-typography-button-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-button-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-button-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-button-lineHeight,20px);min-height:36px;padding:7px 15px;text-transform:var(--vt-ce-theme-typography-button-textTransform,inherit)}.vt_ce_Button_button__0157fdfe[data-size=small]{font-family:var(--vt-ce-theme-typography-buttonSmall-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-buttonSmall-fontSize,12px);font-style:var(--vt-ce-theme-typography-buttonSmall-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-buttonSmall-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-buttonSmall-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-buttonSmall-lineHeight,18px);min-height:26px;padding:3px 15px;text-transform:var(--vt-ce-theme-typography-buttonSmall-textTransform,inherit)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe{background-color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8);color:var(--vt-ce-theme-palette-action-primary-base-on,#fff)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe:hover,.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe[data-active=true]{background-color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89);color:var(--vt-ce-theme-palette-action-primary-hover-on,#fff)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe:disabled{background-color:var(--vt-ce-theme-palette-action-primary-disabled-surface,#fafafa);border-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe[data-destructive=true]{background-color:var(--vt-ce-theme-palette-action-destructive-base-surface,#eb0000);color:var(--vt-ce-theme-palette-action-destructive-base-on,#fff)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe[data-destructive=true]:hover,.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe[data-destructive=true][data-active=true]{background-color:var(--vt-ce-theme-palette-action-destructive-hover-surface,#a63737);color:var(--vt-ce-theme-palette-action-destructive-hover-on,#fff)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_primary__0157fdfe[data-loading=true]:disabled{color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-theme-palette-text-secondary,#5c6269);color:var(--vt-ce-theme-palette-text-secondary,#5c6269)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe:hover,.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe[data-active=true]{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89);color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe:disabled{background-color:var(--vt-ce-theme-palette-action-primary-disabled-surface,#fafafa);border-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe[data-destructive=true]{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-theme-palette-action-destructive-base-surface,#eb0000);color:var(--vt-ce-theme-palette-action-destructive-base-surface,#eb0000)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe[data-destructive=true]:hover,.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe[data-destructive=true][data-active=true]{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-theme-palette-action-destructive-hover-surface,#a63737);color:var(--vt-ce-theme-palette-action-destructive-hover-surface,#a63737)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_secondary__0157fdfe[data-loading=true]:disabled{color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe{background-color:transparent;color:var(--vt-ce-theme-palette-text-tertiary,#465364)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe[data-active=true]{color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe:hover{color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe:disabled{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe[data-destructive=true]{color:var(--vt-ce-theme-palette-action-destructive-base-surface,#eb0000)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe[data-destructive=true]:hover,.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe[data-destructive=true][data-active=true]{color:var(--vt-ce-theme-palette-action-destructive-hover-surface,#a63737)}.vt_ce_Button_button__0157fdfe.vt_ce_Button_tertiary__0157fdfe[data-loading=true]:disabled{color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_Button_button__0157fdfe[data-loading=true] .vt_ce_Button_innerContainer__0157fdfe{visibility:hidden}.vt_ce_Button_loadingContainer__0157fdfe{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.vt_ce_Button_innerContainer__0157fdfe{align-items:center;display:inline-flex;gap:5px;justify-content:center;visibility:visible}.vt_ce_Button_buttonIcon__0157fdfe{align-items:center;display:inline-flex;justify-content:center;--vt-ce-icon-size:18px}
11
- .vt_ce_IconButton_button__b5583457{background-color:transparent;border-style:none;color:var(--vt-ce-theme-palette-text-tertiary,#465364);cursor:pointer;display:inline-block;font-size:0;padding:7px;position:relative}.vt_ce_IconButton_button__b5583457:hover{color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89)}.vt_ce_IconButton_button__b5583457:disabled{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_IconButton_button__b5583457[data-destructive=true]{color:var(--vt-ce-theme-palette-action-destructive-base-surface,#eb0000)}.vt_ce_IconButton_button__b5583457[data-destructive=true]:hover{color:var(--vt-ce-theme-palette-action-destructive-hover-surface,#a63737)}.vt_ce_IconButton_button__b5583457[data-loading=true]:disabled{color:var(--vt-ce-theme-palette-action-primary-base-surface,#1871e8)}.vt_ce_IconButton_button__b5583457[data-loading=true] .vt_ce_IconButton_innerIcon__b5583457{visibility:hidden}.vt_ce_IconButton_loadingContainer__b5583457{bottom:7px;left:7px;position:absolute;right:7px;top:7px}
11
+ .vt_ce_Button_button__83b29f90{align-items:center;border:1px solid transparent;border-radius:4px;cursor:pointer;display:inline-flex;gap:5px;justify-content:center;position:relative}.vt_ce_Button_button__83b29f90[data-size=large]{font-family:var(--vt-ce-theme-typography-button-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-button-fontSize,14px);font-style:var(--vt-ce-theme-typography-button-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-button-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-button-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-button-lineHeight,20px);min-height:36px;padding:7px 15px;text-transform:var(--vt-ce-theme-typography-button-textTransform,inherit)}.vt_ce_Button_button__83b29f90[data-size=small]{font-family:var(--vt-ce-theme-typography-buttonSmall-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-buttonSmall-fontSize,12px);font-style:var(--vt-ce-theme-typography-buttonSmall-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-buttonSmall-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-buttonSmall-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-buttonSmall-lineHeight,18px);min-height:26px;padding:3px 15px;text-transform:var(--vt-ce-theme-typography-buttonSmall-textTransform,inherit)}.vt_ce_Button_button__83b29f90.vt_ce_Button_primary__83b29f90{background-color:var(--vt-ce-button-palette-base-surface);color:var(--vt-ce-button-palette-base-on)}.vt_ce_Button_button__83b29f90.vt_ce_Button_primary__83b29f90:hover,.vt_ce_Button_button__83b29f90.vt_ce_Button_primary__83b29f90[data-active=true]{background-color:var(--vt-ce-button-palette-hover-surface);color:var(--vt-ce-button-palette-hover-on)}.vt_ce_Button_button__83b29f90.vt_ce_Button_primary__83b29f90:disabled{background-color:var(--vt-ce-button-palette-disabled-surface);border-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);color:var(--vt-ce-button-palette-disabled-on)}.vt_ce_Button_button__83b29f90.vt_ce_Button_secondary__83b29f90{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-button-palette-base-surface);color:var(--vt-ce-button-palette-base-surface)}.vt_ce_Button_button__83b29f90.vt_ce_Button_secondary__83b29f90:hover,.vt_ce_Button_button__83b29f90.vt_ce_Button_secondary__83b29f90[data-active=true]{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-button-palette-hover-surface);color:var(--vt-ce-button-palette-hover-surface)}.vt_ce_Button_button__83b29f90.vt_ce_Button_secondary__83b29f90:disabled{background-color:var(--vt-ce-button-palette-disabled-surface);border-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);color:var(--vt-ce-button-palette-disabled-on)}.vt_ce_Button_button__83b29f90.vt_ce_Button_tertiary__83b29f90{background-color:transparent;color:var(--vt-ce-button-palette-base-surface)}.vt_ce_Button_button__83b29f90.vt_ce_Button_tertiary__83b29f90:hover,.vt_ce_Button_button__83b29f90.vt_ce_Button_tertiary__83b29f90[data-active=true]{color:var(--vt-ce-button-palette-hover-surface)}.vt_ce_Button_button__83b29f90.vt_ce_Button_tertiary__83b29f90:disabled{color:var(--vt-ce-button-palette-disabled-on)}.vt_ce_Button_button__83b29f90[data-loading=true] .vt_ce_Button_innerContainer__83b29f90{visibility:hidden}.vt_ce_Button_loadingContainer__83b29f90{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.vt_ce_Button_innerContainer__83b29f90{align-items:center;display:inline-flex;gap:5px;justify-content:center;visibility:visible}.vt_ce_Button_buttonIcon__83b29f90{align-items:center;display:inline-flex;justify-content:center;--vt-ce-icon-size:18px}
12
+ .vt_ce_IconButton_button__8407c5d8{background-color:transparent;border-style:none;cursor:pointer;display:inline-block;font-size:0;padding:7px;position:relative}.vt_ce_IconButton_button__8407c5d8.vt_ce_IconButton_primary__8407c5d8{color:var(--vt-ce-icon-button-palette-base-surface)}.vt_ce_IconButton_button__8407c5d8.vt_ce_IconButton_primary__8407c5d8:hover{color:var(--vt-ce-icon-button-palette-hover-surface)}.vt_ce_IconButton_button__8407c5d8.vt_ce_IconButton_secondary__8407c5d8{color:var(--vt-ce-icon-button-palette-base-on)}.vt_ce_IconButton_button__8407c5d8.vt_ce_IconButton_secondary__8407c5d8:hover{color:var(--vt-ce-icon-button-palette-hover-on)}.vt_ce_IconButton_button__8407c5d8:disabled{color:var(--vt-ce-icon-button-palette-disabled-on)}.vt_ce_IconButton_button__8407c5d8[data-loading=true] .vt_ce_IconButton_innerIcon__8407c5d8{visibility:hidden}.vt_ce_IconButton_loadingContainer__8407c5d8{bottom:7px;left:7px;position:absolute;right:7px;top:7px}
12
13
  .vt_ce_Tooltip_tooltipAnchor__767b0a12{display:inline}.vt_ce_Tooltip_tooltipBody__767b0a12{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);border-radius:4px;border-style:solid;border-width:1px;color:var(--vt-ce-theme-palette-text-primary,#2a323c);font-family:var(--vt-ce-theme-typography-label-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-label-fontSize,14px);font-style:var(--vt-ce-theme-typography-label-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-label-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-label-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-label-lineHeight,17px);padding:4px 10px;text-transform:var(--vt-ce-theme-typography-label-textTransform,inherit)}
13
14
  .vt_ce_Typography_tTitle__8a6d644d{font-family:var(--vt-ce-theme-typography-title-fontFamily,Dosis,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-title-fontSize,18px);font-style:var(--vt-ce-theme-typography-title-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-title-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-title-letterSpacing,.25px);line-height:var(--vt-ce-theme-typography-title-lineHeight,normal);text-transform:var(--vt-ce-theme-typography-title-textTransform,uppercase)}.vt_ce_Typography_tH1__8a6d644d{font-family:var(--vt-ce-theme-typography-h1-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-h1-fontSize,24px);font-style:var(--vt-ce-theme-typography-h1-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-h1-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-h1-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-h1-lineHeight,34px);text-transform:var(--vt-ce-theme-typography-h1-textTransform,inherit)}.vt_ce_Typography_tH2__8a6d644d{font-family:var(--vt-ce-theme-typography-h2-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-h2-fontSize,20px);font-style:var(--vt-ce-theme-typography-h2-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-h2-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-h2-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-h2-lineHeight,30px);text-transform:var(--vt-ce-theme-typography-h2-textTransform,inherit)}.vt_ce_Typography_tH3__8a6d644d{font-family:var(--vt-ce-theme-typography-h3-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-h3-fontSize,18px);font-style:var(--vt-ce-theme-typography-h3-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-h3-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-h3-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-h3-lineHeight,26px);text-transform:var(--vt-ce-theme-typography-h3-textTransform,inherit)}.vt_ce_Typography_tH4__8a6d644d{font-family:var(--vt-ce-theme-typography-h4-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-h4-fontSize,16px);font-style:var(--vt-ce-theme-typography-h4-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-h4-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-h4-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-h4-lineHeight,24px);text-transform:var(--vt-ce-theme-typography-h4-textTransform,inherit)}.vt_ce_Typography_tLabel__8a6d644d{font-family:var(--vt-ce-theme-typography-label-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-label-fontSize,14px);font-style:var(--vt-ce-theme-typography-label-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-label-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-label-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-label-lineHeight,17px);text-transform:var(--vt-ce-theme-typography-label-textTransform,inherit)}.vt_ce_Typography_tParagraph1__8a6d644d{font-family:var(--vt-ce-theme-typography-paragraph1-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph1-fontSize,16px);font-style:var(--vt-ce-theme-typography-paragraph1-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph1-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph1-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph1-lineHeight,24px);text-transform:var(--vt-ce-theme-typography-paragraph1-textTransform,inherit)}.vt_ce_Typography_tParagraph2__8a6d644d{font-family:var(--vt-ce-theme-typography-paragraph2-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph2-fontSize,14px);font-style:var(--vt-ce-theme-typography-paragraph2-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph2-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph2-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph2-lineHeight,20px);text-transform:var(--vt-ce-theme-typography-paragraph2-textTransform,inherit)}.vt_ce_Typography_tParagraph3__8a6d644d{font-family:var(--vt-ce-theme-typography-paragraph3-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph3-fontSize,12px);font-style:var(--vt-ce-theme-typography-paragraph3-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph3-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph3-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph3-lineHeight,18px);text-transform:var(--vt-ce-theme-typography-paragraph3-textTransform,inherit)}.vt_ce_Typography_tButton__8a6d644d{font-family:var(--vt-ce-theme-typography-button-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-button-fontSize,14px);font-style:var(--vt-ce-theme-typography-button-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-button-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-button-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-button-lineHeight,20px);text-transform:var(--vt-ce-theme-typography-button-textTransform,inherit)}.vt_ce_Typography_tButtonSmall__8a6d644d{font-family:var(--vt-ce-theme-typography-buttonSmall-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-buttonSmall-fontSize,12px);font-style:var(--vt-ce-theme-typography-buttonSmall-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-buttonSmall-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-buttonSmall-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-buttonSmall-lineHeight,18px);text-transform:var(--vt-ce-theme-typography-buttonSmall-textTransform,inherit)}.vt_ce_Typography_cPrimary__8a6d644d{color:var(--vt-ce-theme-palette-text-primary,#2a323c)}.vt_ce_Typography_cSecondary__8a6d644d{color:var(--vt-ce-theme-palette-text-secondary,#5c6269)}.vt_ce_Typography_cTertiary__8a6d644d{color:var(--vt-ce-theme-palette-text-tertiary,#465364)}.vt_ce_Typography_cDisabled__8a6d644d{color:var(--vt-ce-theme-palette-disabled-on,#7c848d)}
14
15
  .vt_ce_Dialog_dialogOverlay__19d426a2{background:rgba(0,0,0,.54);display:grid;place-items:center}.vt_ce_Dialog_dialog__19d426a2{background-color:var(--vt-ce-theme-palette-background-primary,#fff);border:1px solid var(--vt-ce-theme-palette-disabled-on,#7c848d);border-radius:4px;color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;flex-direction:column;margin:15px;max-height:calc(100% - 64px);max-width:calc(100% - 64px);padding:30px 0}.vt_ce_Dialog_dialog__19d426a2:has(>.vt_ce_Dialog_dialogStart__19d426a2:first-child){padding-block-start:0}.vt_ce_Dialog_dialog__19d426a2:has(>.vt_ce_Dialog_dialogEnd__19d426a2:last-child){padding-block-end:0}.vt_ce_Dialog_dialogStart__19d426a2{display:block;flex:0 0 auto}.vt_ce_Dialog_dialogContent__19d426a2{flex:1 1 auto;--webkit-overflow-scrolling:touch;overflow-y:auto;padding:0 30px}.vt_ce_Dialog_dialogEnd__19d426a2{display:block;flex:0 0 auto}.vt_ce_Dialog_dialogTitle__19d426a2{flex:0 0 auto;font-size:18px;line-height:24px;margin:30px 0 0;padding:0 30px}.vt_ce_Dialog_dialogTypography__19d426a2{margin:15px 0}.vt_ce_Dialog_dialogActions__19d426a2{align-items:center;display:flex;gap:10px;justify-content:flex-end;margin:15px 0 40px;padding:0 30px}
15
- .vt_ce_Drawer_drawerOverlay__6d49b031{background:rgba(0,0,0,.54);display:grid;place-items:stretch end}.vt_ce_Drawer_drawer__6d49b031{background-color:var(--vt-ce-theme-palette-background-primary,#fff);color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;flex-direction:column;max-width:calc(100% - 64px);padding:20px 0}.vt_ce_Drawer_drawer__6d49b031:has(>.vt_ce_Drawer_drawerStart__6d49b031:first-child){padding-block-start:0}.vt_ce_Drawer_drawer__6d49b031:has(>.vt_ce_Drawer_drawerEnd__6d49b031:last-child){padding-block-end:0}.vt_ce_Drawer_drawerStart__6d49b031{display:block;flex:0 0 auto}.vt_ce_Drawer_drawerContent__6d49b031{flex:1 1 auto;--webkit-overflow-scrolling:touch;overflow-y:auto;padding:0 20px}.vt_ce_Drawer_drawerEnd__6d49b031{display:block;flex:0 0 auto}.vt_ce_Drawer_drawerTitle__6d49b031{flex:0 0 auto;margin:20px 0 0;padding:0 20px}.vt_ce_Drawer_drawerTypography__6d49b031{margin:20px 0}.vt_ce_Drawer_drawerActions__6d49b031{align-items:center;display:flex;flex:0 0 auto;gap:10px;justify-content:flex-end;margin:20px 0;padding:0 20px}
16
+ .vt_ce_Drawer_drawerOverlay__711dd4dc{background:rgba(0,0,0,.54);display:grid;place-items:stretch end}.vt_ce_Drawer_drawer__711dd4dc{background-color:var(--vt-ce-theme-palette-background-primary,#fff);color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;flex-direction:column;max-width:calc(100% - 64px);padding:20px 0}.vt_ce_Drawer_drawer__711dd4dc:has(>.vt_ce_Drawer_drawerStart__711dd4dc:first-child){padding-block-start:0}.vt_ce_Drawer_drawer__711dd4dc:has(>.vt_ce_Drawer_drawerEnd__711dd4dc:last-child){padding-block-end:0}.vt_ce_Drawer_drawerStart__711dd4dc{display:block;flex:0 0 auto}.vt_ce_Drawer_drawerContent__711dd4dc{flex:1 1 auto;--webkit-overflow-scrolling:touch;overflow-y:auto;padding:0 20px}.vt_ce_Drawer_drawerEnd__711dd4dc{display:block;flex:0 0 auto}.vt_ce_Drawer_drawerTitleContainer__711dd4dc{align-items:baseline;background-color:var(--vt-ce-theme-palette-background-primary,#fff);color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;justify-content:space-between}.vt_ce_Drawer_drawerTitleContainer__711dd4dc[data-container=bar]{background-color:var(--vt-ce-drawer-palette-surface);color:var(--vt-ce-drawer-palette-on)}.vt_ce_Drawer_drawerTitle__711dd4dc{flex:1 0 auto;margin:20px 0;padding:0 20px}.vt_ce_Drawer_drawerTitleActions__711dd4dc{display:flex;flex:0 0 auto;padding:0 20px 0 0}.vt_ce_Drawer_drawerTypography__711dd4dc{margin:20px 0}.vt_ce_Drawer_drawerActions__711dd4dc{align-items:center;display:flex;flex:0 0 auto;gap:10px;justify-content:flex-end;margin:20px 0;padding:0 20px}
16
17
  .vt_ce_Icon_icon__5881e2e1{display:inline-block;height:var(--vt-ce-icon-size,18px);width:var(--vt-ce-icon-size,18px)}.vt_ce_Icon_icon__5881e2e1 svg{height:var(--vt-ce-icon-size,18px);vertical-align:baseline;width:var(--vt-ce-icon-size,18px)}.vt_ce_Icon_icon__5881e2e1[data-size=large],.vt_ce_Icon_icon__5881e2e1[data-size=large] svg{height:24px;width:24px}.vt_ce_Icon_icon__5881e2e1[data-size=medium],.vt_ce_Icon_icon__5881e2e1[data-size=medium] svg{height:18px;width:18px}.vt_ce_Icon_icon__5881e2e1[data-size=small],.vt_ce_Icon_icon__5881e2e1[data-size=small] svg{height:14px;width:14px}.vt_ce_Icon_icon__5881e2e1[data-size=inherit],.vt_ce_Icon_icon__5881e2e1[data-size=inherit] svg{font-size:1em;height:1em;width:1em}
17
18
  .vt_ce_Menu_menu__f5f59292{border:1px solid var(--vt-ce-theme-palette-disabled-on,#7c848d);border-radius:0 0 4px 4px;display:block;outline:0;padding-bottom:5px;padding-top:5px}.vt_ce_Menu_menu__f5f59292,.vt_ce_Menu_option__f5f59292{background-color:var(--vt-ce-theme-palette-background-primary,#fff)}.vt_ce_Menu_option__f5f59292{align-items:center;border:none;color:var(--vt-ce-theme-palette-text-primary,#2a323c);cursor:pointer;display:flex;font-family:var(--vt-ce-theme-typography-paragraph2-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph2-fontSize,14px);font-style:var(--vt-ce-theme-typography-paragraph2-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph2-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph2-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph2-lineHeight,20px);padding:5px 10px;text-transform:var(--vt-ce-theme-typography-paragraph2-textTransform,inherit);width:100%}.vt_ce_Menu_option__f5f59292:focus{background-color:var(--vt-ce-theme-palette-table-hover-surface,#eaf1fa);color:var(--vt-ce-theme-palette-table-hover-on,#000);outline:none}.vt_ce_Menu_optionIcon__f5f59292{align-items:center;display:inline-flex;justify-content:center;margin-inline-end:10px;--vt-ce-icon-size:14px}.vt_ce_Menu_optionLabel__f5f59292{text-align:start}
18
19
  .vt_ce_Select_select__cb05e024{cursor:pointer;display:inline-flex;flex-direction:column;gap:3px}.vt_ce_Select_label__cb05e024{color:var(--vt-ce-theme-palette-text-secondary,#5c6269);font-family:var(--vt-ce-theme-typography-label-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-label-fontSize,14px);font-style:var(--vt-ce-theme-typography-label-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-label-fontWeight,600);letter-spacing:var(--vt-ce-theme-typography-label-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-label-lineHeight,17px);text-transform:var(--vt-ce-theme-typography-label-textTransform,inherit)}.vt_ce_Select_innerInputContainer__cb05e024{align-items:center;align-self:stretch;background:var(--vt-ce-theme-palette-background-primary,#fff);border-radius:4px;color:var(--vt-ce-theme-palette-text-primary,#2a323c);display:flex;gap:10px;margin-bottom:1px;margin-top:1px;outline:var(--vt-ce-theme-palette-text-secondary,#5c6269) solid 1px;padding:0 8px}.vt_ce_Select_innerInputContainer__cb05e024:focus-within,.vt_ce_Select_innerInputContainer__cb05e024:hover,.vt_ce_Select_innerInputContainer__cb05e024[data-focused=true]{outline-color:var(--vt-ce-theme-palette-action-primary-hover-surface,#335b89);outline-width:2px}.vt_ce_Select_innerInputContainer__cb05e024[data-disabled=true]{background-color:var(--vt-ce-theme-palette-action-primary-disabled-surface,#fafafa);color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d);outline-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0)}.vt_ce_Select_innerInputContainer__cb05e024[data-disabled=true]:focus-within,.vt_ce_Select_innerInputContainer__cb05e024[data-disabled=true]:hover{outline-color:var(--vt-ce-theme-palette-background-secondary,#e0e8f0);outline-width:1px}.vt_ce_Select_innerInputContainer__cb05e024[data-error=true]{outline-color:var(--vt-ce-theme-palette-indicator-error-base-surface,#eb0000)}.vt_ce_Select_innerInput__cb05e024{background:none;border:none;color:inherit;flex-grow:1;font-family:var(--vt-ce-theme-typography-paragraph2-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph2-fontSize,14px);font-style:var(--vt-ce-theme-typography-paragraph2-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph2-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph2-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph2-lineHeight,20px);outline:none;padding:8px 0;text-transform:var(--vt-ce-theme-typography-paragraph2-textTransform,inherit)}.vt_ce_Select_innerInput__cb05e024::-moz-placeholder{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Select_innerInput__cb05e024::placeholder{color:var(--vt-ce-theme-palette-action-primary-disabled-on,#7c848d)}.vt_ce_Select_innerInput__cb05e024[data-selected=true]::-moz-placeholder{color:inherit}.vt_ce_Select_innerInput__cb05e024[data-selected=true]::placeholder{color:inherit}.vt_ce_Select_selectIcon__cb05e024{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center;padding:8px 0;--vt-ce-icon-size:18px}.vt_ce_Select_helpLabel__cb05e024{color:var(--vt-ce-theme-palette-text-secondary,#5c6269)}.vt_ce_Select_errorLabel__cb05e024,.vt_ce_Select_helpLabel__cb05e024{font-family:var(--vt-ce-theme-typography-paragraph3-fontFamily,Nunito Sans,Helvetica,sans-serif);font-size:var(--vt-ce-theme-typography-paragraph3-fontSize,12px);font-style:var(--vt-ce-theme-typography-paragraph3-fontStyle,normal);font-weight:var(--vt-ce-theme-typography-paragraph3-fontWeight,400);letter-spacing:var(--vt-ce-theme-typography-paragraph3-letterSpacing,inherit);line-height:var(--vt-ce-theme-typography-paragraph3-lineHeight,18px);text-transform:var(--vt-ce-theme-typography-paragraph3-textTransform,inherit)}.vt_ce_Select_errorLabel__cb05e024{align-items:center;color:var(--vt-ce-theme-palette-indicator-error-base-surface,#eb0000);display:flex;gap:3px}
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+ 'use strict';
3
+
4
+ const deepGetValue = (obj, keyName) => {
5
+ const keys = keyName.split(".");
6
+ if (keys.length === 1) {
7
+ if (typeof obj === "object") {
8
+ if (keys[0] in obj) {
9
+ return obj[keys[0]];
10
+ }
11
+ return void 0;
12
+ }
13
+ return void 0;
14
+ } else {
15
+ const [parentKey, ...restElements] = keys;
16
+ if (!obj)
17
+ return void 0;
18
+ return deepGetValue(
19
+ obj[parentKey],
20
+ restElements.join(".")
21
+ );
22
+ }
23
+ };
24
+
25
+ exports.deepGetValue = deepGetValue;
@@ -9,19 +9,21 @@ import '../styles/css-vars.js';
9
9
  import { cx } from '../styles/cx.js';
10
10
  import '../styles/defaultTheme.js';
11
11
  import '@mui/system';
12
+ import { resolvePaletteValue } from '../styles/palette.js';
12
13
  import '../styles/styled.js';
13
14
 
14
15
  const Button = forwardRef(
15
16
  ({
16
17
  variant = "primary",
18
+ palette: paletteInput = variant === "primary" ? "action.primary" : "action.text",
17
19
  size = "large",
18
20
  disabled = false,
19
21
  loading = false,
20
- destructive = false,
21
22
  active = false,
22
23
  ...props
23
24
  }, ref) => {
24
25
  const variantCn = modules_efc4e723[variant];
26
+ const palette = resolvePaletteValue(paletteInput);
25
27
  return /* @__PURE__ */ jsxs(
26
28
  "button",
27
29
  {
@@ -31,13 +33,22 @@ const Button = forwardRef(
31
33
  "data-loading": loading,
32
34
  "data-active": active,
33
35
  disabled: loading || disabled,
34
- "data-destructive": destructive,
35
36
  onClick: props.onClick,
36
37
  "data-testid": props["data-testid"],
37
- style: props.style,
38
+ style: {
39
+ ...{
40
+ "--vt-ce-button-palette-base-surface": palette.base.surface,
41
+ "--vt-ce-button-palette-base-on": palette.base.on,
42
+ "--vt-ce-button-palette-hover-surface": palette.hover.surface,
43
+ "--vt-ce-button-palette-hover-on": palette.hover.on,
44
+ "--vt-ce-button-palette-disabled-surface": palette.disabled.surface,
45
+ "--vt-ce-button-palette-disabled-on": palette.disabled.on
46
+ },
47
+ ...props.style
48
+ },
38
49
  className: cx(modules_efc4e723["button"], variantCn, props.className),
39
50
  children: [
40
- loading && /* @__PURE__ */ jsx("span", { className: modules_efc4e723["loading-container"], children: /* @__PURE__ */ jsx(CircularProgress, { size: "1.4em", color: "inherit" }) }),
51
+ loading && /* @__PURE__ */ jsx("span", { className: modules_efc4e723["loading-container"], children: /* @__PURE__ */ jsx(CircularProgress, { size: "1.4em" }) }),
41
52
  /* @__PURE__ */ jsxs("span", { className: modules_efc4e723["inner-container"], children: [
42
53
  props.startIcon && /* @__PURE__ */ jsx("span", { className: modules_efc4e723["button-icon"], children: props.startIcon }),
43
54
  /* @__PURE__ */ jsx("span", { children: props.children }),
@@ -1,3 +1,3 @@
1
- var modules_efc4e723 = {"button":"vt_ce_Button_button__0157fdfe","primary":"vt_ce_Button_primary__0157fdfe","secondary":"vt_ce_Button_secondary__0157fdfe","tertiary":"vt_ce_Button_tertiary__0157fdfe","inner-container":"vt_ce_Button_innerContainer__0157fdfe","loading-container":"vt_ce_Button_loadingContainer__0157fdfe","button-icon":"vt_ce_Button_buttonIcon__0157fdfe"};
1
+ var modules_efc4e723 = {"button":"vt_ce_Button_button__83b29f90","primary":"vt_ce_Button_primary__83b29f90","secondary":"vt_ce_Button_secondary__83b29f90","tertiary":"vt_ce_Button_tertiary__83b29f90","inner-container":"vt_ce_Button_innerContainer__83b29f90","loading-container":"vt_ce_Button_loadingContainer__83b29f90","button-icon":"vt_ce_Button_buttonIcon__83b29f90"};
2
2
 
3
3
  export { modules_efc4e723 as default };
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import modules_efc4e723 from './styles.module.scss.js';
5
+ import 'color2k';
6
+ import '../styles/css-vars.js';
7
+ import { cx } from '../styles/cx.js';
8
+ import '../styles/defaultTheme.js';
9
+ import '@mui/system';
10
+ import '../styles/styled.js';
11
+ import '@mui/utils';
12
+ import '../Button/index.js';
13
+ import IconButton from '../IconButton/index.js';
14
+ import { DSIcon } from '../Icon/internal.js';
15
+ import '../Box/index.js';
16
+ import '../Checkbox/index.js';
17
+ import '../Dialog/components.js';
18
+ import '../Drawer/components.js';
19
+ import '../Icon/factory.js';
20
+ import '../Input/index.js';
21
+ import '../Menu/controlled.js';
22
+ import '@mui/material/usePagination';
23
+ import '../RadioButton/index.js';
24
+ import '../Select/controlled.js';
25
+ import '../Textarea/index.js';
26
+ import '@mui/material';
27
+ import '../Toast/hook.js';
28
+ import '@floating-ui/react';
29
+ import '../Typography/index.js';
30
+
31
+ const Chip = forwardRef(
32
+ ({ clearable = true, ...props }, ref) => {
33
+ return /* @__PURE__ */ jsxs(
34
+ "span",
35
+ {
36
+ ref,
37
+ className: cx(modules_efc4e723["chip"], props.className),
38
+ "data-testid": props["data-testid"],
39
+ style: props.style,
40
+ children: [
41
+ /* @__PURE__ */ jsx("span", { className: modules_efc4e723["chip-text"], children: props.children }),
42
+ clearable && /* @__PURE__ */ jsx(
43
+ IconButton,
44
+ {
45
+ className: modules_efc4e723["button-icon"],
46
+ style: { padding: "0px" },
47
+ onClick: props.onClear,
48
+ children: /* @__PURE__ */ jsx(DSIcon, { name: "close" })
49
+ }
50
+ )
51
+ ]
52
+ }
53
+ );
54
+ }
55
+ );
56
+
57
+ export { Chip as default };
@@ -0,0 +1,3 @@
1
+ var modules_efc4e723 = {"chip":"vt_ce_Chip_chip__323b4046","chip-text":"vt_ce_Chip_chipText__323b4046","button-icon":"vt_ce_Chip_buttonIcon__323b4046"};
2
+
3
+ export { modules_efc4e723 as default };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  'use client';
3
- import { jsx } from 'react/jsx-runtime';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import * as React from 'react';
5
5
  import { useMergeRefs, FloatingPortal, FloatingOverlay, FloatingFocusManager } from '@floating-ui/react';
6
6
  import modules_efc4e723 from './styles.module.scss.js';
@@ -10,6 +10,7 @@ import '../styles/css-vars.js';
10
10
  import { cx } from '../styles/cx.js';
11
11
  import '../styles/defaultTheme.js';
12
12
  import '@mui/system';
13
+ import { resolvePaletteValue } from '../styles/palette.js';
13
14
  import '../styles/styled.js';
14
15
  import Button from '../Button/index.js';
15
16
  import Typography from '../Typography/index.js';
@@ -91,25 +92,48 @@ const DrawerEnd = React.forwardRef(
91
92
  );
92
93
  }
93
94
  );
94
- const DrawerTitle = React.forwardRef(function DrawerTitle2({ children, ...props }, ref) {
95
+ const DrawerTitle = React.forwardRef(function DrawerTitle2({
96
+ children,
97
+ actions,
98
+ container = "text",
99
+ palette: paletteInput = "brand.1.base",
100
+ ...props
101
+ }, ref) {
102
+ const palette = resolvePaletteValue(paletteInput);
95
103
  const { setLabelId } = useDrawerContext();
96
104
  const id = React.useId();
97
105
  React.useLayoutEffect(() => {
98
106
  setLabelId(id);
99
107
  return () => setLabelId(void 0);
100
108
  }, [id, setLabelId]);
101
- return /* @__PURE__ */ jsx(DrawerStart, { children: /* @__PURE__ */ jsx(
102
- Typography,
109
+ return /* @__PURE__ */ jsxs(
110
+ DrawerStart,
103
111
  {
104
- variant: "title",
105
- ref,
106
- id,
107
- color: "primary",
108
- ...props,
109
- className: cx(modules_efc4e723["drawer-title"], props.className),
110
- children
112
+ "data-container": container,
113
+ style: {
114
+ ...{
115
+ "--vt-ce-drawer-palette-surface": palette.surface,
116
+ "--vt-ce-drawer-palette-on": palette.on
117
+ }
118
+ },
119
+ className: modules_efc4e723["drawer-title-container"],
120
+ children: [
121
+ /* @__PURE__ */ jsx(
122
+ Typography,
123
+ {
124
+ variant: "title",
125
+ ref,
126
+ id,
127
+ color: "inherit",
128
+ ...props,
129
+ className: cx(modules_efc4e723["drawer-title"], props.className),
130
+ children
131
+ }
132
+ ),
133
+ actions && /* @__PURE__ */ jsx("span", { className: modules_efc4e723["drawer-title-actions"], children: actions })
134
+ ]
111
135
  }
112
- ) });
136
+ );
113
137
  });
114
138
  const DrawerTypography = React.forwardRef(function DrawerTypography2({ children, ...props }, ref) {
115
139
  return /* @__PURE__ */ jsx(
@@ -1,3 +1,3 @@
1
- var modules_efc4e723 = {"drawer-overlay":"vt_ce_Drawer_drawerOverlay__6d49b031","drawer":"vt_ce_Drawer_drawer__6d49b031","drawer-start":"vt_ce_Drawer_drawerStart__6d49b031","drawer-end":"vt_ce_Drawer_drawerEnd__6d49b031","drawer-content":"vt_ce_Drawer_drawerContent__6d49b031","drawer-title":"vt_ce_Drawer_drawerTitle__6d49b031","drawer-typography":"vt_ce_Drawer_drawerTypography__6d49b031","drawer-actions":"vt_ce_Drawer_drawerActions__6d49b031"};
1
+ var modules_efc4e723 = {"drawer-overlay":"vt_ce_Drawer_drawerOverlay__711dd4dc","drawer":"vt_ce_Drawer_drawer__711dd4dc","drawer-start":"vt_ce_Drawer_drawerStart__711dd4dc","drawer-end":"vt_ce_Drawer_drawerEnd__711dd4dc","drawer-content":"vt_ce_Drawer_drawerContent__711dd4dc","drawer-title-container":"vt_ce_Drawer_drawerTitleContainer__711dd4dc","drawer-title":"vt_ce_Drawer_drawerTitle__711dd4dc","drawer-title-actions":"vt_ce_Drawer_drawerTitleActions__711dd4dc","drawer-typography":"vt_ce_Drawer_drawerTypography__711dd4dc","drawer-actions":"vt_ce_Drawer_drawerActions__711dd4dc"};
2
2
 
3
3
  export { modules_efc4e723 as default };
@@ -9,24 +9,42 @@ import '../styles/css-vars.js';
9
9
  import { cx } from '../styles/cx.js';
10
10
  import '../styles/defaultTheme.js';
11
11
  import '@mui/system';
12
+ import { resolvePaletteValue } from '../styles/palette.js';
12
13
  import '../styles/styled.js';
13
14
 
14
15
  const IconButton = forwardRef(
15
- (props, ref) => {
16
+ ({
17
+ variant = "primary",
18
+ palette: paletteInput = "action.text",
19
+ loading = false,
20
+ disabled = false,
21
+ ...props
22
+ }, ref) => {
23
+ const variantCn = modules_efc4e723[variant];
24
+ const palette = resolvePaletteValue(paletteInput);
16
25
  return /* @__PURE__ */ jsxs(
17
26
  "button",
18
27
  {
19
28
  ref,
20
29
  type: props.type,
21
- "data-loading": props.loading ?? false,
22
- disabled: props.loading || props.disabled,
23
- "data-destructive": props.destructive ?? false,
30
+ "data-loading": loading,
31
+ disabled: loading || disabled,
24
32
  onClick: props.onClick,
25
33
  "data-testid": props["data-testid"],
26
- style: props.style,
27
- className: cx(modules_efc4e723["button"], props.className),
34
+ style: {
35
+ ...{
36
+ "--vt-ce-icon-button-palette-base-surface": palette.base.surface,
37
+ "--vt-ce-icon-button-palette-base-on": palette.base.on,
38
+ "--vt-ce-icon-button-palette-hover-surface": palette.hover.surface,
39
+ "--vt-ce-icon-button-palette-hover-on": palette.hover.on,
40
+ "--vt-ce-icon-button-palette-disabled-surface": palette.disabled.surface,
41
+ "--vt-ce-icon-button-palette-disabled-on": palette.disabled.on
42
+ },
43
+ ...props.style
44
+ },
45
+ className: cx(modules_efc4e723["button"], variantCn, props.className),
28
46
  children: [
29
- props.loading && /* @__PURE__ */ jsx("span", { className: modules_efc4e723["loading-container"], children: /* @__PURE__ */ jsx(CircularProgress, { color: "inherit", fillParentHeight: true }) }),
47
+ loading && /* @__PURE__ */ jsx("span", { className: modules_efc4e723["loading-container"], children: /* @__PURE__ */ jsx(CircularProgress, { fillParentHeight: true }) }),
30
48
  /* @__PURE__ */ jsx("span", { className: modules_efc4e723["inner-icon"], children: props.children })
31
49
  ]
32
50
  }
@@ -1,3 +1,3 @@
1
- var modules_efc4e723 = {"button":"vt_ce_IconButton_button__b5583457","inner-icon":"vt_ce_IconButton_innerIcon__b5583457","loading-container":"vt_ce_IconButton_loadingContainer__b5583457"};
1
+ var modules_efc4e723 = {"button":"vt_ce_IconButton_button__8407c5d8","primary":"vt_ce_IconButton_primary__8407c5d8","secondary":"vt_ce_IconButton_secondary__8407c5d8","inner-icon":"vt_ce_IconButton_innerIcon__8407c5d8","loading-container":"vt_ce_IconButton_loadingContainer__8407c5d8"};
2
2
 
3
3
  export { modules_efc4e723 as default };
package/dist/esm/index.js CHANGED
@@ -5,7 +5,8 @@ export { createThemeCssVariableDefinitions, themeCSSVariableNames } from './styl
5
5
  export { cx } from './styles/cx.js';
6
6
  export { defaultThemeCssVariableUsages as ThemeVars, defaultDarkTheme, default as defaultTheme } from './styles/defaultTheme.js';
7
7
  export { default as useTheme } from './styles/useTheme.js';
8
- export { createPalette } from './styles/palette.js';
8
+ export { resolvePaletteValue } from './styles/palette.js';
9
+ export { createPalette } from './styles/createPalette.js';
9
10
  export { default as experimentalStyled, default as styled } from './styles/styled.js';
10
11
  export { ThemeContextProvider } from './styles/provider.client.js';
11
12
  export { ThemeCssVarsProvider } from './styles/provider.css-vars.js';
@@ -15,6 +16,7 @@ export { default as Alert } from './Alert/index.js';
15
16
  export { default as Box } from './Box/index.js';
16
17
  export { default as Button } from './Button/index.js';
17
18
  export { default as Checkbox } from './Checkbox/index.js';
19
+ export { default as Chip } from './Chip/index.js';
18
20
  export { default as CircularProgress } from './CircularProgress/index.js';
19
21
  export { default as Dialog, DialogActions, DialogCloseButton, DialogCloseIconButton, DialogContent, DialogDescription, DialogEnd, DialogStart, DialogTitle, DialogTypography } from './Dialog/components.js';
20
22
  export { createDialogComponent } from './Dialog/factory.js';