@furystack/shades-common-components 11.0.0 → 12.0.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/CHANGELOG.md +443 -0
- package/esm/components/accordion/accordion-item.d.ts +31 -0
- package/esm/components/accordion/accordion-item.d.ts.map +1 -0
- package/esm/components/accordion/accordion-item.js +147 -0
- package/esm/components/accordion/accordion-item.js.map +1 -0
- package/esm/components/accordion/accordion.d.ts +27 -0
- package/esm/components/accordion/accordion.d.ts.map +1 -0
- package/esm/components/accordion/accordion.js +39 -0
- package/esm/components/accordion/accordion.js.map +1 -0
- package/esm/components/accordion/accordion.spec.d.ts +2 -0
- package/esm/components/accordion/accordion.spec.d.ts.map +1 -0
- package/esm/components/accordion/accordion.spec.js +284 -0
- package/esm/components/accordion/accordion.spec.js.map +1 -0
- package/esm/components/accordion/index.d.ts +3 -0
- package/esm/components/accordion/index.d.ts.map +1 -0
- package/esm/components/accordion/index.js +3 -0
- package/esm/components/accordion/index.js.map +1 -0
- package/esm/components/alert.d.ts +21 -0
- package/esm/components/alert.d.ts.map +1 -0
- package/esm/components/alert.js +131 -0
- package/esm/components/alert.js.map +1 -0
- package/esm/components/alert.spec.d.ts +2 -0
- package/esm/components/alert.spec.d.ts.map +1 -0
- package/esm/components/alert.spec.js +177 -0
- package/esm/components/alert.spec.js.map +1 -0
- package/esm/components/app-bar-link.d.ts +22 -2
- package/esm/components/app-bar-link.d.ts.map +1 -1
- package/esm/components/app-bar-link.js +20 -7
- package/esm/components/app-bar-link.js.map +1 -1
- package/esm/components/app-bar-link.spec.js +22 -19
- package/esm/components/app-bar-link.spec.js.map +1 -1
- package/esm/components/app-bar.d.ts +2 -0
- package/esm/components/app-bar.d.ts.map +1 -1
- package/esm/components/app-bar.js +16 -11
- package/esm/components/app-bar.js.map +1 -1
- package/esm/components/app-bar.spec.js +67 -52
- package/esm/components/app-bar.spec.js.map +1 -1
- package/esm/components/avatar.d.ts +2 -0
- package/esm/components/avatar.d.ts.map +1 -1
- package/esm/components/avatar.js +40 -37
- package/esm/components/avatar.js.map +1 -1
- package/esm/components/badge.d.ts +35 -0
- package/esm/components/badge.d.ts.map +1 -0
- package/esm/components/badge.js +68 -0
- package/esm/components/badge.js.map +1 -0
- package/esm/components/badge.spec.d.ts +2 -0
- package/esm/components/badge.spec.d.ts.map +1 -0
- package/esm/components/badge.spec.js +157 -0
- package/esm/components/badge.spec.js.map +1 -0
- package/esm/components/breadcrumb.d.ts +103 -0
- package/esm/components/breadcrumb.d.ts.map +1 -0
- package/esm/components/breadcrumb.js +121 -0
- package/esm/components/breadcrumb.js.map +1 -0
- package/esm/components/breadcrumb.spec.d.ts +2 -0
- package/esm/components/breadcrumb.spec.d.ts.map +1 -0
- package/esm/components/breadcrumb.spec.js +251 -0
- package/esm/components/breadcrumb.spec.js.map +1 -0
- package/esm/components/button-group.d.ts +85 -0
- package/esm/components/button-group.d.ts.map +1 -0
- package/esm/components/button-group.js +290 -0
- package/esm/components/button-group.js.map +1 -0
- package/esm/components/button-group.spec.d.ts +2 -0
- package/esm/components/button-group.spec.d.ts.map +1 -0
- package/esm/components/button-group.spec.js +502 -0
- package/esm/components/button-group.spec.js.map +1 -0
- package/esm/components/button.d.ts +44 -2
- package/esm/components/button.d.ts.map +1 -1
- package/esm/components/button.js +82 -73
- package/esm/components/button.js.map +1 -1
- package/esm/components/button.spec.js +205 -50
- package/esm/components/button.spec.js.map +1 -1
- package/esm/components/card.d.ts +117 -0
- package/esm/components/card.d.ts.map +1 -0
- package/esm/components/card.js +181 -0
- package/esm/components/card.js.map +1 -0
- package/esm/components/card.spec.d.ts +2 -0
- package/esm/components/card.spec.d.ts.map +1 -0
- package/esm/components/card.spec.js +278 -0
- package/esm/components/card.spec.js.map +1 -0
- package/esm/components/carousel.d.ts +50 -0
- package/esm/components/carousel.d.ts.map +1 -0
- package/esm/components/carousel.js +263 -0
- package/esm/components/carousel.js.map +1 -0
- package/esm/components/carousel.spec.d.ts +2 -0
- package/esm/components/carousel.spec.d.ts.map +1 -0
- package/esm/components/carousel.spec.js +677 -0
- package/esm/components/carousel.spec.js.map +1 -0
- package/esm/components/chip.d.ts +23 -0
- package/esm/components/chip.d.ts.map +1 -0
- package/esm/components/chip.js +139 -0
- package/esm/components/chip.js.map +1 -0
- package/esm/components/chip.spec.d.ts +2 -0
- package/esm/components/chip.spec.d.ts.map +1 -0
- package/esm/components/chip.spec.js +142 -0
- package/esm/components/chip.spec.js.map +1 -0
- package/esm/components/circular-progress.d.ts +37 -0
- package/esm/components/circular-progress.d.ts.map +1 -0
- package/esm/components/circular-progress.js +84 -0
- package/esm/components/circular-progress.js.map +1 -0
- package/esm/components/circular-progress.spec.d.ts +2 -0
- package/esm/components/circular-progress.spec.d.ts.map +1 -0
- package/esm/components/circular-progress.spec.js +228 -0
- package/esm/components/circular-progress.spec.js.map +1 -0
- package/esm/components/command-palette/command-palette-input.d.ts +3 -0
- package/esm/components/command-palette/command-palette-input.d.ts.map +1 -1
- package/esm/components/command-palette/command-palette-input.js +17 -9
- package/esm/components/command-palette/command-palette-input.js.map +1 -1
- package/esm/components/command-palette/command-palette-input.spec.js +172 -161
- package/esm/components/command-palette/command-palette-input.spec.js.map +1 -1
- package/esm/components/command-palette/command-palette-manager.spec.js +130 -114
- package/esm/components/command-palette/command-palette-manager.spec.js.map +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.d.ts +2 -0
- package/esm/components/command-palette/command-palette-suggestion-list.d.ts.map +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.js +20 -20
- package/esm/components/command-palette/command-palette-suggestion-list.js.map +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.spec.js +296 -278
- package/esm/components/command-palette/command-palette-suggestion-list.spec.js.map +1 -1
- package/esm/components/command-palette/index.d.ts +2 -0
- package/esm/components/command-palette/index.d.ts.map +1 -1
- package/esm/components/command-palette/index.js +25 -94
- package/esm/components/command-palette/index.js.map +1 -1
- package/esm/components/command-palette/index.spec.js +12 -12
- package/esm/components/command-palette/index.spec.js.map +1 -1
- package/esm/components/context-menu/context-menu-item.d.ts +9 -0
- package/esm/components/context-menu/context-menu-item.d.ts.map +1 -0
- package/esm/components/context-menu/context-menu-item.js +56 -0
- package/esm/components/context-menu/context-menu-item.js.map +1 -0
- package/esm/components/context-menu/context-menu-manager.d.ts +52 -0
- package/esm/components/context-menu/context-menu-manager.d.ts.map +1 -0
- package/esm/components/context-menu/context-menu-manager.js +128 -0
- package/esm/components/context-menu/context-menu-manager.js.map +1 -0
- package/esm/components/context-menu/context-menu-manager.spec.d.ts +2 -0
- package/esm/components/context-menu/context-menu-manager.spec.d.ts.map +1 -0
- package/esm/components/context-menu/context-menu-manager.spec.js +326 -0
- package/esm/components/context-menu/context-menu-manager.spec.js.map +1 -0
- package/esm/components/context-menu/context-menu.d.ts +8 -0
- package/esm/components/context-menu/context-menu.d.ts.map +1 -0
- package/esm/components/context-menu/context-menu.js +79 -0
- package/esm/components/context-menu/context-menu.js.map +1 -0
- package/esm/components/context-menu/context-menu.spec.d.ts +2 -0
- package/esm/components/context-menu/context-menu.spec.d.ts.map +1 -0
- package/esm/components/context-menu/context-menu.spec.js +282 -0
- package/esm/components/context-menu/context-menu.spec.js.map +1 -0
- package/esm/components/context-menu/index.d.ts +4 -0
- package/esm/components/context-menu/index.d.ts.map +1 -0
- package/esm/components/context-menu/index.js +4 -0
- package/esm/components/context-menu/index.js.map +1 -0
- package/esm/components/data-grid/body.spec.js +194 -184
- package/esm/components/data-grid/body.spec.js.map +1 -1
- package/esm/components/data-grid/data-grid-row.d.ts.map +1 -1
- package/esm/components/data-grid/data-grid-row.js +66 -54
- package/esm/components/data-grid/data-grid-row.js.map +1 -1
- package/esm/components/data-grid/data-grid-row.spec.js +127 -95
- package/esm/components/data-grid/data-grid-row.spec.js.map +1 -1
- package/esm/components/data-grid/data-grid.d.ts.map +1 -1
- package/esm/components/data-grid/data-grid.js +17 -16
- package/esm/components/data-grid/data-grid.js.map +1 -1
- package/esm/components/data-grid/data-grid.spec.js +364 -430
- package/esm/components/data-grid/data-grid.spec.js.map +1 -1
- package/esm/components/data-grid/footer.spec.js +215 -203
- package/esm/components/data-grid/footer.spec.js.map +1 -1
- package/esm/components/data-grid/header.d.ts +3 -1
- package/esm/components/data-grid/header.d.ts.map +1 -1
- package/esm/components/data-grid/header.js +42 -30
- package/esm/components/data-grid/header.js.map +1 -1
- package/esm/components/data-grid/header.spec.js +330 -307
- package/esm/components/data-grid/header.spec.js.map +1 -1
- package/esm/components/data-grid/selection-cell.d.ts +2 -0
- package/esm/components/data-grid/selection-cell.d.ts.map +1 -1
- package/esm/components/data-grid/selection-cell.js +2 -7
- package/esm/components/data-grid/selection-cell.js.map +1 -1
- package/esm/components/data-grid/selection-cell.spec.js +45 -36
- package/esm/components/data-grid/selection-cell.spec.js.map +1 -1
- package/esm/components/dialog.d.ts +46 -0
- package/esm/components/dialog.d.ts.map +1 -0
- package/esm/components/dialog.js +178 -0
- package/esm/components/dialog.js.map +1 -0
- package/esm/components/dialog.spec.d.ts +2 -0
- package/esm/components/dialog.spec.d.ts.map +1 -0
- package/esm/components/dialog.spec.js +113 -0
- package/esm/components/dialog.spec.js.map +1 -0
- package/esm/components/divider.d.ts +22 -0
- package/esm/components/divider.d.ts.map +1 -0
- package/esm/components/divider.js +113 -0
- package/esm/components/divider.js.map +1 -0
- package/esm/components/divider.spec.d.ts +2 -0
- package/esm/components/divider.spec.d.ts.map +1 -0
- package/esm/components/divider.spec.js +136 -0
- package/esm/components/divider.spec.js.map +1 -0
- package/esm/components/drawer/drawer-toggle-button.d.ts +36 -0
- package/esm/components/drawer/drawer-toggle-button.d.ts.map +1 -0
- package/esm/components/drawer/drawer-toggle-button.js +94 -0
- package/esm/components/drawer/drawer-toggle-button.js.map +1 -0
- package/esm/components/drawer/drawer-toggle-button.spec.d.ts +2 -0
- package/esm/components/drawer/drawer-toggle-button.spec.d.ts.map +1 -0
- package/esm/components/drawer/drawer-toggle-button.spec.js +306 -0
- package/esm/components/drawer/drawer-toggle-button.spec.js.map +1 -0
- package/esm/components/drawer/index.d.ts +56 -0
- package/esm/components/drawer/index.d.ts.map +1 -0
- package/esm/components/drawer/index.js +172 -0
- package/esm/components/drawer/index.js.map +1 -0
- package/esm/components/drawer/index.spec.d.ts +2 -0
- package/esm/components/drawer/index.spec.d.ts.map +1 -0
- package/esm/components/drawer/index.spec.js +538 -0
- package/esm/components/drawer/index.spec.js.map +1 -0
- package/esm/components/dropdown.d.ts +15 -0
- package/esm/components/dropdown.d.ts.map +1 -0
- package/esm/components/dropdown.js +262 -0
- package/esm/components/dropdown.js.map +1 -0
- package/esm/components/dropdown.spec.d.ts +2 -0
- package/esm/components/dropdown.spec.d.ts.map +1 -0
- package/esm/components/dropdown.spec.js +372 -0
- package/esm/components/dropdown.spec.js.map +1 -0
- package/esm/components/fab.d.ts +10 -1
- package/esm/components/fab.d.ts.map +1 -1
- package/esm/components/fab.js +24 -8
- package/esm/components/fab.js.map +1 -1
- package/esm/components/fab.spec.js +50 -39
- package/esm/components/fab.spec.js.map +1 -1
- package/esm/components/form.d.ts.map +1 -1
- package/esm/components/form.js +9 -7
- package/esm/components/form.js.map +1 -1
- package/esm/components/form.spec.js +209 -199
- package/esm/components/form.spec.js.map +1 -1
- package/esm/components/grid.js +10 -10
- package/esm/components/grid.js.map +1 -1
- package/esm/components/grid.spec.js +109 -85
- package/esm/components/grid.spec.js.map +1 -1
- package/esm/components/icons/icon-definitions.d.ts +140 -0
- package/esm/components/icons/icon-definitions.d.ts.map +1 -0
- package/esm/components/icons/icon-definitions.js +432 -0
- package/esm/components/icons/icon-definitions.js.map +1 -0
- package/esm/components/icons/icon-definitions.spec.d.ts +2 -0
- package/esm/components/icons/icon-definitions.spec.d.ts.map +1 -0
- package/esm/components/icons/icon-definitions.spec.js +59 -0
- package/esm/components/icons/icon-definitions.spec.js.map +1 -0
- package/esm/components/icons/icon-types.d.ts +48 -0
- package/esm/components/icons/icon-types.d.ts.map +1 -0
- package/esm/components/icons/icon-types.js +2 -0
- package/esm/components/icons/icon-types.js.map +1 -0
- package/esm/components/icons/icon.d.ts +56 -0
- package/esm/components/icons/icon.d.ts.map +1 -0
- package/esm/components/icons/icon.js +61 -0
- package/esm/components/icons/icon.js.map +1 -0
- package/esm/components/icons/icon.spec.d.ts +2 -0
- package/esm/components/icons/icon.spec.d.ts.map +1 -0
- package/esm/components/icons/icon.spec.js +224 -0
- package/esm/components/icons/icon.spec.js.map +1 -0
- package/esm/components/icons/index.d.ts +5 -0
- package/esm/components/icons/index.d.ts.map +1 -0
- package/esm/components/icons/index.js +3 -0
- package/esm/components/icons/index.js.map +1 -0
- package/esm/components/image.d.ts +62 -0
- package/esm/components/image.d.ts.map +1 -0
- package/esm/components/image.js +348 -0
- package/esm/components/image.js.map +1 -0
- package/esm/components/image.spec.d.ts +2 -0
- package/esm/components/image.spec.d.ts.map +1 -0
- package/esm/components/image.spec.js +542 -0
- package/esm/components/image.spec.js.map +1 -0
- package/esm/components/index.d.ts +32 -4
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +32 -4
- package/esm/components/index.js.map +1 -1
- package/esm/components/inputs/autocomplete.d.ts +2 -0
- package/esm/components/inputs/autocomplete.d.ts.map +1 -1
- package/esm/components/inputs/autocomplete.js +10 -6
- package/esm/components/inputs/autocomplete.js.map +1 -1
- package/esm/components/inputs/autocomplete.spec.js +10 -1
- package/esm/components/inputs/autocomplete.spec.js.map +1 -1
- package/esm/components/inputs/checkbox.d.ts +50 -0
- package/esm/components/inputs/checkbox.d.ts.map +1 -0
- package/esm/components/inputs/checkbox.js +126 -0
- package/esm/components/inputs/checkbox.js.map +1 -0
- package/esm/components/inputs/checkbox.spec.d.ts +2 -0
- package/esm/components/inputs/checkbox.spec.d.ts.map +1 -0
- package/esm/components/inputs/checkbox.spec.js +287 -0
- package/esm/components/inputs/checkbox.spec.js.map +1 -0
- package/esm/components/inputs/index.d.ts +7 -0
- package/esm/components/inputs/index.d.ts.map +1 -1
- package/esm/components/inputs/index.js +7 -0
- package/esm/components/inputs/index.js.map +1 -1
- package/esm/components/inputs/input-number.d.ts +79 -0
- package/esm/components/inputs/input-number.d.ts.map +1 -0
- package/esm/components/inputs/input-number.js +232 -0
- package/esm/components/inputs/input-number.js.map +1 -0
- package/esm/components/inputs/input-number.spec.d.ts +2 -0
- package/esm/components/inputs/input-number.spec.d.ts.map +1 -0
- package/esm/components/inputs/input-number.spec.js +516 -0
- package/esm/components/inputs/input-number.spec.js.map +1 -0
- package/esm/components/inputs/input.d.ts +2 -1
- package/esm/components/inputs/input.d.ts.map +1 -1
- package/esm/components/inputs/input.js +86 -116
- package/esm/components/inputs/input.js.map +1 -1
- package/esm/components/inputs/input.spec.js +461 -427
- package/esm/components/inputs/input.spec.js.map +1 -1
- package/esm/components/inputs/radio-group.d.ts +38 -0
- package/esm/components/inputs/radio-group.d.ts.map +1 -0
- package/esm/components/inputs/radio-group.js +58 -0
- package/esm/components/inputs/radio-group.js.map +1 -0
- package/esm/components/inputs/radio-group.spec.d.ts +2 -0
- package/esm/components/inputs/radio-group.spec.d.ts.map +1 -0
- package/esm/components/inputs/radio-group.spec.js +201 -0
- package/esm/components/inputs/radio-group.spec.js.map +1 -0
- package/esm/components/inputs/radio.d.ts +42 -0
- package/esm/components/inputs/radio.d.ts.map +1 -0
- package/esm/components/inputs/radio.js +134 -0
- package/esm/components/inputs/radio.js.map +1 -0
- package/esm/components/inputs/radio.spec.d.ts +2 -0
- package/esm/components/inputs/radio.spec.d.ts.map +1 -0
- package/esm/components/inputs/radio.spec.js +211 -0
- package/esm/components/inputs/radio.spec.js.map +1 -0
- package/esm/components/inputs/select.d.ts +67 -0
- package/esm/components/inputs/select.d.ts.map +1 -0
- package/esm/components/inputs/select.js +581 -0
- package/esm/components/inputs/select.js.map +1 -0
- package/esm/components/inputs/select.spec.d.ts +2 -0
- package/esm/components/inputs/select.spec.d.ts.map +1 -0
- package/esm/components/inputs/select.spec.js +1009 -0
- package/esm/components/inputs/select.spec.js.map +1 -0
- package/esm/components/inputs/slider.d.ts +66 -0
- package/esm/components/inputs/slider.d.ts.map +1 -0
- package/esm/components/inputs/slider.js +526 -0
- package/esm/components/inputs/slider.js.map +1 -0
- package/esm/components/inputs/slider.spec.d.ts +2 -0
- package/esm/components/inputs/slider.spec.d.ts.map +1 -0
- package/esm/components/inputs/slider.spec.js +812 -0
- package/esm/components/inputs/slider.spec.js.map +1 -0
- package/esm/components/inputs/switch.d.ts +50 -0
- package/esm/components/inputs/switch.d.ts.map +1 -0
- package/esm/components/inputs/switch.js +138 -0
- package/esm/components/inputs/switch.js.map +1 -0
- package/esm/components/inputs/switch.spec.d.ts +2 -0
- package/esm/components/inputs/switch.spec.d.ts.map +1 -0
- package/esm/components/inputs/switch.spec.js +313 -0
- package/esm/components/inputs/switch.spec.js.map +1 -0
- package/esm/components/inputs/text-area.d.ts +2 -0
- package/esm/components/inputs/text-area.d.ts.map +1 -1
- package/esm/components/inputs/text-area.js +13 -21
- package/esm/components/inputs/text-area.js.map +1 -1
- package/esm/components/inputs/text-area.spec.js +171 -156
- package/esm/components/inputs/text-area.spec.js.map +1 -1
- package/esm/components/linear-progress.d.ts +32 -0
- package/esm/components/linear-progress.d.ts.map +1 -0
- package/esm/components/linear-progress.js +79 -0
- package/esm/components/linear-progress.js.map +1 -0
- package/esm/components/linear-progress.spec.d.ts +2 -0
- package/esm/components/linear-progress.spec.d.ts.map +1 -0
- package/esm/components/linear-progress.spec.js +251 -0
- package/esm/components/linear-progress.spec.js.map +1 -0
- package/esm/components/list/index.d.ts +3 -0
- package/esm/components/list/index.d.ts.map +1 -0
- package/esm/components/list/index.js +3 -0
- package/esm/components/list/index.js.map +1 -0
- package/esm/components/list/list-item.d.ts +13 -0
- package/esm/components/list/list-item.d.ts.map +1 -0
- package/esm/components/list/list-item.js +81 -0
- package/esm/components/list/list-item.js.map +1 -0
- package/esm/components/list/list.d.ts +18 -0
- package/esm/components/list/list.d.ts.map +1 -0
- package/esm/components/list/list.js +42 -0
- package/esm/components/list/list.js.map +1 -0
- package/esm/components/list/list.spec.d.ts +2 -0
- package/esm/components/list/list.spec.d.ts.map +1 -0
- package/esm/components/list/list.spec.js +540 -0
- package/esm/components/list/list.spec.js.map +1 -0
- package/esm/components/loader.d.ts +2 -0
- package/esm/components/loader.d.ts.map +1 -1
- package/esm/components/loader.js +18 -10
- package/esm/components/loader.js.map +1 -1
- package/esm/components/loader.spec.js +191 -175
- package/esm/components/loader.spec.js.map +1 -1
- package/esm/components/menu/index.d.ts +3 -0
- package/esm/components/menu/index.d.ts.map +1 -0
- package/esm/components/menu/index.js +3 -0
- package/esm/components/menu/index.js.map +1 -0
- package/esm/components/menu/menu-types.d.ts +27 -0
- package/esm/components/menu/menu-types.d.ts.map +1 -0
- package/esm/components/menu/menu-types.js +22 -0
- package/esm/components/menu/menu-types.js.map +1 -0
- package/esm/components/menu/menu-types.spec.d.ts +2 -0
- package/esm/components/menu/menu-types.spec.d.ts.map +1 -0
- package/esm/components/menu/menu-types.spec.js +103 -0
- package/esm/components/menu/menu-types.spec.js.map +1 -0
- package/esm/components/menu/menu.d.ts +17 -0
- package/esm/components/menu/menu.d.ts.map +1 -0
- package/esm/components/menu/menu.js +240 -0
- package/esm/components/menu/menu.js.map +1 -0
- package/esm/components/menu/menu.spec.d.ts +2 -0
- package/esm/components/menu/menu.spec.d.ts.map +1 -0
- package/esm/components/menu/menu.spec.js +427 -0
- package/esm/components/menu/menu.spec.js.map +1 -0
- package/esm/components/modal.d.ts +3 -2
- package/esm/components/modal.d.ts.map +1 -1
- package/esm/components/modal.js +8 -5
- package/esm/components/modal.js.map +1 -1
- package/esm/components/modal.spec.js +50 -43
- package/esm/components/modal.spec.js.map +1 -1
- package/esm/components/noty-list.d.ts +4 -0
- package/esm/components/noty-list.d.ts.map +1 -1
- package/esm/components/noty-list.js +65 -53
- package/esm/components/noty-list.js.map +1 -1
- package/esm/components/noty-list.spec.js +71 -68
- package/esm/components/noty-list.spec.js.map +1 -1
- package/esm/components/page-container/index.d.ts +54 -0
- package/esm/components/page-container/index.d.ts.map +1 -0
- package/esm/components/page-container/index.js +63 -0
- package/esm/components/page-container/index.js.map +1 -0
- package/esm/components/page-container/index.spec.d.ts +2 -0
- package/esm/components/page-container/index.spec.d.ts.map +1 -0
- package/esm/components/page-container/index.spec.js +217 -0
- package/esm/components/page-container/index.spec.js.map +1 -0
- package/esm/components/page-container/page-header.d.ts +57 -0
- package/esm/components/page-container/page-header.d.ts.map +1 -0
- package/esm/components/page-container/page-header.js +93 -0
- package/esm/components/page-container/page-header.js.map +1 -0
- package/esm/components/page-container/page-header.spec.d.ts +2 -0
- package/esm/components/page-container/page-header.spec.d.ts.map +1 -0
- package/esm/components/page-container/page-header.spec.js +230 -0
- package/esm/components/page-container/page-header.spec.js.map +1 -0
- package/esm/components/page-layout/index.d.ts +83 -0
- package/esm/components/page-layout/index.d.ts.map +1 -0
- package/esm/components/page-layout/index.js +288 -0
- package/esm/components/page-layout/index.js.map +1 -0
- package/esm/components/page-layout/index.spec.d.ts +2 -0
- package/esm/components/page-layout/index.spec.d.ts.map +1 -0
- package/esm/components/page-layout/index.spec.js +637 -0
- package/esm/components/page-layout/index.spec.js.map +1 -0
- package/esm/components/pagination.d.ts +43 -0
- package/esm/components/pagination.d.ts.map +1 -0
- package/esm/components/pagination.js +165 -0
- package/esm/components/pagination.js.map +1 -0
- package/esm/components/pagination.spec.d.ts +2 -0
- package/esm/components/pagination.spec.d.ts.map +1 -0
- package/esm/components/pagination.spec.js +195 -0
- package/esm/components/pagination.spec.js.map +1 -0
- package/esm/components/paper.d.ts +3 -1
- package/esm/components/paper.d.ts.map +1 -1
- package/esm/components/paper.js +11 -9
- package/esm/components/paper.js.map +1 -1
- package/esm/components/paper.spec.js +26 -18
- package/esm/components/paper.spec.js.map +1 -1
- package/esm/components/rating.d.ts +62 -0
- package/esm/components/rating.d.ts.map +1 -0
- package/esm/components/rating.js +201 -0
- package/esm/components/rating.js.map +1 -0
- package/esm/components/rating.spec.d.ts +2 -0
- package/esm/components/rating.spec.d.ts.map +1 -0
- package/esm/components/rating.spec.js +663 -0
- package/esm/components/rating.spec.js.map +1 -0
- package/esm/components/result.d.ts +37 -0
- package/esm/components/result.d.ts.map +1 -0
- package/esm/components/result.js +109 -0
- package/esm/components/result.js.map +1 -0
- package/esm/components/result.spec.d.ts +2 -0
- package/esm/components/result.spec.d.ts.map +1 -0
- package/esm/components/result.spec.js +159 -0
- package/esm/components/result.spec.js.map +1 -0
- package/esm/components/searchable-input-styles.d.ts +8 -0
- package/esm/components/searchable-input-styles.d.ts.map +1 -0
- package/esm/components/searchable-input-styles.js +71 -0
- package/esm/components/searchable-input-styles.js.map +1 -0
- package/esm/components/skeleton.d.ts +2 -0
- package/esm/components/skeleton.d.ts.map +1 -1
- package/esm/components/skeleton.js +19 -6
- package/esm/components/skeleton.js.map +1 -1
- package/esm/components/skeleton.spec.js +103 -95
- package/esm/components/skeleton.spec.js.map +1 -1
- package/esm/components/styles.d.ts.map +1 -1
- package/esm/components/styles.js +14 -13
- package/esm/components/styles.js.map +1 -1
- package/esm/components/styles.spec.js +27 -26
- package/esm/components/styles.spec.js.map +1 -1
- package/esm/components/suggest/index.d.ts.map +1 -1
- package/esm/components/suggest/index.js +24 -85
- package/esm/components/suggest/index.js.map +1 -1
- package/esm/components/suggest/index.spec.js +402 -378
- package/esm/components/suggest/index.spec.js.map +1 -1
- package/esm/components/suggest/suggest-input.d.ts +2 -0
- package/esm/components/suggest/suggest-input.d.ts.map +1 -1
- package/esm/components/suggest/suggest-input.js +10 -8
- package/esm/components/suggest/suggest-input.js.map +1 -1
- package/esm/components/suggest/suggest-input.spec.js +83 -71
- package/esm/components/suggest/suggest-input.spec.js.map +1 -1
- package/esm/components/suggest/suggest-manager.spec.js +102 -92
- package/esm/components/suggest/suggest-manager.spec.js.map +1 -1
- package/esm/components/suggest/suggestion-list.d.ts.map +1 -1
- package/esm/components/suggest/suggestion-list.js +21 -22
- package/esm/components/suggest/suggestion-list.js.map +1 -1
- package/esm/components/suggest/suggestion-list.spec.js +165 -146
- package/esm/components/suggest/suggestion-list.spec.js.map +1 -1
- package/esm/components/tabs.d.ts +18 -2
- package/esm/components/tabs.d.ts.map +1 -1
- package/esm/components/tabs.js +154 -14
- package/esm/components/tabs.js.map +1 -1
- package/esm/components/tabs.spec.js +295 -7
- package/esm/components/tabs.spec.js.map +1 -1
- package/esm/components/timeline.d.ts +53 -0
- package/esm/components/timeline.d.ts.map +1 -0
- package/esm/components/timeline.js +162 -0
- package/esm/components/timeline.js.map +1 -0
- package/esm/components/timeline.spec.d.ts +2 -0
- package/esm/components/timeline.spec.d.ts.map +1 -0
- package/esm/components/timeline.spec.js +209 -0
- package/esm/components/timeline.spec.js.map +1 -0
- package/esm/components/tooltip.d.ts +25 -0
- package/esm/components/tooltip.d.ts.map +1 -0
- package/esm/components/tooltip.js +113 -0
- package/esm/components/tooltip.js.map +1 -0
- package/esm/components/tooltip.spec.d.ts +2 -0
- package/esm/components/tooltip.spec.d.ts.map +1 -0
- package/esm/components/tooltip.spec.js +152 -0
- package/esm/components/tooltip.spec.js.map +1 -0
- package/esm/components/tree/index.d.ts +3 -0
- package/esm/components/tree/index.d.ts.map +1 -0
- package/esm/components/tree/index.js +3 -0
- package/esm/components/tree/index.js.map +1 -0
- package/esm/components/tree/tree-item.d.ts +14 -0
- package/esm/components/tree/tree-item.d.ts.map +1 -0
- package/esm/components/tree/tree-item.js +118 -0
- package/esm/components/tree/tree-item.js.map +1 -0
- package/esm/components/tree/tree.d.ts +20 -0
- package/esm/components/tree/tree.d.ts.map +1 -0
- package/esm/components/tree/tree.js +66 -0
- package/esm/components/tree/tree.js.map +1 -0
- package/esm/components/tree/tree.spec.d.ts +2 -0
- package/esm/components/tree/tree.spec.d.ts.map +1 -0
- package/esm/components/tree/tree.spec.js +427 -0
- package/esm/components/tree/tree.spec.js.map +1 -0
- package/esm/components/typography.d.ts +48 -0
- package/esm/components/typography.d.ts.map +1 -0
- package/esm/components/typography.js +223 -0
- package/esm/components/typography.js.map +1 -0
- package/esm/components/typography.spec.d.ts +2 -0
- package/esm/components/typography.spec.d.ts.map +1 -0
- package/esm/components/typography.spec.js +199 -0
- package/esm/components/typography.spec.js.map +1 -0
- package/esm/components/wizard/index.d.ts +2 -0
- package/esm/components/wizard/index.d.ts.map +1 -1
- package/esm/components/wizard/index.spec.js +70 -56
- package/esm/components/wizard/index.spec.js.map +1 -1
- package/esm/services/click-away-service.d.ts +5 -2
- package/esm/services/click-away-service.d.ts.map +1 -1
- package/esm/services/click-away-service.js +7 -1
- package/esm/services/click-away-service.js.map +1 -1
- package/esm/services/click-away-service.spec.js +14 -12
- package/esm/services/click-away-service.spec.js.map +1 -1
- package/esm/services/css-variable-theme.d.ts +167 -1
- package/esm/services/css-variable-theme.d.ts.map +1 -1
- package/esm/services/css-variable-theme.js +102 -0
- package/esm/services/css-variable-theme.js.map +1 -1
- package/esm/services/css-variable-theme.spec.js +131 -1
- package/esm/services/css-variable-theme.spec.js.map +1 -1
- package/esm/services/default-dark-theme.d.ts +107 -2
- package/esm/services/default-dark-theme.d.ts.map +1 -1
- package/esm/services/default-dark-theme.js +87 -1
- package/esm/services/default-dark-theme.js.map +1 -1
- package/esm/services/default-light-theme.d.ts +107 -2
- package/esm/services/default-light-theme.d.ts.map +1 -1
- package/esm/services/default-light-theme.js +86 -0
- package/esm/services/default-light-theme.js.map +1 -1
- package/esm/services/index.d.ts +6 -2
- package/esm/services/index.d.ts.map +1 -1
- package/esm/services/index.js +6 -2
- package/esm/services/index.js.map +1 -1
- package/esm/services/layout-service.d.ts +217 -0
- package/esm/services/layout-service.d.ts.map +1 -0
- package/esm/services/layout-service.js +331 -0
- package/esm/services/layout-service.js.map +1 -0
- package/esm/services/layout-service.spec.d.ts +2 -0
- package/esm/services/layout-service.spec.d.ts.map +1 -0
- package/esm/services/layout-service.spec.js +425 -0
- package/esm/services/layout-service.spec.js.map +1 -0
- package/esm/services/list-service.d.ts +31 -0
- package/esm/services/list-service.d.ts.map +1 -0
- package/esm/services/list-service.js +149 -0
- package/esm/services/list-service.js.map +1 -0
- package/esm/services/list-service.spec.d.ts +2 -0
- package/esm/services/list-service.spec.d.ts.map +1 -0
- package/esm/services/list-service.spec.js +283 -0
- package/esm/services/list-service.spec.js.map +1 -0
- package/esm/services/palette-css-vars.d.ts +12 -0
- package/esm/services/palette-css-vars.d.ts.map +1 -0
- package/esm/services/palette-css-vars.js +44 -0
- package/esm/services/palette-css-vars.js.map +1 -0
- package/esm/services/theme-provider-service.d.ts +387 -2
- package/esm/services/theme-provider-service.d.ts.map +1 -1
- package/esm/services/theme-provider-service.js.map +1 -1
- package/esm/services/tree-service.d.ts +61 -0
- package/esm/services/tree-service.d.ts.map +1 -0
- package/esm/services/tree-service.js +149 -0
- package/esm/services/tree-service.js.map +1 -0
- package/esm/services/tree-service.spec.d.ts +2 -0
- package/esm/services/tree-service.spec.d.ts.map +1 -0
- package/esm/services/tree-service.spec.js +338 -0
- package/esm/services/tree-service.spec.js.map +1 -0
- package/esm/utils/promisify-animation.d.ts.map +1 -1
- package/esm/utils/promisify-animation.js +6 -1
- package/esm/utils/promisify-animation.js.map +1 -1
- package/package.json +7 -8
- package/src/components/accordion/accordion-item.tsx +197 -0
- package/src/components/accordion/accordion.spec.tsx +418 -0
- package/src/components/accordion/accordion.tsx +50 -0
- package/src/components/accordion/index.ts +2 -0
- package/src/components/alert.spec.tsx +256 -0
- package/src/components/alert.tsx +186 -0
- package/src/components/app-bar-link.spec.tsx +22 -19
- package/src/components/app-bar-link.tsx +29 -10
- package/src/components/app-bar.spec.tsx +73 -58
- package/src/components/app-bar.tsx +19 -12
- package/src/components/avatar.tsx +46 -47
- package/src/components/badge.spec.tsx +228 -0
- package/src/components/badge.tsx +104 -0
- package/src/components/breadcrumb.spec.tsx +396 -0
- package/src/components/breadcrumb.tsx +188 -0
- package/src/components/button-group.spec.tsx +611 -0
- package/src/components/button-group.tsx +423 -0
- package/src/components/button.spec.tsx +257 -67
- package/src/components/button.tsx +130 -80
- package/src/components/card.spec.tsx +389 -0
- package/src/components/card.tsx +261 -0
- package/src/components/carousel.spec.tsx +894 -0
- package/src/components/carousel.tsx +376 -0
- package/src/components/chip.spec.tsx +200 -0
- package/src/components/chip.tsx +188 -0
- package/src/components/circular-progress.spec.tsx +289 -0
- package/src/components/circular-progress.tsx +145 -0
- package/src/components/command-palette/command-palette-input.spec.tsx +219 -219
- package/src/components/command-palette/command-palette-input.tsx +25 -9
- package/src/components/command-palette/command-palette-manager.spec.ts +132 -117
- package/src/components/command-palette/command-palette-suggestion-list.spec.tsx +358 -358
- package/src/components/command-palette/command-palette-suggestion-list.tsx +22 -20
- package/src/components/command-palette/index.spec.tsx +12 -12
- package/src/components/command-palette/index.tsx +25 -102
- package/src/components/context-menu/context-menu-item.tsx +85 -0
- package/src/components/context-menu/context-menu-manager.spec.ts +433 -0
- package/src/components/context-menu/context-menu-manager.ts +148 -0
- package/src/components/context-menu/context-menu.spec.tsx +352 -0
- package/src/components/context-menu/context-menu.tsx +116 -0
- package/src/components/context-menu/index.ts +3 -0
- package/src/components/data-grid/body.spec.tsx +287 -283
- package/src/components/data-grid/data-grid-row.spec.tsx +165 -140
- package/src/components/data-grid/data-grid-row.tsx +72 -55
- package/src/components/data-grid/data-grid.spec.tsx +659 -729
- package/src/components/data-grid/data-grid.tsx +19 -15
- package/src/components/data-grid/footer.spec.tsx +249 -237
- package/src/components/data-grid/header.spec.tsx +374 -351
- package/src/components/data-grid/header.tsx +58 -39
- package/src/components/data-grid/selection-cell.spec.tsx +46 -45
- package/src/components/data-grid/selection-cell.tsx +2 -6
- package/src/components/dialog.spec.tsx +135 -0
- package/src/components/dialog.tsx +277 -0
- package/src/components/divider.spec.tsx +197 -0
- package/src/components/divider.tsx +147 -0
- package/src/components/drawer/drawer-toggle-button.spec.tsx +374 -0
- package/src/components/drawer/drawer-toggle-button.tsx +124 -0
- package/src/components/drawer/index.spec.tsx +748 -0
- package/src/components/drawer/index.tsx +227 -0
- package/src/components/dropdown.spec.tsx +445 -0
- package/src/components/dropdown.tsx +343 -0
- package/src/components/fab.spec.tsx +51 -40
- package/src/components/fab.tsx +32 -9
- package/src/components/form.spec.tsx +303 -293
- package/src/components/form.tsx +10 -7
- package/src/components/grid.spec.tsx +276 -183
- package/src/components/grid.tsx +10 -10
- package/src/components/icons/icon-definitions.spec.ts +68 -0
- package/src/components/icons/icon-definitions.ts +509 -0
- package/src/components/icons/icon-types.ts +48 -0
- package/src/components/icons/icon.spec.tsx +314 -0
- package/src/components/icons/icon.tsx +111 -0
- package/src/components/icons/index.ts +4 -0
- package/src/components/image.spec.tsx +748 -0
- package/src/components/image.tsx +520 -0
- package/src/components/index.ts +32 -4
- package/src/components/inputs/autocomplete.spec.tsx +10 -1
- package/src/components/inputs/autocomplete.tsx +13 -7
- package/src/components/inputs/checkbox.spec.tsx +377 -0
- package/src/components/inputs/checkbox.tsx +198 -0
- package/src/components/inputs/index.ts +7 -0
- package/src/components/inputs/input-number.spec.tsx +686 -0
- package/src/components/inputs/input-number.tsx +387 -0
- package/src/components/inputs/input.spec.tsx +544 -508
- package/src/components/inputs/input.tsx +91 -132
- package/src/components/inputs/radio-group.spec.tsx +281 -0
- package/src/components/inputs/radio-group.tsx +108 -0
- package/src/components/inputs/radio.spec.tsx +273 -0
- package/src/components/inputs/radio.tsx +199 -0
- package/src/components/inputs/select.spec.tsx +1237 -0
- package/src/components/inputs/select.tsx +775 -0
- package/src/components/inputs/slider.spec.tsx +1020 -0
- package/src/components/inputs/slider.tsx +696 -0
- package/src/components/inputs/switch.spec.tsx +410 -0
- package/src/components/inputs/switch.tsx +218 -0
- package/src/components/inputs/text-area.spec.tsx +186 -171
- package/src/components/inputs/text-area.tsx +13 -19
- package/src/components/linear-progress.spec.tsx +320 -0
- package/src/components/linear-progress.tsx +127 -0
- package/src/components/list/index.ts +2 -0
- package/src/components/list/list-item.tsx +106 -0
- package/src/components/list/list.spec.tsx +817 -0
- package/src/components/list/list.tsx +92 -0
- package/src/components/loader.spec.tsx +220 -204
- package/src/components/loader.tsx +17 -9
- package/src/components/menu/index.ts +2 -0
- package/src/components/menu/menu-types.spec.ts +122 -0
- package/src/components/menu/menu-types.ts +43 -0
- package/src/components/menu/menu.spec.tsx +483 -0
- package/src/components/menu/menu.tsx +326 -0
- package/src/components/modal.spec.tsx +65 -55
- package/src/components/modal.tsx +9 -6
- package/src/components/noty-list.spec.tsx +78 -75
- package/src/components/noty-list.tsx +76 -68
- package/src/components/page-container/index.spec.tsx +274 -0
- package/src/components/page-container/index.tsx +82 -0
- package/src/components/page-container/page-header.spec.tsx +308 -0
- package/src/components/page-container/page-header.tsx +127 -0
- package/src/components/page-layout/index.spec.tsx +882 -0
- package/src/components/page-layout/index.tsx +392 -0
- package/src/components/pagination.spec.tsx +275 -0
- package/src/components/pagination.tsx +249 -0
- package/src/components/paper.spec.tsx +26 -18
- package/src/components/paper.tsx +12 -10
- package/src/components/rating.spec.tsx +866 -0
- package/src/components/rating.tsx +286 -0
- package/src/components/result.spec.tsx +221 -0
- package/src/components/result.tsx +155 -0
- package/src/components/searchable-input-styles.ts +81 -0
- package/src/components/skeleton.spec.tsx +126 -118
- package/src/components/skeleton.tsx +23 -6
- package/src/components/styles.spec.ts +27 -28
- package/src/components/styles.tsx +15 -13
- package/src/components/suggest/index.spec.tsx +611 -587
- package/src/components/suggest/index.tsx +28 -95
- package/src/components/suggest/suggest-input.spec.tsx +95 -81
- package/src/components/suggest/suggest-input.tsx +9 -7
- package/src/components/suggest/suggest-manager.spec.ts +103 -93
- package/src/components/suggest/suggestion-list.spec.tsx +194 -173
- package/src/components/suggest/suggestion-list.tsx +23 -22
- package/src/components/tabs.spec.tsx +369 -7
- package/src/components/tabs.tsx +221 -18
- package/src/components/timeline.spec.tsx +294 -0
- package/src/components/timeline.tsx +221 -0
- package/src/components/tooltip.spec.tsx +223 -0
- package/src/components/tooltip.tsx +155 -0
- package/src/components/tree/index.ts +2 -0
- package/src/components/tree/tree-item.tsx +161 -0
- package/src/components/tree/tree.spec.tsx +677 -0
- package/src/components/tree/tree.tsx +111 -0
- package/src/components/typography.spec.tsx +235 -0
- package/src/components/typography.tsx +292 -0
- package/src/components/wizard/index.spec.tsx +77 -68
- package/src/services/click-away-service.spec.ts +14 -16
- package/src/services/click-away-service.ts +9 -3
- package/src/services/css-variable-theme.spec.ts +169 -1
- package/src/services/css-variable-theme.ts +107 -2
- package/src/services/default-dark-theme.ts +89 -3
- package/src/services/default-light-theme.ts +88 -2
- package/src/services/index.ts +6 -2
- package/src/services/layout-service.spec.ts +535 -0
- package/src/services/layout-service.ts +391 -0
- package/src/services/list-service.spec.ts +362 -0
- package/src/services/list-service.ts +169 -0
- package/src/services/palette-css-vars.ts +46 -0
- package/src/services/theme-provider-service.ts +246 -1
- package/src/services/tree-service.spec.ts +412 -0
- package/src/services/tree-service.ts +179 -0
- package/src/utils/promisify-animation.ts +7 -1
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// TIER 1 — Used in core components (required for emoji replacement)
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// --- Actions / Controls ---
|
|
5
|
+
/** X mark icon for close, dismiss, and cancel actions */
|
|
6
|
+
export const close = {
|
|
7
|
+
paths: [{ d: 'M18 6L6 18M6 6l12 12' }],
|
|
8
|
+
};
|
|
9
|
+
/** Checkmark icon for confirmation and selection */
|
|
10
|
+
export const check = {
|
|
11
|
+
paths: [{ d: 'M20 6L9 17l-5-5' }],
|
|
12
|
+
};
|
|
13
|
+
/** Circled checkmark for success states */
|
|
14
|
+
export const checkCircle = {
|
|
15
|
+
style: 'fill',
|
|
16
|
+
paths: [
|
|
17
|
+
{
|
|
18
|
+
d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.42-1.42L10 14.17l7.58-7.59L19 8l-9 9z',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
};
|
|
22
|
+
/** Circled X for error states */
|
|
23
|
+
export const errorCircle = {
|
|
24
|
+
style: 'fill',
|
|
25
|
+
paths: [
|
|
26
|
+
{
|
|
27
|
+
d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
/** Triangle warning icon */
|
|
32
|
+
export const warning = {
|
|
33
|
+
style: 'fill',
|
|
34
|
+
paths: [
|
|
35
|
+
{
|
|
36
|
+
d: 'M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z',
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
/** Circled "i" for informational messages */
|
|
41
|
+
export const info = {
|
|
42
|
+
style: 'fill',
|
|
43
|
+
paths: [
|
|
44
|
+
{
|
|
45
|
+
d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
};
|
|
49
|
+
/** Circle with a slash for forbidden / 403 */
|
|
50
|
+
export const forbidden = {
|
|
51
|
+
paths: [{ d: 'M12 2a10 10 0 100 20 10 10 0 000-20z' }, { d: 'M4.93 4.93l14.14 14.14' }],
|
|
52
|
+
};
|
|
53
|
+
/** Magnifying glass with an X for "not found" / 404 */
|
|
54
|
+
export const searchOff = {
|
|
55
|
+
paths: [{ d: 'M11 5a6 6 0 100 12 6 6 0 000-12z' }, { d: 'M21 21l-4.35-4.35' }, { d: 'M8 8l6 6M14 8l-6 6' }],
|
|
56
|
+
};
|
|
57
|
+
/** Explosion / server error icon for 500 */
|
|
58
|
+
export const serverError = {
|
|
59
|
+
paths: [{ d: 'M12 2l1.5 5.5L19 6l-3 5 5 1.5L16.5 15l2 5.5-5-3L12 22l-1.5-4.5-5 3 2-5.5L2 12.5 7 11l-3-5 5.5 1.5z' }],
|
|
60
|
+
};
|
|
61
|
+
// --- Navigation / Direction ---
|
|
62
|
+
/** Left-pointing chevron */
|
|
63
|
+
export const chevronLeft = {
|
|
64
|
+
paths: [{ d: 'M15 18l-6-6 6-6' }],
|
|
65
|
+
};
|
|
66
|
+
/** Right-pointing chevron */
|
|
67
|
+
export const chevronRight = {
|
|
68
|
+
paths: [{ d: 'M9 6l6 6-6 6' }],
|
|
69
|
+
};
|
|
70
|
+
/** Up-pointing chevron */
|
|
71
|
+
export const chevronUp = {
|
|
72
|
+
paths: [{ d: 'M18 15l-6-6-6 6' }],
|
|
73
|
+
};
|
|
74
|
+
/** Down-pointing chevron */
|
|
75
|
+
export const chevronDown = {
|
|
76
|
+
paths: [{ d: 'M6 9l6 6 6-6' }],
|
|
77
|
+
};
|
|
78
|
+
/** Upward arrow */
|
|
79
|
+
export const arrowUp = {
|
|
80
|
+
paths: [{ d: 'M12 19V5M5 12l7-7 7 7' }],
|
|
81
|
+
};
|
|
82
|
+
/** Downward arrow */
|
|
83
|
+
export const arrowDown = {
|
|
84
|
+
paths: [{ d: 'M12 5v14M19 12l-7 7-7-7' }],
|
|
85
|
+
};
|
|
86
|
+
/** Bidirectional vertical arrow for unsorted state */
|
|
87
|
+
export const arrowUpDown = {
|
|
88
|
+
paths: [{ d: 'M7 3l-4 4h8z' }, { d: 'M17 21l4-4H13z' }, { d: 'M7 7v14M17 17V3' }],
|
|
89
|
+
style: 'fill',
|
|
90
|
+
};
|
|
91
|
+
// --- Search / Zoom ---
|
|
92
|
+
/** Magnifying glass */
|
|
93
|
+
export const search = {
|
|
94
|
+
paths: [{ d: 'M11 5a6 6 0 100 12 6 6 0 000-12z' }, { d: 'M21 21l-4.35-4.35' }],
|
|
95
|
+
};
|
|
96
|
+
/** Magnifying glass with a plus for zoom in */
|
|
97
|
+
export const zoomIn = {
|
|
98
|
+
paths: [{ d: 'M11 5a6 6 0 100 12 6 6 0 000-12z' }, { d: 'M21 21l-4.35-4.35' }, { d: 'M11 8v6M8 11h6' }],
|
|
99
|
+
};
|
|
100
|
+
/** Magnifying glass with a minus for zoom out */
|
|
101
|
+
export const zoomOut = {
|
|
102
|
+
paths: [{ d: 'M11 5a6 6 0 100 12 6 6 0 000-12z' }, { d: 'M21 21l-4.35-4.35' }, { d: 'M8 11h6' }],
|
|
103
|
+
};
|
|
104
|
+
/** Circular arrow for rotate */
|
|
105
|
+
export const rotate = {
|
|
106
|
+
paths: [{ d: 'M1 4v6h6' }, { d: 'M3.51 15a9 9 0 102.13-9.36L1 10' }],
|
|
107
|
+
};
|
|
108
|
+
// --- Rating ---
|
|
109
|
+
/** Filled star */
|
|
110
|
+
export const star = {
|
|
111
|
+
style: 'fill',
|
|
112
|
+
paths: [
|
|
113
|
+
{
|
|
114
|
+
d: 'M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z',
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
};
|
|
118
|
+
/** Star outline */
|
|
119
|
+
export const starOutline = {
|
|
120
|
+
paths: [
|
|
121
|
+
{
|
|
122
|
+
d: 'M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
};
|
|
126
|
+
// --- Misc Tier 1 ---
|
|
127
|
+
/** Clipboard icon */
|
|
128
|
+
export const clipboard = {
|
|
129
|
+
paths: [
|
|
130
|
+
{ d: 'M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2' },
|
|
131
|
+
{ d: 'M15 2H9a1 1 0 00-1 1v2a1 1 0 001 1h6a1 1 0 001-1V3a1 1 0 00-1-1z' },
|
|
132
|
+
],
|
|
133
|
+
};
|
|
134
|
+
/** Broken image placeholder */
|
|
135
|
+
export const imageBroken = {
|
|
136
|
+
paths: [
|
|
137
|
+
{ d: 'M21 3H3a2 2 0 00-2 2v14a2 2 0 002 2h18a2 2 0 002-2V5a2 2 0 00-2-2z' },
|
|
138
|
+
{ d: 'M8.5 10a1.5 1.5 0 100-3 1.5 1.5 0 000 3z' },
|
|
139
|
+
{ d: 'M21 15l-5-5L5 21' },
|
|
140
|
+
{ d: 'M2 2l20 20' },
|
|
141
|
+
],
|
|
142
|
+
};
|
|
143
|
+
// ============================================================================
|
|
144
|
+
// TIER 2 — Commonly used across showcase and general-purpose
|
|
145
|
+
// ============================================================================
|
|
146
|
+
/** House icon for home / landing */
|
|
147
|
+
export const home = {
|
|
148
|
+
paths: [{ d: 'M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2V9z' }, { d: 'M9 22V12h6v10' }],
|
|
149
|
+
};
|
|
150
|
+
/** Person silhouette */
|
|
151
|
+
export const user = {
|
|
152
|
+
paths: [{ d: 'M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2' }, { d: 'M12 3a4 4 0 100 8 4 4 0 000-8z' }],
|
|
153
|
+
};
|
|
154
|
+
/** Gear / cog for settings */
|
|
155
|
+
export const settings = {
|
|
156
|
+
paths: [
|
|
157
|
+
{
|
|
158
|
+
d: 'M12 15a3 3 0 100-6 3 3 0 000 6z',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
d: 'M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 01-2.83 2.83l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-4 0v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83-2.83l.06-.06A1.65 1.65 0 004.68 15a1.65 1.65 0 00-1.51-1H3a2 2 0 010-4h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 012.83-2.83l.06.06A1.65 1.65 0 009 4.68a1.65 1.65 0 001-1.51V3a2 2 0 014 0v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 2.83l-.06.06A1.65 1.65 0 0019.4 9a1.65 1.65 0 001.51 1H21a2 2 0 010 4h-.09a1.65 1.65 0 00-1.51 1z',
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
};
|
|
165
|
+
/** Pencil for edit */
|
|
166
|
+
export const edit = {
|
|
167
|
+
paths: [{ d: 'M17 3a2.83 2.83 0 014 4L7.5 20.5 2 22l1.5-5.5z' }],
|
|
168
|
+
};
|
|
169
|
+
/** Trash can for delete */
|
|
170
|
+
export const trash = {
|
|
171
|
+
paths: [
|
|
172
|
+
{ d: 'M3 6h18' },
|
|
173
|
+
{ d: 'M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2' },
|
|
174
|
+
{ d: 'M10 11v6M14 11v6' },
|
|
175
|
+
],
|
|
176
|
+
};
|
|
177
|
+
/** Floppy disk for save */
|
|
178
|
+
export const save = {
|
|
179
|
+
paths: [
|
|
180
|
+
{ d: 'M19 21H5a2 2 0 01-2-2V5a2 2 0 012-2h11l5 5v11a2 2 0 01-2 2z' },
|
|
181
|
+
{ d: 'M17 21v-8H7v8' },
|
|
182
|
+
{ d: 'M7 3v5h8' },
|
|
183
|
+
],
|
|
184
|
+
};
|
|
185
|
+
/** Chain link */
|
|
186
|
+
export const link = {
|
|
187
|
+
paths: [
|
|
188
|
+
{ d: 'M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71' },
|
|
189
|
+
{ d: 'M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71' },
|
|
190
|
+
],
|
|
191
|
+
};
|
|
192
|
+
/** Bell for notifications */
|
|
193
|
+
export const bell = {
|
|
194
|
+
paths: [{ d: 'M18 8A6 6 0 006 8c0 7-3 9-3 9h18s-3-2-3-9' }, { d: 'M13.73 21a2 2 0 01-3.46 0' }],
|
|
195
|
+
};
|
|
196
|
+
/** Plus sign for add */
|
|
197
|
+
export const plus = {
|
|
198
|
+
paths: [{ d: 'M12 5v14M5 12h14' }],
|
|
199
|
+
};
|
|
200
|
+
/** Minus sign for subtract / collapse */
|
|
201
|
+
export const minus = {
|
|
202
|
+
paths: [{ d: 'M5 12h14' }],
|
|
203
|
+
};
|
|
204
|
+
/** Hamburger menu */
|
|
205
|
+
export const menu = {
|
|
206
|
+
paths: [{ d: 'M3 12h18' }, { d: 'M3 6h18' }, { d: 'M3 18h18' }],
|
|
207
|
+
};
|
|
208
|
+
/** Open eye for visibility */
|
|
209
|
+
export const eye = {
|
|
210
|
+
paths: [{ d: 'M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z' }, { d: 'M12 9a3 3 0 100 6 3 3 0 000-6z' }],
|
|
211
|
+
};
|
|
212
|
+
/** Eye with a slash for hidden */
|
|
213
|
+
export const eyeOff = {
|
|
214
|
+
paths: [
|
|
215
|
+
{ d: 'M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94' },
|
|
216
|
+
{ d: 'M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19' },
|
|
217
|
+
{ d: 'M14.12 14.12a3 3 0 11-4.24-4.24' },
|
|
218
|
+
{ d: 'M1 1l22 22' },
|
|
219
|
+
],
|
|
220
|
+
};
|
|
221
|
+
/** Locked padlock */
|
|
222
|
+
export const lock = {
|
|
223
|
+
paths: [
|
|
224
|
+
{ d: 'M19 11H5a2 2 0 00-2 2v7a2 2 0 002 2h14a2 2 0 002-2v-7a2 2 0 00-2-2z' },
|
|
225
|
+
{ d: 'M7 11V7a5 5 0 0110 0v4' },
|
|
226
|
+
],
|
|
227
|
+
};
|
|
228
|
+
/** Unlocked padlock */
|
|
229
|
+
export const unlock = {
|
|
230
|
+
paths: [{ d: 'M19 11H5a2 2 0 00-2 2v7a2 2 0 002 2h14a2 2 0 002-2v-7a2 2 0 00-2-2z' }, { d: 'M7 11V7a5 5 0 019.9-1' }],
|
|
231
|
+
};
|
|
232
|
+
/** Sun for light theme */
|
|
233
|
+
export const sun = {
|
|
234
|
+
paths: [
|
|
235
|
+
{ d: 'M12 8a4 4 0 100 8 4 4 0 000-8z' },
|
|
236
|
+
{
|
|
237
|
+
d: 'M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42',
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
};
|
|
241
|
+
/** Moon / crescent for dark theme */
|
|
242
|
+
export const moon = {
|
|
243
|
+
paths: [{ d: 'M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z' }],
|
|
244
|
+
};
|
|
245
|
+
/** File / document page */
|
|
246
|
+
export const file = {
|
|
247
|
+
paths: [{ d: 'M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z' }, { d: 'M14 2v6h6' }],
|
|
248
|
+
};
|
|
249
|
+
/** Closed folder */
|
|
250
|
+
export const folder = {
|
|
251
|
+
paths: [
|
|
252
|
+
{
|
|
253
|
+
d: 'M22 19a2 2 0 01-2 2H4a2 2 0 01-2-2V5a2 2 0 012-2h5l2 3h9a2 2 0 012 2z',
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
};
|
|
257
|
+
/** Open folder */
|
|
258
|
+
export const folderOpen = {
|
|
259
|
+
paths: [
|
|
260
|
+
{
|
|
261
|
+
d: 'M22 19a2 2 0 01-2 2H4a2 2 0 01-2-2V5a2 2 0 012-2h5l2 3h9a2 2 0 012 2v1',
|
|
262
|
+
},
|
|
263
|
+
{ d: 'M2 10h20l-2.5 11H4.5z' },
|
|
264
|
+
],
|
|
265
|
+
};
|
|
266
|
+
/** Box / package */
|
|
267
|
+
export const packageIcon = {
|
|
268
|
+
paths: [
|
|
269
|
+
{ d: 'M16.5 9.4l-9-5.19' },
|
|
270
|
+
{
|
|
271
|
+
d: 'M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z',
|
|
272
|
+
},
|
|
273
|
+
{ d: 'M3.27 6.96L12 12.01l8.73-5.05' },
|
|
274
|
+
{ d: 'M12 22.08V12' },
|
|
275
|
+
],
|
|
276
|
+
};
|
|
277
|
+
/** Scissors for cut */
|
|
278
|
+
export const cut = {
|
|
279
|
+
paths: [
|
|
280
|
+
{ d: 'M6 9a3 3 0 100-6 3 3 0 000 6z' },
|
|
281
|
+
{ d: 'M6 21a3 3 0 100-6 3 3 0 000 6z' },
|
|
282
|
+
{ d: 'M20 4L8.12 15.88' },
|
|
283
|
+
{ d: 'M14.47 14.48L20 20' },
|
|
284
|
+
{ d: 'M8.12 8.12L12 12' },
|
|
285
|
+
],
|
|
286
|
+
};
|
|
287
|
+
/** Overlapping squares for copy */
|
|
288
|
+
export const copy = {
|
|
289
|
+
paths: [
|
|
290
|
+
{ d: 'M20 9h-9a2 2 0 00-2 2v9a2 2 0 002 2h9a2 2 0 002-2v-9a2 2 0 00-2-2z' },
|
|
291
|
+
{ d: 'M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1' },
|
|
292
|
+
],
|
|
293
|
+
};
|
|
294
|
+
/** Clipboard with arrow for paste */
|
|
295
|
+
export const paste = {
|
|
296
|
+
paths: [
|
|
297
|
+
{ d: 'M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2' },
|
|
298
|
+
{ d: 'M15 2H9a1 1 0 00-1 1v2a1 1 0 001 1h6a1 1 0 001-1V3a1 1 0 00-1-1z' },
|
|
299
|
+
{ d: 'M12 11v6M9 14h6' },
|
|
300
|
+
],
|
|
301
|
+
};
|
|
302
|
+
/** Curved arrow back for undo */
|
|
303
|
+
export const undo = {
|
|
304
|
+
paths: [{ d: 'M3 7v6h6' }, { d: 'M5.51 17a9 9 0 102.13-9.36L3 13' }],
|
|
305
|
+
};
|
|
306
|
+
/** Curved arrow forward for redo */
|
|
307
|
+
export const redo = {
|
|
308
|
+
paths: [{ d: 'M23 4v6h-6' }, { d: 'M20.49 15a9 9 0 11-2.13-9.36L23 10' }],
|
|
309
|
+
};
|
|
310
|
+
/** Tray with downward arrow for inbox */
|
|
311
|
+
export const inbox = {
|
|
312
|
+
paths: [
|
|
313
|
+
{ d: 'M22 12h-6l-2 3H10l-2-3H2' },
|
|
314
|
+
{ d: 'M5.45 5.11L2 12v6a2 2 0 002 2h16a2 2 0 002-2v-6l-3.45-6.89A2 2 0 0016.76 4H7.24a2 2 0 00-1.79 1.11z' },
|
|
315
|
+
],
|
|
316
|
+
};
|
|
317
|
+
/** Paper plane for send */
|
|
318
|
+
export const send = {
|
|
319
|
+
paths: [{ d: 'M22 2L11 13' }, { d: 'M22 2L15 22l-4-9-9-4z' }],
|
|
320
|
+
};
|
|
321
|
+
/** Filled heart */
|
|
322
|
+
export const heart = {
|
|
323
|
+
style: 'fill',
|
|
324
|
+
paths: [
|
|
325
|
+
{
|
|
326
|
+
d: 'M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z',
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
};
|
|
330
|
+
/** Outlined heart */
|
|
331
|
+
export const heartOutline = {
|
|
332
|
+
paths: [
|
|
333
|
+
{
|
|
334
|
+
d: 'M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z',
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
};
|
|
338
|
+
// ============================================================================
|
|
339
|
+
// TIER 3 — Nice-to-have common icons
|
|
340
|
+
// ============================================================================
|
|
341
|
+
/** Downward arrow into tray for download */
|
|
342
|
+
export const download = {
|
|
343
|
+
paths: [{ d: 'M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4' }, { d: 'M7 10l5 5 5-5' }, { d: 'M12 15V3' }],
|
|
344
|
+
};
|
|
345
|
+
/** Upward arrow from tray for upload */
|
|
346
|
+
export const upload = {
|
|
347
|
+
paths: [{ d: 'M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4' }, { d: 'M17 8l-5-5-5 5' }, { d: 'M12 3v12' }],
|
|
348
|
+
};
|
|
349
|
+
/** Circular arrows for refresh */
|
|
350
|
+
export const refresh = {
|
|
351
|
+
paths: [
|
|
352
|
+
{ d: 'M23 4v6h-6' },
|
|
353
|
+
{ d: 'M1 20v-6h6' },
|
|
354
|
+
{ d: 'M3.51 9a9 9 0 0114.85-3.36L23 10' },
|
|
355
|
+
{ d: 'M20.49 15a9 9 0 01-14.85 3.36L1 14' },
|
|
356
|
+
],
|
|
357
|
+
};
|
|
358
|
+
/** Funnel for filter */
|
|
359
|
+
export const filter = {
|
|
360
|
+
paths: [{ d: 'M22 3H2l8 9.46V19l4 2v-8.54z' }],
|
|
361
|
+
};
|
|
362
|
+
/** Arrow pointing to upper-right with box corner */
|
|
363
|
+
export const externalLink = {
|
|
364
|
+
paths: [{ d: 'M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6' }, { d: 'M15 3h6v6' }, { d: 'M10 14L21 3' }],
|
|
365
|
+
};
|
|
366
|
+
/** Three horizontal dots */
|
|
367
|
+
export const moreHorizontal = {
|
|
368
|
+
style: 'fill',
|
|
369
|
+
paths: [
|
|
370
|
+
{ d: 'M12 10a2 2 0 100 4 2 2 0 000-4z' },
|
|
371
|
+
{ d: 'M5 10a2 2 0 100 4 2 2 0 000-4z' },
|
|
372
|
+
{ d: 'M19 10a2 2 0 100 4 2 2 0 000-4z' },
|
|
373
|
+
],
|
|
374
|
+
};
|
|
375
|
+
/** Three vertical dots */
|
|
376
|
+
export const moreVertical = {
|
|
377
|
+
style: 'fill',
|
|
378
|
+
paths: [
|
|
379
|
+
{ d: 'M12 5a2 2 0 100 4 2 2 0 000-4z' },
|
|
380
|
+
{ d: 'M12 10a2 2 0 100 4 2 2 0 000-4z' },
|
|
381
|
+
{ d: 'M12 17a2 2 0 100-4 2 2 0 000 4z' },
|
|
382
|
+
],
|
|
383
|
+
};
|
|
384
|
+
/** Calendar page */
|
|
385
|
+
export const calendar = {
|
|
386
|
+
paths: [{ d: 'M19 4H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V6a2 2 0 00-2-2z' }, { d: 'M16 2v4M8 2v4M3 10h18' }],
|
|
387
|
+
};
|
|
388
|
+
/** Clock face */
|
|
389
|
+
export const clock = {
|
|
390
|
+
paths: [{ d: 'M12 2a10 10 0 100 20 10 10 0 000-20z' }, { d: 'M12 6v6l4 2' }],
|
|
391
|
+
};
|
|
392
|
+
/** Globe / earth for internationalization */
|
|
393
|
+
export const globe = {
|
|
394
|
+
paths: [
|
|
395
|
+
{ d: 'M12 2a10 10 0 100 20 10 10 0 000-20z' },
|
|
396
|
+
{ d: 'M2 12h20' },
|
|
397
|
+
{ d: 'M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z' },
|
|
398
|
+
],
|
|
399
|
+
};
|
|
400
|
+
/** Map pin / location marker */
|
|
401
|
+
export const pin = {
|
|
402
|
+
paths: [{ d: 'M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z' }, { d: 'M12 7a3 3 0 100 6 3 3 0 000-6z' }],
|
|
403
|
+
};
|
|
404
|
+
/** Price tag / label */
|
|
405
|
+
export const tag = {
|
|
406
|
+
paths: [
|
|
407
|
+
{
|
|
408
|
+
d: 'M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z',
|
|
409
|
+
},
|
|
410
|
+
{ d: 'M7 7h.01' },
|
|
411
|
+
],
|
|
412
|
+
};
|
|
413
|
+
/** Share / branching arrow */
|
|
414
|
+
export const share = {
|
|
415
|
+
paths: [
|
|
416
|
+
{ d: 'M18 2a3 3 0 100 6 3 3 0 000-6z' },
|
|
417
|
+
{ d: 'M6 9a3 3 0 100 6 3 3 0 000-6z' },
|
|
418
|
+
{ d: 'M18 16a3 3 0 100 6 3 3 0 000-6z' },
|
|
419
|
+
{ d: 'M8.59 13.51l6.83 3.98M15.41 6.51l-6.82 3.98' },
|
|
420
|
+
],
|
|
421
|
+
};
|
|
422
|
+
/** Play triangle */
|
|
423
|
+
export const play = {
|
|
424
|
+
style: 'fill',
|
|
425
|
+
paths: [{ d: 'M5 3l14 9-14 9V3z' }],
|
|
426
|
+
};
|
|
427
|
+
/** Pause bars */
|
|
428
|
+
export const pause = {
|
|
429
|
+
paths: [{ d: 'M6 4h4v16H6zM14 4h4v16h-4z' }],
|
|
430
|
+
style: 'fill',
|
|
431
|
+
};
|
|
432
|
+
//# sourceMappingURL=icon-definitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-definitions.js","sourceRoot":"","sources":["../../../src/components/icons/icon-definitions.ts"],"names":[],"mappings":"AAEA,+EAA+E;AAC/E,oEAAoE;AACpE,+EAA+E;AAE/E,6BAA6B;AAE7B,yDAAyD;AACzD,MAAM,CAAC,MAAM,KAAK,GAAmB;IACnC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACvC,CAAA;AAED,oDAAoD;AACpD,MAAM,CAAC,MAAM,KAAK,GAAmB;IACnC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAClC,CAAA;AAED,2CAA2C;A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A6C,EAAE;KACrD;CACF,CAAA;AAED,oBAAoB;AACpB,MAAM,CAAC,MAAM,IAAI,GAAmB;IAClC,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACpC,CAAA;AAED,iBAAiB;AACjB,MAAM,CAAC,MAAM,KAAK,GAAmB;IACnC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAC5C,KAAK,EAAE,MAAM;CACd,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-definitions.spec.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon-definitions.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import * as allIcons from './icon-definitions.js';
|
|
3
|
+
const iconEntries = Object.entries(allIcons);
|
|
4
|
+
describe('Icon definitions', () => {
|
|
5
|
+
it('should export at least 50 icons', () => {
|
|
6
|
+
expect(iconEntries.length).toBeGreaterThanOrEqual(50);
|
|
7
|
+
});
|
|
8
|
+
describe.each(iconEntries)('%s', (_name, icon) => {
|
|
9
|
+
it('should have a paths array with at least one path', () => {
|
|
10
|
+
expect(Array.isArray(icon.paths)).toBe(true);
|
|
11
|
+
expect(icon.paths.length).toBeGreaterThanOrEqual(1);
|
|
12
|
+
});
|
|
13
|
+
it('should have non-empty d attributes on all paths', () => {
|
|
14
|
+
for (const path of icon.paths) {
|
|
15
|
+
expect(typeof path.d).toBe('string');
|
|
16
|
+
expect(path.d.length).toBeGreaterThan(0);
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
it('should have a valid style if specified', () => {
|
|
20
|
+
if (icon.style !== undefined) {
|
|
21
|
+
expect(['fill', 'stroke']).toContain(icon.style);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
it('should have a valid viewBox format if specified', () => {
|
|
25
|
+
if (icon.viewBox !== undefined) {
|
|
26
|
+
expect(icon.viewBox).toMatch(/^\d+\s+\d+\s+\d+\s+\d+$/);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
it('should have a positive strokeWidth if specified', () => {
|
|
30
|
+
if (icon.strokeWidth !== undefined) {
|
|
31
|
+
expect(icon.strokeWidth).toBeGreaterThan(0);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
it('should have valid fillRule on paths if specified', () => {
|
|
35
|
+
for (const path of icon.paths) {
|
|
36
|
+
if (path.fillRule !== undefined) {
|
|
37
|
+
expect(['evenodd', 'nonzero']).toContain(path.fillRule);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
it('should not have duplicate path data across different icons', () => {
|
|
43
|
+
const pathSignatures = new Map();
|
|
44
|
+
for (const [name, icon] of iconEntries) {
|
|
45
|
+
const signature = icon.paths.map((p) => p.d).join('|');
|
|
46
|
+
const existing = pathSignatures.get(signature);
|
|
47
|
+
if (existing) {
|
|
48
|
+
// Allow outline/fill variants of the same shape (e.g. star / starOutline, heart / heartOutline)
|
|
49
|
+
const isVariantPair = (name.includes('Outline') && existing === name.replace('Outline', '')) ||
|
|
50
|
+
(existing.includes('Outline') && name === existing.replace('Outline', ''));
|
|
51
|
+
if (!isVariantPair) {
|
|
52
|
+
expect.fail(`Icon "${name}" has identical path data to "${existing}"`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
pathSignatures.set(signature, name);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=icon-definitions.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-definitions.spec.js","sourceRoot":"","sources":["../../../src/components/icons/icon-definitions.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,K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,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,QAAQ,KAAK,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;oBACtE,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,IAAI,KAAK,QAAQ,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAA;gBAC5E,IAAI,CAAC,aAAa,EAAE,CAAC;oBACnB,MAAM,CAAC,IAAI,CAAC,SAAS,IAAI,iCAAiC,QAAQ,GAAG,CAAC,CAAA;gBACxE,CAAC;YACH,CAAC;YACD,cAAc,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;QACrC,CAAC;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes a single SVG path within an icon.
|
|
3
|
+
*/
|
|
4
|
+
export type IconPath = {
|
|
5
|
+
/** The SVG path `d` attribute */
|
|
6
|
+
d: string;
|
|
7
|
+
/** The fill-rule for this path */
|
|
8
|
+
fillRule?: 'evenodd' | 'nonzero';
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Defines an icon as a set of SVG paths with rendering metadata.
|
|
12
|
+
* Icons are lightweight objects containing only path data -- no embedded SVG markup.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* const close: IconDefinition = {
|
|
17
|
+
* paths: [{ d: 'M6 6l12 12M18 6L6 18' }],
|
|
18
|
+
* }
|
|
19
|
+
*
|
|
20
|
+
* const checkCircle: IconDefinition = {
|
|
21
|
+
* style: 'fill',
|
|
22
|
+
* paths: [{ d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 ...' }],
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export type IconDefinition = {
|
|
27
|
+
/** One or more SVG path definitions that compose the icon */
|
|
28
|
+
paths: IconPath[];
|
|
29
|
+
/**
|
|
30
|
+
* The SVG viewBox for the icon.
|
|
31
|
+
* @default '0 0 24 24'
|
|
32
|
+
*/
|
|
33
|
+
viewBox?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The rendering style for the icon.
|
|
36
|
+
* - `'stroke'`: Draws outlines with `stroke="currentColor"` and `fill="none"`.
|
|
37
|
+
* - `'fill'`: Draws solid shapes with `fill="currentColor"`.
|
|
38
|
+
* @default 'stroke'
|
|
39
|
+
*/
|
|
40
|
+
style?: 'fill' | 'stroke';
|
|
41
|
+
/**
|
|
42
|
+
* The stroke width for stroke-style icons.
|
|
43
|
+
* Only applies when `style` is `'stroke'`.
|
|
44
|
+
* @default 2
|
|
45
|
+
*/
|
|
46
|
+
strokeWidth?: number;
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=icon-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-types.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,iCAAiC;IACjC,CAAC,EAAE,MAAM,CAAA;IACT,kCAAkC;IAClC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CACjC,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,6DAA6D;IAC7D,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-types.js","sourceRoot":"","sources":["../../../src/components/icons/icon-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { PartialElement } from '@furystack/shades';
|
|
2
|
+
import type { Palette } from '../../services/theme-provider-service.js';
|
|
3
|
+
import type { IconDefinition } from './icon-types.js';
|
|
4
|
+
export type IconProps = PartialElement<HTMLElement> & {
|
|
5
|
+
/** The icon definition to render */
|
|
6
|
+
icon: IconDefinition;
|
|
7
|
+
/**
|
|
8
|
+
* The size of the icon.
|
|
9
|
+
* - `'small'`: 16px
|
|
10
|
+
* - `'medium'`: 24px
|
|
11
|
+
* - `'large'`: 32px
|
|
12
|
+
* - `number`: custom size in pixels
|
|
13
|
+
* @default 'medium'
|
|
14
|
+
*/
|
|
15
|
+
size?: 'small' | 'medium' | 'large' | number;
|
|
16
|
+
/**
|
|
17
|
+
* The palette color for the icon.
|
|
18
|
+
* When not provided, the icon uses `currentColor` (inherits from parent text color).
|
|
19
|
+
*/
|
|
20
|
+
color?: keyof Palette;
|
|
21
|
+
/**
|
|
22
|
+
* Accessible label for the icon.
|
|
23
|
+
* When provided, sets `aria-label` on the element.
|
|
24
|
+
* When omitted, sets `aria-hidden="true"` to hide the decorative icon from assistive technologies.
|
|
25
|
+
*/
|
|
26
|
+
ariaLabel?: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const Icon: (props: Omit<Partial<HTMLElement>, "style"> & {
|
|
29
|
+
style?: Partial<CSSStyleDeclaration>;
|
|
30
|
+
} & {
|
|
31
|
+
ref?: import("@furystack/shades").RefObject<Element>;
|
|
32
|
+
} & {
|
|
33
|
+
/** The icon definition to render */
|
|
34
|
+
icon: IconDefinition;
|
|
35
|
+
/**
|
|
36
|
+
* The size of the icon.
|
|
37
|
+
* - `'small'`: 16px
|
|
38
|
+
* - `'medium'`: 24px
|
|
39
|
+
* - `'large'`: 32px
|
|
40
|
+
* - `number`: custom size in pixels
|
|
41
|
+
* @default 'medium'
|
|
42
|
+
*/
|
|
43
|
+
size?: "small" | "medium" | "large" | number;
|
|
44
|
+
/**
|
|
45
|
+
* The palette color for the icon.
|
|
46
|
+
* When not provided, the icon uses `currentColor` (inherits from parent text color).
|
|
47
|
+
*/
|
|
48
|
+
color?: keyof Palette;
|
|
49
|
+
/**
|
|
50
|
+
* Accessible label for the icon.
|
|
51
|
+
* When provided, sets `aria-label` on the element.
|
|
52
|
+
* When omitted, sets `aria-hidden="true"` to hide the decorative icon from assistive technologies.
|
|
53
|
+
*/
|
|
54
|
+
ariaLabel?: string;
|
|
55
|
+
}, children?: import("@furystack/shades").ChildrenList) => JSX.Element;
|
|
56
|
+
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAGvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAA;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAQrD,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IACpD,oCAAoC;IACpC,IAAI,EAAE,cAAc,CAAA;IACpB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAC5C;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,OAAO,CAAA;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,IAAI;;;;;IAxBf,oCAAoC;UAC9B,cAAc;IACpB;;;;;;;OAOG;WACI,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM;IAC5C;;;OAGG;YACK,MAAM,OAAO;IACrB;;;;OAIG;gBACS,MAAM;sEA4ElB,CAAA"}
|