@universal-material/web 3.0.85 → 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.
@@ -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": [
@@ -8838,6 +8838,243 @@
8838
8838
  }
8839
8839
  ]
8840
8840
  },
8841
+ {
8842
+ "kind": "javascript-module",
8843
+ "path": "src/progress/circular-progress.styles.ts",
8844
+ "declarations": [
8845
+ {
8846
+ "kind": "variable",
8847
+ "name": "styles",
8848
+ "default": "css `\n :host {\n position: relative;\n display: inline-block;\n width: var(--_size);\n height: var(--_size);\n margin-inline: auto;\n --_size: var(--u-circular-progress-size, 3rem);\n }\n\n .circular {\n width: 100%;\n height: 100%;\n transform: rotate(-90deg);\n transform-origin: center;\n }\n .circular.indeterminate {\n position: relative;\n animation: rotate 2s linear infinite;\n }\n .circular:not(.indeterminate) .path {\n transition: stroke-dashoffset 200ms linear;\n }\n\n .path {\n stroke-linecap: round;\n stroke: var(--u-circular-progress-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n position: absolute;\n inset: 0;\n }\n .track .path {\n stroke: var(--u-circular-progress-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n\n .indeterminate .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n .on-going {\n transform: rotate(-80deg);\n }\n .on-going.track {\n transform: rotate(-100deg);\n }\n\n @keyframes rotate {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124;\n }\n }\n`"
8849
+ }
8850
+ ],
8851
+ "exports": [
8852
+ {
8853
+ "kind": "js",
8854
+ "name": "styles",
8855
+ "declaration": {
8856
+ "name": "styles",
8857
+ "module": "src/progress/circular-progress.styles.ts"
8858
+ }
8859
+ }
8860
+ ]
8861
+ },
8862
+ {
8863
+ "kind": "javascript-module",
8864
+ "path": "src/progress/circular-progress.ts",
8865
+ "declarations": [
8866
+ {
8867
+ "kind": "class",
8868
+ "description": "",
8869
+ "name": "UmCircularProgress",
8870
+ "members": [
8871
+ {
8872
+ "kind": "field",
8873
+ "name": "value",
8874
+ "type": {
8875
+ "text": "number | undefined"
8876
+ },
8877
+ "attribute": "value"
8878
+ },
8879
+ {
8880
+ "kind": "field",
8881
+ "name": "max",
8882
+ "type": {
8883
+ "text": "number"
8884
+ },
8885
+ "default": "1",
8886
+ "attribute": "max"
8887
+ },
8888
+ {
8889
+ "kind": "method",
8890
+ "name": "#renderCircle",
8891
+ "return": {
8892
+ "type": {
8893
+ "text": "TemplateResult"
8894
+ }
8895
+ },
8896
+ "parameters": [
8897
+ {
8898
+ "name": "className",
8899
+ "type": {
8900
+ "text": "string"
8901
+ }
8902
+ }
8903
+ ]
8904
+ },
8905
+ {
8906
+ "kind": "method",
8907
+ "name": "#renderIndeterminate",
8908
+ "return": {
8909
+ "type": {
8910
+ "text": "TemplateResult"
8911
+ }
8912
+ }
8913
+ },
8914
+ {
8915
+ "kind": "method",
8916
+ "name": "#renderDeterminate",
8917
+ "return": {
8918
+ "type": {
8919
+ "text": "TemplateResult"
8920
+ }
8921
+ }
8922
+ }
8923
+ ],
8924
+ "attributes": [
8925
+ {
8926
+ "name": "value",
8927
+ "type": {
8928
+ "text": "number | undefined"
8929
+ },
8930
+ "fieldName": "value"
8931
+ },
8932
+ {
8933
+ "name": "max",
8934
+ "type": {
8935
+ "text": "number"
8936
+ },
8937
+ "default": "1",
8938
+ "fieldName": "max"
8939
+ }
8940
+ ],
8941
+ "superclass": {
8942
+ "name": "LitElement",
8943
+ "package": "lit"
8944
+ },
8945
+ "tagName": "u-circular-progress",
8946
+ "customElement": true
8947
+ }
8948
+ ],
8949
+ "exports": [
8950
+ {
8951
+ "kind": "js",
8952
+ "name": "UmCircularProgress",
8953
+ "declaration": {
8954
+ "name": "UmCircularProgress",
8955
+ "module": "src/progress/circular-progress.ts"
8956
+ }
8957
+ },
8958
+ {
8959
+ "kind": "custom-element-definition",
8960
+ "name": "u-circular-progress",
8961
+ "declaration": {
8962
+ "name": "UmCircularProgress",
8963
+ "module": "src/progress/circular-progress.ts"
8964
+ }
8965
+ }
8966
+ ]
8967
+ },
8968
+ {
8969
+ "kind": "javascript-module",
8970
+ "path": "src/progress/progress-bar.styles.ts",
8971
+ "declarations": [
8972
+ {
8973
+ "kind": "variable",
8974
+ "name": "styles",
8975
+ "default": "css `\n :host {\n --_border-radius: var(--u-progress-bar-border-radius, var(--u-shape-corner-full, 9999px));\n --_height: var(--u-progress-bar-height, 4px);\n }\n\n :host,\n .determinate,\n .indeterminate {\n overflow: hidden;\n border-radius: var(--_border-radius);\n }\n\n .determinate,\n .indeterminate {\n display: flex;\n gap: 4px;\n }\n\n .indeterminate {\n flex: 1;\n margin-inline: -8px;\n border-radius: var(--_border-radius);\n }\n\n .determinate {\n margin-inline-end: -4px;\n }\n .determinate .bar {\n transition: flex-basis 200ms linear;\n }\n\n .last {\n flex-shrink: 1;\n flex-basis: 100%;\n animation: last 2.1s infinite linear;\n }\n\n .slow {\n animation: slow 2.1s infinite linear;\n }\n\n .middle {\n animation: middle 2.1s infinite linear;\n }\n\n .fast {\n animation: fast 2.1s infinite linear;\n }\n\n .first {\n animation: first 2.1s infinite linear;\n }\n\n .bar {\n height: var(--_height);\n border-radius: var(--_border-radius);\n background: var(--u-progress-bar-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n background: var(--u-progress-bar-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n flex-shrink: 1;\n }\n\n @keyframes slow {\n 0% {\n flex-basis: 0;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 100%;\n }\n 30% {\n flex-basis: 0;\n }\n }\n @keyframes last {\n 0% {\n flex-basis: 100%;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 0;\n }\n 100% {\n flex-basis: 0;\n }\n }\n @keyframes middle {\n 10% {\n flex-basis: 0;\n }\n 20% {\n flex-basis: 100%;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 0;\n }\n }\n @keyframes fast {\n 0% {\n flex-basis: 0;\n }\n 25% {\n flex-basis: 0;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 100%;\n }\n 55% {\n flex-basis: 0;\n }\n }\n @keyframes first {\n 35% {\n flex-basis: 0;\n }\n 45% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n @keyframes fast-bar-pre {\n 0% {\n flex-basis: 0;\n }\n 60% {\n flex-basis: 0;\n }\n 90% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n`"
8976
+ }
8977
+ ],
8978
+ "exports": [
8979
+ {
8980
+ "kind": "js",
8981
+ "name": "styles",
8982
+ "declaration": {
8983
+ "name": "styles",
8984
+ "module": "src/progress/progress-bar.styles.ts"
8985
+ }
8986
+ }
8987
+ ]
8988
+ },
8989
+ {
8990
+ "kind": "javascript-module",
8991
+ "path": "src/progress/progress-bar.ts",
8992
+ "declarations": [
8993
+ {
8994
+ "kind": "class",
8995
+ "description": "",
8996
+ "name": "UmProgressBar",
8997
+ "members": [
8998
+ {
8999
+ "kind": "field",
9000
+ "name": "value",
9001
+ "type": {
9002
+ "text": "number | undefined"
9003
+ },
9004
+ "attribute": "value"
9005
+ },
9006
+ {
9007
+ "kind": "field",
9008
+ "name": "max",
9009
+ "type": {
9010
+ "text": "number"
9011
+ },
9012
+ "default": "1",
9013
+ "attribute": "max"
9014
+ },
9015
+ {
9016
+ "kind": "method",
9017
+ "name": "#renderIndeterminate",
9018
+ "return": {
9019
+ "type": {
9020
+ "text": "TemplateResult"
9021
+ }
9022
+ }
9023
+ },
9024
+ {
9025
+ "kind": "method",
9026
+ "name": "#renderDeterminate",
9027
+ "return": {
9028
+ "type": {
9029
+ "text": "TemplateResult"
9030
+ }
9031
+ }
9032
+ }
9033
+ ],
9034
+ "attributes": [
9035
+ {
9036
+ "name": "value",
9037
+ "type": {
9038
+ "text": "number | undefined"
9039
+ },
9040
+ "fieldName": "value"
9041
+ },
9042
+ {
9043
+ "name": "max",
9044
+ "type": {
9045
+ "text": "number"
9046
+ },
9047
+ "default": "1",
9048
+ "fieldName": "max"
9049
+ }
9050
+ ],
9051
+ "superclass": {
9052
+ "name": "LitElement",
9053
+ "package": "lit"
9054
+ },
9055
+ "tagName": "u-progress-bar",
9056
+ "customElement": true
9057
+ }
9058
+ ],
9059
+ "exports": [
9060
+ {
9061
+ "kind": "js",
9062
+ "name": "UmProgressBar",
9063
+ "declaration": {
9064
+ "name": "UmProgressBar",
9065
+ "module": "src/progress/progress-bar.ts"
9066
+ }
9067
+ },
9068
+ {
9069
+ "kind": "custom-element-definition",
9070
+ "name": "u-progress-bar",
9071
+ "declaration": {
9072
+ "name": "UmProgressBar",
9073
+ "module": "src/progress/progress-bar.ts"
9074
+ }
9075
+ }
9076
+ ]
9077
+ },
8841
9078
  {
8842
9079
  "kind": "javascript-module",
8843
9080
  "path": "src/radio/radio-list-item.ts",
@@ -9239,7 +9476,7 @@
9239
9476
  {
9240
9477
  "kind": "variable",
9241
9478
  "name": "styles",
9242
- "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`"
9243
9480
  }
9244
9481
  ],
9245
9482
  "exports": [
@@ -9593,12 +9830,24 @@
9593
9830
  },
9594
9831
  {
9595
9832
  "kind": "javascript-module",
9596
- "path": "src/progress/circular-progress.styles.ts",
9833
+ "path": "src/select/extended-option.ts",
9834
+ "declarations": [],
9835
+ "exports": []
9836
+ },
9837
+ {
9838
+ "kind": "javascript-module",
9839
+ "path": "src/select/extended-select.ts",
9840
+ "declarations": [],
9841
+ "exports": []
9842
+ },
9843
+ {
9844
+ "kind": "javascript-module",
9845
+ "path": "src/select/option.styles.ts",
9597
9846
  "declarations": [
9598
9847
  {
9599
9848
  "kind": "variable",
9600
9849
  "name": "styles",
9601
- "default": "css `\n :host {\n position: relative;\n display: inline-block;\n width: var(--_size);\n height: var(--_size);\n margin-inline: auto;\n --_size: var(--u-circular-progress-size, 3rem);\n }\n\n .circular {\n width: 100%;\n height: 100%;\n transform: rotate(-90deg);\n transform-origin: center;\n }\n .circular.indeterminate {\n position: relative;\n animation: rotate 2s linear infinite;\n }\n .circular:not(.indeterminate) .path {\n transition: stroke-dashoffset 200ms linear;\n }\n\n .path {\n stroke-linecap: round;\n stroke: var(--u-circular-progress-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n position: absolute;\n inset: 0;\n }\n .track .path {\n stroke: var(--u-circular-progress-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n\n .indeterminate .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n .on-going {\n transform: rotate(-80deg);\n }\n .on-going.track {\n transform: rotate(-100deg);\n }\n\n @keyframes rotate {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124;\n }\n }\n`"
9850
+ "default": "css `\n :host(.selected) {\n background-color: var(--u-select-option-selected-bg-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n }\n :host(.selected) .icon,\n :host(.selected) .content {\n color: var(--u-select-option-selected-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host(:not(.selected):not([has-trailing-icon])) .trailing {\n display: none;\n }\n`"
9602
9851
  }
9603
9852
  ],
9604
9853
  "exports": [
@@ -9607,309 +9856,428 @@
9607
9856
  "name": "styles",
9608
9857
  "declaration": {
9609
9858
  "name": "styles",
9610
- "module": "src/progress/circular-progress.styles.ts"
9859
+ "module": "src/select/option.styles.ts"
9611
9860
  }
9612
9861
  }
9613
9862
  ]
9614
9863
  },
9615
9864
  {
9616
9865
  "kind": "javascript-module",
9617
- "path": "src/progress/circular-progress.ts",
9866
+ "path": "src/select/option.ts",
9618
9867
  "declarations": [
9619
9868
  {
9620
9869
  "kind": "class",
9621
9870
  "description": "",
9622
- "name": "UmCircularProgress",
9871
+ "name": "UmOption",
9623
9872
  "members": [
9624
9873
  {
9625
9874
  "kind": "field",
9626
- "name": "value",
9875
+ "name": "_nativeOption",
9627
9876
  "type": {
9628
- "text": "number | undefined"
9877
+ "text": "ExtendedOption"
9878
+ }
9879
+ },
9880
+ {
9881
+ "kind": "field",
9882
+ "name": "_listItem"
9883
+ },
9884
+ {
9885
+ "kind": "field",
9886
+ "name": "#mutationObserver",
9887
+ "privacy": "private",
9888
+ "type": {
9889
+ "text": "MutationObserver"
9629
9890
  },
9630
- "attribute": "value"
9891
+ "default": "new MutationObserver(() => this.#updateContent())"
9631
9892
  },
9632
9893
  {
9633
9894
  "kind": "field",
9634
- "name": "max",
9895
+ "name": "value",
9635
9896
  "type": {
9636
- "text": "number"
9897
+ "text": "string"
9637
9898
  },
9638
- "default": "1",
9639
- "attribute": "max"
9899
+ "attribute": "value",
9900
+ "reflects": true
9901
+ },
9902
+ {
9903
+ "kind": "field",
9904
+ "name": "selected",
9905
+ "type": {
9906
+ "text": "boolean"
9907
+ }
9640
9908
  },
9641
9909
  {
9642
9910
  "kind": "method",
9643
- "name": "#renderCircle",
9911
+ "name": "renderDefaultTrailingIcon",
9912
+ "privacy": "protected",
9644
9913
  "return": {
9645
9914
  "type": {
9646
9915
  "text": "TemplateResult"
9647
9916
  }
9648
9917
  },
9918
+ "inheritedFrom": {
9919
+ "name": "UmMenuItem",
9920
+ "module": "src/menu/menu-item.ts"
9921
+ }
9922
+ },
9923
+ {
9924
+ "kind": "field",
9925
+ "name": "_selectedAttribute",
9926
+ "type": {
9927
+ "text": "boolean"
9928
+ },
9929
+ "privacy": "private",
9930
+ "attribute": "selected"
9931
+ },
9932
+ {
9933
+ "kind": "field",
9934
+ "name": "_select",
9935
+ "type": {
9936
+ "text": "UmSelect | null"
9937
+ }
9938
+ },
9939
+ {
9940
+ "kind": "method",
9941
+ "name": "#attach",
9942
+ "return": {
9943
+ "type": {
9944
+ "text": "Promise<void>"
9945
+ }
9946
+ }
9947
+ },
9948
+ {
9949
+ "kind": "method",
9950
+ "name": "#handleClick",
9649
9951
  "parameters": [
9650
9952
  {
9651
- "name": "className",
9953
+ "name": "e",
9652
9954
  "type": {
9653
- "text": "string"
9955
+ "text": "Event"
9654
9956
  }
9655
9957
  }
9656
9958
  ]
9657
9959
  },
9658
9960
  {
9659
9961
  "kind": "method",
9660
- "name": "#renderIndeterminate",
9661
- "return": {
9662
- "type": {
9663
- "text": "TemplateResult"
9664
- }
9665
- }
9962
+ "name": "setSelectedByUser"
9666
9963
  },
9667
9964
  {
9668
9965
  "kind": "method",
9669
- "name": "#renderDeterminate",
9966
+ "name": "#updateContent"
9967
+ },
9968
+ {
9969
+ "kind": "method",
9970
+ "name": "#setNativeOption",
9670
9971
  "return": {
9671
9972
  "type": {
9672
- "text": "TemplateResult"
9973
+ "text": "Promise<void>"
9673
9974
  }
9674
9975
  }
9675
- }
9676
- ],
9677
- "attributes": [
9976
+ },
9678
9977
  {
9679
- "name": "value",
9978
+ "kind": "field",
9979
+ "name": "#active",
9980
+ "privacy": "private",
9680
9981
  "type": {
9681
- "text": "number | undefined"
9982
+ "text": "boolean"
9682
9983
  },
9683
- "fieldName": "value"
9984
+ "default": "false",
9985
+ "inheritedFrom": {
9986
+ "name": "UmMenuItem",
9987
+ "module": "src/menu/menu-item.ts"
9988
+ }
9684
9989
  },
9685
9990
  {
9686
- "name": "max",
9991
+ "kind": "field",
9992
+ "name": "active",
9687
9993
  "type": {
9688
- "text": "number"
9994
+ "text": "boolean"
9689
9995
  },
9690
- "default": "1",
9691
- "fieldName": "max"
9692
- }
9693
- ],
9694
- "superclass": {
9695
- "name": "LitElement",
9696
- "package": "lit"
9697
- },
9698
- "tagName": "u-circular-progress",
9699
- "customElement": true
9700
- }
9701
- ],
9702
- "exports": [
9703
- {
9704
- "kind": "js",
9705
- "name": "UmCircularProgress",
9706
- "declaration": {
9707
- "name": "UmCircularProgress",
9708
- "module": "src/progress/circular-progress.ts"
9709
- }
9710
- },
9711
- {
9712
- "kind": "custom-element-definition",
9713
- "name": "u-circular-progress",
9714
- "declaration": {
9715
- "name": "UmCircularProgress",
9716
- "module": "src/progress/circular-progress.ts"
9717
- }
9718
- }
9719
- ]
9720
- },
9721
- {
9722
- "kind": "javascript-module",
9723
- "path": "src/progress/progress-bar.styles.ts",
9724
- "declarations": [
9725
- {
9726
- "kind": "variable",
9727
- "name": "styles",
9728
- "default": "css `\n :host {\n --_border-radius: var(--u-progress-bar-border-radius, var(--u-shape-corner-full, 9999px));\n --_height: var(--u-progress-bar-height, 4px);\n }\n\n :host,\n .determinate,\n .indeterminate {\n overflow: hidden;\n border-radius: var(--_border-radius);\n }\n\n .determinate,\n .indeterminate {\n display: flex;\n gap: 4px;\n }\n\n .indeterminate {\n flex: 1;\n margin-inline: -8px;\n border-radius: var(--_border-radius);\n }\n\n .determinate {\n margin-inline-end: -4px;\n }\n .determinate .bar {\n transition: flex-basis 200ms linear;\n }\n\n .last {\n flex-shrink: 1;\n flex-basis: 100%;\n animation: last 2.1s infinite linear;\n }\n\n .slow {\n animation: slow 2.1s infinite linear;\n }\n\n .middle {\n animation: middle 2.1s infinite linear;\n }\n\n .fast {\n animation: fast 2.1s infinite linear;\n }\n\n .first {\n animation: first 2.1s infinite linear;\n }\n\n .bar {\n height: var(--_height);\n border-radius: var(--_border-radius);\n background: var(--u-progress-bar-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n background: var(--u-progress-bar-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n flex-shrink: 1;\n }\n\n @keyframes slow {\n 0% {\n flex-basis: 0;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 100%;\n }\n 30% {\n flex-basis: 0;\n }\n }\n @keyframes last {\n 0% {\n flex-basis: 100%;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 0;\n }\n 100% {\n flex-basis: 0;\n }\n }\n @keyframes middle {\n 10% {\n flex-basis: 0;\n }\n 20% {\n flex-basis: 100%;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 0;\n }\n }\n @keyframes fast {\n 0% {\n flex-basis: 0;\n }\n 25% {\n flex-basis: 0;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 100%;\n }\n 55% {\n flex-basis: 0;\n }\n }\n @keyframes first {\n 35% {\n flex-basis: 0;\n }\n 45% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n @keyframes fast-bar-pre {\n 0% {\n flex-basis: 0;\n }\n 60% {\n flex-basis: 0;\n }\n 90% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n`"
9729
- }
9730
- ],
9731
- "exports": [
9732
- {
9733
- "kind": "js",
9734
- "name": "styles",
9735
- "declaration": {
9736
- "name": "styles",
9737
- "module": "src/progress/progress-bar.styles.ts"
9738
- }
9739
- }
9740
- ]
9741
- },
9742
- {
9743
- "kind": "javascript-module",
9744
- "path": "src/progress/progress-bar.ts",
9745
- "declarations": [
9746
- {
9747
- "kind": "class",
9748
- "description": "",
9749
- "name": "UmProgressBar",
9750
- "members": [
9996
+ "description": "Force show focus ring",
9997
+ "attribute": "active",
9998
+ "reflects": true,
9999
+ "inheritedFrom": {
10000
+ "name": "UmMenuItem",
10001
+ "module": "src/menu/menu-item.ts"
10002
+ }
10003
+ },
9751
10004
  {
9752
10005
  "kind": "field",
9753
- "name": "value",
10006
+ "name": "hasLeadingIcon",
9754
10007
  "type": {
9755
- "text": "number | undefined"
10008
+ "text": "boolean"
9756
10009
  },
9757
- "attribute": "value"
10010
+ "default": "false",
10011
+ "description": "Whether the menu item has leading icon or not\n\n_Note:_ Readonly",
10012
+ "attribute": "has-leading-icon",
10013
+ "reflects": true,
10014
+ "inheritedFrom": {
10015
+ "name": "UmMenuItem",
10016
+ "module": "src/menu/menu-item.ts"
10017
+ }
9758
10018
  },
9759
10019
  {
9760
10020
  "kind": "field",
9761
- "name": "max",
10021
+ "name": "hasTrailingIcon",
9762
10022
  "type": {
9763
- "text": "number"
10023
+ "text": "boolean"
9764
10024
  },
9765
- "default": "1",
9766
- "attribute": "max"
10025
+ "default": "false",
10026
+ "description": "Whether the menu item has trailing icon or not\n\n_Note:_ Readonly",
10027
+ "attribute": "has-trailing-icon",
10028
+ "reflects": true,
10029
+ "inheritedFrom": {
10030
+ "name": "UmMenuItem",
10031
+ "module": "src/menu/menu-item.ts"
10032
+ }
10033
+ },
10034
+ {
10035
+ "kind": "field",
10036
+ "name": "hasBadge",
10037
+ "type": {
10038
+ "text": "boolean"
10039
+ },
10040
+ "default": "false",
10041
+ "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
10042
+ "attribute": "has-badge",
10043
+ "reflects": true,
10044
+ "inheritedFrom": {
10045
+ "name": "UmMenuItem",
10046
+ "module": "src/menu/menu-item.ts"
10047
+ }
10048
+ },
10049
+ {
10050
+ "kind": "field",
10051
+ "name": "innerRole",
10052
+ "type": {
10053
+ "text": "string | null"
10054
+ },
10055
+ "privacy": "protected",
10056
+ "default": "'menuitem'",
10057
+ "inheritedFrom": {
10058
+ "name": "UmButtonWrapper",
10059
+ "module": "src/shared/button-wrapper.ts"
10060
+ }
10061
+ },
10062
+ {
10063
+ "kind": "field",
10064
+ "name": "#handleMouseEnter",
10065
+ "privacy": "private",
10066
+ "inheritedFrom": {
10067
+ "name": "UmMenuItem",
10068
+ "module": "src/menu/menu-item.ts"
10069
+ }
9767
10070
  },
9768
10071
  {
9769
10072
  "kind": "method",
9770
- "name": "#renderIndeterminate",
10073
+ "name": "renderContent",
10074
+ "privacy": "protected",
9771
10075
  "return": {
9772
10076
  "type": {
9773
- "text": "TemplateResult"
10077
+ "text": "HTMLTemplateResult"
9774
10078
  }
10079
+ },
10080
+ "inheritedFrom": {
10081
+ "name": "UmButtonWrapper",
10082
+ "module": "src/shared/button-wrapper.ts"
9775
10083
  }
9776
10084
  },
9777
10085
  {
9778
10086
  "kind": "method",
9779
- "name": "#renderDeterminate",
9780
- "return": {
9781
- "type": {
9782
- "text": "TemplateResult"
10087
+ "name": "#handleLeadingIconSlotChange",
10088
+ "parameters": [
10089
+ {
10090
+ "name": "e",
10091
+ "type": {
10092
+ "text": "Event"
10093
+ }
9783
10094
  }
10095
+ ],
10096
+ "inheritedFrom": {
10097
+ "name": "UmMenuItem",
10098
+ "module": "src/menu/menu-item.ts"
9784
10099
  }
9785
- }
9786
- ],
9787
- "attributes": [
10100
+ },
9788
10101
  {
9789
- "name": "value",
10102
+ "kind": "method",
10103
+ "name": "#handleTrailingIconSlotChange",
10104
+ "parameters": [
10105
+ {
10106
+ "name": "e",
10107
+ "type": {
10108
+ "text": "Event"
10109
+ }
10110
+ }
10111
+ ],
10112
+ "inheritedFrom": {
10113
+ "name": "UmMenuItem",
10114
+ "module": "src/menu/menu-item.ts"
10115
+ }
10116
+ },
10117
+ {
10118
+ "kind": "field",
10119
+ "name": "disabled",
9790
10120
  "type": {
9791
- "text": "number | undefined"
10121
+ "text": "boolean"
9792
10122
  },
9793
- "fieldName": "value"
10123
+ "default": "false",
10124
+ "description": "Whether the button is disabled or not.",
10125
+ "attribute": "disabled",
10126
+ "reflects": true,
10127
+ "inheritedFrom": {
10128
+ "name": "UmButtonWrapper",
10129
+ "module": "src/shared/button-wrapper.ts"
10130
+ }
9794
10131
  },
9795
10132
  {
9796
- "name": "max",
10133
+ "kind": "field",
10134
+ "name": "renderRipple",
9797
10135
  "type": {
9798
- "text": "number"
10136
+ "text": "boolean"
9799
10137
  },
9800
- "default": "1",
9801
- "fieldName": "max"
9802
- }
9803
- ],
9804
- "superclass": {
9805
- "name": "LitElement",
9806
- "package": "lit"
9807
- },
9808
- "tagName": "u-progress-bar",
9809
- "customElement": true
9810
- }
9811
- ],
9812
- "exports": [
9813
- {
9814
- "kind": "js",
9815
- "name": "UmProgressBar",
9816
- "declaration": {
9817
- "name": "UmProgressBar",
9818
- "module": "src/progress/progress-bar.ts"
9819
- }
9820
- },
9821
- {
9822
- "kind": "custom-element-definition",
9823
- "name": "u-progress-bar",
9824
- "declaration": {
9825
- "name": "UmProgressBar",
9826
- "module": "src/progress/progress-bar.ts"
9827
- }
9828
- }
9829
- ]
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": [
10138
+ "default": "true",
10139
+ "inheritedFrom": {
10140
+ "name": "UmButtonWrapper",
10141
+ "module": "src/shared/button-wrapper.ts"
10142
+ }
10143
+ },
9861
10144
  {
9862
10145
  "kind": "field",
9863
- "name": "isTouching",
10146
+ "name": "href",
9864
10147
  "type": {
9865
- "text": "boolean"
10148
+ "text": "string | undefined"
9866
10149
  },
9867
- "privacy": "private",
9868
- "default": "false"
10150
+ "description": "The URL that the link button points to.",
10151
+ "attribute": "href",
10152
+ "inheritedFrom": {
10153
+ "name": "UmButtonWrapper",
10154
+ "module": "src/shared/button-wrapper.ts"
10155
+ }
9869
10156
  },
9870
10157
  {
9871
10158
  "kind": "field",
9872
- "name": "disabled",
10159
+ "name": "target",
9873
10160
  "type": {
9874
- "text": "boolean"
10161
+ "text": "string | undefined"
9875
10162
  },
9876
- "default": "false",
9877
- "description": "Disables the ripple.",
9878
- "attribute": "disabled",
9879
- "reflects": true
10163
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
10164
+ "attribute": "target",
10165
+ "inheritedFrom": {
10166
+ "name": "UmButtonWrapper",
10167
+ "module": "src/shared/button-wrapper.ts"
10168
+ }
9880
10169
  },
9881
10170
  {
9882
10171
  "kind": "field",
9883
- "name": "rippleContainer",
10172
+ "name": "name",
10173
+ "type": {
10174
+ "text": "string | undefined"
10175
+ },
10176
+ "attribute": "name",
10177
+ "inheritedFrom": {
10178
+ "name": "UmButtonWrapper",
10179
+ "module": "src/shared/button-wrapper.ts"
10180
+ }
10181
+ },
10182
+ {
10183
+ "kind": "field",
10184
+ "name": "buttonElement",
9884
10185
  "type": {
9885
10186
  "text": "HTMLElement"
9886
10187
  },
9887
- "privacy": "private"
10188
+ "inheritedFrom": {
10189
+ "name": "UmButtonWrapper",
10190
+ "module": "src/shared/button-wrapper.ts"
10191
+ }
10192
+ },
10193
+ {
10194
+ "kind": "field",
10195
+ "name": "ripple",
10196
+ "type": {
10197
+ "text": "UmRipple"
10198
+ },
10199
+ "privacy": "private",
10200
+ "inheritedFrom": {
10201
+ "name": "UmButtonWrapper",
10202
+ "module": "src/shared/button-wrapper.ts"
10203
+ }
10204
+ },
10205
+ {
10206
+ "kind": "field",
10207
+ "name": "pathname",
10208
+ "type": {
10209
+ "text": "string"
10210
+ },
10211
+ "inheritedFrom": {
10212
+ "name": "UmButtonWrapper",
10213
+ "module": "src/shared/button-wrapper.ts"
10214
+ }
9888
10215
  },
9889
10216
  {
9890
10217
  "kind": "method",
9891
- "name": "attachEvents",
10218
+ "name": "renderButton",
10219
+ "privacy": "private",
10220
+ "inheritedFrom": {
10221
+ "name": "UmButtonWrapper",
10222
+ "module": "src/shared/button-wrapper.ts"
10223
+ }
10224
+ },
10225
+ {
10226
+ "kind": "method",
10227
+ "name": "renderLink",
9892
10228
  "privacy": "private",
10229
+ "inheritedFrom": {
10230
+ "name": "UmButtonWrapper",
10231
+ "module": "src/shared/button-wrapper.ts"
10232
+ }
10233
+ },
10234
+ {
10235
+ "kind": "method",
10236
+ "name": "focus",
10237
+ "inheritedFrom": {
10238
+ "name": "UmButtonWrapper",
10239
+ "module": "src/shared/button-wrapper.ts"
10240
+ }
10241
+ },
10242
+ {
10243
+ "kind": "method",
10244
+ "name": "blur",
10245
+ "inheritedFrom": {
10246
+ "name": "UmButtonWrapper",
10247
+ "module": "src/shared/button-wrapper.ts"
10248
+ }
10249
+ },
10250
+ {
10251
+ "kind": "method",
10252
+ "name": "getAriaLabel",
10253
+ "privacy": "protected",
9893
10254
  "return": {
9894
10255
  "type": {
9895
- "text": "void"
10256
+ "text": "string | null"
9896
10257
  }
10258
+ },
10259
+ "inheritedFrom": {
10260
+ "name": "UmButtonWrapper",
10261
+ "module": "src/shared/button-wrapper.ts"
9897
10262
  }
9898
10263
  },
9899
10264
  {
9900
10265
  "kind": "method",
9901
- "name": "dettachEvents",
10266
+ "name": "innerFocusHandler",
9902
10267
  "privacy": "private",
9903
10268
  "return": {
9904
10269
  "type": {
9905
10270
  "text": "void"
9906
10271
  }
10272
+ },
10273
+ "inheritedFrom": {
10274
+ "name": "UmButtonWrapper",
10275
+ "module": "src/shared/button-wrapper.ts"
9907
10276
  }
9908
10277
  },
9909
10278
  {
9910
10279
  "kind": "method",
9911
- "name": "handleMouseDown",
9912
- "privacy": "private",
10280
+ "name": "#innerClickHandler",
9913
10281
  "return": {
9914
10282
  "type": {
9915
10283
  "text": "void"
@@ -9917,17 +10285,21 @@
9917
10285
  },
9918
10286
  "parameters": [
9919
10287
  {
9920
- "name": "e",
10288
+ "name": "event",
9921
10289
  "type": {
9922
10290
  "text": "MouseEvent"
9923
10291
  }
9924
10292
  }
9925
- ]
10293
+ ],
10294
+ "inheritedFrom": {
10295
+ "name": "UmButtonWrapper",
10296
+ "module": "src/shared/button-wrapper.ts"
10297
+ }
9926
10298
  },
9927
10299
  {
9928
10300
  "kind": "method",
9929
- "name": "handleTouchStart",
9930
- "privacy": "private",
10301
+ "name": "handleClick",
10302
+ "privacy": "protected",
9931
10303
  "return": {
9932
10304
  "type": {
9933
10305
  "text": "void"
@@ -9935,620 +10307,9 @@
9935
10307
  },
9936
10308
  "parameters": [
9937
10309
  {
9938
- "name": "e",
10310
+ "name": "_",
9939
10311
  "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
- {
10071
- "kind": "javascript-module",
10072
- "path": "src/select/extended-option.ts",
10073
- "declarations": [],
10074
- "exports": []
10075
- },
10076
- {
10077
- "kind": "javascript-module",
10078
- "path": "src/select/extended-select.ts",
10079
- "declarations": [],
10080
- "exports": []
10081
- },
10082
- {
10083
- "kind": "javascript-module",
10084
- "path": "src/select/option.styles.ts",
10085
- "declarations": [
10086
- {
10087
- "kind": "variable",
10088
- "name": "styles",
10089
- "default": "css `\n :host(.selected) {\n background-color: var(--u-select-option-selected-bg-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n }\n :host(.selected) .icon,\n :host(.selected) .content {\n color: var(--u-select-option-selected-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host(:not(.selected):not([has-trailing-icon])) .trailing {\n display: none;\n }\n`"
10090
- }
10091
- ],
10092
- "exports": [
10093
- {
10094
- "kind": "js",
10095
- "name": "styles",
10096
- "declaration": {
10097
- "name": "styles",
10098
- "module": "src/select/option.styles.ts"
10099
- }
10100
- }
10101
- ]
10102
- },
10103
- {
10104
- "kind": "javascript-module",
10105
- "path": "src/select/option.ts",
10106
- "declarations": [
10107
- {
10108
- "kind": "class",
10109
- "description": "",
10110
- "name": "UmOption",
10111
- "members": [
10112
- {
10113
- "kind": "field",
10114
- "name": "_nativeOption",
10115
- "type": {
10116
- "text": "ExtendedOption"
10117
- }
10118
- },
10119
- {
10120
- "kind": "field",
10121
- "name": "_listItem"
10122
- },
10123
- {
10124
- "kind": "field",
10125
- "name": "#mutationObserver",
10126
- "privacy": "private",
10127
- "type": {
10128
- "text": "MutationObserver"
10129
- },
10130
- "default": "new MutationObserver(() => this.#updateContent())"
10131
- },
10132
- {
10133
- "kind": "field",
10134
- "name": "value",
10135
- "type": {
10136
- "text": "string"
10137
- },
10138
- "attribute": "value",
10139
- "reflects": true
10140
- },
10141
- {
10142
- "kind": "field",
10143
- "name": "selected",
10144
- "type": {
10145
- "text": "boolean"
10146
- }
10147
- },
10148
- {
10149
- "kind": "method",
10150
- "name": "renderDefaultTrailingIcon",
10151
- "privacy": "protected",
10152
- "return": {
10153
- "type": {
10154
- "text": "TemplateResult"
10155
- }
10156
- },
10157
- "inheritedFrom": {
10158
- "name": "UmMenuItem",
10159
- "module": "src/menu/menu-item.ts"
10160
- }
10161
- },
10162
- {
10163
- "kind": "field",
10164
- "name": "_selectedAttribute",
10165
- "type": {
10166
- "text": "boolean"
10167
- },
10168
- "privacy": "private",
10169
- "attribute": "selected"
10170
- },
10171
- {
10172
- "kind": "field",
10173
- "name": "_select",
10174
- "type": {
10175
- "text": "UmSelect | null"
10176
- }
10177
- },
10178
- {
10179
- "kind": "method",
10180
- "name": "#attach",
10181
- "return": {
10182
- "type": {
10183
- "text": "Promise<void>"
10184
- }
10185
- }
10186
- },
10187
- {
10188
- "kind": "method",
10189
- "name": "#handleClick",
10190
- "parameters": [
10191
- {
10192
- "name": "e",
10193
- "type": {
10194
- "text": "Event"
10195
- }
10196
- }
10197
- ]
10198
- },
10199
- {
10200
- "kind": "method",
10201
- "name": "setSelectedByUser"
10202
- },
10203
- {
10204
- "kind": "method",
10205
- "name": "#updateContent"
10206
- },
10207
- {
10208
- "kind": "method",
10209
- "name": "#setNativeOption",
10210
- "return": {
10211
- "type": {
10212
- "text": "Promise<void>"
10213
- }
10214
- }
10215
- },
10216
- {
10217
- "kind": "field",
10218
- "name": "#active",
10219
- "privacy": "private",
10220
- "type": {
10221
- "text": "boolean"
10222
- },
10223
- "default": "false",
10224
- "inheritedFrom": {
10225
- "name": "UmMenuItem",
10226
- "module": "src/menu/menu-item.ts"
10227
- }
10228
- },
10229
- {
10230
- "kind": "field",
10231
- "name": "active",
10232
- "type": {
10233
- "text": "boolean"
10234
- },
10235
- "description": "Force show focus ring",
10236
- "attribute": "active",
10237
- "reflects": true,
10238
- "inheritedFrom": {
10239
- "name": "UmMenuItem",
10240
- "module": "src/menu/menu-item.ts"
10241
- }
10242
- },
10243
- {
10244
- "kind": "field",
10245
- "name": "hasLeadingIcon",
10246
- "type": {
10247
- "text": "boolean"
10248
- },
10249
- "default": "false",
10250
- "description": "Whether the menu item has leading icon or not\n\n_Note:_ Readonly",
10251
- "attribute": "has-leading-icon",
10252
- "reflects": true,
10253
- "inheritedFrom": {
10254
- "name": "UmMenuItem",
10255
- "module": "src/menu/menu-item.ts"
10256
- }
10257
- },
10258
- {
10259
- "kind": "field",
10260
- "name": "hasTrailingIcon",
10261
- "type": {
10262
- "text": "boolean"
10263
- },
10264
- "default": "false",
10265
- "description": "Whether the menu item has trailing icon or not\n\n_Note:_ Readonly",
10266
- "attribute": "has-trailing-icon",
10267
- "reflects": true,
10268
- "inheritedFrom": {
10269
- "name": "UmMenuItem",
10270
- "module": "src/menu/menu-item.ts"
10271
- }
10272
- },
10273
- {
10274
- "kind": "field",
10275
- "name": "hasBadge",
10276
- "type": {
10277
- "text": "boolean"
10278
- },
10279
- "default": "false",
10280
- "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
10281
- "attribute": "has-badge",
10282
- "reflects": true,
10283
- "inheritedFrom": {
10284
- "name": "UmMenuItem",
10285
- "module": "src/menu/menu-item.ts"
10286
- }
10287
- },
10288
- {
10289
- "kind": "field",
10290
- "name": "innerRole",
10291
- "type": {
10292
- "text": "string | null"
10293
- },
10294
- "privacy": "protected",
10295
- "default": "'menuitem'",
10296
- "inheritedFrom": {
10297
- "name": "UmButtonWrapper",
10298
- "module": "src/shared/button-wrapper.ts"
10299
- }
10300
- },
10301
- {
10302
- "kind": "field",
10303
- "name": "#handleMouseEnter",
10304
- "privacy": "private",
10305
- "inheritedFrom": {
10306
- "name": "UmMenuItem",
10307
- "module": "src/menu/menu-item.ts"
10308
- }
10309
- },
10310
- {
10311
- "kind": "method",
10312
- "name": "renderContent",
10313
- "privacy": "protected",
10314
- "return": {
10315
- "type": {
10316
- "text": "HTMLTemplateResult"
10317
- }
10318
- },
10319
- "inheritedFrom": {
10320
- "name": "UmButtonWrapper",
10321
- "module": "src/shared/button-wrapper.ts"
10322
- }
10323
- },
10324
- {
10325
- "kind": "method",
10326
- "name": "#handleLeadingIconSlotChange",
10327
- "parameters": [
10328
- {
10329
- "name": "e",
10330
- "type": {
10331
- "text": "Event"
10332
- }
10333
- }
10334
- ],
10335
- "inheritedFrom": {
10336
- "name": "UmMenuItem",
10337
- "module": "src/menu/menu-item.ts"
10338
- }
10339
- },
10340
- {
10341
- "kind": "method",
10342
- "name": "#handleTrailingIconSlotChange",
10343
- "parameters": [
10344
- {
10345
- "name": "e",
10346
- "type": {
10347
- "text": "Event"
10348
- }
10349
- }
10350
- ],
10351
- "inheritedFrom": {
10352
- "name": "UmMenuItem",
10353
- "module": "src/menu/menu-item.ts"
10354
- }
10355
- },
10356
- {
10357
- "kind": "field",
10358
- "name": "disabled",
10359
- "type": {
10360
- "text": "boolean"
10361
- },
10362
- "default": "false",
10363
- "description": "Whether the button is disabled or not.",
10364
- "attribute": "disabled",
10365
- "reflects": true,
10366
- "inheritedFrom": {
10367
- "name": "UmButtonWrapper",
10368
- "module": "src/shared/button-wrapper.ts"
10369
- }
10370
- },
10371
- {
10372
- "kind": "field",
10373
- "name": "renderRipple",
10374
- "type": {
10375
- "text": "boolean"
10376
- },
10377
- "default": "true",
10378
- "inheritedFrom": {
10379
- "name": "UmButtonWrapper",
10380
- "module": "src/shared/button-wrapper.ts"
10381
- }
10382
- },
10383
- {
10384
- "kind": "field",
10385
- "name": "href",
10386
- "type": {
10387
- "text": "string | undefined"
10388
- },
10389
- "description": "The URL that the link button points to.",
10390
- "attribute": "href",
10391
- "inheritedFrom": {
10392
- "name": "UmButtonWrapper",
10393
- "module": "src/shared/button-wrapper.ts"
10394
- }
10395
- },
10396
- {
10397
- "kind": "field",
10398
- "name": "target",
10399
- "type": {
10400
- "text": "string | undefined"
10401
- },
10402
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
10403
- "attribute": "target",
10404
- "inheritedFrom": {
10405
- "name": "UmButtonWrapper",
10406
- "module": "src/shared/button-wrapper.ts"
10407
- }
10408
- },
10409
- {
10410
- "kind": "field",
10411
- "name": "name",
10412
- "type": {
10413
- "text": "string | undefined"
10414
- },
10415
- "attribute": "name",
10416
- "inheritedFrom": {
10417
- "name": "UmButtonWrapper",
10418
- "module": "src/shared/button-wrapper.ts"
10419
- }
10420
- },
10421
- {
10422
- "kind": "field",
10423
- "name": "buttonElement",
10424
- "type": {
10425
- "text": "HTMLElement"
10426
- },
10427
- "inheritedFrom": {
10428
- "name": "UmButtonWrapper",
10429
- "module": "src/shared/button-wrapper.ts"
10430
- }
10431
- },
10432
- {
10433
- "kind": "field",
10434
- "name": "ripple",
10435
- "type": {
10436
- "text": "UmRipple"
10437
- },
10438
- "privacy": "private",
10439
- "inheritedFrom": {
10440
- "name": "UmButtonWrapper",
10441
- "module": "src/shared/button-wrapper.ts"
10442
- }
10443
- },
10444
- {
10445
- "kind": "field",
10446
- "name": "pathname",
10447
- "type": {
10448
- "text": "string"
10449
- },
10450
- "inheritedFrom": {
10451
- "name": "UmButtonWrapper",
10452
- "module": "src/shared/button-wrapper.ts"
10453
- }
10454
- },
10455
- {
10456
- "kind": "method",
10457
- "name": "renderButton",
10458
- "privacy": "private",
10459
- "inheritedFrom": {
10460
- "name": "UmButtonWrapper",
10461
- "module": "src/shared/button-wrapper.ts"
10462
- }
10463
- },
10464
- {
10465
- "kind": "method",
10466
- "name": "renderLink",
10467
- "privacy": "private",
10468
- "inheritedFrom": {
10469
- "name": "UmButtonWrapper",
10470
- "module": "src/shared/button-wrapper.ts"
10471
- }
10472
- },
10473
- {
10474
- "kind": "method",
10475
- "name": "focus",
10476
- "inheritedFrom": {
10477
- "name": "UmButtonWrapper",
10478
- "module": "src/shared/button-wrapper.ts"
10479
- }
10480
- },
10481
- {
10482
- "kind": "method",
10483
- "name": "blur",
10484
- "inheritedFrom": {
10485
- "name": "UmButtonWrapper",
10486
- "module": "src/shared/button-wrapper.ts"
10487
- }
10488
- },
10489
- {
10490
- "kind": "method",
10491
- "name": "getAriaLabel",
10492
- "privacy": "protected",
10493
- "return": {
10494
- "type": {
10495
- "text": "string | null"
10496
- }
10497
- },
10498
- "inheritedFrom": {
10499
- "name": "UmButtonWrapper",
10500
- "module": "src/shared/button-wrapper.ts"
10501
- }
10502
- },
10503
- {
10504
- "kind": "method",
10505
- "name": "innerFocusHandler",
10506
- "privacy": "private",
10507
- "return": {
10508
- "type": {
10509
- "text": "void"
10510
- }
10511
- },
10512
- "inheritedFrom": {
10513
- "name": "UmButtonWrapper",
10514
- "module": "src/shared/button-wrapper.ts"
10515
- }
10516
- },
10517
- {
10518
- "kind": "method",
10519
- "name": "#innerClickHandler",
10520
- "return": {
10521
- "type": {
10522
- "text": "void"
10523
- }
10524
- },
10525
- "parameters": [
10526
- {
10527
- "name": "event",
10528
- "type": {
10529
- "text": "MouseEvent"
10530
- }
10531
- }
10532
- ],
10533
- "inheritedFrom": {
10534
- "name": "UmButtonWrapper",
10535
- "module": "src/shared/button-wrapper.ts"
10536
- }
10537
- },
10538
- {
10539
- "kind": "method",
10540
- "name": "handleClick",
10541
- "privacy": "protected",
10542
- "return": {
10543
- "type": {
10544
- "text": "void"
10545
- }
10546
- },
10547
- "parameters": [
10548
- {
10549
- "name": "_",
10550
- "type": {
10551
- "text": "UIEvent"
10312
+ "text": "UIEvent"
10552
10313
  }
10553
10314
  }
10554
10315
  ],
@@ -11749,110 +11510,334 @@
11749
11510
  "type": {
11750
11511
  "text": "boolean"
11751
11512
  },
11752
- "default": "false",
11753
- "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
11754
- "fieldName": "hasTrailingIcon",
11755
- "inheritedFrom": {
11756
- "name": "UmFieldBase",
11757
- "module": "src/field/field-base.ts"
11758
- }
11513
+ "default": "false",
11514
+ "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
11515
+ "fieldName": "hasTrailingIcon",
11516
+ "inheritedFrom": {
11517
+ "name": "UmFieldBase",
11518
+ "module": "src/field/field-base.ts"
11519
+ }
11520
+ },
11521
+ {
11522
+ "name": "has-error-text",
11523
+ "type": {
11524
+ "text": "boolean"
11525
+ },
11526
+ "default": "false",
11527
+ "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
11528
+ "fieldName": "hasErrorText",
11529
+ "inheritedFrom": {
11530
+ "name": "UmFieldBase",
11531
+ "module": "src/field/field-base.ts"
11532
+ }
11533
+ }
11534
+ ]
11535
+ }
11536
+ ],
11537
+ "exports": [
11538
+ {
11539
+ "kind": "js",
11540
+ "name": "UmSelect",
11541
+ "declaration": {
11542
+ "name": "UmSelect",
11543
+ "module": "src/select/select.ts"
11544
+ }
11545
+ },
11546
+ {
11547
+ "kind": "custom-element-definition",
11548
+ "name": "u-select",
11549
+ "declaration": {
11550
+ "name": "UmSelect",
11551
+ "module": "src/select/select.ts"
11552
+ }
11553
+ }
11554
+ ]
11555
+ },
11556
+ {
11557
+ "kind": "javascript-module",
11558
+ "path": "src/ripple/ripple.styles.ts",
11559
+ "declarations": [
11560
+ {
11561
+ "kind": "variable",
11562
+ "name": "styles",
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`"
11564
+ }
11565
+ ],
11566
+ "exports": [
11567
+ {
11568
+ "kind": "js",
11569
+ "name": "styles",
11570
+ "declaration": {
11571
+ "name": "styles",
11572
+ "module": "src/ripple/ripple.styles.ts"
11573
+ }
11574
+ }
11575
+ ]
11576
+ },
11577
+ {
11578
+ "kind": "javascript-module",
11579
+ "path": "src/ripple/ripple.ts",
11580
+ "declarations": [
11581
+ {
11582
+ "kind": "class",
11583
+ "description": "",
11584
+ "name": "UmRipple",
11585
+ "members": [
11586
+ {
11587
+ "kind": "field",
11588
+ "name": "isTouching",
11589
+ "type": {
11590
+ "text": "boolean"
11591
+ },
11592
+ "privacy": "private",
11593
+ "default": "false"
11594
+ },
11595
+ {
11596
+ "kind": "field",
11597
+ "name": "disabled",
11598
+ "type": {
11599
+ "text": "boolean"
11600
+ },
11601
+ "default": "false",
11602
+ "description": "Disables the ripple.",
11603
+ "attribute": "disabled",
11604
+ "reflects": true
11605
+ },
11606
+ {
11607
+ "kind": "field",
11608
+ "name": "rippleContainer",
11609
+ "type": {
11610
+ "text": "HTMLElement"
11611
+ },
11612
+ "privacy": "private"
11613
+ },
11614
+ {
11615
+ "kind": "method",
11616
+ "name": "attachEvents",
11617
+ "privacy": "private",
11618
+ "return": {
11619
+ "type": {
11620
+ "text": "void"
11621
+ }
11622
+ }
11623
+ },
11624
+ {
11625
+ "kind": "method",
11626
+ "name": "dettachEvents",
11627
+ "privacy": "private",
11628
+ "return": {
11629
+ "type": {
11630
+ "text": "void"
11631
+ }
11632
+ }
11633
+ },
11634
+ {
11635
+ "kind": "method",
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
+ ]
11651
+ },
11652
+ {
11653
+ "kind": "method",
11654
+ "name": "handleTouchStart",
11655
+ "privacy": "private",
11656
+ "return": {
11657
+ "type": {
11658
+ "text": "void"
11659
+ }
11660
+ },
11661
+ "parameters": [
11662
+ {
11663
+ "name": "e",
11664
+ "type": {
11665
+ "text": "TouchEvent"
11666
+ }
11667
+ }
11668
+ ]
11669
+ },
11670
+ {
11671
+ "kind": "method",
11672
+ "name": "canCreateRipple",
11673
+ "privacy": "private",
11674
+ "return": {
11675
+ "type": {
11676
+ "text": "boolean"
11677
+ }
11678
+ }
11679
+ },
11680
+ {
11681
+ "kind": "method",
11682
+ "name": "createRipple",
11683
+ "return": {
11684
+ "type": {
11685
+ "text": "(() => void) | null"
11686
+ }
11687
+ },
11688
+ "parameters": [
11689
+ {
11690
+ "name": "targetX",
11691
+ "default": "null",
11692
+ "type": {
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"
11708
+ }
11709
+ }
11710
+ ]
11711
+ },
11712
+ {
11713
+ "kind": "method",
11714
+ "name": "createDismissEvent",
11715
+ "privacy": "private",
11716
+ "return": {
11717
+ "type": {
11718
+ "text": "() => void"
11719
+ }
11720
+ },
11721
+ "parameters": [
11722
+ {
11723
+ "name": "ripple",
11724
+ "type": {
11725
+ "text": "HTMLElement"
11726
+ }
11727
+ },
11728
+ {
11729
+ "name": "releaseEventName",
11730
+ "type": {
11731
+ "text": "string"
11732
+ }
11733
+ }
11734
+ ]
11759
11735
  },
11760
11736
  {
11761
- "name": "has-error-text",
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"
11752
+ }
11753
+ }
11754
+ ]
11755
+ }
11756
+ ],
11757
+ "attributes": [
11758
+ {
11759
+ "name": "disabled",
11762
11760
  "type": {
11763
11761
  "text": "boolean"
11764
11762
  },
11765
11763
  "default": "false",
11766
- "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
11767
- "fieldName": "hasErrorText",
11768
- "inheritedFrom": {
11769
- "name": "UmFieldBase",
11770
- "module": "src/field/field-base.ts"
11771
- }
11764
+ "description": "Disables the ripple.",
11765
+ "fieldName": "disabled"
11772
11766
  }
11773
- ]
11767
+ ],
11768
+ "superclass": {
11769
+ "name": "LitElement",
11770
+ "package": "lit"
11771
+ },
11772
+ "tagName": "u-ripple",
11773
+ "customElement": true
11774
11774
  }
11775
11775
  ],
11776
11776
  "exports": [
11777
11777
  {
11778
11778
  "kind": "js",
11779
- "name": "UmSelect",
11779
+ "name": "UmRipple",
11780
11780
  "declaration": {
11781
- "name": "UmSelect",
11782
- "module": "src/select/select.ts"
11781
+ "name": "UmRipple",
11782
+ "module": "src/ripple/ripple.ts"
11783
11783
  }
11784
11784
  },
11785
11785
  {
11786
11786
  "kind": "custom-element-definition",
11787
- "name": "u-select",
11788
- "declaration": {
11789
- "name": "UmSelect",
11790
- "module": "src/select/select.ts"
11791
- }
11792
- }
11793
- ]
11794
- },
11795
- {
11796
- "kind": "javascript-module",
11797
- "path": "src/shared/base.styles.ts",
11798
- "declarations": [
11799
- {
11800
- "kind": "variable",
11801
- "name": "styles",
11802
- "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`"
11803
- }
11804
- ],
11805
- "exports": [
11806
- {
11807
- "kind": "js",
11808
- "name": "styles",
11809
- "declaration": {
11810
- "name": "styles",
11811
- "module": "src/shared/base.styles.ts"
11812
- }
11813
- }
11814
- ]
11815
- },
11816
- {
11817
- "kind": "javascript-module",
11818
- "path": "src/shared/button-wrapper.styles.ts",
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",
11787
+ "name": "u-ripple",
11830
11788
  "declaration": {
11831
- "name": "styles",
11832
- "module": "src/shared/button-wrapper.styles.ts"
11789
+ "name": "UmRipple",
11790
+ "module": "src/ripple/ripple.ts"
11833
11791
  }
11834
11792
  }
11835
11793
  ]
11836
11794
  },
11837
11795
  {
11838
11796
  "kind": "javascript-module",
11839
- "path": "src/shared/button-wrapper.ts",
11797
+ "path": "src/switch/switch-list-item.ts",
11840
11798
  "declarations": [
11841
11799
  {
11842
11800
  "kind": "class",
11843
11801
  "description": "",
11844
- "name": "UmButtonWrapper",
11802
+ "name": "UmSwitchListItem",
11803
+ "mixins": [
11804
+ {
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,
11845
11815
  "members": [
11846
11816
  {
11847
11817
  "kind": "field",
11848
- "name": "disabled",
11818
+ "name": "styles",
11849
11819
  "type": {
11850
- "text": "boolean"
11820
+ "text": "array"
11851
11821
  },
11852
- "default": "false",
11853
- "description": "Whether the button is disabled or not.",
11854
- "attribute": "disabled",
11855
- "reflects": true
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"
11827
+ }
11828
+ },
11829
+ {
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
+ }
11856
11841
  },
11857
11842
  {
11858
11843
  "kind": "field",
@@ -11860,25 +11845,51 @@
11860
11845
  "type": {
11861
11846
  "text": "boolean"
11862
11847
  },
11863
- "default": "true"
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
+ }
11864
11868
  },
11865
11869
  {
11866
11870
  "kind": "field",
11867
- "name": "href",
11871
+ "name": "formAssociated",
11868
11872
  "type": {
11869
- "text": "string | undefined"
11873
+ "text": "boolean"
11870
11874
  },
11871
- "description": "The URL that the link button points to.",
11872
- "attribute": "href"
11875
+ "static": true,
11876
+ "default": "true",
11877
+ "inheritedFrom": {
11878
+ "name": "UmSelectionControl",
11879
+ "module": "src/shared/selection-control/selection-control.ts"
11880
+ }
11873
11881
  },
11874
11882
  {
11875
11883
  "kind": "field",
11876
- "name": "target",
11884
+ "name": "elementInternals",
11877
11885
  "type": {
11878
- "text": "string | undefined"
11886
+ "text": "ElementInternals"
11879
11887
  },
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"
11888
+ "privacy": "protected",
11889
+ "inheritedFrom": {
11890
+ "name": "UmSelectionControl",
11891
+ "module": "src/shared/selection-control/selection-control.ts"
11892
+ }
11882
11893
  },
11883
11894
  {
11884
11895
  "kind": "field",
@@ -11886,261 +11897,199 @@
11886
11897
  "type": {
11887
11898
  "text": "string | undefined"
11888
11899
  },
11889
- "attribute": "name"
11900
+ "default": "''",
11901
+ "attribute": "name",
11902
+ "inheritedFrom": {
11903
+ "name": "UmSelectionControl",
11904
+ "module": "src/shared/selection-control/selection-control.ts"
11905
+ }
11890
11906
  },
11891
11907
  {
11892
11908
  "kind": "field",
11893
- "name": "buttonElement",
11909
+ "name": "disabled",
11894
11910
  "type": {
11895
- "text": "HTMLElement"
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"
11896
11919
  }
11897
11920
  },
11898
11921
  {
11899
11922
  "kind": "field",
11900
- "name": "ripple",
11923
+ "name": "input",
11901
11924
  "type": {
11902
- "text": "UmRipple"
11925
+ "text": "HTMLInputElement"
11903
11926
  },
11904
- "privacy": "private"
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
+ }
11905
11955
  },
11906
11956
  {
11907
11957
  "kind": "field",
11908
- "name": "innerRole",
11958
+ "name": "inputType",
11909
11959
  "type": {
11910
- "text": "string | null"
11960
+ "text": "'checkbox' | 'radio'"
11911
11961
  },
11912
11962
  "privacy": "protected",
11913
- "default": "null"
11963
+ "default": "'checkbox'",
11964
+ "inheritedFrom": {
11965
+ "name": "UmSelectionControl",
11966
+ "module": "src/shared/selection-control/selection-control.ts"
11967
+ }
11914
11968
  },
11915
11969
  {
11916
11970
  "kind": "field",
11917
- "name": "pathname",
11971
+ "name": "value",
11918
11972
  "type": {
11919
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"
11920
11981
  }
11921
11982
  },
11922
11983
  {
11923
- "kind": "method",
11924
- "name": "renderButton",
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",
11936
- "return": {
11937
- "type": {
11938
- "text": "HTMLTemplateResult"
11939
- }
11940
- }
11941
- },
11942
- {
11943
- "kind": "method",
11944
- "name": "focus"
11945
- },
11946
- {
11947
- "kind": "method",
11948
- "name": "blur"
11949
- },
11950
- {
11951
- "kind": "method",
11952
- "name": "getAriaLabel",
11953
- "privacy": "protected",
11954
- "return": {
11955
- "type": {
11956
- "text": "string | null"
11957
- }
11984
+ "kind": "field",
11985
+ "name": "checked",
11986
+ "attribute": "checked",
11987
+ "inheritedFrom": {
11988
+ "name": "UmSelectionControl",
11989
+ "module": "src/shared/selection-control/selection-control.ts"
11958
11990
  }
11959
11991
  },
11960
11992
  {
11961
- "kind": "method",
11962
- "name": "innerFocusHandler",
11993
+ "kind": "field",
11994
+ "name": "_checkedAttribute",
11995
+ "type": {
11996
+ "text": "boolean"
11997
+ },
11963
11998
  "privacy": "private",
11964
- "return": {
11965
- "type": {
11966
- "text": "void"
11967
- }
11999
+ "default": "false",
12000
+ "attribute": "checked",
12001
+ "inheritedFrom": {
12002
+ "name": "UmSelectionControl",
12003
+ "module": "src/shared/selection-control/selection-control.ts"
11968
12004
  }
11969
12005
  },
11970
12006
  {
11971
12007
  "kind": "method",
11972
- "name": "#innerClickHandler",
11973
- "return": {
11974
- "type": {
11975
- "text": "void"
11976
- }
11977
- },
11978
- "parameters": [
11979
- {
11980
- "name": "event",
11981
- "type": {
11982
- "text": "MouseEvent"
11983
- }
11984
- }
11985
- ]
11986
- },
11987
- {
11988
- "kind": "method",
11989
- "name": "handleClick",
11990
- "privacy": "protected",
11991
- "return": {
11992
- "type": {
11993
- "text": "void"
11994
- }
11995
- },
12008
+ "name": "#handleClick",
11996
12009
  "parameters": [
11997
12010
  {
11998
- "name": "_",
12011
+ "name": "e",
11999
12012
  "type": {
12000
- "text": "UIEvent"
12013
+ "text": "Event"
12001
12014
  }
12002
12015
  }
12003
- ]
12016
+ ],
12017
+ "inheritedFrom": {
12018
+ "name": "UmSelectionControl",
12019
+ "module": "src/shared/selection-control/selection-control.ts"
12020
+ }
12004
12021
  }
12005
12022
  ],
12006
12023
  "attributes": [
12007
12024
  {
12008
- "name": "disabled",
12009
- "type": {
12010
- "text": "boolean"
12011
- },
12012
- "default": "false",
12013
- "description": "Whether the button is disabled or not.",
12014
- "fieldName": "disabled"
12015
- },
12016
- {
12017
- "name": "href",
12025
+ "name": "name",
12018
12026
  "type": {
12019
12027
  "text": "string | undefined"
12020
12028
  },
12021
- "description": "The URL that the link button points to.",
12022
- "fieldName": "href"
12029
+ "default": "''",
12030
+ "fieldName": "name",
12031
+ "inheritedFrom": {
12032
+ "name": "UmSelectionControl",
12033
+ "module": "src/shared/selection-control/selection-control.ts"
12034
+ }
12023
12035
  },
12024
12036
  {
12025
- "name": "target",
12037
+ "name": "disabled",
12026
12038
  "type": {
12027
- "text": "string | undefined"
12039
+ "text": "boolean"
12028
12040
  },
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"
12041
+ "default": "false",
12042
+ "fieldName": "disabled",
12043
+ "inheritedFrom": {
12044
+ "name": "UmSelectionControl",
12045
+ "module": "src/shared/selection-control/selection-control.ts"
12046
+ }
12031
12047
  },
12032
12048
  {
12033
- "name": "name",
12049
+ "name": "value",
12034
12050
  "type": {
12035
- "text": "string | undefined"
12051
+ "text": "string"
12036
12052
  },
12037
- "fieldName": "name"
12038
- }
12039
- ],
12040
- "superclass": {
12041
- "name": "LitElement",
12042
- "package": "lit"
12043
- },
12044
- "customElement": true
12045
- }
12046
- ],
12047
- "exports": [
12048
- {
12049
- "kind": "js",
12050
- "name": "UmButtonWrapper",
12051
- "declaration": {
12052
- "name": "UmButtonWrapper",
12053
- "module": "src/shared/button-wrapper.ts"
12054
- }
12055
- }
12056
- ]
12057
- },
12058
- {
12059
- "kind": "javascript-module",
12060
- "path": "src/shared/compare-text.ts",
12061
- "declarations": [
12062
- {
12063
- "kind": "function",
12064
- "name": "normalizedStartsWith",
12065
- "return": {
12066
- "type": {
12067
- "text": "boolean"
12068
- }
12069
- },
12070
- "parameters": [
12071
- {
12072
- "name": "text",
12073
- "type": {
12074
- "text": "string | null"
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"
12075
12059
  }
12076
12060
  },
12077
12061
  {
12078
- "name": "term",
12079
- "type": {
12080
- "text": "string | null"
12081
- }
12082
- }
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": [
12105
- {
12106
- "name": "template",
12062
+ "name": "checked",
12063
+ "fieldName": "_checkedAttribute",
12107
12064
  "type": {
12108
- "text": "HTMLTemplateElement"
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": "base",
12076
+ "name": "input",
12136
12077
  "type": {
12137
- "text": "T"
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": "properties",
12086
+ "name": "change",
12142
12087
  "type": {
12143
- "text": "string[]"
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": "mixinAttributeProperties",
12101
+ "name": "UmSwitchListItem",
12153
12102
  "declaration": {
12154
- "name": "mixinAttributeProperties",
12155
- "module": "src/shared/mixin-attribute-properties.ts"
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": "js",
12191
- "name": "normalizeText",
12108
+ "kind": "custom-element-definition",
12109
+ "name": "u-switch-list-item",
12192
12110
  "declaration": {
12193
- "name": "normalizeText",
12194
- "module": "src/shared/normalize-text.ts"
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/snackbar/snackbar.styles.ts",
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 --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`"
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,559 +12130,650 @@
12212
12130
  "name": "styles",
12213
12131
  "declaration": {
12214
12132
  "name": "styles",
12215
- "module": "src/snackbar/snackbar.styles.ts"
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/snackbar/snackbar.ts",
12140
+ "path": "src/switch/switch.ts",
12223
12141
  "declarations": [
12224
12142
  {
12225
12143
  "kind": "class",
12226
12144
  "description": "",
12227
- "name": "UmSnackbar",
12145
+ "name": "UmSwitch",
12228
12146
  "members": [
12229
12147
  {
12230
12148
  "kind": "field",
12231
- "name": "label",
12149
+ "name": "renderRipple",
12232
12150
  "type": {
12233
- "text": "string"
12151
+ "text": "boolean"
12234
12152
  },
12235
- "default": "''",
12236
- "attribute": "label",
12237
- "reflects": true
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": "field",
12241
- "name": "buttonLabel",
12242
- "type": {
12243
- "text": "string"
12161
+ "kind": "method",
12162
+ "name": "renderIndicator",
12163
+ "privacy": "protected",
12164
+ "return": {
12165
+ "type": {
12166
+ "text": "HTMLTemplateResult"
12167
+ }
12244
12168
  },
12245
- "default": "''",
12246
- "attribute": "buttonLabel",
12247
- "reflects": true
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": "showClose",
12176
+ "name": "formAssociated",
12252
12177
  "type": {
12253
12178
  "text": "boolean"
12254
12179
  },
12255
- "default": "false",
12256
- "attribute": "show-close",
12257
- "reflects": true
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": "dismissed",
12189
+ "name": "elementInternals",
12262
12190
  "type": {
12263
- "text": "boolean"
12191
+ "text": "ElementInternals"
12264
12192
  },
12265
- "default": "false",
12266
- "attribute": "dismissed",
12267
- "reflects": true
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": "duration",
12201
+ "name": "name",
12272
12202
  "type": {
12273
- "text": "SnackbarDuration"
12203
+ "text": "string | undefined"
12274
12204
  },
12275
- "privacy": "private"
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": "snackbar",
12214
+ "name": "disabled",
12280
12215
  "type": {
12281
- "text": "HTMLElement"
12216
+ "text": "boolean"
12282
12217
  },
12283
- "privacy": "private"
12284
- },
12285
- {
12286
- "kind": "method",
12287
- "name": "renderButton",
12288
- "privacy": "private"
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": "_queue",
12228
+ "name": "input",
12307
12229
  "type": {
12308
- "text": "UmSnackbar[]"
12230
+ "text": "HTMLInputElement"
12309
12231
  },
12310
- "privacy": "private",
12311
- "static": true,
12312
- "default": "[]"
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": "_consuming",
12239
+ "name": "form",
12317
12240
  "type": {
12318
- "text": "boolean"
12319
- },
12320
- "privacy": "private",
12321
- "static": true
12322
- },
12323
- {
12324
- "kind": "method",
12325
- "name": "show",
12326
- "static": true,
12327
- "return": {
12328
- "type": {
12329
- "text": "UmSnackbar"
12330
- }
12241
+ "text": "HTMLFormElement | null"
12331
12242
  },
12332
- "parameters": [
12333
- {
12334
- "name": "label",
12335
- "type": {
12336
- "text": "string"
12337
- }
12338
- }
12339
- ]
12243
+ "inheritedFrom": {
12244
+ "name": "UmSelectionControl",
12245
+ "module": "src/shared/selection-control/selection-control.ts"
12246
+ }
12340
12247
  },
12341
12248
  {
12342
- "kind": "method",
12343
- "name": "show",
12344
- "static": true,
12345
- "return": {
12346
- "type": {
12347
- "text": "UmSnackbar"
12348
- }
12249
+ "kind": "field",
12250
+ "name": "#checked",
12251
+ "privacy": "private",
12252
+ "type": {
12253
+ "text": "boolean"
12349
12254
  },
12350
- "parameters": [
12351
- {
12352
- "name": "config",
12353
- "type": {
12354
- "text": "SnackbarConfig"
12355
- }
12356
- }
12357
- ]
12255
+ "default": "false",
12256
+ "inheritedFrom": {
12257
+ "name": "UmSelectionControl",
12258
+ "module": "src/shared/selection-control/selection-control.ts"
12259
+ }
12358
12260
  },
12359
12261
  {
12360
- "kind": "method",
12361
- "name": "show",
12362
- "static": true,
12363
- "return": {
12364
- "type": {
12365
- "text": "UmSnackbar"
12366
- }
12262
+ "kind": "field",
12263
+ "name": "inputType",
12264
+ "type": {
12265
+ "text": "'checkbox' | 'radio'"
12367
12266
  },
12368
- "parameters": [
12369
- {
12370
- "name": "configOrLabel",
12371
- "type": {
12372
- "text": "SnackbarConfig | string"
12373
- }
12374
- }
12375
- ]
12267
+ "privacy": "protected",
12268
+ "default": "'checkbox'",
12269
+ "inheritedFrom": {
12270
+ "name": "UmSelectionControl",
12271
+ "module": "src/shared/selection-control/selection-control.ts"
12272
+ }
12376
12273
  },
12377
12274
  {
12378
- "kind": "method",
12379
- "name": "consumeQueue",
12380
- "privacy": "private",
12381
- "static": true
12275
+ "kind": "field",
12276
+ "name": "value",
12277
+ "type": {
12278
+ "text": "string"
12279
+ },
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
+ }
12382
12287
  },
12383
12288
  {
12384
- "kind": "method",
12385
- "name": "showNext",
12289
+ "kind": "field",
12290
+ "name": "checked",
12291
+ "attribute": "checked",
12292
+ "inheritedFrom": {
12293
+ "name": "UmSelectionControl",
12294
+ "module": "src/shared/selection-control/selection-control.ts"
12295
+ }
12296
+ },
12297
+ {
12298
+ "kind": "field",
12299
+ "name": "_checkedAttribute",
12300
+ "type": {
12301
+ "text": "boolean"
12302
+ },
12386
12303
  "privacy": "private",
12387
- "static": true
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": "createSnackbar",
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": "config",
12316
+ "name": "e",
12402
12317
  "type": {
12403
- "text": "SnackbarConfig"
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": "label",
12336
+ "name": "name",
12412
12337
  "type": {
12413
- "text": "string"
12338
+ "text": "string | undefined"
12414
12339
  },
12415
12340
  "default": "''",
12416
- "fieldName": "label"
12341
+ "fieldName": "name",
12342
+ "inheritedFrom": {
12343
+ "name": "UmSelectionControl",
12344
+ "module": "src/shared/selection-control/selection-control.ts"
12345
+ }
12417
12346
  },
12418
12347
  {
12419
- "name": "buttonLabel",
12348
+ "name": "disabled",
12420
12349
  "type": {
12421
- "text": "string"
12350
+ "text": "boolean"
12422
12351
  },
12423
- "default": "''",
12424
- "fieldName": "buttonLabel"
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": "show-close",
12360
+ "name": "value",
12428
12361
  "type": {
12429
- "text": "boolean"
12362
+ "text": "string"
12430
12363
  },
12431
- "default": "false",
12432
- "fieldName": "showClose"
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": "dismissed",
12373
+ "name": "checked",
12374
+ "fieldName": "_checkedAttribute",
12436
12375
  "type": {
12437
12376
  "text": "boolean"
12438
12377
  },
12439
12378
  "default": "false",
12440
- "fieldName": "dismissed"
12379
+ "inheritedFrom": {
12380
+ "name": "UmSelectionControl",
12381
+ "module": "src/shared/selection-control/selection-control.ts"
12382
+ }
12441
12383
  }
12442
12384
  ],
12443
- "superclass": {
12444
- "name": "LitElement",
12445
- "package": "lit"
12446
- },
12447
- "tagName": "u-snackbar",
12448
- "customElement": true
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": "UmSnackbar",
12412
+ "name": "UmSwitch",
12455
12413
  "declaration": {
12456
- "name": "UmSnackbar",
12457
- "module": "src/snackbar/snackbar.ts"
12414
+ "name": "UmSwitch",
12415
+ "module": "src/switch/switch.ts"
12458
12416
  }
12459
12417
  },
12460
12418
  {
12461
12419
  "kind": "custom-element-definition",
12462
- "name": "u-snackbar",
12420
+ "name": "u-switch",
12463
12421
  "declaration": {
12464
- "name": "UmSnackbar",
12465
- "module": "src/snackbar/snackbar.ts"
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/switch/switch-list-item.ts",
12430
+ "path": "src/shared/base.styles.ts",
12473
12431
  "declarations": [
12474
12432
  {
12475
- "kind": "class",
12476
- "description": "",
12477
- "name": "UmSwitchListItem",
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,
12490
- "members": [
12491
- {
12492
- "kind": "field",
12493
- "name": "styles",
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",
12520
- "type": {
12521
- "text": "boolean"
12522
- },
12523
- "privacy": "protected",
12524
- "default": "false",
12525
- "inheritedFrom": {
12526
- "name": "UmSelectionControl",
12527
- "module": "src/shared/selection-control/selection-control.ts"
12528
- }
12529
- },
12530
- {
12531
- "kind": "method",
12532
- "name": "renderIndicator",
12533
- "privacy": "protected",
12534
- "return": {
12535
- "type": {
12536
- "text": "HTMLTemplateResult"
12537
- }
12538
- },
12539
- "inheritedFrom": {
12540
- "name": "UmSelectionControl",
12541
- "module": "src/shared/selection-control/selection-control.ts"
12542
- }
12543
- },
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
+ "declarations": [
12474
+ {
12475
+ "kind": "class",
12476
+ "description": "",
12477
+ "name": "UmButtonWrapper",
12478
+ "members": [
12544
12479
  {
12545
12480
  "kind": "field",
12546
- "name": "formAssociated",
12481
+ "name": "disabled",
12547
12482
  "type": {
12548
12483
  "text": "boolean"
12549
12484
  },
12550
- "static": true,
12551
- "default": "true",
12552
- "inheritedFrom": {
12553
- "name": "UmSelectionControl",
12554
- "module": "src/shared/selection-control/selection-control.ts"
12555
- }
12485
+ "default": "false",
12486
+ "description": "Whether the button is disabled or not.",
12487
+ "attribute": "disabled",
12488
+ "reflects": true
12556
12489
  },
12557
12490
  {
12558
12491
  "kind": "field",
12559
- "name": "elementInternals",
12492
+ "name": "renderRipple",
12560
12493
  "type": {
12561
- "text": "ElementInternals"
12494
+ "text": "boolean"
12562
12495
  },
12563
- "privacy": "protected",
12564
- "inheritedFrom": {
12565
- "name": "UmSelectionControl",
12566
- "module": "src/shared/selection-control/selection-control.ts"
12567
- }
12496
+ "default": "true"
12568
12497
  },
12569
12498
  {
12570
12499
  "kind": "field",
12571
- "name": "name",
12500
+ "name": "href",
12572
12501
  "type": {
12573
12502
  "text": "string | undefined"
12574
12503
  },
12575
- "default": "''",
12576
- "attribute": "name",
12577
- "inheritedFrom": {
12578
- "name": "UmSelectionControl",
12579
- "module": "src/shared/selection-control/selection-control.ts"
12580
- }
12504
+ "description": "The URL that the link button points to.",
12505
+ "attribute": "href"
12581
12506
  },
12582
12507
  {
12583
12508
  "kind": "field",
12584
- "name": "disabled",
12509
+ "name": "target",
12585
12510
  "type": {
12586
- "text": "boolean"
12511
+ "text": "string | undefined"
12587
12512
  },
12588
- "default": "false",
12589
- "attribute": "disabled",
12590
- "reflects": true,
12591
- "inheritedFrom": {
12592
- "name": "UmSelectionControl",
12593
- "module": "src/shared/selection-control/selection-control.ts"
12594
- }
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"
12595
12515
  },
12596
12516
  {
12597
12517
  "kind": "field",
12598
- "name": "input",
12518
+ "name": "name",
12599
12519
  "type": {
12600
- "text": "HTMLInputElement"
12520
+ "text": "string | undefined"
12601
12521
  },
12602
- "inheritedFrom": {
12603
- "name": "UmSelectionControl",
12604
- "module": "src/shared/selection-control/selection-control.ts"
12605
- }
12522
+ "attribute": "name"
12606
12523
  },
12607
12524
  {
12608
12525
  "kind": "field",
12609
- "name": "form",
12526
+ "name": "buttonElement",
12610
12527
  "type": {
12611
- "text": "HTMLFormElement | null"
12612
- },
12613
- "inheritedFrom": {
12614
- "name": "UmSelectionControl",
12615
- "module": "src/shared/selection-control/selection-control.ts"
12528
+ "text": "HTMLElement"
12616
12529
  }
12617
12530
  },
12618
12531
  {
12619
12532
  "kind": "field",
12620
- "name": "#checked",
12621
- "privacy": "private",
12533
+ "name": "ripple",
12622
12534
  "type": {
12623
- "text": "boolean"
12535
+ "text": "UmRipple"
12624
12536
  },
12625
- "default": "false",
12626
- "inheritedFrom": {
12627
- "name": "UmSelectionControl",
12628
- "module": "src/shared/selection-control/selection-control.ts"
12629
- }
12537
+ "privacy": "private"
12630
12538
  },
12631
12539
  {
12632
12540
  "kind": "field",
12633
- "name": "inputType",
12541
+ "name": "innerRole",
12634
12542
  "type": {
12635
- "text": "'checkbox' | 'radio'"
12543
+ "text": "string | null"
12636
12544
  },
12637
12545
  "privacy": "protected",
12638
- "default": "'checkbox'",
12639
- "inheritedFrom": {
12640
- "name": "UmSelectionControl",
12641
- "module": "src/shared/selection-control/selection-control.ts"
12642
- }
12546
+ "default": "null"
12643
12547
  },
12644
12548
  {
12645
12549
  "kind": "field",
12646
- "name": "value",
12550
+ "name": "pathname",
12647
12551
  "type": {
12648
12552
  "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
12553
  }
12657
12554
  },
12658
12555
  {
12659
- "kind": "field",
12660
- "name": "checked",
12661
- "attribute": "checked",
12662
- "inheritedFrom": {
12663
- "name": "UmSelectionControl",
12664
- "module": "src/shared/selection-control/selection-control.ts"
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",
12568
+ "privacy": "protected",
12569
+ "return": {
12570
+ "type": {
12571
+ "text": "HTMLTemplateResult"
12572
+ }
12665
12573
  }
12666
12574
  },
12667
12575
  {
12668
- "kind": "field",
12669
- "name": "_checkedAttribute",
12670
- "type": {
12671
- "text": "boolean"
12672
- },
12576
+ "kind": "method",
12577
+ "name": "focus"
12578
+ },
12579
+ {
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
+ }
12591
+ }
12592
+ },
12593
+ {
12594
+ "kind": "method",
12595
+ "name": "innerFocusHandler",
12673
12596
  "privacy": "private",
12674
- "default": "false",
12675
- "attribute": "checked",
12676
- "inheritedFrom": {
12677
- "name": "UmSelectionControl",
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": "#handleClick",
12605
+ "name": "#innerClickHandler",
12606
+ "return": {
12607
+ "type": {
12608
+ "text": "void"
12609
+ }
12610
+ },
12684
12611
  "parameters": [
12685
12612
  {
12686
- "name": "e",
12613
+ "name": "event",
12687
12614
  "type": {
12688
- "text": "Event"
12615
+ "text": "MouseEvent"
12689
12616
  }
12690
12617
  }
12691
- ],
12692
- "inheritedFrom": {
12693
- "name": "UmSelectionControl",
12694
- "module": "src/shared/selection-control/selection-control.ts"
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
+ ]
12637
+ }
12638
+ ],
12639
+ "attributes": [
12640
+ {
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",
12651
+ "type": {
12652
+ "text": "string | undefined"
12653
+ },
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"
12664
+ },
12665
+ {
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"
12696
12701
  }
12697
- ],
12698
- "attributes": [
12699
- {
12700
- "name": "name",
12701
- "type": {
12702
- "text": "string | undefined"
12703
- },
12704
- "default": "''",
12705
- "fieldName": "name",
12706
- "inheritedFrom": {
12707
- "name": "UmSelectionControl",
12708
- "module": "src/shared/selection-control/selection-control.ts"
12709
- }
12710
- },
12702
+ },
12703
+ "parameters": [
12711
12704
  {
12712
- "name": "disabled",
12705
+ "name": "text",
12713
12706
  "type": {
12714
- "text": "boolean"
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": "value",
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": "checked",
12738
- "fieldName": "_checkedAttribute",
12739
+ "name": "template",
12739
12740
  "type": {
12740
- "text": "boolean"
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
- "events": [
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": "input",
12768
+ "name": "base",
12752
12769
  "type": {
12753
- "text": "InputEvent"
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": "change",
12774
+ "name": "properties",
12762
12775
  "type": {
12763
- "text": "Event"
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": "UmSwitchListItem",
12785
+ "name": "mixinAttributeProperties",
12777
12786
  "declaration": {
12778
- "name": "UmSwitchListItem",
12779
- "module": "src/switch/switch-list-item.ts"
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": "custom-element-definition",
12784
- "name": "u-switch-list-item",
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": "UmSwitchListItem",
12787
- "module": "src/switch/switch-list-item.ts"
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/switch/switch.styles.ts",
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 --_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 }\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`"
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/switch/switch.styles.ts"
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/switch/switch.ts",
12855
+ "path": "src/snackbar/snackbar.ts",
12816
12856
  "declarations": [
12817
12857
  {
12818
12858
  "kind": "class",
12819
12859
  "description": "",
12820
- "name": "UmSwitch",
12860
+ "name": "UmSnackbar",
12821
12861
  "members": [
12822
12862
  {
12823
12863
  "kind": "field",
12824
- "name": "renderRipple",
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",
12865
- "type": {
12866
- "text": "ElementInternals"
12867
- },
12868
- "privacy": "protected",
12869
- "inheritedFrom": {
12870
- "name": "UmSelectionControl",
12871
- "module": "src/shared/selection-control/selection-control.ts"
12872
- }
12873
- },
12874
- {
12875
- "kind": "field",
12876
- "name": "name",
12864
+ "name": "label",
12877
12865
  "type": {
12878
- "text": "string | undefined"
12866
+ "text": "string"
12879
12867
  },
12880
12868
  "default": "''",
12881
- "attribute": "name",
12882
- "inheritedFrom": {
12883
- "name": "UmSelectionControl",
12884
- "module": "src/shared/selection-control/selection-control.ts"
12885
- }
12886
- },
12887
- {
12888
- "kind": "field",
12889
- "name": "disabled",
12890
- "type": {
12891
- "text": "boolean"
12892
- },
12893
- "default": "false",
12894
- "attribute": "disabled",
12895
- "reflects": true,
12896
- "inheritedFrom": {
12897
- "name": "UmSelectionControl",
12898
- "module": "src/shared/selection-control/selection-control.ts"
12899
- }
12869
+ "attribute": "label",
12870
+ "reflects": true
12900
12871
  },
12901
12872
  {
12902
12873
  "kind": "field",
12903
- "name": "input",
12874
+ "name": "buttonLabel",
12904
12875
  "type": {
12905
- "text": "HTMLInputElement"
12876
+ "text": "string"
12906
12877
  },
12907
- "inheritedFrom": {
12908
- "name": "UmSelectionControl",
12909
- "module": "src/shared/selection-control/selection-control.ts"
12910
- }
12878
+ "default": "''",
12879
+ "attribute": "buttonLabel",
12880
+ "reflects": true
12911
12881
  },
12912
12882
  {
12913
12883
  "kind": "field",
12914
- "name": "form",
12884
+ "name": "showClose",
12915
12885
  "type": {
12916
- "text": "HTMLFormElement | null"
12886
+ "text": "boolean"
12917
12887
  },
12918
- "inheritedFrom": {
12919
- "name": "UmSelectionControl",
12920
- "module": "src/shared/selection-control/selection-control.ts"
12921
- }
12888
+ "default": "false",
12889
+ "attribute": "show-close",
12890
+ "reflects": true
12922
12891
  },
12923
12892
  {
12924
12893
  "kind": "field",
12925
- "name": "#checked",
12926
- "privacy": "private",
12894
+ "name": "dismissed",
12927
12895
  "type": {
12928
12896
  "text": "boolean"
12929
12897
  },
12930
12898
  "default": "false",
12931
- "inheritedFrom": {
12932
- "name": "UmSelectionControl",
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": "inputType",
12904
+ "name": "duration",
12939
12905
  "type": {
12940
- "text": "'checkbox' | 'radio'"
12906
+ "text": "SnackbarDuration"
12941
12907
  },
12942
- "privacy": "protected",
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": "value",
12912
+ "name": "snackbar",
12952
12913
  "type": {
12953
- "text": "string"
12914
+ "text": "HTMLElement"
12954
12915
  },
12955
- "default": "'on'",
12956
- "description": "The element value to use in form submission when checked.",
12957
- "attribute": "value",
12958
- "inheritedFrom": {
12959
- "name": "UmSelectionControl",
12960
- "module": "src/shared/selection-control/selection-control.ts"
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": "checked",
12966
- "attribute": "checked",
12967
- "inheritedFrom": {
12968
- "name": "UmSelectionControl",
12969
- "module": "src/shared/selection-control/selection-control.ts"
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": "_checkedAttribute",
12949
+ "name": "_consuming",
12975
12950
  "type": {
12976
12951
  "text": "boolean"
12977
12952
  },
12978
12953
  "privacy": "private",
12979
- "default": "false",
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": "#handleClick",
12958
+ "name": "show",
12959
+ "static": true,
12960
+ "return": {
12961
+ "type": {
12962
+ "text": "UmSnackbar"
12963
+ }
12964
+ },
12989
12965
  "parameters": [
12990
12966
  {
12991
- "name": "e",
12967
+ "name": "label",
12992
12968
  "type": {
12993
- "text": "Event"
12969
+ "text": "string"
12994
12970
  }
12995
12971
  }
12996
- ],
12997
- "inheritedFrom": {
12998
- "name": "UmSelectionControl",
12999
- "module": "src/shared/selection-control/selection-control.ts"
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": "name",
13044
+ "name": "label",
13012
13045
  "type": {
13013
- "text": "string | undefined"
13046
+ "text": "string"
13014
13047
  },
13015
13048
  "default": "''",
13016
- "fieldName": "name",
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": "value",
13052
+ "name": "buttonLabel",
13036
13053
  "type": {
13037
13054
  "text": "string"
13038
13055
  },
13039
- "default": "'on'",
13040
- "description": "The element value to use in form submission when checked.",
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": "checked",
13049
- "fieldName": "_checkedAttribute",
13060
+ "name": "show-close",
13050
13061
  "type": {
13051
13062
  "text": "boolean"
13052
13063
  },
13053
13064
  "default": "false",
13054
- "inheritedFrom": {
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": "change",
13068
+ "name": "dismissed",
13073
13069
  "type": {
13074
- "text": "Event"
13070
+ "text": "boolean"
13075
13071
  },
13076
- "inheritedFrom": {
13077
- "name": "UmSelectionControl",
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": "UmSwitch",
13087
+ "name": "UmSnackbar",
13088
13088
  "declaration": {
13089
- "name": "UmSwitch",
13090
- "module": "src/switch/switch.ts"
13089
+ "name": "UmSnackbar",
13090
+ "module": "src/snackbar/snackbar.ts"
13091
13091
  }
13092
13092
  },
13093
13093
  {
13094
13094
  "kind": "custom-element-definition",
13095
- "name": "u-switch",
13095
+ "name": "u-snackbar",
13096
13096
  "declaration": {
13097
- "name": "UmSwitch",
13098
- "module": "src/switch/switch.ts"
13097
+ "name": "UmSnackbar",
13098
+ "module": "src/snackbar/snackbar.ts"
13099
13099
  }
13100
13100
  }
13101
13101
  ]
@@ -15939,7 +15939,7 @@
15939
15939
  {
15940
15940
  "kind": "variable",
15941
15941
  "name": "styles",
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 }\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`"
15943
15943
  }
15944
15944
  ],
15945
15945
  "exports": [