@fastkit/vui 1.1.0 → 1.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 (67) hide show
  1. package/README.md +1 -1
  2. package/dist/vui.css +3 -3
  3. package/dist/vui.d.ts +102 -78
  4. package/dist/vui.mjs +24 -46
  5. package/dist/vui.mjs.map +1 -1
  6. package/package.json +25 -25
  7. package/src/components/VAvatar/VAvatar.scss +4 -4
  8. package/src/components/VAvatar/VAvatar.tsx +0 -1
  9. package/src/components/VBreadcrumbs/VBreadcrumbs.scss +2 -2
  10. package/src/components/VBreadcrumbs/VBreadcrumbs.tsx +1 -1
  11. package/src/components/VBusyImage/VBusyImage.scss +1 -1
  12. package/src/components/VButton/VButton.scss +3 -3
  13. package/src/components/VButton/VButton.tsx +0 -1
  14. package/src/components/VCard/VCard.scss +2 -2
  15. package/src/components/VCheckable/VCheckable.scss +1 -1
  16. package/src/components/VCheckbox/VCheckbox.scss +3 -3
  17. package/src/components/VCheckbox/VCheckbox.tsx +0 -1
  18. package/src/components/VChip/VChip.scss +4 -4
  19. package/src/components/VChip/VChip.tsx +0 -1
  20. package/src/components/VControlField/VControlField.scss +1 -1
  21. package/src/components/VControlField/VControlField.tsx +3 -4
  22. package/src/components/VDataTable/VDataTable.scss +3 -3
  23. package/src/components/VDataTable/VDataTable.tsx +1 -3
  24. package/src/components/VDialog/VDialog.scss +1 -1
  25. package/src/components/VDisabledReason/VDisabledReason.scss +1 -1
  26. package/src/components/VForm/VForm.tsx +20 -8
  27. package/src/components/VFormControl/VFormControl.scss +1 -1
  28. package/src/components/VFormControl/VFormControl.tsx +4 -7
  29. package/src/components/VFormGroup/VFormGroup.tsx +0 -1
  30. package/src/components/VGrid/schemes.ts +0 -1
  31. package/src/components/VIcon/VIcon.tsx +1 -1
  32. package/src/components/VListTile/VListTile.scss +1 -1
  33. package/src/components/VListTile/VListTile.tsx +0 -2
  34. package/src/components/VNavigation/VNavigation.tsx +1 -2
  35. package/src/components/VNavigation/VNavigationItem.tsx +2 -5
  36. package/src/components/VNumberField/VNumberField.tsx +0 -1
  37. package/src/components/VOption/VOption.scss +1 -1
  38. package/src/components/VOption/VOption.tsx +0 -1
  39. package/src/components/VPagination/VPagination.scss +2 -2
  40. package/src/components/VPagination/VPagination.tsx +2 -3
  41. package/src/components/VRadio/VRadio.scss +1 -1
  42. package/src/components/VRadio/VRadio.tsx +0 -1
  43. package/src/components/VSelect/VSelect.scss +2 -2
  44. package/src/components/VSelect/VSelect.tsx +4 -6
  45. package/src/components/VSheetModal/VSheetModal.tsx +0 -1
  46. package/src/components/VSkeltonLoader/VSkeltonLoaderBone.scss +4 -4
  47. package/src/components/VSwitch/VSwitch.scss +1 -1
  48. package/src/components/VSwitch/VSwitch.tsx +0 -1
  49. package/src/components/VTabs/VTab.scss +3 -3
  50. package/src/components/VTabs/VTab.tsx +1 -1
  51. package/src/components/VTabs/VTabs.tsx +1 -4
  52. package/src/components/VTextField/VTextField.scss +3 -3
  53. package/src/components/VTextField/VTextField.tsx +1 -2
  54. package/src/components/VTextarea/VTextarea.scss +2 -2
  55. package/src/components/VTextarea/VTextarea.tsx +0 -1
  56. package/src/components/VToolbar/VToolbarMenu.tsx +0 -1
  57. package/src/composables/form-selector.tsx +1 -2
  58. package/src/plugin.tsx +1 -2
  59. package/src/service.tsx +1 -2
  60. package/src/styles/base.scss +2 -2
  61. package/src/styles/core/functions.scss +4 -3
  62. package/src/styles/core.scss +2 -2
  63. package/src/styles/elevation.scss +1 -1
  64. package/src/styles/group.scss +3 -3
  65. package/src/styles/index.scss +7 -7
  66. package/src/styles/typo.scss +1 -1
  67. package/src/styles/variables.scss +22 -22
@@ -245,7 +245,6 @@ export const VPagination = defineComponent({
245
245
  function genItem(source: ItemSource, index: number) {
246
246
  const { number, page, active, disabled } = createPageInfo(source);
247
247
  const type = number ? 'num' : source;
248
- // eslint-disable-next-line no-shadow
249
248
  const classes = [
250
249
  'v-pagination__item',
251
250
  {
@@ -268,7 +267,7 @@ export const VPagination = defineComponent({
268
267
  });
269
268
  })();
270
269
 
271
- const onClick = (ev: MouseEvent) => {
270
+ const onClick = (ev: PointerEvent) => {
272
271
  ev.preventDefault();
273
272
  if (page === undefined || active || disabled) return;
274
273
  setPage(page);
@@ -335,7 +334,7 @@ export const VPagination = defineComponent({
335
334
  const el = elRef.value;
336
335
  if (el) {
337
336
  const style = window.getComputedStyle(el, 'before');
338
- // eslint-disable-next-line no-shadow
337
+
339
338
  const width = style.getPropertyValue('width');
340
339
  const margin = style.getPropertyValue('margin');
341
340
  const size = parseFloat(width) + parseFloat(margin) * 0.5;
@@ -56,8 +56,8 @@
56
56
  width: 50%;
57
57
  height: 50%;
58
58
  background: currentColor;
59
- transition: transform 0.2s;
60
59
  transform: translate(-50%, -50%) scale(0);
60
+ transition: transform 0.2s;
61
61
  }
62
62
  }
63
63
 
@@ -18,7 +18,6 @@ export const VRadio = defineComponent({
18
18
  ...createControlProps(),
19
19
  },
20
20
  emits,
21
- // eslint-disable-next-line no-shadow
22
21
  setup(props, ctx) {
23
22
  const nodeControl = useFormSelectorItemControl(props, ctx, {
24
23
  nodeType: VUI_RADIO_SYMBOL,
@@ -1,4 +1,4 @@
1
- @use '../../styles/core.scss';
1
+ @use '../../styles/core';
2
2
 
3
3
  @layer vui {
4
4
  .v-select {
@@ -57,8 +57,8 @@
57
57
  display: table-cell;
58
58
  overflow: hidden;
59
59
  text-overflow: ellipsis;
60
- white-space: nowrap;
61
60
  vertical-align: middle;
61
+ white-space: nowrap;
62
62
  }
63
63
 
64
64
  .v-select--multiple & {
@@ -83,9 +83,8 @@ export const VSelect = defineComponent({
83
83
  }),
84
84
  closeOnNavigation: Boolean,
85
85
  },
86
- slots,
87
86
  emits,
88
- // eslint-disable-next-line no-shadow
87
+ slots,
89
88
  setup(props, ctx) {
90
89
  const menuRef: Ref<{ menu: MenuAPI } | null> = ref(null);
91
90
  const menuOpened = ref(false);
@@ -249,11 +248,10 @@ export const VSelect = defineComponent({
249
248
  );
250
249
 
251
250
  if (currentEl) {
252
- // eslint-disable-next-line no-shadow
253
- const ev = new MouseEvent('click', {
254
- view: window,
251
+ const ev = new PointerEvent('click', {
255
252
  bubbles: true,
256
253
  cancelable: true,
254
+ view: window,
257
255
  });
258
256
  currentEl.dispatchEvent(ev);
259
257
  ev.preventDefault();
@@ -285,7 +283,7 @@ export const VSelect = defineComponent({
285
283
  closeMenu,
286
284
  });
287
285
 
288
- const handleClickLabel = (ev: MouseEvent) => {
286
+ const handleClickLabel = (ev: PointerEvent) => {
289
287
  focus();
290
288
  };
291
289
 
@@ -31,7 +31,6 @@ export const VSheetModal = defineComponent({
31
31
  inheritAttrs: false,
32
32
  props: sheetModalProps,
33
33
  emits,
34
- // eslint-disable-next-line no-shadow
35
34
  setup(props, ctx) {
36
35
  const stackControl = useStackControl(props, ctx, {
37
36
  stackType: SHEET_STACK_TYPE,
@@ -3,7 +3,7 @@
3
3
  position: relative;
4
4
  overflow: hidden;
5
5
  cursor: progress;
6
- background: rgba(0, 0, 0, 0.12);
6
+ background: rgb(0, 0, 0, 0.12);
7
7
  border-radius: inherit;
8
8
 
9
9
  &::after {
@@ -16,9 +16,9 @@
16
16
  content: '';
17
17
  background: linear-gradient(
18
18
  90deg,
19
- hsla(0deg, 0%, 100%, 0),
20
- hsla(0deg, 0%, 100%, 0.3),
21
- hsla(0deg, 0%, 100%, 0)
19
+ hsl(0deg, 0%, 100%, 0),
20
+ hsl(0deg, 0%, 100%, 0.3),
21
+ hsl(0deg, 0%, 100%, 0)
22
22
  );
23
23
  transform: translateX(-100%);
24
24
  animation: v-skelton-loader-bone-loading 1.5s infinite;
@@ -92,7 +92,7 @@
92
92
 
93
93
  &__pin {
94
94
  &::after {
95
- background-color: rgba(245, 245, 245, 1);
95
+ background-color: rgb(245, 245, 245, 1);
96
96
  }
97
97
  }
98
98
  }
@@ -18,7 +18,6 @@ export const VSwitch = defineComponent({
18
18
  ...createControlProps(),
19
19
  },
20
20
  emits,
21
- // eslint-disable-next-line no-shadow
22
21
  setup(props, ctx) {
23
22
  const nodeControl = useFormSelectorItemControl(props, ctx, {
24
23
  nodeType: VUI_SWITCH_SYMBOL,
@@ -1,4 +1,4 @@
1
- @use '../../styles/core.scss';
1
+ @use '../../styles/core';
2
2
 
3
3
  @layer vui {
4
4
  .v-tab {
@@ -40,8 +40,8 @@
40
40
  content: '';
41
41
  background-color: var(--tab-content-focus-color);
42
42
  border-radius: inherit;
43
- transition: all 0.25s;
44
43
  transform: scaleX(0);
44
+ transition: all 0.25s;
45
45
  }
46
46
 
47
47
  &__content {
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  &--active {
69
- --tab-content-color: rgba(0, 0, 0, 0.87);
69
+ --tab-content-color: rgb(0, 0, 0, 0.87);
70
70
 
71
71
  pointer-events: none;
72
72
  background: var(--tabs-color);
@@ -28,7 +28,7 @@ export const VTab = defineComponent({
28
28
  icon: [String, Function] as PropType<RawIconProp>,
29
29
  },
30
30
  emits: {
31
- click: (ev: MouseEvent) => true,
31
+ click: (ev: PointerEvent) => true,
32
32
  },
33
33
  setup(props, ctx) {
34
34
  const classesRef = computed(() => ({
@@ -124,7 +124,6 @@ export const VTabs = defineComponent({
124
124
  | undefined;
125
125
 
126
126
  if (router) {
127
- // eslint-disable-next-line no-shadow
128
127
  const to = router(value);
129
128
  const route = vui.router.resolve(to);
130
129
  location = { to, route };
@@ -138,7 +137,6 @@ export const VTabs = defineComponent({
138
137
  });
139
138
  });
140
139
 
141
- // eslint-disable-next-line no-shadow
142
140
  const setTabRef = (ref: VTabRef) => {
143
141
  tabRefs.value.push(ref);
144
142
  };
@@ -162,7 +160,7 @@ export const VTabs = defineComponent({
162
160
  if (!hit) return;
163
161
  const { location } = hit;
164
162
  if (!location) return;
165
- // eslint-disable-next-line no-shadow
163
+
166
164
  const { to, route } = location;
167
165
  if (route.fullPath === vui.location.currentRoute.fullPath) return;
168
166
  vui.router[to.replace ? 'replace' : 'push'](to);
@@ -295,7 +293,6 @@ export const VTabs = defineComponent({
295
293
  label = itemSlot;
296
294
  }
297
295
 
298
- // eslint-disable-next-line no-shadow
299
296
  const children =
300
297
  typeof label === 'function' ? label({ value, active, vui }) : label;
301
298
 
@@ -1,4 +1,4 @@
1
- @use '../../styles/core.scss';
1
+ @use '../../styles/core';
2
2
 
3
3
  @layer vui {
4
4
  .v-text-field {
@@ -13,17 +13,17 @@
13
13
  padding: 0;
14
14
  margin: 0;
15
15
  overflow: hidden;
16
+ text-overflow: ellipsis;
16
17
 
17
18
  // margin: 0 8px;
18
19
  font-size: inherit;
19
20
  line-height: inherit;
20
- text-overflow: ellipsis;
21
21
  letter-spacing: inherit;
22
22
  white-space: nowrap;
23
+ outline: 0;
23
24
  background: transparent;
24
25
  border: 0;
25
26
  border-radius: 0;
26
- outline: 0;
27
27
 
28
28
  &:-webkit-autofill {
29
29
  @include core.auto-fill-cancel;
@@ -51,7 +51,6 @@ export const VTextField = defineComponent({
51
51
  props: createTextFieldProps(),
52
52
  emits,
53
53
  slots,
54
- // eslint-disable-next-line no-shadow
55
54
  setup(props, ctx) {
56
55
  const inputControl = useTextInputNodeControl(props, ctx, {
57
56
  nodeType: VUI_TEXT_FIELD_SYMBOL,
@@ -61,7 +60,7 @@ export const VTextField = defineComponent({
61
60
 
62
61
  const classes = computed(() => ['v-text-field', control.classes.value]);
63
62
 
64
- const handleClickLabel = (ev: MouseEvent) => {
63
+ const handleClickLabel = (ev: PointerEvent) => {
65
64
  inputControl.focus();
66
65
  };
67
66
 
@@ -1,4 +1,4 @@
1
- @use '../../styles/core.scss';
1
+ @use '../../styles/core';
2
2
 
3
3
  @layer vui {
4
4
  .v-textarea {
@@ -14,10 +14,10 @@
14
14
  line-height: inherit;
15
15
  letter-spacing: inherit;
16
16
  resize: none;
17
+ outline: 0;
17
18
  background: transparent;
18
19
  border: 0;
19
20
  border-radius: 0;
20
- outline: 0;
21
21
 
22
22
  &:-webkit-autofill {
23
23
  @include core.auto-fill-cancel;
@@ -37,7 +37,6 @@ export const VTextarea = defineComponent({
37
37
  ...slots(),
38
38
  },
39
39
  emits,
40
- // eslint-disable-next-line no-shadow
41
40
  setup(props, ctx) {
42
41
  const vui = useVui();
43
42
  const inputControl = useTextareaNodeControl(props, ctx, {
@@ -6,7 +6,6 @@ import { useVui } from '../../injections';
6
6
  // @TODO Unable to resolve dts for `navigationableInheritProps`.
7
7
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
8
8
  // @ts-ignore
9
- // eslint-disable-next-line import/order
10
9
  import { RouteLocationRaw } from 'vue-router';
11
10
 
12
11
  export type VToolbarMenuEdge = 'start' | 'end';
@@ -70,9 +70,8 @@ export function defineFormSelectorComponent(
70
70
  failedToLoadItemsMessage: {} as PropType<VNodeChildOrSlot>,
71
71
  ...slots(),
72
72
  },
73
- slots,
74
73
  emits,
75
- // eslint-disable-next-line no-shadow
74
+ slots,
76
75
  setup(props, ctx) {
77
76
  const selectorControl = useFormSelectorControl(props, ctx, {
78
77
  nodeType,
package/src/plugin.tsx CHANGED
@@ -26,7 +26,6 @@ import {
26
26
  setDefaultActionableClassName('clickable');
27
27
  const scroller = getDocumentScroller();
28
28
 
29
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
30
29
  export interface VuiPluginStackOptions extends VueStackServiceOptions {}
31
30
 
32
31
  export interface VuiPluginOptions extends VuiServiceOptions {
@@ -80,7 +79,7 @@ export class VuiPlugin {
80
79
  options: {
81
80
  behavior: 'smooth',
82
81
  },
83
- // eslint-disable-next-line no-shadow
82
+
84
83
  fn: (el, opts) => {
85
84
  if (window.getComputedStyle(el).scrollMargin) return;
86
85
  const duration = opts?.behavior === 'smooth' ? undefined : 0;
package/src/service.tsx CHANGED
@@ -438,9 +438,8 @@ export class VuiService {
438
438
  const _onClick = BUILTIN_ACTION_HANDLERS[key];
439
439
  const action: VStackAction = {
440
440
  key,
441
- // eslint-disable-next-line no-shadow
442
441
  content: ({ control, key }) => {
443
- const onClick = (ev: MouseEvent) => _onClick(control, ev);
442
+ const onClick = (ev: PointerEvent) => _onClick(control, ev);
444
443
 
445
444
  const _attrs: any = {
446
445
  disabled: control.guardInProgress,
@@ -1,10 +1,10 @@
1
- @use './core.scss';
1
+ @use './core';
2
2
 
3
3
  html {
4
4
  text-size-adjust: 100%;
5
5
  font-size: var(--root-em);
6
6
  text-rendering: optimizeLegibility;
7
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
7
+ -webkit-tap-highlight-color: rgb(0, 0, 0, 0);
8
8
  }
9
9
 
10
10
  body {
@@ -5,9 +5,10 @@
5
5
  width: 1px;
6
6
  height: 1px;
7
7
  overflow: hidden;
8
+ white-space: nowrap;
9
+ /* stylelint-disable-next-line property-no-deprecated */
8
10
  clip: rect(0 0 0 0);
9
11
  clip-path: inset(100%);
10
- white-space: nowrap;
11
12
  }
12
13
 
13
14
  @mixin auto-fill-cancel {
@@ -40,7 +41,7 @@
40
41
  }
41
42
 
42
43
  @mixin remove-tap-highlight() {
43
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
44
+ -webkit-tap-highlight-color: rgb(0, 0, 0, 0);
44
45
 
45
46
  &::-moz-focus-inner {
46
47
  border: 0;
@@ -56,10 +57,10 @@
56
57
  touch-action: manipulation;
57
58
  cursor: pointer;
58
59
  user-select: none;
60
+ outline: 0;
59
61
 
60
62
  // background-color: transparent;
61
63
  border-width: 0;
62
- outline: 0;
63
64
  }
64
65
 
65
66
  &,
@@ -1,2 +1,2 @@
1
- @forward './core/functions.scss';
2
- @forward './core/typo.scss';
1
+ @forward './core/functions';
2
+ @forward './core/typo';
@@ -1,4 +1,4 @@
1
- @use './core.scss';
1
+ @use './core';
2
2
 
3
3
  $z: 24;
4
4
 
@@ -9,8 +9,8 @@ code {
9
9
  padding: 0.2em 0.4em;
10
10
  font-size: 85%;
11
11
  font-weight: 400;
12
- color: rgba(0, 0, 0, 0.87); // @TODO
13
- background-color: rgba(0, 0, 0, 0.05); // @TODO
12
+ color: rgb(0, 0, 0, 0.87); // @TODO
13
+ background-color: rgb(0, 0, 0, 0.05); // @TODO
14
14
  border-radius: 3px; // @TODO
15
15
  }
16
16
 
@@ -39,8 +39,8 @@ td {
39
39
  height: var(--table-cell-height);
40
40
  padding: var(--table-cell-vertial-padding)
41
41
  var(--table-cell-horizontal-padding);
42
- text-align: left;
43
42
  vertical-align: middle;
43
+ text-align: left;
44
44
  border: 0;
45
45
  }
46
46
 
@@ -12,11 +12,11 @@
12
12
  @layer vui {
13
13
  // @include meta.load-css('@fastkit/stylebase/normalize.css');
14
14
 
15
- @include meta.load-css('./variables.scss');
16
- @include meta.load-css('./base.scss');
17
- @include meta.load-css('./typo.scss');
18
- @include meta.load-css('./elevation.scss');
19
- @include meta.load-css('./group.scss');
20
- @include meta.load-css('./control.scss');
21
- @include meta.load-css('./wysiwyg.scss');
15
+ @include meta.load-css('./variables');
16
+ @include meta.load-css('./base');
17
+ @include meta.load-css('./typo');
18
+ @include meta.load-css('./elevation');
19
+ @include meta.load-css('./group');
20
+ @include meta.load-css('./control');
21
+ @include meta.load-css('./wysiwyg');
22
22
  }
@@ -1,4 +1,4 @@
1
- @use './core.scss';
1
+ @use './core';
2
2
 
3
3
  @for $level from 1 through 6 {
4
4
  // h#{$level} {
@@ -161,30 +161,30 @@
161
161
  --control-field-rem-lg: 1.125rem; // 18
162
162
 
163
163
  // control defaults
164
- --control-disabled-color: rgba(0, 0, 0, 0.38);
164
+ --control-disabled-color: rgb(0, 0, 0, 0.38);
165
165
  --control-horizontal-margin: 0.5em; // 16
166
166
  --control-field-radius: 2px;
167
- --control-field-fill-color: rgba(0, 0, 0, 0.06);
168
- --control-field-fill-hover-color: rgba(0, 0, 0, 0.09);
169
- --control-field-outline-color: rgba(114, 106, 106, 0.23);
170
- --control-field-outline-hover-color: rgba(0, 0, 0, 0.87);
171
- --control-field-bottom-color: rgba(0, 0, 0, 0.42);
172
- --control-field-bottom-hover-color: rgba(0, 0, 0, 0.87);
167
+ --control-field-fill-color: rgb(0, 0, 0, 0.06);
168
+ --control-field-fill-hover-color: rgb(0, 0, 0, 0.09);
169
+ --control-field-outline-color: rgb(114, 106, 106, 0.23);
170
+ --control-field-outline-hover-color: rgb(0, 0, 0, 0.87);
171
+ --control-field-bottom-color: rgb(0, 0, 0, 0.42);
172
+ --control-field-bottom-hover-color: rgb(0, 0, 0, 0.87);
173
173
  --control-field-height: 2.25em;
174
174
  --control-field-line-height: 1.4375em;
175
175
  --control-field-letter-spacing: 0.00938em;
176
- --control-label-color: rgba(0, 0, 0, 0.6);
176
+ --control-label-color: rgb(0, 0, 0, 0.6);
177
177
  --control-label-font-weight: 500;
178
178
  --control-label-font-size: 0.75em; // 12
179
179
  --control-label-height: 1.4375em;
180
- --control-message-color: rgba(0, 0, 0, 0.6);
180
+ --control-message-color: rgb(0, 0, 0, 0.6);
181
181
  --control-message-font-size: 0.75em; // 12
182
182
  --control-message-horizontal-margin: calc(var(--root-spacing) * 0.5);
183
183
  --control-checkable-outer-size: 2em; // 42
184
184
  --control-checkable-icon-size: 1em; // 20
185
185
  --control-checkable-faux-scale: 1.2;
186
186
  --control-checkable-faux-margin: 0.2em;
187
- --control-checkable-base-color: rgba(0, 0, 0, 0.6);
187
+ --control-checkable-base-color: rgb(0, 0, 0, 0.6);
188
188
  --control-switch-width: 3.625em; // 58
189
189
  --control-switch-track-width: 2.125em; // 34
190
190
  --control-switch-track-height: 0.875em; // 14
@@ -200,9 +200,9 @@
200
200
  --wysiwyg-max-height-lg: 16em;
201
201
 
202
202
  // shadows
203
- --shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2);
204
- --shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14);
205
- --shadow-key-ambient-opacity: rgba(0, 0, 0, 0.12);
203
+ --shadow-key-umbra-opacity: rgb(0, 0, 0, 0.2);
204
+ --shadow-key-penumbra-opacity: rgb(0, 0, 0, 0.14);
205
+ --shadow-key-ambient-opacity: rgb(0, 0, 0, 0.12);
206
206
 
207
207
  // shadows(umbra)
208
208
  --shadow-key-umbra-0: 0px 0px 0px 0px var(--shadow-key-umbra-opacity);
@@ -335,34 +335,34 @@
335
335
  // snackbar
336
336
  // =============================================
337
337
  --snackbar-shadow:
338
- 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14),
339
- 0 1px 18px 0 rgba(0, 0, 0, 0.12);
338
+ 0 3px 5px -1px rgb(0, 0, 0, 0.2), 0 6px 10px 0 rgb(0, 0, 0, 0.14),
339
+ 0 1px 18px 0 rgb(0, 0, 0, 0.12);
340
340
 
341
341
  // =============================================
342
342
  // dialogs
343
343
  // =============================================
344
344
  --dialog-shadow:
345
- 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14),
346
- 0 9px 46px 8px rgba(0, 0, 0, 0.12);
345
+ 0 11px 15px -7px rgb(0, 0, 0, 0.2), 0 24px 38px 3px rgb(0, 0, 0, 0.14),
346
+ 0 9px 46px 8px rgb(0, 0, 0, 0.12);
347
347
 
348
348
  // =============================================
349
349
  // menus
350
350
  // =============================================
351
351
  --menu-shadow:
352
- 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
353
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
352
+ 0 5px 5px -3px rgb(0, 0, 0, 0.2), 0 8px 10px 1px rgb(0, 0, 0, 0.14),
353
+ 0 3px 14px 2px rgb(0, 0, 0, 0.12);
354
354
 
355
355
  // =============================================
356
356
  // tooltips
357
357
  // =============================================
358
- --tooltip-background: rgba(35, 47, 52, 0.9);
358
+ --tooltip-background: rgb(35, 47, 52, 0.9);
359
359
  --tooltip-color: #fff;
360
360
  --tooltip-radius: 4px;
361
361
  --tooltip-padding: 5px 16px;
362
362
  --tooltip-font-size: calc(var(--root-em) * 0.875);
363
363
  --tooltip-shadow:
364
- 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
365
- 0 1px 5px 0 rgba(0, 0, 0, 0.12);
364
+ 0 3px 1px -2px rgb(0, 0, 0, 0.2), 0 2px 2px 0 rgb(0, 0, 0, 0.14),
365
+ 0 1px 5px 0 rgb(0, 0, 0, 0.12);
366
366
  }
367
367
 
368
368
  :root,