@universal-material/web 3.0.30 → 3.0.32

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.
@@ -3143,7 +3143,7 @@
3143
3143
  {
3144
3144
  "kind": "variable",
3145
3145
  "name": "styles",
3146
- "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-unselected-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-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);\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`"
3146
+ "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-unselected-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-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`"
3147
3147
  }
3148
3148
  ],
3149
3149
  "exports": [
@@ -3520,7 +3520,7 @@
3520
3520
  {
3521
3521
  "kind": "variable",
3522
3522
  "name": "styles",
3523
- "default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_field-control-trailing-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n }\n\n .field {\n display: block;\n position: relative;\n }\n .field::before, .field::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .field::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .field::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:not([disabled]):not([invalid]):hover) .field::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .field::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n position: absolute;\n width: var(--_icon-size);\n height: 100%;\n top: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n inset-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n inset-inline-end: var(--_icon-padding);\n }\n\n .label {\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-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input {\n display: block;\n color: var(--u-on-surface-color);\n }\n .input:focus {\n outline: 0;\n }\n .input::slotted(*) {\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-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_field-min-height);\n line-height: var(--_control-line-height);\n padding-block: 0;\n padding-inline: var(--_field-control-leading-padding) var(--_field-control-trailing-padding);\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input, .input::slotted(select), .input::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\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-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text .supporting-text-slot {\n display: block;\n }\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter {\n display: none;\n margin-inline-start: auto;\n }\n\n :host([has-counter]) .counter {\n display: block;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host([has-trailing-icon]) {\n --_field-control-trailing-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .field::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .field::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n --u-standard-icon-button-color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n --u-standard-icon-button-color: var(--u-field-leading-icon-error-color, var(--_color-error));\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid][has-error-text]) .error-text {\n display: block;\n }\n :host([invalid][has-error-text]) .supporting-text-slot {\n display: none;\n }\n\n :host([disabled]) .field::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(*) {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n\n :host([variant=filled]) .field {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-variant);\n }\n :host([variant=filled]) .field::after {\n border-bottom-style: solid;\n }\n :host([variant=filled]) .label {\n top: var(--_vertical-padding);\n }\n :host([variant=filled]) .input::slotted(:is(input, textarea, select, button)) {\n display: block;\n border-top: calc(var(--_vertical-padding) + var(--_label-line-height)) solid transparent;\n border-bottom: var(--_vertical-padding) solid transparent;\n }\n\n :host([variant=filled][disabled]) .field {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, 0.12)));\n }\n\n :host([variant=outlined]) .field::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n :host([variant=outlined]) .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n :host([variant=outlined]:focus-within) .field::after,\n :host([variant=outlined]:not([empty])) .field::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n :host([variant=outlined]:focus-within) .label,\n :host([variant=outlined]:not([empty])) .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n`"
3523
+ "default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_field-control-trailing-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n }\n\n .field {\n display: block;\n position: relative;\n }\n .field::before, .field::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .field::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .field::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:not([disabled]):not([invalid]):hover) .field::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .field::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n position: absolute;\n width: var(--_icon-size);\n height: 100%;\n top: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n inset-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n inset-inline-end: var(--_icon-padding);\n }\n\n .label {\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-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input {\n display: block;\n color: var(--u-on-surface-color);\n }\n .input:focus {\n outline: 0;\n }\n .input::slotted(*) {\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-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_field-min-height);\n line-height: var(--_control-line-height);\n padding-block: 0;\n padding-inline: var(--_field-control-leading-padding) var(--_field-control-trailing-padding);\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input, .input::slotted(select), .input::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\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-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text .supporting-text-slot {\n display: block;\n }\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter {\n display: none;\n margin-inline-start: auto;\n }\n\n :host([has-counter]) .counter {\n display: block;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host([has-trailing-icon]) {\n --_field-control-trailing-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .field::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .field::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n --u-standard-icon-button-color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n --u-standard-icon-button-color: var(--u-field-leading-icon-error-color, var(--_color-error));\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid][has-error-text]) .error-text {\n display: block;\n }\n :host([invalid][has-error-text]) .supporting-text-slot {\n display: none;\n }\n\n :host([disabled]) .field::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(*) {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n\n :host([variant=filled]) .field {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-on-surface-variant, rgb(73, 69, 79));\n }\n :host([variant=filled]) .field::after {\n border-bottom-style: solid;\n }\n :host([variant=filled]) .label {\n top: var(--_vertical-padding);\n }\n :host([variant=filled]) .input::slotted(:is(input, textarea, select, button)) {\n display: block;\n border-top: calc(var(--_vertical-padding) + var(--_label-line-height)) solid transparent;\n border-bottom: var(--_vertical-padding) solid transparent;\n }\n\n :host([variant=filled][disabled]) .field {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, 0.12)));\n }\n\n :host([variant=outlined]) .field::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n :host([variant=outlined]) .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n :host([variant=outlined]:focus-within) .field::after,\n :host([variant=outlined]:not([empty])) .field::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n :host([variant=outlined]:focus-within) .label,\n :host([variant=outlined]:not([empty])) .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n`"
3524
3524
  }
3525
3525
  ],
3526
3526
  "exports": [
@@ -3817,6 +3817,141 @@
3817
3817
  }
3818
3818
  ]
3819
3819
  },
3820
+ {
3821
+ "kind": "javascript-module",
3822
+ "path": "src/list/list-item.styles.ts",
3823
+ "declarations": [
3824
+ {
3825
+ "kind": "variable",
3826
+ "name": "styles",
3827
+ "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`"
3828
+ }
3829
+ ],
3830
+ "exports": [
3831
+ {
3832
+ "kind": "js",
3833
+ "name": "styles",
3834
+ "declaration": {
3835
+ "name": "styles",
3836
+ "module": "src/list/list-item.styles.ts"
3837
+ }
3838
+ }
3839
+ ]
3840
+ },
3841
+ {
3842
+ "kind": "javascript-module",
3843
+ "path": "src/list/list-item.ts",
3844
+ "declarations": [
3845
+ {
3846
+ "kind": "class",
3847
+ "description": "",
3848
+ "name": "UmListItem",
3849
+ "members": [
3850
+ {
3851
+ "kind": "field",
3852
+ "name": "selectable",
3853
+ "type": {
3854
+ "text": "boolean"
3855
+ },
3856
+ "default": "false",
3857
+ "attribute": "selectable",
3858
+ "reflects": true
3859
+ }
3860
+ ],
3861
+ "attributes": [
3862
+ {
3863
+ "name": "selectable",
3864
+ "type": {
3865
+ "text": "boolean"
3866
+ },
3867
+ "default": "false",
3868
+ "fieldName": "selectable"
3869
+ }
3870
+ ],
3871
+ "superclass": {
3872
+ "name": "LitElement",
3873
+ "package": "lit"
3874
+ },
3875
+ "tagName": "u-list-item",
3876
+ "customElement": true
3877
+ }
3878
+ ],
3879
+ "exports": [
3880
+ {
3881
+ "kind": "js",
3882
+ "name": "UmListItem",
3883
+ "declaration": {
3884
+ "name": "UmListItem",
3885
+ "module": "src/list/list-item.ts"
3886
+ }
3887
+ },
3888
+ {
3889
+ "kind": "custom-element-definition",
3890
+ "name": "u-list-item",
3891
+ "declaration": {
3892
+ "name": "UmListItem",
3893
+ "module": "src/list/list-item.ts"
3894
+ }
3895
+ }
3896
+ ]
3897
+ },
3898
+ {
3899
+ "kind": "javascript-module",
3900
+ "path": "src/list/list.styles.ts",
3901
+ "declarations": [
3902
+ {
3903
+ "kind": "variable",
3904
+ "name": "styles",
3905
+ "default": "css `\n :host {\n padding-block: var(--u-list-padding, 8px);\n }\n`"
3906
+ }
3907
+ ],
3908
+ "exports": [
3909
+ {
3910
+ "kind": "js",
3911
+ "name": "styles",
3912
+ "declaration": {
3913
+ "name": "styles",
3914
+ "module": "src/list/list.styles.ts"
3915
+ }
3916
+ }
3917
+ ]
3918
+ },
3919
+ {
3920
+ "kind": "javascript-module",
3921
+ "path": "src/list/list.ts",
3922
+ "declarations": [
3923
+ {
3924
+ "kind": "class",
3925
+ "description": "",
3926
+ "name": "UmList",
3927
+ "members": [],
3928
+ "superclass": {
3929
+ "name": "LitElement",
3930
+ "package": "lit"
3931
+ },
3932
+ "tagName": "u-list",
3933
+ "customElement": true
3934
+ }
3935
+ ],
3936
+ "exports": [
3937
+ {
3938
+ "kind": "js",
3939
+ "name": "UmList",
3940
+ "declaration": {
3941
+ "name": "UmList",
3942
+ "module": "src/list/list.ts"
3943
+ }
3944
+ },
3945
+ {
3946
+ "kind": "custom-element-definition",
3947
+ "name": "u-list",
3948
+ "declaration": {
3949
+ "name": "UmList",
3950
+ "module": "src/list/list.ts"
3951
+ }
3952
+ }
3953
+ ]
3954
+ },
3820
3955
  {
3821
3956
  "kind": "javascript-module",
3822
3957
  "path": "src/menu/menu-item.styles.ts",
@@ -4541,12 +4676,12 @@
4541
4676
  },
4542
4677
  {
4543
4678
  "kind": "javascript-module",
4544
- "path": "src/list/list-item.styles.ts",
4679
+ "path": "src/navigation/drawer-item.styles.ts",
4545
4680
  "declarations": [
4546
4681
  {
4547
4682
  "kind": "variable",
4548
4683
  "name": "styles",
4549
- "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`"
4684
+ "default": "css `\n :host {\n display: block;\n --_drawer-item-icon-size: var(--u-drawer-item-icon-size, 1.125rem);\n --_drawer-item-padding: var(--u-drawer-item-padding, 16px);\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-drawer-item-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-drawer-item-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-drawer-item-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-drawer-item-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n height: var(--u-drawer-item-height, 56px);\n padding-inline: var(--_drawer-item-padding);\n margin-inline: calc(var(--_drawer-item-padding) * -1);\n border-radius: var(--u-drawer-item-shape-corner, var(--u-shape-corner-full, 9999px));\n color: var(--u-drawer-item-label-inactive-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([active]) {\n color: var(--u-drawer-item-label-active-color, var(--_color-primary));\n }\n\n :host(:not([has-icon])) .icon,\n :host(:not([has-badge])) .badge {\n display: none;\n }\n\n .icon {\n font-size: var(--_drawer-item-icon-size);\n line-height: var(--_drawer-item-icon-size);\n margin-inline-end: var(--u-drawer-item-icon-margin, 16px);\n }\n\n .badge {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-inline-start: auto;\n padding-inline: var(--u-drawer-item-badge-padding, 12px 8px);\n }\n\n .content {\n justify-content: flex-start;\n }\n`"
4550
4685
  }
4551
4686
  ],
4552
4687
  "exports": [
@@ -4555,202 +4690,83 @@
4555
4690
  "name": "styles",
4556
4691
  "declaration": {
4557
4692
  "name": "styles",
4558
- "module": "src/list/list-item.styles.ts"
4693
+ "module": "src/navigation/drawer-item.styles.ts"
4559
4694
  }
4560
4695
  }
4561
4696
  ]
4562
4697
  },
4563
4698
  {
4564
4699
  "kind": "javascript-module",
4565
- "path": "src/list/list-item.ts",
4700
+ "path": "src/navigation/drawer-item.ts",
4566
4701
  "declarations": [
4567
4702
  {
4568
4703
  "kind": "class",
4569
4704
  "description": "",
4570
- "name": "UmListItem",
4705
+ "name": "UmDrawerItem",
4571
4706
  "members": [
4572
4707
  {
4573
4708
  "kind": "field",
4574
- "name": "selectable",
4709
+ "name": "hasIcon",
4575
4710
  "type": {
4576
4711
  "text": "boolean"
4577
4712
  },
4578
4713
  "default": "false",
4579
- "attribute": "selectable",
4714
+ "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
4715
+ "attribute": "has-icon",
4580
4716
  "reflects": true
4581
- }
4582
- ],
4583
- "attributes": [
4717
+ },
4584
4718
  {
4585
- "name": "selectable",
4719
+ "kind": "field",
4720
+ "name": "hasBadge",
4586
4721
  "type": {
4587
4722
  "text": "boolean"
4588
4723
  },
4589
4724
  "default": "false",
4590
- "fieldName": "selectable"
4591
- }
4592
- ],
4593
- "superclass": {
4594
- "name": "LitElement",
4595
- "package": "lit"
4596
- },
4597
- "tagName": "u-list-item",
4598
- "customElement": true
4599
- }
4600
- ],
4601
- "exports": [
4602
- {
4603
- "kind": "js",
4604
- "name": "UmListItem",
4605
- "declaration": {
4606
- "name": "UmListItem",
4607
- "module": "src/list/list-item.ts"
4608
- }
4609
- },
4610
- {
4611
- "kind": "custom-element-definition",
4612
- "name": "u-list-item",
4613
- "declaration": {
4614
- "name": "UmListItem",
4615
- "module": "src/list/list-item.ts"
4616
- }
4617
- }
4618
- ]
4619
- },
4620
- {
4621
- "kind": "javascript-module",
4622
- "path": "src/list/list.styles.ts",
4623
- "declarations": [
4624
- {
4625
- "kind": "variable",
4626
- "name": "styles",
4627
- "default": "css `\n :host {\n padding-block: var(--u-list-padding, 8px);\n }\n`"
4628
- }
4629
- ],
4630
- "exports": [
4631
- {
4632
- "kind": "js",
4633
- "name": "styles",
4634
- "declaration": {
4635
- "name": "styles",
4636
- "module": "src/list/list.styles.ts"
4637
- }
4638
- }
4639
- ]
4640
- },
4641
- {
4642
- "kind": "javascript-module",
4643
- "path": "src/list/list.ts",
4644
- "declarations": [
4645
- {
4646
- "kind": "class",
4647
- "description": "",
4648
- "name": "UmList",
4649
- "members": [],
4650
- "superclass": {
4651
- "name": "LitElement",
4652
- "package": "lit"
4653
- },
4654
- "tagName": "u-list",
4655
- "customElement": true
4656
- }
4657
- ],
4658
- "exports": [
4659
- {
4660
- "kind": "js",
4661
- "name": "UmList",
4662
- "declaration": {
4663
- "name": "UmList",
4664
- "module": "src/list/list.ts"
4665
- }
4666
- },
4667
- {
4668
- "kind": "custom-element-definition",
4669
- "name": "u-list",
4670
- "declaration": {
4671
- "name": "UmList",
4672
- "module": "src/list/list.ts"
4673
- }
4674
- }
4675
- ]
4676
- },
4677
- {
4678
- "kind": "javascript-module",
4679
- "path": "src/radio/radio-list-item.ts",
4680
- "declarations": [
4681
- {
4682
- "kind": "class",
4683
- "description": "",
4684
- "name": "UmRadioListItem",
4685
- "mixins": [
4686
- {
4687
- "name": "mixinSelectionControlListItem",
4688
- "module": "/src/shared/selection-control/selection-control-list-item.js"
4689
- }
4690
- ],
4691
- "superclass": {
4692
- "name": "UmRadio",
4693
- "module": "/src/radio/radio.js"
4694
- },
4695
- "tagName": "u-radio-list-item",
4696
- "customElement": true,
4697
- "members": [
4725
+ "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
4726
+ "attribute": "has-badge",
4727
+ "reflects": true
4728
+ },
4698
4729
  {
4699
4730
  "kind": "field",
4700
- "name": "styles",
4731
+ "name": "active",
4701
4732
  "type": {
4702
- "text": "array"
4733
+ "text": "boolean"
4703
4734
  },
4704
- "static": true,
4705
- "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
4706
- "inheritedFrom": {
4707
- "name": "mixinSelectionControlListItem",
4708
- "module": "src/shared/selection-control/selection-control-list-item.ts"
4709
- }
4735
+ "default": "false",
4736
+ "description": "Whether the drawer item is active or not\n\n_Note:_ Readonly",
4737
+ "attribute": "active",
4738
+ "reflects": true
4710
4739
  },
4711
4740
  {
4712
- "kind": "method",
4713
- "name": "render",
4714
- "return": {
4715
- "type": {
4716
- "text": "HTMLTemplateResult"
4717
- }
4741
+ "kind": "field",
4742
+ "name": "keepDrawerOpen",
4743
+ "type": {
4744
+ "text": "boolean"
4718
4745
  },
4719
- "inheritedFrom": {
4720
- "name": "mixinSelectionControlListItem",
4721
- "module": "src/shared/selection-control/selection-control-list-item.ts"
4722
- }
4746
+ "default": "false",
4747
+ "description": "If true, it will not attempt to close de navigation drawer on click",
4748
+ "attribute": "keep-drawer-open",
4749
+ "reflects": true
4723
4750
  },
4724
4751
  {
4725
4752
  "kind": "field",
4726
- "name": "hideStateLayer",
4753
+ "name": "assignedIcons",
4727
4754
  "type": {
4728
- "text": "boolean"
4755
+ "text": "HTMLElement[]"
4729
4756
  },
4730
- "default": "false",
4731
- "attribute": "hide-state-layer",
4732
- "reflects": true,
4733
- "inheritedFrom": {
4734
- "name": "UmRadio",
4735
- "module": "src/radio/radio.ts"
4736
- }
4757
+ "privacy": "private"
4737
4758
  },
4738
4759
  {
4739
4760
  "kind": "field",
4740
- "name": "inputType",
4761
+ "name": "assignedBadges",
4741
4762
  "type": {
4742
- "text": "'checkbox' | 'radio'"
4763
+ "text": "HTMLElement[]"
4743
4764
  },
4744
- "privacy": "protected",
4745
- "default": "'radio'",
4746
- "inheritedFrom": {
4747
- "name": "UmSelectionControl",
4748
- "module": "src/shared/selection-control/selection-control.ts"
4749
- }
4765
+ "privacy": "private"
4750
4766
  },
4751
4767
  {
4752
4768
  "kind": "method",
4753
- "name": "renderIndicator",
4769
+ "name": "renderContent",
4754
4770
  "privacy": "protected",
4755
4771
  "return": {
4756
4772
  "type": {
@@ -4758,212 +4774,264 @@
4758
4774
  }
4759
4775
  },
4760
4776
  "inheritedFrom": {
4761
- "name": "UmSelectionControl",
4762
- "module": "src/shared/selection-control/selection-control.ts"
4777
+ "name": "UmButtonWrapper",
4778
+ "module": "src/shared/button-wrapper.ts"
4763
4779
  }
4764
4780
  },
4765
4781
  {
4766
- "kind": "field",
4767
- "name": "checked",
4768
- "attribute": "checked",
4769
- "inheritedFrom": {
4770
- "name": "UmSelectionControl",
4771
- "module": "src/shared/selection-control/selection-control.ts"
4772
- }
4782
+ "kind": "method",
4783
+ "name": "handleIconSlotChange",
4784
+ "privacy": "private"
4773
4785
  },
4774
4786
  {
4775
- "kind": "field",
4776
- "name": "#siblings",
4777
- "privacy": "private",
4778
- "type": {
4779
- "text": "UmRadio[]"
4780
- },
4781
- "inheritedFrom": {
4782
- "name": "UmRadio",
4783
- "module": "src/radio/radio.ts"
4784
- }
4787
+ "kind": "method",
4788
+ "name": "handleBadgeSlotChange",
4789
+ "privacy": "private"
4785
4790
  },
4786
4791
  {
4787
4792
  "kind": "method",
4788
- "name": "#handleKeyDown",
4793
+ "name": "handleClick",
4794
+ "privacy": "protected",
4795
+ "return": {
4796
+ "type": {
4797
+ "text": "void"
4798
+ }
4799
+ },
4789
4800
  "parameters": [
4790
4801
  {
4791
- "name": "event",
4802
+ "name": "_",
4792
4803
  "type": {
4793
- "text": "KeyboardEvent"
4804
+ "text": "UIEvent"
4794
4805
  }
4795
4806
  }
4796
4807
  ],
4797
4808
  "inheritedFrom": {
4798
- "name": "UmRadio",
4799
- "module": "src/radio/radio.ts"
4800
- }
4801
- },
4802
- {
4803
- "kind": "method",
4804
- "name": "ensureOnlyOneChecked",
4805
- "privacy": "private",
4806
- "inheritedFrom": {
4807
- "name": "UmRadio",
4808
- "module": "src/radio/radio.ts"
4809
- }
4810
- },
4811
- {
4812
- "kind": "method",
4813
- "name": "uncheckSiblings",
4814
- "privacy": "private",
4815
- "inheritedFrom": {
4816
- "name": "UmRadio",
4817
- "module": "src/radio/radio.ts"
4809
+ "name": "UmButtonWrapper",
4810
+ "module": "src/shared/button-wrapper.ts"
4818
4811
  }
4819
4812
  },
4820
4813
  {
4821
4814
  "kind": "field",
4822
- "name": "formAssociated",
4815
+ "name": "disabled",
4823
4816
  "type": {
4824
4817
  "text": "boolean"
4825
4818
  },
4826
- "static": true,
4827
- "default": "true",
4819
+ "default": "false",
4820
+ "description": "Whether the button is disabled or not.",
4821
+ "attribute": "disabled",
4822
+ "reflects": true,
4828
4823
  "inheritedFrom": {
4829
- "name": "UmSelectionControl",
4830
- "module": "src/shared/selection-control/selection-control.ts"
4824
+ "name": "UmButtonWrapper",
4825
+ "module": "src/shared/button-wrapper.ts"
4831
4826
  }
4832
4827
  },
4833
4828
  {
4834
4829
  "kind": "field",
4835
- "name": "elementInternals",
4830
+ "name": "href",
4836
4831
  "type": {
4837
- "text": "ElementInternals"
4832
+ "text": "string | undefined"
4838
4833
  },
4839
- "privacy": "protected",
4834
+ "description": "The URL that the link button points to.",
4835
+ "attribute": "href",
4840
4836
  "inheritedFrom": {
4841
- "name": "UmSelectionControl",
4842
- "module": "src/shared/selection-control/selection-control.ts"
4837
+ "name": "UmButtonWrapper",
4838
+ "module": "src/shared/button-wrapper.ts"
4843
4839
  }
4844
4840
  },
4845
4841
  {
4846
4842
  "kind": "field",
4847
- "name": "name",
4843
+ "name": "target",
4848
4844
  "type": {
4849
4845
  "text": "string | undefined"
4850
4846
  },
4851
- "default": "''",
4852
- "attribute": "name",
4847
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4848
+ "attribute": "target",
4853
4849
  "inheritedFrom": {
4854
- "name": "UmSelectionControl",
4855
- "module": "src/shared/selection-control/selection-control.ts"
4850
+ "name": "UmButtonWrapper",
4851
+ "module": "src/shared/button-wrapper.ts"
4856
4852
  }
4857
4853
  },
4858
4854
  {
4859
4855
  "kind": "field",
4860
- "name": "disabled",
4856
+ "name": "name",
4861
4857
  "type": {
4862
- "text": "boolean"
4858
+ "text": "string | undefined"
4863
4859
  },
4864
- "default": "false",
4865
- "attribute": "disabled",
4866
- "reflects": true,
4860
+ "attribute": "name",
4867
4861
  "inheritedFrom": {
4868
- "name": "UmSelectionControl",
4869
- "module": "src/shared/selection-control/selection-control.ts"
4862
+ "name": "UmButtonWrapper",
4863
+ "module": "src/shared/button-wrapper.ts"
4870
4864
  }
4871
4865
  },
4872
4866
  {
4873
4867
  "kind": "field",
4874
- "name": "input",
4868
+ "name": "buttonElement",
4875
4869
  "type": {
4876
- "text": "HTMLInputElement"
4870
+ "text": "HTMLElement"
4877
4871
  },
4872
+ "privacy": "private",
4878
4873
  "inheritedFrom": {
4879
- "name": "UmSelectionControl",
4880
- "module": "src/shared/selection-control/selection-control.ts"
4874
+ "name": "UmButtonWrapper",
4875
+ "module": "src/shared/button-wrapper.ts"
4881
4876
  }
4882
4877
  },
4883
4878
  {
4884
4879
  "kind": "field",
4885
- "name": "form",
4880
+ "name": "ripple",
4886
4881
  "type": {
4887
- "text": "HTMLFormElement | null"
4882
+ "text": "UmRipple"
4888
4883
  },
4889
- "inheritedFrom": {
4890
- "name": "UmSelectionControl",
4891
- "module": "src/shared/selection-control/selection-control.ts"
4892
- }
4893
- },
4894
- {
4895
- "kind": "field",
4896
- "name": "#checked",
4897
4884
  "privacy": "private",
4898
- "type": {
4899
- "text": "boolean"
4900
- },
4901
- "default": "false",
4902
4885
  "inheritedFrom": {
4903
- "name": "UmSelectionControl",
4904
- "module": "src/shared/selection-control/selection-control.ts"
4886
+ "name": "UmButtonWrapper",
4887
+ "module": "src/shared/button-wrapper.ts"
4905
4888
  }
4906
4889
  },
4907
4890
  {
4908
4891
  "kind": "field",
4909
- "name": "renderRipple",
4892
+ "name": "innerRole",
4910
4893
  "type": {
4911
- "text": "boolean"
4894
+ "text": "string | null"
4912
4895
  },
4913
4896
  "privacy": "protected",
4914
- "default": "true",
4897
+ "default": "null",
4915
4898
  "inheritedFrom": {
4916
- "name": "UmSelectionControl",
4917
- "module": "src/shared/selection-control/selection-control.ts"
4899
+ "name": "UmButtonWrapper",
4900
+ "module": "src/shared/button-wrapper.ts"
4918
4901
  }
4919
4902
  },
4920
4903
  {
4921
4904
  "kind": "field",
4922
- "name": "value",
4905
+ "name": "pathname",
4923
4906
  "type": {
4924
4907
  "text": "string"
4925
4908
  },
4926
- "default": "'on'",
4927
- "description": "The element value to use in form submission when checked.",
4928
- "attribute": "value",
4929
4909
  "inheritedFrom": {
4930
- "name": "UmSelectionControl",
4931
- "module": "src/shared/selection-control/selection-control.ts"
4910
+ "name": "UmButtonWrapper",
4911
+ "module": "src/shared/button-wrapper.ts"
4932
4912
  }
4933
4913
  },
4934
4914
  {
4935
4915
  "kind": "method",
4936
- "name": "#handleClick",
4916
+ "name": "renderButton",
4917
+ "privacy": "private",
4937
4918
  "inheritedFrom": {
4938
- "name": "UmSelectionControl",
4939
- "module": "src/shared/selection-control/selection-control.ts"
4919
+ "name": "UmButtonWrapper",
4920
+ "module": "src/shared/button-wrapper.ts"
4940
4921
  }
4941
- }
4942
- ],
4943
- "attributes": [
4922
+ },
4944
4923
  {
4945
- "name": "hide-state-layer",
4946
- "type": {
4947
- "text": "boolean"
4948
- },
4949
- "default": "false",
4950
- "fieldName": "hideStateLayer",
4924
+ "kind": "method",
4925
+ "name": "renderLink",
4926
+ "privacy": "private",
4951
4927
  "inheritedFrom": {
4952
- "name": "UmRadio",
4953
- "module": "src/radio/radio.ts"
4928
+ "name": "UmButtonWrapper",
4929
+ "module": "src/shared/button-wrapper.ts"
4954
4930
  }
4955
4931
  },
4956
4932
  {
4957
- "name": "name",
4958
- "type": {
4959
- "text": "string | undefined"
4960
- },
4961
- "default": "''",
4962
- "fieldName": "name",
4933
+ "kind": "method",
4934
+ "name": "focus",
4963
4935
  "inheritedFrom": {
4964
- "name": "UmSelectionControl",
4965
- "module": "src/shared/selection-control/selection-control.ts"
4936
+ "name": "UmButtonWrapper",
4937
+ "module": "src/shared/button-wrapper.ts"
4938
+ }
4939
+ },
4940
+ {
4941
+ "kind": "method",
4942
+ "name": "blur",
4943
+ "inheritedFrom": {
4944
+ "name": "UmButtonWrapper",
4945
+ "module": "src/shared/button-wrapper.ts"
4946
+ }
4947
+ },
4948
+ {
4949
+ "kind": "method",
4950
+ "name": "getAriaLabel",
4951
+ "privacy": "protected",
4952
+ "return": {
4953
+ "type": {
4954
+ "text": "string | null | typeof nothing"
4955
+ }
4956
+ },
4957
+ "inheritedFrom": {
4958
+ "name": "UmButtonWrapper",
4959
+ "module": "src/shared/button-wrapper.ts"
4960
+ }
4961
+ },
4962
+ {
4963
+ "kind": "method",
4964
+ "name": "innerFocusHandler",
4965
+ "privacy": "private",
4966
+ "return": {
4967
+ "type": {
4968
+ "text": "void"
4969
+ }
4970
+ },
4971
+ "inheritedFrom": {
4972
+ "name": "UmButtonWrapper",
4973
+ "module": "src/shared/button-wrapper.ts"
4974
+ }
4975
+ },
4976
+ {
4977
+ "kind": "method",
4978
+ "name": "innerClickHandler",
4979
+ "privacy": "private",
4980
+ "return": {
4981
+ "type": {
4982
+ "text": "void"
4983
+ }
4984
+ },
4985
+ "parameters": [
4986
+ {
4987
+ "name": "event",
4988
+ "type": {
4989
+ "text": "MouseEvent"
4990
+ }
4991
+ }
4992
+ ],
4993
+ "inheritedFrom": {
4994
+ "name": "UmButtonWrapper",
4995
+ "module": "src/shared/button-wrapper.ts"
4966
4996
  }
4997
+ }
4998
+ ],
4999
+ "attributes": [
5000
+ {
5001
+ "name": "has-icon",
5002
+ "type": {
5003
+ "text": "boolean"
5004
+ },
5005
+ "default": "false",
5006
+ "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
5007
+ "fieldName": "hasIcon"
5008
+ },
5009
+ {
5010
+ "name": "has-badge",
5011
+ "type": {
5012
+ "text": "boolean"
5013
+ },
5014
+ "default": "false",
5015
+ "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
5016
+ "fieldName": "hasBadge"
5017
+ },
5018
+ {
5019
+ "name": "active",
5020
+ "type": {
5021
+ "text": "boolean"
5022
+ },
5023
+ "default": "false",
5024
+ "description": "Whether the drawer item is active or not\n\n_Note:_ Readonly",
5025
+ "fieldName": "active"
5026
+ },
5027
+ {
5028
+ "name": "keep-drawer-open",
5029
+ "type": {
5030
+ "text": "boolean"
5031
+ },
5032
+ "default": "false",
5033
+ "description": "If true, it will not attempt to close de navigation drawer on click",
5034
+ "fieldName": "keepDrawerOpen"
4967
5035
  },
4968
5036
  {
4969
5037
  "name": "disabled",
@@ -4971,75 +5039,84 @@
4971
5039
  "text": "boolean"
4972
5040
  },
4973
5041
  "default": "false",
5042
+ "description": "Whether the button is disabled or not.",
4974
5043
  "fieldName": "disabled",
4975
5044
  "inheritedFrom": {
4976
- "name": "UmSelectionControl",
4977
- "module": "src/shared/selection-control/selection-control.ts"
5045
+ "name": "UmButtonWrapper",
5046
+ "module": "src/shared/button-wrapper.ts"
4978
5047
  }
4979
5048
  },
4980
5049
  {
4981
- "name": "value",
5050
+ "name": "href",
4982
5051
  "type": {
4983
- "text": "string"
5052
+ "text": "string | undefined"
4984
5053
  },
4985
- "default": "'on'",
4986
- "description": "The element value to use in form submission when checked.",
4987
- "fieldName": "value",
5054
+ "description": "The URL that the link button points to.",
5055
+ "fieldName": "href",
4988
5056
  "inheritedFrom": {
4989
- "name": "UmSelectionControl",
4990
- "module": "src/shared/selection-control/selection-control.ts"
5057
+ "name": "UmButtonWrapper",
5058
+ "module": "src/shared/button-wrapper.ts"
4991
5059
  }
4992
5060
  },
4993
5061
  {
4994
- "name": "checked",
4995
- "fieldName": "checked",
5062
+ "name": "target",
5063
+ "type": {
5064
+ "text": "string | undefined"
5065
+ },
5066
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
5067
+ "fieldName": "target",
4996
5068
  "inheritedFrom": {
4997
- "name": "UmSelectionControl",
4998
- "module": "src/shared/selection-control/selection-control.ts"
5069
+ "name": "UmButtonWrapper",
5070
+ "module": "src/shared/button-wrapper.ts"
4999
5071
  }
5000
- }
5001
- ],
5002
- "events": [
5072
+ },
5003
5073
  {
5004
- "name": "change",
5074
+ "name": "name",
5005
5075
  "type": {
5006
- "text": "Event"
5076
+ "text": "string | undefined"
5007
5077
  },
5078
+ "fieldName": "name",
5008
5079
  "inheritedFrom": {
5009
- "name": "UmSelectionControl",
5010
- "module": "src/shared/selection-control/selection-control.ts"
5080
+ "name": "UmButtonWrapper",
5081
+ "module": "src/shared/button-wrapper.ts"
5011
5082
  }
5012
5083
  }
5013
- ]
5084
+ ],
5085
+ "superclass": {
5086
+ "name": "UmButtonWrapper",
5087
+ "module": "/src/shared/button-wrapper.js"
5088
+ },
5089
+ "tagName": "u-drawer-item",
5090
+ "customElement": true
5014
5091
  }
5015
5092
  ],
5016
5093
  "exports": [
5017
5094
  {
5018
5095
  "kind": "js",
5019
- "name": "UmRadioListItem",
5096
+ "name": "UmDrawerItem",
5020
5097
  "declaration": {
5021
- "name": "UmRadioListItem",
5022
- "module": "src/radio/radio-list-item.ts"
5098
+ "name": "UmDrawerItem",
5099
+ "module": "src/navigation/drawer-item.ts"
5023
5100
  }
5024
5101
  },
5025
5102
  {
5026
5103
  "kind": "custom-element-definition",
5027
- "name": "u-radio-list-item",
5104
+ "name": "u-drawer-item",
5028
5105
  "declaration": {
5029
- "name": "UmRadioListItem",
5030
- "module": "src/radio/radio-list-item.ts"
5106
+ "name": "UmDrawerItem",
5107
+ "module": "src/navigation/drawer-item.ts"
5031
5108
  }
5032
5109
  }
5033
5110
  ]
5034
5111
  },
5035
5112
  {
5036
5113
  "kind": "javascript-module",
5037
- "path": "src/radio/radio.styles.ts",
5114
+ "path": "src/navigation/drawer.styles.ts",
5038
5115
  "declarations": [
5039
5116
  {
5040
5117
  "kind": "variable",
5041
5118
  "name": "styles",
5042
- "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-unselected-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`"
5119
+ "default": "css `\n :host {\n display: block;\n background-color: var(--u-modal-drawer-background-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-drawer-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n height: 100%;\n padding-inline: var(--u-drawer-padding, 28px);\n }\n\n @media (min-width: 1200px) {\n :host {\n background-color: var(--u-standard-drawer-background-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n }\n }\n`"
5043
5120
  }
5044
5121
  ],
5045
5122
  "exports": [
@@ -5048,29 +5125,286 @@
5048
5125
  "name": "styles",
5049
5126
  "declaration": {
5050
5127
  "name": "styles",
5051
- "module": "src/radio/radio.styles.ts"
5128
+ "module": "src/navigation/drawer.styles.ts"
5052
5129
  }
5053
5130
  }
5054
5131
  ]
5055
5132
  },
5056
5133
  {
5057
5134
  "kind": "javascript-module",
5058
- "path": "src/radio/radio.ts",
5135
+ "path": "src/navigation/drawer.ts",
5059
5136
  "declarations": [
5060
5137
  {
5061
5138
  "kind": "class",
5062
5139
  "description": "",
5063
- "name": "UmRadio",
5140
+ "name": "UmDrawer",
5141
+ "members": [],
5142
+ "superclass": {
5143
+ "name": "LitElement",
5144
+ "package": "lit"
5145
+ },
5146
+ "tagName": "u-drawer",
5147
+ "customElement": true
5148
+ }
5149
+ ],
5150
+ "exports": [
5151
+ {
5152
+ "kind": "js",
5153
+ "name": "UmDrawer",
5154
+ "declaration": {
5155
+ "name": "UmDrawer",
5156
+ "module": "src/navigation/drawer.ts"
5157
+ }
5158
+ },
5159
+ {
5160
+ "kind": "custom-element-definition",
5161
+ "name": "u-drawer",
5162
+ "declaration": {
5163
+ "name": "UmDrawer",
5164
+ "module": "src/navigation/drawer.ts"
5165
+ }
5166
+ }
5167
+ ]
5168
+ },
5169
+ {
5170
+ "kind": "javascript-module",
5171
+ "path": "src/navigation/side-navigation-swiper.styles.ts",
5172
+ "declarations": [
5173
+ {
5174
+ "kind": "variable",
5175
+ "name": "styles",
5176
+ "default": "css `\n :host {\n --_navigation-width: 0;\n --_navigation-drawer-width: min(var(--u-navigation-drawer-width, 360px), 85vw);\n --_navigation-drawer-width-negative: calc(var(--_navigation-drawer-width) * -1);\n --_navigation-drawer-corner-shape: var(--u-navigation-drawer-corner-shape, var(--u-shape-corner-large, 16px));\n --_scrim-opacity: var(--u-drawer-scrim-opacity, .4);\n display: block;\n width: 100%;\n height: 100%;\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n :host(.disable-transition) * {\n transition: none !important;\n }\n :host(.disable-transition) * ::slotted(u-top-app-bar) {\n transition: none !important;\n }\n\n .drawer {\n transition: inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n .drawer,\n .drawer u-elevation,\n .drawer .drawer-container {\n border-start-end-radius: var(--_navigation-drawer-corner-shape);\n border-end-end-radius: var(--_navigation-drawer-corner-shape);\n }\n .drawer.toggle u-elevation {\n --u-elevation-level: 1;\n }\n\n .drawer-container {\n height: 100%;\n overflow: hidden;\n }\n\n .scrim {\n --_modal-drawer-open-progress: 0;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100vw;\n height: 100vh;\n background: var(--u-drawer-scrim-color, var(--u-color-scrim, rgb(0, 0, 0)));\n pointer-events: none;\n opacity: calc(var(--_scrim-opacity) * var(--_modal-drawer-open-progress));\n transition: opacity 375ms linear;\n }\n .scrim.moving {\n transition: none;\n }\n .scrim.toggle {\n --_modal-drawer-open-progress: 1;\n pointer-events: auto;\n }\n\n @media (min-width: 840px) {\n .content slot {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n }\n @media (min-width: 1200px) {\n .container {\n --_navigation-width: var(--_navigation-drawer-width);\n }\n .container:has(.drawer.toggle) {\n --_navigation-width: 0;\n }\n .drawer {\n border-radius: 0;\n inset-inline-start: 0;\n }\n .drawer.toggle {\n inset-inline-start: var(--_navigation-drawer-width-negative);\n }\n u-elevation,\n .scrim {\n display: none;\n }\n }\n .content {\n position: fixed;\n inset: 0;\n z-index: 1;\n overflow: auto;\n }\n\n .drawer {\n position: relative;\n width: var(--_navigation-drawer-width);\n z-index: var(--u-side-navigation-z-index, 1030);\n pointer-events: auto;\n }\n\n .scrim {\n z-index: 1;\n }\n\n swiper-container {\n height: 100%;\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n swiper-container::part(wrapper) {\n pointer-events: none;\n z-index: 2;\n }\n\n @media (min-width: 1200px) {\n :host {\n --_navigation-width: var(--_navigation-drawer-width);\n }\n .content {\n position: static;\n }\n swiper-container::part(container) {\n display: grid;\n grid-template-columns: var(--_navigation-width) minmax(0, 1fr);\n transition: 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n .dummy-slide {\n display: none;\n }\n }\n`"
5177
+ }
5178
+ ],
5179
+ "exports": [
5180
+ {
5181
+ "kind": "js",
5182
+ "name": "styles",
5183
+ "declaration": {
5184
+ "name": "styles",
5185
+ "module": "src/navigation/side-navigation-swiper.styles.ts"
5186
+ }
5187
+ }
5188
+ ]
5189
+ },
5190
+ {
5191
+ "kind": "javascript-module",
5192
+ "path": "src/navigation/side-navigation.styles.ts",
5193
+ "declarations": [
5194
+ {
5195
+ "kind": "variable",
5196
+ "name": "styles",
5197
+ "default": "css `\n :host {\n --_navigation-width: 0;\n --_navigation-drawer-width: min(var(--u-navigation-drawer-width, 360px), 85vw);\n --_navigation-drawer-width-negative: calc(var(--_navigation-drawer-width) * -1);\n --_navigation-drawer-corner-shape: var(--u-navigation-drawer-corner-shape, var(--u-shape-corner-large, 16px));\n --_scrim-opacity: var(--u-drawer-scrim-opacity, .4);\n display: block;\n width: 100%;\n height: 100%;\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n :host(.disable-transition) * {\n transition: none !important;\n }\n :host(.disable-transition) * ::slotted(u-top-app-bar) {\n transition: none !important;\n }\n\n .drawer {\n transition: inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n .drawer,\n .drawer u-elevation,\n .drawer .drawer-container {\n border-start-end-radius: var(--_navigation-drawer-corner-shape);\n border-end-end-radius: var(--_navigation-drawer-corner-shape);\n }\n .drawer.toggle u-elevation {\n --u-elevation-level: 1;\n }\n\n .drawer-container {\n height: 100%;\n overflow: hidden;\n }\n\n .scrim {\n --_modal-drawer-open-progress: 0;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100vw;\n height: 100vh;\n background: var(--u-drawer-scrim-color, var(--u-color-scrim, rgb(0, 0, 0)));\n pointer-events: none;\n opacity: calc(var(--_scrim-opacity) * var(--_modal-drawer-open-progress));\n transition: opacity 375ms linear;\n }\n .scrim.moving {\n transition: none;\n }\n .scrim.toggle {\n --_modal-drawer-open-progress: 1;\n pointer-events: auto;\n }\n\n @media (min-width: 840px) {\n .content slot {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n }\n @media (min-width: 1200px) {\n .container {\n --_navigation-width: var(--_navigation-drawer-width);\n }\n .container:has(.drawer.toggle) {\n --_navigation-width: 0;\n }\n .drawer {\n border-radius: 0;\n inset-inline-start: 0;\n }\n .drawer.toggle {\n inset-inline-start: var(--_navigation-drawer-width-negative);\n }\n u-elevation,\n .scrim {\n display: none;\n }\n }\n .navigation {\n position: fixed;\n inset-inline-start: 0;\n inset-block-start: 0;\n height: 100%;\n z-index: var(--u-side-navigation-z-index, 1030);\n }\n\n .drawer {\n position: absolute;\n inset-inline-start: var(--_navigation-drawer-width-negative);\n inset-block-start: 0;\n width: var(--_navigation-drawer-width);\n height: 100%;\n border-start-end-radius: var(--_navigation-drawer-corner-shape);\n border-end-end-radius: var(--_navigation-drawer-corner-shape);\n overflow: hidden;\n }\n .drawer.toggle {\n inset-inline-start: 0;\n }\n\n .grid {\n display: grid;\n grid-template-columns: var(--_navigation-width) minmax(0, 1fr);\n transition: 375ms cubic-bezier(0.19, 1, 0.22, 1);\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n @media (min-width: 1200px) {\n .drawer {\n inset-inline-start: 0;\n }\n .drawer.toggle {\n inset-inline-start: var(--_navigation-drawer-width-negative);\n }\n }\n`"
5198
+ }
5199
+ ],
5200
+ "exports": [
5201
+ {
5202
+ "kind": "js",
5203
+ "name": "styles",
5204
+ "declaration": {
5205
+ "name": "styles",
5206
+ "module": "src/navigation/side-navigation.styles.ts"
5207
+ }
5208
+ }
5209
+ ]
5210
+ },
5211
+ {
5212
+ "kind": "javascript-module",
5213
+ "path": "src/navigation/side-navigation.ts",
5214
+ "declarations": [
5215
+ {
5216
+ "kind": "class",
5217
+ "description": "",
5218
+ "name": "UmSideNavigation",
5064
5219
  "members": [
5065
5220
  {
5066
5221
  "kind": "field",
5067
- "name": "hideStateLayer",
5222
+ "name": "#toggleDrawer",
5223
+ "privacy": "private",
5068
5224
  "type": {
5069
5225
  "text": "boolean"
5070
5226
  },
5071
- "default": "false",
5072
- "attribute": "hide-state-layer",
5073
- "reflects": true
5227
+ "default": "false"
5228
+ },
5229
+ {
5230
+ "kind": "field",
5231
+ "name": "disableSlideAnimation",
5232
+ "type": {
5233
+ "text": "boolean"
5234
+ },
5235
+ "privacy": "private",
5236
+ "default": "false"
5237
+ },
5238
+ {
5239
+ "kind": "field",
5240
+ "name": "toggleDrawer",
5241
+ "description": "Toggle the navigation drawer visibility\n\n_Modal drawer_: Open if `true`, closed if `false`\n_Standard drawer_: Collapsed if `true`, visible if `false`",
5242
+ "attribute": "toggle-drawer"
5243
+ },
5244
+ {
5245
+ "kind": "field",
5246
+ "name": "swiperContainer",
5247
+ "type": {
5248
+ "text": "any"
5249
+ }
5250
+ },
5251
+ {
5252
+ "kind": "field",
5253
+ "name": "scrim",
5254
+ "type": {
5255
+ "text": "HTMLElement"
5256
+ }
5257
+ },
5258
+ {
5259
+ "kind": "field",
5260
+ "name": "scrollContainer",
5261
+ "type": {
5262
+ "text": "HTMLElement | undefined"
5263
+ }
5264
+ },
5265
+ {
5266
+ "kind": "method",
5267
+ "name": "renderDefault",
5268
+ "privacy": "private"
5269
+ },
5270
+ {
5271
+ "kind": "method",
5272
+ "name": "renderWithSwipe",
5273
+ "privacy": "private"
5274
+ },
5275
+ {
5276
+ "kind": "method",
5277
+ "name": "swiperActiveIndexChange",
5278
+ "privacy": "private"
5279
+ },
5280
+ {
5281
+ "kind": "method",
5282
+ "name": "swiperTransitionStart",
5283
+ "privacy": "private"
5284
+ },
5285
+ {
5286
+ "kind": "method",
5287
+ "name": "slidesGridLengthChange",
5288
+ "privacy": "private"
5289
+ },
5290
+ {
5291
+ "kind": "method",
5292
+ "name": "swiperTransitionEnd",
5293
+ "privacy": "private"
5294
+ },
5295
+ {
5296
+ "kind": "method",
5297
+ "name": "swiperSliderMove",
5298
+ "privacy": "private",
5299
+ "parameters": [
5300
+ {
5301
+ "name": "e",
5302
+ "type": {
5303
+ "text": "Event"
5304
+ }
5305
+ }
5306
+ ]
5307
+ },
5308
+ {
5309
+ "kind": "method",
5310
+ "name": "scrimClick",
5311
+ "privacy": "private"
5312
+ }
5313
+ ],
5314
+ "attributes": [
5315
+ {
5316
+ "name": "toggle-drawer",
5317
+ "description": "Toggle the navigation drawer visibility\n\n_Modal drawer_: Open if `true`, closed if `false`\n_Standard drawer_: Collapsed if `true`, visible if `false`",
5318
+ "fieldName": "toggleDrawer"
5319
+ }
5320
+ ],
5321
+ "superclass": {
5322
+ "name": "LitElement",
5323
+ "package": "lit"
5324
+ },
5325
+ "tagName": "u-side-navigation",
5326
+ "customElement": true
5327
+ }
5328
+ ],
5329
+ "exports": [
5330
+ {
5331
+ "kind": "js",
5332
+ "name": "UmSideNavigation",
5333
+ "declaration": {
5334
+ "name": "UmSideNavigation",
5335
+ "module": "src/navigation/side-navigation.ts"
5336
+ }
5337
+ },
5338
+ {
5339
+ "kind": "custom-element-definition",
5340
+ "name": "u-side-navigation",
5341
+ "declaration": {
5342
+ "name": "UmSideNavigation",
5343
+ "module": "src/navigation/side-navigation.ts"
5344
+ }
5345
+ }
5346
+ ]
5347
+ },
5348
+ {
5349
+ "kind": "javascript-module",
5350
+ "path": "src/radio/radio-list-item.ts",
5351
+ "declarations": [
5352
+ {
5353
+ "kind": "class",
5354
+ "description": "",
5355
+ "name": "UmRadioListItem",
5356
+ "mixins": [
5357
+ {
5358
+ "name": "mixinSelectionControlListItem",
5359
+ "module": "/src/shared/selection-control/selection-control-list-item.js"
5360
+ }
5361
+ ],
5362
+ "superclass": {
5363
+ "name": "UmRadio",
5364
+ "module": "/src/radio/radio.js"
5365
+ },
5366
+ "tagName": "u-radio-list-item",
5367
+ "customElement": true,
5368
+ "members": [
5369
+ {
5370
+ "kind": "field",
5371
+ "name": "styles",
5372
+ "type": {
5373
+ "text": "array"
5374
+ },
5375
+ "static": true,
5376
+ "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
5377
+ "inheritedFrom": {
5378
+ "name": "mixinSelectionControlListItem",
5379
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
5380
+ }
5381
+ },
5382
+ {
5383
+ "kind": "method",
5384
+ "name": "render",
5385
+ "return": {
5386
+ "type": {
5387
+ "text": "HTMLTemplateResult"
5388
+ }
5389
+ },
5390
+ "inheritedFrom": {
5391
+ "name": "mixinSelectionControlListItem",
5392
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
5393
+ }
5394
+ },
5395
+ {
5396
+ "kind": "field",
5397
+ "name": "hideStateLayer",
5398
+ "type": {
5399
+ "text": "boolean"
5400
+ },
5401
+ "default": "false",
5402
+ "attribute": "hide-state-layer",
5403
+ "reflects": true,
5404
+ "inheritedFrom": {
5405
+ "name": "UmRadio",
5406
+ "module": "src/radio/radio.ts"
5407
+ }
5074
5408
  },
5075
5409
  {
5076
5410
  "kind": "field",
@@ -5114,6 +5448,10 @@
5114
5448
  "privacy": "private",
5115
5449
  "type": {
5116
5450
  "text": "UmRadio[]"
5451
+ },
5452
+ "inheritedFrom": {
5453
+ "name": "UmRadio",
5454
+ "module": "src/radio/radio.ts"
5117
5455
  }
5118
5456
  },
5119
5457
  {
@@ -5126,17 +5464,29 @@
5126
5464
  "text": "KeyboardEvent"
5127
5465
  }
5128
5466
  }
5129
- ]
5467
+ ],
5468
+ "inheritedFrom": {
5469
+ "name": "UmRadio",
5470
+ "module": "src/radio/radio.ts"
5471
+ }
5130
5472
  },
5131
5473
  {
5132
5474
  "kind": "method",
5133
5475
  "name": "ensureOnlyOneChecked",
5134
- "privacy": "private"
5476
+ "privacy": "private",
5477
+ "inheritedFrom": {
5478
+ "name": "UmRadio",
5479
+ "module": "src/radio/radio.ts"
5480
+ }
5135
5481
  },
5136
5482
  {
5137
5483
  "kind": "method",
5138
5484
  "name": "uncheckSiblings",
5139
- "privacy": "private"
5485
+ "privacy": "private",
5486
+ "inheritedFrom": {
5487
+ "name": "UmRadio",
5488
+ "module": "src/radio/radio.ts"
5489
+ }
5140
5490
  },
5141
5491
  {
5142
5492
  "kind": "field",
@@ -5268,7 +5618,11 @@
5268
5618
  "text": "boolean"
5269
5619
  },
5270
5620
  "default": "false",
5271
- "fieldName": "hideStateLayer"
5621
+ "fieldName": "hideStateLayer",
5622
+ "inheritedFrom": {
5623
+ "name": "UmRadio",
5624
+ "module": "src/radio/radio.ts"
5625
+ }
5272
5626
  },
5273
5627
  {
5274
5628
  "name": "name",
@@ -5316,12 +5670,6 @@
5316
5670
  }
5317
5671
  }
5318
5672
  ],
5319
- "superclass": {
5320
- "name": "UmSelectionControl",
5321
- "module": "/src/shared/selection-control/selection-control.js"
5322
- },
5323
- "tagName": "u-radio",
5324
- "customElement": true,
5325
5673
  "events": [
5326
5674
  {
5327
5675
  "name": "change",
@@ -5339,30 +5687,30 @@
5339
5687
  "exports": [
5340
5688
  {
5341
5689
  "kind": "js",
5342
- "name": "UmRadio",
5690
+ "name": "UmRadioListItem",
5343
5691
  "declaration": {
5344
- "name": "UmRadio",
5345
- "module": "src/radio/radio.ts"
5692
+ "name": "UmRadioListItem",
5693
+ "module": "src/radio/radio-list-item.ts"
5346
5694
  }
5347
5695
  },
5348
5696
  {
5349
5697
  "kind": "custom-element-definition",
5350
- "name": "u-radio",
5698
+ "name": "u-radio-list-item",
5351
5699
  "declaration": {
5352
- "name": "UmRadio",
5353
- "module": "src/radio/radio.ts"
5700
+ "name": "UmRadioListItem",
5701
+ "module": "src/radio/radio-list-item.ts"
5354
5702
  }
5355
5703
  }
5356
5704
  ]
5357
5705
  },
5358
5706
  {
5359
5707
  "kind": "javascript-module",
5360
- "path": "src/ripple/ripple.styles.ts",
5708
+ "path": "src/radio/radio.styles.ts",
5361
5709
  "declarations": [
5362
5710
  {
5363
5711
  "kind": "variable",
5364
5712
  "name": "styles",
5365
- "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`"
5713
+ "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-unselected-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`"
5366
5714
  }
5367
5715
  ],
5368
5716
  "exports": [
@@ -5371,587 +5719,239 @@
5371
5719
  "name": "styles",
5372
5720
  "declaration": {
5373
5721
  "name": "styles",
5374
- "module": "src/ripple/ripple.styles.ts"
5722
+ "module": "src/radio/radio.styles.ts"
5375
5723
  }
5376
5724
  }
5377
5725
  ]
5378
5726
  },
5379
5727
  {
5380
5728
  "kind": "javascript-module",
5381
- "path": "src/ripple/ripple.ts",
5729
+ "path": "src/radio/radio.ts",
5382
5730
  "declarations": [
5383
5731
  {
5384
5732
  "kind": "class",
5385
5733
  "description": "",
5386
- "name": "UmRipple",
5734
+ "name": "UmRadio",
5387
5735
  "members": [
5388
5736
  {
5389
5737
  "kind": "field",
5390
- "name": "isTouching",
5391
- "type": {
5392
- "text": "boolean"
5393
- },
5394
- "privacy": "private",
5395
- "default": "false"
5396
- },
5397
- {
5398
- "kind": "field",
5399
- "name": "disabled",
5738
+ "name": "hideStateLayer",
5400
5739
  "type": {
5401
5740
  "text": "boolean"
5402
5741
  },
5403
5742
  "default": "false",
5404
- "description": "Disables the ripple.",
5405
- "attribute": "disabled",
5743
+ "attribute": "hide-state-layer",
5406
5744
  "reflects": true
5407
5745
  },
5408
5746
  {
5409
5747
  "kind": "field",
5410
- "name": "rippleContainer",
5748
+ "name": "inputType",
5411
5749
  "type": {
5412
- "text": "HTMLElement"
5750
+ "text": "'checkbox' | 'radio'"
5413
5751
  },
5414
- "privacy": "private"
5415
- },
5416
- {
5417
- "kind": "method",
5418
- "name": "attachEvents",
5419
- "privacy": "private",
5420
- "return": {
5421
- "type": {
5422
- "text": "void"
5423
- }
5424
- }
5425
- },
5426
- {
5427
- "kind": "method",
5428
- "name": "dettachEvents",
5429
- "privacy": "private",
5430
- "return": {
5431
- "type": {
5432
- "text": "void"
5433
- }
5752
+ "privacy": "protected",
5753
+ "default": "'radio'",
5754
+ "inheritedFrom": {
5755
+ "name": "UmSelectionControl",
5756
+ "module": "src/shared/selection-control/selection-control.ts"
5434
5757
  }
5435
5758
  },
5436
5759
  {
5437
5760
  "kind": "method",
5438
- "name": "handleMouseDown",
5439
- "privacy": "private",
5440
- "return": {
5441
- "type": {
5442
- "text": "void"
5443
- }
5444
- },
5445
- "parameters": [
5446
- {
5447
- "name": "e",
5448
- "type": {
5449
- "text": "MouseEvent"
5450
- }
5451
- }
5452
- ]
5453
- },
5454
- {
5455
- "kind": "method",
5456
- "name": "handleTouchStart",
5457
- "privacy": "private",
5761
+ "name": "renderIndicator",
5762
+ "privacy": "protected",
5458
5763
  "return": {
5459
5764
  "type": {
5460
- "text": "void"
5765
+ "text": "HTMLTemplateResult"
5461
5766
  }
5462
5767
  },
5463
- "parameters": [
5464
- {
5465
- "name": "e",
5466
- "type": {
5467
- "text": "TouchEvent"
5468
- }
5469
- }
5470
- ]
5471
- },
5472
- {
5473
- "kind": "method",
5474
- "name": "canCreateRipple",
5475
- "privacy": "private",
5476
- "return": {
5477
- "type": {
5478
- "text": "boolean"
5479
- }
5768
+ "inheritedFrom": {
5769
+ "name": "UmSelectionControl",
5770
+ "module": "src/shared/selection-control/selection-control.ts"
5480
5771
  }
5481
5772
  },
5482
5773
  {
5483
- "kind": "method",
5484
- "name": "createRipple",
5485
- "return": {
5486
- "type": {
5487
- "text": "(() => void) | null"
5488
- }
5489
- },
5490
- "parameters": [
5491
- {
5492
- "name": "targetX",
5493
- "default": "null",
5494
- "type": {
5495
- "text": "number | null"
5496
- }
5497
- },
5498
- {
5499
- "name": "targetY",
5500
- "default": "null",
5501
- "type": {
5502
- "text": "number | null"
5503
- }
5504
- },
5505
- {
5506
- "name": "releaseEventName",
5507
- "default": "null",
5508
- "type": {
5509
- "text": "string | null"
5510
- }
5511
- }
5512
- ]
5774
+ "kind": "field",
5775
+ "name": "checked",
5776
+ "attribute": "checked",
5777
+ "inheritedFrom": {
5778
+ "name": "UmSelectionControl",
5779
+ "module": "src/shared/selection-control/selection-control.ts"
5780
+ }
5513
5781
  },
5514
5782
  {
5515
- "kind": "method",
5516
- "name": "createDismissEvent",
5783
+ "kind": "field",
5784
+ "name": "#siblings",
5517
5785
  "privacy": "private",
5518
- "return": {
5519
- "type": {
5520
- "text": "() => void"
5521
- }
5522
- },
5523
- "parameters": [
5524
- {
5525
- "name": "ripple",
5526
- "type": {
5527
- "text": "HTMLElement"
5528
- }
5529
- },
5530
- {
5531
- "name": "releaseEventName",
5532
- "type": {
5533
- "text": "string"
5534
- }
5535
- }
5536
- ]
5786
+ "type": {
5787
+ "text": "UmRadio[]"
5788
+ }
5537
5789
  },
5538
5790
  {
5539
5791
  "kind": "method",
5540
- "name": "_setElementSquareSizeAndCenter",
5541
- "privacy": "private",
5542
- "static": true,
5792
+ "name": "#handleKeyDown",
5543
5793
  "parameters": [
5544
5794
  {
5545
- "name": "element",
5546
- "type": {
5547
- "text": "HTMLElement"
5548
- }
5549
- },
5550
- {
5551
- "name": "size",
5795
+ "name": "event",
5552
5796
  "type": {
5553
- "text": "number"
5797
+ "text": "KeyboardEvent"
5554
5798
  }
5555
5799
  }
5556
5800
  ]
5557
- }
5558
- ],
5559
- "attributes": [
5560
- {
5561
- "name": "disabled",
5562
- "type": {
5563
- "text": "boolean"
5564
- },
5565
- "default": "false",
5566
- "description": "Disables the ripple.",
5567
- "fieldName": "disabled"
5568
- }
5569
- ],
5570
- "superclass": {
5571
- "name": "LitElement",
5572
- "package": "lit"
5573
- },
5574
- "tagName": "u-ripple",
5575
- "customElement": true
5576
- }
5577
- ],
5578
- "exports": [
5579
- {
5580
- "kind": "js",
5581
- "name": "UmRipple",
5582
- "declaration": {
5583
- "name": "UmRipple",
5584
- "module": "src/ripple/ripple.ts"
5585
- }
5586
- },
5587
- {
5588
- "kind": "custom-element-definition",
5589
- "name": "u-ripple",
5590
- "declaration": {
5591
- "name": "UmRipple",
5592
- "module": "src/ripple/ripple.ts"
5593
- }
5594
- }
5595
- ]
5596
- },
5597
- {
5598
- "kind": "javascript-module",
5599
- "path": "src/navigation/drawer-item.styles.ts",
5600
- "declarations": [
5601
- {
5602
- "kind": "variable",
5603
- "name": "styles",
5604
- "default": "css `\n :host {\n display: block;\n --_drawer-item-icon-size: var(--u-drawer-item-icon-size, 1.125rem);\n --_drawer-item-padding: var(--u-drawer-item-padding, 16px);\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-drawer-item-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-drawer-item-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-drawer-item-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-drawer-item-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n height: var(--u-drawer-item-height, 56px);\n padding-inline: var(--_drawer-item-padding);\n margin-inline: calc(var(--_drawer-item-padding) * -1);\n border-radius: var(--u-drawer-item-shape-corner, var(--u-shape-corner-full, 9999px));\n color: var(--u-drawer-item-label-inactive-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([active]) {\n color: var(--u-drawer-item-label-active-color, var(--_color-primary));\n }\n\n :host(:not([has-icon])) .icon,\n :host(:not([has-badge])) .badge {\n display: none;\n }\n\n .icon {\n font-size: var(--_drawer-item-icon-size);\n line-height: var(--_drawer-item-icon-size);\n margin-inline-end: var(--u-drawer-item-icon-margin, 16px);\n }\n\n .badge {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-inline-start: auto;\n padding-inline: var(--u-drawer-item-badge-padding, 12px 8px);\n }\n\n .content {\n justify-content: flex-start;\n }\n`"
5605
- }
5606
- ],
5607
- "exports": [
5608
- {
5609
- "kind": "js",
5610
- "name": "styles",
5611
- "declaration": {
5612
- "name": "styles",
5613
- "module": "src/navigation/drawer-item.styles.ts"
5614
- }
5615
- }
5616
- ]
5617
- },
5618
- {
5619
- "kind": "javascript-module",
5620
- "path": "src/navigation/drawer-item.ts",
5621
- "declarations": [
5622
- {
5623
- "kind": "class",
5624
- "description": "",
5625
- "name": "UmDrawerItem",
5626
- "members": [
5627
- {
5628
- "kind": "field",
5629
- "name": "hasIcon",
5630
- "type": {
5631
- "text": "boolean"
5632
- },
5633
- "default": "false",
5634
- "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
5635
- "attribute": "has-icon",
5636
- "reflects": true
5637
- },
5638
- {
5639
- "kind": "field",
5640
- "name": "hasBadge",
5641
- "type": {
5642
- "text": "boolean"
5643
- },
5644
- "default": "false",
5645
- "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
5646
- "attribute": "has-badge",
5647
- "reflects": true
5648
- },
5649
- {
5650
- "kind": "field",
5651
- "name": "active",
5652
- "type": {
5653
- "text": "boolean"
5654
- },
5655
- "default": "false",
5656
- "description": "Whether the drawer item is active or not\n\n_Note:_ Readonly",
5657
- "attribute": "active",
5658
- "reflects": true
5659
- },
5660
- {
5661
- "kind": "field",
5662
- "name": "keepDrawerOpen",
5663
- "type": {
5664
- "text": "boolean"
5665
- },
5666
- "default": "false",
5667
- "description": "If true, it will not attempt to close de navigation drawer on click",
5668
- "attribute": "keep-drawer-open",
5669
- "reflects": true
5670
- },
5671
- {
5672
- "kind": "field",
5673
- "name": "assignedIcons",
5674
- "type": {
5675
- "text": "HTMLElement[]"
5676
- },
5677
- "privacy": "private"
5678
- },
5679
- {
5680
- "kind": "field",
5681
- "name": "assignedBadges",
5682
- "type": {
5683
- "text": "HTMLElement[]"
5684
- },
5685
- "privacy": "private"
5686
- },
5687
- {
5688
- "kind": "method",
5689
- "name": "renderContent",
5690
- "privacy": "protected",
5691
- "return": {
5692
- "type": {
5693
- "text": "HTMLTemplateResult"
5694
- }
5695
- },
5696
- "inheritedFrom": {
5697
- "name": "UmButtonWrapper",
5698
- "module": "src/shared/button-wrapper.ts"
5699
- }
5700
5801
  },
5701
5802
  {
5702
5803
  "kind": "method",
5703
- "name": "handleIconSlotChange",
5804
+ "name": "ensureOnlyOneChecked",
5704
5805
  "privacy": "private"
5705
5806
  },
5706
5807
  {
5707
5808
  "kind": "method",
5708
- "name": "handleBadgeSlotChange",
5809
+ "name": "uncheckSiblings",
5709
5810
  "privacy": "private"
5710
5811
  },
5711
- {
5712
- "kind": "method",
5713
- "name": "handleClick",
5714
- "privacy": "protected",
5715
- "return": {
5716
- "type": {
5717
- "text": "void"
5718
- }
5719
- },
5720
- "parameters": [
5721
- {
5722
- "name": "_",
5723
- "type": {
5724
- "text": "UIEvent"
5725
- }
5726
- }
5727
- ],
5728
- "inheritedFrom": {
5729
- "name": "UmButtonWrapper",
5730
- "module": "src/shared/button-wrapper.ts"
5731
- }
5732
- },
5733
5812
  {
5734
5813
  "kind": "field",
5735
- "name": "disabled",
5814
+ "name": "formAssociated",
5736
5815
  "type": {
5737
5816
  "text": "boolean"
5738
5817
  },
5739
- "default": "false",
5740
- "description": "Whether the button is disabled or not.",
5741
- "attribute": "disabled",
5742
- "reflects": true,
5743
- "inheritedFrom": {
5744
- "name": "UmButtonWrapper",
5745
- "module": "src/shared/button-wrapper.ts"
5746
- }
5747
- },
5748
- {
5749
- "kind": "field",
5750
- "name": "href",
5751
- "type": {
5752
- "text": "string | undefined"
5753
- },
5754
- "description": "The URL that the link button points to.",
5755
- "attribute": "href",
5756
- "inheritedFrom": {
5757
- "name": "UmButtonWrapper",
5758
- "module": "src/shared/button-wrapper.ts"
5759
- }
5760
- },
5761
- {
5762
- "kind": "field",
5763
- "name": "target",
5764
- "type": {
5765
- "text": "string | undefined"
5766
- },
5767
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
5768
- "attribute": "target",
5769
- "inheritedFrom": {
5770
- "name": "UmButtonWrapper",
5771
- "module": "src/shared/button-wrapper.ts"
5772
- }
5773
- },
5774
- {
5775
- "kind": "field",
5776
- "name": "name",
5777
- "type": {
5778
- "text": "string | undefined"
5779
- },
5780
- "attribute": "name",
5781
- "inheritedFrom": {
5782
- "name": "UmButtonWrapper",
5783
- "module": "src/shared/button-wrapper.ts"
5784
- }
5785
- },
5786
- {
5787
- "kind": "field",
5788
- "name": "buttonElement",
5789
- "type": {
5790
- "text": "HTMLElement"
5791
- },
5792
- "privacy": "private",
5793
- "inheritedFrom": {
5794
- "name": "UmButtonWrapper",
5795
- "module": "src/shared/button-wrapper.ts"
5796
- }
5797
- },
5798
- {
5799
- "kind": "field",
5800
- "name": "ripple",
5801
- "type": {
5802
- "text": "UmRipple"
5803
- },
5804
- "privacy": "private",
5818
+ "static": true,
5819
+ "default": "true",
5805
5820
  "inheritedFrom": {
5806
- "name": "UmButtonWrapper",
5807
- "module": "src/shared/button-wrapper.ts"
5821
+ "name": "UmSelectionControl",
5822
+ "module": "src/shared/selection-control/selection-control.ts"
5808
5823
  }
5809
5824
  },
5810
5825
  {
5811
5826
  "kind": "field",
5812
- "name": "innerRole",
5827
+ "name": "elementInternals",
5813
5828
  "type": {
5814
- "text": "string | null"
5829
+ "text": "ElementInternals"
5815
5830
  },
5816
5831
  "privacy": "protected",
5817
- "default": "null",
5818
5832
  "inheritedFrom": {
5819
- "name": "UmButtonWrapper",
5820
- "module": "src/shared/button-wrapper.ts"
5833
+ "name": "UmSelectionControl",
5834
+ "module": "src/shared/selection-control/selection-control.ts"
5821
5835
  }
5822
5836
  },
5823
5837
  {
5824
5838
  "kind": "field",
5825
- "name": "pathname",
5839
+ "name": "name",
5826
5840
  "type": {
5827
- "text": "string"
5841
+ "text": "string | undefined"
5828
5842
  },
5843
+ "default": "''",
5844
+ "attribute": "name",
5829
5845
  "inheritedFrom": {
5830
- "name": "UmButtonWrapper",
5831
- "module": "src/shared/button-wrapper.ts"
5846
+ "name": "UmSelectionControl",
5847
+ "module": "src/shared/selection-control/selection-control.ts"
5832
5848
  }
5833
5849
  },
5834
5850
  {
5835
- "kind": "method",
5836
- "name": "renderButton",
5837
- "privacy": "private",
5851
+ "kind": "field",
5852
+ "name": "disabled",
5853
+ "type": {
5854
+ "text": "boolean"
5855
+ },
5856
+ "default": "false",
5857
+ "attribute": "disabled",
5858
+ "reflects": true,
5838
5859
  "inheritedFrom": {
5839
- "name": "UmButtonWrapper",
5840
- "module": "src/shared/button-wrapper.ts"
5860
+ "name": "UmSelectionControl",
5861
+ "module": "src/shared/selection-control/selection-control.ts"
5841
5862
  }
5842
5863
  },
5843
5864
  {
5844
- "kind": "method",
5845
- "name": "renderLink",
5846
- "privacy": "private",
5865
+ "kind": "field",
5866
+ "name": "input",
5867
+ "type": {
5868
+ "text": "HTMLInputElement"
5869
+ },
5847
5870
  "inheritedFrom": {
5848
- "name": "UmButtonWrapper",
5849
- "module": "src/shared/button-wrapper.ts"
5871
+ "name": "UmSelectionControl",
5872
+ "module": "src/shared/selection-control/selection-control.ts"
5850
5873
  }
5851
5874
  },
5852
5875
  {
5853
- "kind": "method",
5854
- "name": "focus",
5876
+ "kind": "field",
5877
+ "name": "form",
5878
+ "type": {
5879
+ "text": "HTMLFormElement | null"
5880
+ },
5855
5881
  "inheritedFrom": {
5856
- "name": "UmButtonWrapper",
5857
- "module": "src/shared/button-wrapper.ts"
5882
+ "name": "UmSelectionControl",
5883
+ "module": "src/shared/selection-control/selection-control.ts"
5858
5884
  }
5859
5885
  },
5860
5886
  {
5861
- "kind": "method",
5862
- "name": "blur",
5887
+ "kind": "field",
5888
+ "name": "#checked",
5889
+ "privacy": "private",
5890
+ "type": {
5891
+ "text": "boolean"
5892
+ },
5893
+ "default": "false",
5863
5894
  "inheritedFrom": {
5864
- "name": "UmButtonWrapper",
5865
- "module": "src/shared/button-wrapper.ts"
5895
+ "name": "UmSelectionControl",
5896
+ "module": "src/shared/selection-control/selection-control.ts"
5866
5897
  }
5867
5898
  },
5868
5899
  {
5869
- "kind": "method",
5870
- "name": "getAriaLabel",
5871
- "privacy": "protected",
5872
- "return": {
5873
- "type": {
5874
- "text": "string | null | typeof nothing"
5875
- }
5900
+ "kind": "field",
5901
+ "name": "renderRipple",
5902
+ "type": {
5903
+ "text": "boolean"
5876
5904
  },
5905
+ "privacy": "protected",
5906
+ "default": "true",
5877
5907
  "inheritedFrom": {
5878
- "name": "UmButtonWrapper",
5879
- "module": "src/shared/button-wrapper.ts"
5908
+ "name": "UmSelectionControl",
5909
+ "module": "src/shared/selection-control/selection-control.ts"
5880
5910
  }
5881
5911
  },
5882
5912
  {
5883
- "kind": "method",
5884
- "name": "innerFocusHandler",
5885
- "privacy": "private",
5886
- "return": {
5887
- "type": {
5888
- "text": "void"
5889
- }
5913
+ "kind": "field",
5914
+ "name": "value",
5915
+ "type": {
5916
+ "text": "string"
5890
5917
  },
5918
+ "default": "'on'",
5919
+ "description": "The element value to use in form submission when checked.",
5920
+ "attribute": "value",
5891
5921
  "inheritedFrom": {
5892
- "name": "UmButtonWrapper",
5893
- "module": "src/shared/button-wrapper.ts"
5922
+ "name": "UmSelectionControl",
5923
+ "module": "src/shared/selection-control/selection-control.ts"
5894
5924
  }
5895
5925
  },
5896
5926
  {
5897
5927
  "kind": "method",
5898
- "name": "innerClickHandler",
5899
- "privacy": "private",
5900
- "return": {
5901
- "type": {
5902
- "text": "void"
5903
- }
5904
- },
5905
- "parameters": [
5906
- {
5907
- "name": "event",
5908
- "type": {
5909
- "text": "MouseEvent"
5910
- }
5911
- }
5912
- ],
5928
+ "name": "#handleClick",
5913
5929
  "inheritedFrom": {
5914
- "name": "UmButtonWrapper",
5915
- "module": "src/shared/button-wrapper.ts"
5930
+ "name": "UmSelectionControl",
5931
+ "module": "src/shared/selection-control/selection-control.ts"
5916
5932
  }
5917
5933
  }
5918
5934
  ],
5919
5935
  "attributes": [
5920
5936
  {
5921
- "name": "has-icon",
5922
- "type": {
5923
- "text": "boolean"
5924
- },
5925
- "default": "false",
5926
- "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
5927
- "fieldName": "hasIcon"
5928
- },
5929
- {
5930
- "name": "has-badge",
5931
- "type": {
5932
- "text": "boolean"
5933
- },
5934
- "default": "false",
5935
- "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
5936
- "fieldName": "hasBadge"
5937
- },
5938
- {
5939
- "name": "active",
5937
+ "name": "hide-state-layer",
5940
5938
  "type": {
5941
5939
  "text": "boolean"
5942
5940
  },
5943
5941
  "default": "false",
5944
- "description": "Whether the drawer item is active or not\n\n_Note:_ Readonly",
5945
- "fieldName": "active"
5942
+ "fieldName": "hideStateLayer"
5946
5943
  },
5947
5944
  {
5948
- "name": "keep-drawer-open",
5945
+ "name": "name",
5949
5946
  "type": {
5950
- "text": "boolean"
5947
+ "text": "string | undefined"
5951
5948
  },
5952
- "default": "false",
5953
- "description": "If true, it will not attempt to close de navigation drawer on click",
5954
- "fieldName": "keepDrawerOpen"
5949
+ "default": "''",
5950
+ "fieldName": "name",
5951
+ "inheritedFrom": {
5952
+ "name": "UmSelectionControl",
5953
+ "module": "src/shared/selection-control/selection-control.ts"
5954
+ }
5955
5955
  },
5956
5956
  {
5957
5957
  "name": "disabled",
@@ -5959,162 +5959,81 @@
5959
5959
  "text": "boolean"
5960
5960
  },
5961
5961
  "default": "false",
5962
- "description": "Whether the button is disabled or not.",
5963
5962
  "fieldName": "disabled",
5964
5963
  "inheritedFrom": {
5965
- "name": "UmButtonWrapper",
5966
- "module": "src/shared/button-wrapper.ts"
5967
- }
5968
- },
5969
- {
5970
- "name": "href",
5971
- "type": {
5972
- "text": "string | undefined"
5973
- },
5974
- "description": "The URL that the link button points to.",
5975
- "fieldName": "href",
5976
- "inheritedFrom": {
5977
- "name": "UmButtonWrapper",
5978
- "module": "src/shared/button-wrapper.ts"
5964
+ "name": "UmSelectionControl",
5965
+ "module": "src/shared/selection-control/selection-control.ts"
5979
5966
  }
5980
5967
  },
5981
5968
  {
5982
- "name": "target",
5969
+ "name": "value",
5983
5970
  "type": {
5984
- "text": "string | undefined"
5971
+ "text": "string"
5985
5972
  },
5986
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
5987
- "fieldName": "target",
5973
+ "default": "'on'",
5974
+ "description": "The element value to use in form submission when checked.",
5975
+ "fieldName": "value",
5988
5976
  "inheritedFrom": {
5989
- "name": "UmButtonWrapper",
5990
- "module": "src/shared/button-wrapper.ts"
5977
+ "name": "UmSelectionControl",
5978
+ "module": "src/shared/selection-control/selection-control.ts"
5991
5979
  }
5992
5980
  },
5993
5981
  {
5994
- "name": "name",
5995
- "type": {
5996
- "text": "string | undefined"
5997
- },
5998
- "fieldName": "name",
5982
+ "name": "checked",
5983
+ "fieldName": "checked",
5999
5984
  "inheritedFrom": {
6000
- "name": "UmButtonWrapper",
6001
- "module": "src/shared/button-wrapper.ts"
6002
- }
6003
- }
6004
- ],
6005
- "superclass": {
6006
- "name": "UmButtonWrapper",
6007
- "module": "/src/shared/button-wrapper.js"
6008
- },
6009
- "tagName": "u-drawer-item",
6010
- "customElement": true
6011
- }
6012
- ],
6013
- "exports": [
6014
- {
6015
- "kind": "js",
6016
- "name": "UmDrawerItem",
6017
- "declaration": {
6018
- "name": "UmDrawerItem",
6019
- "module": "src/navigation/drawer-item.ts"
6020
- }
6021
- },
6022
- {
6023
- "kind": "custom-element-definition",
6024
- "name": "u-drawer-item",
6025
- "declaration": {
6026
- "name": "UmDrawerItem",
6027
- "module": "src/navigation/drawer-item.ts"
6028
- }
6029
- }
6030
- ]
6031
- },
6032
- {
6033
- "kind": "javascript-module",
6034
- "path": "src/navigation/drawer.styles.ts",
6035
- "declarations": [
6036
- {
6037
- "kind": "variable",
6038
- "name": "styles",
6039
- "default": "css `\n :host {\n display: block;\n background-color: var(--u-modal-drawer-background-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-drawer-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n height: 100%;\n padding-inline: var(--u-drawer-padding, 28px);\n }\n\n @media (min-width: 1200px) {\n :host {\n background-color: var(--u-standard-drawer-background-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n }\n }\n`"
6040
- }
6041
- ],
6042
- "exports": [
6043
- {
6044
- "kind": "js",
6045
- "name": "styles",
6046
- "declaration": {
6047
- "name": "styles",
6048
- "module": "src/navigation/drawer.styles.ts"
6049
- }
6050
- }
6051
- ]
6052
- },
6053
- {
6054
- "kind": "javascript-module",
6055
- "path": "src/navigation/drawer.ts",
6056
- "declarations": [
6057
- {
6058
- "kind": "class",
6059
- "description": "",
6060
- "name": "UmDrawer",
6061
- "members": [],
5985
+ "name": "UmSelectionControl",
5986
+ "module": "src/shared/selection-control/selection-control.ts"
5987
+ }
5988
+ }
5989
+ ],
6062
5990
  "superclass": {
6063
- "name": "LitElement",
6064
- "package": "lit"
5991
+ "name": "UmSelectionControl",
5992
+ "module": "/src/shared/selection-control/selection-control.js"
6065
5993
  },
6066
- "tagName": "u-drawer",
6067
- "customElement": true
5994
+ "tagName": "u-radio",
5995
+ "customElement": true,
5996
+ "events": [
5997
+ {
5998
+ "name": "change",
5999
+ "type": {
6000
+ "text": "Event"
6001
+ },
6002
+ "inheritedFrom": {
6003
+ "name": "UmSelectionControl",
6004
+ "module": "src/shared/selection-control/selection-control.ts"
6005
+ }
6006
+ }
6007
+ ]
6068
6008
  }
6069
6009
  ],
6070
6010
  "exports": [
6071
6011
  {
6072
6012
  "kind": "js",
6073
- "name": "UmDrawer",
6013
+ "name": "UmRadio",
6074
6014
  "declaration": {
6075
- "name": "UmDrawer",
6076
- "module": "src/navigation/drawer.ts"
6015
+ "name": "UmRadio",
6016
+ "module": "src/radio/radio.ts"
6077
6017
  }
6078
6018
  },
6079
6019
  {
6080
6020
  "kind": "custom-element-definition",
6081
- "name": "u-drawer",
6082
- "declaration": {
6083
- "name": "UmDrawer",
6084
- "module": "src/navigation/drawer.ts"
6085
- }
6086
- }
6087
- ]
6088
- },
6089
- {
6090
- "kind": "javascript-module",
6091
- "path": "src/navigation/side-navigation-swiper.styles.ts",
6092
- "declarations": [
6093
- {
6094
- "kind": "variable",
6095
- "name": "styles",
6096
- "default": "css `\n :host {\n --_navigation-width: 0;\n --_navigation-drawer-width: min(var(--u-navigation-drawer-width, 360px), 85vw);\n --_navigation-drawer-width-negative: calc(var(--_navigation-drawer-width) * -1);\n --_navigation-drawer-corner-shape: var(--u-navigation-drawer-corner-shape, var(--u-shape-corner-large, 16px));\n --_scrim-opacity: var(--u-drawer-scrim-opacity, .4);\n display: block;\n width: 100%;\n height: 100%;\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n :host(.disable-transition) * {\n transition: none !important;\n }\n :host(.disable-transition) * ::slotted(u-top-app-bar) {\n transition: none !important;\n }\n\n .drawer {\n transition: inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n .drawer,\n .drawer u-elevation,\n .drawer .drawer-container {\n border-start-end-radius: var(--_navigation-drawer-corner-shape);\n border-end-end-radius: var(--_navigation-drawer-corner-shape);\n }\n .drawer.toggle u-elevation {\n --u-elevation-level: 1;\n }\n\n .drawer-container {\n height: 100%;\n overflow: hidden;\n }\n\n .scrim {\n --_modal-drawer-open-progress: 0;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100vw;\n height: 100vh;\n background: var(--u-drawer-scrim-color, var(--u-color-scrim, rgb(0, 0, 0)));\n pointer-events: none;\n opacity: calc(var(--_scrim-opacity) * var(--_modal-drawer-open-progress));\n transition: opacity 375ms linear;\n }\n .scrim.moving {\n transition: none;\n }\n .scrim.toggle {\n --_modal-drawer-open-progress: 1;\n pointer-events: auto;\n }\n\n @media (min-width: 840px) {\n .content slot {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n }\n @media (min-width: 1200px) {\n .container {\n --_navigation-width: var(--_navigation-drawer-width);\n }\n .container:has(.drawer.toggle) {\n --_navigation-width: 0;\n }\n .drawer {\n border-radius: 0;\n inset-inline-start: 0;\n }\n .drawer.toggle {\n inset-inline-start: var(--_navigation-drawer-width-negative);\n }\n u-elevation,\n .scrim {\n display: none;\n }\n }\n .content {\n position: fixed;\n inset: 0;\n z-index: 1;\n overflow: auto;\n }\n\n .drawer {\n position: relative;\n width: var(--_navigation-drawer-width);\n z-index: var(--u-side-navigation-z-index, 1030);\n pointer-events: auto;\n }\n\n .scrim {\n z-index: 1;\n }\n\n swiper-container {\n height: 100%;\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n swiper-container::part(wrapper) {\n pointer-events: none;\n z-index: 2;\n }\n\n @media (min-width: 1200px) {\n :host {\n --_navigation-width: var(--_navigation-drawer-width);\n }\n .content {\n position: static;\n }\n swiper-container::part(container) {\n display: grid;\n grid-template-columns: var(--_navigation-width) minmax(0, 1fr);\n transition: 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n .dummy-slide {\n display: none;\n }\n }\n`"
6097
- }
6098
- ],
6099
- "exports": [
6100
- {
6101
- "kind": "js",
6102
- "name": "styles",
6021
+ "name": "u-radio",
6103
6022
  "declaration": {
6104
- "name": "styles",
6105
- "module": "src/navigation/side-navigation-swiper.styles.ts"
6023
+ "name": "UmRadio",
6024
+ "module": "src/radio/radio.ts"
6106
6025
  }
6107
6026
  }
6108
6027
  ]
6109
6028
  },
6110
6029
  {
6111
6030
  "kind": "javascript-module",
6112
- "path": "src/navigation/side-navigation.styles.ts",
6031
+ "path": "src/ripple/ripple.styles.ts",
6113
6032
  "declarations": [
6114
6033
  {
6115
6034
  "kind": "variable",
6116
6035
  "name": "styles",
6117
- "default": "css `\n :host {\n --_navigation-width: 0;\n --_navigation-drawer-width: min(var(--u-navigation-drawer-width, 360px), 85vw);\n --_navigation-drawer-width-negative: calc(var(--_navigation-drawer-width) * -1);\n --_navigation-drawer-corner-shape: var(--u-navigation-drawer-corner-shape, var(--u-shape-corner-large, 16px));\n --_scrim-opacity: var(--u-drawer-scrim-opacity, .4);\n display: block;\n width: 100%;\n height: 100%;\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n :host(.disable-transition) * {\n transition: none !important;\n }\n :host(.disable-transition) * ::slotted(u-top-app-bar) {\n transition: none !important;\n }\n\n .drawer {\n transition: inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n .drawer,\n .drawer u-elevation,\n .drawer .drawer-container {\n border-start-end-radius: var(--_navigation-drawer-corner-shape);\n border-end-end-radius: var(--_navigation-drawer-corner-shape);\n }\n .drawer.toggle u-elevation {\n --u-elevation-level: 1;\n }\n\n .drawer-container {\n height: 100%;\n overflow: hidden;\n }\n\n .scrim {\n --_modal-drawer-open-progress: 0;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100vw;\n height: 100vh;\n background: var(--u-drawer-scrim-color, var(--u-color-scrim, rgb(0, 0, 0)));\n pointer-events: none;\n opacity: calc(var(--_scrim-opacity) * var(--_modal-drawer-open-progress));\n transition: opacity 375ms linear;\n }\n .scrim.moving {\n transition: none;\n }\n .scrim.toggle {\n --_modal-drawer-open-progress: 1;\n pointer-events: auto;\n }\n\n @media (min-width: 840px) {\n .content slot {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n }\n @media (min-width: 1200px) {\n .container {\n --_navigation-width: var(--_navigation-drawer-width);\n }\n .container:has(.drawer.toggle) {\n --_navigation-width: 0;\n }\n .drawer {\n border-radius: 0;\n inset-inline-start: 0;\n }\n .drawer.toggle {\n inset-inline-start: var(--_navigation-drawer-width-negative);\n }\n u-elevation,\n .scrim {\n display: none;\n }\n }\n .navigation {\n position: fixed;\n inset-inline-start: 0;\n inset-block-start: 0;\n height: 100%;\n z-index: var(--u-side-navigation-z-index, 1030);\n }\n\n .drawer {\n position: absolute;\n inset-inline-start: var(--_navigation-drawer-width-negative);\n inset-block-start: 0;\n width: var(--_navigation-drawer-width);\n height: 100%;\n border-start-end-radius: var(--_navigation-drawer-corner-shape);\n border-end-end-radius: var(--_navigation-drawer-corner-shape);\n overflow: hidden;\n }\n .drawer.toggle {\n inset-inline-start: 0;\n }\n\n .grid {\n display: grid;\n grid-template-columns: var(--_navigation-width) minmax(0, 1fr);\n transition: 375ms cubic-bezier(0.19, 1, 0.22, 1);\n --u-app-bar-offset: var(--_navigation-width);\n }\n\n @media (min-width: 1200px) {\n .drawer {\n inset-inline-start: 0;\n }\n .drawer.toggle {\n inset-inline-start: var(--_navigation-drawer-width-negative);\n }\n }\n`"
6036
+ "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`"
6118
6037
  }
6119
6038
  ],
6120
6039
  "exports": [
@@ -6123,144 +6042,225 @@
6123
6042
  "name": "styles",
6124
6043
  "declaration": {
6125
6044
  "name": "styles",
6126
- "module": "src/navigation/side-navigation.styles.ts"
6045
+ "module": "src/ripple/ripple.styles.ts"
6127
6046
  }
6128
6047
  }
6129
6048
  ]
6130
6049
  },
6131
6050
  {
6132
6051
  "kind": "javascript-module",
6133
- "path": "src/navigation/side-navigation.ts",
6052
+ "path": "src/ripple/ripple.ts",
6134
6053
  "declarations": [
6135
6054
  {
6136
6055
  "kind": "class",
6137
6056
  "description": "",
6138
- "name": "UmSideNavigation",
6057
+ "name": "UmRipple",
6139
6058
  "members": [
6140
6059
  {
6141
6060
  "kind": "field",
6142
- "name": "#toggleDrawer",
6143
- "privacy": "private",
6061
+ "name": "isTouching",
6144
6062
  "type": {
6145
6063
  "text": "boolean"
6146
6064
  },
6065
+ "privacy": "private",
6147
6066
  "default": "false"
6148
6067
  },
6149
6068
  {
6150
6069
  "kind": "field",
6151
- "name": "disableSlideAnimation",
6070
+ "name": "disabled",
6152
6071
  "type": {
6153
6072
  "text": "boolean"
6154
6073
  },
6155
- "privacy": "private",
6156
- "default": "false"
6157
- },
6158
- {
6159
- "kind": "field",
6160
- "name": "toggleDrawer",
6161
- "description": "Toggle the navigation drawer visibility\n\n_Modal drawer_: Open if `true`, closed if `false`\n_Standard drawer_: Collapsed if `true`, visible if `false`",
6162
- "attribute": "toggle-drawer"
6163
- },
6164
- {
6165
- "kind": "field",
6166
- "name": "swiperContainer",
6167
- "type": {
6168
- "text": "any"
6169
- }
6074
+ "default": "false",
6075
+ "description": "Disables the ripple.",
6076
+ "attribute": "disabled",
6077
+ "reflects": true
6170
6078
  },
6171
6079
  {
6172
6080
  "kind": "field",
6173
- "name": "scrim",
6081
+ "name": "rippleContainer",
6174
6082
  "type": {
6175
6083
  "text": "HTMLElement"
6176
- }
6177
- },
6178
- {
6179
- "kind": "field",
6180
- "name": "scrollContainer",
6181
- "type": {
6182
- "text": "HTMLElement | undefined"
6183
- }
6084
+ },
6085
+ "privacy": "private"
6184
6086
  },
6185
6087
  {
6186
6088
  "kind": "method",
6187
- "name": "renderDefault",
6188
- "privacy": "private"
6089
+ "name": "attachEvents",
6090
+ "privacy": "private",
6091
+ "return": {
6092
+ "type": {
6093
+ "text": "void"
6094
+ }
6095
+ }
6189
6096
  },
6190
6097
  {
6191
6098
  "kind": "method",
6192
- "name": "renderWithSwipe",
6193
- "privacy": "private"
6099
+ "name": "dettachEvents",
6100
+ "privacy": "private",
6101
+ "return": {
6102
+ "type": {
6103
+ "text": "void"
6104
+ }
6105
+ }
6194
6106
  },
6195
6107
  {
6196
6108
  "kind": "method",
6197
- "name": "swiperActiveIndexChange",
6198
- "privacy": "private"
6109
+ "name": "handleMouseDown",
6110
+ "privacy": "private",
6111
+ "return": {
6112
+ "type": {
6113
+ "text": "void"
6114
+ }
6115
+ },
6116
+ "parameters": [
6117
+ {
6118
+ "name": "e",
6119
+ "type": {
6120
+ "text": "MouseEvent"
6121
+ }
6122
+ }
6123
+ ]
6199
6124
  },
6200
6125
  {
6201
6126
  "kind": "method",
6202
- "name": "swiperTransitionStart",
6203
- "privacy": "private"
6127
+ "name": "handleTouchStart",
6128
+ "privacy": "private",
6129
+ "return": {
6130
+ "type": {
6131
+ "text": "void"
6132
+ }
6133
+ },
6134
+ "parameters": [
6135
+ {
6136
+ "name": "e",
6137
+ "type": {
6138
+ "text": "TouchEvent"
6139
+ }
6140
+ }
6141
+ ]
6204
6142
  },
6205
6143
  {
6206
6144
  "kind": "method",
6207
- "name": "slidesGridLengthChange",
6208
- "privacy": "private"
6145
+ "name": "canCreateRipple",
6146
+ "privacy": "private",
6147
+ "return": {
6148
+ "type": {
6149
+ "text": "boolean"
6150
+ }
6151
+ }
6209
6152
  },
6210
6153
  {
6211
6154
  "kind": "method",
6212
- "name": "swiperTransitionEnd",
6213
- "privacy": "private"
6155
+ "name": "createRipple",
6156
+ "return": {
6157
+ "type": {
6158
+ "text": "(() => void) | null"
6159
+ }
6160
+ },
6161
+ "parameters": [
6162
+ {
6163
+ "name": "targetX",
6164
+ "default": "null",
6165
+ "type": {
6166
+ "text": "number | null"
6167
+ }
6168
+ },
6169
+ {
6170
+ "name": "targetY",
6171
+ "default": "null",
6172
+ "type": {
6173
+ "text": "number | null"
6174
+ }
6175
+ },
6176
+ {
6177
+ "name": "releaseEventName",
6178
+ "default": "null",
6179
+ "type": {
6180
+ "text": "string | null"
6181
+ }
6182
+ }
6183
+ ]
6214
6184
  },
6215
6185
  {
6216
6186
  "kind": "method",
6217
- "name": "swiperSliderMove",
6187
+ "name": "createDismissEvent",
6218
6188
  "privacy": "private",
6189
+ "return": {
6190
+ "type": {
6191
+ "text": "() => void"
6192
+ }
6193
+ },
6219
6194
  "parameters": [
6220
6195
  {
6221
- "name": "e",
6196
+ "name": "ripple",
6222
6197
  "type": {
6223
- "text": "Event"
6198
+ "text": "HTMLElement"
6199
+ }
6200
+ },
6201
+ {
6202
+ "name": "releaseEventName",
6203
+ "type": {
6204
+ "text": "string"
6224
6205
  }
6225
6206
  }
6226
6207
  ]
6227
6208
  },
6228
6209
  {
6229
6210
  "kind": "method",
6230
- "name": "scrimClick",
6231
- "privacy": "private"
6211
+ "name": "_setElementSquareSizeAndCenter",
6212
+ "privacy": "private",
6213
+ "static": true,
6214
+ "parameters": [
6215
+ {
6216
+ "name": "element",
6217
+ "type": {
6218
+ "text": "HTMLElement"
6219
+ }
6220
+ },
6221
+ {
6222
+ "name": "size",
6223
+ "type": {
6224
+ "text": "number"
6225
+ }
6226
+ }
6227
+ ]
6232
6228
  }
6233
6229
  ],
6234
6230
  "attributes": [
6235
6231
  {
6236
- "name": "toggle-drawer",
6237
- "description": "Toggle the navigation drawer visibility\n\n_Modal drawer_: Open if `true`, closed if `false`\n_Standard drawer_: Collapsed if `true`, visible if `false`",
6238
- "fieldName": "toggleDrawer"
6232
+ "name": "disabled",
6233
+ "type": {
6234
+ "text": "boolean"
6235
+ },
6236
+ "default": "false",
6237
+ "description": "Disables the ripple.",
6238
+ "fieldName": "disabled"
6239
6239
  }
6240
6240
  ],
6241
6241
  "superclass": {
6242
6242
  "name": "LitElement",
6243
6243
  "package": "lit"
6244
6244
  },
6245
- "tagName": "u-side-navigation",
6245
+ "tagName": "u-ripple",
6246
6246
  "customElement": true
6247
6247
  }
6248
6248
  ],
6249
6249
  "exports": [
6250
6250
  {
6251
6251
  "kind": "js",
6252
- "name": "UmSideNavigation",
6252
+ "name": "UmRipple",
6253
6253
  "declaration": {
6254
- "name": "UmSideNavigation",
6255
- "module": "src/navigation/side-navigation.ts"
6254
+ "name": "UmRipple",
6255
+ "module": "src/ripple/ripple.ts"
6256
6256
  }
6257
6257
  },
6258
6258
  {
6259
6259
  "kind": "custom-element-definition",
6260
- "name": "u-side-navigation",
6260
+ "name": "u-ripple",
6261
6261
  "declaration": {
6262
- "name": "UmSideNavigation",
6263
- "module": "src/navigation/side-navigation.ts"
6262
+ "name": "UmRipple",
6263
+ "module": "src/ripple/ripple.ts"
6264
6264
  }
6265
6265
  }
6266
6266
  ]
@@ -6272,7 +6272,7 @@
6272
6272
  {
6273
6273
  "kind": "variable",
6274
6274
  "name": "styles",
6275
- "default": "css `\n :host,\n * {\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 .focus-ring:focus-visible {\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--u-color-primary);\n }\n 50% {\n outline: 6px solid var(--u-color-primary);\n }\n 100% {\n outline: 4px solid var(--u-color-primary);\n }\n }\n`"
6275
+ "default": "css `\n :host,\n * {\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 .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: 2px;\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`"
6276
6276
  }
6277
6277
  ],
6278
6278
  "exports": [