@fastkit/vui 1.0.0 → 1.1.1

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/dist/after-effects/display-flow.scss +2 -2
  2. package/dist/vui.css +9 -9
  3. package/dist/vui.d.ts +517 -396
  4. package/dist/vui.mjs +85 -76
  5. package/dist/vui.mjs.map +1 -1
  6. package/package.json +32 -28
  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/VCheckable/VCheckable.tsx +4 -1
  17. package/src/components/VCheckbox/VCheckbox.scss +3 -3
  18. package/src/components/VCheckbox/VCheckbox.tsx +0 -1
  19. package/src/components/VChip/VChip.scss +4 -4
  20. package/src/components/VChip/VChip.tsx +0 -1
  21. package/src/components/VControlField/VControlField.scss +1 -1
  22. package/src/components/VControlField/VControlField.tsx +4 -3
  23. package/src/components/VDataTable/VDataTable.scss +3 -3
  24. package/src/components/VDataTable/VDataTable.tsx +0 -2
  25. package/src/components/VDialog/VDialog.scss +1 -1
  26. package/src/components/VDisabledReason/VDisabledReason.scss +1 -1
  27. package/src/components/VDisabledReason/VDisabledReason.tsx +78 -7
  28. package/src/components/VForm/VForm.tsx +20 -8
  29. package/src/components/VFormControl/VFormControl.scss +1 -1
  30. package/src/components/VFormControl/VFormControl.tsx +2 -6
  31. package/src/components/VFormGroup/VFormGroup.tsx +0 -1
  32. package/src/components/VGrid/schemes.ts +0 -1
  33. package/src/components/VListTile/VListTile.scss +1 -1
  34. package/src/components/VListTile/VListTile.tsx +0 -2
  35. package/src/components/VNavigation/VNavigation.tsx +1 -2
  36. package/src/components/VNavigation/VNavigationItem.tsx +1 -4
  37. package/src/components/VNumberField/VNumberField.tsx +0 -1
  38. package/src/components/VOption/VOption.scss +1 -1
  39. package/src/components/VOption/VOption.tsx +0 -1
  40. package/src/components/VPagination/VPagination.scss +2 -2
  41. package/src/components/VPagination/VPagination.tsx +1 -2
  42. package/src/components/VRadio/VRadio.scss +1 -1
  43. package/src/components/VRadio/VRadio.tsx +0 -1
  44. package/src/components/VSelect/VSelect.scss +2 -2
  45. package/src/components/VSelect/VSelect.tsx +1 -3
  46. package/src/components/VSheetModal/VSheetModal.tsx +0 -1
  47. package/src/components/VSkeltonLoader/VSkeltonLoaderBone.scss +4 -4
  48. package/src/components/VSwitch/VSwitch.scss +1 -1
  49. package/src/components/VSwitch/VSwitch.tsx +0 -1
  50. package/src/components/VTabs/VTab.scss +3 -3
  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 +0 -1
  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 +0 -1
  60. package/src/styles/base.scss +2 -2
  61. package/src/styles/core/functions.scss +8 -4
  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 +31 -26
@@ -56,7 +56,6 @@ export const VNavigation = defineComponent({
56
56
  }
57
57
 
58
58
  function onItemActivated(item: NavigationItemInput) {
59
- // eslint-disable-next-line no-shadow
60
59
  itemsRef.value.forEach(({ key, ref }) => {
61
60
  if (key === item.key) return;
62
61
  ref.close();
@@ -72,7 +71,7 @@ export const VNavigation = defineComponent({
72
71
  renderNavigationItemInput(item, {
73
72
  class: 'v-navigation__item',
74
73
  startIconEmptySpace: startIconEmptySpace.value,
75
- // eslint-disable-next-line no-shadow
74
+
76
75
  ref: (ref: any) => {
77
76
  setItemRef(item, ref);
78
77
  },
@@ -16,7 +16,6 @@ import { ScopeName } from '@fastkit/color-scheme';
16
16
  // @TODO Unable to resolve dts for `actionableInheritProps`.
17
17
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
18
18
  // @ts-ignore
19
- // eslint-disable-next-line import/no-duplicates
20
19
  import { useRoute, RouteLocationRaw } from 'vue-router';
21
20
  import { useVui } from '../../injections';
22
21
  import { createListTileProps, listTileEmits, VListTile } from '../VListTile';
@@ -34,7 +33,6 @@ export function createNavigationItemProps() {
34
33
  };
35
34
  }
36
35
 
37
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
38
36
  export interface NavigationItemInput
39
37
  extends ExtractPropInput<ReturnType<typeof createNavigationItemProps>> {
40
38
  key: string | number;
@@ -98,9 +96,8 @@ export const VNavigationItem = defineComponent({
98
96
  const to = computed(() => ctx.attrs.to);
99
97
 
100
98
  const match = computed<string[] | undefined>(() => {
101
- // eslint-disable-next-line no-shadow
102
99
  const { match } = props;
103
- // eslint-disable-next-line no-shadow
100
+
104
101
  const { to } = ctx.attrs;
105
102
  if (match) {
106
103
  return (Array.isArray(match) ? match : [match]).map(trimEndSlash);
@@ -44,7 +44,6 @@ export const VNumberField = defineComponent({
44
44
  });
45
45
 
46
46
  const inputmode = computed<TextFieldInput['inputmode']>(() => {
47
- // eslint-disable-next-line no-shadow
48
47
  const { inputmode } = ctx.attrs as TextFieldInput;
49
48
  if (inputmode) return inputmode;
50
49
  return hasNumberMask.value ? 'decimal' : undefined;
@@ -1,4 +1,4 @@
1
- @use '../../styles/core.scss';
1
+ @use '../../styles/core';
2
2
 
3
3
  @layer vui {
4
4
  .v-option {
@@ -16,7 +16,6 @@ export const VOption = defineComponent({
16
16
  ...createControlProps(),
17
17
  },
18
18
  emits,
19
- // eslint-disable-next-line no-shadow
20
19
  setup(props, ctx) {
21
20
  const nodeControl = useFormSelectorItemControl(props, ctx, {
22
21
  nodeType: VUI_OPTION_SYMBOL,
@@ -1,4 +1,4 @@
1
- @use '../../styles/core.scss';
1
+ @use '../../styles/core';
2
2
 
3
3
  @layer vui {
4
4
  .v-pagination {
@@ -51,7 +51,7 @@
51
51
 
52
52
  &:hover,
53
53
  &:focus {
54
- background: rgba(0, 0, 0, 0.1);
54
+ background: rgb(0, 0, 0, 0.1);
55
55
  }
56
56
 
57
57
  &--active {
@@ -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
  {
@@ -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,7 +248,6 @@ export const VSelect = defineComponent({
249
248
  );
250
249
 
251
250
  if (currentEl) {
252
- // eslint-disable-next-line no-shadow
253
251
  const ev = new MouseEvent('click', {
254
252
  view: window,
255
253
  bubbles: true,
@@ -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);
@@ -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,
@@ -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,7 +438,6 @@ 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
442
  const onClick = (ev: MouseEvent) => _onClick(control, ev);
444
443
 
@@ -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 {
@@ -1,11 +1,14 @@
1
+ @use 'sass:string';
2
+
1
3
  @mixin hidden-input-element {
2
4
  position: absolute;
3
5
  width: 1px;
4
6
  height: 1px;
5
7
  overflow: hidden;
8
+ white-space: nowrap;
9
+ /* stylelint-disable-next-line property-no-deprecated */
6
10
  clip: rect(0 0 0 0);
7
11
  clip-path: inset(100%);
8
- white-space: nowrap;
9
12
  }
10
13
 
11
14
  @mixin auto-fill-cancel {
@@ -25,7 +28,8 @@
25
28
  box-shadow:
26
29
  var(--shadow-key-umbra-#{$z}),
27
30
  var(--shadow-key-penumbra-#{$z}),
28
- var(--shadow-key-ambient-#{$z}) if($important, unquote('!important'), null);
31
+ var(--shadow-key-ambient-#{$z})
32
+ if($important, string.unquote('!important'), null);
29
33
  }
30
34
 
31
35
  @mixin elevation-transition(
@@ -37,7 +41,7 @@
37
41
  }
38
42
 
39
43
  @mixin remove-tap-highlight() {
40
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
44
+ -webkit-tap-highlight-color: rgb(0, 0, 0, 0);
41
45
 
42
46
  &::-moz-focus-inner {
43
47
  border: 0;
@@ -53,10 +57,10 @@
53
57
  touch-action: manipulation;
54
58
  cursor: pointer;
55
59
  user-select: none;
60
+ outline: 0;
56
61
 
57
62
  // background-color: transparent;
58
63
  border-width: 0;
59
- outline: 0;
60
64
  }
61
65
 
62
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} {
@@ -18,11 +18,12 @@
18
18
  // =============================================
19
19
  // typographies
20
20
  // =============================================
21
- --typo-fallback-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
22
- 'Helvetica Neue', Arial, sans-serif;
21
+ --typo-fallback-font:
22
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
23
+ Arial, sans-serif;
23
24
  --type-emoji-font: 'Apple Color Emoji', 'Segoe UI Emoji';
24
- --typo-font: var(--typo-base-font), var(--typo-fallback-font),
25
- var(--type-emoji-font);
25
+ --typo-font:
26
+ var(--typo-base-font), var(--typo-fallback-font), var(--type-emoji-font);
26
27
 
27
28
  // base
28
29
  --typo-base-size: 1rem;
@@ -160,30 +161,30 @@
160
161
  --control-field-rem-lg: 1.125rem; // 18
161
162
 
162
163
  // control defaults
163
- --control-disabled-color: rgba(0, 0, 0, 0.38);
164
+ --control-disabled-color: rgb(0, 0, 0, 0.38);
164
165
  --control-horizontal-margin: 0.5em; // 16
165
166
  --control-field-radius: 2px;
166
- --control-field-fill-color: rgba(0, 0, 0, 0.06);
167
- --control-field-fill-hover-color: rgba(0, 0, 0, 0.09);
168
- --control-field-outline-color: rgba(114, 106, 106, 0.23);
169
- --control-field-outline-hover-color: rgba(0, 0, 0, 0.87);
170
- --control-field-bottom-color: rgba(0, 0, 0, 0.42);
171
- --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);
172
173
  --control-field-height: 2.25em;
173
174
  --control-field-line-height: 1.4375em;
174
175
  --control-field-letter-spacing: 0.00938em;
175
- --control-label-color: rgba(0, 0, 0, 0.6);
176
+ --control-label-color: rgb(0, 0, 0, 0.6);
176
177
  --control-label-font-weight: 500;
177
178
  --control-label-font-size: 0.75em; // 12
178
179
  --control-label-height: 1.4375em;
179
- --control-message-color: rgba(0, 0, 0, 0.6);
180
+ --control-message-color: rgb(0, 0, 0, 0.6);
180
181
  --control-message-font-size: 0.75em; // 12
181
182
  --control-message-horizontal-margin: calc(var(--root-spacing) * 0.5);
182
183
  --control-checkable-outer-size: 2em; // 42
183
184
  --control-checkable-icon-size: 1em; // 20
184
185
  --control-checkable-faux-scale: 1.2;
185
186
  --control-checkable-faux-margin: 0.2em;
186
- --control-checkable-base-color: rgba(0, 0, 0, 0.6);
187
+ --control-checkable-base-color: rgb(0, 0, 0, 0.6);
187
188
  --control-switch-width: 3.625em; // 58
188
189
  --control-switch-track-width: 2.125em; // 34
189
190
  --control-switch-track-height: 0.875em; // 14
@@ -199,9 +200,9 @@
199
200
  --wysiwyg-max-height-lg: 16em;
200
201
 
201
202
  // shadows
202
- --shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2);
203
- --shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14);
204
- --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);
205
206
 
206
207
  // shadows(umbra)
207
208
  --shadow-key-umbra-0: 0px 0px 0px 0px var(--shadow-key-umbra-opacity);
@@ -333,31 +334,35 @@
333
334
  // =============================================
334
335
  // snackbar
335
336
  // =============================================
336
- --snackbar-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),
337
- 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
337
+ --snackbar-shadow:
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);
338
340
 
339
341
  // =============================================
340
342
  // dialogs
341
343
  // =============================================
342
- --dialog-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2),
343
- 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
344
+ --dialog-shadow:
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);
344
347
 
345
348
  // =============================================
346
349
  // menus
347
350
  // =============================================
348
- --menu-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
349
- 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
351
+ --menu-shadow:
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);
350
354
 
351
355
  // =============================================
352
356
  // tooltips
353
357
  // =============================================
354
- --tooltip-background: rgba(35, 47, 52, 0.9);
358
+ --tooltip-background: rgb(35, 47, 52, 0.9);
355
359
  --tooltip-color: #fff;
356
360
  --tooltip-radius: 4px;
357
361
  --tooltip-padding: 5px 16px;
358
362
  --tooltip-font-size: calc(var(--root-em) * 0.875);
359
- --tooltip-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
360
- 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
363
+ --tooltip-shadow:
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);
361
366
  }
362
367
 
363
368
  :root,