@und-ui/core 0.2.0 → 0.3.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.
- package/README.md +1 -1
- package/custom-elements.json +28030 -15402
- package/dist/all.d.ts +10 -0
- package/dist/all.d.ts.map +1 -1
- package/dist/all.js +11 -0
- package/dist/all.js.map +1 -1
- package/dist/autoloader.js +12 -0
- package/dist/cdn/accordion.js +1 -1
- package/dist/cdn/alert.js +193 -156
- package/dist/cdn/all.js +17967 -12435
- package/dist/cdn/app-shell.js +140 -138
- package/dist/cdn/aspect-ratio.js +82 -62
- package/dist/cdn/autoloader.js +1 -1
- package/dist/cdn/avatar-group.js +86 -73
- package/dist/cdn/avatar.js +1 -1
- package/dist/cdn/badge.js +241 -137
- package/dist/cdn/banner.js +235 -188
- package/dist/cdn/blockquote.js +48 -45
- package/dist/cdn/bottom-sheet.js +77 -76
- package/dist/cdn/breadcrumb-item.js +1 -1
- package/dist/cdn/breadcrumb.js +1 -1
- package/dist/cdn/button-group.js +1 -1
- package/dist/cdn/button.js +1 -1
- package/dist/cdn/calendar.js +1 -1
- package/dist/cdn/card.js +1 -1
- package/dist/cdn/carousel.js +363 -197
- package/dist/cdn/center.js +69 -38
- package/dist/cdn/chat-composer.js +371 -230
- package/dist/cdn/chat-layout.js +242 -122
- package/dist/cdn/chat-message.js +615 -284
- package/dist/cdn/checkbox-list.js +129 -117
- package/dist/cdn/checkbox.js +1 -1
- package/dist/cdn/chunks/35H42XYK.js +193 -0
- package/dist/cdn/chunks/{W3C5YK34.js → 4LZZFW3X.js} +22 -22
- package/dist/cdn/chunks/4NF3RISF.js +197 -0
- package/dist/cdn/chunks/5BX4HEHZ.js +1 -0
- package/dist/cdn/chunks/5QSE3Y2A.js +12 -0
- package/dist/cdn/chunks/62ZR2A52.js +77 -0
- package/dist/cdn/chunks/73BPUMRZ.js +21 -0
- package/dist/cdn/chunks/A2MFQ7MV.js +386 -0
- package/dist/cdn/chunks/APG264XI.js +278 -0
- package/dist/cdn/chunks/{PYS73CGQ.js → AQKDJ33E.js} +1 -1
- package/dist/cdn/chunks/AXXUTP2F.js +97 -0
- package/dist/cdn/chunks/AYKEMR33.js +223 -0
- package/dist/cdn/chunks/{GVFRCF4L.js → BKDEXOWH.js} +1 -1
- package/dist/cdn/chunks/BPAPN5U5.js +184 -0
- package/dist/cdn/chunks/BPVNR2UL.js +208 -0
- package/dist/cdn/chunks/DC5BD7YO.js +340 -0
- package/dist/cdn/chunks/DG7YPFFO.js +229 -0
- package/dist/cdn/chunks/{FVWYLBE6.js → DWHDSDOI.js} +1 -1
- package/dist/cdn/chunks/DYQMVGAC.js +244 -0
- package/dist/cdn/chunks/ENXZIAQC.js +202 -0
- package/dist/cdn/chunks/{2JGSCE32.js → FB4JU25W.js} +1 -1
- package/dist/cdn/chunks/FFVAJNZY.js +258 -0
- package/dist/cdn/chunks/FSHM6LRG.js +141 -0
- package/dist/cdn/chunks/GABTGDAV.js +9 -0
- package/dist/cdn/chunks/HCAU6QLT.js +195 -0
- package/dist/cdn/chunks/IJ33CPAJ.js +143 -0
- package/dist/cdn/chunks/IZSGJ2E7.js +1 -0
- package/dist/cdn/chunks/JLEESVNU.js +47 -0
- package/dist/cdn/chunks/L7GXMZPH.js +124 -0
- package/dist/cdn/chunks/M34HKRAH.js +1 -0
- package/dist/cdn/chunks/MVNBLMZX.js +311 -0
- package/dist/cdn/chunks/NDBYWSKA.js +295 -0
- package/dist/cdn/chunks/OPNTVYNE.js +491 -0
- package/dist/cdn/chunks/ORDFN4FF.js +180 -0
- package/dist/cdn/chunks/QC64VL54.js +1 -0
- package/dist/cdn/chunks/{NBCCLQGT.js → QI5KLKPP.js} +1 -1
- package/dist/cdn/chunks/S6G53LD3.js +143 -0
- package/dist/cdn/chunks/SCDSMYMG.js +311 -0
- package/dist/cdn/chunks/SNYY4OHN.js +112 -0
- package/dist/cdn/chunks/TRE5MISQ.js +84 -0
- package/dist/cdn/chunks/UOJCBKNF.js +1 -0
- package/dist/cdn/chunks/USD6Y75F.js +105 -0
- package/dist/cdn/chunks/UYQK4UCY.js +120 -0
- package/dist/cdn/chunks/{MQR6SWE3.js → VOHVT25O.js} +1 -1
- package/dist/cdn/chunks/VQPJF5GN.js +265 -0
- package/dist/cdn/chunks/{JTCY7VA6.js → VSCNFM2U.js} +1 -1
- package/dist/cdn/chunks/W7LU44VJ.js +245 -0
- package/dist/cdn/chunks/X4ES62AQ.js +1 -0
- package/dist/cdn/chunks/X4WMYGUB.js +114 -0
- package/dist/cdn/chunks/{7ZRZJJTR.js → XJPF373C.js} +1 -1
- package/dist/cdn/chunks/Z7SOJPLB.js +248 -0
- package/dist/cdn/chunks/{IYPIGVNK.js → ZMEFU637.js} +1 -1
- package/dist/cdn/chunks/ZTM5JMU2.js +218 -0
- package/dist/cdn/citation.js +158 -90
- package/dist/cdn/clickable-card.js +34 -30
- package/dist/cdn/code-block.js +370 -205
- package/dist/cdn/code.js +43 -28
- package/dist/cdn/collapsible.js +10 -10
- package/dist/cdn/combobox.js +1 -1
- package/dist/cdn/command-palette.js +178 -170
- package/dist/cdn/context-menu.js +14 -14
- package/dist/cdn/date-input.js +1 -1
- package/dist/cdn/date-range-input.js +1 -1
- package/dist/cdn/date-time-input.js +8 -8
- package/dist/cdn/dialog.js +1 -1
- package/dist/cdn/divider.js +75 -61
- package/dist/cdn/drawer.js +1 -1
- package/dist/cdn/empty-state.js +124 -90
- package/dist/cdn/file-input.js +221 -190
- package/dist/cdn/form-field.js +16 -13
- package/dist/cdn/form-layout.js +97 -66
- package/dist/cdn/grid-item.js +1 -1
- package/dist/cdn/grid.js +108 -61
- package/dist/cdn/heading.js +151 -57
- package/dist/cdn/hover-card.js +9 -7
- package/dist/cdn/icon-button.js +37 -37
- package/dist/cdn/icon.js +139 -48
- package/dist/cdn/indicator.js +166 -0
- package/dist/cdn/info-tip.js +93 -70
- package/dist/cdn/input-group.js +69 -64
- package/dist/cdn/item.js +259 -0
- package/dist/cdn/kbd.js +55 -36
- package/dist/cdn/layout.js +172 -0
- package/dist/cdn/lightbox.js +230 -187
- package/dist/cdn/link.js +135 -135
- package/dist/cdn/list-item.js +1 -1
- package/dist/cdn/list.js +1 -1
- package/dist/cdn/markdown.js +1 -1
- package/dist/cdn/menu-group.js +1 -1
- package/dist/cdn/menu-item.js +1 -1
- package/dist/cdn/menu-separator.js +1 -1
- package/dist/cdn/menu.js +1 -1
- package/dist/cdn/metadata-item.js +1 -1
- package/dist/cdn/metadata-list.js +1 -1
- package/dist/cdn/mobile-nav.js +81 -54
- package/dist/cdn/more-menu.js +52 -48
- package/dist/cdn/multi-select.js +15 -15
- package/dist/cdn/nav-icon.js +48 -0
- package/dist/cdn/nav-item.js +141 -0
- package/dist/cdn/nav-menu-item.js +1 -0
- package/dist/cdn/nav-menu.js +52 -0
- package/dist/cdn/number-input.js +123 -103
- package/dist/cdn/outline.js +149 -94
- package/dist/cdn/overflow-list.js +112 -109
- package/dist/cdn/pagination.js +198 -156
- package/dist/cdn/popover.js +1 -1
- package/dist/cdn/power-search.js +338 -0
- package/dist/cdn/progress.js +218 -171
- package/dist/cdn/radio-group.js +1 -1
- package/dist/cdn/radio-list.js +80 -76
- package/dist/cdn/radio.js +1 -1
- package/dist/cdn/resize-handle.js +1 -73
- package/dist/cdn/scroll-area.js +86 -70
- package/dist/cdn/section.js +65 -30
- package/dist/cdn/segmented-control-item.js +1 -1
- package/dist/cdn/segmented-control.js +1 -1
- package/dist/cdn/select.js +6 -6
- package/dist/cdn/selectable-card.js +212 -161
- package/dist/cdn/side-nav-heading.js +1 -1
- package/dist/cdn/side-nav-item.js +1 -1
- package/dist/cdn/side-nav-section.js +1 -1
- package/dist/cdn/side-nav.js +1 -1
- package/dist/cdn/skeleton.js +133 -79
- package/dist/cdn/slider.js +204 -182
- package/dist/cdn/snap-paging.js +62 -0
- package/dist/cdn/spinner.js +122 -63
- package/dist/cdn/stack.js +87 -71
- package/dist/cdn/status-dot.js +76 -55
- package/dist/cdn/step.js +1 -1
- package/dist/cdn/stepper.js +1 -1
- package/dist/cdn/swipe-action.js +1 -0
- package/dist/cdn/swipe.js +71 -0
- package/dist/cdn/switch.js +201 -178
- package/dist/cdn/tab-menu.js +143 -120
- package/dist/cdn/tab-panel.js +1 -1
- package/dist/cdn/tab.js +1 -1
- package/dist/cdn/table.js +394 -352
- package/dist/cdn/tabs.js +1 -1
- package/dist/cdn/text-field.js +1 -1
- package/dist/cdn/text.js +201 -100
- package/dist/cdn/textarea.js +174 -102
- package/dist/cdn/thumbnail.js +244 -84
- package/dist/cdn/time-input.js +1 -1
- package/dist/cdn/timer.js +32 -31
- package/dist/cdn/timestamp.js +40 -16
- package/dist/cdn/toast.js +1 -1
- package/dist/cdn/toaster.js +1 -1
- package/dist/cdn/toggle-button-group.js +1 -1
- package/dist/cdn/toggle-button.js +29 -0
- package/dist/cdn/token.js +1 -1
- package/dist/cdn/tokenizer.js +120 -110
- package/dist/cdn/toolbar.js +37 -37
- package/dist/cdn/tooltip.js +73 -50
- package/dist/cdn/top-nav-item.js +1 -1
- package/dist/cdn/top-nav-menu.js +1 -1
- package/dist/cdn/top-nav.js +1 -1
- package/dist/cdn/tree-item.js +1 -1
- package/dist/cdn/tree-list.js +1 -1
- package/dist/cdn/typeahead.js +1 -1
- package/dist/cdn/visually-hidden.js +21 -17
- package/dist/components/accordion/accordion.d.ts +1 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +1 -0
- package/dist/components/accordion/accordion.js.map +1 -1
- package/dist/components/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/accordion/accordion.styles.js +105 -103
- package/dist/components/accordion/accordion.styles.js.map +1 -1
- package/dist/components/alert/alert.d.ts +5 -2
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +20 -4
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/alert.styles.d.ts +4 -0
- package/dist/components/alert/alert.styles.d.ts.map +1 -1
- package/dist/components/alert/alert.styles.js +185 -145
- package/dist/components/alert/alert.styles.js.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.js +6 -4
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/app-shell/app-shell.d.ts +1 -0
- package/dist/components/app-shell/app-shell.d.ts.map +1 -1
- package/dist/components/app-shell/app-shell.js +122 -118
- package/dist/components/app-shell/app-shell.js.map +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +16 -2
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.js +75 -49
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -1
- package/dist/components/avatar/avatar-group.d.ts +16 -3
- package/dist/components/avatar/avatar-group.d.ts.map +1 -1
- package/dist/components/avatar/avatar-group.js +78 -57
- package/dist/components/avatar/avatar-group.js.map +1 -1
- package/dist/components/avatar/avatar.d.ts +11 -5
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +150 -91
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/badge/badge.d.ts +16 -0
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/badge.js +231 -118
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/banner/banner.d.ts +36 -3
- package/dist/components/banner/banner.d.ts.map +1 -1
- package/dist/components/banner/banner.js +232 -151
- package/dist/components/banner/banner.js.map +1 -1
- package/dist/components/blockquote/blockquote.d.ts +2 -1
- package/dist/components/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/blockquote/blockquote.js +41 -36
- package/dist/components/blockquote/blockquote.js.map +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +2 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.ts.map +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.js +2 -1
- package/dist/components/bottom-sheet/bottom-sheet.js.map +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.styles.d.ts +4 -3
- package/dist/components/bottom-sheet/bottom-sheet.styles.d.ts.map +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.styles.js +81 -78
- package/dist/components/bottom-sheet/bottom-sheet.styles.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +10 -1
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.styles.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.styles.js +97 -94
- package/dist/components/breadcrumb/breadcrumb.styles.js.map +1 -1
- package/dist/components/button/button.d.ts +4 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +27 -2
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button/button.styles.d.ts.map +1 -1
- package/dist/components/button/button.styles.js +355 -290
- package/dist/components/button/button.styles.js.map +1 -1
- package/dist/components/button-group/button-group.js +60 -60
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/calendar.js +10 -1
- package/dist/components/calendar/calendar.js.map +1 -1
- package/dist/components/calendar/calendar.styles.d.ts.map +1 -1
- package/dist/components/calendar/calendar.styles.js +263 -215
- package/dist/components/calendar/calendar.styles.js.map +1 -1
- package/dist/components/card/card.d.ts +18 -3
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/card.js +176 -108
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/carousel/carousel.d.ts +72 -8
- package/dist/components/carousel/carousel.d.ts.map +1 -1
- package/dist/components/carousel/carousel.js +253 -27
- package/dist/components/carousel/carousel.js.map +1 -1
- package/dist/components/carousel/carousel.styles.d.ts.map +1 -1
- package/dist/components/carousel/carousel.styles.js +325 -167
- package/dist/components/carousel/carousel.styles.js.map +1 -1
- package/dist/components/center/center.d.ts +88 -0
- package/dist/components/center/center.d.ts.map +1 -1
- package/dist/components/center/center.js +80 -32
- package/dist/components/center/center.js.map +1 -1
- package/dist/components/chat/chat-composer.d.ts +75 -6
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +111 -38
- package/dist/components/chat/chat-composer.js.map +1 -1
- package/dist/components/chat/chat-composer.styles.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.styles.js +323 -200
- package/dist/components/chat/chat-composer.styles.js.map +1 -1
- package/dist/components/chat/chat-icons.d.ts +26 -0
- package/dist/components/chat/chat-icons.d.ts.map +1 -0
- package/dist/components/chat/chat-icons.js +27 -0
- package/dist/components/chat/chat-icons.js.map +1 -0
- package/dist/components/chat/chat-layout.d.ts +43 -5
- package/dist/components/chat/chat-layout.d.ts.map +1 -1
- package/dist/components/chat/chat-layout.js +110 -27
- package/dist/components/chat/chat-layout.js.map +1 -1
- package/dist/components/chat/chat-layout.styles.d.ts.map +1 -1
- package/dist/components/chat/chat-layout.styles.js +219 -110
- package/dist/components/chat/chat-layout.styles.js.map +1 -1
- package/dist/components/chat/chat-message.d.ts +83 -14
- package/dist/components/chat/chat-message.d.ts.map +1 -1
- package/dist/components/chat/chat-message.js +145 -64
- package/dist/components/chat/chat-message.js.map +1 -1
- package/dist/components/chat/chat-message.styles.d.ts.map +1 -1
- package/dist/components/chat/chat-message.styles.js +565 -245
- package/dist/components/chat/chat-message.styles.js.map +1 -1
- package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.styles.js +207 -167
- package/dist/components/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/checkbox-list/checkbox-list.js +15 -15
- package/dist/components/checkbox-list/checkbox-list.styles.d.ts.map +1 -1
- package/dist/components/checkbox-list/checkbox-list.styles.js +110 -98
- package/dist/components/checkbox-list/checkbox-list.styles.js.map +1 -1
- package/dist/components/citation/citation.d.ts +21 -2
- package/dist/components/citation/citation.d.ts.map +1 -1
- package/dist/components/citation/citation.js +165 -79
- package/dist/components/citation/citation.js.map +1 -1
- package/dist/components/clickable-card/clickable-card.d.ts +6 -0
- package/dist/components/clickable-card/clickable-card.d.ts.map +1 -1
- package/dist/components/clickable-card/clickable-card.js +33 -25
- package/dist/components/clickable-card/clickable-card.js.map +1 -1
- package/dist/components/code/code.d.ts +24 -2
- package/dist/components/code/code.d.ts.map +1 -1
- package/dist/components/code/code.js +53 -27
- package/dist/components/code/code.js.map +1 -1
- package/dist/components/code-block/code-block.d.ts +66 -5
- package/dist/components/code-block/code-block.d.ts.map +1 -1
- package/dist/components/code-block/code-block.js +80 -18
- package/dist/components/code-block/code-block.js.map +1 -1
- package/dist/components/code-block/code-block.styles.d.ts.map +1 -1
- package/dist/components/code-block/code-block.styles.js +347 -182
- package/dist/components/code-block/code-block.styles.js.map +1 -1
- package/dist/components/collapsible/collapsible.styles.js +10 -10
- package/dist/components/combobox/combobox.styles.d.ts.map +1 -1
- package/dist/components/combobox/combobox.styles.js +164 -149
- package/dist/components/combobox/combobox.styles.js.map +1 -1
- package/dist/components/command-palette/command-palette.d.ts +4 -0
- package/dist/components/command-palette/command-palette.d.ts.map +1 -1
- package/dist/components/command-palette/command-palette.js +3 -0
- package/dist/components/command-palette/command-palette.js.map +1 -1
- package/dist/components/command-palette/command-palette.styles.d.ts.map +1 -1
- package/dist/components/command-palette/command-palette.styles.js +175 -166
- package/dist/components/command-palette/command-palette.styles.js.map +1 -1
- package/dist/components/context-menu/context-menu.styles.js +14 -14
- package/dist/components/date-time-input/date-time-input.js +7 -7
- package/dist/components/dialog/dialog.d.ts +11 -2
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/dialog/dialog.js +11 -4
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/dialog/dialog.styles.d.ts +8 -3
- package/dist/components/dialog/dialog.styles.d.ts.map +1 -1
- package/dist/components/dialog/dialog.styles.js +246 -205
- package/dist/components/dialog/dialog.styles.js.map +1 -1
- package/dist/components/divider/divider.d.ts +21 -1
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/divider/divider.js +72 -52
- package/dist/components/divider/divider.js.map +1 -1
- package/dist/components/drawer/drawer.d.ts +4 -2
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +4 -2
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/drawer/drawer.styles.d.ts +8 -3
- package/dist/components/drawer/drawer.styles.d.ts.map +1 -1
- package/dist/components/drawer/drawer.styles.js +122 -97
- package/dist/components/drawer/drawer.styles.js.map +1 -1
- package/dist/components/empty-state/empty-state.d.ts +11 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state/empty-state.js +114 -76
- package/dist/components/empty-state/empty-state.js.map +1 -1
- package/dist/components/file-input/file-input.styles.d.ts.map +1 -1
- package/dist/components/file-input/file-input.styles.js +220 -189
- package/dist/components/file-input/file-input.styles.js.map +1 -1
- package/dist/components/form-field/error-summary.styles.js +46 -46
- package/dist/components/form-field/field-base.d.ts +46 -0
- package/dist/components/form-field/field-base.d.ts.map +1 -1
- package/dist/components/form-field/field-base.js +77 -12
- package/dist/components/form-field/field-base.js.map +1 -1
- package/dist/components/form-field/field-helpers.d.ts +24 -3
- package/dist/components/form-field/field-helpers.d.ts.map +1 -1
- package/dist/components/form-field/field-helpers.js +74 -5
- package/dist/components/form-field/field-helpers.js.map +1 -1
- package/dist/components/form-field/form-field.d.ts +39 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -1
- package/dist/components/form-field/form-field.js +33 -15
- package/dist/components/form-field/form-field.js.map +1 -1
- package/dist/components/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/form-field/form-field.styles.js +194 -69
- package/dist/components/form-field/form-field.styles.js.map +1 -1
- package/dist/components/form-layout/form-layout.d.ts +10 -0
- package/dist/components/form-layout/form-layout.d.ts.map +1 -1
- package/dist/components/form-layout/form-layout.js +1 -0
- package/dist/components/form-layout/form-layout.js.map +1 -1
- package/dist/components/form-layout/form-layout.styles.d.ts.map +1 -1
- package/dist/components/form-layout/form-layout.styles.js +96 -65
- package/dist/components/form-layout/form-layout.styles.js.map +1 -1
- package/dist/components/grid/grid-item.d.ts.map +1 -1
- package/dist/components/grid/grid-item.js +15 -12
- package/dist/components/grid/grid-item.js.map +1 -1
- package/dist/components/grid/grid.d.ts +72 -4
- package/dist/components/grid/grid.d.ts.map +1 -1
- package/dist/components/grid/grid.js +125 -48
- package/dist/components/grid/grid.js.map +1 -1
- package/dist/components/heading/heading.d.ts +69 -8
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/heading/heading.js +35 -7
- package/dist/components/heading/heading.js.map +1 -1
- package/dist/components/heading/heading.styles.d.ts +3 -0
- package/dist/components/heading/heading.styles.d.ts.map +1 -1
- package/dist/components/heading/heading.styles.js +154 -56
- package/dist/components/heading/heading.styles.js.map +1 -1
- package/dist/components/hover-card/hover-card.d.ts +7 -0
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card/hover-card.js +43 -10
- package/dist/components/hover-card/hover-card.js.map +1 -1
- package/dist/components/icon/icon.d.ts +29 -5
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/icon/icon.js +135 -39
- package/dist/components/icon/icon.js.map +1 -1
- package/dist/components/icon-button/icon-button.js +30 -30
- package/dist/components/indicator/indicator.d.ts +89 -0
- package/dist/components/indicator/indicator.d.ts.map +1 -0
- package/dist/components/indicator/indicator.js +249 -0
- package/dist/components/indicator/indicator.js.map +1 -0
- package/dist/components/info-tip/info-tip.d.ts +9 -0
- package/dist/components/info-tip/info-tip.d.ts.map +1 -1
- package/dist/components/info-tip/info-tip.js +81 -56
- package/dist/components/info-tip/info-tip.js.map +1 -1
- package/dist/components/input-group/input-group.styles.d.ts.map +1 -1
- package/dist/components/input-group/input-group.styles.js +68 -63
- package/dist/components/input-group/input-group.styles.js.map +1 -1
- package/dist/components/item/item.d.ts +163 -0
- package/dist/components/item/item.d.ts.map +1 -0
- package/dist/components/item/item.js +412 -0
- package/dist/components/item/item.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts +27 -6
- package/dist/components/kbd/kbd.d.ts.map +1 -1
- package/dist/components/kbd/kbd.js +146 -39
- package/dist/components/kbd/kbd.js.map +1 -1
- package/dist/components/layout/layout.d.ts +131 -0
- package/dist/components/layout/layout.d.ts.map +1 -0
- package/dist/components/layout/layout.js +260 -0
- package/dist/components/layout/layout.js.map +1 -0
- package/dist/components/lightbox/lightbox.d.ts +6 -2
- package/dist/components/lightbox/lightbox.d.ts.map +1 -1
- package/dist/components/lightbox/lightbox.js +6 -2
- package/dist/components/lightbox/lightbox.js.map +1 -1
- package/dist/components/lightbox/lightbox.styles.d.ts +7 -3
- package/dist/components/lightbox/lightbox.styles.d.ts.map +1 -1
- package/dist/components/lightbox/lightbox.styles.js +231 -183
- package/dist/components/lightbox/lightbox.styles.js.map +1 -1
- package/dist/components/link/link.js +116 -116
- package/dist/components/list/list-item.d.ts +76 -4
- package/dist/components/list/list-item.d.ts.map +1 -1
- package/dist/components/list/list-item.js +326 -70
- package/dist/components/list/list-item.js.map +1 -1
- package/dist/components/list/list.d.ts +47 -2
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +66 -14
- package/dist/components/list/list.js.map +1 -1
- package/dist/components/listbox/listbox.styles.d.ts.map +1 -1
- package/dist/components/listbox/listbox.styles.js +143 -137
- package/dist/components/listbox/listbox.styles.js.map +1 -1
- package/dist/components/markdown/markdown.d.ts +23 -1
- package/dist/components/markdown/markdown.d.ts.map +1 -1
- package/dist/components/markdown/markdown.js +16 -1
- package/dist/components/markdown/markdown.js.map +1 -1
- package/dist/components/markdown/markdown.styles.d.ts +4 -0
- package/dist/components/markdown/markdown.styles.d.ts.map +1 -1
- package/dist/components/markdown/markdown.styles.js +304 -171
- package/dist/components/markdown/markdown.styles.js.map +1 -1
- package/dist/components/markdown/render.d.ts.map +1 -1
- package/dist/components/markdown/render.js +2 -0
- package/dist/components/markdown/render.js.map +1 -1
- package/dist/components/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/menu/menu.styles.js +193 -188
- package/dist/components/menu/menu.styles.js.map +1 -1
- package/dist/components/metadata-list/metadata-item.js +6 -6
- package/dist/components/metadata-list/metadata-list.d.ts +40 -3
- package/dist/components/metadata-list/metadata-list.d.ts.map +1 -1
- package/dist/components/metadata-list/metadata-list.js +144 -63
- package/dist/components/metadata-list/metadata-list.js.map +1 -1
- package/dist/components/mobile-nav/mobile-nav.d.ts +3 -1
- package/dist/components/mobile-nav/mobile-nav.d.ts.map +1 -1
- package/dist/components/mobile-nav/mobile-nav.js +4 -1
- package/dist/components/mobile-nav/mobile-nav.js.map +1 -1
- package/dist/components/mobile-nav/mobile-nav.styles.d.ts.map +1 -1
- package/dist/components/mobile-nav/mobile-nav.styles.js +80 -53
- package/dist/components/mobile-nav/mobile-nav.styles.js.map +1 -1
- package/dist/components/more-menu/more-menu.d.ts +3 -0
- package/dist/components/more-menu/more-menu.d.ts.map +1 -1
- package/dist/components/more-menu/more-menu.js +3 -0
- package/dist/components/more-menu/more-menu.js.map +1 -1
- package/dist/components/more-menu/more-menu.styles.d.ts.map +1 -1
- package/dist/components/more-menu/more-menu.styles.js +51 -46
- package/dist/components/more-menu/more-menu.styles.js.map +1 -1
- package/dist/components/multi-select/multi-select.styles.d.ts.map +1 -1
- package/dist/components/multi-select/multi-select.styles.js +17 -16
- package/dist/components/multi-select/multi-select.styles.js.map +1 -1
- package/dist/components/nav-icon/nav-icon.d.ts +39 -0
- package/dist/components/nav-icon/nav-icon.d.ts.map +1 -0
- package/dist/components/nav-icon/nav-icon.js +78 -0
- package/dist/components/nav-icon/nav-icon.js.map +1 -0
- package/dist/components/nav-item/nav-item.d.ts +95 -0
- package/dist/components/nav-item/nav-item.d.ts.map +1 -0
- package/dist/components/nav-item/nav-item.js +210 -0
- package/dist/components/nav-item/nav-item.js.map +1 -0
- package/dist/components/nav-menu/nav-menu-item.d.ts +65 -0
- package/dist/components/nav-menu/nav-menu-item.d.ts.map +1 -0
- package/dist/components/nav-menu/nav-menu-item.js +161 -0
- package/dist/components/nav-menu/nav-menu-item.js.map +1 -0
- package/dist/components/nav-menu/nav-menu.d.ts +65 -0
- package/dist/components/nav-menu/nav-menu.d.ts.map +1 -0
- package/dist/components/nav-menu/nav-menu.js +153 -0
- package/dist/components/nav-menu/nav-menu.js.map +1 -0
- package/dist/components/number-input/number-input.d.ts +7 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -1
- package/dist/components/number-input/number-input.js +55 -10
- package/dist/components/number-input/number-input.js.map +1 -1
- package/dist/components/number-input/number-input.styles.d.ts.map +1 -1
- package/dist/components/number-input/number-input.styles.js +122 -102
- package/dist/components/number-input/number-input.styles.js.map +1 -1
- package/dist/components/outline/outline.d.ts +12 -4
- package/dist/components/outline/outline.d.ts.map +1 -1
- package/dist/components/outline/outline.js +29 -7
- package/dist/components/outline/outline.js.map +1 -1
- package/dist/components/outline/outline.styles.d.ts +4 -0
- package/dist/components/outline/outline.styles.d.ts.map +1 -1
- package/dist/components/outline/outline.styles.js +144 -84
- package/dist/components/outline/outline.styles.js.map +1 -1
- package/dist/components/overflow-list/overflow-list.d.ts +3 -0
- package/dist/components/overflow-list/overflow-list.d.ts.map +1 -1
- package/dist/components/overflow-list/overflow-list.js +3 -0
- package/dist/components/overflow-list/overflow-list.js.map +1 -1
- package/dist/components/overflow-list/overflow-list.styles.d.ts.map +1 -1
- package/dist/components/overflow-list/overflow-list.styles.js +112 -108
- package/dist/components/overflow-list/overflow-list.styles.js.map +1 -1
- package/dist/components/pagination/pagination.d.ts +45 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -1
- package/dist/components/pagination/pagination.js +46 -9
- package/dist/components/pagination/pagination.js.map +1 -1
- package/dist/components/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/pagination/pagination.styles.js +178 -137
- package/dist/components/pagination/pagination.styles.js.map +1 -1
- package/dist/components/popover/popover.d.ts +20 -0
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/popover/popover.js +16 -1
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/popover/popover.styles.d.ts +8 -5
- package/dist/components/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/popover/popover.styles.js +132 -87
- package/dist/components/popover/popover.styles.js.map +1 -1
- package/dist/components/power-search/power-search.d.ts +230 -0
- package/dist/components/power-search/power-search.d.ts.map +1 -0
- package/dist/components/power-search/power-search.js +782 -0
- package/dist/components/power-search/power-search.js.map +1 -0
- package/dist/components/power-search/power-search.styles.d.ts +8 -0
- package/dist/components/power-search/power-search.styles.d.ts.map +1 -0
- package/dist/components/power-search/power-search.styles.js +264 -0
- package/dist/components/power-search/power-search.styles.js.map +1 -0
- package/dist/components/power-search/query.d.ts +82 -0
- package/dist/components/power-search/query.d.ts.map +1 -0
- package/dist/components/power-search/query.js +164 -0
- package/dist/components/power-search/query.js.map +1 -0
- package/dist/components/progress/progress.d.ts +39 -3
- package/dist/components/progress/progress.d.ts.map +1 -1
- package/dist/components/progress/progress.js +208 -142
- package/dist/components/progress/progress.js.map +1 -1
- package/dist/components/radio-group/radio-group.js +19 -19
- package/dist/components/radio-group/radio.js +7 -7
- package/dist/components/radio-group/radio.styles.d.ts.map +1 -1
- package/dist/components/radio-group/radio.styles.js +193 -152
- package/dist/components/radio-group/radio.styles.js.map +1 -1
- package/dist/components/radio-list/radio-list.styles.d.ts.map +1 -1
- package/dist/components/radio-list/radio-list.styles.js +79 -75
- package/dist/components/radio-list/radio-list.styles.js.map +1 -1
- package/dist/components/resize-handle/resize-handle.d.ts +12 -1
- package/dist/components/resize-handle/resize-handle.d.ts.map +1 -1
- package/dist/components/resize-handle/resize-handle.js +149 -66
- package/dist/components/resize-handle/resize-handle.js.map +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +2 -1
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area/scroll-area.js +77 -59
- package/dist/components/scroll-area/scroll-area.js.map +1 -1
- package/dist/components/section/section.d.ts +81 -3
- package/dist/components/section/section.d.ts.map +1 -1
- package/dist/components/section/section.js +74 -25
- package/dist/components/section/section.js.map +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +70 -68
- package/dist/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.styles.js +163 -143
- package/dist/components/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/select/select.js +6 -4
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/select/select.styles.d.ts.map +1 -1
- package/dist/components/select/select.styles.js +261 -223
- package/dist/components/select/select.styles.js.map +1 -1
- package/dist/components/selectable-card/selectable-card.d.ts +17 -2
- package/dist/components/selectable-card/selectable-card.d.ts.map +1 -1
- package/dist/components/selectable-card/selectable-card.js +8 -2
- package/dist/components/selectable-card/selectable-card.js.map +1 -1
- package/dist/components/selectable-card/selectable-card.styles.d.ts.map +1 -1
- package/dist/components/selectable-card/selectable-card.styles.js +211 -160
- package/dist/components/selectable-card/selectable-card.styles.js.map +1 -1
- package/dist/components/shared/activate-link.d.ts +8 -0
- package/dist/components/shared/activate-link.d.ts.map +1 -0
- package/dist/components/shared/activate-link.js +29 -0
- package/dist/components/shared/activate-link.js.map +1 -0
- package/dist/components/shared/date-field.styles.d.ts.map +1 -1
- package/dist/components/shared/date-field.styles.js +183 -152
- package/dist/components/shared/date-field.styles.js.map +1 -1
- package/dist/components/shared/layout.d.ts +21 -2
- package/dist/components/shared/layout.d.ts.map +1 -1
- package/dist/components/shared/layout.js +53 -4
- package/dist/components/shared/layout.js.map +1 -1
- package/dist/components/shared/slot-presence.d.ts +14 -0
- package/dist/components/shared/slot-presence.d.ts.map +1 -0
- package/dist/components/shared/slot-presence.js +33 -0
- package/dist/components/shared/slot-presence.js.map +1 -0
- package/dist/components/side-nav/side-nav.d.ts +4 -2
- package/dist/components/side-nav/side-nav.d.ts.map +1 -1
- package/dist/components/side-nav/side-nav.js +4 -2
- package/dist/components/side-nav/side-nav.js.map +1 -1
- package/dist/components/side-nav/side-nav.styles.d.ts.map +1 -1
- package/dist/components/side-nav/side-nav.styles.js +425 -431
- package/dist/components/side-nav/side-nav.styles.js.map +1 -1
- package/dist/components/skeleton/skeleton.d.ts +39 -4
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.js +140 -68
- package/dist/components/skeleton/skeleton.js.map +1 -1
- package/dist/components/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/slider/slider.styles.js +203 -181
- package/dist/components/slider/slider.styles.js.map +1 -1
- package/dist/components/snap-paging/snap-paging.d.ts +78 -0
- package/dist/components/snap-paging/snap-paging.d.ts.map +1 -0
- package/dist/components/snap-paging/snap-paging.js +269 -0
- package/dist/components/snap-paging/snap-paging.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +18 -4
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +117 -52
- package/dist/components/spinner/spinner.js.map +1 -1
- package/dist/components/stack/stack.d.ts +116 -8
- package/dist/components/stack/stack.d.ts.map +1 -1
- package/dist/components/stack/stack.js +130 -58
- package/dist/components/stack/stack.js.map +1 -1
- package/dist/components/status-dot/status-dot.d.ts +25 -2
- package/dist/components/status-dot/status-dot.d.ts.map +1 -1
- package/dist/components/status-dot/status-dot.js +79 -46
- package/dist/components/status-dot/status-dot.js.map +1 -1
- package/dist/components/stepper/stepper.styles.d.ts.map +1 -1
- package/dist/components/stepper/stepper.styles.js +230 -212
- package/dist/components/stepper/stepper.styles.js.map +1 -1
- package/dist/components/swipe/swipe-action.d.ts +56 -0
- package/dist/components/swipe/swipe-action.d.ts.map +1 -0
- package/dist/components/swipe/swipe-action.js +123 -0
- package/dist/components/swipe/swipe-action.js.map +1 -0
- package/dist/components/swipe/swipe.d.ts +97 -0
- package/dist/components/swipe/swipe.d.ts.map +1 -0
- package/dist/components/swipe/swipe.js +378 -0
- package/dist/components/swipe/swipe.js.map +1 -0
- package/dist/components/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/switch/switch.styles.js +200 -177
- package/dist/components/switch/switch.styles.js.map +1 -1
- package/dist/components/tab-menu/tab-menu.d.ts +4 -0
- package/dist/components/tab-menu/tab-menu.d.ts.map +1 -1
- package/dist/components/tab-menu/tab-menu.js +4 -0
- package/dist/components/tab-menu/tab-menu.js.map +1 -1
- package/dist/components/tab-menu/tab-menu.styles.d.ts.map +1 -1
- package/dist/components/tab-menu/tab-menu.styles.js +142 -118
- package/dist/components/tab-menu/tab-menu.styles.js.map +1 -1
- package/dist/components/table/table.d.ts +58 -2
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +61 -0
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/table/table.styles.d.ts.map +1 -1
- package/dist/components/table/table.styles.js +394 -351
- package/dist/components/table/table.styles.js.map +1 -1
- package/dist/components/tabs/tabs.styles.d.ts.map +1 -1
- package/dist/components/tabs/tabs.styles.js +188 -164
- package/dist/components/tabs/tabs.styles.js.map +1 -1
- package/dist/components/text/text.d.ts +51 -2
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.js +24 -2
- package/dist/components/text/text.js.map +1 -1
- package/dist/components/text/text.styles.d.ts.map +1 -1
- package/dist/components/text/text.styles.js +199 -99
- package/dist/components/text/text.styles.js.map +1 -1
- package/dist/components/text-field/text-field.d.ts +20 -0
- package/dist/components/text-field/text-field.d.ts.map +1 -1
- package/dist/components/text-field/text-field.js +64 -1
- package/dist/components/text-field/text-field.js.map +1 -1
- package/dist/components/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/text-field/text-field.styles.js +243 -135
- package/dist/components/text-field/text-field.styles.js.map +1 -1
- package/dist/components/textarea/textarea.d.ts +20 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -1
- package/dist/components/textarea/textarea.js +34 -1
- package/dist/components/textarea/textarea.js.map +1 -1
- package/dist/components/textarea/textarea.styles.d.ts.map +1 -1
- package/dist/components/textarea/textarea.styles.js +173 -101
- package/dist/components/textarea/textarea.styles.js.map +1 -1
- package/dist/components/thumbnail/thumbnail.d.ts +58 -0
- package/dist/components/thumbnail/thumbnail.d.ts.map +1 -1
- package/dist/components/thumbnail/thumbnail.js +277 -69
- package/dist/components/thumbnail/thumbnail.js.map +1 -1
- package/dist/components/timer/timer.styles.d.ts.map +1 -1
- package/dist/components/timer/timer.styles.js +32 -30
- package/dist/components/timer/timer.styles.js.map +1 -1
- package/dist/components/timestamp/timestamp.d.ts +24 -1
- package/dist/components/timestamp/timestamp.d.ts.map +1 -1
- package/dist/components/timestamp/timestamp.js +63 -16
- package/dist/components/timestamp/timestamp.js.map +1 -1
- package/dist/components/toast/toast.d.ts +14 -0
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/toast/toast.js +24 -17
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/toast/toast.styles.d.ts +6 -3
- package/dist/components/toast/toast.styles.d.ts.map +1 -1
- package/dist/components/toast/toast.styles.js +274 -230
- package/dist/components/toast/toast.styles.js.map +1 -1
- package/dist/components/toast/toaster.d.ts +3 -1
- package/dist/components/toast/toaster.d.ts.map +1 -1
- package/dist/components/toast/toaster.js +3 -0
- package/dist/components/toast/toaster.js.map +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +36 -0
- package/dist/components/toggle-button/toggle-button.d.ts.map +1 -0
- package/dist/components/toggle-button/toggle-button.js +69 -0
- package/dist/components/toggle-button/toggle-button.js.map +1 -0
- package/dist/components/toggle-button-group/toggle-button-group.js +1 -1
- package/dist/components/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/token/token.d.ts +24 -1
- package/dist/components/token/token.d.ts.map +1 -1
- package/dist/components/token/token.js +10 -1
- package/dist/components/token/token.js.map +1 -1
- package/dist/components/token/token.styles.d.ts.map +1 -1
- package/dist/components/token/token.styles.js +110 -110
- package/dist/components/token/token.styles.js.map +1 -1
- package/dist/components/tokenizer/tokenizer.styles.d.ts.map +1 -1
- package/dist/components/tokenizer/tokenizer.styles.js +121 -110
- package/dist/components/tokenizer/tokenizer.styles.js.map +1 -1
- package/dist/components/toolbar/toolbar.d.ts +2 -0
- package/dist/components/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.js +35 -32
- package/dist/components/toolbar/toolbar.js.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +4 -3
- package/dist/components/tooltip/tooltip.js.map +1 -1
- package/dist/components/tooltip/tooltip.styles.d.ts +6 -4
- package/dist/components/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.styles.js +79 -53
- package/dist/components/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/top-nav/top-nav.d.ts +7 -2
- package/dist/components/top-nav/top-nav.d.ts.map +1 -1
- package/dist/components/top-nav/top-nav.js +7 -2
- package/dist/components/top-nav/top-nav.js.map +1 -1
- package/dist/components/top-nav/top-nav.styles.d.ts.map +1 -1
- package/dist/components/top-nav/top-nav.styles.js +266 -248
- package/dist/components/top-nav/top-nav.styles.js.map +1 -1
- package/dist/components/tree-list/tree-list.d.ts +12 -0
- package/dist/components/tree-list/tree-list.d.ts.map +1 -1
- package/dist/components/tree-list/tree-list.js +18 -3
- package/dist/components/tree-list/tree-list.js.map +1 -1
- package/dist/components/tree-list/tree-list.styles.d.ts.map +1 -1
- package/dist/components/tree-list/tree-list.styles.js +200 -162
- package/dist/components/tree-list/tree-list.styles.js.map +1 -1
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/components/visually-hidden/visually-hidden.js +21 -16
- package/dist/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/indicator.d.ts +2 -0
- package/dist/indicator.d.ts.map +1 -0
- package/dist/indicator.js +8 -0
- package/dist/indicator.js.map +1 -0
- package/dist/item.d.ts +2 -0
- package/dist/item.d.ts.map +1 -0
- package/dist/item.js +8 -0
- package/dist/item.js.map +1 -0
- package/dist/layout.d.ts +2 -0
- package/dist/layout.d.ts.map +1 -0
- package/dist/layout.js +8 -0
- package/dist/layout.js.map +1 -0
- package/dist/nav-icon.d.ts +2 -0
- package/dist/nav-icon.d.ts.map +1 -0
- package/dist/nav-icon.js +8 -0
- package/dist/nav-icon.js.map +1 -0
- package/dist/nav-item.d.ts +2 -0
- package/dist/nav-item.d.ts.map +1 -0
- package/dist/nav-item.js +8 -0
- package/dist/nav-item.js.map +1 -0
- package/dist/nav-menu-item.d.ts +2 -0
- package/dist/nav-menu-item.d.ts.map +1 -0
- package/dist/nav-menu-item.js +8 -0
- package/dist/nav-menu-item.js.map +1 -0
- package/dist/nav-menu.d.ts +3 -0
- package/dist/nav-menu.d.ts.map +1 -0
- package/dist/nav-menu.js +11 -0
- package/dist/nav-menu.js.map +1 -0
- package/dist/power-search.d.ts +2 -0
- package/dist/power-search.d.ts.map +1 -0
- package/dist/power-search.js +8 -0
- package/dist/power-search.js.map +1 -0
- package/dist/snap-paging.d.ts +2 -0
- package/dist/snap-paging.d.ts.map +1 -0
- package/dist/snap-paging.js +8 -0
- package/dist/snap-paging.js.map +1 -0
- package/dist/swipe-action.d.ts +2 -0
- package/dist/swipe-action.d.ts.map +1 -0
- package/dist/swipe-action.js +8 -0
- package/dist/swipe-action.js.map +1 -0
- package/dist/swipe.d.ts +3 -0
- package/dist/swipe.d.ts.map +1 -0
- package/dist/swipe.js +11 -0
- package/dist/swipe.js.map +1 -0
- package/dist/toggle-button.d.ts +2 -0
- package/dist/toggle-button.d.ts.map +1 -0
- package/dist/toggle-button.js +8 -0
- package/dist/toggle-button.js.map +1 -0
- package/dist/utils/press-feedback.d.ts +3 -0
- package/dist/utils/press-feedback.d.ts.map +1 -0
- package/dist/utils/press-feedback.js +64 -0
- package/dist/utils/press-feedback.js.map +1 -0
- package/package.json +62 -2
- package/src/all.ts +11 -0
- package/src/components/accordion/accordion.styles.ts +4 -2
- package/src/components/accordion/accordion.ts +1 -0
- package/src/components/alert/alert.styles.ts +81 -41
- package/src/components/alert/alert.ts +20 -4
- package/src/components/alert-dialog/alert-dialog.ts +6 -4
- package/src/components/app-shell/app-shell.ts +8 -4
- package/src/components/aspect-ratio/aspect-ratio.ts +37 -3
- package/src/components/avatar/avatar-group.ts +46 -19
- package/src/components/avatar/avatar.ts +87 -27
- package/src/components/badge/badge.ts +161 -40
- package/src/components/banner/banner.ts +145 -42
- package/src/components/blockquote/blockquote.ts +16 -11
- package/src/components/bottom-sheet/bottom-sheet.styles.ts +14 -11
- package/src/components/bottom-sheet/bottom-sheet.ts +2 -1
- package/src/components/breadcrumb/breadcrumb.styles.ts +7 -4
- package/src/components/breadcrumb/breadcrumb.ts +16 -1
- package/src/components/button/button.styles.ts +88 -23
- package/src/components/button/button.ts +33 -3
- package/src/components/calendar/calendar.styles.ts +65 -17
- package/src/components/calendar/calendar.ts +10 -1
- package/src/components/card/card.ts +112 -34
- package/src/components/carousel/carousel.styles.ts +189 -31
- package/src/components/carousel/carousel.ts +276 -27
- package/src/components/center/center.ts +106 -0
- package/src/components/chat/chat-composer.styles.ts +165 -42
- package/src/components/chat/chat-composer.ts +151 -44
- package/src/components/chat/chat-icons.ts +29 -0
- package/src/components/chat/chat-layout.styles.ts +128 -19
- package/src/components/chat/chat-layout.ts +130 -26
- package/src/components/chat/chat-message.styles.ts +376 -56
- package/src/components/chat/chat-message.ts +198 -80
- package/src/components/checkbox/checkbox.styles.ts +49 -9
- package/src/components/checkbox-list/checkbox-list.styles.ts +32 -20
- package/src/components/citation/citation.ts +133 -30
- package/src/components/clickable-card/clickable-card.ts +10 -2
- package/src/components/code/code.ts +54 -11
- package/src/components/code-block/code-block.styles.ts +213 -48
- package/src/components/code-block/code-block.ts +116 -23
- package/src/components/combobox/combobox.styles.ts +22 -7
- package/src/components/command-palette/command-palette.styles.ts +29 -20
- package/src/components/command-palette/command-palette.ts +3 -0
- package/src/components/dialog/dialog.styles.ts +75 -34
- package/src/components/dialog/dialog.ts +21 -5
- package/src/components/divider/divider.ts +40 -7
- package/src/components/drawer/drawer.styles.ts +40 -15
- package/src/components/drawer/drawer.ts +4 -2
- package/src/components/empty-state/empty-state.ts +56 -11
- package/src/components/file-input/file-input.styles.ts +41 -10
- package/src/components/form-field/field-base.ts +127 -5
- package/src/components/form-field/field-helpers.ts +94 -5
- package/src/components/form-field/form-field.styles.ts +136 -11
- package/src/components/form-field/form-field.ts +65 -6
- package/src/components/form-layout/form-layout.styles.ts +40 -9
- package/src/components/form-layout/form-layout.ts +9 -0
- package/src/components/grid/grid-item.ts +4 -1
- package/src/components/grid/grid.ts +129 -7
- package/src/components/heading/heading.styles.ts +111 -13
- package/src/components/heading/heading.ts +81 -11
- package/src/components/hover-card/hover-card.ts +44 -4
- package/src/components/icon/icon.ts +142 -7
- package/src/components/icon-button/icon-button.ts +3 -3
- package/src/components/indicator/indicator.ts +293 -0
- package/src/components/info-tip/info-tip.ts +39 -6
- package/src/components/input-group/input-group.styles.ts +6 -1
- package/src/components/item/item.ts +505 -0
- package/src/components/kbd/kbd.ts +145 -20
- package/src/components/layout/layout.ts +327 -0
- package/src/components/lightbox/lightbox.styles.ts +95 -47
- package/src/components/lightbox/lightbox.ts +6 -2
- package/src/components/list/list-item.ts +337 -34
- package/src/components/list/list.ts +88 -5
- package/src/components/listbox/listbox.styles.ts +11 -5
- package/src/components/markdown/markdown.styles.ts +157 -24
- package/src/components/markdown/markdown.ts +25 -1
- package/src/components/markdown/render.ts +2 -0
- package/src/components/menu/menu.styles.ts +12 -7
- package/src/components/metadata-list/metadata-list.ts +125 -16
- package/src/components/mobile-nav/mobile-nav.styles.ts +32 -5
- package/src/components/mobile-nav/mobile-nav.ts +4 -1
- package/src/components/more-menu/more-menu.styles.ts +11 -6
- package/src/components/more-menu/more-menu.ts +3 -0
- package/src/components/multi-select/multi-select.styles.ts +1 -0
- package/src/components/nav-icon/nav-icon.ts +94 -0
- package/src/components/nav-item/nav-item.ts +270 -0
- package/src/components/nav-menu/nav-menu-item.ts +200 -0
- package/src/components/nav-menu/nav-menu.ts +192 -0
- package/src/components/number-input/number-input.styles.ts +54 -34
- package/src/components/number-input/number-input.ts +61 -9
- package/src/components/outline/outline.styles.ts +84 -24
- package/src/components/outline/outline.ts +35 -7
- package/src/components/overflow-list/overflow-list.styles.ts +12 -8
- package/src/components/overflow-list/overflow-list.ts +3 -0
- package/src/components/pagination/pagination.styles.ts +53 -12
- package/src/components/pagination/pagination.ts +88 -11
- package/src/components/popover/popover.styles.ts +61 -16
- package/src/components/popover/popover.ts +30 -1
- package/src/components/power-search/power-search.styles.ts +264 -0
- package/src/components/power-search/power-search.ts +925 -0
- package/src/components/power-search/query.ts +242 -0
- package/src/components/progress/progress.ts +115 -27
- package/src/components/radio-group/radio.styles.ts +53 -12
- package/src/components/radio-list/radio-list.styles.ts +36 -32
- package/src/components/resize-handle/resize-handle.ts +99 -8
- package/src/components/scroll-area/scroll-area.ts +19 -1
- package/src/components/section/section.ts +107 -7
- package/src/components/segmented-control/segmented-control.styles.ts +34 -14
- package/src/components/segmented-control/segmented-control.ts +5 -3
- package/src/components/select/select.styles.ts +53 -15
- package/src/components/select/select.ts +6 -4
- package/src/components/selectable-card/selectable-card.styles.ts +78 -27
- package/src/components/selectable-card/selectable-card.ts +16 -2
- package/src/components/shared/activate-link.ts +33 -0
- package/src/components/shared/date-field.styles.ts +37 -6
- package/src/components/shared/layout.ts +57 -4
- package/src/components/shared/slot-presence.ts +35 -0
- package/src/components/side-nav/side-nav.styles.ts +29 -35
- package/src/components/side-nav/side-nav.ts +4 -2
- package/src/components/skeleton/skeleton.ts +110 -14
- package/src/components/slider/slider.styles.ts +39 -17
- package/src/components/snap-paging/snap-paging.ts +299 -0
- package/src/components/spinner/spinner.ts +87 -13
- package/src/components/stack/stack.ts +160 -11
- package/src/components/status-dot/status-dot.ts +60 -12
- package/src/components/stepper/stepper.styles.ts +46 -28
- package/src/components/swipe/swipe-action.ts +154 -0
- package/src/components/swipe/swipe.ts +440 -0
- package/src/components/switch/switch.styles.ts +44 -21
- package/src/components/tab-menu/tab-menu.styles.ts +35 -11
- package/src/components/tab-menu/tab-menu.ts +4 -0
- package/src/components/table/table.styles.ts +52 -9
- package/src/components/table/table.ts +96 -2
- package/src/components/tabs/tabs.styles.ts +35 -11
- package/src/components/text/text.styles.ts +108 -8
- package/src/components/text/text.ts +71 -3
- package/src/components/text-field/text-field.styles.ts +137 -29
- package/src/components/text-field/text-field.ts +80 -1
- package/src/components/textarea/textarea.styles.ts +93 -21
- package/src/components/textarea/textarea.ts +50 -1
- package/src/components/thumbnail/thumbnail.ts +265 -21
- package/src/components/timer/timer.styles.ts +7 -5
- package/src/components/timestamp/timestamp.ts +66 -4
- package/src/components/toast/toast.styles.ts +82 -38
- package/src/components/toast/toast.ts +37 -20
- package/src/components/toast/toaster.ts +5 -1
- package/src/components/toggle-button/toggle-button.ts +77 -0
- package/src/components/toggle-button-group/toggle-button-group.ts +1 -1
- package/src/components/token/token.styles.ts +15 -15
- package/src/components/token/token.ts +37 -1
- package/src/components/tokenizer/tokenizer.styles.ts +18 -7
- package/src/components/toolbar/toolbar.ts +8 -5
- package/src/components/tooltip/tooltip.styles.ts +38 -12
- package/src/components/tooltip/tooltip.ts +4 -3
- package/src/components/top-nav/top-nav.styles.ts +48 -30
- package/src/components/top-nav/top-nav.ts +7 -2
- package/src/components/tree-list/tree-list.styles.ts +44 -6
- package/src/components/tree-list/tree-list.ts +26 -3
- package/src/components/visually-hidden/visually-hidden.ts +5 -0
- package/src/index.ts +15 -0
- package/src/indicator.ts +9 -0
- package/src/item.ts +9 -0
- package/src/layout.ts +9 -0
- package/src/nav-icon.ts +9 -0
- package/src/nav-item.ts +9 -0
- package/src/nav-menu-item.ts +9 -0
- package/src/nav-menu.ts +12 -0
- package/src/power-search.ts +9 -0
- package/src/snap-paging.ts +9 -0
- package/src/swipe-action.ts +9 -0
- package/src/swipe.ts +12 -0
- package/src/toggle-button.ts +9 -0
- package/src/utils/press-feedback.ts +64 -0
- package/dist/cdn/chunks/2GOGJDSU.js +0 -47
- package/dist/cdn/chunks/2ILG5UCH.js +0 -320
- package/dist/cdn/chunks/2POJ73H3.js +0 -127
- package/dist/cdn/chunks/2ZNYEI2K.js +0 -153
- package/dist/cdn/chunks/4V5OZW5S.js +0 -138
- package/dist/cdn/chunks/53R7LH57.js +0 -1
- package/dist/cdn/chunks/5RXWAJYI.js +0 -209
- package/dist/cdn/chunks/6PVRHMKB.js +0 -136
- package/dist/cdn/chunks/ASRBZKJQ.js +0 -110
- package/dist/cdn/chunks/BC5GCW6V.js +0 -70
- package/dist/cdn/chunks/BZSCKO2L.js +0 -498
- package/dist/cdn/chunks/CQAYRYSN.js +0 -183
- package/dist/cdn/chunks/DLMHPPVT.js +0 -9
- package/dist/cdn/chunks/EXHS4XM7.js +0 -75
- package/dist/cdn/chunks/F4UDAUDP.js +0 -95
- package/dist/cdn/chunks/FRDRK7S4.js +0 -192
- package/dist/cdn/chunks/G2MFKC6X.js +0 -1
- package/dist/cdn/chunks/H3EXQADC.js +0 -1
- package/dist/cdn/chunks/HQG5G3NW.js +0 -294
- package/dist/cdn/chunks/IRDJ2SED.js +0 -227
- package/dist/cdn/chunks/ITULBQXQ.js +0 -77
- package/dist/cdn/chunks/JFRG4OYS.js +0 -174
- package/dist/cdn/chunks/LILDP4YG.js +0 -228
- package/dist/cdn/chunks/MCMKNHE4.js +0 -243
- package/dist/cdn/chunks/PFTG732C.js +0 -120
- package/dist/cdn/chunks/QFHEFAZM.js +0 -228
- package/dist/cdn/chunks/QSGNQDXL.js +0 -83
- package/dist/cdn/chunks/QXFKH4UN.js +0 -80
- package/dist/cdn/chunks/R7XE3NCT.js +0 -104
- package/dist/cdn/chunks/RDI7SHXP.js +0 -161
- package/dist/cdn/chunks/VJW5CINE.js +0 -289
- package/dist/cdn/chunks/XDXEEO2D.js +0 -189
- package/dist/cdn/chunks/YCLUSLYF.js +0 -155
- package/dist/cdn/chunks/YTJ6WTZW.js +0 -253
- package/dist/cdn/chunks/YUWOEVYA.js +0 -19
- package/dist/cdn/chunks/YYIQMFRC.js +0 -168
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
import{a as f}from"./DDMOITKE.js";import{a as b}from"./WPLY7F3R.js";import{b as o}from"./ERZVCCWG.js";import{b as s,c as t,f as i}from"./HJLUTHQ4.js";var v=s`
|
|
2
|
-
@layer und.components{
|
|
3
|
-
:host{
|
|
4
|
-
display:block;
|
|
5
|
-
box-sizing:border-box;
|
|
6
|
-
inline-size:var(--und-side-nav-width,16rem);
|
|
7
|
-
transition:inline-size var(--und-duration-fast,120ms) ease;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host([collapsed]){
|
|
11
|
-
inline-size:var(--und-side-nav-rail-width,3.5rem);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:host([hidden]){
|
|
15
|
-
display:none;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.nav{
|
|
19
|
-
display:flex;
|
|
20
|
-
flex-direction:column;
|
|
21
|
-
gap:var(--und-side-nav-gap,0.25rem);
|
|
22
|
-
box-sizing:border-box;
|
|
23
|
-
block-size:100%;
|
|
24
|
-
padding:var(--und-side-nav-padding,0.5rem);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.list{
|
|
28
|
-
display:flex;
|
|
29
|
-
flex:1 1 auto;
|
|
30
|
-
flex-direction:column;
|
|
31
|
-
gap:var(--und-side-nav-gap,0.25rem);
|
|
32
|
-
min-block-size:0;
|
|
33
|
-
overflow-y:auto;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
:host([collapsed]) .list{
|
|
37
|
-
overflow:visible;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.toggle{
|
|
41
|
-
display:inline-flex;
|
|
42
|
-
flex:none;
|
|
43
|
-
align-items:center;
|
|
44
|
-
justify-content:center;
|
|
45
|
-
align-self:flex-end;
|
|
46
|
-
box-sizing:border-box;
|
|
47
|
-
min-block-size:var(--und-target-min,24px);
|
|
48
|
-
min-inline-size:var(--und-target-min,24px);
|
|
49
|
-
padding:0.375rem;
|
|
50
|
-
border:0;
|
|
51
|
-
border-radius:var(--und-radius-control,6px);
|
|
52
|
-
background:transparent;
|
|
53
|
-
color:var(--und-fg-muted,#4a5059);
|
|
54
|
-
cursor:pointer;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
:host([collapsed]) .toggle{
|
|
58
|
-
align-self:center;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.toggle:hover{
|
|
62
|
-
color:var(--und-fg-default,#1a1d21);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.toggle:focus-visible{
|
|
66
|
-
outline:var(--und-focus-ring-width,2px) solid var(--und-focus-ring-color,#1f4fd1);
|
|
67
|
-
outline-offset:calc(-1 * var(--und-focus-ring-width,2px));
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.toggle svg{
|
|
71
|
-
inline-size:1.25em;
|
|
72
|
-
block-size:1.25em;
|
|
73
|
-
transition:transform var(--und-duration-fast,120ms) ease;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
:host([collapsed]) .toggle svg{
|
|
77
|
-
transform:scaleX(-1);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:host(:dir(rtl)) .toggle svg{
|
|
81
|
-
transform:scaleX(-1);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
:host(:dir(rtl)[collapsed]) .toggle svg{
|
|
85
|
-
transform:none;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@media (pointer:coarse){
|
|
89
|
-
.toggle{
|
|
90
|
-
min-block-size:var(--und-target-min-coarse,44px);
|
|
91
|
-
min-inline-size:var(--und-target-min-coarse,44px);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@media (prefers-reduced-motion:reduce){
|
|
96
|
-
:host,
|
|
97
|
-
.toggle svg{
|
|
98
|
-
transition:none;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
@media (forced-colors:active){
|
|
103
|
-
.toggle{
|
|
104
|
-
color:ButtonText;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.toggle:focus-visible{
|
|
108
|
-
outline-color:Highlight;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
`,m=s`
|
|
113
|
-
@layer und.components{
|
|
114
|
-
:host{
|
|
115
|
-
position:relative;
|
|
116
|
-
display:block;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:host([hidden]){
|
|
120
|
-
display:none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.link{
|
|
124
|
-
box-sizing:border-box;
|
|
125
|
-
display:flex;
|
|
126
|
-
gap:0.75em;
|
|
127
|
-
align-items:center;
|
|
128
|
-
inline-size:100%;
|
|
129
|
-
min-block-size:var(--und-side-nav-item-height,2.5rem);
|
|
130
|
-
min-inline-size:var(--und-target-min,24px);
|
|
131
|
-
margin:0;
|
|
132
|
-
padding-block:0;
|
|
133
|
-
padding-inline:var(--und-side-nav-item-padding-inline,0.75rem);
|
|
134
|
-
border:0;
|
|
135
|
-
border-inline-start:var(--und-side-nav-indicator-width,3px) solid transparent;
|
|
136
|
-
border-radius:var(--und-radius-control,6px);
|
|
137
|
-
background:transparent;
|
|
138
|
-
color:var(--und-fg-muted,#4a5059);
|
|
139
|
-
font:inherit;
|
|
140
|
-
font-weight:var(--und-side-nav-font-weight,500);
|
|
141
|
-
line-height:1.5;
|
|
142
|
-
text-align:start;
|
|
143
|
-
text-decoration:none;
|
|
144
|
-
cursor:pointer;
|
|
145
|
-
-webkit-tap-highlight-color:transparent;
|
|
146
|
-
transition:
|
|
147
|
-
color var(--und-duration-fast,120ms) ease,
|
|
148
|
-
background-color var(--und-duration-fast,120ms) ease;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.link:hover{
|
|
152
|
-
background:var(--und-bg-subtle,#f1f2f5);
|
|
153
|
-
color:var(--und-fg-default,#1a1d21);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
:host([current]) .link{
|
|
157
|
-
border-inline-start-color:var(
|
|
158
|
-
--und-side-nav-indicator-color,
|
|
159
|
-
var(--und-accent-solid,#504bf2)
|
|
160
|
-
);
|
|
161
|
-
background:var(--und-bg-subtle,#f1f2f5);
|
|
162
|
-
color:var(--und-fg-default,#1a1d21);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.link:focus-visible{
|
|
166
|
-
outline:var(--und-focus-ring-width,2px) solid var(--und-focus-ring-color,#1f4fd1);
|
|
167
|
-
outline-offset:calc(-1 * var(--und-focus-ring-width,2px));
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
:host([disabled]) .link{
|
|
171
|
-
cursor:not-allowed;
|
|
172
|
-
opacity:var(--und-disabled-opacity,0.55);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.icon{
|
|
176
|
-
display:inline-flex;
|
|
177
|
-
flex:none;
|
|
178
|
-
align-items:center;
|
|
179
|
-
justify-content:center;
|
|
180
|
-
inline-size:1.25em;
|
|
181
|
-
block-size:1.25em;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.icon[hidden]{
|
|
185
|
-
display:none;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.label{
|
|
189
|
-
flex:1 1 auto;
|
|
190
|
-
min-inline-size:0;
|
|
191
|
-
overflow-wrap:anywhere;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.end{
|
|
195
|
-
display:inline-flex;
|
|
196
|
-
flex:none;
|
|
197
|
-
align-items:center;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
:host([rail]) .link{
|
|
202
|
-
justify-content:center;
|
|
203
|
-
padding-inline:0;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
:host([rail]) .label,
|
|
207
|
-
:host([rail]) .end{
|
|
208
|
-
position:absolute;
|
|
209
|
-
inline-size:1px;
|
|
210
|
-
block-size:1px;
|
|
211
|
-
margin:-1px;
|
|
212
|
-
padding:0;
|
|
213
|
-
overflow:hidden;
|
|
214
|
-
clip-path:inset(50%);
|
|
215
|
-
white-space:nowrap;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.tip{
|
|
219
|
-
position:absolute;
|
|
220
|
-
inset-block-start:50%;
|
|
221
|
-
inset-inline-start:calc(100% + 0.5rem);
|
|
222
|
-
z-index:1;
|
|
223
|
-
display:none;
|
|
224
|
-
max-inline-size:16rem;
|
|
225
|
-
padding:0.25rem 0.5rem;
|
|
226
|
-
border-radius:var(--und-radius-control,6px);
|
|
227
|
-
background:var(--und-fg-default,#1a1d21);
|
|
228
|
-
color:var(--und-bg-surface,#fff);
|
|
229
|
-
font-size:0.875rem;
|
|
230
|
-
line-height:1.4;
|
|
231
|
-
white-space:nowrap;
|
|
232
|
-
pointer-events:none;
|
|
233
|
-
transform:translateY(-50%);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
:host([rail]:not([data-tip-dismissed])) .link:hover ~ .tip,
|
|
237
|
-
:host([rail]:not([data-tip-dismissed])) .link:focus-visible ~ .tip{
|
|
238
|
-
display:block;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
@media (pointer:coarse){
|
|
242
|
-
.link{
|
|
243
|
-
min-block-size:max(
|
|
244
|
-
var(--und-side-nav-item-height,2.5rem),
|
|
245
|
-
var(--und-target-min-coarse,44px)
|
|
246
|
-
);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
@media (prefers-reduced-motion:reduce){
|
|
251
|
-
.link{
|
|
252
|
-
transition:none;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@media (forced-colors:active){
|
|
257
|
-
.link{
|
|
258
|
-
color:LinkText;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
:host([current]) .link{
|
|
262
|
-
border-inline-start-color:Highlight;
|
|
263
|
-
border-inline-start-width:calc(var(--und-side-nav-indicator-width,3px) * 2);
|
|
264
|
-
background:Canvas;
|
|
265
|
-
color:LinkText;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.link:focus-visible{
|
|
269
|
-
outline-color:Highlight;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
:host([disabled]) .link{
|
|
273
|
-
color:GrayText;
|
|
274
|
-
opacity:1;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.tip{
|
|
278
|
-
border:1px solid CanvasText;
|
|
279
|
-
background:Canvas;
|
|
280
|
-
color:CanvasText;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
`,x=s`
|
|
285
|
-
@layer und.components{
|
|
286
|
-
:host{
|
|
287
|
-
display:block;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
:host([hidden]){
|
|
291
|
-
display:none;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.toggle{
|
|
295
|
-
box-sizing:border-box;
|
|
296
|
-
display:flex;
|
|
297
|
-
gap:0.75em;
|
|
298
|
-
align-items:center;
|
|
299
|
-
inline-size:100%;
|
|
300
|
-
min-block-size:var(--und-side-nav-item-height,2.5rem);
|
|
301
|
-
min-inline-size:var(--und-target-min,24px);
|
|
302
|
-
margin:0;
|
|
303
|
-
padding-block:0;
|
|
304
|
-
padding-inline:var(--und-side-nav-item-padding-inline,0.75rem);
|
|
305
|
-
border:0;
|
|
306
|
-
border-inline-start:var(--und-side-nav-indicator-width,3px) solid transparent;
|
|
307
|
-
border-radius:var(--und-radius-control,6px);
|
|
308
|
-
background:transparent;
|
|
309
|
-
color:var(--und-fg-muted,#4a5059);
|
|
310
|
-
font:inherit;
|
|
311
|
-
font-weight:var(--und-side-nav-font-weight,500);
|
|
312
|
-
line-height:1.5;
|
|
313
|
-
text-align:start;
|
|
314
|
-
cursor:pointer;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.toggle:hover{
|
|
318
|
-
background:var(--und-bg-subtle,#f1f2f5);
|
|
319
|
-
color:var(--und-fg-default,#1a1d21);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.toggle:focus-visible{
|
|
323
|
-
outline:var(--und-focus-ring-width,2px) solid var(--und-focus-ring-color,#1f4fd1);
|
|
324
|
-
outline-offset:calc(-1 * var(--und-focus-ring-width,2px));
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.icon{
|
|
328
|
-
display:inline-flex;
|
|
329
|
-
flex:none;
|
|
330
|
-
inline-size:1.25em;
|
|
331
|
-
block-size:1.25em;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.icon[hidden]{
|
|
335
|
-
display:none;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.label{
|
|
339
|
-
flex:1 1 auto;
|
|
340
|
-
min-inline-size:0;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.chevron{
|
|
344
|
-
flex:none;
|
|
345
|
-
inline-size:1em;
|
|
346
|
-
block-size:1em;
|
|
347
|
-
transform:rotate(90deg);
|
|
348
|
-
transition:transform var(--und-duration-fast,120ms) ease;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
:host([expanded]) .chevron{
|
|
352
|
-
transform:rotate(-90deg);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.panel{
|
|
356
|
-
display:flex;
|
|
357
|
-
flex-direction:column;
|
|
358
|
-
gap:var(--und-side-nav-gap,0.25rem);
|
|
359
|
-
margin-block-start:var(--und-side-nav-gap,0.25rem);
|
|
360
|
-
padding-inline-start:var(--und-side-nav-nested-indent,1.5rem);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.panel[hidden]{
|
|
364
|
-
display:none;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
:host([rail]) .label,
|
|
368
|
-
:host([rail]) .chevron{
|
|
369
|
-
position:absolute;
|
|
370
|
-
inline-size:1px;
|
|
371
|
-
block-size:1px;
|
|
372
|
-
margin:-1px;
|
|
373
|
-
overflow:hidden;
|
|
374
|
-
clip-path:inset(50%);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
:host([rail]) .toggle{
|
|
378
|
-
justify-content:center;
|
|
379
|
-
padding-inline:0;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
@media (pointer:coarse){
|
|
383
|
-
.toggle{
|
|
384
|
-
min-block-size:max(
|
|
385
|
-
var(--und-side-nav-item-height,2.5rem),
|
|
386
|
-
var(--und-target-min-coarse,44px)
|
|
387
|
-
);
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
@media (prefers-reduced-motion:reduce){
|
|
392
|
-
.chevron{
|
|
393
|
-
transition:none;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
@media (forced-colors:active){
|
|
398
|
-
.toggle{
|
|
399
|
-
color:ButtonText;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.toggle:focus-visible{
|
|
403
|
-
outline-color:Highlight;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
`,k=s`
|
|
408
|
-
@layer und.components{
|
|
409
|
-
:host{
|
|
410
|
-
display:block;
|
|
411
|
-
padding-block:0.75rem 0.25rem;
|
|
412
|
-
padding-inline:var(--und-side-nav-item-padding-inline,0.75rem);
|
|
413
|
-
color:var(--und-fg-muted,#4a5059);
|
|
414
|
-
font-size:0.75rem;
|
|
415
|
-
font-weight:600;
|
|
416
|
-
letter-spacing:0.04em;
|
|
417
|
-
line-height:1.5;
|
|
418
|
-
text-transform:uppercase;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
:host([hidden]),
|
|
422
|
-
:host([rail]){
|
|
423
|
-
display:none;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
@media (forced-colors:active){
|
|
427
|
-
:host{
|
|
428
|
-
color:CanvasText;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
`;var y=a=>t`<svg
|
|
433
|
-
viewBox="0 0 16 16"
|
|
434
|
-
fill="none"
|
|
435
|
-
stroke="currentColor"
|
|
436
|
-
stroke-width="1.5"
|
|
437
|
-
stroke-linecap="round"
|
|
438
|
-
stroke-linejoin="round"
|
|
439
|
-
aria-hidden="true"
|
|
440
|
-
focusable="false"
|
|
441
|
-
>
|
|
442
|
-
<path d=${a} />
|
|
443
|
-
</svg>`;function z(a,e){let n=a.querySelector(':scope > [slot="icon"]')!==null;return t`<span class="icon" part="icon" ?hidden=${!n}
|
|
444
|
-
><slot name="icon" @slotchange=${e}></slot
|
|
445
|
-
></span>`}var w="und-side-nav-item, und-side-nav-section, und-side-nav-heading";function C(a){if(!1)return"";let e="";for(let n of a.childNodes)n.nodeType!==Node.COMMENT_NODE&&(n instanceof Element&&n.hasAttribute("slot")||(e+=n.textContent??""));return e.replace(/\s+/g," ").trim()}var r=class extends o{static tagName="und-side-nav";static styles=v;static properties={label:{},collapsed:{type:Boolean,reflect:!0},collapsible:{type:Boolean,reflect:!0},collapseLabel:{attribute:"collapse-label"},expandLabel:{attribute:"expand-label"}};constructor(){super(),this.label="Main",this.collapsed=!1,this.collapsible=!1,this.collapseLabel="Collapse sidebar",this.expandLabel="Expand sidebar"}toggleCollapsed(){this.collapsed=!this.collapsed,this.emit("und-collapse-change",{collapsed:this.collapsed})}#e=()=>{for(let e of this.querySelectorAll(w))e.rail=this.collapsed};updated(e){e.has("collapsed")&&(this.setCustomState("collapsed",this.collapsed),this.#e())}render(){let e=this.collapsed?this.expandLabel:this.collapseLabel;return t`<nav part="nav" class="nav" aria-label=${this.label}>
|
|
446
|
-
<div part="list" class="list" role="list" tabindex="-1">
|
|
447
|
-
<slot @slotchange=${this.#e}></slot>
|
|
448
|
-
</div>
|
|
449
|
-
${this.collapsible?t`<button
|
|
450
|
-
part="toggle"
|
|
451
|
-
class="toggle"
|
|
452
|
-
type="button"
|
|
453
|
-
aria-expanded=${String(!this.collapsed)}
|
|
454
|
-
aria-label=${e}
|
|
455
|
-
@click=${this.toggleCollapsed}
|
|
456
|
-
>
|
|
457
|
-
${y("M10 3.5 5.5 8l4.5 4.5")}
|
|
458
|
-
</button>`:i}
|
|
459
|
-
</nav>`}},l=class extends o{static tagName="und-side-nav-item";static styles=m;static properties={href:{reflect:!0},current:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},label:{},target:{},rail:{type:Boolean,reflect:!0}};constructor(){super(),this.current=!1,this.disabled=!1,this.rail=!1,this.addEventListener("keydown",this.#t),this.addEventListener("focusout",this.#e),this.addEventListener("pointerleave",this.#e)}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}#e=()=>{this.removeAttribute("data-tip-dismissed")};#t=e=>{e.key==="Escape"&&this.rail&&this.setAttribute("data-tip-dismissed","")};#i(){return{rel:this.target&&!["_self","_parent","_top"].includes(this.target.toLowerCase())?"noopener noreferrer":void 0}}render(){let e=this.label||C(this),n=t`${z(this,()=>this.requestUpdate())}<span
|
|
460
|
-
class="label"
|
|
461
|
-
part="label"
|
|
462
|
-
><slot @slotchange=${()=>this.requestUpdate()}></slot></span
|
|
463
|
-
><span class="end"><slot name="end"></slot></span>`,p=this.rail?t`<span part="tip" class="tip" aria-hidden="true">${e}</span>`:i,u=this.disabled?void 0:b(this.href),h=this.label||i,g=this.current?"page":i;return this.href!==void 0&&!u&&!this.disabled?t`<span class="link" part="link" aria-disabled="true">${n}</span>${p}`:this.href!==void 0?t`<a
|
|
464
|
-
class="link"
|
|
465
|
-
part="link"
|
|
466
|
-
href=${u??i}
|
|
467
|
-
role=${u?i:"link"}
|
|
468
|
-
aria-disabled=${this.disabled?"true":i}
|
|
469
|
-
aria-current=${g}
|
|
470
|
-
aria-label=${h}
|
|
471
|
-
target=${this.target||i}
|
|
472
|
-
rel=${this.#i().rel??i}
|
|
473
|
-
>${n}</a
|
|
474
|
-
>${p}`:t`<button
|
|
475
|
-
class="link"
|
|
476
|
-
part="link"
|
|
477
|
-
type="button"
|
|
478
|
-
?disabled=${this.disabled}
|
|
479
|
-
aria-current=${g}
|
|
480
|
-
aria-label=${h}
|
|
481
|
-
>
|
|
482
|
-
${n}</button
|
|
483
|
-
>${p}`}},d=class extends o{static tagName="und-side-nav-section";static styles=x;static properties={label:{},expanded:{type:Boolean,reflect:!0},rail:{type:Boolean,reflect:!0}};#e=f("und-side-nav-panel");#t=!1;constructor(){super(),this.label="",this.expanded=!1,this.rail=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}#i=()=>{if(this.#t=!0,this.rail){let e=this.closest("und-side-nav");e?.collapsed&&e.toggleCollapsed(),this.expanded=!0}else this.expanded=!this.expanded;this.emit("und-toggle",{expanded:this.expanded})};#n=()=>{!this.#t&&this.querySelector("und-side-nav-item[current]")&&(this.expanded=!0)};render(){let e=this.expanded&&!this.rail;return t`<button
|
|
484
|
-
class="toggle"
|
|
485
|
-
part="toggle"
|
|
486
|
-
type="button"
|
|
487
|
-
aria-expanded=${String(e)}
|
|
488
|
-
aria-controls=${this.#e}
|
|
489
|
-
aria-label=${this.rail?this.label||i:i}
|
|
490
|
-
@click=${this.#i}
|
|
491
|
-
>
|
|
492
|
-
${z(this,()=>this.requestUpdate())}
|
|
493
|
-
<span class="label">${this.label}</span>
|
|
494
|
-
<span class="chevron" aria-hidden="true">${y("m6 3.5 4.5 4.5L6 12.5")}</span>
|
|
495
|
-
</button>
|
|
496
|
-
<div class="panel" part="panel" id=${this.#e} role="list" ?hidden=${!e}>
|
|
497
|
-
<slot @slotchange=${this.#n}></slot>
|
|
498
|
-
</div>`}},c=class extends o{static tagName="und-side-nav-heading";static styles=k;static properties={rail:{type:Boolean,reflect:!0}};constructor(){super(),this.rail=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}render(){return t`<slot></slot>`}};c.define();l.define();d.define();r.define();export{r as a,l as b,d as c,c as d};
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import{a as D,c as X}from"./WPLY7F3R.js";import{b as q}from"./ERZVCCWG.js";import{b as $,c as B}from"./HJLUTHQ4.js";var H=$`
|
|
2
|
-
@layer und.components{
|
|
3
|
-
:host{
|
|
4
|
-
display:block;
|
|
5
|
-
color:var(--und-fg-default,#1b1d22);
|
|
6
|
-
line-height:var(--und-line-height-body,1.6);
|
|
7
|
-
overflow-wrap:anywhere;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host([hidden]){
|
|
11
|
-
display:none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.content > :first-child{
|
|
15
|
-
margin-block-start:0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.content > :last-child{
|
|
19
|
-
margin-block-end:0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
p,
|
|
23
|
-
ul,
|
|
24
|
-
ol,
|
|
25
|
-
blockquote,
|
|
26
|
-
pre,
|
|
27
|
-
.und-markdown__table-wrap{
|
|
28
|
-
margin-block:var(--und-markdown-block-gap,0.75em);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.und-markdown__heading{
|
|
32
|
-
margin-block:var(--und-markdown-heading-gap,1em) 0.4em;
|
|
33
|
-
font-weight:var(--und-font-weight-semibold,600);
|
|
34
|
-
line-height:1.3;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
li > p{
|
|
38
|
-
margin-block:0.25em;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
ul,
|
|
42
|
-
ol{
|
|
43
|
-
padding-inline-start:1.5em;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.und-markdown__link{
|
|
47
|
-
color:var(--und-accent-fg,#3f3ac0);
|
|
48
|
-
text-decoration:underline;
|
|
49
|
-
text-underline-offset:0.15em;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.und-markdown__link:hover{
|
|
53
|
-
text-decoration-thickness:2px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.und-markdown__link:focus-visible,
|
|
57
|
-
.und-markdown__code-block:focus-visible,
|
|
58
|
-
.und-markdown__table-wrap:focus-visible{
|
|
59
|
-
outline:var(--und-focus-ring-width,2px) solid var(--und-focus-ring-color,#1f4fd1);
|
|
60
|
-
outline-offset:var(--und-focus-ring-offset,2px);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.und-markdown__inline-code,
|
|
64
|
-
.und-markdown__code-block{
|
|
65
|
-
font-family:var(--und-font-mono,ui-monospace,'SF Mono',Menlo,Consolas,monospace);
|
|
66
|
-
font-size:0.9em;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.und-markdown__inline-code{
|
|
70
|
-
padding:0.1em 0.35em;
|
|
71
|
-
border-radius:var(--und-radius-sm,0.25rem);
|
|
72
|
-
background:var(--und-bg-muted,#eceef2);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.und-markdown__code-block{
|
|
76
|
-
box-sizing:border-box;
|
|
77
|
-
padding:var(--und-markdown-code-padding,0.75rem 1rem);
|
|
78
|
-
overflow:auto;
|
|
79
|
-
border:var(--und-border-width,1px) solid var(--und-border-subtle,#d4d6dd);
|
|
80
|
-
border-radius:var(--und-radius-control,0.375rem);
|
|
81
|
-
background:var(--und-bg-subtle,#f4f5f7);
|
|
82
|
-
line-height:1.5;
|
|
83
|
-
white-space:pre;
|
|
84
|
-
overflow-wrap:normal;
|
|
85
|
-
unicode-bidi:plaintext;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.und-markdown__code-block code{
|
|
89
|
-
font:inherit;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.und-markdown__quote{
|
|
93
|
-
padding-inline-start:1em;
|
|
94
|
-
border-inline-start:var(--und-border-width-thick,3px) solid
|
|
95
|
-
var(--und-border-default,#b9bdc7);
|
|
96
|
-
color:var(--und-fg-muted,#4a5059);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.und-markdown__rule{
|
|
100
|
-
margin-block:1em;
|
|
101
|
-
border:0;
|
|
102
|
-
border-block-start:var(--und-border-width,1px) solid var(--und-border-subtle,#d4d6dd);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.und-markdown__table-wrap{
|
|
106
|
-
overflow-x:auto;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.und-markdown__table{
|
|
110
|
-
border-collapse:collapse;
|
|
111
|
-
min-inline-size:100%;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.und-markdown__table th,
|
|
115
|
-
.und-markdown__table td{
|
|
116
|
-
padding:0.4em 0.75em;
|
|
117
|
-
border:var(--und-border-width,1px) solid var(--und-border-subtle,#d4d6dd);
|
|
118
|
-
text-align:start;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.und-markdown__table th{
|
|
122
|
-
background:var(--und-bg-subtle,#f4f5f7);
|
|
123
|
-
font-weight:var(--und-font-weight-semibold,600);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.und-markdown__cursor{
|
|
127
|
-
display:inline-block;
|
|
128
|
-
inline-size:0.5em;
|
|
129
|
-
block-size:1em;
|
|
130
|
-
margin-inline-start:0.1em;
|
|
131
|
-
vertical-align:text-bottom;
|
|
132
|
-
background:currentcolor;
|
|
133
|
-
animation:und-markdown-blink 1s steps(2,start) infinite;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@keyframes und-markdown-blink{
|
|
137
|
-
to{
|
|
138
|
-
visibility:hidden;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@media (prefers-reduced-motion:reduce){
|
|
143
|
-
.und-markdown__cursor{
|
|
144
|
-
animation:none;
|
|
145
|
-
opacity:0.6;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@media (forced-colors:active){
|
|
150
|
-
.und-markdown__link{
|
|
151
|
-
color:LinkText;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.und-markdown__inline-code,
|
|
155
|
-
.und-markdown__code-block,
|
|
156
|
-
.und-markdown__table th{
|
|
157
|
-
background:Canvas;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.und-markdown__code-block,
|
|
161
|
-
.und-markdown__table th,
|
|
162
|
-
.und-markdown__table td,
|
|
163
|
-
.und-markdown__quote{
|
|
164
|
-
border-color:CanvasText;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.und-markdown__cursor{
|
|
168
|
-
background:CanvasText;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
`;var J=/[!-/:-@[-`{-~]/,K=/^ {0,3}(`{3,}|~{3,})[ \t]*([^\s`]*)[^`]*$/,P=/^ {0,3}(#{1,6})(?:[ \t]|$)/,M=/^ {0,3}([-*_])(?:[ \t]*\1){2,}[ \t]*$/,O=/^( {0,3})([-*+])[ \t]+(.*)$/,S=/^( {0,3})(\d{1,9})([.)])[ \t]+(.*)$/,x=/^ {0,3}> ?(.*)$/,V=/^[\w#+.-]{1,32}$/,Y=/^[ \t]*\|?[ \t]*:?-+:?[ \t]*(?:\|[ \t]*:?-+:?[ \t]*)*\|?[ \t]*$/,y=n=>n.trim()==="";function Z(n){let i=0;for(;i<n.length&&n[n.length-1-i]===" ";)i+=1;return i}function E(n){let i=0;for(;n[i]===" ";)i+=1;return i}function ee(n,i){let t=n.slice(n.indexOf("#")+i).trim(),r=t.length;for(;r>0&&t[r-1]==="#";)r-=1;return r<t.length&&(r===0||t[r-1]===" "||t[r-1]===" ")&&(t=t.slice(0,r).trimEnd()),t}function L(n,i=0){let t=n.replace(/\r\n?/g,`
|
|
173
|
-
`).split(`
|
|
174
|
-
`),r=[],e=0;for(;e<t.length;){let l=t[e]??"";if(y(l)){e+=1;continue}let h=K.exec(l);if(h){let s=h[1]??"```",f=h[2]??"",b=[];e+=1;let m=new RegExp(`^ {0,3}${s[0]==="`"?"`":"~"}{${String(s.length)},}[ \\t]*$`);for(;e<t.length&&!m.test(t[e]??"");)b.push(t[e]??""),e+=1;e+=1,r.push({type:"code",language:V.test(f)?f:"",value:b.join(`
|
|
175
|
-
`)});continue}let o=P.exec(l);if(o){let s=(o[1]??"#").length;r.push({type:"heading",level:s,children:C(ee(l,s))}),e+=1;continue}if(M.test(l)){r.push({type:"hr"}),e+=1;continue}if(x.test(l)){let s=[];for(;e<t.length;){let f=t[e]??"",b=x.exec(f);if(b)s.push(b[1]??"");else if(!y(f)&&s.length>0&&!T(f))s.push(f);else break;e+=1}r.push({type:"quote",children:i<6?L(s.join(`
|
|
176
|
-
`),i+1):R(s)});continue}let d=O.exec(l),c=d?null:S.exec(l);if(d||c){let s=c!==null,f=c?Number(c[2]):1,b=[],m=null,p=2,k=()=>{m&&b.push(i<6?L(m.join(`
|
|
177
|
-
`),i+1):R(m)),m=null};for(;e<t.length;){let g=t[e]??"",z=O.exec(g),Q=S.exec(g),_=s?Q:z;if(_&&!M.test(g)&&(m===null||E(g)<p)){k();let A=s?`${_[2]??""}${_[3]??""}`:_[2]??"-";p=(_[1]?.length??0)+A.length+1,m=[s?_[4]??"":_[3]??""],e+=1;continue}if(y(g)){let A=t[e+1]??"";if(m&&E(A)>=2&&!y(A)){m.push(""),e+=1;continue}break}if(m&&E(g)>=2){m.push(g.slice(Math.min(p,E(g)))),e+=1;continue}if(m&&!T(g)){m.push(g),e+=1;continue}break}k(),r.push({type:"list",ordered:s,start:f,items:b});continue}let a=t[e+1]??"";if(l.includes("|")&&a.includes("-")&&Y.test(a)){let s=N(l),f=N(a);if(s.length===f.length&&s.length<=24){let b=f.map(p=>{let k=p.startsWith(":"),g=p.endsWith(":");return k&&g?"center":g?"right":k?"left":null}),m=[];for(e+=2;e<t.length&&!y(t[e]??"")&&(t[e]??"").includes("|");){let p=N(t[e]??"");m.push(s.map((k,g)=>C(p[g]??""))),e+=1}r.push({type:"table",align:b,head:s.map(p=>C(p)),rows:m});continue}}let u=[l];for(e+=1;e<t.length&&!y(t[e]??"")&&!T(t[e]??"");)u.push(t[e]??""),e+=1;r.push({type:"paragraph",children:C(u.join(`
|
|
178
|
-
`))})}return r}function R(n){return[{type:"paragraph",children:[{type:"text",value:n.join(`
|
|
179
|
-
`)}]}]}function T(n){return K.test(n)||P.test(n)||M.test(n)||x.test(n)||O.test(n)||S.test(n)}function N(n){let i=n.trim();i.startsWith("|")&&(i=i.slice(1)),i.endsWith("|")&&!i.endsWith("\\|")&&(i=i.slice(0,-1));let t=[],r="";for(let e=0;e<i.length;e+=1){let l=i[e]??"";l==="\\"&&i[e+1]==="|"?(r+="|",e+=1):l==="|"?(t.push(r.trim()),r=""):r+=l}return t.push(r.trim()),t}var F=n=>n===void 0||/\s/.test(n),U=n=>n!==void 0&&/[\p{L}\p{N}]/u.test(n);function C(n,i=0,t=!0){let r=[],e="",l=new Map,h={left:4*n.length+2048},o=()=>{e&&r.push({type:"text",value:e}),e=""},d=0;for(;d<n.length;){let c=n[d]??"";if(c==="\\"){let a=n[d+1];a===`
|
|
180
|
-
`?(o(),r.push({type:"br"}),d+=2):a!==void 0&&J.test(a)?(e+=a,d+=2):(e+=c,d+=1);continue}if(c===`
|
|
181
|
-
`){let a=Z(e);e=e.slice(0,e.length-a),a>=2?(o(),r.push({type:"br"})):e+=" ",d+=1;continue}if(c==="`"){let a=1;for(;n[d+a]==="`";)a+=1;let u="`".repeat(a),s=d+a,f=-1,b=`\`${String(a)}`,m=l.get(b);for(m!==void 0&&s>=m&&(s=n.length);s<n.length;){let p=n.indexOf(u,s);if(p===-1)break;let k=p+a;for(;n[k]==="`";)k+=1;if(k-p===a){f=p;break}s=k}if(f===-1&&m===void 0&&l.set(b,d+a),f!==-1){o();let p=n.slice(d+a,f).replace(/\n/g," ");p.length>2&&p.startsWith(" ")&&p.endsWith(" ")&&p.trim()!==""&&(p=p.slice(1,-1)),r.push({type:"code",value:p}),d=f+a}else e+=u,d+=a;continue}if((c==="["||c==="!"&&n[d+1]==="[")&&t){let a=c==="!",u=i<6?te(n,a?d+1:d,h):null;if(u){o(),r.push({type:"link",href:u.href,...u.title?{title:u.title}:{},children:a&&u.label.trim()===""?[{type:"text",value:"image"}]:C(u.label,i+1,!1)}),d=u.end;continue}}if(c==="*"||c==="_"||c==="~"){let a=1;for(;n[d+a]===c;)a+=1;let u=n[d-1],s=n[d+a],f=c==="~"?a===2?2:0:Math.min(a,3),b=f>0&&a===f&&!F(s)&&i<6,m=c==="_"&&U(u);if(b&&!m){let p=ne(n,d+a,c,f,l);if(p!==-1){o();let k=C(n.slice(d+f,p),i+1,t);r.push(f===3?{type:"em",children:[{type:"strong",children:k}]}:{type:c==="~"?"del":f===2?"strong":"em",children:k}),d=p+f;continue}}e+=c.repeat(a),d+=a;continue}e+=c,d+=1}return o(),r}function ne(n,i,t,r,e){let l=t+String(r),h=e.get(l);if(h!==void 0&&i>=h)return-1;let o=i;for(;o<n.length;){let d=n[o]??"";if(d==="\\"){o+=2;continue}if(d==="`"){let c=1;for(;n[o+c]==="`";)c+=1;let a=n.indexOf("`".repeat(c),o+c);o=a===-1?o+c:a+c;continue}if(d===t){let c=1;for(;n[o+c]===t;)c+=1;let a=r===3?c>=3:c===r,u=!F(n[o-1]),s=t!=="_"||!U(n[o+c]);if(a&&u&&s&&o>i)return o+c-r;o+=c;continue}o+=1}return(h===void 0||i<h)&&e.set(l,i),-1}function te(n,i,t){if(t.left<=0)return null;let r=0,e=i,l=-1,h=Math.min(n.length,i+2048);for(;e<h;){let u=n[e];if(u==="\\"){e+=2;continue}if(u==="[")r+=1;else if(u==="]"&&(r-=1,r===0)){l=e;break}e+=1}if(t.left-=e-i,l===-1||n[l+1]!=="(")return null;let o=l+2;for(;n[o]===" "||n[o]===" ";)o+=1;let d;if(n[o]==="<"){let u=n.indexOf(">",o+1);if(u===-1||n.slice(o+1,u).includes(`
|
|
182
|
-
`))return null;d=n.slice(o+1,u),o=u+1}else{let u=0,s=o,f=Math.min(n.length,o+2048);for(;o<f;){let b=n[o]??"";if(b==="\\"){o+=2;continue}if(b===" "||b===" "||b===`
|
|
183
|
-
`)break;if(b==="(")u+=1;else if(b===")"){if(u===0)break;u-=1}o+=1}d=n.slice(s,o).replace(/\\([!-/:-@[-`{-~])/g,"$1")}for(t.left-=o-l;n[o]===" "||n[o]===" ";)o+=1;let c,a=n[o];if(a==='"'||a==="'"||a==="("){let u=a==="("?")":a,s=n.indexOf(u,o+1);if(s===-1)return null;for(c=n.slice(o+1,s),o=s+1;n[o]===" "||n[o]===" ";)o+=1}return n[o]!==")"?null:{label:n.slice(i+1,l),href:d,title:c,end:o+1}}var W="und-markdown__";function w(n,i,t){let r=n.createElement(i);return t&&(r.className=W+t),r}function v(n,i,t,r){for(let e of n)switch(e.type){case"text":i.appendChild(t.createTextNode(e.value));break;case"br":i.appendChild(t.createElement("br"));break;case"code":{let l=w(t,"code","inline-code");l.textContent=e.value,i.appendChild(l);break}case"em":case"strong":case"del":{let l=e.type==="del"?"s":e.type,h=t.createElement(l);v(e.children,h,t,r),i.appendChild(h);break}case"link":{let l=D(e.href.trim());if(l===void 0){v(e.children,i,t,r);break}let h=t.createElement("a");h.className=`${W}link`,h.setAttribute("href",l);let o=r.linkTarget??"_blank";o&&h.setAttribute("target",o),h.setAttribute("rel",X(o,"nofollow ugc")??"nofollow ugc"),h.setAttribute("referrerpolicy","no-referrer"),e.title&&h.setAttribute("title",e.title),v(e.children,h,t,r),i.appendChild(h);break}}}function I(n,i,t,r){for(let e of n)switch(e.type){case"heading":{let l=Math.min(6,e.level+(r.headingOffset??2)),h=w(t,`h${String(l)}`,"heading");v(e.children,h,t,r),i.appendChild(h);break}case"paragraph":{let l=w(t,"p","paragraph");v(e.children,l,t,r),i.appendChild(l);break}case"code":{let l=w(t,"pre","code-block");l.tabIndex=0,l.setAttribute("role","group"),l.setAttribute("aria-label",r.codeLabel??"Code"),e.language&&l.setAttribute("data-language",e.language);let h=t.createElement("code");h.textContent=e.value,l.appendChild(h),i.appendChild(l);break}case"quote":{let l=w(t,"blockquote","quote");I(e.children,l,t,r),i.appendChild(l);break}case"list":{let l=w(t,e.ordered?"ol":"ul","list");e.ordered&&e.start!==1&&l.setAttribute("start",String(e.start));for(let h of e.items){let o=t.createElement("li");I(h,o,t,r),l.appendChild(o)}i.appendChild(l);break}case"hr":i.appendChild(w(t,"hr","rule"));break;case"table":{let l=w(t,"div","table-wrap");l.tabIndex=0,l.setAttribute("role","group"),l.setAttribute("aria-label",r.tableLabel??"Table");let h=w(t,"table","table"),o=t.createElement("thead"),d=t.createElement("tr");e.head.forEach((a,u)=>{let s=t.createElement("th");s.setAttribute("scope","col");let f=e.align[u];f&&(s.style.textAlign=f),v(a,s,t,r),d.appendChild(s)}),o.appendChild(d),h.appendChild(o);let c=t.createElement("tbody");for(let a of e.rows){let u=t.createElement("tr");a.forEach((s,f)=>{let b=t.createElement("td"),m=e.align[f];m&&(b.style.textAlign=m),v(s,b,t,r),u.appendChild(b)}),c.appendChild(u)}h.appendChild(c),l.appendChild(h),i.appendChild(l);break}}}function ie(n){let i=n.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li, td, th, pre > code");return i[i.length-1]??null}function j(n,i={},t=document){let r=t.createDocumentFragment();if(I(n,r,t,i),i.cursor){let e=w(t,"span","cursor");e.setAttribute("aria-hidden","true"),(ie(r)??r).appendChild(e)}return r}var re=1e5,G=class extends q{static tagName="und-markdown";static styles=H;static properties={value:{},linkTarget:{attribute:"link-target"},headingOffset:{type:Number,attribute:"heading-offset"},maxLength:{type:Number,attribute:"max-length"},streaming:{type:Boolean,reflect:!0},codeLabel:{attribute:"code-label"},tableLabel:{attribute:"table-label"}};#e=0;#n="";constructor(){super(),this.value="",this.linkTarget="_blank",this.headingOffset=2,this.maxLength=re,this.streaming=!1,this.codeLabel="Code",this.tableLabel="Table"}appendText(i){this.value+=i}disconnectedCallback(){super.disconnectedCallback(),this.#e&&cancelAnimationFrame(this.#e),this.#e=0}updated(){this.streaming?this.#e||(this.#e=requestAnimationFrame(()=>{this.#e=0,this.#t()})):(this.#e&&cancelAnimationFrame(this.#e),this.#e=0,this.#t())}#t(){let i=this.renderRoot.querySelector(".content");if(!i)return;let t=this.value.length>this.maxLength?this.value.slice(0,this.maxLength):this.value,r=[this.linkTarget,this.headingOffset,this.streaming,this.codeLabel,this.tableLabel,t].join("\0");r!==this.#n&&(this.#n=r,i.replaceChildren(j(L(t),{linkTarget:this.linkTarget,headingOffset:this.headingOffset,codeLabel:this.codeLabel,tableLabel:this.tableLabel,cursor:this.streaming},this.ownerDocument)))}render(){return B`<div class="content" part="content"></div>`}};export{G as a};
|