@ardium-ui/ui 3.6.0 → 4.0.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 (120) hide show
  1. package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
  2. package/esm2022/lib/buttons/_button-base.mjs +1 -1
  3. package/esm2022/lib/buttons/button/button.component.mjs +1 -1
  4. package/esm2022/lib/buttons/fab/fab.component.mjs +1 -1
  5. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +1 -1
  6. package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
  7. package/esm2022/lib/checkbox/checkbox.module.mjs +1 -1
  8. package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
  9. package/esm2022/lib/dialog/dialog.component.mjs +18 -7
  10. package/esm2022/lib/dialog/dialog.defaults.mjs +1 -1
  11. package/esm2022/lib/dialog/dialog.directives.mjs +12 -1
  12. package/esm2022/lib/dialog/dialog.module.mjs +7 -7
  13. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  14. package/esm2022/lib/modal/index.mjs +2 -1
  15. package/esm2022/lib/modal/modal.component.mjs +18 -5
  16. package/esm2022/lib/modal/modal.defaults.mjs +1 -1
  17. package/esm2022/lib/modal/modal.directives.mjs +14 -0
  18. package/esm2022/lib/modal/modal.module.mjs +8 -7
  19. package/esm2022/lib/star/index.mjs +2 -1
  20. package/esm2022/lib/star/rating-display/index.mjs +6 -0
  21. package/esm2022/lib/star/rating-display/rating-display.component.mjs +71 -0
  22. package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +16 -0
  23. package/esm2022/lib/star/rating-display/rating-display.directives.mjs +16 -0
  24. package/esm2022/lib/star/rating-display/rating-display.module.mjs +20 -0
  25. package/esm2022/lib/star/rating-display/rating-display.types.mjs +2 -0
  26. package/esm2022/lib/star/rating-input/index.mjs +6 -0
  27. package/esm2022/lib/star/rating-input/rating-input.component.mjs +191 -0
  28. package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +17 -0
  29. package/esm2022/lib/star/rating-input/rating-input.directives.mjs +16 -0
  30. package/esm2022/lib/star/rating-input/rating-input.module.mjs +20 -0
  31. package/esm2022/lib/star/rating-input/rating-input.types.mjs +2 -0
  32. package/esm2022/lib/star/star-button/index.mjs +3 -1
  33. package/esm2022/lib/star/star-button/star-button.component.mjs +13 -5
  34. package/esm2022/lib/star/star-button/star-button.defaults.mjs +2 -2
  35. package/esm2022/lib/star/star-button/star-button.directives.mjs +16 -0
  36. package/esm2022/lib/star/star-button/star-button.module.mjs +7 -6
  37. package/esm2022/lib/star/star-button/star-button.types.mjs +2 -0
  38. package/esm2022/lib/star/star.component.mjs +14 -5
  39. package/esm2022/lib/star/star.defaults.mjs +2 -2
  40. package/esm2022/lib/star/star.directives.mjs +16 -0
  41. package/esm2022/lib/star/star.module.mjs +9 -7
  42. package/esm2022/lib/star/star.types.mjs +3 -3
  43. package/esm2022/public-api.mjs +3 -3
  44. package/fesm2022/ardium-ui-ui.mjs +258 -132
  45. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  46. package/lib/dialog/dialog.component.d.ts +6 -2
  47. package/lib/dialog/dialog.directives.d.ts +6 -0
  48. package/lib/dialog/dialog.module.d.ts +1 -1
  49. package/lib/dialog/dialog.types.d.ts +1 -0
  50. package/lib/modal/index.d.ts +1 -0
  51. package/lib/modal/modal.component.d.ts +7 -1
  52. package/lib/modal/modal.directives.d.ts +8 -0
  53. package/lib/modal/modal.module.d.ts +6 -5
  54. package/lib/star/index.d.ts +1 -0
  55. package/lib/star/rating-display/index.d.ts +5 -0
  56. package/lib/star/rating-display/rating-display.component.d.ts +17 -0
  57. package/lib/star/rating-display/rating-display.defaults.d.ts +9 -0
  58. package/lib/star/rating-display/rating-display.directives.d.ts +9 -0
  59. package/lib/star/rating-display/rating-display.module.d.ts +10 -0
  60. package/lib/star/rating-display/rating-display.types.d.ts +8 -0
  61. package/lib/star/rating-input/index.d.ts +5 -0
  62. package/lib/star/rating-input/rating-input.component.d.ts +46 -0
  63. package/lib/star/rating-input/rating-input.defaults.d.ts +9 -0
  64. package/lib/star/rating-input/rating-input.directives.d.ts +9 -0
  65. package/lib/star/rating-input/rating-input.module.d.ts +10 -0
  66. package/lib/star/rating-input/rating-input.types.d.ts +12 -0
  67. package/lib/star/star-button/index.d.ts +2 -0
  68. package/lib/star/star-button/star-button.component.d.ts +5 -1
  69. package/lib/star/star-button/star-button.directives.d.ts +9 -0
  70. package/lib/star/star-button/star-button.module.d.ts +4 -3
  71. package/lib/star/star-button/star-button.types.d.ts +6 -0
  72. package/lib/star/star.component.d.ts +6 -3
  73. package/lib/star/star.directives.d.ts +9 -0
  74. package/lib/star/star.module.d.ts +4 -2
  75. package/lib/star/star.types.d.ts +5 -2
  76. package/package.json +1 -1
  77. package/prebuilt-themes/default/buttons/button.css +2 -2
  78. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  79. package/prebuilt-themes/default/buttons/fab.css +2 -2
  80. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  81. package/prebuilt-themes/default/buttons/icon-button.css +2 -2
  82. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  83. package/prebuilt-themes/default/card.css +5 -0
  84. package/prebuilt-themes/default/card.css.map +1 -1
  85. package/prebuilt-themes/default/core.css +1 -1
  86. package/prebuilt-themes/default/kbd.css +1 -0
  87. package/prebuilt-themes/default/kbd.css.map +1 -1
  88. package/prebuilt-themes/default/modal.css +3 -2
  89. package/prebuilt-themes/default/modal.css.map +1 -1
  90. package/prebuilt-themes/default/spinner.css +1 -1
  91. package/prebuilt-themes/default/stars.css +31 -73
  92. package/prebuilt-themes/default/stars.css.map +1 -1
  93. package/public-api.d.ts +2 -2
  94. package/themes/_variables.scss +121 -121
  95. package/themes/default/buttons/_button-mixins.scss +137 -138
  96. package/themes/default/buttons/button.scss +79 -79
  97. package/themes/default/buttons/fab.scss +81 -81
  98. package/themes/default/buttons/icon-button.scss +62 -62
  99. package/themes/default/card.scss +135 -129
  100. package/themes/default/core.scss +1 -1
  101. package/themes/default/kbd.scss +21 -20
  102. package/themes/default/modal.scss +94 -93
  103. package/themes/default/spinner.scss +21 -21
  104. package/themes/default/stars.scss +85 -122
  105. package/esm2022/lib/star/star-display/index.mjs +0 -4
  106. package/esm2022/lib/star/star-display/star-display.component.mjs +0 -61
  107. package/esm2022/lib/star/star-display/star-display.defaults.mjs +0 -16
  108. package/esm2022/lib/star/star-display/star-display.module.mjs +0 -19
  109. package/esm2022/lib/star/star-input/index.mjs +0 -4
  110. package/esm2022/lib/star/star-input/star-input.component.mjs +0 -188
  111. package/esm2022/lib/star/star-input/star-input.defaults.mjs +0 -17
  112. package/esm2022/lib/star/star-input/star-input.module.mjs +0 -19
  113. package/lib/star/star-display/index.d.ts +0 -3
  114. package/lib/star/star-display/star-display.component.d.ts +0 -13
  115. package/lib/star/star-display/star-display.defaults.d.ts +0 -9
  116. package/lib/star/star-display/star-display.module.d.ts +0 -9
  117. package/lib/star/star-input/index.d.ts +0 -3
  118. package/lib/star/star-input/star-input.component.d.ts +0 -48
  119. package/lib/star/star-input/star-input.defaults.d.ts +0 -9
  120. package/lib/star/star-input/star-input.module.d.ts +0 -9
@@ -1,138 +1,137 @@
1
- @use '../mixins' as defaultMixins;
2
- @use '../coloring' as coloringMixins;
3
- @use '../../variables' as ARD;
4
-
5
- @mixin button {
6
- @include coloringMixins.typeColors();
7
- font-family: 'Roboto', sans-serif;
8
- margin: 2px;
9
- border: 1px solid transparent;
10
- font-weight: 500;
11
- display: inline-flex;
12
- align-items: center;
13
- position: relative;
14
- cursor: pointer;
15
- outline: none;
16
-
17
- //! button icon
18
- .ard-button-icon {
19
- @include defaultMixins.icon(1);
20
- }
21
- //! button focus inficator
22
- .ard-focus-overlay {
23
- @include defaultMixins.focus-overlay;
24
- background-color: var(--ard-cmpcl--overlay);
25
- }
26
- &:hover,
27
- &:focus {
28
- .ard-focus-overlay {
29
- opacity: 4%;
30
- }
31
- }
32
- &.ard-active,
33
- &:active {
34
- .ard-focus-overlay {
35
- opacity: 12%;
36
- }
37
- }
38
- &:focus-visible {
39
- .ard-focus-overlay {
40
- opacity: 18%;
41
- }
42
- }
43
- //! button appearances
44
- &.ard-appearance-transparent,
45
- &.ard-appearance-raised {
46
- background: transparent;
47
- color: var(--ard-cmpcl--content);
48
- border: none;
49
-
50
- .ard-focus-overlay {
51
- background: var(--ard-cmpcl--overlay-colored);
52
- }
53
- }
54
- &.ard-appearance-raised,
55
- &.ard-appearance-raised-strong {
56
- background: ARD.$bg;
57
- transition: box-shadow 0.28s ARD.$timing-fn;
58
- box-shadow: ARD.$simple-shadow;
59
-
60
- &:hover,
61
- &:focus {
62
- box-shadow: ARD.$simple-shadow2;
63
- }
64
- &:active {
65
- box-shadow: ARD.$simple-shadow3;
66
- }
67
- }
68
- &.ard-appearance-outlined {
69
- background: ARD.$bg;
70
- color: var(--ard-cmpcl--content);
71
- border: 1px solid ARD.$border-light;
72
-
73
- .ard-focus-overlay {
74
- background: var(--ard-cmpcl--overlay-colored);
75
- }
76
- }
77
- &.ard-appearance-outlined-strong {
78
- background: ARD.$bg;
79
- color: var(--ard-cmpcl--content);
80
- border: 1px solid ARD.$border-light;
81
-
82
- .ard-focus-overlay {
83
- display: none;
84
- }
85
-
86
- transition: background-color 0.2s ease, color 0.2s ease;
87
- &:hover,
88
- &:focus,
89
- &:focus-visible {
90
- background: var(--ard-cmpcl--bg-colored);
91
- color: var(--ard-cmpcl--on-bg-colored);
92
- }
93
- }
94
- &.ard-appearance-flat,
95
- &.ard-appearance-raised-strong {
96
- background: var(--ard-cmpcl--bg);
97
- color: var(--ard-cmpcl--on-bg);
98
- border: none;
99
-
100
- .ard-focus-overlay {
101
- background: var(--ard-cmpcl--on-bg);
102
- }
103
- &:focus-visible {
104
- outline: solid black;
105
- }
106
- }
107
- //! light coloring
108
- &.ard-appearance-transparent.ard-light-coloring {
109
- color: var(--ard-cmpcl--content-light);
110
-
111
- .ard-focus-overlay {
112
- background: var(--ard-cmpcl--overlay-colored-light);
113
- }
114
- }
115
- }
116
-
117
- //! disabled state
118
- @mixin button-disabled {
119
- pointer-events: none;
120
- opacity: 60%;
121
- cursor: not-allowed;
122
-
123
- .ard-focus-overlay {
124
- opacity: 20%;
125
- transform: scale(1);
126
- }
127
-
128
- //edge case for no coloring
129
- &.ard-color-none {
130
- .ard-button-icon,
131
- .ard-button-content {
132
- opacity: 60%;
133
- }
134
- .ard-focus-overlay {
135
- background: var(--ard-cmpcl--overlay);
136
- }
137
- }
138
- }
1
+ @use '../mixins' as defaultMixins;
2
+ @use '../coloring' as coloringMixins;
3
+ @use '../../variables' as ARD;
4
+
5
+ @mixin button {
6
+ @include coloringMixins.typeColors();
7
+ font-family: 'Roboto', sans-serif;
8
+ margin: 2px;
9
+ border: 1px solid transparent;
10
+ font-weight: 500;
11
+ display: inline-flex;
12
+ align-items: center;
13
+ position: relative;
14
+ cursor: pointer;
15
+ outline: none;
16
+
17
+ //! button icon
18
+ .ard-button-icon {
19
+ @include defaultMixins.icon(1);
20
+ }
21
+ //! button focus inficator
22
+ .ard-focus-overlay {
23
+ @include defaultMixins.focus-overlay;
24
+ background-color: var(--ard-cmpcl--overlay);
25
+ }
26
+ &:hover,
27
+ &:focus {
28
+ .ard-focus-overlay {
29
+ opacity: 4%;
30
+ }
31
+ }
32
+ &.ard-active,
33
+ &:active {
34
+ .ard-focus-overlay {
35
+ opacity: 12%;
36
+ }
37
+ }
38
+ &:focus-visible {
39
+ .ard-focus-overlay {
40
+ opacity: 18%;
41
+ }
42
+ }
43
+ //! button appearances
44
+ &.ard-appearance-transparent,
45
+ &.ard-appearance-raised {
46
+ background: transparent;
47
+ color: var(--ard-cmpcl--content);
48
+ border: none;
49
+
50
+ .ard-focus-overlay {
51
+ background: var(--ard-cmpcl--overlay-colored);
52
+ }
53
+ }
54
+ &.ard-appearance-raised,
55
+ &.ard-appearance-raised-strong {
56
+ background: ARD.$bg;
57
+ transition: box-shadow 0.28s ARD.$timing-fn;
58
+ box-shadow: ARD.$simple-shadow;
59
+
60
+ &:hover,
61
+ &:focus-visible {
62
+ box-shadow: ARD.$simple-shadow2;
63
+ }
64
+ &:active {
65
+ box-shadow: ARD.$simple-shadow3;
66
+ }
67
+ }
68
+ &.ard-appearance-outlined {
69
+ background: ARD.$bg;
70
+ color: var(--ard-cmpcl--content);
71
+ border: 1px solid ARD.$border-light;
72
+
73
+ .ard-focus-overlay {
74
+ background: var(--ard-cmpcl--overlay-colored);
75
+ }
76
+ }
77
+ &.ard-appearance-outlined-strong {
78
+ background: ARD.$bg;
79
+ color: var(--ard-cmpcl--content);
80
+ border: 1px solid ARD.$border-light;
81
+
82
+ .ard-focus-overlay {
83
+ display: none;
84
+ }
85
+
86
+ transition: background-color 0.2s ease, color 0.2s ease;
87
+ &:hover,
88
+ &:focus-visible {
89
+ background: var(--ard-cmpcl--bg-colored);
90
+ color: var(--ard-cmpcl--on-bg-colored);
91
+ }
92
+ }
93
+ &.ard-appearance-flat,
94
+ &.ard-appearance-raised-strong {
95
+ background: var(--ard-cmpcl--bg);
96
+ color: var(--ard-cmpcl--on-bg);
97
+ border: none;
98
+
99
+ .ard-focus-overlay {
100
+ background: var(--ard-cmpcl--on-bg);
101
+ }
102
+ &:focus-visible {
103
+ outline: solid black;
104
+ }
105
+ }
106
+ //! light coloring
107
+ &.ard-appearance-transparent.ard-light-coloring {
108
+ color: var(--ard-cmpcl--content-light);
109
+
110
+ .ard-focus-overlay {
111
+ background: var(--ard-cmpcl--overlay-colored-light);
112
+ }
113
+ }
114
+ }
115
+
116
+ //! disabled state
117
+ @mixin button-disabled {
118
+ pointer-events: none;
119
+ opacity: 60%;
120
+ cursor: not-allowed;
121
+
122
+ .ard-focus-overlay {
123
+ opacity: 20%;
124
+ transform: scale(1);
125
+ }
126
+
127
+ //edge case for no coloring
128
+ &.ard-color-none {
129
+ .ard-button-icon,
130
+ .ard-button-content {
131
+ opacity: 60%;
132
+ }
133
+ .ard-focus-overlay {
134
+ background: var(--ard-cmpcl--overlay);
135
+ }
136
+ }
137
+ }
@@ -1,79 +1,79 @@
1
- @use './button-mixins' as shared;
2
-
3
- ard-button {
4
- display: block;
5
- width: max-content;
6
- height: max-content;
7
- }
8
-
9
- .ard-button {
10
- @include shared.button;
11
- background: transparent;
12
- gap: 6px;
13
- font-size: 0.875rem;
14
- height: 2.5em;
15
- padding: 0 1.2em;
16
- letter-spacing: 0.5px;
17
- width: 100%;
18
- min-width: max-content;
19
- justify-content: center;
20
- margin: 0;
21
-
22
- .ard-button-content {
23
- display: flex;
24
- align-items: center;
25
- gap: 0.875rem;
26
- }
27
-
28
- //! aligns
29
- &.ard-align-left {
30
- flex-direction: row;
31
- }
32
- &.ard-align-right {
33
- flex-direction: row-reverse;
34
- }
35
-
36
- //! button variants
37
- &.ard-button-vertical {
38
- height: max-content;
39
- padding: 0.3em 1em;
40
- gap: 2px;
41
- flex-direction: column;
42
- }
43
- &.ard-variant-rounded,
44
- &.ard-variant-pill.ard-button-vertical {
45
- border-radius: 6px;
46
- }
47
- &.ard-variant-pill:not(.ard-button-vertical) {
48
- border-radius: 9999px;
49
- }
50
- &.ard-variant-sharp {
51
- border-radius: 0;
52
- }
53
-
54
- //! compact
55
- &.ard-compact {
56
- font-size: 0.75rem;
57
- height: 2.25em;
58
- padding: 0 0.9em;
59
-
60
- &.ard-button-vertical {
61
- height: max-content;
62
- padding: 0.2em 0.8em;
63
- gap: 0;
64
- }
65
- }
66
- }
67
-
68
- ard-button.ard-disabled {
69
- > .ard-button {
70
- @include shared.button-disabled;
71
- }
72
- &.ard-button-with-pointer-events-when-disabled {
73
- pointer-events: all;
74
-
75
- > .ard-button {
76
- pointer-events: all;
77
- }
78
- }
79
- }
1
+ @use './button-mixins' as shared;
2
+
3
+ ard-button {
4
+ display: block;
5
+ width: max-content;
6
+ height: max-content;
7
+ }
8
+
9
+ .ard-button {
10
+ @include shared.button;
11
+ background: transparent;
12
+ gap: 6px;
13
+ font-size: 0.875rem;
14
+ height: 2.5em;
15
+ padding: 0 1.2em;
16
+ letter-spacing: 0.5px;
17
+ width: 100%;
18
+ min-width: max-content;
19
+ justify-content: center;
20
+ margin: 0;
21
+
22
+ .ard-button-content {
23
+ display: flex;
24
+ align-items: center;
25
+ gap: 0.875rem;
26
+ }
27
+
28
+ //! aligns
29
+ &.ard-align-left {
30
+ flex-direction: row;
31
+ }
32
+ &.ard-align-right {
33
+ flex-direction: row-reverse;
34
+ }
35
+
36
+ //! button variants
37
+ &.ard-button-vertical {
38
+ height: max-content;
39
+ padding: 0.3em 1em;
40
+ gap: 2px;
41
+ flex-direction: column;
42
+ }
43
+ &.ard-variant-rounded,
44
+ &.ard-variant-pill.ard-button-vertical {
45
+ border-radius: 6px;
46
+ }
47
+ &.ard-variant-pill:not(.ard-button-vertical) {
48
+ border-radius: 9999px;
49
+ }
50
+ &.ard-variant-sharp {
51
+ border-radius: 0;
52
+ }
53
+
54
+ //! compact
55
+ &.ard-compact {
56
+ font-size: 0.75rem;
57
+ height: 2.25em;
58
+ padding: 0 0.9em;
59
+
60
+ &.ard-button-vertical {
61
+ height: max-content;
62
+ padding: 0.2em 0.8em;
63
+ gap: 0;
64
+ }
65
+ }
66
+ }
67
+
68
+ ard-button.ard-disabled {
69
+ > .ard-button {
70
+ @include shared.button-disabled;
71
+ }
72
+ &.ard-button-with-pointer-events-when-disabled {
73
+ pointer-events: all;
74
+
75
+ > .ard-button {
76
+ pointer-events: all;
77
+ }
78
+ }
79
+ }
@@ -1,81 +1,81 @@
1
- @use './button-mixins' as shared;
2
- @use '../mixins' as CM;
3
-
4
- ard-fab {
5
- margin: 8px;
6
- display: block;
7
- width: max-content;
8
- height: max-content;
9
- }
10
-
11
- .ard-fab {
12
- @include shared.button;
13
- height: var(--ard-_fab-size);
14
- width: var(--ard-_fab-size);
15
- font-weight: 900;
16
- user-select: none;
17
- border-radius: 999px;
18
- justify-content: center;
19
- margin: 0;
20
-
21
- &.ard-fab-size-standard {
22
- --ard-_fab-size: 3.5rem;
23
- font-size: 1.75rem;
24
- }
25
- &.ard-fab-size-small {
26
- --ard-_fab-size: 2.5rem;
27
- font-size: 1.375rem;
28
- }
29
- &.ard-fab-extended {
30
- min-width: var(--ard-_fab-size);
31
- width: max-content;
32
- font-weight: unset;
33
-
34
- .ard-button-content {
35
- gap: 0.75em;
36
- max-width: 10em;
37
- }
38
- }
39
-
40
- .ard-button-content {
41
- gap: 1em;
42
- font-weight: 500;
43
- justify-content: flex-start !important;
44
- max-width: 1.5em;
45
- overflow: hidden;
46
- transition: max-width 0.5s ease;
47
-
48
- ard-icon {
49
- font-size: 1em;
50
- }
51
- }
52
-
53
- &.ard-appearance-transparent {
54
- @include CM.focus-overlay-scale-addon();
55
- }
56
- }
57
-
58
- ard-fab.ard-disabled {
59
- > .ard-fab {
60
- @include shared.button-disabled;
61
- }
62
- &.ard-button-with-pointer-events-when-disabled {
63
- pointer-events: all;
64
-
65
- > .ard-button {
66
- pointer-events: all;
67
- }
68
- }
69
- }
70
-
71
- @keyframes maxWidth {
72
- 0% {
73
- max-width: 1.5em;
74
- }
75
- 99% {
76
- max-width: 21em;
77
- }
78
- 100% {
79
- max-width: unset;
80
- }
81
- }
1
+ @use './button-mixins' as shared;
2
+ @use '../mixins' as CM;
3
+
4
+ ard-fab {
5
+ margin: 8px;
6
+ display: block;
7
+ width: max-content;
8
+ height: max-content;
9
+ }
10
+
11
+ .ard-fab {
12
+ @include shared.button;
13
+ height: var(--ard-_fab-size);
14
+ width: var(--ard-_fab-size);
15
+ font-weight: 900;
16
+ user-select: none;
17
+ border-radius: 999px;
18
+ justify-content: center;
19
+ margin: 0;
20
+
21
+ &.ard-fab-size-standard {
22
+ --ard-_fab-size: 3.5rem;
23
+ font-size: 1.75rem;
24
+ }
25
+ &.ard-fab-size-small {
26
+ --ard-_fab-size: 2.5rem;
27
+ font-size: 1.375rem;
28
+ }
29
+ &.ard-fab-extended {
30
+ min-width: var(--ard-_fab-size);
31
+ width: max-content;
32
+ font-weight: unset;
33
+
34
+ .ard-button-content {
35
+ gap: 0.75em;
36
+ max-width: 10em;
37
+ }
38
+ }
39
+
40
+ .ard-button-content {
41
+ gap: 1em;
42
+ font-weight: 500;
43
+ justify-content: flex-start !important;
44
+ max-width: 1.5em;
45
+ overflow: hidden;
46
+ transition: max-width 0.5s ease;
47
+
48
+ ard-icon {
49
+ font-size: 1em;
50
+ }
51
+ }
52
+
53
+ &.ard-appearance-transparent {
54
+ @include CM.focus-overlay-scale-addon();
55
+ }
56
+ }
57
+
58
+ ard-fab.ard-disabled {
59
+ > .ard-fab {
60
+ @include shared.button-disabled;
61
+ }
62
+ &.ard-button-with-pointer-events-when-disabled {
63
+ pointer-events: all;
64
+
65
+ > .ard-button {
66
+ pointer-events: all;
67
+ }
68
+ }
69
+ }
70
+
71
+ @keyframes maxWidth {
72
+ 0% {
73
+ max-width: 1.5em;
74
+ }
75
+ 99% {
76
+ max-width: 21em;
77
+ }
78
+ 100% {
79
+ max-width: unset;
80
+ }
81
+ }