@muraldevkit/ui-toolkit 2.4.1 → 2.4.2

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 (72) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/styles/MrlBlockNotification/global.scss +0 -11
  3. package/dist/styles/MrlBlockNotification/mixins.scss +0 -28
  4. package/dist/styles/MrlBlockNotification/module.scss +0 -25
  5. package/dist/styles/MrlBlockNotification/variables.scss +0 -10
  6. package/dist/styles/MrlButton/global.scss +0 -20
  7. package/dist/styles/MrlCheckbox/global.scss +0 -7
  8. package/dist/styles/MrlCheckbox/module.scss +0 -6
  9. package/dist/styles/MrlCheckbox/variables.scss +1 -7
  10. package/dist/styles/MrlCheckboxStandalone/global.scss +0 -13
  11. package/dist/styles/MrlCheckboxStandalone/module.scss +0 -14
  12. package/dist/styles/MrlCheckboxStandalone/variables.scss +1 -15
  13. package/dist/styles/MrlDivider/module.scss +0 -13
  14. package/dist/styles/MrlFieldset/module.scss +0 -5
  15. package/dist/styles/MrlLabel/module.scss +0 -11
  16. package/dist/styles/MrlLabel/variables.scss +0 -9
  17. package/dist/styles/MrlLabelWithDescription/module.scss +0 -17
  18. package/dist/styles/MrlLabelWithDescription/variables.scss +0 -7
  19. package/dist/styles/MrlLink/module.scss +0 -26
  20. package/dist/styles/MrlModal/global.scss +0 -8
  21. package/dist/styles/MrlModal/mixins.scss +0 -23
  22. package/dist/styles/MrlModal/module.scss +0 -17
  23. package/dist/styles/MrlModal/variables.scss +0 -10
  24. package/dist/styles/MrlModalContent/module.scss +0 -5
  25. package/dist/styles/MrlModalFooter/global.scss +0 -2
  26. package/dist/styles/MrlModalFooter/module.scss +0 -11
  27. package/dist/styles/MrlModalFooter/variables.scss +0 -5
  28. package/dist/styles/MrlModalHeader/module.scss +0 -7
  29. package/dist/styles/MrlModalHeaderNative/module.scss +0 -10
  30. package/dist/styles/MrlRadioButtonStandalone/global.scss +0 -6
  31. package/dist/styles/MrlRadioButtonStandalone/module.scss +0 -9
  32. package/dist/styles/MrlRadioButtonStandalone/variables.scss +0 -8
  33. package/dist/styles/MrlSelect/module.scss +0 -43
  34. package/dist/styles/MrlSelect/variables.scss +1 -6
  35. package/dist/styles/MrlSelectItem/module.scss +0 -23
  36. package/dist/styles/MrlSelectItem/variables.scss +0 -10
  37. package/dist/styles/MrlSelectMenu/module.scss +1 -17
  38. package/dist/styles/MrlSelectMenu/variables.scss +0 -5
  39. package/dist/styles/MrlSmartTable/module.scss +0 -5
  40. package/dist/styles/MrlSvg/module.scss +0 -11
  41. package/dist/styles/MrlSvgAnimate/module.scss +0 -9
  42. package/dist/styles/MrlTable/module.scss +0 -5
  43. package/dist/styles/MrlTableBody/module.scss +0 -6
  44. package/dist/styles/MrlTableCell/module.scss +0 -5
  45. package/dist/styles/MrlTableColumn/module.scss +0 -8
  46. package/dist/styles/MrlTableEmptyState/module.scss +0 -5
  47. package/dist/styles/MrlTableHeader/module.scss +0 -5
  48. package/dist/styles/MrlTableRow/module.scss +0 -6
  49. package/dist/styles/MrlText/module.scss +0 -6
  50. package/dist/styles/MrlText/variables.scss +0 -8
  51. package/dist/styles/MrlTextHeading/module.scss +0 -14
  52. package/dist/styles/MrlTextHeading/variables.scss +0 -19
  53. package/dist/styles/MrlTextInput/module.scss +0 -29
  54. package/dist/styles/MrlTextInput/variables.scss +0 -1
  55. package/dist/styles/MrlTextarea/global.scss +1 -8
  56. package/dist/styles/MrlTextarea/module.scss +1 -8
  57. package/dist/styles/MrlTooltipContent/global.scss +1 -33
  58. package/dist/styles/MrlTooltipContent/variables.scss +0 -5
  59. package/dist/styles/button/global.scss +0 -29
  60. package/dist/styles/button/mixins.scss +0 -31
  61. package/dist/styles/button/variables.scss +2 -61
  62. package/dist/styles/divider/mixins.scss +0 -41
  63. package/dist/styles/divider/variables.scss +0 -12
  64. package/dist/styles/form/global.scss +0 -56
  65. package/dist/styles/form/variables.scss +0 -22
  66. package/dist/styles/grid/variables.scss +0 -11
  67. package/dist/styles/modal/variables.scss +0 -14
  68. package/dist/styles/svg/variables.scss +0 -8
  69. package/dist/styles/table/global.scss +0 -8
  70. package/dist/styles/table/variables.scss +0 -5
  71. package/dist/styles/tooltip/mixins.scss +0 -11
  72. package/package.json +1 -1
@@ -1,14 +1,7 @@
1
- ////
2
- /// Shared variables for form inputs
3
- /// @group form-elements
4
- ////
5
1
 
6
2
  :root,
7
3
  :host {
8
4
  --mrl-text-input-background: var(--mrl-color-background);
9
-
10
- // The default variant of inputs keep consistent background colors
11
- // but the inline kind requires us to separate these variables
12
5
  --mrl-text-input-background-color-hover: var(--mrl-color-background);
13
6
  --mrl-text-input-border-color: var(--mrl-color-line);
14
7
  --mrl-text-input-border-width: var(--mrl-line-width-border);
@@ -16,8 +9,6 @@
16
9
  --mrl-text-input-border-color-disabled: var(--mrl-color-line-disabled);
17
10
  --mrl-text-input-border-color-focus: var(--mrl-color-line-active);
18
11
  --mrl-text-input-border-radius: var(--mrl-border-radius-functional);
19
-
20
- // Default theme text inputs don't seem to follow the same logic as other interactive elements?
21
12
  --mrl-text-input-color: rgba(var(--mrl-gray-90), 1);
22
13
  --mrl-text-input-color-focus: rgba(var(--mrl-gray-100), 1);
23
14
  --mrl-text-input-color-disabled: var(--mrl-color-text-disabled);
@@ -28,8 +19,6 @@
28
19
  --mrl-text-input-padding: var(--mrl-text-input-inset-vertical)
29
20
  var(--mrl-text-input-inset-horizontal);
30
21
  --mrl-input-icon-offset: var(--mrl-spacing-03);
31
-
32
- // Checkbox properties
33
22
  --mrl-checkbox-height: var(--mrl-spacing-09);
34
23
  --mrl-checkbox-input-affordance: var(--mrl-spacing-08);
35
24
  --mrl-checkbox-input-inset: calc(var(--mrl-spacing-01) + var(--mrl-spacing-02));
@@ -39,8 +28,6 @@
39
28
  --mrl-checkbox-input-color: var(--mrl-color-text-inverse);
40
29
  --mrl-checkbox-input-border-width: var(--mrl-line-width-control);
41
30
  --mrl-checkbox-input-border-radius: var(--mrl-border-radius-content);
42
-
43
- // Radio button properties
44
31
  --mrl-radio-button-height: var(--mrl-spacing-06);
45
32
  --mrl-radio-button-width: var(--mrl-spacing-06);
46
33
  --mrl-radio-button-fill-size: var(--mrl-spacing-04);
@@ -50,25 +37,16 @@
50
37
  --mrl-radio-button-background: var(--mrl-color-background);
51
38
  --mrl-radio-button-background-selected: var(--mrl-color-background-highlight-selected);
52
39
  }
53
-
54
- // State: selected (checked or indeterminate)
55
40
  .mrl-checkbox-input:checked ~ .mrl-checkbox-inputDisplay,
56
41
  .MrlCheckboxStandalone-input:checked ~ .MrlCheckboxStandalone-inputDisplay,
57
42
  .mrl-checkbox-input:indeterminate ~ .mrl-checkbox-inputDisplay,
58
43
  .MrlCheckboxStandalone-input:indeterminate ~ .MrlCheckboxStandalone-inputDisplay {
59
- // This doesn't align to any of our contextual color tokens
60
44
  --mrl-checkbox-input-background: rgba(var(--mrl-gray-100), 1);
61
45
  --mrl-checkbox-input-border-color: rgba(var(--mrl-gray-100), 1);
62
46
  }
63
-
64
- // Select shared variables
65
47
  :host {
66
48
  --mrl-select-item-padding-vertical: calc(var(--mrl-spacing-01) + var(--mrl-spacing-02));
67
49
  --mrl-select-item-spacing-stack: var(--mrl-spacing-02);
68
-
69
- // The text actually uses a mixin but we need this variable to calculate the
70
- // max height of the menu. If you change this value, you must also change
71
- // the mixin within the `select-item.scss` file.
72
50
  --mrl-select-item-text-affordance: calc(
73
51
  var(--mrl-type-line-height-text-small) * var(--mrl-type-size-text-small)
74
52
  );
@@ -1,9 +1,4 @@
1
- ////
2
- //// Grid variables
3
- //// @group grid
4
- ////
5
1
 
6
- //// Grid customizations
7
2
  $grid-breakpoints: (
8
3
  xs: 0,
9
4
  sm: 600px,
@@ -13,9 +8,6 @@ $grid-breakpoints: (
13
8
  xxl: 1440px
14
9
  );
15
10
  $grid-gutter-width: 1rem;
16
-
17
- //// Spacers customization
18
- // Example of impacted selectors: p-1, px-2, px-lg-4, etc. p-16px
19
11
  $spacer: 1rem;
20
12
  $spacers: (
21
13
  0: 0,
@@ -25,9 +17,6 @@ $spacers: (
25
17
  4: $spacer * 0.25,
26
18
  5: $spacer * 0.5
27
19
  );
28
-
29
- //// Gutters customization
30
- // Example of impacted selectors: g-1, gx-2, gx-lg-4, etc.
31
20
  $gutters: (
32
21
  0: 0,
33
22
  1: $spacer,
@@ -1,18 +1,8 @@
1
- ////
2
- /// Modal shared variables
3
- /// @group modal
4
- ////
5
1
 
6
2
  @use '~@muraldevkit/ds-foundation/src/styles/global-variables/breakpoints' as *;
7
3
  @use '~@muraldevkit/ds-foundation/src/styles/skeletons/button' as *;
8
-
9
- // @use '~@muraldevkit/ds-component-button/dist/scss/variables' as *;
10
-
11
- // import button.variables.scss from button component in this repositories button component
12
4
  @use '../button/button.variables.scss' as *;
13
-
14
5
  $mrl-modal-close-size: $mrl-button-height--default;
15
-
16
6
  .mrl-modal {
17
7
  --mrl-modal-header-text-color: rgba(var(--mrl-gray-100), 1);
18
8
  --mrl-modal-padding-vertical: var(--mrl-spacing-07);
@@ -20,22 +10,18 @@ $mrl-modal-close-size: $mrl-button-height--default;
20
10
  --mrl-modal-close-inline-margin: var(--mrl-space-inline-related);
21
11
  --mrl-modal-close-offset: var(--mrl-spacing-06);
22
12
  }
23
-
24
- /// Media queries' styles for desktop
25
13
  @media screen and (min-width: $mrl-breakpoint-01) {
26
14
  .mrl-modal,
27
15
  .mrl-modal .footer.slotted .mrl-modal-footer,
28
16
  .mrl-modal .header.slotted .mrl-modal-header {
29
17
  --mrl-modal-padding-horizontal: var(--mrl-spacing-08);
30
18
  }
31
-
32
19
  .mrl-modal--large,
33
20
  .mrl-modal--large .footer.slotted .mrl-modal-footer,
34
21
  .mrl-modal--large .header.slotted .mrl-modal-header {
35
22
  --mrl-modal-padding-horizontal: var(--mrl-spacing-09);
36
23
  }
37
24
  }
38
-
39
25
  .mrl-native-modal,
40
26
  .mrl-display-modal {
41
27
  --mrl-modal-padding-horizontal: var(--mrl-spacing-05);
@@ -1,24 +1,16 @@
1
- ////
2
- /// SVG component variables
3
- /// @group svg
4
- ////
5
1
 
6
2
  .MrlSvgContainer,
7
3
  .MrlSvg {
8
- // default to `medium` size
9
4
  --mrl-svg-size: var(--mrl-spacing-07);
10
5
  }
11
-
12
6
  .MrlSvgContainer--small,
13
7
  .MrlSvg--small {
14
8
  --mrl-svg-size: var(--mrl-spacing-06);
15
9
  }
16
-
17
10
  .MrlSvgContainer--large,
18
11
  .MrlSvg--large {
19
12
  --mrl-svg-size: var(--mrl-spacing-10);
20
13
  }
21
-
22
14
  .MrlSvgContainer--auto,
23
15
  .MrlSvg--auto {
24
16
  --mrl-svg-size: 100%;
@@ -1,17 +1,9 @@
1
- ////
2
- /// Table shared styles
3
- /// @group Table
4
- ////
5
1
 
6
- /// Shared between MrlTableColumn and MrlTableCell
7
- ///
8
- /// @example @include mrl-cell-layout;
9
2
  @mixin mrl-cell-layout {
10
3
  height: var(--mrl-table-column-height);
11
4
  padding-inline: var(--mrl-table-default-padding-inline);
12
5
  text-align: left;
13
6
  vertical-align: middle;
14
-
15
7
  &:global(.selection) {
16
8
  max-width: var(--mrl-table-selection-width);
17
9
  padding: unset;
@@ -1,7 +1,3 @@
1
- ////
2
- /// Table component style variables
3
- /// @group Table
4
- ////
5
1
 
6
2
  .MrlTable {
7
3
  --mrl-table-default-width: calc(100% - 10px);
@@ -22,7 +18,6 @@
22
18
  --mrl-table-call-to-action-width: 92px;
23
19
  --mrl-table-action-width: 48px;
24
20
  }
25
-
26
21
  .MrlTableEmptyState {
27
22
  --mrl-table-empty-state-padding-block: 64px;
28
23
  --mrl-table-empty-state-padding-inline: 48px;
@@ -1,18 +1,7 @@
1
- ////
2
- /// Mural's tooltip shared styles
3
- /// @group tooltip
4
- ////
5
1
 
6
- /// Shared styles for text-related inputs such as text-input and textarea
7
- /// There are no configurations for this mixin
8
- ///
9
- /// @example @include mrl-text-inputs;
10
2
  @mixin mrl-tooltip-show {
11
3
  opacity: 1;
12
4
  pointer-events: inherit;
13
-
14
- // We set these properties only on show so we don't have a delay/animation
15
- // when the tooltip is hidden
16
5
  transition-delay: var(--mrl-duration-03);
17
6
  transition-duration: var(--mrl-duration-03);
18
7
  transition-timing-function: var(--mrl-timing-m2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",