@carbon/element-styles 0.3.6 → 0.3.7-rc.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 (91) hide show
  1. package/README.md +51 -33
  2. package/css/prebuilt/editorial.css +1 -1
  3. package/css/prebuilt/expressive.css +2 -2
  4. package/css/prebuilt/productive.css +2 -2
  5. package/index.scss +2 -2
  6. package/package.json +30 -16
  7. package/scss/_config.scss +1 -1
  8. package/scss/elements/_heading/index.scss +3 -3
  9. package/scss/elements/_input/index.scss +11 -11
  10. package/scss/elements/_labelled-input/index.scss +41 -39
  11. package/scss/elements/_layer/index.scss +29 -17
  12. package/scss/elements/abbreviation/index.scss +5 -5
  13. package/scss/elements/address/index.scss +5 -5
  14. package/scss/elements/anchor/index.scss +10 -10
  15. package/scss/elements/block-quotation/index.scss +7 -7
  16. package/scss/elements/body/index.scss +6 -6
  17. package/scss/elements/bold-text/index.scss +4 -4
  18. package/scss/elements/button/index.scss +19 -19
  19. package/scss/elements/checkbox/index.scss +16 -14
  20. package/scss/elements/code/index.scss +6 -6
  21. package/scss/elements/color-input/index.scss +24 -27
  22. package/scss/elements/combo-box/index.scss +22 -20
  23. package/scss/elements/date-input/index.scss +18 -16
  24. package/scss/elements/date-time-input/index.scss +18 -16
  25. package/scss/elements/deleted-text/index.scss +6 -6
  26. package/scss/elements/description-list/index.scss +5 -5
  27. package/scss/elements/details/index.scss +12 -11
  28. package/scss/elements/dialog/index.scss +63 -49
  29. package/scss/elements/email-input/index.scss +17 -15
  30. package/scss/elements/fieldset/index.scss +11 -9
  31. package/scss/elements/file-input/index.scss +10 -9
  32. package/scss/elements/footer/index.scss +6 -6
  33. package/scss/elements/header-navigation/index.scss +11 -11
  34. package/scss/elements/heading-level-1/index.scss +5 -5
  35. package/scss/elements/heading-level-2/index.scss +5 -5
  36. package/scss/elements/heading-level-3/index.scss +5 -5
  37. package/scss/elements/heading-level-4/index.scss +5 -5
  38. package/scss/elements/heading-level-5/index.scss +5 -5
  39. package/scss/elements/heading-level-6/index.scss +5 -5
  40. package/scss/elements/horizontal-rule/index.scss +8 -8
  41. package/scss/elements/image/index.scss +3 -3
  42. package/scss/elements/inline-loading/index.scss +11 -12
  43. package/scss/elements/inline-quotation/index.scss +4 -4
  44. package/scss/elements/inserted-text/index.scss +6 -6
  45. package/scss/elements/italic-text/index.scss +4 -4
  46. package/scss/elements/keyboard-input/index.scss +6 -6
  47. package/scss/elements/label/index.scss +9 -9
  48. package/scss/elements/main/index.scss +6 -6
  49. package/scss/elements/marked-text/index.scss +7 -7
  50. package/scss/elements/menu/index.scss +13 -12
  51. package/scss/elements/number-input/index.scss +15 -13
  52. package/scss/elements/ordered-list/index.scss +5 -5
  53. package/scss/elements/paragraph/index.scss +4 -4
  54. package/scss/elements/password-input/index.scss +16 -14
  55. package/scss/elements/popover/index.scss +32 -37
  56. package/scss/elements/preformatted/index.scss +5 -5
  57. package/scss/elements/progress-bar/index.scss +20 -18
  58. package/scss/elements/radio-button/index.scss +14 -12
  59. package/scss/elements/range-input/index.scss +13 -11
  60. package/scss/elements/search-input/index.scss +18 -16
  61. package/scss/elements/select/index.scss +24 -22
  62. package/scss/elements/side-navigation/index.scss +11 -11
  63. package/scss/elements/small-text/index.scss +5 -5
  64. package/scss/elements/table/index.scss +16 -12
  65. package/scss/elements/tabs/index.scss +20 -16
  66. package/scss/elements/telephone-number-input/index.scss +17 -15
  67. package/scss/elements/text-area/index.scss +20 -16
  68. package/scss/elements/text-input/index.scss +17 -15
  69. package/scss/elements/tile/index.scss +14 -13
  70. package/scss/elements/time-input/index.scss +18 -16
  71. package/scss/elements/toggle/index.scss +20 -16
  72. package/scss/elements/tooltip/index.scss +13 -11
  73. package/scss/elements/tree-view/index.scss +11 -11
  74. package/scss/elements/unordered-list/index.scss +7 -7
  75. package/scss/elements/url-input/index.scss +17 -15
  76. package/scss/layout/_density.scss +6 -6
  77. package/scss/layout/_mode.scss +269 -161
  78. package/scss/layout/_size.scss +16 -10
  79. package/scss/layout/index.scss +3 -3
  80. package/scss/prebuilt/editorial/_elements.scss +34 -32
  81. package/scss/prebuilt/editorial/_layout.scss +4 -4
  82. package/scss/prebuilt/editorial/index.scss +9 -9
  83. package/scss/prebuilt/expressive/_elements.scss +74 -70
  84. package/scss/prebuilt/expressive/_layout.scss +4 -4
  85. package/scss/prebuilt/expressive/index.scss +9 -9
  86. package/scss/prebuilt/productive/_elements.scss +69 -67
  87. package/scss/prebuilt/productive/_layout.scss +4 -4
  88. package/scss/prebuilt/productive/index.scss +9 -9
  89. package/scss/utilities/_carbon.scss +28 -25
  90. package/scss/utilities/_icons.scss +1 -1
  91. package/scss/utilities/_tokens.scss +5 -5
@@ -5,22 +5,22 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '@carbon/styles/scss/theme';
11
- @use '@carbon/styles/scss/spacing';
12
- @use '@carbon/styles/scss/utilities/focus-outline';
13
- @use '@carbon/styles/scss/components/button/tokens' as carbon-button;
14
- @use '@carbon/styles/scss/components/content-switcher/tokens' as carbon-content-switcher;
10
+ @use "@carbon/styles/scss/theme";
11
+ @use "@carbon/styles/scss/spacing";
12
+ @use "@carbon/styles/scss/utilities/focus-outline";
13
+ @use "@carbon/styles/scss/components/button/tokens" as carbon-button;
14
+ @use "@carbon/styles/scss/components/content-switcher/tokens" as carbon-content-switcher;
15
15
 
16
- @use '../../layout';
17
- @use '../../utilities/guards';
16
+ @use "../../layout";
17
+ @use "../../utilities/guards";
18
18
 
19
19
  $config: () !default;
20
20
 
21
21
  $-default-config: (
22
22
  selector: '[role="tablist"]',
23
- kind: 'line',
23
+ kind: "line",
24
24
  );
25
25
 
26
26
  /// @group tabs
@@ -30,7 +30,7 @@ $-default-config: (
30
30
  @mixin styles($config: $config) {
31
31
  $props: map.deep-merge($-default-config, $config);
32
32
 
33
- #{map.get($props, 'selector')} {
33
+ #{map.get($props, "selector")} {
34
34
  display: flex;
35
35
  flex-direction: row;
36
36
 
@@ -57,7 +57,7 @@ $-default-config: (
57
57
  }
58
58
 
59
59
  &:focus {
60
- @include focus-outline.focus-outline('outline');
60
+ @include focus-outline.focus-outline("outline");
61
61
  }
62
62
 
63
63
  &:disabled {
@@ -70,7 +70,7 @@ $-default-config: (
70
70
  padding: layout.$density--padding;
71
71
  }
72
72
 
73
- @if map.get($props, 'kind') == 'line' {
73
+ @if map.get($props, "kind") == "line" {
74
74
  & button[role="tab"] {
75
75
  border-block-end: 0.125rem solid theme.$border-subtle;
76
76
  margin-inline-end: 0.0625rem;
@@ -93,7 +93,7 @@ $-default-config: (
93
93
  }
94
94
  }
95
95
 
96
- @if map.get($props, 'kind') == 'contained' {
96
+ @if map.get($props, "kind") == "contained" {
97
97
  & button[role="tab"] {
98
98
  background-color: theme.$layer-accent;
99
99
  border-block-start: 0.125rem solid transparent;
@@ -126,7 +126,11 @@ $-default-config: (
126
126
  }
127
127
  }
128
128
 
129
- @if map.get($props, 'kind') == 'content-switcher' or map.get($props, 'kind') == 'content-switcher--low-contrast' {
129
+ @if map.get($props, "kind") ==
130
+ "content-switcher" or
131
+ map.get($props, "kind") ==
132
+ "content-switcher--low-contrast"
133
+ {
130
134
  & {
131
135
  box-shadow: 0 0 0 0.0625rem theme.$border-inverse;
132
136
  border-radius: 0.25rem;
@@ -174,7 +178,7 @@ $-default-config: (
174
178
  }
175
179
 
176
180
  &::after {
177
- content: '';
181
+ content: "";
178
182
  display: block;
179
183
  position: absolute;
180
184
  inset-inline-end: 0;
@@ -200,7 +204,7 @@ $-default-config: (
200
204
  }
201
205
  }
202
206
 
203
- @if map.get($props, 'kind') == 'content-switcher--low-contrast' {
207
+ @if map.get($props, "kind") == "content-switcher--low-contrast" {
204
208
  & {
205
209
  background-color: carbon-content-switcher.$content-switcher-background;
206
210
  box-shadow: 0 0 0 0.0625rem theme.$border-strong;
@@ -5,17 +5,17 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '../_labelled-input';
10
+ @use "../_labelled-input";
11
11
 
12
- @use '../../layout';
12
+ @use "../../layout";
13
13
 
14
14
  $config: () !default;
15
15
 
16
16
  $-default-config: (
17
17
  selector: 'label:has(input[type="tel"])',
18
- axis: 'block',
18
+ axis: "block",
19
19
  );
20
20
 
21
21
  /// @group telephone-number-input
@@ -25,16 +25,18 @@ $-default-config: (
25
25
  @mixin styles($config: $config) {
26
26
  $props: map.deep-merge($-default-config, $config);
27
27
 
28
- #{map.get($props, 'selector')} {
29
- @include labelled-input.styles((
30
- label: (
31
- selector: '&',
32
- axis: map.get($props, 'axis'),
33
- ),
34
- input: (
35
- selector: 'input[type="tel"]',
36
- ),
37
- input-invalid-slot: 'after',
38
- ));
28
+ #{map.get($props, "selector")} {
29
+ @include labelled-input.styles(
30
+ (
31
+ label: (
32
+ selector: "&",
33
+ axis: map.get($props, "axis"),
34
+ ),
35
+ input: (
36
+ selector: 'input[type="tel"]',
37
+ ),
38
+ input-invalid-slot: "after",
39
+ )
40
+ );
39
41
  }
40
42
  }
@@ -5,16 +5,16 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '../_labelled-input';
10
+ @use "../_labelled-input";
11
11
 
12
- @use '../../layout';
12
+ @use "../../layout";
13
13
 
14
14
  $config: () !default;
15
15
 
16
16
  $-default-config: (
17
- selector: 'label:has(textarea)',
17
+ selector: "label:has(textarea)",
18
18
  );
19
19
 
20
20
  /// @group text-area
@@ -23,20 +23,24 @@ $-default-config: (
23
23
  @mixin styles($config: $config) {
24
24
  $props: map.deep-merge($-default-config, $config);
25
25
 
26
- #{map.get($props, 'selector')} {
27
- @include labelled-input.styles((
28
- label: (
29
- selector: '&',
30
- axis: 'block',
31
- ),
32
- input: (
33
- selector: 'textarea',
34
- ),
35
- input-invalid-slot: 'after',
36
- ));
26
+ #{map.get($props, "selector")} {
27
+ @include labelled-input.styles(
28
+ (
29
+ label: (
30
+ selector: "&",
31
+ axis: "block",
32
+ ),
33
+ input: (
34
+ selector: "textarea",
35
+ ),
36
+ input-invalid-slot: "after",
37
+ )
38
+ );
37
39
 
38
40
  & textarea {
39
- min-block-size: calc(layout.$size--padding-block-start + 2lh + layout.$size--padding-block-end);
41
+ min-block-size: calc(
42
+ layout.$size--padding-block-start + 2lh + layout.$size--padding-block-end
43
+ );
40
44
  resize: vertical;
41
45
  }
42
46
  }
@@ -5,17 +5,17 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '../_labelled-input';
10
+ @use "../_labelled-input";
11
11
 
12
- @use '../../layout';
12
+ @use "../../layout";
13
13
 
14
14
  $config: () !default;
15
15
 
16
16
  $-default-config: (
17
17
  selector: 'label:has(input[type="text"])',
18
- axis: 'block',
18
+ axis: "block",
19
19
  );
20
20
 
21
21
  /// @group text-input
@@ -25,16 +25,18 @@ $-default-config: (
25
25
  @mixin styles($config: $config) {
26
26
  $props: map.deep-merge($-default-config, $config);
27
27
 
28
- #{map.get($props, 'selector')} {
29
- @include labelled-input.styles((
30
- label: (
31
- selector: '&',
32
- axis: map.get($props, 'axis'),
33
- ),
34
- input: (
35
- selector: 'input[type="text"]',
36
- ),
37
- input-invalid-slot: 'after',
38
- ));
28
+ #{map.get($props, "selector")} {
29
+ @include labelled-input.styles(
30
+ (
31
+ label: (
32
+ selector: "&",
33
+ axis: map.get($props, "axis"),
34
+ ),
35
+ input: (
36
+ selector: 'input[type="text"]',
37
+ ),
38
+ input-invalid-slot: "after",
39
+ )
40
+ );
39
41
  }
40
42
  }
@@ -5,22 +5,22 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '@carbon/styles/scss/theme';
11
- @use '@carbon/styles/scss/spacing';
12
- @use '@carbon/styles/scss/utilities/focus-outline';
10
+ @use "@carbon/styles/scss/theme";
11
+ @use "@carbon/styles/scss/spacing";
12
+ @use "@carbon/styles/scss/utilities/focus-outline";
13
13
 
14
- @use '../_layer';
14
+ @use "../_layer";
15
15
 
16
- @use '../../layout';
17
- @use '../../utilities/icons';
18
- @use '../../utilities/guards';
16
+ @use "../../layout";
17
+ @use "../../utilities/icons";
18
+ @use "../../utilities/guards";
19
19
 
20
20
  $config: () !default;
21
21
 
22
22
  $-default-config: (
23
- selector: '[data-tile]',
23
+ selector: "[data-tile]",
24
24
  );
25
25
 
26
26
  /// @group tile
@@ -29,7 +29,7 @@ $-default-config: (
29
29
  @mixin styles($config: $config) {
30
30
  $props: map.deep-merge($-default-config, $config);
31
31
 
32
- #{map.get($props, 'selector')} {
32
+ #{map.get($props, "selector")} {
33
33
  @include layer.styles;
34
34
  padding: layout.$density--padding;
35
35
  box-sizing: border-box;
@@ -41,7 +41,8 @@ $-default-config: (
41
41
  text-decoration: none;
42
42
  padding-inline-end: spacing.$spacing-09;
43
43
  border: 0.0625rem solid theme.$border-tile;
44
- transition: background-color layout.$mode--transition-duration layout.$mode--transition-timing-function;
44
+ transition: background-color layout.$mode--transition-duration
45
+ layout.$mode--transition-timing-function;
45
46
 
46
47
  &:visited {
47
48
  color: inherit;
@@ -64,12 +65,12 @@ $-default-config: (
64
65
  }
65
66
 
66
67
  &:focus {
67
- @include focus-outline.focus-outline('outline');
68
+ @include focus-outline.focus-outline("outline");
68
69
  }
69
70
 
70
71
  &::after {
71
72
  @include icons.arrow--right;
72
- content: '';
73
+ content: "";
73
74
  position: absolute;
74
75
  color: theme.$link-primary;
75
76
  inset-block-end: layout.$density--padding;
@@ -5,17 +5,17 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '../_labelled-input';
10
+ @use "../_labelled-input";
11
11
 
12
- @use '../../utilities/icons';
12
+ @use "../../utilities/icons";
13
13
 
14
14
  $config: () !default;
15
15
 
16
16
  $-default-config: (
17
17
  selector: 'label:has(input[type="time"])',
18
- axis: 'block',
18
+ axis: "block",
19
19
  );
20
20
 
21
21
  /// @group time-input
@@ -25,18 +25,20 @@ $-default-config: (
25
25
  @mixin styles($config: $config) {
26
26
  $props: map.deep-merge($-default-config, $config);
27
27
 
28
- #{map.get($props, 'selector')} {
29
- @include labelled-input.styles((
30
- label: (
31
- selector: '&',
32
- axis: map.get($props, 'axis'),
33
- ),
34
- input: (
35
- selector: 'input[type="time"]',
36
- ),
37
- fixed-input-trailing-slots: 1,
38
- input-invalid-slot: 'after',
39
- ));
28
+ #{map.get($props, "selector")} {
29
+ @include labelled-input.styles(
30
+ (
31
+ label: (
32
+ selector: "&",
33
+ axis: map.get($props, "axis"),
34
+ ),
35
+ input: (
36
+ selector: 'input[type="time"]',
37
+ ),
38
+ fixed-input-trailing-slots: 1,
39
+ input-invalid-slot: "after",
40
+ )
41
+ );
40
42
 
41
43
  &::before {
42
44
  @include labelled-input.input-trailing-slot {
@@ -5,17 +5,17 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '@carbon/styles/scss/theme';
11
- @use '@carbon/styles/scss/spacing';
12
- @use '@carbon/styles/scss/utilities/focus-outline';
13
- @use '@carbon/styles/scss/components/button/tokens' as carbon-button;
10
+ @use "@carbon/styles/scss/theme";
11
+ @use "@carbon/styles/scss/spacing";
12
+ @use "@carbon/styles/scss/utilities/focus-outline";
13
+ @use "@carbon/styles/scss/components/button/tokens" as carbon-button;
14
14
 
15
- @use '../label';
15
+ @use "../label";
16
16
 
17
- @use '../../layout';
18
- @use '../../utilities/guards';
17
+ @use "../../layout";
18
+ @use "../../utilities/guards";
19
19
 
20
20
  $config: () !default;
21
21
 
@@ -34,10 +34,12 @@ $-knob-size: calc($-block-size - $-knob-spacing * 2);
34
34
  @mixin styles($config: $config) {
35
35
  $props: map.deep-merge($-default-config, $config);
36
36
 
37
- #{map.get($props, 'selector')} {
38
- @include label.styles((
39
- selector: '&',
40
- ));
37
+ #{map.get($props, "selector")} {
38
+ @include label.styles(
39
+ (
40
+ selector: "&",
41
+ )
42
+ );
41
43
 
42
44
  inline-size: max-content;
43
45
 
@@ -53,7 +55,8 @@ $-knob-size: calc($-block-size - $-knob-spacing * 2);
53
55
  border-radius: calc($-block-size * 0.5);
54
56
  background-color: theme.$toggle-off;
55
57
  color: theme.$text-primary;
56
- transition: background-color layout.$mode--transition-duration layout.$mode--transition-timing-function;
58
+ transition: background-color layout.$mode--transition-duration
59
+ layout.$mode--transition-timing-function;
57
60
  cursor: pointer;
58
61
 
59
62
  &:disabled,
@@ -68,7 +71,7 @@ $-knob-size: calc($-block-size - $-knob-spacing * 2);
68
71
  }
69
72
 
70
73
  &:focus {
71
- @include focus-outline.focus-outline('outline');
74
+ @include focus-outline.focus-outline("outline");
72
75
  outline-offset: spacing.$spacing-01;
73
76
  }
74
77
  }
@@ -90,7 +93,7 @@ $-knob-size: calc($-block-size - $-knob-spacing * 2);
90
93
  }
91
94
 
92
95
  & button[role="switch"]::before {
93
- content: '';
96
+ content: "";
94
97
  display: block;
95
98
  position: absolute;
96
99
  block-size: $-knob-size;
@@ -101,7 +104,8 @@ $-knob-size: calc($-block-size - $-knob-spacing * 2);
101
104
  inset-block-start: $-knob-spacing;
102
105
 
103
106
  @include guards.motion {
104
- transition: translate layout.$mode--transition-duration layout.$mode--transition-timing-function;
107
+ transition: translate layout.$mode--transition-duration
108
+ layout.$mode--transition-timing-function;
105
109
  }
106
110
  }
107
111
 
@@ -5,19 +5,19 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '@carbon/styles/scss/theme';
10
+ @use "@carbon/styles/scss/theme";
11
11
 
12
- @use '../popover';
12
+ @use "../popover";
13
13
 
14
- @use '../../layout';
14
+ @use "../../layout";
15
15
 
16
16
  $config: () !default;
17
17
 
18
18
  $-default-config: (
19
19
  selector: '[popover="hint"]',
20
- alignment: 'start center',
20
+ alignment: "start center",
21
21
  );
22
22
 
23
23
  /// @group tooltip
@@ -27,12 +27,14 @@ $-default-config: (
27
27
  @mixin styles($config: $config) {
28
28
  $props: map.deep-merge($-default-config, $config);
29
29
 
30
- #{map.get($props, 'selector')} {
31
- @include popover.styles((
32
- selector: '&',
33
- caret: true,
34
- alignment: map.get($props, 'alignment'),
35
- ));
30
+ #{map.get($props, "selector")} {
31
+ @include popover.styles(
32
+ (
33
+ selector: "&",
34
+ caret: true,
35
+ alignment: map.get($props, "alignment"),
36
+ )
37
+ );
36
38
 
37
39
  background-color: theme.$background-inverse;
38
40
  color: theme.$text-inverse;
@@ -5,16 +5,16 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
9
- @use 'sass:string';
8
+ @use "sass:map";
9
+ @use "sass:string";
10
10
 
11
- @use '@carbon/styles/scss/theme';
12
- @use '@carbon/styles/scss/spacing';
13
- @use '@carbon/styles/scss/utilities/focus-outline';
11
+ @use "@carbon/styles/scss/theme";
12
+ @use "@carbon/styles/scss/spacing";
13
+ @use "@carbon/styles/scss/utilities/focus-outline";
14
14
 
15
- @use '../../layout';
16
- @use '../../utilities/icons';
17
- @use '../../utilities/guards';
15
+ @use "../../layout";
16
+ @use "../../utilities/icons";
17
+ @use "../../utilities/guards";
18
18
 
19
19
  $config: () !default;
20
20
 
@@ -28,7 +28,7 @@ $-default-config: (
28
28
  @mixin styles($config: $config) {
29
29
  $props: map.deep-merge($-default-config, $config);
30
30
 
31
- #{map.get($props, 'selector')} {
31
+ #{map.get($props, "selector")} {
32
32
  background-color: theme.$layer;
33
33
  list-style: none;
34
34
  margin: 0;
@@ -73,7 +73,7 @@ $-default-config: (
73
73
  outline: none;
74
74
 
75
75
  & > :is(span, a) {
76
- @include focus-outline.focus-outline('outline');
76
+ @include focus-outline.focus-outline("outline");
77
77
  }
78
78
  }
79
79
 
@@ -116,7 +116,7 @@ $-default-config: (
116
116
  }
117
117
 
118
118
  &:has([aria-expanded]) li[role="treeitem"] > :is(span, a)::before {
119
- content: '';
119
+ content: "";
120
120
  display: block;
121
121
  inline-size: 1rem;
122
122
  translate: 0 0.0625rem;
@@ -5,16 +5,16 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '@carbon/styles/scss/spacing';
10
+ @use "@carbon/styles/scss/spacing";
11
11
 
12
- @use '../../layout';
12
+ @use "../../layout";
13
13
 
14
14
  $config: () !default;
15
15
 
16
16
  $-default-config: (
17
- selector: 'ul',
17
+ selector: "ul",
18
18
  );
19
19
 
20
20
  /// @group unordered-list
@@ -23,8 +23,8 @@ $-default-config: (
23
23
  @mixin styles($config: $config) {
24
24
  $props: map.deep-merge($-default-config, $config);
25
25
 
26
- #{map.get($props, 'selector')} {
27
- list-style-type: '';
26
+ #{map.get($props, "selector")} {
27
+ list-style-type: "";
28
28
  padding: 0;
29
29
 
30
30
  & li {
@@ -35,7 +35,7 @@ $-default-config: (
35
35
  }
36
36
 
37
37
  & li li {
38
- list-style-type: '▪\FE0E';
38
+ list-style-type: "▪\FE0E";
39
39
  }
40
40
 
41
41
  & li p {
@@ -5,17 +5,17 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- @use 'sass:map';
8
+ @use "sass:map";
9
9
 
10
- @use '../_labelled-input';
10
+ @use "../_labelled-input";
11
11
 
12
- @use '../../layout';
12
+ @use "../../layout";
13
13
 
14
14
  $config: () !default;
15
15
 
16
16
  $-default-config: (
17
17
  selector: 'label:has(input[type="url"])',
18
- axis: 'block',
18
+ axis: "block",
19
19
  );
20
20
 
21
21
  /// @group url-input
@@ -25,16 +25,18 @@ $-default-config: (
25
25
  @mixin styles($config: $config) {
26
26
  $props: map.deep-merge($-default-config, $config);
27
27
 
28
- #{map.get($props, 'selector')} {
29
- @include labelled-input.styles((
30
- label: (
31
- selector: '&',
32
- axis: map.get($props, 'axis'),
33
- ),
34
- input: (
35
- selector: 'input[type="url"]',
36
- ),
37
- input-invalid-slot: 'after',
38
- ));
28
+ #{map.get($props, "selector")} {
29
+ @include labelled-input.styles(
30
+ (
31
+ label: (
32
+ selector: "&",
33
+ axis: map.get($props, "axis"),
34
+ ),
35
+ input: (
36
+ selector: 'input[type="url"]',
37
+ ),
38
+ input-invalid-slot: "after",
39
+ )
40
+ );
39
41
  }
40
42
  }