@universal-material/web 3.0.84 → 3.0.86
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.
- package/checkbox/checkbox.styles.d.ts.map +1 -1
- package/checkbox/checkbox.styles.js +1 -0
- package/checkbox/checkbox.styles.js.map +1 -1
- package/custom-elements.json +1047 -1038
- package/list/list-item.d.ts.map +1 -1
- package/list/list-item.js +10 -3
- package/list/list-item.js.map +1 -1
- package/list/list-item.styles.d.ts.map +1 -1
- package/list/list-item.styles.js +21 -0
- package/list/list-item.styles.js.map +1 -1
- package/list/list.styles.d.ts.map +1 -1
- package/list/list.styles.js +1 -0
- package/list/list.styles.js.map +1 -1
- package/package.json +1 -1
- package/radio/radio.styles.d.ts.map +1 -1
- package/radio/radio.styles.js +1 -0
- package/radio/radio.styles.js.map +1 -1
- package/shared/selection-control/selection-control-list-item.d.ts.map +1 -1
- package/shared/selection-control/selection-control-list-item.js +2 -3
- package/shared/selection-control/selection-control-list-item.js.map +1 -1
- package/shared/selection-control/selection-control.d.ts +2 -0
- package/shared/selection-control/selection-control.d.ts.map +1 -1
- package/shared/selection-control/selection-control.js +4 -1
- package/shared/selection-control/selection-control.js.map +1 -1
- package/shared/selection-control/selection-control.styles.d.ts.map +1 -1
- package/shared/selection-control/selection-control.styles.js +1 -0
- package/shared/selection-control/selection-control.styles.js.map +1 -1
- package/switch/switch.styles.d.ts.map +1 -1
- package/switch/switch.styles.js +1 -0
- package/switch/switch.styles.js.map +1 -1
- package/tab-bar/tab-bar.d.ts.map +1 -1
- package/tab-bar/tab-bar.js +5 -4
- package/tab-bar/tab-bar.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -3300,7 +3300,7 @@
|
|
|
3300
3300
|
{
|
|
3301
3301
|
"kind": "variable",
|
|
3302
3302
|
"name": "styles",
|
|
3303
|
-
"default": "css `\n :host {\n --_state-layer-padding: var(--u-checkbox-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-checkbox-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-checkbox-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-checkbox-indicator-size, 1.125rem);\n --_width: var(--u-checkbox-size, 3rem);\n --_height: var(--_width);\n }\n\n .border {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n box-shadow: 0 0 0 var(--u-checkbox-indicator-border-width, 0.125rem) var(--_indicator-color) inset;\n border-radius: var(--u-checkbox-indicator-shaper-coner, 2px);\n transition: box-shadow 175ms 175ms;\n }\n\n .indicator {\n position: absolute;\n display: flex;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n overflow: hidden;\n clip: rect(0, 0, var(--_indicator-size), 0);\n transition: clip 275ms;\n }\n .indicator::before {\n position: relative;\n top: 25%;\n box-sizing: border-box;\n display: block;\n width: 0.75rem;\n height: 0.35rem;\n content: \"\";\n border: var(--u-checkbox-indicator-border-width, 0.125rem) solid var(--u-color-on-primary, rgb(255, 255, 255));\n border-top-style: none;\n border-right-style: none;\n transform: rotate(-45deg);\n transition: border 175ms, transform 175ms;\n }\n\n input.indeterminate ~ .indicator-container .border,\n input:checked ~ .indicator-container .border {\n box-shadow: 0 0 0 calc(var(--_indicator-size) / 2) var(--_indicator-color) inset;\n transition: box-shadow 175ms;\n }\n input.indeterminate ~ .indicator-container .indicator,\n input:checked ~ .indicator-container .indicator {\n clip: rect(0, var(--_indicator-size), var(--_indicator-size), 0);\n transition: clip 175ms 175ms;\n }\n\n input.indeterminate ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-indeterminate-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n input.indeterminate ~ .indicator-container .indicator::before {\n border-left-style: none;\n transform: rotate(0);\n width: 0.6rem;\n }\n`"
|
|
3303
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u-checkbox-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-checkbox-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n pointer-events: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-checkbox-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-checkbox-indicator-size, 1.125rem);\n --_width: var(--u-checkbox-size, 3rem);\n --_height: var(--_width);\n }\n\n .border {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n box-shadow: 0 0 0 var(--u-checkbox-indicator-border-width, 0.125rem) var(--_indicator-color) inset;\n border-radius: var(--u-checkbox-indicator-shaper-coner, 2px);\n transition: box-shadow 175ms 175ms;\n }\n\n .indicator {\n position: absolute;\n display: flex;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n overflow: hidden;\n clip: rect(0, 0, var(--_indicator-size), 0);\n transition: clip 275ms;\n }\n .indicator::before {\n position: relative;\n top: 25%;\n box-sizing: border-box;\n display: block;\n width: 0.75rem;\n height: 0.35rem;\n content: \"\";\n border: var(--u-checkbox-indicator-border-width, 0.125rem) solid var(--u-color-on-primary, rgb(255, 255, 255));\n border-top-style: none;\n border-right-style: none;\n transform: rotate(-45deg);\n transition: border 175ms, transform 175ms;\n }\n\n input.indeterminate ~ .indicator-container .border,\n input:checked ~ .indicator-container .border {\n box-shadow: 0 0 0 calc(var(--_indicator-size) / 2) var(--_indicator-color) inset;\n transition: box-shadow 175ms;\n }\n input.indeterminate ~ .indicator-container .indicator,\n input:checked ~ .indicator-container .indicator {\n clip: rect(0, var(--_indicator-size), var(--_indicator-size), 0);\n transition: clip 175ms 175ms;\n }\n\n input.indeterminate ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-indeterminate-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n input.indeterminate ~ .indicator-container .indicator::before {\n border-left-style: none;\n transform: rotate(0);\n width: 0.6rem;\n }\n`"
|
|
3304
3304
|
}
|
|
3305
3305
|
],
|
|
3306
3306
|
"exports": [
|
|
@@ -7091,7 +7091,7 @@
|
|
|
7091
7091
|
{
|
|
7092
7092
|
"kind": "variable",
|
|
7093
7093
|
"name": "styles",
|
|
7094
|
-
"default": "css `\n :host {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(--u-list-item-min-height, 56px);\n padding-block: var(--u-list-item-block-padding, 8px);\n padding-inline: var(--u-list-item-inline-padding, 16px);\n gap: var(--u-list-item-gap, 16px);\n }\n\n slot:not([name]) {\n display: block;\n margin-inline-end: auto;\n }\n\n slot {\n flex-shrink: 0;\n }\n`"
|
|
7094
|
+
"default": "css `\n :host {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(--u-list-item-min-height, 56px);\n padding-block: var(--u-list-item-block-padding, 8px);\n padding-inline: var(--u-list-item-inline-padding, 16px);\n gap: var(--u-list-item-gap, 16px);\n }\n\n slot:not([name]) {\n display: block;\n margin-inline-end: auto;\n }\n\n slot {\n flex-shrink: 0;\n }\n\n .content {\n flex: 1;\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-headline-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-list-item-headline-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-list-item-headline-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-list-item-headline-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-supporting-text-line-height, var(--u-body-m-line-height, 1.25rem));\n font-size: var(--u-list-item-supporting-text-font-size, var(--u-body-m-font-size, 0.875rem));\n letter-spacing: var(--u-list-item-supporting-text-letter-spacing, var(--u-body-m-letter-spacing, 0.0178571429rem));\n font-weight: var(--u-list-item-supporting-text-font-weight, var(--u-body-m-font-weight, var(--u-font-weight-regular, 400)));\n color: var(--u-list-item-supporting-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n`"
|
|
7095
7095
|
}
|
|
7096
7096
|
],
|
|
7097
7097
|
"exports": [
|
|
@@ -7169,7 +7169,7 @@
|
|
|
7169
7169
|
{
|
|
7170
7170
|
"kind": "variable",
|
|
7171
7171
|
"name": "styles",
|
|
7172
|
-
"default": "css `\n :host {\n padding-block: var(--u-list-padding, 8px);\n }\n`"
|
|
7172
|
+
"default": "css `\n :host {\n display: block;\n padding-block: var(--u-list-padding, 8px);\n }\n`"
|
|
7173
7173
|
}
|
|
7174
7174
|
],
|
|
7175
7175
|
"exports": [
|
|
@@ -9476,7 +9476,7 @@
|
|
|
9476
9476
|
{
|
|
9477
9477
|
"kind": "variable",
|
|
9478
9478
|
"name": "styles",
|
|
9479
|
-
"default": "css `\n :host {\n --_state-layer-padding: var(--u-radio-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-radio-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-radio-indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-radio-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-radio-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-radio-indicator-size, 1.25rem);\n --_width: var(--u-radio-size, 3rem);\n --_height: var(--_width);\n }\n\n .indicator {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n border: var(--u-radio-indicator-border-width, 0.125rem) solid var(--_indicator-color);\n border-radius: 50%;\n }\n .indicator::before {\n content: \"\";\n width: calc(var(--_indicator-size) / 2);\n height: calc(var(--_indicator-size) / 2);\n background: var(--_indicator-color);\n border-radius: 50%;\n transition: transform 250ms;\n transform: scale3d(0, 0, 1);\n }\n\n input:checked ~ .indicator-container .indicator::before {\n transform: scale3d(1, 1, 1);\n }\n`"
|
|
9479
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u-radio-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-radio-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n pointer-events: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-radio-indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-radio-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-radio-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-radio-indicator-size, 1.25rem);\n --_width: var(--u-radio-size, 3rem);\n --_height: var(--_width);\n }\n\n .indicator {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n border: var(--u-radio-indicator-border-width, 0.125rem) solid var(--_indicator-color);\n border-radius: 50%;\n }\n .indicator::before {\n content: \"\";\n width: calc(var(--_indicator-size) / 2);\n height: calc(var(--_indicator-size) / 2);\n background: var(--_indicator-color);\n border-radius: 50%;\n transition: transform 250ms;\n transform: scale3d(0, 0, 1);\n }\n\n input:checked ~ .indicator-container .indicator::before {\n transform: scale3d(1, 1, 1);\n }\n`"
|
|
9480
9480
|
}
|
|
9481
9481
|
],
|
|
9482
9482
|
"exports": [
|
|
@@ -9828,245 +9828,6 @@
|
|
|
9828
9828
|
}
|
|
9829
9829
|
]
|
|
9830
9830
|
},
|
|
9831
|
-
{
|
|
9832
|
-
"kind": "javascript-module",
|
|
9833
|
-
"path": "src/ripple/ripple.styles.ts",
|
|
9834
|
-
"declarations": [
|
|
9835
|
-
{
|
|
9836
|
-
"kind": "variable",
|
|
9837
|
-
"name": "styles",
|
|
9838
|
-
"default": "css `\n :host,\n .ripple-container::before {\n --_ripple-hover-color: var(--u-ripple-hover-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-pressed-color: var(--u-ripple-pressed-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-hover-opacity: var(--u-ripple-pressed-opacity, var(--u-state-hover-opacity, 0.08));\n --_ripple-pressed-opacity: var(--u-ripple-pressed-opacity, .2);\n display: block;\n inset: 0;\n isolation: isolate;\n }\n\n .ripple-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: inherit;\n }\n\n .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: 0;\n transition: opacity 200ms;\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: var(--_ripple-hover-opacity);\n }\n }\n :host,\n .ripple-container::before,\n .ripple {\n position: absolute;\n border-radius: inherit;\n }\n\n .ripple {\n top: 50%;\n left: 50%;\n background: var(--_ripple-pressed-color);\n border-radius: 50%;\n box-shadow: 0 0 64px 64px var(--_ripple-pressed-color);\n opacity: var(--_ripple-pressed-opacity);\n transform: scale3d(0, 0, 1);\n pointer-events: none;\n will-change: transform;\n }\n .ripple.show {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(750ms / var(--u-ripple-speed, 1));\n transform: scale3d(1, 1, 1);\n }\n .ripple.show-forced {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(200ms / var(--u-ripple-speed, 1)) 300ms;\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n .ripple.dismiss {\n opacity: 0;\n transform: scale3d(2, 2, 1);\n }\n\n ::slotted(*) {\n position: absolute !important;\n inset: 0;\n border-radius: inherit;\n }\n`"
|
|
9839
|
-
}
|
|
9840
|
-
],
|
|
9841
|
-
"exports": [
|
|
9842
|
-
{
|
|
9843
|
-
"kind": "js",
|
|
9844
|
-
"name": "styles",
|
|
9845
|
-
"declaration": {
|
|
9846
|
-
"name": "styles",
|
|
9847
|
-
"module": "src/ripple/ripple.styles.ts"
|
|
9848
|
-
}
|
|
9849
|
-
}
|
|
9850
|
-
]
|
|
9851
|
-
},
|
|
9852
|
-
{
|
|
9853
|
-
"kind": "javascript-module",
|
|
9854
|
-
"path": "src/ripple/ripple.ts",
|
|
9855
|
-
"declarations": [
|
|
9856
|
-
{
|
|
9857
|
-
"kind": "class",
|
|
9858
|
-
"description": "",
|
|
9859
|
-
"name": "UmRipple",
|
|
9860
|
-
"members": [
|
|
9861
|
-
{
|
|
9862
|
-
"kind": "field",
|
|
9863
|
-
"name": "isTouching",
|
|
9864
|
-
"type": {
|
|
9865
|
-
"text": "boolean"
|
|
9866
|
-
},
|
|
9867
|
-
"privacy": "private",
|
|
9868
|
-
"default": "false"
|
|
9869
|
-
},
|
|
9870
|
-
{
|
|
9871
|
-
"kind": "field",
|
|
9872
|
-
"name": "disabled",
|
|
9873
|
-
"type": {
|
|
9874
|
-
"text": "boolean"
|
|
9875
|
-
},
|
|
9876
|
-
"default": "false",
|
|
9877
|
-
"description": "Disables the ripple.",
|
|
9878
|
-
"attribute": "disabled",
|
|
9879
|
-
"reflects": true
|
|
9880
|
-
},
|
|
9881
|
-
{
|
|
9882
|
-
"kind": "field",
|
|
9883
|
-
"name": "rippleContainer",
|
|
9884
|
-
"type": {
|
|
9885
|
-
"text": "HTMLElement"
|
|
9886
|
-
},
|
|
9887
|
-
"privacy": "private"
|
|
9888
|
-
},
|
|
9889
|
-
{
|
|
9890
|
-
"kind": "method",
|
|
9891
|
-
"name": "attachEvents",
|
|
9892
|
-
"privacy": "private",
|
|
9893
|
-
"return": {
|
|
9894
|
-
"type": {
|
|
9895
|
-
"text": "void"
|
|
9896
|
-
}
|
|
9897
|
-
}
|
|
9898
|
-
},
|
|
9899
|
-
{
|
|
9900
|
-
"kind": "method",
|
|
9901
|
-
"name": "dettachEvents",
|
|
9902
|
-
"privacy": "private",
|
|
9903
|
-
"return": {
|
|
9904
|
-
"type": {
|
|
9905
|
-
"text": "void"
|
|
9906
|
-
}
|
|
9907
|
-
}
|
|
9908
|
-
},
|
|
9909
|
-
{
|
|
9910
|
-
"kind": "method",
|
|
9911
|
-
"name": "handleMouseDown",
|
|
9912
|
-
"privacy": "private",
|
|
9913
|
-
"return": {
|
|
9914
|
-
"type": {
|
|
9915
|
-
"text": "void"
|
|
9916
|
-
}
|
|
9917
|
-
},
|
|
9918
|
-
"parameters": [
|
|
9919
|
-
{
|
|
9920
|
-
"name": "e",
|
|
9921
|
-
"type": {
|
|
9922
|
-
"text": "MouseEvent"
|
|
9923
|
-
}
|
|
9924
|
-
}
|
|
9925
|
-
]
|
|
9926
|
-
},
|
|
9927
|
-
{
|
|
9928
|
-
"kind": "method",
|
|
9929
|
-
"name": "handleTouchStart",
|
|
9930
|
-
"privacy": "private",
|
|
9931
|
-
"return": {
|
|
9932
|
-
"type": {
|
|
9933
|
-
"text": "void"
|
|
9934
|
-
}
|
|
9935
|
-
},
|
|
9936
|
-
"parameters": [
|
|
9937
|
-
{
|
|
9938
|
-
"name": "e",
|
|
9939
|
-
"type": {
|
|
9940
|
-
"text": "TouchEvent"
|
|
9941
|
-
}
|
|
9942
|
-
}
|
|
9943
|
-
]
|
|
9944
|
-
},
|
|
9945
|
-
{
|
|
9946
|
-
"kind": "method",
|
|
9947
|
-
"name": "canCreateRipple",
|
|
9948
|
-
"privacy": "private",
|
|
9949
|
-
"return": {
|
|
9950
|
-
"type": {
|
|
9951
|
-
"text": "boolean"
|
|
9952
|
-
}
|
|
9953
|
-
}
|
|
9954
|
-
},
|
|
9955
|
-
{
|
|
9956
|
-
"kind": "method",
|
|
9957
|
-
"name": "createRipple",
|
|
9958
|
-
"return": {
|
|
9959
|
-
"type": {
|
|
9960
|
-
"text": "(() => void) | null"
|
|
9961
|
-
}
|
|
9962
|
-
},
|
|
9963
|
-
"parameters": [
|
|
9964
|
-
{
|
|
9965
|
-
"name": "targetX",
|
|
9966
|
-
"default": "null",
|
|
9967
|
-
"type": {
|
|
9968
|
-
"text": "number | null"
|
|
9969
|
-
}
|
|
9970
|
-
},
|
|
9971
|
-
{
|
|
9972
|
-
"name": "targetY",
|
|
9973
|
-
"default": "null",
|
|
9974
|
-
"type": {
|
|
9975
|
-
"text": "number | null"
|
|
9976
|
-
}
|
|
9977
|
-
},
|
|
9978
|
-
{
|
|
9979
|
-
"name": "releaseEventName",
|
|
9980
|
-
"default": "null",
|
|
9981
|
-
"type": {
|
|
9982
|
-
"text": "string | null"
|
|
9983
|
-
}
|
|
9984
|
-
}
|
|
9985
|
-
]
|
|
9986
|
-
},
|
|
9987
|
-
{
|
|
9988
|
-
"kind": "method",
|
|
9989
|
-
"name": "createDismissEvent",
|
|
9990
|
-
"privacy": "private",
|
|
9991
|
-
"return": {
|
|
9992
|
-
"type": {
|
|
9993
|
-
"text": "() => void"
|
|
9994
|
-
}
|
|
9995
|
-
},
|
|
9996
|
-
"parameters": [
|
|
9997
|
-
{
|
|
9998
|
-
"name": "ripple",
|
|
9999
|
-
"type": {
|
|
10000
|
-
"text": "HTMLElement"
|
|
10001
|
-
}
|
|
10002
|
-
},
|
|
10003
|
-
{
|
|
10004
|
-
"name": "releaseEventName",
|
|
10005
|
-
"type": {
|
|
10006
|
-
"text": "string"
|
|
10007
|
-
}
|
|
10008
|
-
}
|
|
10009
|
-
]
|
|
10010
|
-
},
|
|
10011
|
-
{
|
|
10012
|
-
"kind": "method",
|
|
10013
|
-
"name": "_setElementSquareSizeAndCenter",
|
|
10014
|
-
"privacy": "private",
|
|
10015
|
-
"static": true,
|
|
10016
|
-
"parameters": [
|
|
10017
|
-
{
|
|
10018
|
-
"name": "element",
|
|
10019
|
-
"type": {
|
|
10020
|
-
"text": "HTMLElement"
|
|
10021
|
-
}
|
|
10022
|
-
},
|
|
10023
|
-
{
|
|
10024
|
-
"name": "size",
|
|
10025
|
-
"type": {
|
|
10026
|
-
"text": "number"
|
|
10027
|
-
}
|
|
10028
|
-
}
|
|
10029
|
-
]
|
|
10030
|
-
}
|
|
10031
|
-
],
|
|
10032
|
-
"attributes": [
|
|
10033
|
-
{
|
|
10034
|
-
"name": "disabled",
|
|
10035
|
-
"type": {
|
|
10036
|
-
"text": "boolean"
|
|
10037
|
-
},
|
|
10038
|
-
"default": "false",
|
|
10039
|
-
"description": "Disables the ripple.",
|
|
10040
|
-
"fieldName": "disabled"
|
|
10041
|
-
}
|
|
10042
|
-
],
|
|
10043
|
-
"superclass": {
|
|
10044
|
-
"name": "LitElement",
|
|
10045
|
-
"package": "lit"
|
|
10046
|
-
},
|
|
10047
|
-
"tagName": "u-ripple",
|
|
10048
|
-
"customElement": true
|
|
10049
|
-
}
|
|
10050
|
-
],
|
|
10051
|
-
"exports": [
|
|
10052
|
-
{
|
|
10053
|
-
"kind": "js",
|
|
10054
|
-
"name": "UmRipple",
|
|
10055
|
-
"declaration": {
|
|
10056
|
-
"name": "UmRipple",
|
|
10057
|
-
"module": "src/ripple/ripple.ts"
|
|
10058
|
-
}
|
|
10059
|
-
},
|
|
10060
|
-
{
|
|
10061
|
-
"kind": "custom-element-definition",
|
|
10062
|
-
"name": "u-ripple",
|
|
10063
|
-
"declaration": {
|
|
10064
|
-
"name": "UmRipple",
|
|
10065
|
-
"module": "src/ripple/ripple.ts"
|
|
10066
|
-
}
|
|
10067
|
-
}
|
|
10068
|
-
]
|
|
10069
|
-
},
|
|
10070
9831
|
{
|
|
10071
9832
|
"kind": "javascript-module",
|
|
10072
9833
|
"path": "src/select/extended-option.ts",
|
|
@@ -11794,12 +11555,12 @@
|
|
|
11794
11555
|
},
|
|
11795
11556
|
{
|
|
11796
11557
|
"kind": "javascript-module",
|
|
11797
|
-
"path": "src/
|
|
11558
|
+
"path": "src/ripple/ripple.styles.ts",
|
|
11798
11559
|
"declarations": [
|
|
11799
11560
|
{
|
|
11800
11561
|
"kind": "variable",
|
|
11801
11562
|
"name": "styles",
|
|
11802
|
-
"default": "css `\n :host,\n
|
|
11563
|
+
"default": "css `\n :host,\n .ripple-container::before {\n --_ripple-hover-color: var(--u-ripple-hover-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-pressed-color: var(--u-ripple-pressed-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-hover-opacity: var(--u-ripple-pressed-opacity, var(--u-state-hover-opacity, 0.08));\n --_ripple-pressed-opacity: var(--u-ripple-pressed-opacity, .2);\n display: block;\n inset: 0;\n isolation: isolate;\n }\n\n .ripple-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: inherit;\n }\n\n .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: 0;\n transition: opacity 200ms;\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: var(--_ripple-hover-opacity);\n }\n }\n :host,\n .ripple-container::before,\n .ripple {\n position: absolute;\n border-radius: inherit;\n }\n\n .ripple {\n top: 50%;\n left: 50%;\n background: var(--_ripple-pressed-color);\n border-radius: 50%;\n box-shadow: 0 0 64px 64px var(--_ripple-pressed-color);\n opacity: var(--_ripple-pressed-opacity);\n transform: scale3d(0, 0, 1);\n pointer-events: none;\n will-change: transform;\n }\n .ripple.show {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(750ms / var(--u-ripple-speed, 1));\n transform: scale3d(1, 1, 1);\n }\n .ripple.show-forced {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(200ms / var(--u-ripple-speed, 1)) 300ms;\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n .ripple.dismiss {\n opacity: 0;\n transform: scale3d(2, 2, 1);\n }\n\n ::slotted(*) {\n position: absolute !important;\n inset: 0;\n border-radius: inherit;\n }\n`"
|
|
11803
11564
|
}
|
|
11804
11565
|
],
|
|
11805
11566
|
"exports": [
|
|
@@ -11808,196 +11569,186 @@
|
|
|
11808
11569
|
"name": "styles",
|
|
11809
11570
|
"declaration": {
|
|
11810
11571
|
"name": "styles",
|
|
11811
|
-
"module": "src/
|
|
11572
|
+
"module": "src/ripple/ripple.styles.ts"
|
|
11812
11573
|
}
|
|
11813
11574
|
}
|
|
11814
11575
|
]
|
|
11815
11576
|
},
|
|
11816
11577
|
{
|
|
11817
11578
|
"kind": "javascript-module",
|
|
11818
|
-
"path": "src/
|
|
11819
|
-
"declarations": [
|
|
11820
|
-
{
|
|
11821
|
-
"kind": "variable",
|
|
11822
|
-
"name": "styles",
|
|
11823
|
-
"default": "css `\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-bg-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n`"
|
|
11824
|
-
}
|
|
11825
|
-
],
|
|
11826
|
-
"exports": [
|
|
11827
|
-
{
|
|
11828
|
-
"kind": "js",
|
|
11829
|
-
"name": "styles",
|
|
11830
|
-
"declaration": {
|
|
11831
|
-
"name": "styles",
|
|
11832
|
-
"module": "src/shared/button-wrapper.styles.ts"
|
|
11833
|
-
}
|
|
11834
|
-
}
|
|
11835
|
-
]
|
|
11836
|
-
},
|
|
11837
|
-
{
|
|
11838
|
-
"kind": "javascript-module",
|
|
11839
|
-
"path": "src/shared/button-wrapper.ts",
|
|
11579
|
+
"path": "src/ripple/ripple.ts",
|
|
11840
11580
|
"declarations": [
|
|
11841
11581
|
{
|
|
11842
11582
|
"kind": "class",
|
|
11843
11583
|
"description": "",
|
|
11844
|
-
"name": "
|
|
11584
|
+
"name": "UmRipple",
|
|
11845
11585
|
"members": [
|
|
11846
11586
|
{
|
|
11847
11587
|
"kind": "field",
|
|
11848
|
-
"name": "
|
|
11588
|
+
"name": "isTouching",
|
|
11849
11589
|
"type": {
|
|
11850
11590
|
"text": "boolean"
|
|
11851
11591
|
},
|
|
11852
|
-
"
|
|
11853
|
-
"
|
|
11854
|
-
"attribute": "disabled",
|
|
11855
|
-
"reflects": true
|
|
11592
|
+
"privacy": "private",
|
|
11593
|
+
"default": "false"
|
|
11856
11594
|
},
|
|
11857
11595
|
{
|
|
11858
11596
|
"kind": "field",
|
|
11859
|
-
"name": "
|
|
11597
|
+
"name": "disabled",
|
|
11860
11598
|
"type": {
|
|
11861
11599
|
"text": "boolean"
|
|
11862
11600
|
},
|
|
11863
|
-
"default": "
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
"
|
|
11867
|
-
"name": "href",
|
|
11868
|
-
"type": {
|
|
11869
|
-
"text": "string | undefined"
|
|
11870
|
-
},
|
|
11871
|
-
"description": "The URL that the link button points to.",
|
|
11872
|
-
"attribute": "href"
|
|
11873
|
-
},
|
|
11874
|
-
{
|
|
11875
|
-
"kind": "field",
|
|
11876
|
-
"name": "target",
|
|
11877
|
-
"type": {
|
|
11878
|
-
"text": "string | undefined"
|
|
11879
|
-
},
|
|
11880
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
11881
|
-
"attribute": "target"
|
|
11882
|
-
},
|
|
11883
|
-
{
|
|
11884
|
-
"kind": "field",
|
|
11885
|
-
"name": "name",
|
|
11886
|
-
"type": {
|
|
11887
|
-
"text": "string | undefined"
|
|
11888
|
-
},
|
|
11889
|
-
"attribute": "name"
|
|
11601
|
+
"default": "false",
|
|
11602
|
+
"description": "Disables the ripple.",
|
|
11603
|
+
"attribute": "disabled",
|
|
11604
|
+
"reflects": true
|
|
11890
11605
|
},
|
|
11891
11606
|
{
|
|
11892
11607
|
"kind": "field",
|
|
11893
|
-
"name": "
|
|
11608
|
+
"name": "rippleContainer",
|
|
11894
11609
|
"type": {
|
|
11895
11610
|
"text": "HTMLElement"
|
|
11896
|
-
}
|
|
11897
|
-
},
|
|
11898
|
-
{
|
|
11899
|
-
"kind": "field",
|
|
11900
|
-
"name": "ripple",
|
|
11901
|
-
"type": {
|
|
11902
|
-
"text": "UmRipple"
|
|
11903
11611
|
},
|
|
11904
11612
|
"privacy": "private"
|
|
11905
11613
|
},
|
|
11906
|
-
{
|
|
11907
|
-
"kind": "field",
|
|
11908
|
-
"name": "innerRole",
|
|
11909
|
-
"type": {
|
|
11910
|
-
"text": "string | null"
|
|
11911
|
-
},
|
|
11912
|
-
"privacy": "protected",
|
|
11913
|
-
"default": "null"
|
|
11914
|
-
},
|
|
11915
|
-
{
|
|
11916
|
-
"kind": "field",
|
|
11917
|
-
"name": "pathname",
|
|
11918
|
-
"type": {
|
|
11919
|
-
"text": "string"
|
|
11920
|
-
}
|
|
11921
|
-
},
|
|
11922
11614
|
{
|
|
11923
11615
|
"kind": "method",
|
|
11924
|
-
"name": "
|
|
11925
|
-
"privacy": "private"
|
|
11926
|
-
},
|
|
11927
|
-
{
|
|
11928
|
-
"kind": "method",
|
|
11929
|
-
"name": "renderLink",
|
|
11930
|
-
"privacy": "private"
|
|
11931
|
-
},
|
|
11932
|
-
{
|
|
11933
|
-
"kind": "method",
|
|
11934
|
-
"name": "renderContent",
|
|
11935
|
-
"privacy": "protected",
|
|
11616
|
+
"name": "attachEvents",
|
|
11617
|
+
"privacy": "private",
|
|
11936
11618
|
"return": {
|
|
11937
11619
|
"type": {
|
|
11938
|
-
"text": "
|
|
11620
|
+
"text": "void"
|
|
11939
11621
|
}
|
|
11940
11622
|
}
|
|
11941
11623
|
},
|
|
11942
11624
|
{
|
|
11943
11625
|
"kind": "method",
|
|
11944
|
-
"name": "
|
|
11626
|
+
"name": "dettachEvents",
|
|
11627
|
+
"privacy": "private",
|
|
11628
|
+
"return": {
|
|
11629
|
+
"type": {
|
|
11630
|
+
"text": "void"
|
|
11631
|
+
}
|
|
11632
|
+
}
|
|
11945
11633
|
},
|
|
11946
11634
|
{
|
|
11947
11635
|
"kind": "method",
|
|
11948
|
-
"name": "
|
|
11636
|
+
"name": "handleMouseDown",
|
|
11637
|
+
"privacy": "private",
|
|
11638
|
+
"return": {
|
|
11639
|
+
"type": {
|
|
11640
|
+
"text": "void"
|
|
11641
|
+
}
|
|
11642
|
+
},
|
|
11643
|
+
"parameters": [
|
|
11644
|
+
{
|
|
11645
|
+
"name": "e",
|
|
11646
|
+
"type": {
|
|
11647
|
+
"text": "MouseEvent"
|
|
11648
|
+
}
|
|
11649
|
+
}
|
|
11650
|
+
]
|
|
11949
11651
|
},
|
|
11950
11652
|
{
|
|
11951
11653
|
"kind": "method",
|
|
11952
|
-
"name": "
|
|
11953
|
-
"privacy": "
|
|
11654
|
+
"name": "handleTouchStart",
|
|
11655
|
+
"privacy": "private",
|
|
11954
11656
|
"return": {
|
|
11955
11657
|
"type": {
|
|
11956
|
-
"text": "
|
|
11658
|
+
"text": "void"
|
|
11957
11659
|
}
|
|
11958
|
-
}
|
|
11660
|
+
},
|
|
11661
|
+
"parameters": [
|
|
11662
|
+
{
|
|
11663
|
+
"name": "e",
|
|
11664
|
+
"type": {
|
|
11665
|
+
"text": "TouchEvent"
|
|
11666
|
+
}
|
|
11667
|
+
}
|
|
11668
|
+
]
|
|
11959
11669
|
},
|
|
11960
11670
|
{
|
|
11961
11671
|
"kind": "method",
|
|
11962
|
-
"name": "
|
|
11672
|
+
"name": "canCreateRipple",
|
|
11963
11673
|
"privacy": "private",
|
|
11964
11674
|
"return": {
|
|
11965
11675
|
"type": {
|
|
11966
|
-
"text": "
|
|
11676
|
+
"text": "boolean"
|
|
11967
11677
|
}
|
|
11968
11678
|
}
|
|
11969
11679
|
},
|
|
11970
11680
|
{
|
|
11971
11681
|
"kind": "method",
|
|
11972
|
-
"name": "
|
|
11682
|
+
"name": "createRipple",
|
|
11973
11683
|
"return": {
|
|
11974
11684
|
"type": {
|
|
11975
|
-
"text": "void"
|
|
11685
|
+
"text": "(() => void) | null"
|
|
11976
11686
|
}
|
|
11977
11687
|
},
|
|
11978
11688
|
"parameters": [
|
|
11979
11689
|
{
|
|
11980
|
-
"name": "
|
|
11690
|
+
"name": "targetX",
|
|
11691
|
+
"default": "null",
|
|
11981
11692
|
"type": {
|
|
11982
|
-
"text": "
|
|
11693
|
+
"text": "number | null"
|
|
11694
|
+
}
|
|
11695
|
+
},
|
|
11696
|
+
{
|
|
11697
|
+
"name": "targetY",
|
|
11698
|
+
"default": "null",
|
|
11699
|
+
"type": {
|
|
11700
|
+
"text": "number | null"
|
|
11701
|
+
}
|
|
11702
|
+
},
|
|
11703
|
+
{
|
|
11704
|
+
"name": "releaseEventName",
|
|
11705
|
+
"default": "null",
|
|
11706
|
+
"type": {
|
|
11707
|
+
"text": "string | null"
|
|
11983
11708
|
}
|
|
11984
11709
|
}
|
|
11985
11710
|
]
|
|
11986
11711
|
},
|
|
11987
11712
|
{
|
|
11988
11713
|
"kind": "method",
|
|
11989
|
-
"name": "
|
|
11990
|
-
"privacy": "
|
|
11714
|
+
"name": "createDismissEvent",
|
|
11715
|
+
"privacy": "private",
|
|
11991
11716
|
"return": {
|
|
11992
11717
|
"type": {
|
|
11993
|
-
"text": "void"
|
|
11718
|
+
"text": "() => void"
|
|
11994
11719
|
}
|
|
11995
11720
|
},
|
|
11996
11721
|
"parameters": [
|
|
11997
11722
|
{
|
|
11998
|
-
"name": "
|
|
11723
|
+
"name": "ripple",
|
|
11999
11724
|
"type": {
|
|
12000
|
-
"text": "
|
|
11725
|
+
"text": "HTMLElement"
|
|
11726
|
+
}
|
|
11727
|
+
},
|
|
11728
|
+
{
|
|
11729
|
+
"name": "releaseEventName",
|
|
11730
|
+
"type": {
|
|
11731
|
+
"text": "string"
|
|
11732
|
+
}
|
|
11733
|
+
}
|
|
11734
|
+
]
|
|
11735
|
+
},
|
|
11736
|
+
{
|
|
11737
|
+
"kind": "method",
|
|
11738
|
+
"name": "_setElementSquareSizeAndCenter",
|
|
11739
|
+
"privacy": "private",
|
|
11740
|
+
"static": true,
|
|
11741
|
+
"parameters": [
|
|
11742
|
+
{
|
|
11743
|
+
"name": "element",
|
|
11744
|
+
"type": {
|
|
11745
|
+
"text": "HTMLElement"
|
|
11746
|
+
}
|
|
11747
|
+
},
|
|
11748
|
+
{
|
|
11749
|
+
"name": "size",
|
|
11750
|
+
"type": {
|
|
11751
|
+
"text": "number"
|
|
12001
11752
|
}
|
|
12002
11753
|
}
|
|
12003
11754
|
]
|
|
@@ -12010,137 +11761,335 @@
|
|
|
12010
11761
|
"text": "boolean"
|
|
12011
11762
|
},
|
|
12012
11763
|
"default": "false",
|
|
12013
|
-
"description": "
|
|
11764
|
+
"description": "Disables the ripple.",
|
|
12014
11765
|
"fieldName": "disabled"
|
|
12015
|
-
},
|
|
12016
|
-
{
|
|
12017
|
-
"name": "href",
|
|
12018
|
-
"type": {
|
|
12019
|
-
"text": "string | undefined"
|
|
12020
|
-
},
|
|
12021
|
-
"description": "The URL that the link button points to.",
|
|
12022
|
-
"fieldName": "href"
|
|
12023
|
-
},
|
|
12024
|
-
{
|
|
12025
|
-
"name": "target",
|
|
12026
|
-
"type": {
|
|
12027
|
-
"text": "string | undefined"
|
|
12028
|
-
},
|
|
12029
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
12030
|
-
"fieldName": "target"
|
|
12031
|
-
},
|
|
12032
|
-
{
|
|
12033
|
-
"name": "name",
|
|
12034
|
-
"type": {
|
|
12035
|
-
"text": "string | undefined"
|
|
12036
|
-
},
|
|
12037
|
-
"fieldName": "name"
|
|
12038
11766
|
}
|
|
12039
11767
|
],
|
|
12040
11768
|
"superclass": {
|
|
12041
11769
|
"name": "LitElement",
|
|
12042
11770
|
"package": "lit"
|
|
12043
11771
|
},
|
|
11772
|
+
"tagName": "u-ripple",
|
|
12044
11773
|
"customElement": true
|
|
12045
11774
|
}
|
|
12046
11775
|
],
|
|
12047
11776
|
"exports": [
|
|
12048
11777
|
{
|
|
12049
11778
|
"kind": "js",
|
|
12050
|
-
"name": "
|
|
11779
|
+
"name": "UmRipple",
|
|
12051
11780
|
"declaration": {
|
|
12052
|
-
"name": "
|
|
12053
|
-
"module": "src/
|
|
11781
|
+
"name": "UmRipple",
|
|
11782
|
+
"module": "src/ripple/ripple.ts"
|
|
11783
|
+
}
|
|
11784
|
+
},
|
|
11785
|
+
{
|
|
11786
|
+
"kind": "custom-element-definition",
|
|
11787
|
+
"name": "u-ripple",
|
|
11788
|
+
"declaration": {
|
|
11789
|
+
"name": "UmRipple",
|
|
11790
|
+
"module": "src/ripple/ripple.ts"
|
|
12054
11791
|
}
|
|
12055
11792
|
}
|
|
12056
11793
|
]
|
|
12057
11794
|
},
|
|
12058
11795
|
{
|
|
12059
11796
|
"kind": "javascript-module",
|
|
12060
|
-
"path": "src/
|
|
11797
|
+
"path": "src/switch/switch-list-item.ts",
|
|
12061
11798
|
"declarations": [
|
|
12062
11799
|
{
|
|
12063
|
-
"kind": "
|
|
12064
|
-
"
|
|
12065
|
-
"
|
|
12066
|
-
|
|
12067
|
-
"text": "boolean"
|
|
12068
|
-
}
|
|
12069
|
-
},
|
|
12070
|
-
"parameters": [
|
|
11800
|
+
"kind": "class",
|
|
11801
|
+
"description": "",
|
|
11802
|
+
"name": "UmSwitchListItem",
|
|
11803
|
+
"mixins": [
|
|
12071
11804
|
{
|
|
12072
|
-
"name": "
|
|
12073
|
-
"
|
|
12074
|
-
|
|
11805
|
+
"name": "mixinSelectionControlListItem",
|
|
11806
|
+
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
11807
|
+
}
|
|
11808
|
+
],
|
|
11809
|
+
"superclass": {
|
|
11810
|
+
"name": "UmSwitch",
|
|
11811
|
+
"module": "/src/switch/switch.js"
|
|
11812
|
+
},
|
|
11813
|
+
"tagName": "u-switch-list-item",
|
|
11814
|
+
"customElement": true,
|
|
11815
|
+
"members": [
|
|
11816
|
+
{
|
|
11817
|
+
"kind": "field",
|
|
11818
|
+
"name": "styles",
|
|
11819
|
+
"type": {
|
|
11820
|
+
"text": "array"
|
|
11821
|
+
},
|
|
11822
|
+
"static": true,
|
|
11823
|
+
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
|
|
11824
|
+
"inheritedFrom": {
|
|
11825
|
+
"name": "mixinSelectionControlListItem",
|
|
11826
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
12075
11827
|
}
|
|
12076
11828
|
},
|
|
12077
11829
|
{
|
|
12078
|
-
"
|
|
11830
|
+
"kind": "method",
|
|
11831
|
+
"name": "render",
|
|
11832
|
+
"return": {
|
|
11833
|
+
"type": {
|
|
11834
|
+
"text": "HTMLTemplateResult"
|
|
11835
|
+
}
|
|
11836
|
+
},
|
|
11837
|
+
"inheritedFrom": {
|
|
11838
|
+
"name": "mixinSelectionControlListItem",
|
|
11839
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
11840
|
+
}
|
|
11841
|
+
},
|
|
11842
|
+
{
|
|
11843
|
+
"kind": "field",
|
|
11844
|
+
"name": "renderRipple",
|
|
12079
11845
|
"type": {
|
|
12080
|
-
"text": "
|
|
11846
|
+
"text": "boolean"
|
|
11847
|
+
},
|
|
11848
|
+
"privacy": "protected",
|
|
11849
|
+
"default": "false",
|
|
11850
|
+
"inheritedFrom": {
|
|
11851
|
+
"name": "UmSelectionControl",
|
|
11852
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11853
|
+
}
|
|
11854
|
+
},
|
|
11855
|
+
{
|
|
11856
|
+
"kind": "method",
|
|
11857
|
+
"name": "renderIndicator",
|
|
11858
|
+
"privacy": "protected",
|
|
11859
|
+
"return": {
|
|
11860
|
+
"type": {
|
|
11861
|
+
"text": "HTMLTemplateResult"
|
|
11862
|
+
}
|
|
11863
|
+
},
|
|
11864
|
+
"inheritedFrom": {
|
|
11865
|
+
"name": "UmSelectionControl",
|
|
11866
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11867
|
+
}
|
|
11868
|
+
},
|
|
11869
|
+
{
|
|
11870
|
+
"kind": "field",
|
|
11871
|
+
"name": "formAssociated",
|
|
11872
|
+
"type": {
|
|
11873
|
+
"text": "boolean"
|
|
11874
|
+
},
|
|
11875
|
+
"static": true,
|
|
11876
|
+
"default": "true",
|
|
11877
|
+
"inheritedFrom": {
|
|
11878
|
+
"name": "UmSelectionControl",
|
|
11879
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11880
|
+
}
|
|
11881
|
+
},
|
|
11882
|
+
{
|
|
11883
|
+
"kind": "field",
|
|
11884
|
+
"name": "elementInternals",
|
|
11885
|
+
"type": {
|
|
11886
|
+
"text": "ElementInternals"
|
|
11887
|
+
},
|
|
11888
|
+
"privacy": "protected",
|
|
11889
|
+
"inheritedFrom": {
|
|
11890
|
+
"name": "UmSelectionControl",
|
|
11891
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11892
|
+
}
|
|
11893
|
+
},
|
|
11894
|
+
{
|
|
11895
|
+
"kind": "field",
|
|
11896
|
+
"name": "name",
|
|
11897
|
+
"type": {
|
|
11898
|
+
"text": "string | undefined"
|
|
11899
|
+
},
|
|
11900
|
+
"default": "''",
|
|
11901
|
+
"attribute": "name",
|
|
11902
|
+
"inheritedFrom": {
|
|
11903
|
+
"name": "UmSelectionControl",
|
|
11904
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11905
|
+
}
|
|
11906
|
+
},
|
|
11907
|
+
{
|
|
11908
|
+
"kind": "field",
|
|
11909
|
+
"name": "disabled",
|
|
11910
|
+
"type": {
|
|
11911
|
+
"text": "boolean"
|
|
11912
|
+
},
|
|
11913
|
+
"default": "false",
|
|
11914
|
+
"attribute": "disabled",
|
|
11915
|
+
"reflects": true,
|
|
11916
|
+
"inheritedFrom": {
|
|
11917
|
+
"name": "UmSelectionControl",
|
|
11918
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11919
|
+
}
|
|
11920
|
+
},
|
|
11921
|
+
{
|
|
11922
|
+
"kind": "field",
|
|
11923
|
+
"name": "input",
|
|
11924
|
+
"type": {
|
|
11925
|
+
"text": "HTMLInputElement"
|
|
11926
|
+
},
|
|
11927
|
+
"inheritedFrom": {
|
|
11928
|
+
"name": "UmSelectionControl",
|
|
11929
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11930
|
+
}
|
|
11931
|
+
},
|
|
11932
|
+
{
|
|
11933
|
+
"kind": "field",
|
|
11934
|
+
"name": "form",
|
|
11935
|
+
"type": {
|
|
11936
|
+
"text": "HTMLFormElement | null"
|
|
11937
|
+
},
|
|
11938
|
+
"inheritedFrom": {
|
|
11939
|
+
"name": "UmSelectionControl",
|
|
11940
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11941
|
+
}
|
|
11942
|
+
},
|
|
11943
|
+
{
|
|
11944
|
+
"kind": "field",
|
|
11945
|
+
"name": "#checked",
|
|
11946
|
+
"privacy": "private",
|
|
11947
|
+
"type": {
|
|
11948
|
+
"text": "boolean"
|
|
11949
|
+
},
|
|
11950
|
+
"default": "false",
|
|
11951
|
+
"inheritedFrom": {
|
|
11952
|
+
"name": "UmSelectionControl",
|
|
11953
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11954
|
+
}
|
|
11955
|
+
},
|
|
11956
|
+
{
|
|
11957
|
+
"kind": "field",
|
|
11958
|
+
"name": "inputType",
|
|
11959
|
+
"type": {
|
|
11960
|
+
"text": "'checkbox' | 'radio'"
|
|
11961
|
+
},
|
|
11962
|
+
"privacy": "protected",
|
|
11963
|
+
"default": "'checkbox'",
|
|
11964
|
+
"inheritedFrom": {
|
|
11965
|
+
"name": "UmSelectionControl",
|
|
11966
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11967
|
+
}
|
|
11968
|
+
},
|
|
11969
|
+
{
|
|
11970
|
+
"kind": "field",
|
|
11971
|
+
"name": "value",
|
|
11972
|
+
"type": {
|
|
11973
|
+
"text": "string"
|
|
11974
|
+
},
|
|
11975
|
+
"default": "'on'",
|
|
11976
|
+
"description": "The element value to use in form submission when checked.",
|
|
11977
|
+
"attribute": "value",
|
|
11978
|
+
"inheritedFrom": {
|
|
11979
|
+
"name": "UmSelectionControl",
|
|
11980
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11981
|
+
}
|
|
11982
|
+
},
|
|
11983
|
+
{
|
|
11984
|
+
"kind": "field",
|
|
11985
|
+
"name": "checked",
|
|
11986
|
+
"attribute": "checked",
|
|
11987
|
+
"inheritedFrom": {
|
|
11988
|
+
"name": "UmSelectionControl",
|
|
11989
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
11990
|
+
}
|
|
11991
|
+
},
|
|
11992
|
+
{
|
|
11993
|
+
"kind": "field",
|
|
11994
|
+
"name": "_checkedAttribute",
|
|
11995
|
+
"type": {
|
|
11996
|
+
"text": "boolean"
|
|
11997
|
+
},
|
|
11998
|
+
"privacy": "private",
|
|
11999
|
+
"default": "false",
|
|
12000
|
+
"attribute": "checked",
|
|
12001
|
+
"inheritedFrom": {
|
|
12002
|
+
"name": "UmSelectionControl",
|
|
12003
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12004
|
+
}
|
|
12005
|
+
},
|
|
12006
|
+
{
|
|
12007
|
+
"kind": "method",
|
|
12008
|
+
"name": "#handleClick",
|
|
12009
|
+
"parameters": [
|
|
12010
|
+
{
|
|
12011
|
+
"name": "e",
|
|
12012
|
+
"type": {
|
|
12013
|
+
"text": "Event"
|
|
12014
|
+
}
|
|
12015
|
+
}
|
|
12016
|
+
],
|
|
12017
|
+
"inheritedFrom": {
|
|
12018
|
+
"name": "UmSelectionControl",
|
|
12019
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12081
12020
|
}
|
|
12082
12021
|
}
|
|
12083
|
-
]
|
|
12084
|
-
|
|
12085
|
-
],
|
|
12086
|
-
"exports": [
|
|
12087
|
-
{
|
|
12088
|
-
"kind": "js",
|
|
12089
|
-
"name": "normalizedStartsWith",
|
|
12090
|
-
"declaration": {
|
|
12091
|
-
"name": "normalizedStartsWith",
|
|
12092
|
-
"module": "src/shared/compare-text.ts"
|
|
12093
|
-
}
|
|
12094
|
-
}
|
|
12095
|
-
]
|
|
12096
|
-
},
|
|
12097
|
-
{
|
|
12098
|
-
"kind": "javascript-module",
|
|
12099
|
-
"path": "src/shared/extract-template-html.ts",
|
|
12100
|
-
"declarations": [
|
|
12101
|
-
{
|
|
12102
|
-
"kind": "function",
|
|
12103
|
-
"name": "extractTemplateHtml",
|
|
12104
|
-
"parameters": [
|
|
12022
|
+
],
|
|
12023
|
+
"attributes": [
|
|
12105
12024
|
{
|
|
12106
|
-
"name": "
|
|
12025
|
+
"name": "name",
|
|
12107
12026
|
"type": {
|
|
12108
|
-
"text": "
|
|
12027
|
+
"text": "string | undefined"
|
|
12028
|
+
},
|
|
12029
|
+
"default": "''",
|
|
12030
|
+
"fieldName": "name",
|
|
12031
|
+
"inheritedFrom": {
|
|
12032
|
+
"name": "UmSelectionControl",
|
|
12033
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12034
|
+
}
|
|
12035
|
+
},
|
|
12036
|
+
{
|
|
12037
|
+
"name": "disabled",
|
|
12038
|
+
"type": {
|
|
12039
|
+
"text": "boolean"
|
|
12040
|
+
},
|
|
12041
|
+
"default": "false",
|
|
12042
|
+
"fieldName": "disabled",
|
|
12043
|
+
"inheritedFrom": {
|
|
12044
|
+
"name": "UmSelectionControl",
|
|
12045
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12046
|
+
}
|
|
12047
|
+
},
|
|
12048
|
+
{
|
|
12049
|
+
"name": "value",
|
|
12050
|
+
"type": {
|
|
12051
|
+
"text": "string"
|
|
12052
|
+
},
|
|
12053
|
+
"default": "'on'",
|
|
12054
|
+
"description": "The element value to use in form submission when checked.",
|
|
12055
|
+
"fieldName": "value",
|
|
12056
|
+
"inheritedFrom": {
|
|
12057
|
+
"name": "UmSelectionControl",
|
|
12058
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12059
|
+
}
|
|
12060
|
+
},
|
|
12061
|
+
{
|
|
12062
|
+
"name": "checked",
|
|
12063
|
+
"fieldName": "_checkedAttribute",
|
|
12064
|
+
"type": {
|
|
12065
|
+
"text": "boolean"
|
|
12066
|
+
},
|
|
12067
|
+
"default": "false",
|
|
12068
|
+
"inheritedFrom": {
|
|
12069
|
+
"name": "UmSelectionControl",
|
|
12070
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12109
12071
|
}
|
|
12110
12072
|
}
|
|
12111
|
-
]
|
|
12112
|
-
|
|
12113
|
-
],
|
|
12114
|
-
"exports": [
|
|
12115
|
-
{
|
|
12116
|
-
"kind": "js",
|
|
12117
|
-
"name": "extractTemplateHtml",
|
|
12118
|
-
"declaration": {
|
|
12119
|
-
"name": "extractTemplateHtml",
|
|
12120
|
-
"module": "src/shared/extract-template-html.ts"
|
|
12121
|
-
}
|
|
12122
|
-
}
|
|
12123
|
-
]
|
|
12124
|
-
},
|
|
12125
|
-
{
|
|
12126
|
-
"kind": "javascript-module",
|
|
12127
|
-
"path": "src/shared/mixin-attribute-properties.ts",
|
|
12128
|
-
"declarations": [
|
|
12129
|
-
{
|
|
12130
|
-
"kind": "mixin",
|
|
12131
|
-
"description": "",
|
|
12132
|
-
"name": "mixinAttributeProperties",
|
|
12133
|
-
"parameters": [
|
|
12073
|
+
],
|
|
12074
|
+
"events": [
|
|
12134
12075
|
{
|
|
12135
|
-
"name": "
|
|
12076
|
+
"name": "input",
|
|
12136
12077
|
"type": {
|
|
12137
|
-
"text": "
|
|
12078
|
+
"text": "InputEvent"
|
|
12079
|
+
},
|
|
12080
|
+
"inheritedFrom": {
|
|
12081
|
+
"name": "UmSelectionControl",
|
|
12082
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12138
12083
|
}
|
|
12139
12084
|
},
|
|
12140
12085
|
{
|
|
12141
|
-
"name": "
|
|
12086
|
+
"name": "change",
|
|
12142
12087
|
"type": {
|
|
12143
|
-
"text": "
|
|
12088
|
+
"text": "Event"
|
|
12089
|
+
},
|
|
12090
|
+
"inheritedFrom": {
|
|
12091
|
+
"name": "UmSelectionControl",
|
|
12092
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12144
12093
|
}
|
|
12145
12094
|
}
|
|
12146
12095
|
]
|
|
@@ -12149,61 +12098,30 @@
|
|
|
12149
12098
|
"exports": [
|
|
12150
12099
|
{
|
|
12151
12100
|
"kind": "js",
|
|
12152
|
-
"name": "
|
|
12101
|
+
"name": "UmSwitchListItem",
|
|
12153
12102
|
"declaration": {
|
|
12154
|
-
"name": "
|
|
12155
|
-
"module": "src/
|
|
12103
|
+
"name": "UmSwitchListItem",
|
|
12104
|
+
"module": "src/switch/switch-list-item.ts"
|
|
12156
12105
|
}
|
|
12157
|
-
}
|
|
12158
|
-
]
|
|
12159
|
-
},
|
|
12160
|
-
{
|
|
12161
|
-
"kind": "javascript-module",
|
|
12162
|
-
"path": "src/shared/mixin.ts",
|
|
12163
|
-
"declarations": [],
|
|
12164
|
-
"exports": []
|
|
12165
|
-
},
|
|
12166
|
-
{
|
|
12167
|
-
"kind": "javascript-module",
|
|
12168
|
-
"path": "src/shared/normalize-text.ts",
|
|
12169
|
-
"declarations": [
|
|
12170
|
-
{
|
|
12171
|
-
"kind": "function",
|
|
12172
|
-
"name": "normalizeText",
|
|
12173
|
-
"return": {
|
|
12174
|
-
"type": {
|
|
12175
|
-
"text": "string"
|
|
12176
|
-
}
|
|
12177
|
-
},
|
|
12178
|
-
"parameters": [
|
|
12179
|
-
{
|
|
12180
|
-
"name": "text",
|
|
12181
|
-
"type": {
|
|
12182
|
-
"text": "string | null"
|
|
12183
|
-
}
|
|
12184
|
-
}
|
|
12185
|
-
]
|
|
12186
|
-
}
|
|
12187
|
-
],
|
|
12188
|
-
"exports": [
|
|
12106
|
+
},
|
|
12189
12107
|
{
|
|
12190
|
-
"kind": "
|
|
12191
|
-
"name": "
|
|
12108
|
+
"kind": "custom-element-definition",
|
|
12109
|
+
"name": "u-switch-list-item",
|
|
12192
12110
|
"declaration": {
|
|
12193
|
-
"name": "
|
|
12194
|
-
"module": "src/
|
|
12111
|
+
"name": "UmSwitchListItem",
|
|
12112
|
+
"module": "src/switch/switch-list-item.ts"
|
|
12195
12113
|
}
|
|
12196
12114
|
}
|
|
12197
12115
|
]
|
|
12198
12116
|
},
|
|
12199
12117
|
{
|
|
12200
12118
|
"kind": "javascript-module",
|
|
12201
|
-
"path": "src/
|
|
12119
|
+
"path": "src/switch/switch.styles.ts",
|
|
12202
12120
|
"declarations": [
|
|
12203
12121
|
{
|
|
12204
12122
|
"kind": "variable",
|
|
12205
12123
|
"name": "styles",
|
|
12206
|
-
"default": "css `\n :host {\n --
|
|
12124
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n pointer-events: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-bg-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-bg-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
|
|
12207
12125
|
}
|
|
12208
12126
|
],
|
|
12209
12127
|
"exports": [
|
|
@@ -12212,359 +12130,388 @@
|
|
|
12212
12130
|
"name": "styles",
|
|
12213
12131
|
"declaration": {
|
|
12214
12132
|
"name": "styles",
|
|
12215
|
-
"module": "src/
|
|
12133
|
+
"module": "src/switch/switch.styles.ts"
|
|
12216
12134
|
}
|
|
12217
12135
|
}
|
|
12218
12136
|
]
|
|
12219
12137
|
},
|
|
12220
12138
|
{
|
|
12221
12139
|
"kind": "javascript-module",
|
|
12222
|
-
"path": "src/
|
|
12140
|
+
"path": "src/switch/switch.ts",
|
|
12223
12141
|
"declarations": [
|
|
12224
12142
|
{
|
|
12225
12143
|
"kind": "class",
|
|
12226
12144
|
"description": "",
|
|
12227
|
-
"name": "
|
|
12145
|
+
"name": "UmSwitch",
|
|
12228
12146
|
"members": [
|
|
12229
12147
|
{
|
|
12230
12148
|
"kind": "field",
|
|
12231
|
-
"name": "
|
|
12149
|
+
"name": "renderRipple",
|
|
12232
12150
|
"type": {
|
|
12233
|
-
"text": "
|
|
12151
|
+
"text": "boolean"
|
|
12234
12152
|
},
|
|
12235
|
-
"
|
|
12236
|
-
"
|
|
12237
|
-
"
|
|
12153
|
+
"privacy": "protected",
|
|
12154
|
+
"default": "false",
|
|
12155
|
+
"inheritedFrom": {
|
|
12156
|
+
"name": "UmSelectionControl",
|
|
12157
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12158
|
+
}
|
|
12238
12159
|
},
|
|
12239
12160
|
{
|
|
12240
|
-
"kind": "
|
|
12241
|
-
"name": "
|
|
12242
|
-
"
|
|
12243
|
-
|
|
12161
|
+
"kind": "method",
|
|
12162
|
+
"name": "renderIndicator",
|
|
12163
|
+
"privacy": "protected",
|
|
12164
|
+
"return": {
|
|
12165
|
+
"type": {
|
|
12166
|
+
"text": "HTMLTemplateResult"
|
|
12167
|
+
}
|
|
12244
12168
|
},
|
|
12245
|
-
"
|
|
12246
|
-
|
|
12247
|
-
|
|
12169
|
+
"inheritedFrom": {
|
|
12170
|
+
"name": "UmSelectionControl",
|
|
12171
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12172
|
+
}
|
|
12248
12173
|
},
|
|
12249
12174
|
{
|
|
12250
12175
|
"kind": "field",
|
|
12251
|
-
"name": "
|
|
12176
|
+
"name": "formAssociated",
|
|
12252
12177
|
"type": {
|
|
12253
12178
|
"text": "boolean"
|
|
12254
12179
|
},
|
|
12255
|
-
"
|
|
12256
|
-
"
|
|
12257
|
-
"
|
|
12180
|
+
"static": true,
|
|
12181
|
+
"default": "true",
|
|
12182
|
+
"inheritedFrom": {
|
|
12183
|
+
"name": "UmSelectionControl",
|
|
12184
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12185
|
+
}
|
|
12258
12186
|
},
|
|
12259
12187
|
{
|
|
12260
12188
|
"kind": "field",
|
|
12261
|
-
"name": "
|
|
12189
|
+
"name": "elementInternals",
|
|
12262
12190
|
"type": {
|
|
12263
|
-
"text": "
|
|
12191
|
+
"text": "ElementInternals"
|
|
12264
12192
|
},
|
|
12265
|
-
"
|
|
12266
|
-
"
|
|
12267
|
-
|
|
12193
|
+
"privacy": "protected",
|
|
12194
|
+
"inheritedFrom": {
|
|
12195
|
+
"name": "UmSelectionControl",
|
|
12196
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12197
|
+
}
|
|
12268
12198
|
},
|
|
12269
12199
|
{
|
|
12270
12200
|
"kind": "field",
|
|
12271
|
-
"name": "
|
|
12201
|
+
"name": "name",
|
|
12272
12202
|
"type": {
|
|
12273
|
-
"text": "
|
|
12203
|
+
"text": "string | undefined"
|
|
12274
12204
|
},
|
|
12275
|
-
"
|
|
12205
|
+
"default": "''",
|
|
12206
|
+
"attribute": "name",
|
|
12207
|
+
"inheritedFrom": {
|
|
12208
|
+
"name": "UmSelectionControl",
|
|
12209
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12210
|
+
}
|
|
12276
12211
|
},
|
|
12277
12212
|
{
|
|
12278
12213
|
"kind": "field",
|
|
12279
|
-
"name": "
|
|
12214
|
+
"name": "disabled",
|
|
12280
12215
|
"type": {
|
|
12281
|
-
"text": "
|
|
12216
|
+
"text": "boolean"
|
|
12282
12217
|
},
|
|
12283
|
-
"
|
|
12284
|
-
|
|
12285
|
-
|
|
12286
|
-
"
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
},
|
|
12290
|
-
{
|
|
12291
|
-
"kind": "method",
|
|
12292
|
-
"name": "renderCloseButton",
|
|
12293
|
-
"privacy": "private"
|
|
12294
|
-
},
|
|
12295
|
-
{
|
|
12296
|
-
"kind": "method",
|
|
12297
|
-
"name": "dismiss",
|
|
12298
|
-
"return": {
|
|
12299
|
-
"type": {
|
|
12300
|
-
"text": "void"
|
|
12301
|
-
}
|
|
12218
|
+
"default": "false",
|
|
12219
|
+
"attribute": "disabled",
|
|
12220
|
+
"reflects": true,
|
|
12221
|
+
"inheritedFrom": {
|
|
12222
|
+
"name": "UmSelectionControl",
|
|
12223
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12302
12224
|
}
|
|
12303
12225
|
},
|
|
12304
12226
|
{
|
|
12305
12227
|
"kind": "field",
|
|
12306
|
-
"name": "
|
|
12228
|
+
"name": "input",
|
|
12307
12229
|
"type": {
|
|
12308
|
-
"text": "
|
|
12230
|
+
"text": "HTMLInputElement"
|
|
12309
12231
|
},
|
|
12310
|
-
"
|
|
12311
|
-
|
|
12312
|
-
|
|
12232
|
+
"inheritedFrom": {
|
|
12233
|
+
"name": "UmSelectionControl",
|
|
12234
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12235
|
+
}
|
|
12313
12236
|
},
|
|
12314
12237
|
{
|
|
12315
12238
|
"kind": "field",
|
|
12316
|
-
"name": "
|
|
12239
|
+
"name": "form",
|
|
12317
12240
|
"type": {
|
|
12318
|
-
"text": "
|
|
12241
|
+
"text": "HTMLFormElement | null"
|
|
12319
12242
|
},
|
|
12320
|
-
"
|
|
12321
|
-
|
|
12243
|
+
"inheritedFrom": {
|
|
12244
|
+
"name": "UmSelectionControl",
|
|
12245
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12246
|
+
}
|
|
12322
12247
|
},
|
|
12323
12248
|
{
|
|
12324
|
-
"kind": "
|
|
12325
|
-
"name": "
|
|
12326
|
-
"
|
|
12327
|
-
"
|
|
12328
|
-
"
|
|
12329
|
-
"text": "UmSnackbar"
|
|
12330
|
-
}
|
|
12249
|
+
"kind": "field",
|
|
12250
|
+
"name": "#checked",
|
|
12251
|
+
"privacy": "private",
|
|
12252
|
+
"type": {
|
|
12253
|
+
"text": "boolean"
|
|
12331
12254
|
},
|
|
12332
|
-
"
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
}
|
|
12338
|
-
}
|
|
12339
|
-
]
|
|
12255
|
+
"default": "false",
|
|
12256
|
+
"inheritedFrom": {
|
|
12257
|
+
"name": "UmSelectionControl",
|
|
12258
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12259
|
+
}
|
|
12340
12260
|
},
|
|
12341
12261
|
{
|
|
12342
|
-
"kind": "
|
|
12343
|
-
"name": "
|
|
12344
|
-
"
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
"type": {
|
|
12354
|
-
"text": "SnackbarConfig"
|
|
12355
|
-
}
|
|
12356
|
-
}
|
|
12357
|
-
]
|
|
12262
|
+
"kind": "field",
|
|
12263
|
+
"name": "inputType",
|
|
12264
|
+
"type": {
|
|
12265
|
+
"text": "'checkbox' | 'radio'"
|
|
12266
|
+
},
|
|
12267
|
+
"privacy": "protected",
|
|
12268
|
+
"default": "'checkbox'",
|
|
12269
|
+
"inheritedFrom": {
|
|
12270
|
+
"name": "UmSelectionControl",
|
|
12271
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12272
|
+
}
|
|
12358
12273
|
},
|
|
12359
12274
|
{
|
|
12360
|
-
"kind": "
|
|
12361
|
-
"name": "
|
|
12362
|
-
"
|
|
12363
|
-
|
|
12364
|
-
"type": {
|
|
12365
|
-
"text": "UmSnackbar"
|
|
12366
|
-
}
|
|
12275
|
+
"kind": "field",
|
|
12276
|
+
"name": "value",
|
|
12277
|
+
"type": {
|
|
12278
|
+
"text": "string"
|
|
12367
12279
|
},
|
|
12368
|
-
"
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
]
|
|
12280
|
+
"default": "'on'",
|
|
12281
|
+
"description": "The element value to use in form submission when checked.",
|
|
12282
|
+
"attribute": "value",
|
|
12283
|
+
"inheritedFrom": {
|
|
12284
|
+
"name": "UmSelectionControl",
|
|
12285
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12286
|
+
}
|
|
12376
12287
|
},
|
|
12377
12288
|
{
|
|
12378
|
-
"kind": "
|
|
12379
|
-
"name": "
|
|
12380
|
-
"
|
|
12381
|
-
"
|
|
12289
|
+
"kind": "field",
|
|
12290
|
+
"name": "checked",
|
|
12291
|
+
"attribute": "checked",
|
|
12292
|
+
"inheritedFrom": {
|
|
12293
|
+
"name": "UmSelectionControl",
|
|
12294
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12295
|
+
}
|
|
12382
12296
|
},
|
|
12383
12297
|
{
|
|
12384
|
-
"kind": "
|
|
12385
|
-
"name": "
|
|
12298
|
+
"kind": "field",
|
|
12299
|
+
"name": "_checkedAttribute",
|
|
12300
|
+
"type": {
|
|
12301
|
+
"text": "boolean"
|
|
12302
|
+
},
|
|
12386
12303
|
"privacy": "private",
|
|
12387
|
-
"
|
|
12304
|
+
"default": "false",
|
|
12305
|
+
"attribute": "checked",
|
|
12306
|
+
"inheritedFrom": {
|
|
12307
|
+
"name": "UmSelectionControl",
|
|
12308
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12309
|
+
}
|
|
12388
12310
|
},
|
|
12389
12311
|
{
|
|
12390
12312
|
"kind": "method",
|
|
12391
|
-
"name": "
|
|
12392
|
-
"privacy": "private",
|
|
12393
|
-
"static": true,
|
|
12394
|
-
"return": {
|
|
12395
|
-
"type": {
|
|
12396
|
-
"text": "UmSnackbar"
|
|
12397
|
-
}
|
|
12398
|
-
},
|
|
12313
|
+
"name": "#handleClick",
|
|
12399
12314
|
"parameters": [
|
|
12400
12315
|
{
|
|
12401
|
-
"name": "
|
|
12316
|
+
"name": "e",
|
|
12402
12317
|
"type": {
|
|
12403
|
-
"text": "
|
|
12318
|
+
"text": "Event"
|
|
12404
12319
|
}
|
|
12405
12320
|
}
|
|
12406
|
-
]
|
|
12321
|
+
],
|
|
12322
|
+
"inheritedFrom": {
|
|
12323
|
+
"name": "UmSelectionControl",
|
|
12324
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12325
|
+
}
|
|
12407
12326
|
}
|
|
12408
12327
|
],
|
|
12328
|
+
"superclass": {
|
|
12329
|
+
"name": "UmSelectionControl",
|
|
12330
|
+
"module": "/src/shared/selection-control/selection-control.js"
|
|
12331
|
+
},
|
|
12332
|
+
"tagName": "u-switch",
|
|
12333
|
+
"customElement": true,
|
|
12409
12334
|
"attributes": [
|
|
12410
12335
|
{
|
|
12411
|
-
"name": "
|
|
12336
|
+
"name": "name",
|
|
12412
12337
|
"type": {
|
|
12413
|
-
"text": "string"
|
|
12338
|
+
"text": "string | undefined"
|
|
12414
12339
|
},
|
|
12415
12340
|
"default": "''",
|
|
12416
|
-
"fieldName": "
|
|
12341
|
+
"fieldName": "name",
|
|
12342
|
+
"inheritedFrom": {
|
|
12343
|
+
"name": "UmSelectionControl",
|
|
12344
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12345
|
+
}
|
|
12417
12346
|
},
|
|
12418
12347
|
{
|
|
12419
|
-
"name": "
|
|
12348
|
+
"name": "disabled",
|
|
12420
12349
|
"type": {
|
|
12421
|
-
"text": "
|
|
12350
|
+
"text": "boolean"
|
|
12422
12351
|
},
|
|
12423
|
-
"default": "
|
|
12424
|
-
"fieldName": "
|
|
12352
|
+
"default": "false",
|
|
12353
|
+
"fieldName": "disabled",
|
|
12354
|
+
"inheritedFrom": {
|
|
12355
|
+
"name": "UmSelectionControl",
|
|
12356
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12357
|
+
}
|
|
12425
12358
|
},
|
|
12426
12359
|
{
|
|
12427
|
-
"name": "
|
|
12360
|
+
"name": "value",
|
|
12428
12361
|
"type": {
|
|
12429
|
-
"text": "
|
|
12362
|
+
"text": "string"
|
|
12430
12363
|
},
|
|
12431
|
-
"default": "
|
|
12432
|
-
"
|
|
12364
|
+
"default": "'on'",
|
|
12365
|
+
"description": "The element value to use in form submission when checked.",
|
|
12366
|
+
"fieldName": "value",
|
|
12367
|
+
"inheritedFrom": {
|
|
12368
|
+
"name": "UmSelectionControl",
|
|
12369
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12370
|
+
}
|
|
12433
12371
|
},
|
|
12434
12372
|
{
|
|
12435
|
-
"name": "
|
|
12373
|
+
"name": "checked",
|
|
12374
|
+
"fieldName": "_checkedAttribute",
|
|
12436
12375
|
"type": {
|
|
12437
12376
|
"text": "boolean"
|
|
12438
12377
|
},
|
|
12439
12378
|
"default": "false",
|
|
12440
|
-
"
|
|
12379
|
+
"inheritedFrom": {
|
|
12380
|
+
"name": "UmSelectionControl",
|
|
12381
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12382
|
+
}
|
|
12441
12383
|
}
|
|
12442
12384
|
],
|
|
12443
|
-
"
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
|
|
12448
|
-
|
|
12385
|
+
"events": [
|
|
12386
|
+
{
|
|
12387
|
+
"name": "input",
|
|
12388
|
+
"type": {
|
|
12389
|
+
"text": "InputEvent"
|
|
12390
|
+
},
|
|
12391
|
+
"inheritedFrom": {
|
|
12392
|
+
"name": "UmSelectionControl",
|
|
12393
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12394
|
+
}
|
|
12395
|
+
},
|
|
12396
|
+
{
|
|
12397
|
+
"name": "change",
|
|
12398
|
+
"type": {
|
|
12399
|
+
"text": "Event"
|
|
12400
|
+
},
|
|
12401
|
+
"inheritedFrom": {
|
|
12402
|
+
"name": "UmSelectionControl",
|
|
12403
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
12404
|
+
}
|
|
12405
|
+
}
|
|
12406
|
+
]
|
|
12449
12407
|
}
|
|
12450
12408
|
],
|
|
12451
12409
|
"exports": [
|
|
12452
12410
|
{
|
|
12453
12411
|
"kind": "js",
|
|
12454
|
-
"name": "
|
|
12412
|
+
"name": "UmSwitch",
|
|
12455
12413
|
"declaration": {
|
|
12456
|
-
"name": "
|
|
12457
|
-
"module": "src/
|
|
12414
|
+
"name": "UmSwitch",
|
|
12415
|
+
"module": "src/switch/switch.ts"
|
|
12458
12416
|
}
|
|
12459
12417
|
},
|
|
12460
12418
|
{
|
|
12461
12419
|
"kind": "custom-element-definition",
|
|
12462
|
-
"name": "u-
|
|
12420
|
+
"name": "u-switch",
|
|
12463
12421
|
"declaration": {
|
|
12464
|
-
"name": "
|
|
12465
|
-
"module": "src/
|
|
12422
|
+
"name": "UmSwitch",
|
|
12423
|
+
"module": "src/switch/switch.ts"
|
|
12466
12424
|
}
|
|
12467
12425
|
}
|
|
12468
12426
|
]
|
|
12469
12427
|
},
|
|
12470
12428
|
{
|
|
12471
12429
|
"kind": "javascript-module",
|
|
12472
|
-
"path": "src/
|
|
12430
|
+
"path": "src/shared/base.styles.ts",
|
|
12431
|
+
"declarations": [
|
|
12432
|
+
{
|
|
12433
|
+
"kind": "variable",
|
|
12434
|
+
"name": "styles",
|
|
12435
|
+
"default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
|
|
12436
|
+
}
|
|
12437
|
+
],
|
|
12438
|
+
"exports": [
|
|
12439
|
+
{
|
|
12440
|
+
"kind": "js",
|
|
12441
|
+
"name": "styles",
|
|
12442
|
+
"declaration": {
|
|
12443
|
+
"name": "styles",
|
|
12444
|
+
"module": "src/shared/base.styles.ts"
|
|
12445
|
+
}
|
|
12446
|
+
}
|
|
12447
|
+
]
|
|
12448
|
+
},
|
|
12449
|
+
{
|
|
12450
|
+
"kind": "javascript-module",
|
|
12451
|
+
"path": "src/shared/button-wrapper.styles.ts",
|
|
12452
|
+
"declarations": [
|
|
12453
|
+
{
|
|
12454
|
+
"kind": "variable",
|
|
12455
|
+
"name": "styles",
|
|
12456
|
+
"default": "css `\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-bg-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n`"
|
|
12457
|
+
}
|
|
12458
|
+
],
|
|
12459
|
+
"exports": [
|
|
12460
|
+
{
|
|
12461
|
+
"kind": "js",
|
|
12462
|
+
"name": "styles",
|
|
12463
|
+
"declaration": {
|
|
12464
|
+
"name": "styles",
|
|
12465
|
+
"module": "src/shared/button-wrapper.styles.ts"
|
|
12466
|
+
}
|
|
12467
|
+
}
|
|
12468
|
+
]
|
|
12469
|
+
},
|
|
12470
|
+
{
|
|
12471
|
+
"kind": "javascript-module",
|
|
12472
|
+
"path": "src/shared/button-wrapper.ts",
|
|
12473
12473
|
"declarations": [
|
|
12474
12474
|
{
|
|
12475
12475
|
"kind": "class",
|
|
12476
12476
|
"description": "",
|
|
12477
|
-
"name": "
|
|
12478
|
-
"mixins": [
|
|
12479
|
-
{
|
|
12480
|
-
"name": "mixinSelectionControlListItem",
|
|
12481
|
-
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
12482
|
-
}
|
|
12483
|
-
],
|
|
12484
|
-
"superclass": {
|
|
12485
|
-
"name": "UmSwitch",
|
|
12486
|
-
"module": "/src/switch/switch.js"
|
|
12487
|
-
},
|
|
12488
|
-
"tagName": "u-switch-list-item",
|
|
12489
|
-
"customElement": true,
|
|
12477
|
+
"name": "UmButtonWrapper",
|
|
12490
12478
|
"members": [
|
|
12491
12479
|
{
|
|
12492
12480
|
"kind": "field",
|
|
12493
|
-
"name": "
|
|
12494
|
-
"type": {
|
|
12495
|
-
"text": "array"
|
|
12496
|
-
},
|
|
12497
|
-
"static": true,
|
|
12498
|
-
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
|
|
12499
|
-
"inheritedFrom": {
|
|
12500
|
-
"name": "mixinSelectionControlListItem",
|
|
12501
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
12502
|
-
}
|
|
12503
|
-
},
|
|
12504
|
-
{
|
|
12505
|
-
"kind": "method",
|
|
12506
|
-
"name": "render",
|
|
12507
|
-
"return": {
|
|
12508
|
-
"type": {
|
|
12509
|
-
"text": "HTMLTemplateResult"
|
|
12510
|
-
}
|
|
12511
|
-
},
|
|
12512
|
-
"inheritedFrom": {
|
|
12513
|
-
"name": "mixinSelectionControlListItem",
|
|
12514
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
12515
|
-
}
|
|
12516
|
-
},
|
|
12517
|
-
{
|
|
12518
|
-
"kind": "field",
|
|
12519
|
-
"name": "renderRipple",
|
|
12481
|
+
"name": "disabled",
|
|
12520
12482
|
"type": {
|
|
12521
12483
|
"text": "boolean"
|
|
12522
12484
|
},
|
|
12523
|
-
"privacy": "protected",
|
|
12524
12485
|
"default": "false",
|
|
12525
|
-
"
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
}
|
|
12486
|
+
"description": "Whether the button is disabled or not.",
|
|
12487
|
+
"attribute": "disabled",
|
|
12488
|
+
"reflects": true
|
|
12529
12489
|
},
|
|
12530
12490
|
{
|
|
12531
|
-
"kind": "
|
|
12532
|
-
"name": "
|
|
12533
|
-
"
|
|
12534
|
-
|
|
12535
|
-
"type": {
|
|
12536
|
-
"text": "HTMLTemplateResult"
|
|
12537
|
-
}
|
|
12491
|
+
"kind": "field",
|
|
12492
|
+
"name": "renderRipple",
|
|
12493
|
+
"type": {
|
|
12494
|
+
"text": "boolean"
|
|
12538
12495
|
},
|
|
12539
|
-
"
|
|
12540
|
-
"name": "UmSelectionControl",
|
|
12541
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12542
|
-
}
|
|
12496
|
+
"default": "true"
|
|
12543
12497
|
},
|
|
12544
12498
|
{
|
|
12545
12499
|
"kind": "field",
|
|
12546
|
-
"name": "
|
|
12500
|
+
"name": "href",
|
|
12547
12501
|
"type": {
|
|
12548
|
-
"text": "
|
|
12502
|
+
"text": "string | undefined"
|
|
12549
12503
|
},
|
|
12550
|
-
"
|
|
12551
|
-
"
|
|
12552
|
-
"inheritedFrom": {
|
|
12553
|
-
"name": "UmSelectionControl",
|
|
12554
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12555
|
-
}
|
|
12504
|
+
"description": "The URL that the link button points to.",
|
|
12505
|
+
"attribute": "href"
|
|
12556
12506
|
},
|
|
12557
12507
|
{
|
|
12558
12508
|
"kind": "field",
|
|
12559
|
-
"name": "
|
|
12509
|
+
"name": "target",
|
|
12560
12510
|
"type": {
|
|
12561
|
-
"text": "
|
|
12511
|
+
"text": "string | undefined"
|
|
12562
12512
|
},
|
|
12563
|
-
"
|
|
12564
|
-
"
|
|
12565
|
-
"name": "UmSelectionControl",
|
|
12566
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12567
|
-
}
|
|
12513
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
12514
|
+
"attribute": "target"
|
|
12568
12515
|
},
|
|
12569
12516
|
{
|
|
12570
12517
|
"kind": "field",
|
|
@@ -12572,199 +12519,261 @@
|
|
|
12572
12519
|
"type": {
|
|
12573
12520
|
"text": "string | undefined"
|
|
12574
12521
|
},
|
|
12575
|
-
"
|
|
12576
|
-
"attribute": "name",
|
|
12577
|
-
"inheritedFrom": {
|
|
12578
|
-
"name": "UmSelectionControl",
|
|
12579
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12580
|
-
}
|
|
12522
|
+
"attribute": "name"
|
|
12581
12523
|
},
|
|
12582
12524
|
{
|
|
12583
12525
|
"kind": "field",
|
|
12584
|
-
"name": "
|
|
12526
|
+
"name": "buttonElement",
|
|
12585
12527
|
"type": {
|
|
12586
|
-
"text": "
|
|
12587
|
-
},
|
|
12588
|
-
"default": "false",
|
|
12589
|
-
"attribute": "disabled",
|
|
12590
|
-
"reflects": true,
|
|
12591
|
-
"inheritedFrom": {
|
|
12592
|
-
"name": "UmSelectionControl",
|
|
12593
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12528
|
+
"text": "HTMLElement"
|
|
12594
12529
|
}
|
|
12595
12530
|
},
|
|
12596
12531
|
{
|
|
12597
12532
|
"kind": "field",
|
|
12598
|
-
"name": "
|
|
12533
|
+
"name": "ripple",
|
|
12599
12534
|
"type": {
|
|
12600
|
-
"text": "
|
|
12535
|
+
"text": "UmRipple"
|
|
12601
12536
|
},
|
|
12602
|
-
"
|
|
12603
|
-
"name": "UmSelectionControl",
|
|
12604
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12605
|
-
}
|
|
12537
|
+
"privacy": "private"
|
|
12606
12538
|
},
|
|
12607
12539
|
{
|
|
12608
12540
|
"kind": "field",
|
|
12609
|
-
"name": "
|
|
12541
|
+
"name": "innerRole",
|
|
12610
12542
|
"type": {
|
|
12611
|
-
"text": "
|
|
12543
|
+
"text": "string | null"
|
|
12612
12544
|
},
|
|
12613
|
-
"
|
|
12614
|
-
|
|
12615
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12616
|
-
}
|
|
12545
|
+
"privacy": "protected",
|
|
12546
|
+
"default": "null"
|
|
12617
12547
|
},
|
|
12618
12548
|
{
|
|
12619
12549
|
"kind": "field",
|
|
12620
|
-
"name": "
|
|
12621
|
-
"privacy": "private",
|
|
12550
|
+
"name": "pathname",
|
|
12622
12551
|
"type": {
|
|
12623
|
-
"text": "
|
|
12624
|
-
},
|
|
12625
|
-
"default": "false",
|
|
12626
|
-
"inheritedFrom": {
|
|
12627
|
-
"name": "UmSelectionControl",
|
|
12628
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12552
|
+
"text": "string"
|
|
12629
12553
|
}
|
|
12630
12554
|
},
|
|
12631
12555
|
{
|
|
12632
|
-
"kind": "
|
|
12633
|
-
"name": "
|
|
12634
|
-
"
|
|
12635
|
-
|
|
12636
|
-
|
|
12556
|
+
"kind": "method",
|
|
12557
|
+
"name": "renderButton",
|
|
12558
|
+
"privacy": "private"
|
|
12559
|
+
},
|
|
12560
|
+
{
|
|
12561
|
+
"kind": "method",
|
|
12562
|
+
"name": "renderLink",
|
|
12563
|
+
"privacy": "private"
|
|
12564
|
+
},
|
|
12565
|
+
{
|
|
12566
|
+
"kind": "method",
|
|
12567
|
+
"name": "renderContent",
|
|
12637
12568
|
"privacy": "protected",
|
|
12638
|
-
"
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12569
|
+
"return": {
|
|
12570
|
+
"type": {
|
|
12571
|
+
"text": "HTMLTemplateResult"
|
|
12572
|
+
}
|
|
12642
12573
|
}
|
|
12643
12574
|
},
|
|
12644
12575
|
{
|
|
12645
|
-
"kind": "
|
|
12646
|
-
"name": "
|
|
12647
|
-
"type": {
|
|
12648
|
-
"text": "string"
|
|
12649
|
-
},
|
|
12650
|
-
"default": "'on'",
|
|
12651
|
-
"description": "The element value to use in form submission when checked.",
|
|
12652
|
-
"attribute": "value",
|
|
12653
|
-
"inheritedFrom": {
|
|
12654
|
-
"name": "UmSelectionControl",
|
|
12655
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12656
|
-
}
|
|
12576
|
+
"kind": "method",
|
|
12577
|
+
"name": "focus"
|
|
12657
12578
|
},
|
|
12658
12579
|
{
|
|
12659
|
-
"kind": "
|
|
12660
|
-
"name": "
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12580
|
+
"kind": "method",
|
|
12581
|
+
"name": "blur"
|
|
12582
|
+
},
|
|
12583
|
+
{
|
|
12584
|
+
"kind": "method",
|
|
12585
|
+
"name": "getAriaLabel",
|
|
12586
|
+
"privacy": "protected",
|
|
12587
|
+
"return": {
|
|
12588
|
+
"type": {
|
|
12589
|
+
"text": "string | null"
|
|
12590
|
+
}
|
|
12665
12591
|
}
|
|
12666
12592
|
},
|
|
12667
12593
|
{
|
|
12668
|
-
"kind": "
|
|
12669
|
-
"name": "
|
|
12670
|
-
"type": {
|
|
12671
|
-
"text": "boolean"
|
|
12672
|
-
},
|
|
12594
|
+
"kind": "method",
|
|
12595
|
+
"name": "innerFocusHandler",
|
|
12673
12596
|
"privacy": "private",
|
|
12674
|
-
"
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12597
|
+
"return": {
|
|
12598
|
+
"type": {
|
|
12599
|
+
"text": "void"
|
|
12600
|
+
}
|
|
12679
12601
|
}
|
|
12680
12602
|
},
|
|
12681
12603
|
{
|
|
12682
12604
|
"kind": "method",
|
|
12683
|
-
"name": "#
|
|
12605
|
+
"name": "#innerClickHandler",
|
|
12606
|
+
"return": {
|
|
12607
|
+
"type": {
|
|
12608
|
+
"text": "void"
|
|
12609
|
+
}
|
|
12610
|
+
},
|
|
12684
12611
|
"parameters": [
|
|
12685
12612
|
{
|
|
12686
|
-
"name": "
|
|
12613
|
+
"name": "event",
|
|
12687
12614
|
"type": {
|
|
12688
|
-
"text": "
|
|
12615
|
+
"text": "MouseEvent"
|
|
12689
12616
|
}
|
|
12690
12617
|
}
|
|
12691
|
-
]
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12618
|
+
]
|
|
12619
|
+
},
|
|
12620
|
+
{
|
|
12621
|
+
"kind": "method",
|
|
12622
|
+
"name": "handleClick",
|
|
12623
|
+
"privacy": "protected",
|
|
12624
|
+
"return": {
|
|
12625
|
+
"type": {
|
|
12626
|
+
"text": "void"
|
|
12627
|
+
}
|
|
12628
|
+
},
|
|
12629
|
+
"parameters": [
|
|
12630
|
+
{
|
|
12631
|
+
"name": "_",
|
|
12632
|
+
"type": {
|
|
12633
|
+
"text": "UIEvent"
|
|
12634
|
+
}
|
|
12635
|
+
}
|
|
12636
|
+
]
|
|
12696
12637
|
}
|
|
12697
12638
|
],
|
|
12698
12639
|
"attributes": [
|
|
12699
12640
|
{
|
|
12700
|
-
"name": "
|
|
12641
|
+
"name": "disabled",
|
|
12642
|
+
"type": {
|
|
12643
|
+
"text": "boolean"
|
|
12644
|
+
},
|
|
12645
|
+
"default": "false",
|
|
12646
|
+
"description": "Whether the button is disabled or not.",
|
|
12647
|
+
"fieldName": "disabled"
|
|
12648
|
+
},
|
|
12649
|
+
{
|
|
12650
|
+
"name": "href",
|
|
12701
12651
|
"type": {
|
|
12702
12652
|
"text": "string | undefined"
|
|
12703
12653
|
},
|
|
12704
|
-
"
|
|
12705
|
-
"fieldName": "
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
|
|
12654
|
+
"description": "The URL that the link button points to.",
|
|
12655
|
+
"fieldName": "href"
|
|
12656
|
+
},
|
|
12657
|
+
{
|
|
12658
|
+
"name": "target",
|
|
12659
|
+
"type": {
|
|
12660
|
+
"text": "string | undefined"
|
|
12661
|
+
},
|
|
12662
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
12663
|
+
"fieldName": "target"
|
|
12710
12664
|
},
|
|
12711
12665
|
{
|
|
12712
|
-
"name": "
|
|
12666
|
+
"name": "name",
|
|
12667
|
+
"type": {
|
|
12668
|
+
"text": "string | undefined"
|
|
12669
|
+
},
|
|
12670
|
+
"fieldName": "name"
|
|
12671
|
+
}
|
|
12672
|
+
],
|
|
12673
|
+
"superclass": {
|
|
12674
|
+
"name": "LitElement",
|
|
12675
|
+
"package": "lit"
|
|
12676
|
+
},
|
|
12677
|
+
"customElement": true
|
|
12678
|
+
}
|
|
12679
|
+
],
|
|
12680
|
+
"exports": [
|
|
12681
|
+
{
|
|
12682
|
+
"kind": "js",
|
|
12683
|
+
"name": "UmButtonWrapper",
|
|
12684
|
+
"declaration": {
|
|
12685
|
+
"name": "UmButtonWrapper",
|
|
12686
|
+
"module": "src/shared/button-wrapper.ts"
|
|
12687
|
+
}
|
|
12688
|
+
}
|
|
12689
|
+
]
|
|
12690
|
+
},
|
|
12691
|
+
{
|
|
12692
|
+
"kind": "javascript-module",
|
|
12693
|
+
"path": "src/shared/compare-text.ts",
|
|
12694
|
+
"declarations": [
|
|
12695
|
+
{
|
|
12696
|
+
"kind": "function",
|
|
12697
|
+
"name": "normalizedStartsWith",
|
|
12698
|
+
"return": {
|
|
12699
|
+
"type": {
|
|
12700
|
+
"text": "boolean"
|
|
12701
|
+
}
|
|
12702
|
+
},
|
|
12703
|
+
"parameters": [
|
|
12704
|
+
{
|
|
12705
|
+
"name": "text",
|
|
12713
12706
|
"type": {
|
|
12714
|
-
"text": "
|
|
12715
|
-
},
|
|
12716
|
-
"default": "false",
|
|
12717
|
-
"fieldName": "disabled",
|
|
12718
|
-
"inheritedFrom": {
|
|
12719
|
-
"name": "UmSelectionControl",
|
|
12720
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12707
|
+
"text": "string | null"
|
|
12721
12708
|
}
|
|
12722
12709
|
},
|
|
12723
12710
|
{
|
|
12724
|
-
"name": "
|
|
12711
|
+
"name": "term",
|
|
12725
12712
|
"type": {
|
|
12726
|
-
"text": "string"
|
|
12727
|
-
},
|
|
12728
|
-
"default": "'on'",
|
|
12729
|
-
"description": "The element value to use in form submission when checked.",
|
|
12730
|
-
"fieldName": "value",
|
|
12731
|
-
"inheritedFrom": {
|
|
12732
|
-
"name": "UmSelectionControl",
|
|
12733
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12713
|
+
"text": "string | null"
|
|
12734
12714
|
}
|
|
12735
|
-
}
|
|
12715
|
+
}
|
|
12716
|
+
]
|
|
12717
|
+
}
|
|
12718
|
+
],
|
|
12719
|
+
"exports": [
|
|
12720
|
+
{
|
|
12721
|
+
"kind": "js",
|
|
12722
|
+
"name": "normalizedStartsWith",
|
|
12723
|
+
"declaration": {
|
|
12724
|
+
"name": "normalizedStartsWith",
|
|
12725
|
+
"module": "src/shared/compare-text.ts"
|
|
12726
|
+
}
|
|
12727
|
+
}
|
|
12728
|
+
]
|
|
12729
|
+
},
|
|
12730
|
+
{
|
|
12731
|
+
"kind": "javascript-module",
|
|
12732
|
+
"path": "src/shared/extract-template-html.ts",
|
|
12733
|
+
"declarations": [
|
|
12734
|
+
{
|
|
12735
|
+
"kind": "function",
|
|
12736
|
+
"name": "extractTemplateHtml",
|
|
12737
|
+
"parameters": [
|
|
12736
12738
|
{
|
|
12737
|
-
"name": "
|
|
12738
|
-
"fieldName": "_checkedAttribute",
|
|
12739
|
+
"name": "template",
|
|
12739
12740
|
"type": {
|
|
12740
|
-
"text": "
|
|
12741
|
-
},
|
|
12742
|
-
"default": "false",
|
|
12743
|
-
"inheritedFrom": {
|
|
12744
|
-
"name": "UmSelectionControl",
|
|
12745
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12741
|
+
"text": "HTMLTemplateElement"
|
|
12746
12742
|
}
|
|
12747
12743
|
}
|
|
12748
|
-
]
|
|
12749
|
-
|
|
12744
|
+
]
|
|
12745
|
+
}
|
|
12746
|
+
],
|
|
12747
|
+
"exports": [
|
|
12748
|
+
{
|
|
12749
|
+
"kind": "js",
|
|
12750
|
+
"name": "extractTemplateHtml",
|
|
12751
|
+
"declaration": {
|
|
12752
|
+
"name": "extractTemplateHtml",
|
|
12753
|
+
"module": "src/shared/extract-template-html.ts"
|
|
12754
|
+
}
|
|
12755
|
+
}
|
|
12756
|
+
]
|
|
12757
|
+
},
|
|
12758
|
+
{
|
|
12759
|
+
"kind": "javascript-module",
|
|
12760
|
+
"path": "src/shared/mixin-attribute-properties.ts",
|
|
12761
|
+
"declarations": [
|
|
12762
|
+
{
|
|
12763
|
+
"kind": "mixin",
|
|
12764
|
+
"description": "",
|
|
12765
|
+
"name": "mixinAttributeProperties",
|
|
12766
|
+
"parameters": [
|
|
12750
12767
|
{
|
|
12751
|
-
"name": "
|
|
12768
|
+
"name": "base",
|
|
12752
12769
|
"type": {
|
|
12753
|
-
"text": "
|
|
12754
|
-
},
|
|
12755
|
-
"inheritedFrom": {
|
|
12756
|
-
"name": "UmSelectionControl",
|
|
12757
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12770
|
+
"text": "T"
|
|
12758
12771
|
}
|
|
12759
12772
|
},
|
|
12760
12773
|
{
|
|
12761
|
-
"name": "
|
|
12774
|
+
"name": "properties",
|
|
12762
12775
|
"type": {
|
|
12763
|
-
"text": "
|
|
12764
|
-
},
|
|
12765
|
-
"inheritedFrom": {
|
|
12766
|
-
"name": "UmSelectionControl",
|
|
12767
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12776
|
+
"text": "string[]"
|
|
12768
12777
|
}
|
|
12769
12778
|
}
|
|
12770
12779
|
]
|
|
@@ -12773,30 +12782,61 @@
|
|
|
12773
12782
|
"exports": [
|
|
12774
12783
|
{
|
|
12775
12784
|
"kind": "js",
|
|
12776
|
-
"name": "
|
|
12785
|
+
"name": "mixinAttributeProperties",
|
|
12777
12786
|
"declaration": {
|
|
12778
|
-
"name": "
|
|
12779
|
-
"module": "src/
|
|
12787
|
+
"name": "mixinAttributeProperties",
|
|
12788
|
+
"module": "src/shared/mixin-attribute-properties.ts"
|
|
12780
12789
|
}
|
|
12781
|
-
}
|
|
12790
|
+
}
|
|
12791
|
+
]
|
|
12792
|
+
},
|
|
12793
|
+
{
|
|
12794
|
+
"kind": "javascript-module",
|
|
12795
|
+
"path": "src/shared/mixin.ts",
|
|
12796
|
+
"declarations": [],
|
|
12797
|
+
"exports": []
|
|
12798
|
+
},
|
|
12799
|
+
{
|
|
12800
|
+
"kind": "javascript-module",
|
|
12801
|
+
"path": "src/shared/normalize-text.ts",
|
|
12802
|
+
"declarations": [
|
|
12782
12803
|
{
|
|
12783
|
-
"kind": "
|
|
12784
|
-
"name": "
|
|
12804
|
+
"kind": "function",
|
|
12805
|
+
"name": "normalizeText",
|
|
12806
|
+
"return": {
|
|
12807
|
+
"type": {
|
|
12808
|
+
"text": "string"
|
|
12809
|
+
}
|
|
12810
|
+
},
|
|
12811
|
+
"parameters": [
|
|
12812
|
+
{
|
|
12813
|
+
"name": "text",
|
|
12814
|
+
"type": {
|
|
12815
|
+
"text": "string | null"
|
|
12816
|
+
}
|
|
12817
|
+
}
|
|
12818
|
+
]
|
|
12819
|
+
}
|
|
12820
|
+
],
|
|
12821
|
+
"exports": [
|
|
12822
|
+
{
|
|
12823
|
+
"kind": "js",
|
|
12824
|
+
"name": "normalizeText",
|
|
12785
12825
|
"declaration": {
|
|
12786
|
-
"name": "
|
|
12787
|
-
"module": "src/
|
|
12826
|
+
"name": "normalizeText",
|
|
12827
|
+
"module": "src/shared/normalize-text.ts"
|
|
12788
12828
|
}
|
|
12789
12829
|
}
|
|
12790
12830
|
]
|
|
12791
12831
|
},
|
|
12792
12832
|
{
|
|
12793
12833
|
"kind": "javascript-module",
|
|
12794
|
-
"path": "src/
|
|
12834
|
+
"path": "src/snackbar/snackbar.styles.ts",
|
|
12795
12835
|
"declarations": [
|
|
12796
12836
|
{
|
|
12797
12837
|
"kind": "variable",
|
|
12798
12838
|
"name": "styles",
|
|
12799
|
-
"default": "css `\n :host {\n --
|
|
12839
|
+
"default": "css `\n :host {\n --u-elevation-level: var(--u-snackbar-elevation-level, 3);\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-medium, 16px));\n position: fixed;\n inset-inline: 0;\n inset-block-end: 0;\n padding: var(--_snackbar-margin);\n z-index: var(--u-snackbar-z-index, 1070);\n display: flex;\n justify-content: center;\n }\n\n .snackbar {\n display: flex;\n align-items: center;\n min-height: var(--u-snackbar-height, 48px);\n color: var(--u-snackbar-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n background-color: var(--u-snackbar-bg-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n border-radius: var(--u-snackbar-shape, var(--u-shape-corner-extra-small, 4px));\n animation-name: snackbar-fade-in;\n animation-duration: 450ms;\n animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n animation-fill-mode: forwards;\n min-width: var(--u-snackbar-min-width, 100%);\n max-width: var(--u-snackbar-max-width, 100%);\n }\n .snackbar.dismiss {\n animation-name: snackbar-fade-out;\n }\n\n u-button {\n color: var(--u-color-inverse-primary, );\n margin-inline: var(--u-snackbar-text-button-margin, var(--u-spacing-small, 8px));\n }\n\n u-icon-button {\n color: var(--u-color-on-inverse-surface, rgb(245, 239, 247));\n margin-inline: var(--u-snackbar-close-button-margin, var(--u-spacing-extra-small, 4px));\n }\n\n .label {\n flex: 1;\n overflow: hidden;\n color: var(--u-on-inverse-surface-color);\n padding: var(--u-snackbar-text-margin, var(--u-spacing-medium, 16px));\n line-height: 18px;\n }\n\n @media (min-width: 840px) {\n :host {\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-large, 24px));\n }\n .snackbar {\n min-width: var(--u-snackbar-min-width, 288px);\n max-width: var(--u-snackbar-max-width, 568px);\n }\n }\n @keyframes snackbar-fade-in {\n 0% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n }\n @keyframes snackbar-fade-out {\n 0% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n 100% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n }\n`"
|
|
12800
12840
|
}
|
|
12801
12841
|
],
|
|
12802
12842
|
"exports": [
|
|
@@ -12805,297 +12845,257 @@
|
|
|
12805
12845
|
"name": "styles",
|
|
12806
12846
|
"declaration": {
|
|
12807
12847
|
"name": "styles",
|
|
12808
|
-
"module": "src/
|
|
12848
|
+
"module": "src/snackbar/snackbar.styles.ts"
|
|
12809
12849
|
}
|
|
12810
12850
|
}
|
|
12811
12851
|
]
|
|
12812
12852
|
},
|
|
12813
12853
|
{
|
|
12814
12854
|
"kind": "javascript-module",
|
|
12815
|
-
"path": "src/
|
|
12855
|
+
"path": "src/snackbar/snackbar.ts",
|
|
12816
12856
|
"declarations": [
|
|
12817
12857
|
{
|
|
12818
12858
|
"kind": "class",
|
|
12819
12859
|
"description": "",
|
|
12820
|
-
"name": "
|
|
12860
|
+
"name": "UmSnackbar",
|
|
12821
12861
|
"members": [
|
|
12822
12862
|
{
|
|
12823
12863
|
"kind": "field",
|
|
12824
|
-
"name": "
|
|
12825
|
-
"type": {
|
|
12826
|
-
"text": "boolean"
|
|
12827
|
-
},
|
|
12828
|
-
"privacy": "protected",
|
|
12829
|
-
"default": "false",
|
|
12830
|
-
"inheritedFrom": {
|
|
12831
|
-
"name": "UmSelectionControl",
|
|
12832
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12833
|
-
}
|
|
12834
|
-
},
|
|
12835
|
-
{
|
|
12836
|
-
"kind": "method",
|
|
12837
|
-
"name": "renderIndicator",
|
|
12838
|
-
"privacy": "protected",
|
|
12839
|
-
"return": {
|
|
12840
|
-
"type": {
|
|
12841
|
-
"text": "HTMLTemplateResult"
|
|
12842
|
-
}
|
|
12843
|
-
},
|
|
12844
|
-
"inheritedFrom": {
|
|
12845
|
-
"name": "UmSelectionControl",
|
|
12846
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12847
|
-
}
|
|
12848
|
-
},
|
|
12849
|
-
{
|
|
12850
|
-
"kind": "field",
|
|
12851
|
-
"name": "formAssociated",
|
|
12852
|
-
"type": {
|
|
12853
|
-
"text": "boolean"
|
|
12854
|
-
},
|
|
12855
|
-
"static": true,
|
|
12856
|
-
"default": "true",
|
|
12857
|
-
"inheritedFrom": {
|
|
12858
|
-
"name": "UmSelectionControl",
|
|
12859
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12860
|
-
}
|
|
12861
|
-
},
|
|
12862
|
-
{
|
|
12863
|
-
"kind": "field",
|
|
12864
|
-
"name": "elementInternals",
|
|
12864
|
+
"name": "label",
|
|
12865
12865
|
"type": {
|
|
12866
|
-
"text": "
|
|
12866
|
+
"text": "string"
|
|
12867
12867
|
},
|
|
12868
|
-
"
|
|
12869
|
-
"
|
|
12870
|
-
|
|
12871
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12872
|
-
}
|
|
12868
|
+
"default": "''",
|
|
12869
|
+
"attribute": "label",
|
|
12870
|
+
"reflects": true
|
|
12873
12871
|
},
|
|
12874
12872
|
{
|
|
12875
12873
|
"kind": "field",
|
|
12876
|
-
"name": "
|
|
12874
|
+
"name": "buttonLabel",
|
|
12877
12875
|
"type": {
|
|
12878
|
-
"text": "string
|
|
12876
|
+
"text": "string"
|
|
12879
12877
|
},
|
|
12880
12878
|
"default": "''",
|
|
12881
|
-
"attribute": "
|
|
12882
|
-
"
|
|
12883
|
-
"name": "UmSelectionControl",
|
|
12884
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12885
|
-
}
|
|
12879
|
+
"attribute": "buttonLabel",
|
|
12880
|
+
"reflects": true
|
|
12886
12881
|
},
|
|
12887
12882
|
{
|
|
12888
12883
|
"kind": "field",
|
|
12889
|
-
"name": "
|
|
12884
|
+
"name": "showClose",
|
|
12890
12885
|
"type": {
|
|
12891
12886
|
"text": "boolean"
|
|
12892
12887
|
},
|
|
12893
12888
|
"default": "false",
|
|
12894
|
-
"attribute": "
|
|
12895
|
-
"reflects": true
|
|
12896
|
-
"inheritedFrom": {
|
|
12897
|
-
"name": "UmSelectionControl",
|
|
12898
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12899
|
-
}
|
|
12900
|
-
},
|
|
12901
|
-
{
|
|
12902
|
-
"kind": "field",
|
|
12903
|
-
"name": "input",
|
|
12904
|
-
"type": {
|
|
12905
|
-
"text": "HTMLInputElement"
|
|
12906
|
-
},
|
|
12907
|
-
"inheritedFrom": {
|
|
12908
|
-
"name": "UmSelectionControl",
|
|
12909
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12910
|
-
}
|
|
12911
|
-
},
|
|
12912
|
-
{
|
|
12913
|
-
"kind": "field",
|
|
12914
|
-
"name": "form",
|
|
12915
|
-
"type": {
|
|
12916
|
-
"text": "HTMLFormElement | null"
|
|
12917
|
-
},
|
|
12918
|
-
"inheritedFrom": {
|
|
12919
|
-
"name": "UmSelectionControl",
|
|
12920
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12921
|
-
}
|
|
12889
|
+
"attribute": "show-close",
|
|
12890
|
+
"reflects": true
|
|
12922
12891
|
},
|
|
12923
12892
|
{
|
|
12924
12893
|
"kind": "field",
|
|
12925
|
-
"name": "
|
|
12926
|
-
"privacy": "private",
|
|
12894
|
+
"name": "dismissed",
|
|
12927
12895
|
"type": {
|
|
12928
12896
|
"text": "boolean"
|
|
12929
12897
|
},
|
|
12930
12898
|
"default": "false",
|
|
12931
|
-
"
|
|
12932
|
-
|
|
12933
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12934
|
-
}
|
|
12899
|
+
"attribute": "dismissed",
|
|
12900
|
+
"reflects": true
|
|
12935
12901
|
},
|
|
12936
12902
|
{
|
|
12937
12903
|
"kind": "field",
|
|
12938
|
-
"name": "
|
|
12904
|
+
"name": "duration",
|
|
12939
12905
|
"type": {
|
|
12940
|
-
"text": "
|
|
12906
|
+
"text": "SnackbarDuration"
|
|
12941
12907
|
},
|
|
12942
|
-
"privacy": "
|
|
12943
|
-
"default": "'checkbox'",
|
|
12944
|
-
"inheritedFrom": {
|
|
12945
|
-
"name": "UmSelectionControl",
|
|
12946
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12947
|
-
}
|
|
12908
|
+
"privacy": "private"
|
|
12948
12909
|
},
|
|
12949
12910
|
{
|
|
12950
12911
|
"kind": "field",
|
|
12951
|
-
"name": "
|
|
12912
|
+
"name": "snackbar",
|
|
12952
12913
|
"type": {
|
|
12953
|
-
"text": "
|
|
12914
|
+
"text": "HTMLElement"
|
|
12954
12915
|
},
|
|
12955
|
-
"
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
"
|
|
12959
|
-
|
|
12960
|
-
|
|
12916
|
+
"privacy": "private"
|
|
12917
|
+
},
|
|
12918
|
+
{
|
|
12919
|
+
"kind": "method",
|
|
12920
|
+
"name": "renderButton",
|
|
12921
|
+
"privacy": "private"
|
|
12922
|
+
},
|
|
12923
|
+
{
|
|
12924
|
+
"kind": "method",
|
|
12925
|
+
"name": "renderCloseButton",
|
|
12926
|
+
"privacy": "private"
|
|
12927
|
+
},
|
|
12928
|
+
{
|
|
12929
|
+
"kind": "method",
|
|
12930
|
+
"name": "dismiss",
|
|
12931
|
+
"return": {
|
|
12932
|
+
"type": {
|
|
12933
|
+
"text": "void"
|
|
12934
|
+
}
|
|
12961
12935
|
}
|
|
12962
12936
|
},
|
|
12963
12937
|
{
|
|
12964
12938
|
"kind": "field",
|
|
12965
|
-
"name": "
|
|
12966
|
-
"
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12970
|
-
|
|
12939
|
+
"name": "_queue",
|
|
12940
|
+
"type": {
|
|
12941
|
+
"text": "UmSnackbar[]"
|
|
12942
|
+
},
|
|
12943
|
+
"privacy": "private",
|
|
12944
|
+
"static": true,
|
|
12945
|
+
"default": "[]"
|
|
12971
12946
|
},
|
|
12972
12947
|
{
|
|
12973
12948
|
"kind": "field",
|
|
12974
|
-
"name": "
|
|
12949
|
+
"name": "_consuming",
|
|
12975
12950
|
"type": {
|
|
12976
12951
|
"text": "boolean"
|
|
12977
12952
|
},
|
|
12978
12953
|
"privacy": "private",
|
|
12979
|
-
"
|
|
12980
|
-
"attribute": "checked",
|
|
12981
|
-
"inheritedFrom": {
|
|
12982
|
-
"name": "UmSelectionControl",
|
|
12983
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12984
|
-
}
|
|
12954
|
+
"static": true
|
|
12985
12955
|
},
|
|
12986
12956
|
{
|
|
12987
12957
|
"kind": "method",
|
|
12988
|
-
"name": "
|
|
12958
|
+
"name": "show",
|
|
12959
|
+
"static": true,
|
|
12960
|
+
"return": {
|
|
12961
|
+
"type": {
|
|
12962
|
+
"text": "UmSnackbar"
|
|
12963
|
+
}
|
|
12964
|
+
},
|
|
12989
12965
|
"parameters": [
|
|
12990
12966
|
{
|
|
12991
|
-
"name": "
|
|
12967
|
+
"name": "label",
|
|
12992
12968
|
"type": {
|
|
12993
|
-
"text": "
|
|
12969
|
+
"text": "string"
|
|
12994
12970
|
}
|
|
12995
12971
|
}
|
|
12996
|
-
]
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
12972
|
+
]
|
|
12973
|
+
},
|
|
12974
|
+
{
|
|
12975
|
+
"kind": "method",
|
|
12976
|
+
"name": "show",
|
|
12977
|
+
"static": true,
|
|
12978
|
+
"return": {
|
|
12979
|
+
"type": {
|
|
12980
|
+
"text": "UmSnackbar"
|
|
12981
|
+
}
|
|
12982
|
+
},
|
|
12983
|
+
"parameters": [
|
|
12984
|
+
{
|
|
12985
|
+
"name": "config",
|
|
12986
|
+
"type": {
|
|
12987
|
+
"text": "SnackbarConfig"
|
|
12988
|
+
}
|
|
12989
|
+
}
|
|
12990
|
+
]
|
|
12991
|
+
},
|
|
12992
|
+
{
|
|
12993
|
+
"kind": "method",
|
|
12994
|
+
"name": "show",
|
|
12995
|
+
"static": true,
|
|
12996
|
+
"return": {
|
|
12997
|
+
"type": {
|
|
12998
|
+
"text": "UmSnackbar"
|
|
12999
|
+
}
|
|
13000
|
+
},
|
|
13001
|
+
"parameters": [
|
|
13002
|
+
{
|
|
13003
|
+
"name": "configOrLabel",
|
|
13004
|
+
"type": {
|
|
13005
|
+
"text": "SnackbarConfig | string"
|
|
13006
|
+
}
|
|
13007
|
+
}
|
|
13008
|
+
]
|
|
13009
|
+
},
|
|
13010
|
+
{
|
|
13011
|
+
"kind": "method",
|
|
13012
|
+
"name": "consumeQueue",
|
|
13013
|
+
"privacy": "private",
|
|
13014
|
+
"static": true
|
|
13015
|
+
},
|
|
13016
|
+
{
|
|
13017
|
+
"kind": "method",
|
|
13018
|
+
"name": "showNext",
|
|
13019
|
+
"privacy": "private",
|
|
13020
|
+
"static": true
|
|
13021
|
+
},
|
|
13022
|
+
{
|
|
13023
|
+
"kind": "method",
|
|
13024
|
+
"name": "createSnackbar",
|
|
13025
|
+
"privacy": "private",
|
|
13026
|
+
"static": true,
|
|
13027
|
+
"return": {
|
|
13028
|
+
"type": {
|
|
13029
|
+
"text": "UmSnackbar"
|
|
13030
|
+
}
|
|
13031
|
+
},
|
|
13032
|
+
"parameters": [
|
|
13033
|
+
{
|
|
13034
|
+
"name": "config",
|
|
13035
|
+
"type": {
|
|
13036
|
+
"text": "SnackbarConfig"
|
|
13037
|
+
}
|
|
13038
|
+
}
|
|
13039
|
+
]
|
|
13001
13040
|
}
|
|
13002
13041
|
],
|
|
13003
|
-
"superclass": {
|
|
13004
|
-
"name": "UmSelectionControl",
|
|
13005
|
-
"module": "/src/shared/selection-control/selection-control.js"
|
|
13006
|
-
},
|
|
13007
|
-
"tagName": "u-switch",
|
|
13008
|
-
"customElement": true,
|
|
13009
13042
|
"attributes": [
|
|
13010
13043
|
{
|
|
13011
|
-
"name": "
|
|
13044
|
+
"name": "label",
|
|
13012
13045
|
"type": {
|
|
13013
|
-
"text": "string
|
|
13046
|
+
"text": "string"
|
|
13014
13047
|
},
|
|
13015
13048
|
"default": "''",
|
|
13016
|
-
"fieldName": "
|
|
13017
|
-
"inheritedFrom": {
|
|
13018
|
-
"name": "UmSelectionControl",
|
|
13019
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
13020
|
-
}
|
|
13021
|
-
},
|
|
13022
|
-
{
|
|
13023
|
-
"name": "disabled",
|
|
13024
|
-
"type": {
|
|
13025
|
-
"text": "boolean"
|
|
13026
|
-
},
|
|
13027
|
-
"default": "false",
|
|
13028
|
-
"fieldName": "disabled",
|
|
13029
|
-
"inheritedFrom": {
|
|
13030
|
-
"name": "UmSelectionControl",
|
|
13031
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
13032
|
-
}
|
|
13049
|
+
"fieldName": "label"
|
|
13033
13050
|
},
|
|
13034
13051
|
{
|
|
13035
|
-
"name": "
|
|
13052
|
+
"name": "buttonLabel",
|
|
13036
13053
|
"type": {
|
|
13037
13054
|
"text": "string"
|
|
13038
13055
|
},
|
|
13039
|
-
"default": "'
|
|
13040
|
-
"
|
|
13041
|
-
"fieldName": "value",
|
|
13042
|
-
"inheritedFrom": {
|
|
13043
|
-
"name": "UmSelectionControl",
|
|
13044
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
13045
|
-
}
|
|
13056
|
+
"default": "''",
|
|
13057
|
+
"fieldName": "buttonLabel"
|
|
13046
13058
|
},
|
|
13047
13059
|
{
|
|
13048
|
-
"name": "
|
|
13049
|
-
"fieldName": "_checkedAttribute",
|
|
13060
|
+
"name": "show-close",
|
|
13050
13061
|
"type": {
|
|
13051
13062
|
"text": "boolean"
|
|
13052
13063
|
},
|
|
13053
13064
|
"default": "false",
|
|
13054
|
-
"
|
|
13055
|
-
"name": "UmSelectionControl",
|
|
13056
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
13057
|
-
}
|
|
13058
|
-
}
|
|
13059
|
-
],
|
|
13060
|
-
"events": [
|
|
13061
|
-
{
|
|
13062
|
-
"name": "input",
|
|
13063
|
-
"type": {
|
|
13064
|
-
"text": "InputEvent"
|
|
13065
|
-
},
|
|
13066
|
-
"inheritedFrom": {
|
|
13067
|
-
"name": "UmSelectionControl",
|
|
13068
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
13069
|
-
}
|
|
13065
|
+
"fieldName": "showClose"
|
|
13070
13066
|
},
|
|
13071
13067
|
{
|
|
13072
|
-
"name": "
|
|
13068
|
+
"name": "dismissed",
|
|
13073
13069
|
"type": {
|
|
13074
|
-
"text": "
|
|
13070
|
+
"text": "boolean"
|
|
13075
13071
|
},
|
|
13076
|
-
"
|
|
13077
|
-
|
|
13078
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
13079
|
-
}
|
|
13072
|
+
"default": "false",
|
|
13073
|
+
"fieldName": "dismissed"
|
|
13080
13074
|
}
|
|
13081
|
-
]
|
|
13075
|
+
],
|
|
13076
|
+
"superclass": {
|
|
13077
|
+
"name": "LitElement",
|
|
13078
|
+
"package": "lit"
|
|
13079
|
+
},
|
|
13080
|
+
"tagName": "u-snackbar",
|
|
13081
|
+
"customElement": true
|
|
13082
13082
|
}
|
|
13083
13083
|
],
|
|
13084
13084
|
"exports": [
|
|
13085
13085
|
{
|
|
13086
13086
|
"kind": "js",
|
|
13087
|
-
"name": "
|
|
13087
|
+
"name": "UmSnackbar",
|
|
13088
13088
|
"declaration": {
|
|
13089
|
-
"name": "
|
|
13090
|
-
"module": "src/
|
|
13089
|
+
"name": "UmSnackbar",
|
|
13090
|
+
"module": "src/snackbar/snackbar.ts"
|
|
13091
13091
|
}
|
|
13092
13092
|
},
|
|
13093
13093
|
{
|
|
13094
13094
|
"kind": "custom-element-definition",
|
|
13095
|
-
"name": "u-
|
|
13095
|
+
"name": "u-snackbar",
|
|
13096
13096
|
"declaration": {
|
|
13097
|
-
"name": "
|
|
13098
|
-
"module": "src/
|
|
13097
|
+
"name": "UmSnackbar",
|
|
13098
|
+
"module": "src/snackbar/snackbar.ts"
|
|
13099
13099
|
}
|
|
13100
13100
|
}
|
|
13101
13101
|
]
|
|
@@ -13247,6 +13247,15 @@
|
|
|
13247
13247
|
{
|
|
13248
13248
|
"kind": "method",
|
|
13249
13249
|
"name": "_setScrollIndicatorsActive"
|
|
13250
|
+
},
|
|
13251
|
+
{
|
|
13252
|
+
"kind": "method",
|
|
13253
|
+
"name": "#attach",
|
|
13254
|
+
"return": {
|
|
13255
|
+
"type": {
|
|
13256
|
+
"text": "Promise<void>"
|
|
13257
|
+
}
|
|
13258
|
+
}
|
|
13250
13259
|
}
|
|
13251
13260
|
],
|
|
13252
13261
|
"attributes": [
|
|
@@ -15930,7 +15939,7 @@
|
|
|
15930
15939
|
{
|
|
15931
15940
|
"kind": "variable",
|
|
15932
15941
|
"name": "styles",
|
|
15933
|
-
"default": "css `\n :host {\n --_state-layer-padding: var(--u--state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u--indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u--disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u--indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n`"
|
|
15942
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u--state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n pointer-events: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u--indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u--disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u--indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n`"
|
|
15934
15943
|
}
|
|
15935
15944
|
],
|
|
15936
15945
|
"exports": [
|