@tylertech/forge-ai 0.9.1 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/custom-elements.json +1006 -912
  2. package/dist/ai-agent-selector/ai-agent-selector.scss.mjs +1 -1
  3. package/dist/ai-assistant-response/ai-assistant-response.mjs +43 -6
  4. package/dist/ai-chat-header/ai-chat-header.scss.mjs +1 -1
  5. package/dist/ai-chatbot/ag-ui-adapter.mjs +4 -8
  6. package/dist/ai-chatbot/ai-chatbot.mjs +11 -8
  7. package/dist/ai-chatbot/ai-chatbot.scss.mjs +1 -1
  8. package/dist/ai-chatbot/message-state-controller.mjs +17 -13
  9. package/dist/ai-chatbot/types.d.ts +2 -0
  10. package/dist/ai-embedded-chat/ai-embedded-chat.mjs +0 -1
  11. package/dist/ai-empty-state/ai-empty-state.mjs +5 -5
  12. package/dist/ai-empty-state/ai-empty-state.scss.mjs +1 -1
  13. package/dist/ai-file-picker/ai-file-picker.mjs +2 -1
  14. package/dist/ai-file-picker/ai-file-picker.scss.mjs +1 -1
  15. package/dist/ai-message-thread/ai-message-thread.mjs +13 -5
  16. package/dist/ai-message-thread/ai-message-thread.scss.mjs +1 -1
  17. package/dist/ai-prompt/ai-prompt.d.ts +0 -1
  18. package/dist/ai-prompt/ai-prompt.mjs +84 -70
  19. package/dist/ai-prompt/ai-prompt.scss.mjs +1 -1
  20. package/dist/ai-suggestions/ai-suggestions.mjs +24 -15
  21. package/dist/ai-suggestions/ai-suggestions.scss.mjs +901 -1
  22. package/dist/ai-tool-call-indicator/ai-tool-call-indicator.d.ts +24 -0
  23. package/dist/ai-tool-call-indicator/ai-tool-call-indicator.mjs +87 -0
  24. package/dist/ai-tool-call-indicator/ai-tool-call-indicator.scss.mjs +4 -0
  25. package/dist/ai-tool-call-indicator/index.d.ts +1 -0
  26. package/dist/ai-tool-call-indicator/index.mjs +5 -0
  27. package/dist/ai-voice-input/ai-voice-input.mjs +2 -1
  28. package/dist/ai-voice-input/ai-voice-input.scss.mjs +1 -1
  29. package/dist/index.d.ts +1 -0
  30. package/dist/index.mjs +3 -0
  31. package/dist/tools/ai-data-table/ai-data-table.d.ts +1 -0
  32. package/dist/tools/ai-data-table/ai-data-table.mjs +13 -1
  33. package/dist/tools/ai-data-table/ai-data-table.scss.mjs +1 -1
  34. package/package.json +1 -1
@@ -1,4 +1,904 @@
1
- const styles = '/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/**\n * @license\n * Copyright Tyler Technologies, Inc. \n * License: Apache-2.0\n */\n/* prettier-ignore */\n.forge-button {\n --_button-primary-color: var(--forge-button-primary-color, var(--forge-theme-primary, #3f51b5));\n --_button-text-color: var(--forge-button-text-color, var(--_button-primary-color));\n --_button-disabled-color: var(--forge-button-disabled-color, var(--forge-theme-surface-container, #e0e0e0));\n --_button-padding: var(--forge-button-padding, var(--forge-spacing-medium, 16px));\n --_button-display: var(--forge-button-display, inline-grid);\n --_button-justify: var(--forge-button-justify, center);\n --_button-shape: var(--forge-button-shape, calc(var(--forge-shape-medium, 4px) * var(--forge-shape-factor, 1)));\n --_button-height: var(--forge-button-height, 36px);\n --_button-min-width: var(--forge-button-min-width, 64px);\n --_button-spacing: var(--forge-button-spacing, var(--forge-spacing-xsmall, 8px));\n --_button-border-width: var(--forge-button-border-width, medium);\n --_button-border-style: var(--forge-button-border-style, none);\n --_button-border-color: var(--forge-button-border-color, currentColor);\n --_button-shape-start-start-radius: var(--forge-button-shape-start-start-radius, var(--_button-shape));\n --_button-shape-start-end-radius: var(--forge-button-shape-start-end-radius, var(--_button-shape));\n --_button-shape-end-start-radius: var(--forge-button-shape-end-start-radius, var(--_button-shape));\n --_button-shape-end-end-radius: var(--forge-button-shape-end-end-radius, var(--_button-shape));\n --_button-padding-block: var(--forge-button-padding-block, var(--_button-0));\n --_button-padding-inline: var(--forge-button-padding-inline, var(--_button-padding));\n --_button-background: var(--forge-button-background, transparent);\n --_button-hover-background: var(--forge-button-hover-background, var(--_button-background));\n --_button-active-background: var(--forge-button-active-background, var(--_button-background));\n --_button-color: var(--forge-button-color, var(--_button-text-color));\n --_button-icon-size: var(--forge-button-icon-size, calc(var(--forge-typography-font-size, 1rem) * 1.125));\n --_button-shadow: var(--forge-button-shadow, none);\n --_button-hover-shadow: var(--forge-button-hover-shadow, none);\n --_button-active-shadow: var(--forge-button-active-shadow, none);\n --_button-cursor: var(--forge-button-cursor, pointer);\n --_button-transition-duration: var(--forge-button-transition-duration, var(--forge-animation-duration-short3, 150ms));\n --_button-transition-timing: var(--forge-button-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)));\n --_button-text-padding-inline: var(--forge-button-text-padding-inline, var(--forge-spacing-xsmall, 8px));\n --_button-outlined-background: var(--forge-button-outlined-background, transparent);\n --_button-outlined-color: var(--forge-button-outlined-color, var(--_button-primary-color));\n --_button-outlined-border-width: var(--forge-button-outlined-border-width, var(--forge-border-thin, 1px));\n --_button-outlined-border-style: var(--forge-button-outlined-border-style, solid);\n --_button-outlined-border-color: var(--forge-button-outlined-border-color, var(--_button-primary-color));\n --_button-tonal-background: var(--forge-button-tonal-background, var(--forge-theme-primary-container, #d1d5ed));\n --_button-tonal-disabled-background: var(--forge-button-tonal-disabled-background, var(--_button-disabled-color));\n --_button-tonal-color: var(--forge-button-tonal-color, var(--forge-theme-on-primary-container, #222c62));\n --_button-tonal-disabled-color: var(--forge-button-tonal-disabled-color, var(--_button-disabled-text-color));\n --_button-filled-background: var(--forge-button-filled-background, var(--_button-primary-color));\n --_button-filled-disabled-background: var(--forge-button-filled-disabled-background, var(--_button-disabled-color));\n --_button-filled-color: var(--forge-button-filled-color, var(--forge-theme-on-primary, #ffffff));\n --_button-filled-disabled-color: var(--forge-button-filled-disabled-color, var(--_button-disabled-text-color));\n --_button-raised-background: var(--forge-button-raised-background, var(--_button-primary-color));\n --_button-raised-disabled-background: var(--forge-button-raised-disabled-background, var(--_button-disabled-color));\n --_button-raised-color: var(--forge-button-raised-color, var(--forge-theme-on-primary, #ffffff));\n --_button-raised-disabled-color: var(--forge-button-raised-disabled-color, var(--_button-disabled-text-color));\n --_button-raised-shadow: var(--forge-button-raised-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n --_button-raised-hover-shadow: var(--forge-button-raised-hover-shadow, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12));\n --_button-raised-active-shadow: var(--forge-button-raised-active-shadow, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12));\n --_button-raised-disabled-shadow: var(--forge-button-raised-disabled-shadow, none);\n --_button-link-color: var(--forge-button-link-color, var(--_button-primary-color));\n --_button-link-text-decoration: var(--forge-button-link-text-decoration, underline);\n --_button-link-height: var(--forge-button-link-height, auto);\n --_button-link-padding: var(--forge-button-link-padding, 0);\n --_button-link-line-height: var(--forge-button-link-line-height, normal);\n --_button-link-width: var(--forge-button-link-width, auto);\n --_button-link-hover-text-decoration: var(--forge-button-link-hover-text-decoration, none);\n --_button-link-active-opacity: var(--forge-button-link-active-opacity, 0.65);\n --_button-link-transition-duration: var(--forge-button-link-transition-duration, var(--forge-animation-duration-short3, 150ms));\n --_button-link-transition-timing: var(--forge-button-link-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)));\n --_button-disabled-cursor: var(--forge-button-disabled-cursor, not-allowed);\n --_button-disabled-text-color: var(--forge-button-disabled-text-color, var(--forge-theme-text-low, rgba(0, 0, 0, 0.38)));\n --_button-disabled-background: var(--forge-button-disabled-background, transparent);\n --_button-disabled-border-color: var(--forge-button-disabled-border-color, var(--_button-disabled-color));\n --_button-disabled-shadow: var(--forge-button-disabled-shadow, none);\n --_button-dense-height: var(--forge-button-dense-height, 24px);\n --_button-pill-shape: var(--forge-button-pill-shape, calc(var(--forge-shape-full, 9999px) * var(--forge-shape-factor, 1)));\n --_button-pill-padding-inline: var(--forge-button-pill-padding-inline, var(--forge-spacing-small, 12px));\n --_button-focus-indicator-offset: var(--forge-button-focus-indicator-offset, 4px);\n --_button-text-focus-indicator-offset: var(--forge-button-text-focus-indicator-offset, 0px);\n --_button-link-focus-indicator-offset: var(--forge-button-link-focus-indicator-offset, 2px);\n --_button-popover-icon-transition-duration: var(--forge-button-popover-icon-transition-duration, var(--forge-animation-duration-short3, 150ms));\n --_button-popover-icon-transition-timing: var(--forge-button-popover-icon-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)));\n --_button-popover-icon-open-rotation: var(--forge-button-popover-icon-open-rotation, 180deg);\n}\n\n.forge-button {\n display: var(--_button-display);\n position: relative;\n outline: none;\n vertical-align: middle;\n -webkit-tap-highlight-color: transparent;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: var(--forge-typography-button-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));\n font-size: var(--forge-typography-button-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-button-font-size-scale, 0.875)));\n font-weight: var(--forge-typography-button-font-weight, 500);\n line-height: var(--forge-typography-button-line-height, normal);\n letter-spacing: var(--forge-typography-button-letter-spacing, 0.0714285714em);\n text-transform: var(--forge-typography-button-text-transform, inherit);\n text-decoration: var(--forge-typography-button-text-decoration, inherit);\n position: relative;\n display: var(--_button-display);\n grid-auto-flow: column;\n align-items: center;\n justify-content: var(--_button-justify);\n gap: var(--_button-spacing);\n z-index: 0;\n box-sizing: border-box;\n min-inline-size: var(--_button-min-width);\n height: var(--_button-height);\n inline-size: 100%;\n border-width: var(--_button-border-width);\n border-style: var(--_button-border-style);\n border-color: var(--_button-border-color);\n border-start-start-radius: var(--_button-shape-start-start-radius);\n border-start-end-radius: var(--_button-shape-start-end-radius);\n border-end-start-radius: var(--_button-shape-end-start-radius);\n border-end-end-radius: var(--_button-shape-end-end-radius);\n padding-block: var(--_button-padding-block);\n padding-inline: var(--_button-padding-inline);\n box-shadow: var(--_button-shadow);\n outline: none;\n user-select: none;\n -webkit-appearance: none;\n vertical-align: middle;\n text-decoration: none;\n white-space: nowrap;\n background: var(--_button-background);\n color: var(--_button-color);\n cursor: var(--_button-cursor);\n transition-property: box-shadow, background;\n transition-duration: var(--_button-transition-duration);\n transition-timing-function: var(--_button-transition-timing);\n}\n\n.forge-button::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n\n.forge-button:hover {\n --_button-shadow: var(--_button-hover-shadow);\n background: var(--_button-hover-background);\n}\n\n.forge-button:active {\n --_button-shadow: var(--_button-active-shadow);\n background: var(--_button-active-background);\n}\n\n.forge-button {\n position: relative;\n inline-size: auto;\n}\n\n.forge-button:not(:disabled):not(.forge-button--link) {\n --_state-layer-display: var(--forge-state-layer-display, flex);\n --_state-layer-color: var(--forge-state-layer-color, var(--forge-theme-on-surface, #000000));\n --_state-layer-hover-color: var(--forge-state-layer-hover-color, var(--_state-layer-color));\n --_state-layer-hover-opacity: var(--forge-state-layer-hover-opacity, 0.08);\n --_state-layer-pressed-color: var(--forge-state-layer-pressed-color, var(--_state-layer-color));\n --_state-layer-pressed-opacity: var(--forge-state-layer-pressed-opacity, 0.12);\n --_state-layer-hover-duration: var(--forge-state-layer-hover-duration, 15ms);\n --_state-layer-pressed-duration: var(--forge-state-layer-pressed-duration, 105ms);\n --_state-layer-animation-duration: var(--forge-state-layer-animation-duration, 375ms);\n}\n\n.forge-button:not(:disabled):not(.forge-button--link)::before {\n opacity: 0;\n position: absolute;\n backface-visibility: hidden;\n transform: translateZ(0);\n background-color: var(--_state-layer-hover-color);\n inset: 0;\n transition: opacity var(--_state-layer-hover-duration) linear, background-color var(--_state-layer-hover-duration) linear;\n --_state-layer-hover-duration: var(--forge-state-layer-hover-duration, 100ms);\n content: "";\n opacity: 0;\n border-radius: inherit;\n}\n\n.forge-button:not(:disabled):not(.forge-button--link):hover::before {\n background-color: var(--_state-layer-hover-color);\n opacity: var(--_state-layer-hover-opacity);\n}\n\n.forge-button:not(:disabled):not(.forge-button--link):active::before {\n opacity: var(--_state-layer-pressed-opacity);\n transition-duration: var(--_state-layer-pressed-duration);\n --_state-layer-pressed-opacity: var(--forge-state-layer-pressed-opacity, 0.18);\n}\n\n@keyframes forge-focus-indicator-outward-grow {\n from {\n outline-width: 0;\n }\n to {\n outline-width: var(--_focus-indicator-active-width);\n }\n}\n@keyframes forge-focus-indicator-outward-shrink {\n from {\n outline-width: var(--_focus-indicator-active-width);\n }\n}\n@keyframes forge-focus-indicator-inward-grow {\n from {\n border-width: 0;\n }\n to {\n border-width: var(--_focus-indicator-active-width);\n }\n}\n@keyframes forge-focus-indicator-inward-shrink {\n from {\n border-width: var(--_focus-indicator-active-width);\n }\n}\n.forge-button:not(:disabled) {\n outline: none;\n}\n\n.forge-button:not(:disabled):focus-visible::after {\n --_focus-indicator-display: var(--forge-focus-indicator-display, flex);\n --_focus-indicator-width: var(--forge-focus-indicator-width, var(--forge-border-medium, 2px));\n --_focus-indicator-active-width: var(--forge-focus-indicator-active-width, 6px);\n --_focus-indicator-color: var(--forge-focus-indicator-color, var(--forge-theme-primary, #3f51b5));\n --_focus-indicator-shape: var(--forge-focus-indicator-shape, calc(var(--forge-shape-extra-small, 1px) * var(--forge-shape-factor, 1)));\n --_focus-indicator-duration: var(--forge-focus-indicator-duration, var(--forge-animation-duration-long4, 600ms));\n --_focus-indicator-easing: var(--forge-focus-indicator-easing, var(--forge-animation-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)));\n --_focus-indicator-shape-start-start: var(--forge-focus-indicator-shape-start-start, var(--_focus-indicator-shape));\n --_focus-indicator-shape-start-end: var(--forge-focus-indicator-shape-start-end, var(--_focus-indicator-shape));\n --_focus-indicator-shape-end-end: var(--forge-focus-indicator-shape-end-end, var(--_focus-indicator-shape));\n --_focus-indicator-shape-end-start: var(--forge-focus-indicator-shape-end-start, var(--_focus-indicator-shape));\n --_focus-indicator-outward-offset: var(--forge-focus-indicator-outward-offset, var(--forge-spacing-xxsmall, 4px));\n --_focus-indicator-inward-offset: var(--forge-focus-indicator-inward-offset, 0px);\n --_focus-indicator-offset-block: var(--forge-focus-indicator-offset-block, 0);\n --_focus-indicator-offset-inline: var(--forge-focus-indicator-offset-inline, 0);\n}\n\n.forge-button:not(:disabled):focus-visible::after {\n animation-delay: 0s, calc(var(--_focus-indicator-duration) * 0.25);\n animation-duration: calc(var(--_focus-indicator-duration) * 0.25), calc(var(--_focus-indicator-duration) * 0.75);\n animation-timing-function: var(--_focus-indicator-easing);\n box-sizing: border-box;\n color: var(--_focus-indicator-color);\n display: none;\n pointer-events: none;\n position: absolute;\n margin-block: var(--_focus-indicator-offset-block);\n margin-inline: var(--_focus-indicator-offset-inline);\n animation-name: forge-focus-indicator-outward-grow, forge-focus-indicator-outward-shrink;\n border-end-end-radius: calc(var(--_focus-indicator-shape-end-end) + var(--_focus-indicator-outward-offset));\n border-end-start-radius: calc(var(--_focus-indicator-shape-end-start) + var(--_focus-indicator-outward-offset));\n border-start-end-radius: calc(var(--_focus-indicator-shape-start-end) + var(--_focus-indicator-outward-offset));\n border-start-start-radius: calc(var(--_focus-indicator-shape-start-start) + var(--_focus-indicator-outward-offset));\n inset: calc(-1 * var(--_focus-indicator-outward-offset));\n outline: var(--_focus-indicator-width) solid currentColor;\n content: "";\n display: block;\n}\n\n.forge-button:not(:disabled) {\n --forge-focus-indicator-color: var(--_button-primary-color);\n}\n\n.forge-button:disabled {\n cursor: var(--_button-disabled-cursor);\n --_button-background: var(--_button-disabled-background);\n --_button-color: var(--_button-disabled-text-color);\n --_button-shadow: var(--_button-disabled-shadow);\n pointer-events: none;\n pointer-events: initial;\n}\n\n.forge-button:where(:not(.forge-button--outlined, .forge-button--tonal, .forge-button--filled, .forge-button--raised, .forge-button--link)), .forge-button--text {\n --_button-padding-inline: var(--_button-text-padding-inline);\n}\n\n.forge-button--outlined {\n --_button-background: var(--_button-outlined-background);\n --_button-color: var(--_button-outlined-color);\n --_button-border-width: var(--_button-outlined-border-width);\n --_button-border-style: var(--_button-outlined-border-style);\n --_button-border-color: var(--_button-outlined-border-color);\n}\n\n.forge-button--outlined:disabled {\n --_button-border-color: var(--_button-disabled-border-color);\n}\n\n.forge-button--tonal {\n --_button-background: var(--_button-tonal-background);\n --_button-color: var(--_button-tonal-color);\n}\n\n.forge-button--tonal:disabled {\n --_button-background: var(--_button-tonal-disabled-background);\n --_button-color: var(--_button-tonal-disabled-color);\n}\n\n.forge-button--filled, .forge-button--raised {\n --_button-background: var(--_button-filled-background);\n --_button-color: var(--_button-filled-color);\n --forge-state-layer-color: var(--_button-filled-color);\n}\n\n.forge-button--filled:disabled, .forge-button--raised:disabled {\n --_button-background: var(--_button-filled-disabled-background);\n --_button-color: var(--_button-filled-disabled-color);\n}\n\n.forge-button--raised {\n --_button-background: var(--_button-raised-background);\n --_button-color: var(--_button-raised-color);\n --_button-shadow: var(--_button-raised-shadow);\n}\n\n.forge-button--raised:hover {\n --_button-shadow: var(--_button-raised-hover-shadow);\n}\n\n.forge-button--raised:active {\n --_button-shadow: var(--_button-raised-active-shadow);\n}\n\n.forge-button--raised:disabled {\n --_button-background: var(--_button-raised-disabled-background);\n --_button-color: var(--_button-raised-disabled-color);\n --_button-shadow: var(--_button-raised-disabled-shadow);\n}\n\n.forge-button--link {\n --_button-color: var(--_button-link-color);\n --_button-height: var(--_button-link-height);\n --_button-padding: var(--_button-link-padding);\n --_button-focus-indicator-offset: var(--_button-link-focus-indicator-offset);\n text-decoration: var(--_button-link-text-decoration);\n line-height: var(--_button-link-line-height);\n transition: opacity var(--_button-link-transition-duration) var(--_button-link-transition-timing);\n inline-size: var(--_button-link-width);\n}\n\n.forge-button--link:hover {\n text-decoration: var(--_button-link-hover-text-decoration);\n}\n\n.forge-button--link:active {\n opacity: var(--_button-link-active-opacity);\n}\n\n.forge-button--pill {\n --_button-shape: var(--_button-pill-shape);\n --_button-padding-inline: var(--_button-pill-padding-inline);\n --forge-focus-indicator-shape: var(--_button-pill-shape);\n}\n\n.forge-button {\n --forge-icon-font-size: var(--_button-icon-size);\n}\n\n.forge-button--dense {\n --_button-height: var(--_button-dense-height);\n}\n\n:host {\n display: block;\n width: 100%;\n max-inline-size: var(--forge-ai-suggestions-inline-size, 768px);\n}\n\n.scroll-container {\n overflow: scroll;\n scrollbar-width: none;\n -webkit-overflow-scrolling: touch;\n width: 100%;\n height: 100%;\n}\n\n.suggestions-container {\n min-width: 100%;\n display: table;\n}\n\n.suggestions-inline {\n display: flex;\n align-items: center;\n flex-direction: row;\n flex-wrap: nowrap;\n width: max-content;\n gap: var(--forge-spacing-small, 12px);\n}\n\n.suggestions-block {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: var(--forge-spacing-small, 12px);\n}\n.suggestions-block > .container,\n.suggestions-block .container > button {\n width: 100%;\n}\n\n.suggestion {\n --forge-button-shape: calc(var(--forge-shape-medium, 4px) * var(--forge-shape-factor, 1));\n --forge-button-tonal-background: var(\n --forge-ai-chatbot-suggestion-background,\n var(--forge-theme-tertiary-container, #d0d7ff)\n );\n --forge-button-tonal-color: var(\n --forge-ai-chatbot-suggestion-foreground,\n var(--forge-theme-on-tertiary-container, #213189)\n );\n --forge-button-height: 32px;\n max-inline-size: var(--forge-ai-suggestion-max-width, 82.5%);\n}\n.suggestion .suggestion-text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.suggestion-tooltip {\n --forge-tooltip-content-align: start;\n}';
1
+ const styles = `/**
2
+ * @license
3
+ * Copyright Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright Tyler Technologies, Inc.
9
+ * License: Apache-2.0
10
+ */
11
+ /**
12
+ * @license
13
+ * Copyright Tyler Technologies, Inc.
14
+ * License: Apache-2.0
15
+ */
16
+ /**
17
+ * @license
18
+ * Copyright Tyler Technologies, Inc.
19
+ * License: Apache-2.0
20
+ */
21
+ /**
22
+ * @license
23
+ * Copyright Tyler Technologies, Inc.
24
+ * License: Apache-2.0
25
+ */
26
+ /**
27
+ * @license
28
+ * Copyright Tyler Technologies, Inc.
29
+ * License: Apache-2.0
30
+ */
31
+ /**
32
+ * @license
33
+ * Copyright Tyler Technologies, Inc.
34
+ * License: Apache-2.0
35
+ */
36
+ /**
37
+ * @license
38
+ * Copyright Tyler Technologies, Inc.
39
+ * License: Apache-2.0
40
+ */
41
+ /**
42
+ * @license
43
+ * Copyright Tyler Technologies, Inc.
44
+ * License: Apache-2.0
45
+ */
46
+ /**
47
+ * @license
48
+ * Copyright Tyler Technologies, Inc.
49
+ * License: Apache-2.0
50
+ */
51
+ /**
52
+ * @license
53
+ * Copyright Tyler Technologies, Inc.
54
+ * License: Apache-2.0
55
+ */
56
+ /**
57
+ * @license
58
+ * Copyright Tyler Technologies, Inc.
59
+ * License: Apache-2.0
60
+ */
61
+ /**
62
+ * @license
63
+ * Copyright Tyler Technologies, Inc.
64
+ * License: Apache-2.0
65
+ */
66
+ /**
67
+ * @license
68
+ * Copyright Tyler Technologies, Inc.
69
+ * License: Apache-2.0
70
+ */
71
+ /**
72
+ * @license
73
+ * Copyright Tyler Technologies, Inc.
74
+ * License: Apache-2.0
75
+ */
76
+ /**
77
+ * @license
78
+ * Copyright Tyler Technologies, Inc.
79
+ * License: Apache-2.0
80
+ */
81
+ /**
82
+ * @license
83
+ * Copyright Tyler Technologies, Inc.
84
+ * License: Apache-2.0
85
+ */
86
+ /**
87
+ * @license
88
+ * Copyright Tyler Technologies, Inc.
89
+ * License: Apache-2.0
90
+ */
91
+ /**
92
+ * @license
93
+ * Copyright Tyler Technologies, Inc.
94
+ * License: Apache-2.0
95
+ */
96
+ /**
97
+ * @license
98
+ * Copyright Tyler Technologies, Inc.
99
+ * License: Apache-2.0
100
+ */
101
+ /**
102
+ * @license
103
+ * Copyright Tyler Technologies, Inc.
104
+ * License: Apache-2.0
105
+ */
106
+ /**
107
+ * @license
108
+ * Copyright Tyler Technologies, Inc.
109
+ * License: Apache-2.0
110
+ */
111
+ /**
112
+ * @license
113
+ * Copyright Tyler Technologies, Inc.
114
+ * License: Apache-2.0
115
+ */
116
+ /**
117
+ * @license
118
+ * Copyright Tyler Technologies, Inc.
119
+ * License: Apache-2.0
120
+ */
121
+ /**
122
+ * @license
123
+ * Copyright Tyler Technologies, Inc.
124
+ * License: Apache-2.0
125
+ */
126
+ /**
127
+ * @license
128
+ * Copyright Tyler Technologies, Inc.
129
+ * License: Apache-2.0
130
+ */
131
+ /**
132
+ * @license
133
+ * Copyright Tyler Technologies, Inc.
134
+ * License: Apache-2.0
135
+ */
136
+ /**
137
+ * @license
138
+ * Copyright Tyler Technologies, Inc.
139
+ * License: Apache-2.0
140
+ */
141
+ /* prettier-ignore */
142
+ /**
143
+ * @license
144
+ * Copyright Tyler Technologies, Inc.
145
+ * License: Apache-2.0
146
+ */
147
+ /**
148
+ * @license
149
+ * Copyright Tyler Technologies, Inc.
150
+ * License: Apache-2.0
151
+ */
152
+ /**
153
+ * @license
154
+ * Copyright Tyler Technologies, Inc.
155
+ * License: Apache-2.0
156
+ */
157
+ /**
158
+ * @license
159
+ * Copyright Tyler Technologies, Inc.
160
+ * License: Apache-2.0
161
+ */
162
+ /**
163
+ * @license
164
+ * Copyright Tyler Technologies, Inc.
165
+ * License: Apache-2.0
166
+ */
167
+ /**
168
+ * @license
169
+ * Copyright Tyler Technologies, Inc.
170
+ * License: Apache-2.0
171
+ */
172
+ /**
173
+ * @license
174
+ * Copyright Tyler Technologies, Inc.
175
+ * License: Apache-2.0
176
+ */
177
+ /**
178
+ * @license
179
+ * Copyright Tyler Technologies, Inc.
180
+ * License: Apache-2.0
181
+ */
182
+ /**
183
+ * @license
184
+ * Copyright Tyler Technologies, Inc.
185
+ * License: Apache-2.0
186
+ */
187
+ /**
188
+ * @license
189
+ * Copyright Tyler Technologies, Inc.
190
+ * License: Apache-2.0
191
+ */
192
+ /**
193
+ * @license
194
+ * Copyright Tyler Technologies, Inc.
195
+ * License: Apache-2.0
196
+ */
197
+ /**
198
+ * @license
199
+ * Copyright Tyler Technologies, Inc.
200
+ * License: Apache-2.0
201
+ */
202
+ /**
203
+ * @license
204
+ * Copyright Tyler Technologies, Inc.
205
+ * License: Apache-2.0
206
+ */
207
+ /**
208
+ * @license
209
+ * Copyright Tyler Technologies, Inc.
210
+ * License: Apache-2.0
211
+ */
212
+ /**
213
+ * @license
214
+ * Copyright Tyler Technologies, Inc.
215
+ * License: Apache-2.0
216
+ */
217
+ /**
218
+ * @license
219
+ * Copyright Tyler Technologies, Inc.
220
+ * License: Apache-2.0
221
+ */
222
+ /**
223
+ * @license
224
+ * Copyright Tyler Technologies, Inc.
225
+ * License: Apache-2.0
226
+ */
227
+ /**
228
+ * @license
229
+ * Copyright Tyler Technologies, Inc.
230
+ * License: Apache-2.0
231
+ */
232
+ /**
233
+ * @license
234
+ * Copyright Tyler Technologies, Inc.
235
+ * License: Apache-2.0
236
+ */
237
+ /**
238
+ * @license
239
+ * Copyright Tyler Technologies, Inc.
240
+ * License: Apache-2.0
241
+ */
242
+ /**
243
+ * @license
244
+ * Copyright Tyler Technologies, Inc.
245
+ * License: Apache-2.0
246
+ */
247
+ /**
248
+ * @license
249
+ * Copyright Tyler Technologies, Inc.
250
+ * License: Apache-2.0
251
+ */
252
+ /**
253
+ * @license
254
+ * Copyright Tyler Technologies, Inc.
255
+ * License: Apache-2.0
256
+ */
257
+ /**
258
+ * @license
259
+ * Copyright Tyler Technologies, Inc.
260
+ * License: Apache-2.0
261
+ */
262
+ /**
263
+ * @license
264
+ * Copyright Tyler Technologies, Inc.
265
+ * License: Apache-2.0
266
+ */
267
+ /**
268
+ * @license
269
+ * Copyright Tyler Technologies, Inc.
270
+ * License: Apache-2.0
271
+ */
272
+ /* prettier-ignore */
273
+ .forge-icon {
274
+ --_icon-color: var(--forge-icon-color, currentColor);
275
+ --_icon-size: var(--forge-icon-size, 1em);
276
+ --_icon-width: var(--forge-icon-width, var(--_icon-size));
277
+ --_icon-height: var(--forge-icon-height, var(--_icon-size));
278
+ --_icon-font-size: var(--forge-icon-font-size, calc(var(--forge-typography-font-size, 1rem) * 1.5));
279
+ }
280
+
281
+ img.forge-icon,
282
+ svg.forge-icon {
283
+ display: inline-block;
284
+ box-sizing: content-box;
285
+ contain: content;
286
+ font-size: var(--_icon-font-size);
287
+ display: inline-block;
288
+ }
289
+
290
+ img.forge-icon {
291
+ width: var(--_icon-width);
292
+ height: var(--_icon-height);
293
+ }
294
+
295
+ svg {
296
+ width: var(--_icon-width);
297
+ height: var(--_icon-height);
298
+ display: block;
299
+ fill: var(--_icon-color);
300
+ stroke: var(--_icon-color);
301
+ stroke-width: 0;
302
+ }
303
+
304
+ /**
305
+ * @license
306
+ * Copyright Tyler Technologies, Inc.
307
+ * License: Apache-2.0
308
+ */
309
+ /* prettier-ignore */
310
+ @layer list, list-item, navlist, with-start-end, two-line, three-line, dense, wrap, selected, indented, disabled;
311
+ @layer list {
312
+ .forge-list {
313
+ --_list-spacing: var(--forge-list-spacing, 0);
314
+ --_list-container-color: var(--forge-list-container-color, transparent);
315
+ --_list-navlist-spacing: var(--forge-list-navlist-spacing, var(--forge-spacing-xxsmall, 4px));
316
+ --_list-navlist-margin: var(--forge-list-navlist-margin, var(--forge-spacing-xxsmall, 4px) var(--forge-spacing-xsmall, 8px));
317
+ --_list-navlist-height: var(--forge-list-navlist-height, 40px);
318
+ --_list-navlist-padding: var(--forge-list-navlist-padding, 0 var(--forge-spacing-xsmall, 8px));
319
+ --_list-navlist-shape: var(--forge-list-navlist-shape, calc(var(--forge-shape-medium, 4px) * var(--forge-shape-factor, 1)));
320
+ --_list-navlist-font-size: var(--forge-list-navlist-font-size, calc(var(--forge-typography-font-size, 1rem) * 0.875));
321
+ --_list-navlist-font-weight: var(--forge-list-navlist-font-weight, 500);
322
+ }
323
+ .forge-list {
324
+ outline: none;
325
+ background-color: var(--_list-container-color);
326
+ margin: 0;
327
+ border-radius: inherit;
328
+ min-width: inherit;
329
+ }
330
+ .forge-list--dense .forge-list-item {
331
+ --_list-item-gap: var(--_list-item-dense-gap);
332
+ height: var(--_list-item-dense-one-line-height);
333
+ min-height: var(--_list-item-dense-one-line-height);
334
+ }
335
+ .forge-list {
336
+ list-style: none;
337
+ margin: 0;
338
+ padding: 0;
339
+ }
340
+ }
341
+ @layer navlist {
342
+ .forge-list--navlist {
343
+ margin-block: var(--_list-navlist-spacing);
344
+ }
345
+ .forge-list--navlist .forge-list-item {
346
+ --forge-list-item-height: var(--_list-navlist-height);
347
+ --forge-list-item-margin: var(--_list-navlist-margin);
348
+ --forge-list-item-padding: var(--_list-navlist-padding);
349
+ --forge-list-item-shape: var(--_list-navlist-shape);
350
+ --forge-list-item-text-font-size: var(--_list-navlist-font-size);
351
+ --forge-list-item-text-font-weight: var(--_list-navlist-font-weight);
352
+ }
353
+ }
354
+ @layer with-start-end {
355
+ .forge-list-item:has(.forge-list-item__start, .forge-list-item__end) {
356
+ display: grid;
357
+ grid-template-columns: 1fr;
358
+ align-items: center;
359
+ }
360
+ .forge-list-item:has(.forge-list-item__start):not(:has(.forge-list-item__end)) {
361
+ grid-template-columns: auto 1fr;
362
+ }
363
+ .forge-list-item:has(.forge-list-item__end):not(:has(.forge-list-item__start)) {
364
+ grid-template-columns: 1fr auto;
365
+ }
366
+ .forge-list-item:has(.forge-list-item__start ~ .forge-list-item__end) {
367
+ grid-template-columns: auto 1fr auto;
368
+ }
369
+ .forge-list-item__start,
370
+ .forge-list-item__end {
371
+ color: var(--_list-item-text-color);
372
+ display: inline-flex;
373
+ flex-shrink: 0;
374
+ align-items: center;
375
+ justify-content: center;
376
+ fill: currentColor;
377
+ }
378
+ }
379
+ @layer list-item {
380
+ .forge-list-item {
381
+ --_list-item-background: var(--forge-list-item-background, transparent);
382
+ --_list-item-shape: var(--forge-list-item-shape, 0);
383
+ --_list-item-padding: var(--forge-list-item-padding, 0 var(--forge-spacing-medium, 16px));
384
+ --_list-item-margin: var(--forge-list-item-margin, 0);
385
+ --_list-item-height: var(--forge-list-item-height, 48px);
386
+ --_list-item-dense-height: var(--forge-list-item-dense-height, 32px);
387
+ --_list-item-indent: var(--forge-list-item-indent, var(--forge-spacing-xxlarge, 48px));
388
+ --_list-item-cursor: var(--forge-list-item-cursor, pointer);
389
+ --_list-item-gap: var(--forge-list-item-gap, var(--forge-spacing-large, 24px));
390
+ --_list-item-text-color: var(--forge-list-item-text-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.6)));
391
+ --_list-item-text-font-size: var(--forge-list-item-text-font-size, var(--forge-typography-body2-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 1))));
392
+ --_list-item-text-font-weight: var(--forge-list-item-text-font-weight, var(--forge-typography-body2-font-weight, 400));
393
+ --_list-item-text-line-height: var(--forge-list-item-text-line-height, 1.5rem);
394
+ --_list-item-selected-color: var(--forge-list-item-selected-color, var(--forge-theme-primary, #3f51b5));
395
+ --_list-item-selected-background: var(--forge-list-item-selected-background, var(--_list-item-selected-color));
396
+ --_list-item-selected-opacity: var(--forge-list-item-selected-opacity, 0.08);
397
+ --_list-item-selected-start-color: var(--forge-list-item-selected-start-color, var(--_list-item-selected-color));
398
+ --_list-item-selected-end-color: var(--forge-list-item-selected-end-color, var(--_list-item-selected-color));
399
+ --_list-item-selected-text-color: var(--forge-list-item-selected-text-color, var(--forge-theme-text-medium, rgba(0, 0, 0, 0.6)));
400
+ --_list-item-disabled-opacity: var(--forge-list-item-disabled-opacity, 0.38);
401
+ --_list-item-disabled-cursor: var(--forge-list-item-disabled-cursor, not-allowed);
402
+ --_list-item-one-line-height: var(--forge-list-item-one-line-height, var(--_list-item-height));
403
+ --_list-item-two-line-height: var(--forge-list-item-two-line-height, var(--forge-list-item-height, 72px));
404
+ --_list-item-three-line-height: var(--forge-list-item-three-line-height, var(--forge-list-item-height, 88px));
405
+ --_list-item-dense-one-line-height: var(--forge-list-item-dense-one-line-height, var(--_list-item-dense-height));
406
+ --_list-item-dense-two-line-height: var(--forge-list-item-dense-two-line-height, var(--forge-list-item-dense-height, 56px));
407
+ --_list-item-dense-three-line-height: var(--forge-list-item-dense-three-line-height, var(--forge-list-item-dense-height, 72px));
408
+ --_list-item-dense-font-size: var(--forge-list-item-dense-font-size, 0.875rem);
409
+ --_list-item-dense-indent: var(--forge-list-item-dense-indent, var(--forge-spacing-xxlarge, 48px));
410
+ --_list-item-dense-gap: var(--forge-list-item-dense-gap, var(--forge-spacing-xsmall, 8px));
411
+ --_list-item-start-selected-color: var(--forge-list-item-start-selected-color, var(--_list-item-selected-color));
412
+ --_list-item-end-selected-color: var(--forge-list-item-end-selected-color, var(--_list-item-selected-color));
413
+ --_list-item-wrap-padding: var(--forge-list-item-wrap-padding, var(--forge-spacing-xsmall, 8px) var(--forge-spacing-medium, 16px));
414
+ }
415
+ .forge-list-item {
416
+ position: relative;
417
+ display: flex;
418
+ gap: var(--_list-item-gap);
419
+ align-items: center;
420
+ box-sizing: border-box;
421
+ outline: none;
422
+ text-decoration: none;
423
+ border-radius: var(--_list-item-shape);
424
+ -webkit-tap-highlight-color: transparent;
425
+ background-color: var(--_list-item-background);
426
+ height: var(--_list-item-height);
427
+ min-height: var(--_list-item-height);
428
+ padding: var(--_list-item-padding);
429
+ margin: var(--_list-item-margin);
430
+ -moz-osx-font-smoothing: grayscale;
431
+ -webkit-font-smoothing: antialiased;
432
+ font-family: var(--forge-typography-body2-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));
433
+ letter-spacing: var(--forge-typography-body2-letter-spacing, 0.015625em);
434
+ text-transform: var(--forge-typography-body2-text-transform, inherit);
435
+ text-decoration: var(--forge-typography-body2-text-decoration, inherit);
436
+ white-space: nowrap;
437
+ overflow: hidden;
438
+ text-overflow: ellipsis;
439
+ box-sizing: border-box;
440
+ isolation: isolate;
441
+ font-size: var(--_list-item-text-font-size);
442
+ font-weight: var(--_list-item-text-font-weight);
443
+ line-height: var(--_list-item-text-line-height);
444
+ flex: 1;
445
+ contain: layout;
446
+ display: block;
447
+ align-content: center;
448
+ }
449
+ .forge-list-item button {
450
+ appearance: none;
451
+ cursor: var(--_list-item-cursor);
452
+ border: none;
453
+ padding-block: 0;
454
+ padding-inline: 0;
455
+ margin: 0;
456
+ box-sizing: border-box;
457
+ width: 100%;
458
+ background: transparent;
459
+ color: inherit;
460
+ outline: none;
461
+ font: inherit;
462
+ user-select: auto;
463
+ text-align: inherit;
464
+ letter-spacing: inherit;
465
+ word-spacing: inherit;
466
+ white-space: nowrap;
467
+ text-overflow: ellipsis;
468
+ overflow: hidden;
469
+ display: block;
470
+ }
471
+ .forge-list-item a {
472
+ outline: none;
473
+ color: inherit !important;
474
+ text-decoration: none !important;
475
+ }
476
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
477
+ .forge-list-item button:not(:disabled),
478
+ .forge-list-item a,
479
+ .forge-list-item label {
480
+ --_state-layer-display: var(--forge-state-layer-display, flex);
481
+ --_state-layer-color: var(--forge-state-layer-color, var(--forge-theme-on-surface, #000000));
482
+ --_state-layer-hover-color: var(--forge-state-layer-hover-color, var(--_state-layer-color));
483
+ --_state-layer-hover-opacity: var(--forge-state-layer-hover-opacity, 0.08);
484
+ --_state-layer-pressed-color: var(--forge-state-layer-pressed-color, var(--_state-layer-color));
485
+ --_state-layer-pressed-opacity: var(--forge-state-layer-pressed-opacity, 0.12);
486
+ --_state-layer-hover-duration: var(--forge-state-layer-hover-duration, 15ms);
487
+ --_state-layer-pressed-duration: var(--forge-state-layer-pressed-duration, 105ms);
488
+ --_state-layer-animation-duration: var(--forge-state-layer-animation-duration, 375ms);
489
+ }
490
+ .forge-list-item--interactive:not(.forge-list-item--disabled)::before,
491
+ .forge-list-item button:not(:disabled)::before,
492
+ .forge-list-item a::before,
493
+ .forge-list-item label::before {
494
+ opacity: 0;
495
+ position: absolute;
496
+ backface-visibility: hidden;
497
+ transform: translateZ(0);
498
+ background-color: var(--_state-layer-hover-color);
499
+ inset: 0;
500
+ transition: opacity var(--_state-layer-hover-duration) linear, background-color var(--_state-layer-hover-duration) linear;
501
+ --_state-layer-hover-duration: var(--forge-state-layer-hover-duration, 100ms);
502
+ content: "";
503
+ opacity: 0;
504
+ border-radius: inherit;
505
+ }
506
+ .forge-list-item--interactive:not(.forge-list-item--disabled):hover::before,
507
+ .forge-list-item button:not(:disabled):hover::before,
508
+ .forge-list-item a:hover::before,
509
+ .forge-list-item label:hover::before {
510
+ background-color: var(--_state-layer-hover-color);
511
+ opacity: var(--_state-layer-hover-opacity);
512
+ }
513
+ .forge-list-item--interactive:not(.forge-list-item--disabled):active::before,
514
+ .forge-list-item button:not(:disabled):active::before,
515
+ .forge-list-item a:active::before,
516
+ .forge-list-item label:active::before {
517
+ opacity: var(--_state-layer-pressed-opacity);
518
+ transition-duration: var(--_state-layer-pressed-duration);
519
+ --_state-layer-pressed-opacity: var(--forge-state-layer-pressed-opacity, 0.18);
520
+ }
521
+ .forge-list-item :is(forge-checkbox, forge-radio, forge-switch, input):is(.forge-list-item__start, .forge-list-item__end):not([forge-ignore]) {
522
+ --forge-focus-indicator-display: none;
523
+ --forge-state-layer-display: none;
524
+ }
525
+ .forge-list-item:has(button:not(:disabled),
526
+ a,
527
+ label,
528
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
529
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) a,
530
+ .forge-list-item:has(button:not(:disabled),
531
+ a,
532
+ label,
533
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
534
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) button,
535
+ .forge-list-item:has(button:not(:disabled),
536
+ a,
537
+ label,
538
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
539
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) label,
540
+ .forge-list-item:has(button:not(:disabled),
541
+ a,
542
+ label,
543
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
544
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled]),
545
+ .forge-list-item:has(button:not(:disabled),
546
+ a,
547
+ label,
548
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
549
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) .forge-list-item--interactive {
550
+ cursor: pointer;
551
+ }
552
+ @keyframes forge-focus-indicator-outward-grow {
553
+ from {
554
+ outline-width: 0;
555
+ }
556
+ to {
557
+ outline-width: var(--_focus-indicator-active-width);
558
+ }
559
+ }
560
+ @keyframes forge-focus-indicator-outward-shrink {
561
+ from {
562
+ outline-width: var(--_focus-indicator-active-width);
563
+ }
564
+ }
565
+ @keyframes forge-focus-indicator-inward-grow {
566
+ from {
567
+ border-width: 0;
568
+ }
569
+ to {
570
+ border-width: var(--_focus-indicator-active-width);
571
+ }
572
+ }
573
+ @keyframes forge-focus-indicator-inward-shrink {
574
+ from {
575
+ border-width: var(--_focus-indicator-active-width);
576
+ }
577
+ }
578
+ .forge-list-item:has(button:not(:disabled),
579
+ a,
580
+ label,
581
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
582
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) a,
583
+ .forge-list-item:has(button:not(:disabled),
584
+ a,
585
+ label,
586
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
587
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) button,
588
+ .forge-list-item:has(button:not(:disabled),
589
+ a,
590
+ label,
591
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
592
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) label,
593
+ .forge-list-item:has(button:not(:disabled),
594
+ a,
595
+ label,
596
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
597
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled]),
598
+ .forge-list-item:has(button:not(:disabled),
599
+ a,
600
+ label,
601
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
602
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) .forge-list-item--interactive {
603
+ outline: none;
604
+ }
605
+ .forge-list-item:has(button:not(:disabled),
606
+ a,
607
+ label,
608
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
609
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) a:focus-visible::after,
610
+ .forge-list-item:has(button:not(:disabled),
611
+ a,
612
+ label,
613
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
614
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) button:focus-visible::after,
615
+ .forge-list-item:has(button:not(:disabled),
616
+ a,
617
+ label,
618
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
619
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) label:focus-visible::after,
620
+ .forge-list-item:has(button:not(:disabled),
621
+ a,
622
+ label,
623
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
624
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled]):focus-visible::after,
625
+ .forge-list-item:has(button:not(:disabled),
626
+ a,
627
+ label,
628
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
629
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) .forge-list-item--interactive:focus-visible::after {
630
+ --_focus-indicator-display: var(--forge-focus-indicator-display, flex);
631
+ --_focus-indicator-width: var(--forge-focus-indicator-width, var(--forge-border-medium, 2px));
632
+ --_focus-indicator-active-width: var(--forge-focus-indicator-active-width, 6px);
633
+ --_focus-indicator-color: var(--forge-focus-indicator-color, var(--forge-theme-primary, #3f51b5));
634
+ --_focus-indicator-shape: var(--forge-focus-indicator-shape, calc(var(--forge-shape-extra-small, 1px) * var(--forge-shape-factor, 1)));
635
+ --_focus-indicator-duration: var(--forge-focus-indicator-duration, var(--forge-animation-duration-long4, 600ms));
636
+ --_focus-indicator-easing: var(--forge-focus-indicator-easing, var(--forge-animation-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)));
637
+ --_focus-indicator-shape-start-start: var(--forge-focus-indicator-shape-start-start, var(--_focus-indicator-shape));
638
+ --_focus-indicator-shape-start-end: var(--forge-focus-indicator-shape-start-end, var(--_focus-indicator-shape));
639
+ --_focus-indicator-shape-end-end: var(--forge-focus-indicator-shape-end-end, var(--_focus-indicator-shape));
640
+ --_focus-indicator-shape-end-start: var(--forge-focus-indicator-shape-end-start, var(--_focus-indicator-shape));
641
+ --_focus-indicator-outward-offset: var(--forge-focus-indicator-outward-offset, var(--forge-spacing-xxsmall, 4px));
642
+ --_focus-indicator-inward-offset: var(--forge-focus-indicator-inward-offset, 0px);
643
+ --_focus-indicator-offset-block: var(--forge-focus-indicator-offset-block, 0);
644
+ --_focus-indicator-offset-inline: var(--forge-focus-indicator-offset-inline, 0);
645
+ }
646
+ .forge-list-item:has(button:not(:disabled),
647
+ a,
648
+ label,
649
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
650
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) a:focus-visible::after,
651
+ .forge-list-item:has(button:not(:disabled),
652
+ a,
653
+ label,
654
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
655
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) button:focus-visible::after,
656
+ .forge-list-item:has(button:not(:disabled),
657
+ a,
658
+ label,
659
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
660
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) label:focus-visible::after,
661
+ .forge-list-item:has(button:not(:disabled),
662
+ a,
663
+ label,
664
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
665
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled]):focus-visible::after,
666
+ .forge-list-item:has(button:not(:disabled),
667
+ a,
668
+ label,
669
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
670
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) .forge-list-item--interactive:focus-visible::after {
671
+ animation-delay: 0s, calc(var(--_focus-indicator-duration) * 0.25);
672
+ animation-duration: calc(var(--_focus-indicator-duration) * 0.25), calc(var(--_focus-indicator-duration) * 0.75);
673
+ animation-timing-function: var(--_focus-indicator-easing);
674
+ box-sizing: border-box;
675
+ color: var(--_focus-indicator-color);
676
+ display: none;
677
+ pointer-events: none;
678
+ position: absolute;
679
+ margin-block: var(--_focus-indicator-offset-block);
680
+ margin-inline: var(--_focus-indicator-offset-inline);
681
+ animation-name: forge-focus-indicator-inward-grow, forge-focus-indicator-inward-shrink;
682
+ border-end-end-radius: calc(var(--_focus-indicator-shape-end-end) - var(--_focus-indicator-inward-offset));
683
+ border-end-start-radius: calc(var(--_focus-indicator-shape-end-start) - var(--_focus-indicator-inward-offset));
684
+ border-start-end-radius: calc(var(--_focus-indicator-shape-start-end) - var(--_focus-indicator-inward-offset));
685
+ border-start-start-radius: calc(var(--_focus-indicator-shape-start-start) - var(--_focus-indicator-inward-offset));
686
+ border: var(--_focus-indicator-width) solid currentColor;
687
+ inset: var(--_focus-indicator-inward-offset);
688
+ content: "";
689
+ display: block;
690
+ }
691
+ .forge-list-item:has(button:not(:disabled),
692
+ a,
693
+ label,
694
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
695
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) a,
696
+ .forge-list-item:has(button:not(:disabled),
697
+ a,
698
+ label,
699
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
700
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) button,
701
+ .forge-list-item:has(button:not(:disabled),
702
+ a,
703
+ label,
704
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
705
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) label,
706
+ .forge-list-item:has(button:not(:disabled),
707
+ a,
708
+ label,
709
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
710
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled]),
711
+ .forge-list-item:has(button:not(:disabled),
712
+ a,
713
+ label,
714
+ .forge-list-item--interactive:not(.forge-list-item--disabled),
715
+ :is(forge-checkbox, forge-radio, forge-switch, input):not([disabled])) .forge-list-item--interactive {
716
+ --forge-focus-indicator-shape: calc(var(--forge-shape-medium, 4px) * var(--forge-shape-factor, 1));
717
+ }
718
+ .forge-list-item__text {
719
+ -moz-osx-font-smoothing: grayscale;
720
+ -webkit-font-smoothing: antialiased;
721
+ font-family: var(--forge-typography-body1-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));
722
+ font-size: var(--forge-typography-body1-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 0.875)));
723
+ font-weight: var(--forge-typography-body1-font-weight, 400);
724
+ line-height: var(--forge-typography-body1-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.125)));
725
+ letter-spacing: var(--forge-typography-body1-letter-spacing, 0.0357142857em);
726
+ text-transform: var(--forge-typography-body1-text-transform, inherit);
727
+ text-decoration: var(--forge-typography-body1-text-decoration, inherit);
728
+ white-space: nowrap;
729
+ overflow: hidden;
730
+ text-overflow: ellipsis;
731
+ color: var(--_list-item-text-color);
732
+ display: block;
733
+ }
734
+ }
735
+ @layer two-line {
736
+ .forge-list--two-line .forge-list-item,
737
+ .forge-list-item--two-line {
738
+ height: var(--_list-item-two-line-height);
739
+ min-height: var(--_list-item-two-line-height);
740
+ }
741
+ .forge-list--three-line .forge-list-item,
742
+ .forge-list-item--three-line {
743
+ height: var(--_list-item-three-line-height);
744
+ min-height: var(--_list-item-three-line-height);
745
+ }
746
+ }
747
+ @layer dense {
748
+ .forge-list--dense .forge-list-item,
749
+ .forge-list-item--dense {
750
+ --_list-item-gap: var(--_list-item-dense-gap);
751
+ height: var(--_list-item-dense-one-line-height);
752
+ min-height: var(--_list-item-dense-one-line-height);
753
+ font-size: var(--_list-item-dense-font-size);
754
+ }
755
+ .forge-list--dense.forge-list--two-line .forge-list-item,
756
+ .forge-list--dense .forge-list-item--two-line,
757
+ .forge-list-item--dense.forge-list-item--two-line {
758
+ height: var(--_list-item-dense-two-line-height);
759
+ min-height: var(--_list-item-dense-two-line-height);
760
+ }
761
+ .forge-list--dense.forge-list--three-line .forge-list-item,
762
+ .forge-list--dense .forge-list-item--three-line,
763
+ .forge-list-item--dense.forge-list-item--three-line {
764
+ height: var(--_list-item-dense-three-line-height);
765
+ min-height: var(--_list-item-dense-three-line-height);
766
+ }
767
+ .forge-list-dense.forge-list--indented .forge-list-item,
768
+ .forge-list--dense .forge-list-item--indented,
769
+ .forge-list-item--dense.forge-list-item--indented {
770
+ margin-inline-start: var(--_list-item-dense-indent);
771
+ }
772
+ }
773
+ @layer wrap {
774
+ .forge-list--wrap .forge-list-item,
775
+ .forge-list-item--wrap {
776
+ --_list-item-padding: var(--_list-item-wrap-padding);
777
+ height: auto;
778
+ white-space: normal;
779
+ overflow: visible;
780
+ text-overflow: clip;
781
+ line-height: normal;
782
+ }
783
+ .forge-list--wrap .forge-list-item .forge-list-item__text,
784
+ .forge-list-item--wrap .forge-list-item__text {
785
+ white-space: normal;
786
+ overflow: visible;
787
+ text-overflow: clip;
788
+ line-height: normal;
789
+ }
790
+ }
791
+ @layer selected {
792
+ .forge-list-item--selected {
793
+ color: var(--_list-item-selected-color);
794
+ }
795
+ .forge-list-item--selected::before {
796
+ content: "";
797
+ position: absolute;
798
+ inset: 0;
799
+ border-radius: inherit;
800
+ opacity: var(--_list-item-selected-opacity);
801
+ background-color: var(--_list-item-selected-background);
802
+ pointer-events: none;
803
+ }
804
+ .forge-list-item--selected {
805
+ --forge-state-layer-color: var(--_list-item-selected-color);
806
+ }
807
+ .forge-list-item--selected .forge-list-item__start {
808
+ color: var(--_list-item-start-selected-color);
809
+ }
810
+ .forge-list-item--selected .forge-list-item__end {
811
+ color: var(--_list-item-end-selected-color);
812
+ }
813
+ }
814
+ @layer indented {
815
+ .forge-list--indented .forge-list-item,
816
+ .forge-list-item--indented {
817
+ margin-inline-start: var(--_list-item-indent);
818
+ }
819
+ }
820
+ @layer disabled {
821
+ .forge-list--disabled .forge-list-item,
822
+ .forge-list-item--disabled,
823
+ .forge-list-item button:disabled {
824
+ cursor: var(--_list-item-disabled-cursor);
825
+ opacity: var(--_list-item-disabled-opacity);
826
+ }
827
+ }
828
+ :host {
829
+ display: block;
830
+ width: 100%;
831
+ max-inline-size: var(--forge-ai-suggestions-inline-size, 768px);
832
+ }
833
+
834
+ .custom-list-item {
835
+ --forge-list-item-height: 32px;
836
+ --forge-list-item-padding: var(--forge-spacing-xxsmall, 4px);
837
+ --forge-list-item-shape: calc(var(--forge-shape-large, 8px) * var(--forge-shape-factor, 1));
838
+ --forge-icon-color: var(--forge-theme-text-medium, rgba(0, 0, 0, 0.6));
839
+ display: flex;
840
+ align-items: center;
841
+ justify-content: start;
842
+ gap: var(--forge-spacing-medium, 16px);
843
+ margin-inline: calc(var(--forge-spacing-xxsmall, 4px) * -1) 0;
844
+ margin-block: 0;
845
+ width: 100%;
846
+ }
847
+ .custom-list-item button {
848
+ -moz-osx-font-smoothing: grayscale;
849
+ -webkit-font-smoothing: antialiased;
850
+ font-family: var(--forge-typography-body1-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));
851
+ font-size: var(--forge-typography-body1-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 0.875)));
852
+ font-weight: var(--forge-typography-body1-font-weight, 400);
853
+ line-height: var(--forge-typography-body1-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.125)));
854
+ letter-spacing: var(--forge-typography-body1-letter-spacing, 0.0357142857em);
855
+ text-transform: var(--forge-typography-body1-text-transform, inherit);
856
+ text-decoration: var(--forge-typography-body1-text-decoration, inherit);
857
+ display: flex;
858
+ justify-content: start;
859
+ text-box-trim: both;
860
+ text-wrap: wrap;
861
+ }
862
+ .custom-list-item button:hover, .custom-list-item button:focus-within, .custom-list-item button::after {
863
+ border-radius: calc(var(--forge-shape-large, 8px) * var(--forge-shape-factor, 1));
864
+ }
865
+
866
+ :host(:state(inline)) .custom-list-item {
867
+ flex: 0 0 auto; /* === don't grow, don't shrink, size to content */
868
+ width: fit-content; /* optional, just makes intent explicit */
869
+ }
870
+
871
+ :host(:state(block)) .forge-list {
872
+ display: flex;
873
+ flex-direction: column;
874
+ gap: var(--forge-spacing-xxsmall, 4px);
875
+ }
876
+
877
+ .block-layout-container {
878
+ display: flex;
879
+ flex-direction: column;
880
+ }
881
+
882
+ .scroll-container {
883
+ overflow: scroll;
884
+ scrollbar-width: none;
885
+ -webkit-overflow-scrolling: touch;
886
+ width: 100%;
887
+ height: 100%;
888
+ }
889
+
890
+ .suggestions-inline {
891
+ display: flex;
892
+ align-items: center;
893
+ flex-direction: row;
894
+ flex-wrap: nowrap;
895
+ width: max-content;
896
+ gap: var(--forge-spacing-small, 12px);
897
+ }
898
+
899
+ .suggestion-tooltip {
900
+ --forge-tooltip-content-align: start;
901
+ }`;
2
902
  export {
3
903
  styles as default
4
904
  };