@brightspace-ui/core 3.267.0 → 3.267.3

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 (112) hide show
  1. package/components/alert/alert-toast.js +98 -102
  2. package/components/alert/alert.js +109 -113
  3. package/components/backdrop/backdrop-dirty-overlay.js +13 -17
  4. package/components/backdrop/backdrop-loading.js +105 -109
  5. package/components/backdrop/backdrop.js +50 -54
  6. package/components/breadcrumbs/breadcrumb-current-page.js +19 -23
  7. package/components/breadcrumbs/breadcrumb.js +50 -54
  8. package/components/breadcrumbs/breadcrumbs.js +34 -38
  9. package/components/button/button-add.js +156 -164
  10. package/components/button/button-copy-mixin.js +9 -11
  11. package/components/button/button-copy.js +15 -19
  12. package/components/button/button-icon.js +110 -114
  13. package/components/button/button-move.js +153 -157
  14. package/components/button/button-split-item.js +16 -20
  15. package/components/button/button-split.js +70 -74
  16. package/components/button/button-subtle-copy.js +17 -19
  17. package/components/button/button-subtle.js +145 -149
  18. package/components/button/button-toggle.js +25 -29
  19. package/components/button/button.js +70 -74
  20. package/components/button/floating-buttons.js +63 -67
  21. package/components/calendar/calendar.js +244 -248
  22. package/components/card/card-content-meta.js +13 -15
  23. package/components/card/card-content-title.js +9 -11
  24. package/components/card/card-footer-link.js +76 -80
  25. package/components/card/card-loading-shimmer.js +35 -39
  26. package/components/card/card.js +188 -192
  27. package/components/collapsible-panel/collapsible-panel-group.js +17 -21
  28. package/components/collapsible-panel/collapsible-panel-summary-item.js +27 -31
  29. package/components/collapsible-panel/collapsible-panel.js +258 -262
  30. package/components/count-badge/count-badge-icon.js +12 -16
  31. package/components/count-badge/count-badge-mixin.js +124 -128
  32. package/components/count-badge/count-badge.js +2 -4
  33. package/components/description-list/description-list-wrapper.js +27 -31
  34. package/components/dialog/dialog-confirm.js +55 -59
  35. package/components/dialog/dialog-fullscreen.js +128 -132
  36. package/components/dialog/dialog-mixin.js +39 -41
  37. package/components/dialog/dialog.js +61 -65
  38. package/components/dropdown/dropdown-button-subtle.js +21 -25
  39. package/components/dropdown/dropdown-button.js +31 -35
  40. package/components/dropdown/dropdown-context-menu.js +28 -31
  41. package/components/dropdown/dropdown-menu.js +27 -31
  42. package/components/dropdown/dropdown-more.js +23 -26
  43. package/components/dropdown/dropdown-opener-mixin.js +44 -46
  44. package/components/dropdown/dropdown-popover-mixin.js +155 -159
  45. package/components/dropdown/dropdown-tabs.js +5 -7
  46. package/components/dropdown/dropdown.js +1 -3
  47. package/components/empty-state/empty-state-action-button.js +18 -22
  48. package/components/empty-state/empty-state-action-link.js +14 -18
  49. package/components/empty-state/empty-state-illustrated.js +21 -25
  50. package/components/empty-state/empty-state-simple.js +8 -12
  51. package/components/expand-collapse/expand-collapse-content.js +48 -52
  52. package/components/filter/filter-dimension-set-date-text-value.js +34 -36
  53. package/components/filter/filter-dimension-set-date-time-range-value.js +45 -47
  54. package/components/filter/filter-dimension-set-empty-state.js +17 -19
  55. package/components/filter/filter-dimension-set-value.js +27 -29
  56. package/components/filter/filter-dimension-set.js +65 -67
  57. package/components/filter/filter-overflow-group.js +15 -19
  58. package/components/filter/filter-tags.js +16 -19
  59. package/components/filter/filter.js +115 -119
  60. package/components/focus-trap/focus-trap.js +17 -21
  61. package/components/form/form-element-mixin.js +33 -35
  62. package/components/form/form-error-summary.js +37 -42
  63. package/components/form/form.js +33 -37
  64. package/components/hierarchical-view/hierarchical-view-mixin.js +76 -80
  65. package/components/hierarchical-view/hierarchical-view.js +5 -7
  66. package/components/html-block/html-block.js +45 -49
  67. package/components/icons/icon-custom.js +20 -24
  68. package/components/icons/icon.js +20 -24
  69. package/components/icons/slotted-icon-mixin.js +16 -18
  70. package/components/inputs/input-checkbox-group.js +34 -38
  71. package/components/inputs/input-checkbox.js +106 -110
  72. package/components/inputs/input-color.js +142 -148
  73. package/components/inputs/input-date-range.js +90 -94
  74. package/components/inputs/input-date-time-range-to.js +70 -74
  75. package/components/inputs/input-date-time-range.js +110 -115
  76. package/components/inputs/input-date-time.js +75 -79
  77. package/components/inputs/input-date.js +101 -105
  78. package/components/inputs/input-fieldset.js +37 -43
  79. package/components/inputs/input-group.js +10 -12
  80. package/components/inputs/input-inline-help.js +4 -6
  81. package/components/inputs/input-number.js +112 -118
  82. package/components/inputs/input-percent.js +52 -58
  83. package/components/inputs/input-radio-group.js +45 -49
  84. package/components/inputs/input-radio-spacer.js +11 -13
  85. package/components/inputs/input-radio.js +62 -66
  86. package/components/inputs/input-search.js +63 -68
  87. package/components/inputs/input-styles.js +140 -3
  88. package/components/inputs/input-text.js +245 -251
  89. package/components/inputs/input-textarea.js +128 -132
  90. package/components/inputs/input-time-range.js +100 -104
  91. package/components/inputs/input-time.js +107 -113
  92. package/components/link/link-mixin.js +37 -41
  93. package/components/link/link.js +113 -119
  94. package/components/list/list-controls.js +25 -29
  95. package/components/list/list-item-button-mixin.js +10 -12
  96. package/components/list/list-item-checkbox-mixin.js +35 -37
  97. package/components/list/list-item-content.js +33 -35
  98. package/components/list/list-item-drag-drop-mixin.js +45 -47
  99. package/components/list/list-item-drag-handle.js +80 -84
  100. package/components/list/list-item-drag-image.js +77 -81
  101. package/components/list/list-item-expand-collapse-mixin.js +17 -19
  102. package/components/list/list-item-generic-layout.js +222 -226
  103. package/components/list/list-item-link-mixin.js +10 -12
  104. package/components/list/list-item-mixin.js +68 -70
  105. package/components/list/list-item-nav-mixin.js +17 -19
  106. package/components/list/list-item-placement-marker.js +65 -67
  107. package/components/list/list-item-role-mixin.js +9 -11
  108. package/components/list/list-item.js +7 -9
  109. package/components/list/list.js +121 -125
  110. package/components/loading-spinner/loading-spinner.js +93 -97
  111. package/custom-elements.json +1920 -6694
  112. package/package.json +3 -2
@@ -16,155 +16,151 @@ import { SlottedIconMixin } from '../icons/slotted-icon-mixin.js';
16
16
  */
17
17
  class ButtonSubtle extends SlottedIconMixin(ButtonMixin(LitElement)) {
18
18
 
19
- static get properties() {
20
- return {
21
- /**
22
- * ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
23
- * @type {string}
24
- */
25
- description: { type: String },
26
-
27
- /**
28
- * Aligns the leading edge of text if value is set to "text" for left-aligned layouts, the trailing edge of text if value is set to "text-end" for right-aligned layouts
29
- * @type {'text'|'text-end'|''}
30
- */
31
- hAlign: { type: String, reflect: true, attribute: 'h-align' },
32
-
33
- /**
34
- * Indicates that the icon should be rendered on right
35
- * @type {boolean}
36
- */
37
- iconRight: { type: Boolean, reflect: true, attribute: 'icon-right' },
38
-
39
- /**
40
- * Whether to render the slimmer version of the button
41
- * @type {boolean}
42
- */
43
- slim: { type: Boolean, reflect: true },
44
-
45
- /**
46
- * ACCESSIBILITY: REQUIRED: Text for the button
47
- * @type {string}
48
- */
49
- text: { type: String, reflect: true }
50
- };
51
- }
52
-
53
- static get styles() {
54
- return [super.styles, labelStyles, buttonStyles,
55
- css`
56
- :host {
57
- --d2l-count-badge-background-color: var(--d2l-theme-background-color-interactive-primary-default);
58
- --d2l-count-badge-foreground-color: var(--d2l-theme-text-color-static-inverted);
59
- display: inline-block;
60
- }
61
-
62
- :host([hidden]) {
63
- display: none;
64
- }
65
-
66
- button {
67
- --d2l-button-subtle-padding-inline-start: 0.6rem;
68
- --d2l-button-subtle-padding-inline-end: 0.6rem;
69
- align-items: center;
70
- background-color: var(--d2l-theme-background-color-interactive-tertiary-default);
71
- border-color: transparent;
72
- column-gap: 0.3rem;
73
- display: inline-flex;
74
- font-family: inherit;
75
- padding-block-end: 0;
76
- padding-block-start: 0;
77
- padding-inline-end: var(--d2l-button-subtle-padding-inline-end);
78
- padding-inline-start: var(--d2l-button-subtle-padding-inline-start);
79
- position: relative;
80
- }
81
-
82
- :host([slim]) button {
83
- --d2l-button-subtle-padding-inline-start: 0.5rem;
84
- --d2l-button-subtle-padding-inline-end: 0.5rem;
85
- min-height: 1.5rem;
86
- }
87
-
88
- :host([slim]) button.d2l-button-subtle-has-icon {
89
- --d2l-button-subtle-padding-inline-start: 0.4rem;
90
- --d2l-button-subtle-padding-inline-end: 0.5rem;
91
- }
92
-
93
- :host([slim][icon-right]) button.d2l-button-subtle-has-icon {
94
- --d2l-button-subtle-padding-inline-start: 0.5rem;
95
- --d2l-button-subtle-padding-inline-end: 0.4rem;
96
- }
97
-
98
- :host([h-align="text"]) button {
99
- inset-inline-start: calc(var(--d2l-button-subtle-padding-inline-start) * -1);
100
- }
101
- :host([h-align="text-end"]) button {
102
- inset-inline-end: calc(var(--d2l-button-subtle-padding-inline-end) * -1);
103
- }
104
-
105
- /* Firefox includes a hidden border which messes up button dimensions */
106
- button::-moz-focus-inner {
107
- border: 0;
108
- }
109
-
110
- button[disabled]:hover,
111
- button[disabled]:focus,
112
- :host([active]) button[disabled] {
113
- background-color: var(--d2l-theme-background-color-interactive-tertiary-default);
114
- }
115
-
116
- button:hover,
117
- button:focus,
118
- :host([active]) button {
119
- background-color: var(--d2l-theme-background-color-interactive-tertiary-hover);
120
- }
121
-
122
- .d2l-button-subtle-content {
123
- color: var(--d2l-theme-text-color-interactive-default);
124
- }
125
-
126
- button:hover:not([disabled]) .d2l-button-subtle-content,
127
- button:focus:not([disabled]) .d2l-button-subtle-content,
128
- :host([active]:not([disabled])) button .d2l-button-subtle-content {
129
- color: var(--d2l-theme-text-color-interactive-hover);
130
- }
131
-
132
- button:hover:not([disabled]),
133
- button:focus:not([disabled]),
134
- :host([active]:not([disabled])) {
135
- --d2l-count-badge-background-color: var(--d2l-theme-text-color-interactive-hover);
136
- }
137
-
138
- .property-icon,
139
- slot[name="icon"]::slotted(d2l-icon-custom) {
140
- color: var(--d2l-theme-text-color-interactive-default);
141
- }
142
-
143
- button:hover:not([disabled]) .property-icon,
144
- button:focus:not([disabled]) .property-icon,
145
- :host([active]:not([disabled])) button .property-icon,
146
- button:hover:not([disabled]) slot[name="icon"]::slotted(d2l-icon-custom),
147
- button:focus:not([disabled]) slot[name="icon"]::slotted(d2l-icon-custom),
148
- :host([active]:not([disabled])) slot[name="icon"]::slotted(d2l-icon-custom) {
149
- color: var(--d2l-theme-text-color-interactive-hover);
150
- }
151
-
152
- :host([icon-right]) .property-icon,
153
- :host([icon-right]) slot[name="icon"]::slotted(d2l-icon-custom) {
154
- order: 1;
155
- }
156
-
157
- .d2l-button-subtle-content-wrapper slot {
158
- color: var(--d2l-theme-text-color-static-standard);
159
- }
160
-
161
- :host([disabled]) button {
162
- cursor: default;
163
- opacity: var(--d2l-theme-opacity-disabled-control);
164
- }
165
- `
166
- ];
167
- }
19
+ static properties = {
20
+ /**
21
+ * ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
22
+ * @type {string}
23
+ */
24
+ description: { type: String },
25
+
26
+ /**
27
+ * Aligns the leading edge of text if value is set to "text" for left-aligned layouts, the trailing edge of text if value is set to "text-end" for right-aligned layouts
28
+ * @type {'text'|'text-end'|''}
29
+ */
30
+ hAlign: { type: String, reflect: true, attribute: 'h-align' },
31
+
32
+ /**
33
+ * Indicates that the icon should be rendered on right
34
+ * @type {boolean}
35
+ */
36
+ iconRight: { type: Boolean, reflect: true, attribute: 'icon-right' },
37
+
38
+ /**
39
+ * Whether to render the slimmer version of the button
40
+ * @type {boolean}
41
+ */
42
+ slim: { type: Boolean, reflect: true },
43
+
44
+ /**
45
+ * ACCESSIBILITY: REQUIRED: Text for the button
46
+ * @type {string}
47
+ */
48
+ text: { type: String, reflect: true }
49
+ };
50
+
51
+ static styles = [super.styles, labelStyles, buttonStyles,
52
+ css`
53
+ :host {
54
+ --d2l-count-badge-background-color: var(--d2l-theme-background-color-interactive-primary-default);
55
+ --d2l-count-badge-foreground-color: var(--d2l-theme-text-color-static-inverted);
56
+ display: inline-block;
57
+ }
58
+
59
+ :host([hidden]) {
60
+ display: none;
61
+ }
62
+
63
+ button {
64
+ --d2l-button-subtle-padding-inline-start: 0.6rem;
65
+ --d2l-button-subtle-padding-inline-end: 0.6rem;
66
+ align-items: center;
67
+ background-color: var(--d2l-theme-background-color-interactive-tertiary-default);
68
+ border-color: transparent;
69
+ column-gap: 0.3rem;
70
+ display: inline-flex;
71
+ font-family: inherit;
72
+ padding-block-end: 0;
73
+ padding-block-start: 0;
74
+ padding-inline-end: var(--d2l-button-subtle-padding-inline-end);
75
+ padding-inline-start: var(--d2l-button-subtle-padding-inline-start);
76
+ position: relative;
77
+ }
78
+
79
+ :host([slim]) button {
80
+ --d2l-button-subtle-padding-inline-start: 0.5rem;
81
+ --d2l-button-subtle-padding-inline-end: 0.5rem;
82
+ min-height: 1.5rem;
83
+ }
84
+
85
+ :host([slim]) button.d2l-button-subtle-has-icon {
86
+ --d2l-button-subtle-padding-inline-start: 0.4rem;
87
+ --d2l-button-subtle-padding-inline-end: 0.5rem;
88
+ }
89
+
90
+ :host([slim][icon-right]) button.d2l-button-subtle-has-icon {
91
+ --d2l-button-subtle-padding-inline-start: 0.5rem;
92
+ --d2l-button-subtle-padding-inline-end: 0.4rem;
93
+ }
94
+
95
+ :host([h-align="text"]) button {
96
+ inset-inline-start: calc(var(--d2l-button-subtle-padding-inline-start) * -1);
97
+ }
98
+ :host([h-align="text-end"]) button {
99
+ inset-inline-end: calc(var(--d2l-button-subtle-padding-inline-end) * -1);
100
+ }
101
+
102
+ /* Firefox includes a hidden border which messes up button dimensions */
103
+ button::-moz-focus-inner {
104
+ border: 0;
105
+ }
106
+
107
+ button[disabled]:hover,
108
+ button[disabled]:focus,
109
+ :host([active]) button[disabled] {
110
+ background-color: var(--d2l-theme-background-color-interactive-tertiary-default);
111
+ }
112
+
113
+ button:hover,
114
+ button:focus,
115
+ :host([active]) button {
116
+ background-color: var(--d2l-theme-background-color-interactive-tertiary-hover);
117
+ }
118
+
119
+ .d2l-button-subtle-content {
120
+ color: var(--d2l-theme-text-color-interactive-default);
121
+ }
122
+
123
+ button:hover:not([disabled]) .d2l-button-subtle-content,
124
+ button:focus:not([disabled]) .d2l-button-subtle-content,
125
+ :host([active]:not([disabled])) button .d2l-button-subtle-content {
126
+ color: var(--d2l-theme-text-color-interactive-hover);
127
+ }
128
+
129
+ button:hover:not([disabled]),
130
+ button:focus:not([disabled]),
131
+ :host([active]:not([disabled])) {
132
+ --d2l-count-badge-background-color: var(--d2l-theme-text-color-interactive-hover);
133
+ }
134
+
135
+ .property-icon,
136
+ slot[name="icon"]::slotted(d2l-icon-custom) {
137
+ color: var(--d2l-theme-text-color-interactive-default);
138
+ }
139
+
140
+ button:hover:not([disabled]) .property-icon,
141
+ button:focus:not([disabled]) .property-icon,
142
+ :host([active]:not([disabled])) button .property-icon,
143
+ button:hover:not([disabled]) slot[name="icon"]::slotted(d2l-icon-custom),
144
+ button:focus:not([disabled]) slot[name="icon"]::slotted(d2l-icon-custom),
145
+ :host([active]:not([disabled])) slot[name="icon"]::slotted(d2l-icon-custom) {
146
+ color: var(--d2l-theme-text-color-interactive-hover);
147
+ }
148
+
149
+ :host([icon-right]) .property-icon,
150
+ :host([icon-right]) slot[name="icon"]::slotted(d2l-icon-custom) {
151
+ order: 1;
152
+ }
153
+
154
+ .d2l-button-subtle-content-wrapper slot {
155
+ color: var(--d2l-theme-text-color-static-standard);
156
+ }
157
+
158
+ :host([disabled]) button {
159
+ cursor: default;
160
+ opacity: var(--d2l-theme-opacity-disabled-control);
161
+ }
162
+ `
163
+ ];
168
164
 
169
165
  constructor() {
170
166
  super();
@@ -6,35 +6,31 @@ import { css, html, LitElement } from 'lit';
6
6
  */
7
7
  class ButtonToggle extends LitElement {
8
8
 
9
- static get properties() {
10
- return {
11
- /**
12
- * Pressed state
13
- * @type {boolean}
14
- */
15
- pressed: { type: Boolean, reflect: true }
16
- };
17
- }
18
-
19
- static get styles() {
20
- return css`
21
- :host {
22
- display: inline-block;
23
- }
24
- :host([hidden]) {
25
- display: none;
26
- }
27
- ::slotted(:not(d2l-button-icon, d2l-button-subtle)),
28
- :host slot[name="pressed"],
29
- :host([pressed]) slot[name="not-pressed"] {
30
- display: none;
31
- }
32
- :host slot[name="not-pressed"],
33
- :host([pressed]) slot[name="pressed"] {
34
- display: contents;
35
- }
36
- `;
37
- }
9
+ static properties = {
10
+ /**
11
+ * Pressed state
12
+ * @type {boolean}
13
+ */
14
+ pressed: { type: Boolean, reflect: true }
15
+ };
16
+
17
+ static styles = css`
18
+ :host {
19
+ display: inline-block;
20
+ }
21
+ :host([hidden]) {
22
+ display: none;
23
+ }
24
+ ::slotted(:not(d2l-button-icon, d2l-button-subtle)),
25
+ :host slot[name="pressed"],
26
+ :host([pressed]) slot[name="not-pressed"] {
27
+ display: none;
28
+ }
29
+ :host slot[name="not-pressed"],
30
+ :host([pressed]) slot[name="pressed"] {
31
+ display: contents;
32
+ }
33
+ `;
38
34
 
39
35
  constructor() {
40
36
  super();
@@ -13,88 +13,84 @@ import { labelStyles } from '../typography/styles.js';
13
13
  */
14
14
  class Button extends ButtonMixin(LitElement) {
15
15
 
16
- static get properties() {
17
- return {
18
- /**
19
- * ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
20
- * @type {string}
21
- */
22
- description: { type: String },
16
+ static properties = {
17
+ /**
18
+ * ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
19
+ * @type {string}
20
+ */
21
+ description: { type: String },
23
22
 
24
- /**
25
- * Styles the button as a primary button
26
- * @type {boolean}
27
- */
28
- primary: { type: Boolean, reflect: true }
29
- };
30
- }
23
+ /**
24
+ * Styles the button as a primary button
25
+ * @type {boolean}
26
+ */
27
+ primary: { type: Boolean, reflect: true }
28
+ };
31
29
 
32
- static get styles() {
33
- return [ labelStyles, buttonStyles,
34
- css`
35
- :host {
36
- display: inline-block;
37
- }
38
- :host([hidden]) {
39
- display: none;
40
- }
30
+ static styles = [ labelStyles, buttonStyles,
31
+ css`
32
+ :host {
33
+ display: inline-block;
34
+ }
35
+ :host([hidden]) {
36
+ display: none;
37
+ }
41
38
 
42
- button {
43
- font-family: inherit;
44
- padding-block-end: 0;
45
- padding-block-start: 0;
46
- padding-inline-end: var(--d2l-button-padding-inline-end, 1.5rem);
47
- padding-inline-start: var(--d2l-button-padding-inline-start, 1.5rem);
48
- width: 100%;
49
- }
39
+ button {
40
+ font-family: inherit;
41
+ padding-block-end: 0;
42
+ padding-block-start: 0;
43
+ padding-inline-end: var(--d2l-button-padding-inline-end, 1.5rem);
44
+ padding-inline-start: var(--d2l-button-padding-inline-start, 1.5rem);
45
+ width: 100%;
46
+ }
50
47
 
51
- /* Firefox includes a hidden border which messes up button dimensions */
52
- button::-moz-focus-inner {
53
- border: 0;
54
- }
48
+ /* Firefox includes a hidden border which messes up button dimensions */
49
+ button::-moz-focus-inner {
50
+ border: 0;
51
+ }
55
52
 
56
- button,
57
- button[disabled]:hover,
58
- button[disabled]:focus,
59
- :host([active]) button[disabled] {
60
- background-color: var(--d2l-theme-background-color-interactive-secondary-default);
61
- color: var(--d2l-theme-text-color-static-standard);
62
- }
53
+ button,
54
+ button[disabled]:hover,
55
+ button[disabled]:focus,
56
+ :host([active]) button[disabled] {
57
+ background-color: var(--d2l-theme-background-color-interactive-secondary-default);
58
+ color: var(--d2l-theme-text-color-static-standard);
59
+ }
63
60
 
64
- button:hover,
65
- button:focus,
66
- :host([active]) button {
67
- background-color: var(--d2l-theme-background-color-interactive-secondary-hover);
68
- }
61
+ button:hover,
62
+ button:focus,
63
+ :host([active]) button {
64
+ background-color: var(--d2l-theme-background-color-interactive-secondary-hover);
65
+ }
69
66
 
70
- :host([disabled]) button {
71
- cursor: default;
72
- position: relative;
73
- }
74
- :host([disabled]) button::before {
75
- background-color: var(--d2l-theme-background-color-base);
76
- border-radius: inherit;
77
- content: "";
78
- inset: 0;
79
- opacity: var(--d2l-theme-opacity-disabled-control);
80
- position: absolute;
81
- }
67
+ :host([disabled]) button {
68
+ cursor: default;
69
+ position: relative;
70
+ }
71
+ :host([disabled]) button::before {
72
+ background-color: var(--d2l-theme-background-color-base);
73
+ border-radius: inherit;
74
+ content: "";
75
+ inset: 0;
76
+ opacity: var(--d2l-theme-opacity-disabled-control);
77
+ position: absolute;
78
+ }
82
79
 
83
- :host([primary]) button,
84
- :host([primary]) button[disabled]:hover,
85
- :host([primary]) button[disabled]:focus,
86
- :host([primary][active]) button[disabled] {
87
- background-color: var(--d2l-theme-background-color-interactive-primary-default);
88
- color: var(--d2l-theme-text-color-static-inverted);
89
- }
90
- :host([primary]) button:hover,
91
- :host([primary]) button:focus,
92
- :host([primary][active]) button {
93
- background-color: var(--d2l-theme-background-color-interactive-primary-hover);
94
- }
95
- `
96
- ];
97
- }
80
+ :host([primary]) button,
81
+ :host([primary]) button[disabled]:hover,
82
+ :host([primary]) button[disabled]:focus,
83
+ :host([primary][active]) button[disabled] {
84
+ background-color: var(--d2l-theme-background-color-interactive-primary-default);
85
+ color: var(--d2l-theme-text-color-static-inverted);
86
+ }
87
+ :host([primary]) button:hover,
88
+ :host([primary]) button:focus,
89
+ :host([primary][active]) button {
90
+ background-color: var(--d2l-theme-background-color-interactive-primary-hover);
91
+ }
92
+ `
93
+ ];
98
94
 
99
95
  constructor() {
100
96
  super();