@getufy/flint-ui 0.1.0
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/dist/_shared/decorate-DPS9PT8d.js +9 -0
- package/dist/_shared/flint-accordion-CnXIksxN.js +104 -0
- package/dist/_shared/flint-alert-DNcwWxQL.js +59 -0
- package/dist/_shared/flint-app-bar-CNbq6ggt.js +39 -0
- package/dist/_shared/flint-autocomplete-B1tLM8lN.js +131 -0
- package/dist/_shared/flint-avatar-DSQJv4gX.js +40 -0
- package/dist/_shared/flint-backdrop-BszHm5cJ.js +58 -0
- package/dist/_shared/flint-badge-AzmcBWUq.js +38 -0
- package/dist/_shared/flint-bottom-navigation-B4-3_1w7.js +46 -0
- package/dist/_shared/flint-bottom-navigation-action-CW0ZUZlF.js +44 -0
- package/dist/_shared/flint-box-TbPTowiO.js +60 -0
- package/dist/_shared/flint-breadcrumbs-DjFiMWIj.js +83 -0
- package/dist/_shared/flint-button-DwrmFg7O.js +39 -0
- package/dist/_shared/flint-button-group-CdwiDTLI.js +20 -0
- package/dist/_shared/flint-card-C-j6SYxM.js +33 -0
- package/dist/_shared/flint-card-action-area-07Emwi1d.js +22 -0
- package/dist/_shared/flint-card-actions-C74ZbYNI.js +17 -0
- package/dist/_shared/flint-card-content-C3Gv3Ps5.js +17 -0
- package/dist/_shared/flint-card-header-HxL5TlBx.js +28 -0
- package/dist/_shared/flint-card-media-B1U9TYsC.js +26 -0
- package/dist/_shared/flint-carousel-jwZ5C4e_.js +224 -0
- package/dist/_shared/flint-checkbox-GnuZq0Yy.js +82 -0
- package/dist/_shared/flint-chip-5QF8rU8e.js +86 -0
- package/dist/_shared/flint-circular-progress-CuR8VdqI.js +68 -0
- package/dist/_shared/flint-collapsible-BJ4LwGpz.js +101 -0
- package/dist/_shared/flint-command-DGhby0QI.js +318 -0
- package/dist/_shared/flint-container-CYSq758Y.js +42 -0
- package/dist/_shared/flint-copy-button-Y4yVbPxo.js +142 -0
- package/dist/_shared/flint-date-field-CYSc9ezt.js +288 -0
- package/dist/_shared/flint-date-picker-CmCtDBVO.js +370 -0
- package/dist/_shared/flint-date-range-calendar-BPBdO9n3.js +122 -0
- package/dist/_shared/flint-date-range-picker-DiVjn_ST.js +201 -0
- package/dist/_shared/flint-dialog-CH1ylFUb.js +113 -0
- package/dist/_shared/flint-divider-Boj8Ggbt.js +37 -0
- package/dist/_shared/flint-drawer-BAukflTn.js +79 -0
- package/dist/_shared/flint-empty-Bq8DuJQT.js +75 -0
- package/dist/_shared/flint-fab-D8nKcAan.js +77 -0
- package/dist/_shared/flint-format-date-_jfKYO_2.js +62 -0
- package/dist/_shared/flint-format-number-g8MkggyM.js +68 -0
- package/dist/_shared/flint-grid-ClCXGz3k.js +177 -0
- package/dist/_shared/flint-hover-card-fSMVR0xj.js +125 -0
- package/dist/_shared/flint-image-comparer-DDF_wCjc.js +116 -0
- package/dist/_shared/flint-image-list-CS-XDM0T.js +24 -0
- package/dist/_shared/flint-image-list-item-CE1j29Ay.js +41 -0
- package/dist/_shared/flint-image-list-item-bar-BZfSoVrZ.js +31 -0
- package/dist/_shared/flint-input-BV4Glu8N.js +87 -0
- package/dist/_shared/flint-input-otp-__geY8N4.js +203 -0
- package/dist/_shared/flint-item-XvdemneV.js +114 -0
- package/dist/_shared/flint-kbd-DXSl3YcK.js +31 -0
- package/dist/_shared/flint-linear-progress-B4sGgZrk.js +63 -0
- package/dist/_shared/flint-link-CnzR1CYQ.js +55 -0
- package/dist/_shared/flint-list-DJCPEDre.js +113 -0
- package/dist/_shared/flint-menu-EOF1QvHq.js +207 -0
- package/dist/_shared/flint-menubar-7AuGQli6.js +666 -0
- package/dist/_shared/flint-pagination-D-KNsfjM.js +143 -0
- package/dist/_shared/flint-paper-CArGvvRa.js +27 -0
- package/dist/_shared/flint-radio-B_C3wNRn.js +165 -0
- package/dist/_shared/flint-range-slider-IfXMtey2.js +129 -0
- package/dist/_shared/flint-rating-9FxNfBNa.js +148 -0
- package/dist/_shared/flint-relative-time-BFh5nQqz.js +98 -0
- package/dist/_shared/flint-rich-tree-view-BGUjgeZv.js +383 -0
- package/dist/_shared/flint-scroll-area-Dn9yT7ZU.js +227 -0
- package/dist/_shared/flint-select-Bhc3BR09.js +249 -0
- package/dist/_shared/flint-simple-tree-view-DD3zHLzJ.js +175 -0
- package/dist/_shared/flint-single-input-date-range-field-BVGf6515.js +314 -0
- package/dist/_shared/flint-skeleton-CWFa-PkE.js +54 -0
- package/dist/_shared/flint-slider-CVb_rYPp.js +97 -0
- package/dist/_shared/flint-snackbar-DS5F7oXF.js +102 -0
- package/dist/_shared/flint-sonner-DD_qGTfm.js +230 -0
- package/dist/_shared/flint-speed-dial-DTZ2WaBh.js +259 -0
- package/dist/_shared/flint-stack-GAeGPdLR.js +98 -0
- package/dist/_shared/flint-stepper-DdkEEVXE.js +285 -0
- package/dist/_shared/flint-switch-DN7VI9jT.js +80 -0
- package/dist/_shared/flint-table-DQ--YqEC.js +112 -0
- package/dist/_shared/flint-table-pagination-BrJ56t-r.js +97 -0
- package/dist/_shared/flint-table-sort-label-C4mkQmDM.js +37 -0
- package/dist/_shared/flint-tabs-Do8hU-DT.js +226 -0
- package/dist/_shared/flint-text-field-DlLvuIJW.js +76 -0
- package/dist/_shared/flint-textarea-wDEUC9Bt.js +106 -0
- package/dist/_shared/flint-time-picker-D00w7wjz.js +817 -0
- package/dist/_shared/flint-toggle-DTT9i3J2.js +61 -0
- package/dist/_shared/flint-toggle-button-GmL4rbZa.js +48 -0
- package/dist/_shared/flint-toggle-button-group-Cp9x0wSj.js +52 -0
- package/dist/_shared/flint-tooltip-C9nJvtJi.js +108 -0
- package/dist/_shared/flint-transfer-list-DZsAcF0l.js +173 -0
- package/dist/_shared/flint-tree-item-iMT216uo.js +130 -0
- package/dist/_shared/flint-typography-D0vqF15X.js +66 -0
- package/dist/_shared/flint-visually-hidden-CqgpY__B.js +22 -0
- package/dist/_shared/form-associated-EGIhyHHt.js +20 -0
- package/dist/accordion/flint-accordion.d.ts +61 -0
- package/dist/accordion/flint-accordion.d.ts.map +1 -0
- package/dist/accordion/flint-accordion.js +2 -0
- package/dist/alert/flint-alert.d.ts +35 -0
- package/dist/alert/flint-alert.d.ts.map +1 -0
- package/dist/alert/flint-alert.js +2 -0
- package/dist/app-bar/flint-app-bar.d.ts +20 -0
- package/dist/app-bar/flint-app-bar.d.ts.map +1 -0
- package/dist/app-bar/flint-app-bar.js +2 -0
- package/dist/autocomplete/flint-autocomplete.d.ts +44 -0
- package/dist/autocomplete/flint-autocomplete.d.ts.map +1 -0
- package/dist/autocomplete/flint-autocomplete.js +2 -0
- package/dist/avatar/flint-avatar.d.ts +26 -0
- package/dist/avatar/flint-avatar.d.ts.map +1 -0
- package/dist/avatar/flint-avatar.js +2 -0
- package/dist/backdrop/flint-backdrop.d.ts +28 -0
- package/dist/backdrop/flint-backdrop.d.ts.map +1 -0
- package/dist/backdrop/flint-backdrop.js +2 -0
- package/dist/badge/flint-badge.d.ts +27 -0
- package/dist/badge/flint-badge.d.ts.map +1 -0
- package/dist/badge/flint-badge.js +2 -0
- package/dist/bottom-navigation/flint-bottom-navigation-action.d.ts +34 -0
- package/dist/bottom-navigation/flint-bottom-navigation-action.d.ts.map +1 -0
- package/dist/bottom-navigation/flint-bottom-navigation-action.js +2 -0
- package/dist/bottom-navigation/flint-bottom-navigation.d.ts +30 -0
- package/dist/bottom-navigation/flint-bottom-navigation.d.ts.map +1 -0
- package/dist/bottom-navigation/flint-bottom-navigation.js +2 -0
- package/dist/box/flint-box.d.ts +79 -0
- package/dist/box/flint-box.d.ts.map +1 -0
- package/dist/box/flint-box.js +2 -0
- package/dist/breadcrumbs/flint-breadcrumbs.d.ts +50 -0
- package/dist/breadcrumbs/flint-breadcrumbs.d.ts.map +1 -0
- package/dist/breadcrumbs/flint-breadcrumbs.js +2 -0
- package/dist/button/flint-button-group.d.ts +12 -0
- package/dist/button/flint-button-group.d.ts.map +1 -0
- package/dist/button/flint-button-group.js +2 -0
- package/dist/button/flint-button.d.ts +19 -0
- package/dist/button/flint-button.d.ts.map +1 -0
- package/dist/button/flint-button.js +2 -0
- package/dist/button/flint-toggle-button-group.d.ts +25 -0
- package/dist/button/flint-toggle-button-group.d.ts.map +1 -0
- package/dist/button/flint-toggle-button-group.js +2 -0
- package/dist/button/flint-toggle-button.d.ts +25 -0
- package/dist/button/flint-toggle-button.d.ts.map +1 -0
- package/dist/button/flint-toggle-button.js +2 -0
- package/dist/card/flint-card-action-area.d.ts +12 -0
- package/dist/card/flint-card-action-area.d.ts.map +1 -0
- package/dist/card/flint-card-action-area.js +2 -0
- package/dist/card/flint-card-actions.d.ts +11 -0
- package/dist/card/flint-card-actions.d.ts.map +1 -0
- package/dist/card/flint-card-actions.js +2 -0
- package/dist/card/flint-card-content.d.ts +11 -0
- package/dist/card/flint-card-content.d.ts.map +1 -0
- package/dist/card/flint-card-content.js +2 -0
- package/dist/card/flint-card-header.d.ts +13 -0
- package/dist/card/flint-card-header.d.ts.map +1 -0
- package/dist/card/flint-card-header.js +2 -0
- package/dist/card/flint-card-media.d.ts +14 -0
- package/dist/card/flint-card-media.d.ts.map +1 -0
- package/dist/card/flint-card-media.js +2 -0
- package/dist/card/flint-card.d.ts +13 -0
- package/dist/card/flint-card.d.ts.map +1 -0
- package/dist/card/flint-card.js +2 -0
- package/dist/carousel/flint-carousel.d.ts +87 -0
- package/dist/carousel/flint-carousel.d.ts.map +1 -0
- package/dist/carousel/flint-carousel.js +2 -0
- package/dist/checkbox/flint-checkbox.d.ts +41 -0
- package/dist/checkbox/flint-checkbox.d.ts.map +1 -0
- package/dist/checkbox/flint-checkbox.js +2 -0
- package/dist/chip/flint-chip.d.ts +34 -0
- package/dist/chip/flint-chip.d.ts.map +1 -0
- package/dist/chip/flint-chip.js +2 -0
- package/dist/collapsible/flint-collapsible.d.ts +80 -0
- package/dist/collapsible/flint-collapsible.d.ts.map +1 -0
- package/dist/collapsible/flint-collapsible.js +2 -0
- package/dist/command/flint-command.d.ts +189 -0
- package/dist/command/flint-command.d.ts.map +1 -0
- package/dist/command/flint-command.js +2 -0
- package/dist/container/flint-container.d.ts +27 -0
- package/dist/container/flint-container.d.ts.map +1 -0
- package/dist/container/flint-container.js +2 -0
- package/dist/copy-button/flint-copy-button.d.ts +55 -0
- package/dist/copy-button/flint-copy-button.d.ts.map +1 -0
- package/dist/copy-button/flint-copy-button.js +2 -0
- package/dist/date-field/flint-date-field.d.ts +82 -0
- package/dist/date-field/flint-date-field.d.ts.map +1 -0
- package/dist/date-field/flint-date-field.js +2 -0
- package/dist/date-picker/flint-date-picker.d.ts +93 -0
- package/dist/date-picker/flint-date-picker.d.ts.map +1 -0
- package/dist/date-picker/flint-date-picker.js +2 -0
- package/dist/date-range-picker/date-range-helpers.d.ts +31 -0
- package/dist/date-range-picker/date-range-helpers.d.ts.map +1 -0
- package/dist/date-range-picker/date-range-helpers.js +128 -0
- package/dist/date-range-picker/flint-date-range-calendar.d.ts +41 -0
- package/dist/date-range-picker/flint-date-range-calendar.d.ts.map +1 -0
- package/dist/date-range-picker/flint-date-range-calendar.js +2 -0
- package/dist/date-range-picker/flint-date-range-picker.d.ts +74 -0
- package/dist/date-range-picker/flint-date-range-picker.d.ts.map +1 -0
- package/dist/date-range-picker/flint-date-range-picker.js +2 -0
- package/dist/date-range-picker/flint-single-input-date-range-field.d.ts +65 -0
- package/dist/date-range-picker/flint-single-input-date-range-field.d.ts.map +1 -0
- package/dist/date-range-picker/flint-single-input-date-range-field.js +2 -0
- package/dist/dialog/flint-dialog.d.ts +76 -0
- package/dist/dialog/flint-dialog.d.ts.map +1 -0
- package/dist/dialog/flint-dialog.js +2 -0
- package/dist/divider/flint-divider.d.ts +24 -0
- package/dist/divider/flint-divider.d.ts.map +1 -0
- package/dist/divider/flint-divider.js +2 -0
- package/dist/drawer/flint-drawer.d.ts +37 -0
- package/dist/drawer/flint-drawer.d.ts.map +1 -0
- package/dist/drawer/flint-drawer.js +2 -0
- package/dist/empty/flint-empty.d.ts +70 -0
- package/dist/empty/flint-empty.d.ts.map +1 -0
- package/dist/empty/flint-empty.js +2 -0
- package/dist/fab/flint-fab.d.ts +25 -0
- package/dist/fab/flint-fab.d.ts.map +1 -0
- package/dist/fab/flint-fab.js +2 -0
- package/dist/flint-range-slider/flint-range-slider.d.ts +56 -0
- package/dist/flint-range-slider/flint-range-slider.d.ts.map +1 -0
- package/dist/flint-range-slider/flint-range-slider.js +2 -0
- package/dist/format-date/flint-format-date.d.ts +89 -0
- package/dist/format-date/flint-format-date.d.ts.map +1 -0
- package/dist/format-date/flint-format-date.js +2 -0
- package/dist/format-number/flint-format-number.d.ts +81 -0
- package/dist/format-number/flint-format-number.d.ts.map +1 -0
- package/dist/format-number/flint-format-number.js +2 -0
- package/dist/grid/flint-grid.d.ts +73 -0
- package/dist/grid/flint-grid.d.ts.map +1 -0
- package/dist/grid/flint-grid.js +2 -0
- package/dist/hover-card/flint-hover-card.d.ts +103 -0
- package/dist/hover-card/flint-hover-card.d.ts.map +1 -0
- package/dist/hover-card/flint-hover-card.js +2 -0
- package/dist/image-comparer/flint-image-comparer.d.ts +50 -0
- package/dist/image-comparer/flint-image-comparer.d.ts.map +1 -0
- package/dist/image-comparer/flint-image-comparer.js +2 -0
- package/dist/image-list/flint-image-list-item-bar.d.ts +26 -0
- package/dist/image-list/flint-image-list-item-bar.d.ts.map +1 -0
- package/dist/image-list/flint-image-list-item-bar.js +2 -0
- package/dist/image-list/flint-image-list-item.d.ts +48 -0
- package/dist/image-list/flint-image-list-item.d.ts.map +1 -0
- package/dist/image-list/flint-image-list-item.js +2 -0
- package/dist/image-list/flint-image-list.d.ts +28 -0
- package/dist/image-list/flint-image-list.d.ts.map +1 -0
- package/dist/image-list/flint-image-list.js +2 -0
- package/dist/index.d.ts +110 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +96 -0
- package/dist/input/flint-input.d.ts +52 -0
- package/dist/input/flint-input.d.ts.map +1 -0
- package/dist/input/flint-input.js +2 -0
- package/dist/input-otp/flint-input-otp.d.ts +130 -0
- package/dist/input-otp/flint-input-otp.d.ts.map +1 -0
- package/dist/input-otp/flint-input-otp.js +2 -0
- package/dist/item/flint-item.d.ts +151 -0
- package/dist/item/flint-item.d.ts.map +1 -0
- package/dist/item/flint-item.js +2 -0
- package/dist/kbd/flint-kbd.d.ts +47 -0
- package/dist/kbd/flint-kbd.d.ts.map +1 -0
- package/dist/kbd/flint-kbd.js +2 -0
- package/dist/link/flint-link.d.ts +47 -0
- package/dist/link/flint-link.d.ts.map +1 -0
- package/dist/link/flint-link.js +2 -0
- package/dist/list/flint-list.d.ts +78 -0
- package/dist/list/flint-list.d.ts.map +1 -0
- package/dist/list/flint-list.js +2 -0
- package/dist/menu/flint-menu.d.ts +107 -0
- package/dist/menu/flint-menu.d.ts.map +1 -0
- package/dist/menu/flint-menu.js +2 -0
- package/dist/menubar/flint-menubar.d.ts +256 -0
- package/dist/menubar/flint-menubar.d.ts.map +1 -0
- package/dist/menubar/flint-menubar.js +2 -0
- package/dist/mixins/form-associated.d.ts +20 -0
- package/dist/mixins/form-associated.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu-content.d.ts +53 -0
- package/dist/navigation-menu/flint-navigation-menu-content.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu-content.js +147 -0
- package/dist/navigation-menu/flint-navigation-menu-item.d.ts +47 -0
- package/dist/navigation-menu/flint-navigation-menu-item.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu-item.js +109 -0
- package/dist/navigation-menu/flint-navigation-menu-link.d.ts +50 -0
- package/dist/navigation-menu/flint-navigation-menu-link.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu-link.js +109 -0
- package/dist/navigation-menu/flint-navigation-menu-list.d.ts +35 -0
- package/dist/navigation-menu/flint-navigation-menu-list.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu-list.js +52 -0
- package/dist/navigation-menu/flint-navigation-menu-trigger.d.ts +52 -0
- package/dist/navigation-menu/flint-navigation-menu-trigger.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu-trigger.js +190 -0
- package/dist/navigation-menu/flint-navigation-menu.d.ts +42 -0
- package/dist/navigation-menu/flint-navigation-menu.d.ts.map +1 -0
- package/dist/navigation-menu/flint-navigation-menu.js +69 -0
- package/dist/pagination/flint-pagination.d.ts +63 -0
- package/dist/pagination/flint-pagination.d.ts.map +1 -0
- package/dist/pagination/flint-pagination.js +2 -0
- package/dist/paper/flint-paper.d.ts +34 -0
- package/dist/paper/flint-paper.d.ts.map +1 -0
- package/dist/paper/flint-paper.js +2 -0
- package/dist/progress/flint-circular-progress.d.ts +28 -0
- package/dist/progress/flint-circular-progress.d.ts.map +1 -0
- package/dist/progress/flint-circular-progress.js +2 -0
- package/dist/progress/flint-linear-progress.d.ts +26 -0
- package/dist/progress/flint-linear-progress.d.ts.map +1 -0
- package/dist/progress/flint-linear-progress.js +2 -0
- package/dist/radio/flint-radio.d.ts +76 -0
- package/dist/radio/flint-radio.d.ts.map +1 -0
- package/dist/radio/flint-radio.js +2 -0
- package/dist/rating/flint-rating.d.ts +49 -0
- package/dist/rating/flint-rating.d.ts.map +1 -0
- package/dist/rating/flint-rating.js +2 -0
- package/dist/relative-time/flint-relative-time.d.ts +50 -0
- package/dist/relative-time/flint-relative-time.d.ts.map +1 -0
- package/dist/relative-time/flint-relative-time.js +2 -0
- package/dist/resizable/flint-resizable.d.ts +124 -0
- package/dist/resizable/flint-resizable.d.ts.map +1 -0
- package/dist/resizable/flint-resizable.js +346 -0
- package/dist/scroll-area/flint-scroll-area.d.ts +126 -0
- package/dist/scroll-area/flint-scroll-area.d.ts.map +1 -0
- package/dist/scroll-area/flint-scroll-area.js +2 -0
- package/dist/select/flint-select.d.ts +71 -0
- package/dist/select/flint-select.d.ts.map +1 -0
- package/dist/select/flint-select.js +2 -0
- package/dist/skeleton/flint-skeleton.d.ts +47 -0
- package/dist/skeleton/flint-skeleton.d.ts.map +1 -0
- package/dist/skeleton/flint-skeleton.js +2 -0
- package/dist/slider/flint-slider.d.ts +48 -0
- package/dist/slider/flint-slider.d.ts.map +1 -0
- package/dist/slider/flint-slider.js +2 -0
- package/dist/snackbar/flint-snackbar.d.ts +67 -0
- package/dist/snackbar/flint-snackbar.d.ts.map +1 -0
- package/dist/snackbar/flint-snackbar.js +2 -0
- package/dist/sonner/flint-sonner.d.ts +152 -0
- package/dist/sonner/flint-sonner.d.ts.map +1 -0
- package/dist/sonner/flint-sonner.js +2 -0
- package/dist/speed-dial/flint-speed-dial.d.ts +101 -0
- package/dist/speed-dial/flint-speed-dial.d.ts.map +1 -0
- package/dist/speed-dial/flint-speed-dial.js +2 -0
- package/dist/split-panel/flint-split-panel.d.ts +101 -0
- package/dist/split-panel/flint-split-panel.d.ts.map +1 -0
- package/dist/split-panel/flint-split-panel.js +278 -0
- package/dist/stack/flint-stack.d.ts +38 -0
- package/dist/stack/flint-stack.d.ts.map +1 -0
- package/dist/stack/flint-stack.js +2 -0
- package/dist/stepper/flint-stepper.d.ts +122 -0
- package/dist/stepper/flint-stepper.d.ts.map +1 -0
- package/dist/stepper/flint-stepper.js +2 -0
- package/dist/switch/flint-switch.d.ts +44 -0
- package/dist/switch/flint-switch.d.ts.map +1 -0
- package/dist/switch/flint-switch.js +2 -0
- package/dist/table/flint-table-pagination.d.ts +42 -0
- package/dist/table/flint-table-pagination.d.ts.map +1 -0
- package/dist/table/flint-table-pagination.js +2 -0
- package/dist/table/flint-table-sort-label.d.ts +16 -0
- package/dist/table/flint-table-sort-label.d.ts.map +1 -0
- package/dist/table/flint-table-sort-label.js +2 -0
- package/dist/table/flint-table.d.ts +89 -0
- package/dist/table/flint-table.d.ts.map +1 -0
- package/dist/table/flint-table.js +2 -0
- package/dist/tabs/flint-tabs.d.ts +136 -0
- package/dist/tabs/flint-tabs.d.ts.map +1 -0
- package/dist/tabs/flint-tabs.js +2 -0
- package/dist/text-field/flint-text-field.d.ts +40 -0
- package/dist/text-field/flint-text-field.d.ts.map +1 -0
- package/dist/text-field/flint-text-field.js +2 -0
- package/dist/textarea/flint-textarea.d.ts +68 -0
- package/dist/textarea/flint-textarea.d.ts.map +1 -0
- package/dist/textarea/flint-textarea.js +2 -0
- package/dist/time-picker/flint-time-picker.d.ts +230 -0
- package/dist/time-picker/flint-time-picker.d.ts.map +1 -0
- package/dist/time-picker/flint-time-picker.js +2 -0
- package/dist/toggle/flint-toggle.d.ts +43 -0
- package/dist/toggle/flint-toggle.d.ts.map +1 -0
- package/dist/toggle/flint-toggle.js +2 -0
- package/dist/tooltip/flint-tooltip.d.ts +41 -0
- package/dist/tooltip/flint-tooltip.d.ts.map +1 -0
- package/dist/tooltip/flint-tooltip.js +2 -0
- package/dist/transfer-list/flint-transfer-list.d.ts +48 -0
- package/dist/transfer-list/flint-transfer-list.d.ts.map +1 -0
- package/dist/transfer-list/flint-transfer-list.js +2 -0
- package/dist/tree-view/flint-rich-tree-view.d.ts +213 -0
- package/dist/tree-view/flint-rich-tree-view.d.ts.map +1 -0
- package/dist/tree-view/flint-rich-tree-view.js +2 -0
- package/dist/tree-view/flint-simple-tree-view.d.ts +112 -0
- package/dist/tree-view/flint-simple-tree-view.d.ts.map +1 -0
- package/dist/tree-view/flint-simple-tree-view.js +2 -0
- package/dist/tree-view/flint-tree-item.d.ts +67 -0
- package/dist/tree-view/flint-tree-item.d.ts.map +1 -0
- package/dist/tree-view/flint-tree-item.js +2 -0
- package/dist/typography/flint-typography.d.ts +37 -0
- package/dist/typography/flint-typography.d.ts.map +1 -0
- package/dist/typography/flint-typography.js +2 -0
- package/dist/visually-hidden/flint-visually-hidden.d.ts +52 -0
- package/dist/visually-hidden/flint-visually-hidden.d.ts.map +1 -0
- package/dist/visually-hidden/flint-visually-hidden.js +2 -0
- package/package.json +470 -0
- package/src/theme-dark.css +261 -0
- package/src/theme.css +651 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { t as e } from "../_shared/decorate-DPS9PT8d.js";
|
|
2
|
+
import { LitElement as t, css as n, html as r, nothing as i } from "lit";
|
|
3
|
+
import { customElement as a, property as o } from "lit/decorators.js";
|
|
4
|
+
//#region src/split-panel/flint-split-panel.ts
|
|
5
|
+
function s(e, t) {
|
|
6
|
+
let n = [], r = c(e);
|
|
7
|
+
for (let e of r) {
|
|
8
|
+
let r = /^repeat\((\d+(?:\.\d+)?)(px|%)\)$/.exec(e);
|
|
9
|
+
if (r) {
|
|
10
|
+
let e = parseFloat(r[1]), i = r[2] === "px" ? e : e / 100 * t;
|
|
11
|
+
if (i > 0) for (let e = i; e < t; e += i) n.push(e);
|
|
12
|
+
continue;
|
|
13
|
+
}
|
|
14
|
+
let i = /^(\d+(?:\.\d+)?)px$/.exec(e);
|
|
15
|
+
if (i) {
|
|
16
|
+
n.push(parseFloat(i[1]));
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
let a = /^(\d+(?:\.\d+)?)%$/.exec(e);
|
|
20
|
+
if (a) {
|
|
21
|
+
n.push(parseFloat(a[1]) / 100 * t);
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return n;
|
|
26
|
+
}
|
|
27
|
+
function c(e) {
|
|
28
|
+
let t = [], n = 0, r = "";
|
|
29
|
+
for (let i of e.trim()) i === "(" ? (n++, r += i) : i === ")" ? (n--, r += i) : i === " " && n === 0 ? r &&= (t.push(r), "") : r += i;
|
|
30
|
+
return r && t.push(r), t;
|
|
31
|
+
}
|
|
32
|
+
var l = class extends t {
|
|
33
|
+
constructor(...e) {
|
|
34
|
+
super(...e), this.position = 50, this.positionInPixels = -1, this.vertical = !1, this.disabled = !1, this.snap = "", this.snapThreshold = 12, this._positionPx = -1, this._cachedSize = 0, this._dragging = !1, this._internalUpdate = !1, this._onDividerPointerDown = (e) => {
|
|
35
|
+
this.disabled || e.button !== 0 || (e.preventDefault(), this._dragging = !0, this.setPointerCapture(e.pointerId), this.addEventListener("pointermove", this._onPointerMove), this.addEventListener("pointerup", this._onPointerUp), this.addEventListener("pointercancel", this._onPointerUp));
|
|
36
|
+
}, this._onPointerMove = (e) => {
|
|
37
|
+
if (!this._dragging) return;
|
|
38
|
+
if (e.buttons === 0) {
|
|
39
|
+
this._stopDrag();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
let t = this.getBoundingClientRect(), n = this.vertical ? e.clientY - t.top : e.clientX - t.left;
|
|
43
|
+
n = this._applySnap(n), n = this._clampPx(n), this._positionPx = n, this._internalUpdate = !0, this.position = this._cachedSize > 0 ? n / this._cachedSize * 100 : 50, this.positionInPixels = n, this._internalUpdate = !1, this._emitReposition(), this.requestUpdate();
|
|
44
|
+
}, this._onPointerUp = (e) => {
|
|
45
|
+
this.releasePointerCapture(e.pointerId), this._stopDrag();
|
|
46
|
+
}, this._onKeyDown = (e) => {
|
|
47
|
+
if (this.disabled) return;
|
|
48
|
+
let t = e.shiftKey ? 10 : 1, n = 0, r = !1, i = 0;
|
|
49
|
+
this.vertical ? e.key === "ArrowUp" ? n = -t : e.key === "ArrowDown" ? n = t : e.key === "Home" ? (r = !0, i = 0) : e.key === "End" && (r = !0, i = this._cachedSize) : e.key === "ArrowLeft" ? n = -t : e.key === "ArrowRight" ? n = t : e.key === "Home" ? (r = !0, i = 0) : e.key === "End" && (r = !0, i = this._cachedSize), (n !== 0 || r) && (e.preventDefault(), this._moveTo(r ? i : this._positionPx + n));
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
this.styles = n`
|
|
54
|
+
:host {
|
|
55
|
+
display: flex;
|
|
56
|
+
position: relative;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
flex-direction: row;
|
|
59
|
+
}
|
|
60
|
+
:host([vertical]) {
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ── Panels ──────────────────────────────────────────────── */
|
|
65
|
+
.start,
|
|
66
|
+
.end {
|
|
67
|
+
overflow: auto;
|
|
68
|
+
position: relative;
|
|
69
|
+
}
|
|
70
|
+
.start {
|
|
71
|
+
flex: 0 0 auto;
|
|
72
|
+
}
|
|
73
|
+
.end {
|
|
74
|
+
flex: 1 1 0;
|
|
75
|
+
min-width: 0;
|
|
76
|
+
min-height: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* ── Divider ─────────────────────────────────────────────── */
|
|
80
|
+
.divider {
|
|
81
|
+
position: relative;
|
|
82
|
+
flex: 0 0 auto;
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
background: var(--flint-split-panel-divider-color, var(--flint-border-color, #e4e4e7));
|
|
87
|
+
transition: background 150ms ease;
|
|
88
|
+
z-index: 1;
|
|
89
|
+
outline: none;
|
|
90
|
+
user-select: none;
|
|
91
|
+
-webkit-user-select: none;
|
|
92
|
+
}
|
|
93
|
+
:host(:not([vertical])) .divider {
|
|
94
|
+
width: var(--flint-split-panel-divider-width, 4px);
|
|
95
|
+
cursor: col-resize;
|
|
96
|
+
touch-action: none;
|
|
97
|
+
}
|
|
98
|
+
:host([vertical]) .divider {
|
|
99
|
+
height: var(--flint-split-panel-divider-width, 4px);
|
|
100
|
+
cursor: row-resize;
|
|
101
|
+
touch-action: none;
|
|
102
|
+
}
|
|
103
|
+
.divider:hover,
|
|
104
|
+
.divider:focus-visible {
|
|
105
|
+
background: var(
|
|
106
|
+
--flint-split-panel-divider-hover-color,
|
|
107
|
+
var(--flint-primary-color, #3b82f6)
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
:host([disabled]) .divider {
|
|
111
|
+
cursor: not-allowed;
|
|
112
|
+
opacity: 0.5;
|
|
113
|
+
pointer-events: none;
|
|
114
|
+
}
|
|
115
|
+
:host([disabled]) .divider:hover {
|
|
116
|
+
background: var(--flint-split-panel-divider-color, var(--flint-border-color, #e4e4e7));
|
|
117
|
+
}
|
|
118
|
+
.divider:focus-visible {
|
|
119
|
+
outline: 2px solid var(--flint-primary-color, #3b82f6);
|
|
120
|
+
outline-offset: 2px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Extended hit area via ::before pseudo-element */
|
|
124
|
+
.divider::before {
|
|
125
|
+
content: '';
|
|
126
|
+
position: absolute;
|
|
127
|
+
z-index: -1;
|
|
128
|
+
}
|
|
129
|
+
:host(:not([vertical])) .divider::before {
|
|
130
|
+
top: 0;
|
|
131
|
+
bottom: 0;
|
|
132
|
+
left: calc(
|
|
133
|
+
(var(--flint-split-panel-divider-hit-area, 12px) -
|
|
134
|
+
var(--flint-split-panel-divider-width, 4px)) / -2
|
|
135
|
+
);
|
|
136
|
+
right: calc(
|
|
137
|
+
(var(--flint-split-panel-divider-hit-area, 12px) -
|
|
138
|
+
var(--flint-split-panel-divider-width, 4px)) / -2
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
:host([vertical]) .divider::before {
|
|
142
|
+
left: 0;
|
|
143
|
+
right: 0;
|
|
144
|
+
top: calc(
|
|
145
|
+
(var(--flint-split-panel-divider-hit-area, 12px) -
|
|
146
|
+
var(--flint-split-panel-divider-width, 4px)) / -2
|
|
147
|
+
);
|
|
148
|
+
bottom: calc(
|
|
149
|
+
(var(--flint-split-panel-divider-hit-area, 12px) -
|
|
150
|
+
var(--flint-split-panel-divider-width, 4px)) / -2
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
`;
|
|
154
|
+
}
|
|
155
|
+
connectedCallback() {
|
|
156
|
+
super.connectedCallback(), this._resizeObserver = new ResizeObserver((e) => {
|
|
157
|
+
for (let t of e) {
|
|
158
|
+
let e = this.vertical ? t.contentRect.height : t.contentRect.width;
|
|
159
|
+
this._handleContainerResize(e);
|
|
160
|
+
}
|
|
161
|
+
}), this._resizeObserver.observe(this);
|
|
162
|
+
}
|
|
163
|
+
disconnectedCallback() {
|
|
164
|
+
super.disconnectedCallback(), this._resizeObserver.disconnect(), this._stopDrag();
|
|
165
|
+
}
|
|
166
|
+
firstUpdated() {
|
|
167
|
+
let e = this._getSize();
|
|
168
|
+
this._cachedSize = e, this.positionInPixels >= 0 ? this._positionPx = this.positionInPixels : this._positionPx = this.position / 100 * e, this._clampPosition(), this._cachedSize > 0 && this.requestUpdate();
|
|
169
|
+
}
|
|
170
|
+
updated(e) {
|
|
171
|
+
this._dragging || this._internalUpdate || (e.has("positionInPixels") && this.positionInPixels >= 0 && this._positionPx >= 0 ? (this._positionPx = this.positionInPixels, this._clampPosition(), this._cachedSize > 0 && this.requestUpdate()) : e.has("position") && !e.has("positionInPixels") && this._positionPx >= 0 && (this._positionPx = this.position / 100 * this._cachedSize, this._clampPosition(), this._cachedSize > 0 && this.requestUpdate()));
|
|
172
|
+
}
|
|
173
|
+
_handleContainerResize(e) {
|
|
174
|
+
if (!(e <= 0)) {
|
|
175
|
+
if (this._positionPx < 0) {
|
|
176
|
+
this._cachedSize = e;
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
this.primary === "start" || (this.primary === "end" ? this._positionPx = e - (this._cachedSize - this._positionPx) : this._cachedSize > 0 && (this._positionPx = this._positionPx / this._cachedSize * e)), this._cachedSize = e, this._clampPosition(), this.requestUpdate();
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
_getSize() {
|
|
183
|
+
let e = this.getBoundingClientRect();
|
|
184
|
+
return this.vertical ? e.height : e.width;
|
|
185
|
+
}
|
|
186
|
+
_getDividerSize() {
|
|
187
|
+
let e = this.shadowRoot?.querySelector(".divider");
|
|
188
|
+
return e ? this.vertical ? e.offsetHeight : e.offsetWidth : 0;
|
|
189
|
+
}
|
|
190
|
+
_clampPosition() {
|
|
191
|
+
if (this._cachedSize <= 0) return;
|
|
192
|
+
let e = this._parseSizeToken(getComputedStyle(this).getPropertyValue("--flint-split-panel-min").trim(), 0), t = this._parseSizeToken(getComputedStyle(this).getPropertyValue("--flint-split-panel-max").trim(), this._cachedSize), n = this._cachedSize - this._getDividerSize();
|
|
193
|
+
this._positionPx = Math.max(e, Math.min(t, this._positionPx)), this._positionPx = Math.max(0, Math.min(n, this._positionPx)), this._internalUpdate = !0, this.position = this._cachedSize > 0 ? this._positionPx / this._cachedSize * 100 : 50, this.positionInPixels = this._positionPx, this._internalUpdate = !1;
|
|
194
|
+
}
|
|
195
|
+
_parseSizeToken(e, t) {
|
|
196
|
+
return e ? e === "0" ? 0 : e.endsWith("px") ? parseFloat(e) : e.endsWith("%") ? parseFloat(e) / 100 * this._cachedSize : t : t;
|
|
197
|
+
}
|
|
198
|
+
_applySnap(e) {
|
|
199
|
+
let { snap: t, snapThreshold: n } = this;
|
|
200
|
+
if (!t) return e;
|
|
201
|
+
if (typeof t == "function") return t({
|
|
202
|
+
pos: e,
|
|
203
|
+
size: this._cachedSize,
|
|
204
|
+
snapThreshold: n
|
|
205
|
+
});
|
|
206
|
+
let r = s(t, this._cachedSize);
|
|
207
|
+
if (!r.length) return e;
|
|
208
|
+
let i = e, a = Infinity;
|
|
209
|
+
for (let t of r) {
|
|
210
|
+
let n = Math.abs(e - t);
|
|
211
|
+
n < a && (a = n, i = t);
|
|
212
|
+
}
|
|
213
|
+
return a <= n ? i : e;
|
|
214
|
+
}
|
|
215
|
+
_stopDrag() {
|
|
216
|
+
this._dragging && (this._dragging = !1, this.removeEventListener("pointermove", this._onPointerMove), this.removeEventListener("pointerup", this._onPointerUp), this.removeEventListener("pointercancel", this._onPointerUp));
|
|
217
|
+
}
|
|
218
|
+
_moveTo(e) {
|
|
219
|
+
e = this._clampPx(e), this._positionPx = e, this._internalUpdate = !0, this.position = this._cachedSize > 0 ? e / this._cachedSize * 100 : 50, this.positionInPixels = e, this._internalUpdate = !1, this._emitReposition(), this.requestUpdate();
|
|
220
|
+
}
|
|
221
|
+
_clampPx(e) {
|
|
222
|
+
let t = this._parseSizeToken(getComputedStyle(this).getPropertyValue("--flint-split-panel-min").trim(), 0), n = this._parseSizeToken(getComputedStyle(this).getPropertyValue("--flint-split-panel-max").trim(), this._cachedSize), r = this._cachedSize - this._getDividerSize();
|
|
223
|
+
return Math.max(0, Math.min(r, Math.max(t, Math.min(n, e))));
|
|
224
|
+
}
|
|
225
|
+
_emitReposition() {
|
|
226
|
+
this.dispatchEvent(new CustomEvent("flint-split-panel-reposition", {
|
|
227
|
+
bubbles: !0,
|
|
228
|
+
composed: !0,
|
|
229
|
+
detail: {
|
|
230
|
+
position: this.position,
|
|
231
|
+
positionInPixels: this.positionInPixels
|
|
232
|
+
}
|
|
233
|
+
}));
|
|
234
|
+
}
|
|
235
|
+
render() {
|
|
236
|
+
let e = this._positionPx >= 0 ? `${this._positionPx}px` : `${this.position}%`;
|
|
237
|
+
return r`
|
|
238
|
+
<div class="start" part="panel start" style="${this.vertical ? `height: ${e};` : `width: ${e};`}" tabindex="0">
|
|
239
|
+
<slot name="start"></slot>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
<div
|
|
243
|
+
class="divider"
|
|
244
|
+
part="divider"
|
|
245
|
+
role="separator"
|
|
246
|
+
tabindex="${this.disabled ? -1 : 0}"
|
|
247
|
+
aria-valuenow="${Math.round(this.position)}"
|
|
248
|
+
aria-valuemin="0"
|
|
249
|
+
aria-valuemax="100"
|
|
250
|
+
aria-orientation="${this.vertical ? "vertical" : "horizontal"}"
|
|
251
|
+
aria-disabled="${this.disabled ? "true" : i}"
|
|
252
|
+
@pointerdown=${this._onDividerPointerDown}
|
|
253
|
+
@keydown=${this._onKeyDown}
|
|
254
|
+
>
|
|
255
|
+
<slot name="divider"></slot>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
<div class="end" part="panel end" tabindex="0">
|
|
259
|
+
<slot name="end"></slot>
|
|
260
|
+
</div>
|
|
261
|
+
`;
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
e([o({ type: Number })], l.prototype, "position", void 0), e([o({
|
|
265
|
+
type: Number,
|
|
266
|
+
attribute: "position-in-pixels"
|
|
267
|
+
})], l.prototype, "positionInPixels", void 0), e([o({
|
|
268
|
+
type: Boolean,
|
|
269
|
+
reflect: !0
|
|
270
|
+
})], l.prototype, "vertical", void 0), e([o({
|
|
271
|
+
type: Boolean,
|
|
272
|
+
reflect: !0
|
|
273
|
+
})], l.prototype, "disabled", void 0), e([o({ reflect: !0 })], l.prototype, "primary", void 0), e([o()], l.prototype, "snap", void 0), e([o({
|
|
274
|
+
type: Number,
|
|
275
|
+
attribute: "snap-threshold"
|
|
276
|
+
})], l.prototype, "snapThreshold", void 0), l = e([a("flint-split-panel")], l);
|
|
277
|
+
//#endregion
|
|
278
|
+
export { l as FlintSplitPanel, s as parseSnapPoints };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
+
export type Breakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;
|
|
4
|
+
export declare class FlintStack extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
/** Flex direction of the stack layout. */
|
|
7
|
+
direction: ResponsiveValue<'row' | 'row-reverse' | 'column' | 'column-reverse'>;
|
|
8
|
+
/** Space between child items (1 unit = 8px). */
|
|
9
|
+
spacing: ResponsiveValue<number | string>;
|
|
10
|
+
/** Cross-axis alignment of stack children. */
|
|
11
|
+
alignItems?: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
12
|
+
/** Main-axis alignment of stack children. */
|
|
13
|
+
justifyContent?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
14
|
+
/** Whether to use CSS flex gap for spacing. */
|
|
15
|
+
useFlexGap: boolean;
|
|
16
|
+
private _currentWidth;
|
|
17
|
+
private _onResize;
|
|
18
|
+
private static _breakPoints;
|
|
19
|
+
private _getBreakpointValue;
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
disconnectedCallback(): void;
|
|
22
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
23
|
+
/**
|
|
24
|
+
* Automatically sets the orientation of any slotted flint-divider elements
|
|
25
|
+
* based on the current resolved direction of the stack.
|
|
26
|
+
*/
|
|
27
|
+
private _updateDividers;
|
|
28
|
+
private _getBreakpoint;
|
|
29
|
+
private _resolveResponsive;
|
|
30
|
+
private _getSpacingPx;
|
|
31
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'flint-stack': FlintStack;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=flint-stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flint-stack.d.ts","sourceRoot":"","sources":["../../src/stack/flint-stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKvE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;AAEpE,qBACa,UAAW,SAAQ,UAAU;IACtC,MAAM,CAAC,MAAM,0BAA4B;IAEzC,0CAA0C;IAQvC,SAAS,EAAE,eAAe,CAAC,KAAK,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,CAAC,CAAY;IAE9F,gDAAgD;IACpB,OAAO,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,CAAK;IAE1E,8CAA8C;IAClB,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IACvG,6CAA6C;IACjB,cAAc,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,cAAc,GAAG,cAAc,CAAC;IAEtI,+CAA+C;IAClB,UAAU,UAAQ;IAEtC,OAAO,CAAC,aAAa,CAA4D;IAE1F,OAAO,CAAC,SAAS,CAGf;IAEF,OAAO,CAAC,MAAM,CAAC,YAAY,CAA8B;IAEzD,OAAO,CAAC,mBAAmB;IAY3B,iBAAiB;IAQjB,oBAAoB;IAOpB,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,cAAc;IAKpD;;;OAGG;IACH,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,kBAAkB;IAe1B,OAAO,CAAC,aAAa;IAKrB,MAAM;CA4BT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,aAAa,EAAE,UAAU,CAAC;KAC7B;CACJ"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class FlintStepConnector extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
/** Layout direction of the connector line. */
|
|
5
|
+
orientation: 'horizontal' | 'vertical';
|
|
6
|
+
/** Whether the connector represents a completed step transition. */
|
|
7
|
+
completed: boolean;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FlintStepLabel extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
/** Whether the label's step is currently active. */
|
|
13
|
+
active: boolean;
|
|
14
|
+
/** Whether the label's step is disabled. */
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
/** Whether the label's step is in an error state. */
|
|
17
|
+
error: boolean;
|
|
18
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
19
|
+
}
|
|
20
|
+
export declare class FlintStepContent extends LitElement {
|
|
21
|
+
static styles: import("lit").CSSResult;
|
|
22
|
+
/** Whether the content is visible. Defaults true so standalone usage always shows. */
|
|
23
|
+
open: boolean;
|
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Step: an individual step within a stepper.
|
|
28
|
+
*
|
|
29
|
+
* @fires flint-step-click - Fired when a non-linear step is clicked.
|
|
30
|
+
*/
|
|
31
|
+
export declare class FlintStep extends LitElement {
|
|
32
|
+
static styles: import("lit").CSSResult;
|
|
33
|
+
/** Whether this step is the currently active step. */
|
|
34
|
+
active: boolean;
|
|
35
|
+
/** Whether this step has been completed. */
|
|
36
|
+
completed: boolean;
|
|
37
|
+
/** Whether this step is disabled and non-interactive. */
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
/** Whether this step is optional. */
|
|
40
|
+
optional: boolean;
|
|
41
|
+
/** Whether this step is in an error state. */
|
|
42
|
+
error: boolean;
|
|
43
|
+
/** Whether this is the last step in the stepper. */
|
|
44
|
+
last: boolean;
|
|
45
|
+
/** Whether this step can be clicked to navigate to it. */
|
|
46
|
+
clickable: boolean;
|
|
47
|
+
/** Layout direction of the step. */
|
|
48
|
+
orientation: 'horizontal' | 'vertical';
|
|
49
|
+
/** Whether to display the label below the step icon instead of beside it. */
|
|
50
|
+
alternativeLabel: boolean;
|
|
51
|
+
/** Zero-based index of this step within the stepper. */
|
|
52
|
+
stepIndex: number;
|
|
53
|
+
/** Text shown below the label when the step is optional. */
|
|
54
|
+
optionalLabel: string;
|
|
55
|
+
/**
|
|
56
|
+
* Set by FlintStepper — true when the immediately preceding step is completed.
|
|
57
|
+
* Controls whether the leading connector is rendered in the primary colour.
|
|
58
|
+
*/
|
|
59
|
+
prevCompleted: boolean;
|
|
60
|
+
connectedCallback(): void;
|
|
61
|
+
private _fire;
|
|
62
|
+
private _icon;
|
|
63
|
+
private _label;
|
|
64
|
+
private _connector;
|
|
65
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Stepper: a multi-step progress indicator.
|
|
69
|
+
*
|
|
70
|
+
* @fires flint-step-change - Fired when the active step changes via step click.
|
|
71
|
+
*/
|
|
72
|
+
export declare class FlintStepper extends LitElement {
|
|
73
|
+
static styles: import("lit").CSSResult;
|
|
74
|
+
/** Zero-based index of the currently active step. */
|
|
75
|
+
activeStep: number;
|
|
76
|
+
/** Layout direction of the stepper. */
|
|
77
|
+
orientation: 'horizontal' | 'vertical';
|
|
78
|
+
/** Whether to display step labels below the icons instead of beside them. */
|
|
79
|
+
alternativeLabel: boolean;
|
|
80
|
+
/** Whether steps can be navigated in any order (enables clickable steps). */
|
|
81
|
+
nonLinear: boolean;
|
|
82
|
+
/** Accessible label for the stepper landmark (maps to aria-label on the list element). */
|
|
83
|
+
label: string;
|
|
84
|
+
private _syncSteps;
|
|
85
|
+
firstUpdated(): void;
|
|
86
|
+
updated(c: Map<string, unknown>): void;
|
|
87
|
+
connectedCallback(): void;
|
|
88
|
+
disconnectedCallback(): void;
|
|
89
|
+
private _onStepClick;
|
|
90
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
91
|
+
}
|
|
92
|
+
export declare class FlintMobileStepper extends LitElement {
|
|
93
|
+
static styles: import("lit").CSSResult;
|
|
94
|
+
/** Total number of steps. */
|
|
95
|
+
steps: number;
|
|
96
|
+
/** Zero-based index of the currently active step. */
|
|
97
|
+
activeStep: number;
|
|
98
|
+
/** Progress indicator style: text counter, dot indicators, or a progress bar. */
|
|
99
|
+
variant: 'text' | 'dots' | 'progress';
|
|
100
|
+
/** Positioning of the mobile stepper within its container. */
|
|
101
|
+
position: 'top' | 'bottom' | 'static';
|
|
102
|
+
/** Label text for the Back navigation button (supports i18n). */
|
|
103
|
+
backLabel: string;
|
|
104
|
+
/** Label text for the Next navigation button (supports i18n). */
|
|
105
|
+
nextLabel: string;
|
|
106
|
+
/** Guards against steps=0 (divide-by-zero, nonsensical UI). */
|
|
107
|
+
private get _safeSteps();
|
|
108
|
+
private _emit;
|
|
109
|
+
private _progress;
|
|
110
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
111
|
+
}
|
|
112
|
+
declare global {
|
|
113
|
+
interface HTMLElementTagNameMap {
|
|
114
|
+
'flint-stepper': FlintStepper;
|
|
115
|
+
'flint-step': FlintStep;
|
|
116
|
+
'flint-step-label': FlintStepLabel;
|
|
117
|
+
'flint-step-content': FlintStepContent;
|
|
118
|
+
'flint-step-connector': FlintStepConnector;
|
|
119
|
+
'flint-mobile-stepper': FlintMobileStepper;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=flint-stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flint-stepper.d.ts","sourceRoot":"","sources":["../../src/stepper/flint-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,MAAM,KAAK,CAAC;AAiB3D,qBACa,kBAAmB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAAoC;IAEjD,8CAA8C;IACjB,WAAW,EAAE,YAAY,GAAG,UAAU,CAAgB;IACnF,oEAAoE;IACvC,SAAS,UAAS;IAE/C,MAAM;CACT;AAKD,qBACa,cAAe,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BAAgC;IAE7C,oDAAoD;IACR,MAAM,UAAS;IAC3D,4CAA4C;IACA,QAAQ,UAAS;IAC7D,qDAAqD;IACT,KAAK,UAAS;IAE1D,MAAM;CAMT;AAKD,qBACa,gBAAiB,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BAAkC;IAE/C,sFAAsF;IAC1C,IAAI,UAAQ;IAExD,MAAM;CAWT;AAKD;;;;GAIG;AACH,qBACa,SAAU,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,0BAA2B;IAExC,sDAAsD;IACV,MAAM,UAAS;IAC3D,4CAA4C;IACA,SAAS,UAAS;IAC9D,yDAAyD;IACb,QAAQ,UAAS;IAC7D,qCAAqC;IACO,QAAQ,UAAS;IAC7D,8CAA8C;IACF,KAAK,UAAS;IAC1D,oDAAoD;IACR,IAAI,UAAS;IACzD,0DAA0D;IACd,SAAS,UAAS;IAC9D,oCAAoC;IACO,WAAW,EAAE,YAAY,GAAG,UAAU,CAAgB;IACjG,6EAA6E;IACD,gBAAgB,UAAS;IACrG,wDAAwD;IACH,SAAS,SAAK;IACnE,4DAA4D;IACH,aAAa,SAAc;IACpF;;;OAGG;IACuD,aAAa,UAAS;IAEhF,iBAAiB;IAMjB,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,KAAK;IAMb,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,UAAU;IAIlB,MAAM;CA2CT;AAKD;;;;GAIG;AACH,qBACa,YAAa,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,0BAA8B;IAE3C,qDAAqD;IACC,UAAU,SAAK;IACrE,uCAAuC;IACI,WAAW,EAAE,YAAY,GAAG,UAAU,CAAgB;IACjG,6EAA6E;IAChB,gBAAgB,UAAS;IACtF,6EAA6E;IACvB,SAAS,UAAS;IACxE,0FAA0F;IAC9D,KAAK,SAAW;IAE5C,OAAO,CAAC,UAAU;IAoBlB,YAAY;IAIZ,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/B,iBAAiB;IAIjB,oBAAoB;IAKpB,OAAO,CAAC,YAAY,CAIlB;IAEF,MAAM;CAOT;AAKD,qBACa,kBAAmB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAAoC;IAEjD,6BAA6B;IACD,KAAK,SAAK;IACtC,qDAAqD;IACC,UAAU,SAAK;IACrE,iFAAiF;IACrD,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAU;IAC3E,8DAA8D;IACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAY;IAC5F,iEAAiE;IACZ,SAAS,SAAU;IACxE,iEAAiE;IACZ,SAAS,SAAU;IAExE,+DAA+D;IAC/D,OAAO,KAAK,UAAU,GAAsC;IAE5D,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,SAAS;IA8BjB,MAAM;CAoBT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,eAAe,EAAE,YAAY,CAAC;QAC9B,YAAY,EAAE,SAAS,CAAC;QACxB,kBAAkB,EAAE,cAAc,CAAC;QACnC,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,sBAAsB,EAAE,kBAAkB,CAAC;QAC3C,sBAAsB,EAAE,kBAAkB,CAAC;KAC9C;CACJ"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
declare const FlintSwitch_base: (new (...args: any[]) => import("../mixins/form-associated.js").FormAssociatedInterface) & typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* A Switch component for toggling settings.
|
|
5
|
+
*
|
|
6
|
+
* @fires flint-switch-change - Dispatched when the switch state changes. Detail: `{ checked: boolean }`
|
|
7
|
+
* @slot icon-on - Optional icon to show when the switch is ON.
|
|
8
|
+
* @slot icon-off - Optional icon to show when the switch is OFF.
|
|
9
|
+
* @slot - Optional label content (used when the `label` prop is not set).
|
|
10
|
+
*/
|
|
11
|
+
export declare class FlintSwitch extends FlintSwitch_base {
|
|
12
|
+
static styles: import("lit").CSSResult;
|
|
13
|
+
/** Whether the switch is toggled on. */
|
|
14
|
+
checked: boolean;
|
|
15
|
+
/** Disables the switch and prevents interaction. */
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
/** Marks the switch as required for form validation. */
|
|
18
|
+
required: boolean;
|
|
19
|
+
/** Size of the switch control. */
|
|
20
|
+
size: 'sm' | 'md' | 'lg';
|
|
21
|
+
/** Visible label text displayed next to the switch. */
|
|
22
|
+
label: string;
|
|
23
|
+
/** Form field name used when submitting form data. */
|
|
24
|
+
name: string;
|
|
25
|
+
/** Value submitted with form data when checked. */
|
|
26
|
+
value: string;
|
|
27
|
+
/** Initial checked state for uncontrolled usage. */
|
|
28
|
+
defaultChecked: boolean;
|
|
29
|
+
/** Accessible label for screen readers when no visible label is provided. */
|
|
30
|
+
ariaLabel: string | null;
|
|
31
|
+
private readonly _labelId;
|
|
32
|
+
constructor();
|
|
33
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
34
|
+
protected updated(changed: PropertyValues): void;
|
|
35
|
+
private _handleClick;
|
|
36
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
'flint-switch': FlintSwitch;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=flint-switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flint-switch.d.ts","sourceRoot":"","sources":["../../src/switch/flint-switch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,cAAc,EAAE,MAAM,KAAK,CAAC;;AAQ3E;;;;;;;GAOG;AACH,qBACa,WAAY,SAAQ,gBAA0B;IACvD,MAAM,CAAC,MAAM,0BAA6B;IAE1C,wCAAwC;IACI,OAAO,UAAS;IAC5D,oDAAoD;IACR,QAAQ,UAAS;IAC7D,wDAAwD;IACZ,QAAQ,UAAS;IAC7D,kCAAkC;IACS,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAC3E,uDAAuD;IAC3B,KAAK,SAAM;IACvC,sDAAsD;IAC1B,IAAI,SAAM;IACtC,mDAAmD;IACvB,KAAK,SAAQ;IACzC,oDAAoD;IACO,cAAc,UAAS;IAClF,6EAA6E;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE9F,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;;cAQf,UAAU,CAAC,OAAO,EAAE,cAAc;cAUlC,OAAO,CAAC,OAAO,EAAE,cAAc;IAUlD,OAAO,CAAC,YAAY;IAUX,MAAM;CA2BlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,cAAc,EAAE,WAAW,CAAC;KAC/B;CACJ"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* Table Pagination: pagination controls for tabular data.
|
|
5
|
+
*
|
|
6
|
+
* @fires flint-pagination-page-change - Fired when the current page changes.
|
|
7
|
+
* @fires flint-pagination-rows-per-page-change - Fired when rows per page changes.
|
|
8
|
+
*/
|
|
9
|
+
export declare class FlintTablePagination extends LitElement {
|
|
10
|
+
static styles: import("lit").CSSResult;
|
|
11
|
+
/** Total number of rows. */
|
|
12
|
+
count: number;
|
|
13
|
+
/** Controlled current page (0-indexed). */
|
|
14
|
+
page: number;
|
|
15
|
+
/** Controlled rows per page. */
|
|
16
|
+
rowsPerPage: number;
|
|
17
|
+
/** Available rows-per-page options. */
|
|
18
|
+
rowsPerPageOptions: number[];
|
|
19
|
+
/** Uncontrolled default page (applied on first render). */
|
|
20
|
+
defaultPage: number;
|
|
21
|
+
/** Uncontrolled default rows per page. */
|
|
22
|
+
defaultRowsPerPage: number;
|
|
23
|
+
/** Show First/Last page buttons. */
|
|
24
|
+
showFirstLast: boolean;
|
|
25
|
+
/** Label for the rows-per-page selector. */
|
|
26
|
+
labelRowsPerPage: string;
|
|
27
|
+
private _page;
|
|
28
|
+
private _rowsPerPage;
|
|
29
|
+
private _firstUpdate;
|
|
30
|
+
willUpdate(changed: PropertyValues): void;
|
|
31
|
+
private _go;
|
|
32
|
+
private _goTo;
|
|
33
|
+
private _handleRowChange;
|
|
34
|
+
private get _lastPage();
|
|
35
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
36
|
+
}
|
|
37
|
+
declare global {
|
|
38
|
+
interface HTMLElementTagNameMap {
|
|
39
|
+
'flint-table-pagination': FlintTablePagination;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=flint-table-pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flint-table-pagination.d.ts","sourceRoot":"","sources":["../../src/table/flint-table-pagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrC;;;;;GAKG;AACH,qBACa,oBAAqB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,0BAAsC;IAEnD,4BAA4B;IACA,KAAK,SAAK;IACtC,2CAA2C;IACf,IAAI,SAAK;IACrC,gCAAgC;IACJ,WAAW,SAAM;IAC7C,uCAAuC;IACZ,kBAAkB,EAAE,MAAM,EAAE,CAAe;IACtE,2DAA2D;IACJ,WAAW,SAAK;IACvE,0CAA0C;IACsB,kBAAkB,SAAM;IACxF,oCAAoC;IACuB,aAAa,UAAS;IACjF,4CAA4C;IACkB,gBAAgB,SAAoB;IAEzF,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,YAAY,CAAM;IAEnC,OAAO,CAAC,YAAY,CAAQ;IAE5B,UAAU,CAAC,OAAO,EAAE,cAAc;IAYlC,OAAO,CAAC,GAAG;IAUX,OAAO,CAAC,KAAK;IASb,OAAO,CAAC,gBAAgB;IAWxB,OAAO,KAAK,SAAS,GAEpB;IAED,MAAM;CAqCT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,wBAAwB,EAAE,oBAAoB,CAAC;KAClD;CACJ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
+
export declare class FlintTableSortLabel extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
/** Whether this column is currently sorted. */
|
|
5
|
+
active: boolean;
|
|
6
|
+
/** Sort direction when active. */
|
|
7
|
+
direction: 'asc' | 'desc';
|
|
8
|
+
updated(changed: PropertyValues): void;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
'flint-table-sort-label': FlintTableSortLabel;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=flint-table-sort-label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flint-table-sort-label.d.ts","sourceRoot":"","sources":["../../src/table/flint-table-sort-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKvE,qBACa,mBAAoB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,0BAAqC;IAElD,+CAA+C;IACH,MAAM,UAAS;IAC3D,kCAAkC;IACN,SAAS,EAAE,KAAK,GAAG,MAAM,CAAS;IAE9D,OAAO,CAAC,OAAO,EAAE,cAAc;IAS/B,MAAM;CAQT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,wBAAwB,EAAE,mBAAmB,CAAC;KACjD;CACJ"}
|