@momentum-design/components 0.143.1 → 0.143.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.
|
@@ -2,11 +2,13 @@ import { css } from 'lit';
|
|
|
2
2
|
import { hostFitContentStyles } from '../../utils/styles';
|
|
3
3
|
const styles = css `
|
|
4
4
|
:host {
|
|
5
|
-
height:
|
|
6
|
-
gap:
|
|
7
|
-
padding:
|
|
8
|
-
|
|
9
|
-
border:
|
|
5
|
+
height: var(--mds-size-theme-md-24);
|
|
6
|
+
gap: var(--mds-spacing-theme-gap-2xs);
|
|
7
|
+
padding: var(--mds-spacing-theme-pad-none) var(--mds-spacing-theme-pad-h-2xs) var(--mds-spacing-theme-pad-none)
|
|
8
|
+
var(--mds-spacing-theme-pad-h-xs);
|
|
9
|
+
border-radius: var(--mds-radius-theme-xs);
|
|
10
|
+
border-style: solid;
|
|
11
|
+
border-width: var(--mds-border-theme-default);
|
|
10
12
|
white-space: nowrap;
|
|
11
13
|
|
|
12
14
|
--mdc-chip-color: var(--mds-color-theme-text-primary-normal);
|
|
@@ -32,9 +34,9 @@ const styles = css `
|
|
|
32
34
|
cursor: auto;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
::slotted(mdc-avatar[slot='prefix']){
|
|
36
|
-
width:
|
|
37
|
-
height:
|
|
37
|
+
::slotted(mdc-avatar[slot='prefix']) {
|
|
38
|
+
width: var(--mds-size-theme-md-20);
|
|
39
|
+
height: var(--mds-size-theme-md-20);
|
|
38
40
|
}
|
|
39
41
|
`;
|
|
40
42
|
export default [hostFitContentStyles, styles];
|
|
@@ -5272,8 +5272,8 @@
|
|
|
5272
5272
|
"attribute": "auto-focus-on-mount",
|
|
5273
5273
|
"reflects": true,
|
|
5274
5274
|
"inheritedFrom": {
|
|
5275
|
-
"name": "
|
|
5276
|
-
"module": "
|
|
5275
|
+
"name": "AutoFocusOnMountMixin",
|
|
5276
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
5277
5277
|
}
|
|
5278
5278
|
},
|
|
5279
5279
|
{
|
|
@@ -5301,8 +5301,8 @@
|
|
|
5301
5301
|
"attribute": "disabled",
|
|
5302
5302
|
"reflects": true,
|
|
5303
5303
|
"inheritedFrom": {
|
|
5304
|
-
"name": "
|
|
5305
|
-
"module": "
|
|
5304
|
+
"name": "DisabledMixin",
|
|
5305
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
5306
5306
|
}
|
|
5307
5307
|
},
|
|
5308
5308
|
{
|
|
@@ -5669,8 +5669,8 @@
|
|
|
5669
5669
|
"attribute": "tabIndex",
|
|
5670
5670
|
"reflects": true,
|
|
5671
5671
|
"inheritedFrom": {
|
|
5672
|
-
"name": "
|
|
5673
|
-
"module": "
|
|
5672
|
+
"name": "TabIndexMixin",
|
|
5673
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
5674
5674
|
}
|
|
5675
5675
|
},
|
|
5676
5676
|
{
|
|
@@ -5821,8 +5821,8 @@
|
|
|
5821
5821
|
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
5822
5822
|
"fieldName": "autoFocusOnMount",
|
|
5823
5823
|
"inheritedFrom": {
|
|
5824
|
-
"name": "
|
|
5825
|
-
"module": "src/
|
|
5824
|
+
"name": "AutoFocusOnMountMixin",
|
|
5825
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
|
5826
5826
|
}
|
|
5827
5827
|
},
|
|
5828
5828
|
{
|
|
@@ -5834,8 +5834,8 @@
|
|
|
5834
5834
|
"description": "This property specifies the tab order of the element.",
|
|
5835
5835
|
"fieldName": "tabIndex",
|
|
5836
5836
|
"inheritedFrom": {
|
|
5837
|
-
"name": "
|
|
5838
|
-
"module": "src/
|
|
5837
|
+
"name": "TabIndexMixin",
|
|
5838
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
5839
5839
|
}
|
|
5840
5840
|
},
|
|
5841
5841
|
{
|
|
@@ -5847,8 +5847,8 @@
|
|
|
5847
5847
|
"default": "undefined",
|
|
5848
5848
|
"fieldName": "disabled",
|
|
5849
5849
|
"inheritedFrom": {
|
|
5850
|
-
"name": "
|
|
5851
|
-
"module": "src/
|
|
5850
|
+
"name": "DisabledMixin",
|
|
5851
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
5852
5852
|
}
|
|
5853
5853
|
},
|
|
5854
5854
|
{
|