termcast 1.3.9
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/action-utils.d.ts +25 -0
- package/dist/action-utils.d.ts.map +1 -0
- package/dist/action-utils.js +209 -0
- package/dist/action-utils.js.map +1 -0
- package/dist/ai.d.ts +104 -0
- package/dist/ai.d.ts.map +1 -0
- package/dist/ai.js +135 -0
- package/dist/ai.js.map +1 -0
- package/dist/apis/ai.d.ts +104 -0
- package/dist/apis/ai.d.ts.map +1 -0
- package/dist/apis/ai.js +135 -0
- package/dist/apis/ai.js.map +1 -0
- package/dist/apis/cache.d.ts +84 -0
- package/dist/apis/cache.d.ts.map +1 -0
- package/dist/apis/cache.js +307 -0
- package/dist/apis/cache.js.map +1 -0
- package/dist/apis/cache.test.d.ts +2 -0
- package/dist/apis/cache.test.d.ts.map +1 -0
- package/dist/apis/cache.test.js +246 -0
- package/dist/apis/cache.test.js.map +1 -0
- package/dist/apis/clipboard.d.ts +36 -0
- package/dist/apis/clipboard.d.ts.map +1 -0
- package/dist/apis/clipboard.js +154 -0
- package/dist/apis/clipboard.js.map +1 -0
- package/dist/apis/environment.d.ts +63 -0
- package/dist/apis/environment.d.ts.map +1 -0
- package/dist/apis/environment.js +189 -0
- package/dist/apis/environment.js.map +1 -0
- package/dist/apis/hud.d.ts +7 -0
- package/dist/apis/hud.d.ts.map +1 -0
- package/dist/apis/hud.js +45 -0
- package/dist/apis/hud.js.map +1 -0
- package/dist/apis/localstorage.d.ts +13 -0
- package/dist/apis/localstorage.d.ts.map +1 -0
- package/dist/apis/localstorage.js +190 -0
- package/dist/apis/localstorage.js.map +1 -0
- package/dist/apis/localstorage.test.d.ts +2 -0
- package/dist/apis/localstorage.test.d.ts.map +1 -0
- package/dist/apis/localstorage.test.js +131 -0
- package/dist/apis/localstorage.test.js.map +1 -0
- package/dist/apis/oauth.d.ts +142 -0
- package/dist/apis/oauth.d.ts.map +1 -0
- package/dist/apis/oauth.js +551 -0
- package/dist/apis/oauth.js.map +1 -0
- package/dist/apis/preferences.d.ts +23 -0
- package/dist/apis/preferences.d.ts.map +1 -0
- package/dist/apis/preferences.js +105 -0
- package/dist/apis/preferences.js.map +1 -0
- package/dist/apis/toast.d.ts +81 -0
- package/dist/apis/toast.d.ts.map +1 -0
- package/dist/apis/toast.js +275 -0
- package/dist/apis/toast.js.map +1 -0
- package/dist/apis/toast.test.d.ts +2 -0
- package/dist/apis/toast.test.d.ts.map +1 -0
- package/dist/apis/toast.test.js +67 -0
- package/dist/apis/toast.test.js.map +1 -0
- package/dist/apis/window.d.ts +12 -0
- package/dist/apis/window.d.ts.map +1 -0
- package/dist/apis/window.js +47 -0
- package/dist/apis/window.js.map +1 -0
- package/dist/build.d.ts +15 -0
- package/dist/build.d.ts.map +1 -0
- package/dist/build.js +213 -0
- package/dist/build.js.map +1 -0
- package/dist/build.test.d.ts +2 -0
- package/dist/build.test.d.ts.map +1 -0
- package/dist/build.test.js +73 -0
- package/dist/build.test.js.map +1 -0
- package/dist/cache.d.ts +32 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +205 -0
- package/dist/cache.js.map +1 -0
- package/dist/cache.test.d.ts +2 -0
- package/dist/cache.test.d.ts.map +1 -0
- package/dist/cache.test.js +246 -0
- package/dist/cache.test.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +278 -0
- package/dist/cli.js.map +1 -0
- package/dist/clipboard.d.ts +36 -0
- package/dist/clipboard.d.ts.map +1 -0
- package/dist/clipboard.js +154 -0
- package/dist/clipboard.js.map +1 -0
- package/dist/colors.d.ts +15 -0
- package/dist/colors.d.ts.map +1 -0
- package/dist/colors.js +13 -0
- package/dist/colors.js.map +1 -0
- package/dist/components/actions.d.ts +120 -0
- package/dist/components/actions.d.ts.map +1 -0
- package/dist/components/actions.js +371 -0
- package/dist/components/actions.js.map +1 -0
- package/dist/components/alert.d.ts +25 -0
- package/dist/components/alert.d.ts.map +1 -0
- package/dist/components/alert.js +99 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/detail.d.ts +65 -0
- package/dist/components/detail.d.ts.map +1 -0
- package/dist/components/detail.js +147 -0
- package/dist/components/detail.js.map +1 -0
- package/dist/components/dropdown.d.ts +40 -0
- package/dist/components/dropdown.d.ts.map +1 -0
- package/dist/components/dropdown.js +202 -0
- package/dist/components/dropdown.js.map +1 -0
- package/dist/components/extension-preferences.d.ts +8 -0
- package/dist/components/extension-preferences.d.ts.map +1 -0
- package/dist/components/extension-preferences.js +139 -0
- package/dist/components/extension-preferences.js.map +1 -0
- package/dist/components/form/assign-components.d.ts +2 -0
- package/dist/components/form/assign-components.d.ts.map +1 -0
- package/dist/components/form/assign-components.js +22 -0
- package/dist/components/form/assign-components.js.map +1 -0
- package/dist/components/form/checkbox.d.ts +7 -0
- package/dist/components/form/checkbox.d.ts.map +1 -0
- package/dist/components/form/checkbox.js +46 -0
- package/dist/components/form/checkbox.js.map +1 -0
- package/dist/components/form/date-picker.d.ts +18 -0
- package/dist/components/form/date-picker.d.ts.map +1 -0
- package/dist/components/form/date-picker.js +69 -0
- package/dist/components/form/date-picker.js.map +1 -0
- package/dist/components/form/description.d.ts +7 -0
- package/dist/components/form/description.d.ts.map +1 -0
- package/dist/components/form/description.js +8 -0
- package/dist/components/form/description.js.map +1 -0
- package/dist/components/form/dropdown.d.ts +25 -0
- package/dist/components/form/dropdown.d.ts.map +1 -0
- package/dist/components/form/dropdown.js +286 -0
- package/dist/components/form/dropdown.js.map +1 -0
- package/dist/components/form/file-autocomplete.d.ts +12 -0
- package/dist/components/form/file-autocomplete.d.ts.map +1 -0
- package/dist/components/form/file-autocomplete.js +84 -0
- package/dist/components/form/file-autocomplete.js.map +1 -0
- package/dist/components/form/file-picker.d.ts +31 -0
- package/dist/components/form/file-picker.d.ts.map +1 -0
- package/dist/components/form/file-picker.js +113 -0
- package/dist/components/form/file-picker.js.map +1 -0
- package/dist/components/form/form-end.d.ts +2 -0
- package/dist/components/form/form-end.d.ts.map +1 -0
- package/dist/components/form/form-end.js +6 -0
- package/dist/components/form/form-end.js.map +1 -0
- package/dist/components/form/form-type-only.d.ts +174 -0
- package/dist/components/form/form-type-only.d.ts.map +1 -0
- package/dist/components/form/form-type-only.js +2 -0
- package/dist/components/form/form-type-only.js.map +1 -0
- package/dist/components/form/index.d.ts +46 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/form/index.js +106 -0
- package/dist/components/form/index.js.map +1 -0
- package/dist/components/form/password-field.d.ts +7 -0
- package/dist/components/form/password-field.d.ts.map +1 -0
- package/dist/components/form/password-field.js +34 -0
- package/dist/components/form/password-field.js.map +1 -0
- package/dist/components/form/separator.d.ts +2 -0
- package/dist/components/form/separator.d.ts.map +1 -0
- package/dist/components/form/separator.js +8 -0
- package/dist/components/form/separator.js.map +1 -0
- package/dist/components/form/tagpicker.d.ts +134 -0
- package/dist/components/form/tagpicker.d.ts.map +1 -0
- package/dist/components/form/tagpicker.js +79 -0
- package/dist/components/form/tagpicker.js.map +1 -0
- package/dist/components/form/text-area.d.ts +8 -0
- package/dist/components/form/text-area.d.ts.map +1 -0
- package/dist/components/form/text-area.js +26 -0
- package/dist/components/form/text-area.js.map +1 -0
- package/dist/components/form/text-field.d.ts +7 -0
- package/dist/components/form/text-field.d.ts.map +1 -0
- package/dist/components/form/text-field.js +28 -0
- package/dist/components/form/text-field.js.map +1 -0
- package/dist/components/form/types.d.ts +43 -0
- package/dist/components/form/types.d.ts.map +1 -0
- package/dist/components/form/types.js +2 -0
- package/dist/components/form/types.js.map +1 -0
- package/dist/components/form/use-form-handling.d.ts +4 -0
- package/dist/components/form/use-form-handling.d.ts.map +1 -0
- package/dist/components/form/use-form-handling.js +37 -0
- package/dist/components/form/use-form-handling.js.map +1 -0
- package/dist/components/form/use-form-navigation.d.ts +8 -0
- package/dist/components/form/use-form-navigation.d.ts.map +1 -0
- package/dist/components/form/use-form-navigation.js +58 -0
- package/dist/components/form/use-form-navigation.js.map +1 -0
- package/dist/components/form/with-left-border.d.ts +17 -0
- package/dist/components/form/with-left-border.d.ts.map +1 -0
- package/dist/components/form/with-left-border.js +10 -0
- package/dist/components/form/with-left-border.js.map +1 -0
- package/dist/components/icon.d.ts +9 -0
- package/dist/components/icon.d.ts.map +1 -0
- package/dist/components/icon.js +485 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/image.d.ts +19 -0
- package/dist/components/image.d.ts.map +1 -0
- package/dist/components/image.js +32 -0
- package/dist/components/image.js.map +1 -0
- package/dist/components/list.d.ts +234 -0
- package/dist/components/list.d.ts.map +1 -0
- package/dist/components/list.js +667 -0
- package/dist/components/list.js.map +1 -0
- package/dist/components/loading-bar.d.ts +8 -0
- package/dist/components/loading-bar.d.ts.map +1 -0
- package/dist/components/loading-bar.js +107 -0
- package/dist/components/loading-bar.js.map +1 -0
- package/dist/components/menubar-extra.d.ts +68 -0
- package/dist/components/menubar-extra.d.ts.map +1 -0
- package/dist/components/menubar-extra.js +39 -0
- package/dist/components/menubar-extra.js.map +1 -0
- package/dist/descendants.d.ts +25 -0
- package/dist/descendants.d.ts.map +1 -0
- package/dist/descendants.js +81 -0
- package/dist/descendants.js.map +1 -0
- package/dist/dev-ui.d.ts +7 -0
- package/dist/dev-ui.d.ts.map +1 -0
- package/dist/dev-ui.js +118 -0
- package/dist/dev-ui.js.map +1 -0
- package/dist/e2e-node.d.ts +63 -0
- package/dist/e2e-node.d.ts.map +1 -0
- package/dist/e2e-node.js +255 -0
- package/dist/e2e-node.js.map +1 -0
- package/dist/e2e.d.ts +39 -0
- package/dist/e2e.d.ts.map +1 -0
- package/dist/e2e.js +127 -0
- package/dist/e2e.js.map +1 -0
- package/dist/environment.d.ts +63 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/environment.js +189 -0
- package/dist/environment.js.map +1 -0
- package/dist/examples/action-show-in-finder.d.ts +2 -0
- package/dist/examples/action-show-in-finder.d.ts.map +1 -0
- package/dist/examples/action-show-in-finder.js +13 -0
- package/dist/examples/action-show-in-finder.js.map +1 -0
- package/dist/examples/datepicker.d.ts +2 -0
- package/dist/examples/datepicker.d.ts.map +1 -0
- package/dist/examples/datepicker.js +344 -0
- package/dist/examples/datepicker.js.map +1 -0
- package/dist/examples/environment-test.d.ts +2 -0
- package/dist/examples/environment-test.d.ts.map +1 -0
- package/dist/examples/environment-test.js +28 -0
- package/dist/examples/environment-test.js.map +1 -0
- package/dist/examples/error-boundary.d.ts +6 -0
- package/dist/examples/error-boundary.d.ts.map +1 -0
- package/dist/examples/error-boundary.js +67 -0
- package/dist/examples/error-boundary.js.map +1 -0
- package/dist/examples/form-basic-arrow-keys.vitest.d.ts +2 -0
- package/dist/examples/form-basic-arrow-keys.vitest.d.ts.map +1 -0
- package/dist/examples/form-basic-arrow-keys.vitest.js +46 -0
- package/dist/examples/form-basic-arrow-keys.vitest.js.map +1 -0
- package/dist/examples/form-basic.d.ts +2 -0
- package/dist/examples/form-basic.d.ts.map +1 -0
- package/dist/examples/form-basic.js +21 -0
- package/dist/examples/form-basic.js.map +1 -0
- package/dist/examples/form-basic.vitest.d.ts +2 -0
- package/dist/examples/form-basic.vitest.d.ts.map +1 -0
- package/dist/examples/form-basic.vitest.js +995 -0
- package/dist/examples/form-basic.vitest.js.map +1 -0
- package/dist/examples/form-dropdown-with-sections.d.ts +2 -0
- package/dist/examples/form-dropdown-with-sections.d.ts.map +1 -0
- package/dist/examples/form-dropdown-with-sections.js +13 -0
- package/dist/examples/form-dropdown-with-sections.js.map +1 -0
- package/dist/examples/form-dropdown-with-sections.vitest.d.ts +2 -0
- package/dist/examples/form-dropdown-with-sections.vitest.d.ts.map +1 -0
- package/dist/examples/form-dropdown-with-sections.vitest.js +75 -0
- package/dist/examples/form-dropdown-with-sections.vitest.js.map +1 -0
- package/dist/examples/form-dropdown.d.ts +2 -0
- package/dist/examples/form-dropdown.d.ts.map +1 -0
- package/dist/examples/form-dropdown.js +13 -0
- package/dist/examples/form-dropdown.js.map +1 -0
- package/dist/examples/form-dropdown.vitest.d.ts +2 -0
- package/dist/examples/form-dropdown.vitest.d.ts.map +1 -0
- package/dist/examples/form-dropdown.vitest.js +722 -0
- package/dist/examples/form-dropdown.vitest.js.map +1 -0
- package/dist/examples/form-multiselect-dropdown.d.ts +2 -0
- package/dist/examples/form-multiselect-dropdown.d.ts.map +1 -0
- package/dist/examples/form-multiselect-dropdown.js +13 -0
- package/dist/examples/form-multiselect-dropdown.js.map +1 -0
- package/dist/examples/form-tagpicker.d.ts +2 -0
- package/dist/examples/form-tagpicker.d.ts.map +1 -0
- package/dist/examples/form-tagpicker.js +13 -0
- package/dist/examples/form-tagpicker.js.map +1 -0
- package/dist/examples/form-tagpicker.vitest.d.ts +2 -0
- package/dist/examples/form-tagpicker.vitest.d.ts.map +1 -0
- package/dist/examples/form-tagpicker.vitest.js +491 -0
- package/dist/examples/form-tagpicker.vitest.js.map +1 -0
- package/dist/examples/internal/descendants-filtering.d.ts +2 -0
- package/dist/examples/internal/descendants-filtering.d.ts.map +1 -0
- package/dist/examples/internal/descendants-filtering.js +144 -0
- package/dist/examples/internal/descendants-filtering.js.map +1 -0
- package/dist/examples/internal/descendants.d.ts +2 -0
- package/dist/examples/internal/descendants.d.ts.map +1 -0
- package/dist/examples/internal/descendants.js +134 -0
- package/dist/examples/internal/descendants.js.map +1 -0
- package/dist/examples/internal/nested-boxes.d.ts +2 -0
- package/dist/examples/internal/nested-boxes.d.ts.map +1 -0
- package/dist/examples/internal/nested-boxes.js +7 -0
- package/dist/examples/internal/nested-boxes.js.map +1 -0
- package/dist/examples/internal/scrollbox-demo.d.ts +2 -0
- package/dist/examples/internal/scrollbox-demo.d.ts.map +1 -0
- package/dist/examples/internal/scrollbox-demo.js +104 -0
- package/dist/examples/internal/scrollbox-demo.js.map +1 -0
- package/dist/examples/internal/simple-dialog.d.ts +2 -0
- package/dist/examples/internal/simple-dialog.d.ts.map +1 -0
- package/dist/examples/internal/simple-dialog.js +43 -0
- package/dist/examples/internal/simple-dialog.js.map +1 -0
- package/dist/examples/internal/text-stacking.d.ts +2 -0
- package/dist/examples/internal/text-stacking.d.ts.map +1 -0
- package/dist/examples/internal/text-stacking.js +53 -0
- package/dist/examples/internal/text-stacking.js.map +1 -0
- package/dist/examples/internal/unicode-square-repro.d.ts +2 -0
- package/dist/examples/internal/unicode-square-repro.d.ts.map +1 -0
- package/dist/examples/internal/unicode-square-repro.js +7 -0
- package/dist/examples/internal/unicode-square-repro.js.map +1 -0
- package/dist/examples/list-dropdown-default.d.ts +2 -0
- package/dist/examples/list-dropdown-default.d.ts.map +1 -0
- package/dist/examples/list-dropdown-default.js +14 -0
- package/dist/examples/list-dropdown-default.js.map +1 -0
- package/dist/examples/list-dropdown-default.vitest.d.ts +2 -0
- package/dist/examples/list-dropdown-default.vitest.d.ts.map +1 -0
- package/dist/examples/list-dropdown-default.vitest.js +164 -0
- package/dist/examples/list-dropdown-default.vitest.js.map +1 -0
- package/dist/examples/list-fetch-data.d.ts +2 -0
- package/dist/examples/list-fetch-data.d.ts.map +1 -0
- package/dist/examples/list-fetch-data.js +87 -0
- package/dist/examples/list-fetch-data.js.map +1 -0
- package/dist/examples/list-fetch-data.vitest.d.ts +2 -0
- package/dist/examples/list-fetch-data.vitest.d.ts.map +1 -0
- package/dist/examples/list-fetch-data.vitest.js +103 -0
- package/dist/examples/list-fetch-data.vitest.js.map +1 -0
- package/dist/examples/list-filter-navigation.d.ts +2 -0
- package/dist/examples/list-filter-navigation.d.ts.map +1 -0
- package/dist/examples/list-filter-navigation.js +8 -0
- package/dist/examples/list-filter-navigation.js.map +1 -0
- package/dist/examples/list-with-detail.d.ts +2 -0
- package/dist/examples/list-with-detail.d.ts.map +1 -0
- package/dist/examples/list-with-detail.js +94 -0
- package/dist/examples/list-with-detail.js.map +1 -0
- package/dist/examples/list-with-detail.vitest.d.ts +2 -0
- package/dist/examples/list-with-detail.vitest.d.ts.map +1 -0
- package/dist/examples/list-with-detail.vitest.js +438 -0
- package/dist/examples/list-with-detail.vitest.js.map +1 -0
- package/dist/examples/list-with-dropdown.d.ts +2 -0
- package/dist/examples/list-with-dropdown.d.ts.map +1 -0
- package/dist/examples/list-with-dropdown.js +43 -0
- package/dist/examples/list-with-dropdown.js.map +1 -0
- package/dist/examples/list-with-dropdown.vitest.d.ts +2 -0
- package/dist/examples/list-with-dropdown.vitest.d.ts.map +1 -0
- package/dist/examples/list-with-dropdown.vitest.js +297 -0
- package/dist/examples/list-with-dropdown.vitest.js.map +1 -0
- package/dist/examples/list-with-sections.d.ts +2 -0
- package/dist/examples/list-with-sections.d.ts.map +1 -0
- package/dist/examples/list-with-sections.js +67 -0
- package/dist/examples/list-with-sections.js.map +1 -0
- package/dist/examples/list-with-sections.vitest.d.ts +2 -0
- package/dist/examples/list-with-sections.vitest.d.ts.map +1 -0
- package/dist/examples/list-with-sections.vitest.js +441 -0
- package/dist/examples/list-with-sections.vitest.js.map +1 -0
- package/dist/examples/miscellaneous.d.ts +2 -0
- package/dist/examples/miscellaneous.d.ts.map +1 -0
- package/dist/examples/miscellaneous.js +313 -0
- package/dist/examples/miscellaneous.js.map +1 -0
- package/dist/examples/nested-navigation.d.ts +2 -0
- package/dist/examples/nested-navigation.d.ts.map +1 -0
- package/dist/examples/nested-navigation.js +35 -0
- package/dist/examples/nested-navigation.js.map +1 -0
- package/dist/examples/preferences-test.d.ts +2 -0
- package/dist/examples/preferences-test.d.ts.map +1 -0
- package/dist/examples/preferences-test.js +43 -0
- package/dist/examples/preferences-test.js.map +1 -0
- package/dist/examples/simple-dropdown.d.ts +2 -0
- package/dist/examples/simple-dropdown.d.ts.map +1 -0
- package/dist/examples/simple-dropdown.js +15 -0
- package/dist/examples/simple-dropdown.js.map +1 -0
- package/dist/examples/simple-file-picker.d.ts +2 -0
- package/dist/examples/simple-file-picker.d.ts.map +1 -0
- package/dist/examples/simple-file-picker.js +21 -0
- package/dist/examples/simple-file-picker.js.map +1 -0
- package/dist/examples/simple-file-picker.vitest.d.ts +2 -0
- package/dist/examples/simple-file-picker.vitest.d.ts.map +1 -0
- package/dist/examples/simple-file-picker.vitest.js +277 -0
- package/dist/examples/simple-file-picker.vitest.js.map +1 -0
- package/dist/examples/simple-grid.d.ts +2 -0
- package/dist/examples/simple-grid.d.ts.map +1 -0
- package/dist/examples/simple-grid.js +51 -0
- package/dist/examples/simple-grid.js.map +1 -0
- package/dist/examples/simple-grid.vitest.d.ts +2 -0
- package/dist/examples/simple-grid.vitest.d.ts.map +1 -0
- package/dist/examples/simple-grid.vitest.js +498 -0
- package/dist/examples/simple-grid.vitest.js.map +1 -0
- package/dist/examples/simple-hud.d.ts +2 -0
- package/dist/examples/simple-hud.d.ts.map +1 -0
- package/dist/examples/simple-hud.js +18 -0
- package/dist/examples/simple-hud.js.map +1 -0
- package/dist/examples/simple-list-search.d.ts +2 -0
- package/dist/examples/simple-list-search.d.ts.map +1 -0
- package/dist/examples/simple-list-search.js +26 -0
- package/dist/examples/simple-list-search.js.map +1 -0
- package/dist/examples/simple-list.d.ts +2 -0
- package/dist/examples/simple-list.d.ts.map +1 -0
- package/dist/examples/simple-list.js +50 -0
- package/dist/examples/simple-list.js.map +1 -0
- package/dist/examples/simple-navigation.d.ts +2 -0
- package/dist/examples/simple-navigation.d.ts.map +1 -0
- package/dist/examples/simple-navigation.js +36 -0
- package/dist/examples/simple-navigation.js.map +1 -0
- package/dist/examples/simple-navigation.vitest.d.ts +2 -0
- package/dist/examples/simple-navigation.vitest.d.ts.map +1 -0
- package/dist/examples/simple-navigation.vitest.js +522 -0
- package/dist/examples/simple-navigation.vitest.js.map +1 -0
- package/dist/examples/store.d.ts +2 -0
- package/dist/examples/store.d.ts.map +1 -0
- package/dist/examples/store.js +5 -0
- package/dist/examples/store.js.map +1 -0
- package/dist/examples/store.vitest.d.ts +2 -0
- package/dist/examples/store.vitest.d.ts.map +1 -0
- package/dist/examples/store.vitest.js +52 -0
- package/dist/examples/store.vitest.js.map +1 -0
- package/dist/examples/tanstack-demo.d.ts +2 -0
- package/dist/examples/tanstack-demo.d.ts.map +1 -0
- package/dist/examples/tanstack-demo.js +51 -0
- package/dist/examples/tanstack-demo.js.map +1 -0
- package/dist/examples/use-promise-demo.d.ts +2 -0
- package/dist/examples/use-promise-demo.d.ts.map +1 -0
- package/dist/examples/use-promise-demo.js +45 -0
- package/dist/examples/use-promise-demo.js.map +1 -0
- package/dist/extensions/dev.d.ts +7 -0
- package/dist/extensions/dev.d.ts.map +1 -0
- package/dist/extensions/dev.js +124 -0
- package/dist/extensions/dev.js.map +1 -0
- package/dist/extensions/home.d.ts +8 -0
- package/dist/extensions/home.d.ts.map +1 -0
- package/dist/extensions/home.js +184 -0
- package/dist/extensions/home.js.map +1 -0
- package/dist/extensions/store.d.ts +6 -0
- package/dist/extensions/store.d.ts.map +1 -0
- package/dist/extensions/store.js +203 -0
- package/dist/extensions/store.js.map +1 -0
- package/dist/globals.d.ts +9 -0
- package/dist/globals.d.ts.map +1 -0
- package/dist/globals.js +21 -0
- package/dist/globals.js.map +1 -0
- package/dist/home-command.d.ts +8 -0
- package/dist/home-command.d.ts.map +1 -0
- package/dist/home-command.js +181 -0
- package/dist/home-command.js.map +1 -0
- package/dist/hooks/hooks.test.d.ts +2 -0
- package/dist/hooks/hooks.test.d.ts.map +1 -0
- package/dist/hooks/hooks.test.js +37 -0
- package/dist/hooks/hooks.test.js.map +1 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +6 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-action-panel.d.ts +16 -0
- package/dist/hooks/use-action-panel.d.ts.map +1 -0
- package/dist/hooks/use-action-panel.js +19 -0
- package/dist/hooks/use-action-panel.js.map +1 -0
- package/dist/hooks/use-id.d.ts +9 -0
- package/dist/hooks/use-id.d.ts.map +1 -0
- package/dist/hooks/use-id.js +17 -0
- package/dist/hooks/use-id.js.map +1 -0
- package/dist/hooks/use-unstable-ai.d.ts +9 -0
- package/dist/hooks/use-unstable-ai.d.ts.map +1 -0
- package/dist/hooks/use-unstable-ai.js +13 -0
- package/dist/hooks/use-unstable-ai.js.map +1 -0
- package/dist/hooks.d.ts +10 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/hooks.js +20 -0
- package/dist/hooks.js.map +1 -0
- package/dist/hover-repro.d.ts +2 -0
- package/dist/hover-repro.d.ts.map +1 -0
- package/dist/hover-repro.js +20 -0
- package/dist/hover-repro.js.map +1 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +71 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/date-picker-widget.d.ts +9 -0
- package/dist/internal/date-picker-widget.d.ts.map +1 -0
- package/dist/internal/date-picker-widget.js +380 -0
- package/dist/internal/date-picker-widget.js.map +1 -0
- package/dist/internal/dialog.d.ts +21 -0
- package/dist/internal/dialog.d.ts.map +1 -0
- package/dist/internal/dialog.js +122 -0
- package/dist/internal/dialog.js.map +1 -0
- package/dist/internal/error-handler.d.ts +2 -0
- package/dist/internal/error-handler.d.ts.map +1 -0
- package/dist/internal/error-handler.js +29 -0
- package/dist/internal/error-handler.js.map +1 -0
- package/dist/internal/focus-context.d.ts +10 -0
- package/dist/internal/focus-context.d.ts.map +1 -0
- package/dist/internal/focus-context.js +12 -0
- package/dist/internal/focus-context.js.map +1 -0
- package/dist/internal/navigation.d.ts +18 -0
- package/dist/internal/navigation.d.ts.map +1 -0
- package/dist/internal/navigation.js +83 -0
- package/dist/internal/navigation.js.map +1 -0
- package/dist/internal/providers.d.ts +8 -0
- package/dist/internal/providers.d.ts.map +1 -0
- package/dist/internal/providers.js +262 -0
- package/dist/internal/providers.js.map +1 -0
- package/dist/localstorage.d.ts +13 -0
- package/dist/localstorage.d.ts.map +1 -0
- package/dist/localstorage.js +190 -0
- package/dist/localstorage.js.map +1 -0
- package/dist/localstorage.test.d.ts +2 -0
- package/dist/localstorage.test.d.ts.map +1 -0
- package/dist/localstorage.test.js +131 -0
- package/dist/localstorage.test.js.map +1 -0
- package/dist/logger.d.ts +7 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +70 -0
- package/dist/logger.js.map +1 -0
- package/dist/oauth.d.ts +142 -0
- package/dist/oauth.d.ts.map +1 -0
- package/dist/oauth.js +551 -0
- package/dist/oauth.js.map +1 -0
- package/dist/package-json.d.ts +84 -0
- package/dist/package-json.d.ts.map +1 -0
- package/dist/package-json.js +77 -0
- package/dist/package-json.js.map +1 -0
- package/dist/preferences.d.ts +23 -0
- package/dist/preferences.d.ts.map +1 -0
- package/dist/preferences.js +105 -0
- package/dist/preferences.js.map +1 -0
- package/dist/preload.d.ts +2 -0
- package/dist/preload.d.ts.map +1 -0
- package/dist/preload.js +28 -0
- package/dist/preload.js.map +1 -0
- package/dist/state.d.ts +26 -0
- package/dist/state.d.ts.map +1 -0
- package/dist/state.js +18 -0
- package/dist/state.js.map +1 -0
- package/dist/store-api/download.d.ts +8 -0
- package/dist/store-api/download.d.ts.map +1 -0
- package/dist/store-api/download.js +37 -0
- package/dist/store-api/download.js.map +1 -0
- package/dist/store-api/download.test.d.ts +2 -0
- package/dist/store-api/download.test.d.ts.map +1 -0
- package/dist/store-api/download.test.js +36 -0
- package/dist/store-api/download.test.js.map +1 -0
- package/dist/store-api/extension.d.ts +87 -0
- package/dist/store-api/extension.d.ts.map +1 -0
- package/dist/store-api/extension.js +23 -0
- package/dist/store-api/extension.js.map +1 -0
- package/dist/store-api/extension.test.d.ts +2 -0
- package/dist/store-api/extension.test.d.ts.map +1 -0
- package/dist/store-api/extension.test.js +22 -0
- package/dist/store-api/extension.test.js.map +1 -0
- package/dist/store-api/search.d.ts +101 -0
- package/dist/store-api/search.d.ts.map +1 -0
- package/dist/store-api/search.js +29 -0
- package/dist/store-api/search.js.map +1 -0
- package/dist/store-api/search.test.d.ts +2 -0
- package/dist/store-api/search.test.d.ts.map +1 -0
- package/dist/store-api/search.test.js +45 -0
- package/dist/store-api/search.test.js.map +1 -0
- package/dist/store.d.ts +21 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +84 -0
- package/dist/store.js.map +1 -0
- package/dist/theme.d.ts +20 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +26 -0
- package/dist/theme.js.map +1 -0
- package/dist/toast.d.ts +44 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toast.js +221 -0
- package/dist/toast.js.map +1 -0
- package/dist/utils/file-system.d.ts +11 -0
- package/dist/utils/file-system.d.ts.map +1 -0
- package/dist/utils/file-system.js +66 -0
- package/dist/utils/file-system.js.map +1 -0
- package/dist/utils.d.ts +234 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +473 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.test.d.ts +2 -0
- package/dist/utils.test.d.ts.map +1 -0
- package/dist/utils.test.js +152 -0
- package/dist/utils.test.js.map +1 -0
- package/dist/window.d.ts +12 -0
- package/dist/window.d.ts.map +1 -0
- package/dist/window.js +48 -0
- package/dist/window.js.map +1 -0
- package/package.json +56 -0
- package/src/action-utils.tsx +207 -0
- package/src/apis/ai.tsx +177 -0
- package/src/apis/cache.test.ts +311 -0
- package/src/apis/cache.tsx +394 -0
- package/src/apis/clipboard.tsx +200 -0
- package/src/apis/environment.tsx +239 -0
- package/src/apis/hud.tsx +86 -0
- package/src/apis/localstorage.test.ts +164 -0
- package/src/apis/localstorage.tsx +215 -0
- package/src/apis/oauth.tsx +744 -0
- package/src/apis/preferences.tsx +140 -0
- package/src/apis/toast.tsx +388 -0
- package/src/apis/window.tsx +61 -0
- package/src/build.test.tsx +78 -0
- package/src/build.tsx +273 -0
- package/src/cli.tsx +328 -0
- package/src/colors.tsx +15 -0
- package/src/components/actions.tsx +718 -0
- package/src/components/alert.tsx +205 -0
- package/src/components/detail.tsx +359 -0
- package/src/components/dropdown.tsx +438 -0
- package/src/components/extension-preferences.tsx +269 -0
- package/src/components/form/assign-components.tsx +22 -0
- package/src/components/form/checkbox.tsx +96 -0
- package/src/components/form/date-picker.tsx +125 -0
- package/src/components/form/description.tsx +30 -0
- package/src/components/form/dropdown.tsx +512 -0
- package/src/components/form/file-autocomplete.tsx +141 -0
- package/src/components/form/file-picker.tsx +233 -0
- package/src/components/form/form-end.tsx +6 -0
- package/src/components/form/index.tsx +242 -0
- package/src/components/form/password-field.tsx +87 -0
- package/src/components/form/separator.tsx +15 -0
- package/src/components/form/tagpicker.tsx +245 -0
- package/src/components/form/text-area.tsx +82 -0
- package/src/components/form/text-field.tsx +82 -0
- package/src/components/form/types.tsx +49 -0
- package/src/components/form/use-form-navigation.tsx +65 -0
- package/src/components/form/with-left-border.tsx +53 -0
- package/src/components/icon.tsx +496 -0
- package/src/components/image.tsx +54 -0
- package/src/components/list.tsx +1564 -0
- package/src/components/loading-bar.tsx +141 -0
- package/src/components/menubar-extra.tsx +181 -0
- package/src/descendants.tsx +134 -0
- package/src/e2e-node.tsx +303 -0
- package/src/e2e.tsx +147 -0
- package/src/examples/action-show-in-finder.tsx +80 -0
- package/src/examples/environment-test.tsx +50 -0
- package/src/examples/error-boundary.tsx +217 -0
- package/src/examples/form-basic.tsx +122 -0
- package/src/examples/form-basic.vitest.tsx +1035 -0
- package/src/examples/form-dropdown.tsx +102 -0
- package/src/examples/form-dropdown.vitest.tsx +758 -0
- package/src/examples/form-tagpicker.tsx +66 -0
- package/src/examples/form-tagpicker.vitest.tsx +523 -0
- package/src/examples/internal/descendants-filtering.tsx +223 -0
- package/src/examples/internal/descendants.tsx +208 -0
- package/src/examples/internal/scrollbox-demo.tsx +149 -0
- package/src/examples/internal/simple-dialog.tsx +124 -0
- package/src/examples/internal/text-stacking.tsx +90 -0
- package/src/examples/list-dropdown-default.tsx +69 -0
- package/src/examples/list-dropdown-default.vitest.tsx +187 -0
- package/src/examples/list-fetch-data.tsx +123 -0
- package/src/examples/list-fetch-data.vitest.tsx +110 -0
- package/src/examples/list-with-detail.tsx +161 -0
- package/src/examples/list-with-detail.vitest.tsx +468 -0
- package/src/examples/list-with-dropdown.tsx +97 -0
- package/src/examples/list-with-dropdown.vitest.tsx +324 -0
- package/src/examples/list-with-sections.tsx +196 -0
- package/src/examples/list-with-sections.vitest.tsx +479 -0
- package/src/examples/miscellaneous.tsx +780 -0
- package/src/examples/nested-navigation.tsx +118 -0
- package/src/examples/preferences-test.tsx +82 -0
- package/src/examples/simple-dropdown.tsx +95 -0
- package/src/examples/simple-file-picker.tsx +75 -0
- package/src/examples/simple-file-picker.vitest.tsx +306 -0
- package/src/examples/simple-grid.tsx +149 -0
- package/src/examples/simple-grid.vitest.tsx +535 -0
- package/src/examples/simple-hud.tsx +60 -0
- package/src/examples/simple-list-search.tsx +93 -0
- package/src/examples/simple-list.tsx +149 -0
- package/src/examples/simple-navigation.tsx +89 -0
- package/src/examples/simple-navigation.vitest.tsx +571 -0
- package/src/examples/store.tsx +4 -0
- package/src/examples/store.vitest.tsx +59 -0
- package/src/examples/tanstack-demo.tsx +104 -0
- package/src/examples/use-promise-demo.tsx +96 -0
- package/src/extensions/dev.tsx +215 -0
- package/src/extensions/home.tsx +332 -0
- package/src/extensions/store.tsx +375 -0
- package/src/globals.ts +34 -0
- package/src/hooks/index.tsx +8 -0
- package/src/hooks/use-action-panel.tsx +28 -0
- package/src/hooks/use-id.tsx +19 -0
- package/src/hooks/use-unstable-ai.tsx +15 -0
- package/src/hooks.tsx +22 -0
- package/src/index.tsx +240 -0
- package/src/internal/date-picker-widget.tsx +500 -0
- package/src/internal/dialog.tsx +202 -0
- package/src/internal/error-handler.tsx +32 -0
- package/src/internal/focus-context.tsx +23 -0
- package/src/internal/navigation.tsx +149 -0
- package/src/internal/providers.tsx +430 -0
- package/src/logger.tsx +84 -0
- package/src/package-json.tsx +197 -0
- package/src/preload.tsx +32 -0
- package/src/state.tsx +49 -0
- package/src/store-api/download.test.tsx +38 -0
- package/src/store-api/download.tsx +52 -0
- package/src/store-api/extension.test.tsx +24 -0
- package/src/store-api/extension.tsx +123 -0
- package/src/store-api/search.test.tsx +50 -0
- package/src/store-api/search.tsx +146 -0
- package/src/theme.tsx +31 -0
- package/src/utils/file-system.ts +87 -0
- package/src/utils.test.tsx +204 -0
- package/src/utils.tsx +657 -0
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
import { pascalCase } from 'change-case'
|
|
2
|
+
|
|
3
|
+
// Map of Raycast icons to emojis
|
|
4
|
+
export const iconToEmoji: Record<string, string> = {
|
|
5
|
+
'add-person-16': 'đ¤',
|
|
6
|
+
'airplane-16': 'âī¸',
|
|
7
|
+
'airplane-filled-16': 'âī¸',
|
|
8
|
+
'airplane-landing-16': 'đŦ',
|
|
9
|
+
'airplane-takeoff-16': 'đĢ',
|
|
10
|
+
'airpods-16': 'đ§',
|
|
11
|
+
'alarm-16': 'â°',
|
|
12
|
+
'alarm-ringing-16': 'â°',
|
|
13
|
+
'align-centre-16': 'đ',
|
|
14
|
+
'align-left-16': 'đ',
|
|
15
|
+
'align-right-16': 'đ',
|
|
16
|
+
'american-football-16': 'đ',
|
|
17
|
+
'anchor-16': 'â',
|
|
18
|
+
'app-window-16': 'đĒ',
|
|
19
|
+
'app-window-grid-2x2-16': 'đĒ',
|
|
20
|
+
'app-window-grid-3x3-16': 'đĒ',
|
|
21
|
+
'app-window-list-16': 'đ',
|
|
22
|
+
'app-window-sidebar-left-16': 'đĒ',
|
|
23
|
+
'arrow-clockwise-16': 'đ',
|
|
24
|
+
'arrow-counter-clockwise-16': 'đ',
|
|
25
|
+
'arrow-down-16': 'âŦī¸',
|
|
26
|
+
'arrow-down-circle-16': 'âŦī¸',
|
|
27
|
+
'arrow-down-circle-filled-16': 'âŦī¸',
|
|
28
|
+
'arrow-left-16': 'âŦ
ī¸',
|
|
29
|
+
'arrow-left-circle-16': 'âŦ
ī¸',
|
|
30
|
+
'arrow-left-circle-filled-16': 'âŦ
ī¸',
|
|
31
|
+
'arrow-ne-16': 'âī¸',
|
|
32
|
+
'arrow-right-16': 'âĄī¸',
|
|
33
|
+
'arrow-right-circle-16': 'âĄī¸',
|
|
34
|
+
'arrow-right-circle-filled-16': 'âĄī¸',
|
|
35
|
+
'arrow-up-16': 'âŦī¸',
|
|
36
|
+
'arrow-up-circle-16': 'âŦī¸',
|
|
37
|
+
'arrow-up-circle-filled-16': 'âŦī¸',
|
|
38
|
+
'arrows-contract-16': 'âī¸',
|
|
39
|
+
'arrows-expand-16': 'âī¸',
|
|
40
|
+
'at-symbol-16': '@',
|
|
41
|
+
'band-aid-16': 'đŠš',
|
|
42
|
+
'bank-note-16': 'đĩ',
|
|
43
|
+
'bar-chart-16': 'đ',
|
|
44
|
+
'bar-code-16': 'đ',
|
|
45
|
+
'bath-tub-16': 'đ',
|
|
46
|
+
'battery-16': 'đ',
|
|
47
|
+
'battery-charging-16': 'đ',
|
|
48
|
+
'battery-disabled-16': 'đĒĢ',
|
|
49
|
+
'bell-16': 'đ',
|
|
50
|
+
'bell-disabled-16': 'đ',
|
|
51
|
+
'bike-16': 'đ´',
|
|
52
|
+
'binoculars-16': 'đ',
|
|
53
|
+
'bird-16': 'đĻ',
|
|
54
|
+
'blank-document-16': 'đ',
|
|
55
|
+
'bluetooth-16': 'đĩ',
|
|
56
|
+
'boat-16': 'âĩ',
|
|
57
|
+
'bold-16': 'đ',
|
|
58
|
+
'bolt-16': 'âĄ',
|
|
59
|
+
'bolt-disabled-16': 'âĄ',
|
|
60
|
+
'book-16': 'đ',
|
|
61
|
+
'bookmark-16': 'đ',
|
|
62
|
+
'box-16': 'đĻ',
|
|
63
|
+
'brush-16': 'đī¸',
|
|
64
|
+
'speech-bubble-16': 'đŦ',
|
|
65
|
+
'bug-16': 'đ',
|
|
66
|
+
'building-16': 'đĸ',
|
|
67
|
+
'bullet-points-16': 'âĸ',
|
|
68
|
+
'bulls-eye-16': 'đ¯',
|
|
69
|
+
'bulls-eye-missed-16': 'â¯',
|
|
70
|
+
'buoy-16': 'đ',
|
|
71
|
+
'calculator-16': 'đ§Ž',
|
|
72
|
+
'calendar-16': 'đ
',
|
|
73
|
+
'camera-16': 'đˇ',
|
|
74
|
+
'car-16': 'đ',
|
|
75
|
+
'cart-16': 'đ',
|
|
76
|
+
'cd-16': 'đŋ',
|
|
77
|
+
'center-16': 'âŦ',
|
|
78
|
+
'check-16': 'â',
|
|
79
|
+
'check-circle-16': 'â
',
|
|
80
|
+
'check-list-16': 'â',
|
|
81
|
+
'check-rosette-16': 'â
',
|
|
82
|
+
'checkmark-16': 'â',
|
|
83
|
+
'chess-piece-16': 'âī¸',
|
|
84
|
+
'chevron-down-16': 'âš',
|
|
85
|
+
'chevron-down-small-16': 'âš',
|
|
86
|
+
'chevron-left-16': 'âš',
|
|
87
|
+
'chevron-left-small-16': 'âš',
|
|
88
|
+
'chevron-right-16': 'âē',
|
|
89
|
+
'chevron-right-small-16': 'âē',
|
|
90
|
+
'chevron-up-16': 'â',
|
|
91
|
+
'chevron-up-down-16': 'â
',
|
|
92
|
+
'chevron-up-small-16': 'â',
|
|
93
|
+
'circle-16': 'â',
|
|
94
|
+
'circle-disabled-16': 'â',
|
|
95
|
+
'circle-ellipsis-16': 'â¯',
|
|
96
|
+
'circle-filled-16': 'â',
|
|
97
|
+
'circle-progress-16': 'â',
|
|
98
|
+
'circle-progress-100-16': 'â',
|
|
99
|
+
'circle-progress-25-16': 'â',
|
|
100
|
+
'circle-progress-50-16': 'â',
|
|
101
|
+
'circle-progress-75-16': 'â',
|
|
102
|
+
'clear-formatting-16': 'đ
°ī¸',
|
|
103
|
+
'copy-clipboard-16': 'đ',
|
|
104
|
+
'clock-16': 'đ',
|
|
105
|
+
'cloud-16': 'âī¸',
|
|
106
|
+
'cloud-lightning-16': 'âī¸',
|
|
107
|
+
'cloud-rain-16': 'đ§ī¸',
|
|
108
|
+
'cloud-snow-16': 'đ¨ī¸',
|
|
109
|
+
'cloud-sun-16': 'â
',
|
|
110
|
+
'code-16': 'đģ',
|
|
111
|
+
'code-block-16': 'đģ',
|
|
112
|
+
'cog-16': 'âī¸',
|
|
113
|
+
'coin-16': 'đĒ',
|
|
114
|
+
'coins-16': 'đĒ',
|
|
115
|
+
'command-symbol-16': 'â',
|
|
116
|
+
'compass-16': 'đ§',
|
|
117
|
+
'computer-chip-16': 'đž',
|
|
118
|
+
'contrast-16': 'â',
|
|
119
|
+
'credit-card-16': 'đŗ',
|
|
120
|
+
'cricket-ball-16': 'đ',
|
|
121
|
+
'crop-16': 'âī¸',
|
|
122
|
+
'crown-16': 'đ',
|
|
123
|
+
'crypto-16': 'âŋ',
|
|
124
|
+
'delete-document-16': 'đī¸',
|
|
125
|
+
'desktop-16': 'đĨī¸',
|
|
126
|
+
'devices-16': 'đą',
|
|
127
|
+
'dna-16': 'đ§Ŧ',
|
|
128
|
+
'document-16': 'đ',
|
|
129
|
+
'dot-16': 'âĸ',
|
|
130
|
+
'download-16': 'âŦī¸',
|
|
131
|
+
'droplets-16': 'đ§',
|
|
132
|
+
'duplicate-16': 'đ',
|
|
133
|
+
'edit-shape-16': 'âī¸',
|
|
134
|
+
'eject-16': 'âī¸',
|
|
135
|
+
'ellipsis-16': 'âĻ',
|
|
136
|
+
'ellipsis-vertical-16': 'âŽ',
|
|
137
|
+
'emoji-16': 'đ',
|
|
138
|
+
'emoji-sad-16': 'đĸ',
|
|
139
|
+
'envelope-16': 'âī¸',
|
|
140
|
+
'eraser-16': 'đ§Ŋ',
|
|
141
|
+
'important-01-16': 'â',
|
|
142
|
+
'exclamationmark-16': 'â',
|
|
143
|
+
'exclamationmark-2-16': 'âŧī¸',
|
|
144
|
+
'exclamationmark-3-16': 'âī¸',
|
|
145
|
+
'eye-16': 'đī¸',
|
|
146
|
+
'eye-disabled-16': 'đĢ',
|
|
147
|
+
'eye-dropper-16': 'đ',
|
|
148
|
+
'female-16': 'âī¸',
|
|
149
|
+
'film-strip-16': 'đī¸',
|
|
150
|
+
'filter-16': 'đ',
|
|
151
|
+
'finder-16': 'đ',
|
|
152
|
+
'fingerprint-16': 'đ',
|
|
153
|
+
'flag-16': 'đŠ',
|
|
154
|
+
'folder-16': 'đ',
|
|
155
|
+
'footprints-16': 'đŖ',
|
|
156
|
+
'forward-16': 'âŠ',
|
|
157
|
+
'forward-filled-16': 'âŠ',
|
|
158
|
+
'fountain-tip-16': 'đī¸',
|
|
159
|
+
'full-signal-16': 'đļ',
|
|
160
|
+
'game-controller-16': 'đŽ',
|
|
161
|
+
'gauge-16': 'đī¸',
|
|
162
|
+
'geopin-16': 'đ',
|
|
163
|
+
'germ-16': 'đĻ ',
|
|
164
|
+
'gift-16': 'đ',
|
|
165
|
+
'glasses-16': 'đ',
|
|
166
|
+
'globe-01-16': 'đ',
|
|
167
|
+
'goal-16': 'đĨ
',
|
|
168
|
+
'hammer-16': 'đ¨',
|
|
169
|
+
'hard-drive-16': 'đŊ',
|
|
170
|
+
'hashtag-16': '#',
|
|
171
|
+
'heading-16': 'H',
|
|
172
|
+
'headphones-16': 'đ§',
|
|
173
|
+
'heart-16': 'â¤ī¸',
|
|
174
|
+
'heart-disabled-16': 'đ',
|
|
175
|
+
'heartbeat-16': 'đ',
|
|
176
|
+
'highlight-16': 'đī¸',
|
|
177
|
+
'hourglass-16': 'âŗ',
|
|
178
|
+
'house-16': 'đ ',
|
|
179
|
+
'humidity-16': 'đ§',
|
|
180
|
+
'image-16': 'đŧī¸',
|
|
181
|
+
'info-01-16': 'âšī¸',
|
|
182
|
+
'italics-16': 'đŧ',
|
|
183
|
+
'key-16': 'đ',
|
|
184
|
+
'keyboard-16': 'â¨ī¸',
|
|
185
|
+
'layers-16': 'đ',
|
|
186
|
+
'leaderboard-16': 'đ',
|
|
187
|
+
'leaf-16': 'đ',
|
|
188
|
+
'signal-2-16': 'đļ',
|
|
189
|
+
'light-bulb-16': 'đĄ',
|
|
190
|
+
'light-bulb-off-16': 'đĄ',
|
|
191
|
+
'line-chart-16': 'đ',
|
|
192
|
+
'link-16': 'đ',
|
|
193
|
+
'livestream-01-16': 'đē',
|
|
194
|
+
'livestream-disabled-01-16': 'đē',
|
|
195
|
+
'lock-16': 'đ',
|
|
196
|
+
'lock-disabled-16': 'đ',
|
|
197
|
+
'lock-unlocked-16': 'đ',
|
|
198
|
+
'logout-16': 'đĒ',
|
|
199
|
+
'lorry-16': 'đ',
|
|
200
|
+
'lowercase-16': 'a',
|
|
201
|
+
'magnifying-glass-16': 'đ',
|
|
202
|
+
'male-16': 'âī¸',
|
|
203
|
+
'map-16': 'đēī¸',
|
|
204
|
+
'mask-16': 'đ',
|
|
205
|
+
'maximize-16': 'đ˛',
|
|
206
|
+
'medical-support-16': 'đĨ',
|
|
207
|
+
'megaphone-16': 'đŖ',
|
|
208
|
+
'memory-stick-16': 'đž',
|
|
209
|
+
'microphone-16': 'đ¤',
|
|
210
|
+
'microphone-disabled-16': 'đ¤',
|
|
211
|
+
'minimize-16': 'đ',
|
|
212
|
+
'minus-16': 'â',
|
|
213
|
+
'minus-circle-16': 'â',
|
|
214
|
+
'minus-circle-filled-16': 'â',
|
|
215
|
+
'mobile-16': 'đą',
|
|
216
|
+
'monitor-16': 'đĨī¸',
|
|
217
|
+
'moon-16': 'đ',
|
|
218
|
+
'moon-down-16': 'đ',
|
|
219
|
+
'moon-up-16': 'đ',
|
|
220
|
+
'moonrise-16': 'đ',
|
|
221
|
+
'mountain-16': 'â°ī¸',
|
|
222
|
+
'mouse-16': 'đąī¸',
|
|
223
|
+
'move-16': 'âī¸',
|
|
224
|
+
'mug-16': 'â',
|
|
225
|
+
'mug-steam-16': 'â',
|
|
226
|
+
'multiply-16': 'âī¸',
|
|
227
|
+
'music-16': 'đĩ',
|
|
228
|
+
'network-16': 'đ',
|
|
229
|
+
'new-document-16': 'đ',
|
|
230
|
+
'new-folder-16': 'đ',
|
|
231
|
+
'number-00-16': '0ī¸âŖ',
|
|
232
|
+
'number-01-16': '1ī¸âŖ',
|
|
233
|
+
'number-02-16': '2ī¸âŖ',
|
|
234
|
+
'number-03-16': '3ī¸âŖ',
|
|
235
|
+
'number-04-16': '4ī¸âŖ',
|
|
236
|
+
'number-05-16': '5ī¸âŖ',
|
|
237
|
+
'number-06-16': '6ī¸âŖ',
|
|
238
|
+
'number-07-16': '7ī¸âŖ',
|
|
239
|
+
'number-08-16': '8ī¸âŖ',
|
|
240
|
+
'number-09-16': '9ī¸âŖ',
|
|
241
|
+
'number-10-16': 'đ',
|
|
242
|
+
'number-11-16': '1ī¸âŖ1ī¸âŖ',
|
|
243
|
+
'number-12-16': '1ī¸âŖ2ī¸âŖ',
|
|
244
|
+
'number-13-16': '1ī¸âŖ3ī¸âŖ',
|
|
245
|
+
'number-14-16': '1ī¸âŖ4ī¸âŖ',
|
|
246
|
+
'number-15-16': '1ī¸âŖ5ī¸âŖ',
|
|
247
|
+
'number-16-16': '1ī¸âŖ6ī¸âŖ',
|
|
248
|
+
'number-17-16': '1ī¸âŖ7ī¸âŖ',
|
|
249
|
+
'number-18-16': '1ī¸âŖ8ī¸âŖ',
|
|
250
|
+
'number-19-16': '1ī¸âŖ9ī¸âŖ',
|
|
251
|
+
'number-20-16': '2ī¸âŖ0ī¸âŖ',
|
|
252
|
+
'number-21-16': '2ī¸âŖ1ī¸âŖ',
|
|
253
|
+
'number-22-16': '2ī¸âŖ2ī¸âŖ',
|
|
254
|
+
'number-23-16': '2ī¸âŖ3ī¸âŖ',
|
|
255
|
+
'number-24-16': '2ī¸âŖ4ī¸âŖ',
|
|
256
|
+
'number-25-16': '2ī¸âŖ5ī¸âŖ',
|
|
257
|
+
'number-26-16': '2ī¸âŖ6ī¸âŖ',
|
|
258
|
+
'number-27-16': '2ī¸âŖ7ī¸âŖ',
|
|
259
|
+
'number-28-16': '2ī¸âŖ8ī¸âŖ',
|
|
260
|
+
'number-29-16': '2ī¸âŖ9ī¸âŖ',
|
|
261
|
+
'number-30-16': '30',
|
|
262
|
+
'number-31-16': '31',
|
|
263
|
+
'number-32-16': '32',
|
|
264
|
+
'number-33-16': '33',
|
|
265
|
+
'number-34-16': '34',
|
|
266
|
+
'number-35-16': '35',
|
|
267
|
+
'number-36-16': '36',
|
|
268
|
+
'number-37-16': '37',
|
|
269
|
+
'number-38-16': '38',
|
|
270
|
+
'number-39-16': '39',
|
|
271
|
+
'number-40-16': '40',
|
|
272
|
+
'number-41-16': '41',
|
|
273
|
+
'number-42-16': '42',
|
|
274
|
+
'number-43-16': '43',
|
|
275
|
+
'number-44-16': '44',
|
|
276
|
+
'number-45-16': '45',
|
|
277
|
+
'number-46-16': '46',
|
|
278
|
+
'number-47-16': '47',
|
|
279
|
+
'number-48-16': '48',
|
|
280
|
+
'number-49-16': '49',
|
|
281
|
+
'number-50-16': '50',
|
|
282
|
+
'number-51-16': '51',
|
|
283
|
+
'number-52-16': '52',
|
|
284
|
+
'number-53-16': '53',
|
|
285
|
+
'number-54-16': '54',
|
|
286
|
+
'number-55-16': '55',
|
|
287
|
+
'number-56-16': '56',
|
|
288
|
+
'number-57-16': '57',
|
|
289
|
+
'number-58-16': '58',
|
|
290
|
+
'number-59-16': '59',
|
|
291
|
+
'number-60-16': '60',
|
|
292
|
+
'number-61-16': '61',
|
|
293
|
+
'number-62-16': '62',
|
|
294
|
+
'number-63-16': '63',
|
|
295
|
+
'number-64-16': '64',
|
|
296
|
+
'number-65-16': '65',
|
|
297
|
+
'number-66-16': '66',
|
|
298
|
+
'number-67-16': '67',
|
|
299
|
+
'number-68-16': '68',
|
|
300
|
+
'number-69-16': '69',
|
|
301
|
+
'number-70-16': '70',
|
|
302
|
+
'number-71-16': '71',
|
|
303
|
+
'number-72-16': '72',
|
|
304
|
+
'number-73-16': '73',
|
|
305
|
+
'number-74-16': '74',
|
|
306
|
+
'number-75-16': '75',
|
|
307
|
+
'number-76-16': '76',
|
|
308
|
+
'number-77-16': '77',
|
|
309
|
+
'number-78-16': '78',
|
|
310
|
+
'number-79-16': '79',
|
|
311
|
+
'number-80-16': '80',
|
|
312
|
+
'number-81-16': '81',
|
|
313
|
+
'number-82-16': '82',
|
|
314
|
+
'number-83-16': '83',
|
|
315
|
+
'number-84-16': '84',
|
|
316
|
+
'number-85-16': '85',
|
|
317
|
+
'number-86-16': '86',
|
|
318
|
+
'number-87-16': '87',
|
|
319
|
+
'number-88-16': '88',
|
|
320
|
+
'number-89-16': '89',
|
|
321
|
+
'number-90-16': '90',
|
|
322
|
+
'number-91-16': '91',
|
|
323
|
+
'number-92-16': '92',
|
|
324
|
+
'number-93-16': '93',
|
|
325
|
+
'number-94-16': '94',
|
|
326
|
+
'number-95-16': '95',
|
|
327
|
+
'number-96-16': '96',
|
|
328
|
+
'number-97-16': '97',
|
|
329
|
+
'number-98-16': '98',
|
|
330
|
+
'number-99-16': '99',
|
|
331
|
+
'number-list-16': 'đĸ',
|
|
332
|
+
'paperclip-16': 'đ',
|
|
333
|
+
'paragraph-16': 'Âļ',
|
|
334
|
+
'patch-16': 'đŠš',
|
|
335
|
+
'pause-16': 'â¸ī¸',
|
|
336
|
+
'pause-filled-16': 'â¸ī¸',
|
|
337
|
+
'pencil-16': 'âī¸',
|
|
338
|
+
'person-16': 'đ¤',
|
|
339
|
+
'person-circle-16': 'đ¤',
|
|
340
|
+
'person-lines-16': 'đ¤',
|
|
341
|
+
'phone-16': 'đ',
|
|
342
|
+
'phone-ringing-16': 'đŗ',
|
|
343
|
+
'pie-chart-16': 'đ',
|
|
344
|
+
'pill-16': 'đ',
|
|
345
|
+
'pin-16': 'đ',
|
|
346
|
+
'pin-disabled-16': 'đ',
|
|
347
|
+
'play-16': 'âļī¸',
|
|
348
|
+
'play-filled-16': 'âļī¸',
|
|
349
|
+
'plug-16': 'đ',
|
|
350
|
+
'plus-16': 'â',
|
|
351
|
+
'plus-circle-16': 'â',
|
|
352
|
+
'plus-circle-filled-16': 'â',
|
|
353
|
+
'plus-minus-divide-multiply-16': 'â',
|
|
354
|
+
'plus-square-16': 'â',
|
|
355
|
+
'plus-top-right-square-16': 'â',
|
|
356
|
+
'power-16': 'âĄ',
|
|
357
|
+
'print-16': 'đ¨ī¸',
|
|
358
|
+
'question-mark-circle-16': 'â',
|
|
359
|
+
'quicklink-16': 'đ',
|
|
360
|
+
'quotation-marks-16': '"',
|
|
361
|
+
'quote-block-16': 'đŦ',
|
|
362
|
+
'racket-16': 'đž',
|
|
363
|
+
'raindrop-16': 'đ§',
|
|
364
|
+
'raycast-logo-neg-16': 'đĩ',
|
|
365
|
+
'raycast-logo-pos-16': 'đĩ',
|
|
366
|
+
'receipt-16': 'đ§ž',
|
|
367
|
+
'redo-16': 'âģ',
|
|
368
|
+
'remove-person-16': 'đ¤',
|
|
369
|
+
'repeat-16': 'đ',
|
|
370
|
+
'replace-16': 'đ',
|
|
371
|
+
'replace-one-16': 'đ',
|
|
372
|
+
'reply-16': 'âŠī¸',
|
|
373
|
+
'rewind-16': 'âĒ',
|
|
374
|
+
'rewind-filled-16': 'âĒ',
|
|
375
|
+
'rocket-16': 'đ',
|
|
376
|
+
'rosette-16': 'đĩī¸',
|
|
377
|
+
'rotate-anti-clockwise-16': 'âē',
|
|
378
|
+
'rotate-clockwise-16': 'âģ',
|
|
379
|
+
'rss-16': 'đĄ',
|
|
380
|
+
'ruler-16': 'đ',
|
|
381
|
+
'save-document-16': 'đž',
|
|
382
|
+
'shield-01-16': 'đĄī¸',
|
|
383
|
+
'short-paragraph-16': 'Âļ',
|
|
384
|
+
'shuffle-16': 'đ',
|
|
385
|
+
'signal-0-16': 'đļ',
|
|
386
|
+
'signal-1-16': 'đļ',
|
|
387
|
+
'signal-3-16': 'đļ',
|
|
388
|
+
'snippets-16': 'âī¸',
|
|
389
|
+
'snowflake-16': 'âī¸',
|
|
390
|
+
'soccer-ball-16': 'âŊ',
|
|
391
|
+
'speaker-16': 'đ',
|
|
392
|
+
'speaker-down-16': 'đ',
|
|
393
|
+
'speaker-high-16': 'đ',
|
|
394
|
+
'speaker-low-16': 'đ',
|
|
395
|
+
'speaker-off-16': 'đ',
|
|
396
|
+
'speaker-on-16': 'đ',
|
|
397
|
+
'speaker-up-16': 'đ',
|
|
398
|
+
'speech-bubble-active-16': 'đŦ',
|
|
399
|
+
'speech-bubble-important-16': 'đŦ',
|
|
400
|
+
'square-ellipsis-16': 'âŦ',
|
|
401
|
+
'stacked-bars-1-16': 'đ',
|
|
402
|
+
'stacked-bars-2-16': 'đ',
|
|
403
|
+
'stacked-bars-3-16': 'đ',
|
|
404
|
+
'stacked-bars-4-16': 'đ',
|
|
405
|
+
'star-16': 'â',
|
|
406
|
+
'star-circle-16': 'â',
|
|
407
|
+
'app-window-sidebar-right-16': 'đĒ',
|
|
408
|
+
'star-disabled-16': 'â',
|
|
409
|
+
'stars-16': 'â¨',
|
|
410
|
+
'stop-16': 'âšī¸',
|
|
411
|
+
'stop-filled-16': 'âšī¸',
|
|
412
|
+
'stopwatch-16': 'âąī¸',
|
|
413
|
+
'store-16': 'đĒ',
|
|
414
|
+
'strike-through-16': '~~',
|
|
415
|
+
'sun-16': 'âī¸',
|
|
416
|
+
'sunrise-16': 'đ
',
|
|
417
|
+
'swatch-16': 'đ¨',
|
|
418
|
+
'switch-16': 'đ',
|
|
419
|
+
'syringe-16': 'đ',
|
|
420
|
+
'tack-16': 'đ',
|
|
421
|
+
'tack-disabled-16': 'đ',
|
|
422
|
+
'tag-16': 'đˇī¸',
|
|
423
|
+
'temperature-16': 'đĄī¸',
|
|
424
|
+
'tennis-ball-16': 'đž',
|
|
425
|
+
'terminal-16': 'đģ',
|
|
426
|
+
'text-16': 'đ',
|
|
427
|
+
'text-cursor-16': 'đ',
|
|
428
|
+
'text-input-16': 'đ',
|
|
429
|
+
'text-selection-16': 'đ',
|
|
430
|
+
'thumbs-down-16': 'đ',
|
|
431
|
+
'thumbs-down-filled-16': 'đ',
|
|
432
|
+
'thumbs-up-16': 'đ',
|
|
433
|
+
'thumbs-up-filled-16': 'đ',
|
|
434
|
+
'ticket-16': 'đĢ',
|
|
435
|
+
'torch-16': 'đĻ',
|
|
436
|
+
'train-16': 'đ',
|
|
437
|
+
'trash-16': 'đī¸',
|
|
438
|
+
'tray-16': 'đ',
|
|
439
|
+
'tree-16': 'đŗ',
|
|
440
|
+
'trophy-16': 'đ',
|
|
441
|
+
'two-people-16': 'đĨ',
|
|
442
|
+
'umbrella-16': 'âī¸',
|
|
443
|
+
'underline-16': 'đ',
|
|
444
|
+
'undo-16': 'âļ',
|
|
445
|
+
'upload-16': 'âŦī¸',
|
|
446
|
+
'uppercase-16': 'đ¤',
|
|
447
|
+
'video-16': 'đš',
|
|
448
|
+
'video-disabled-16': 'đš',
|
|
449
|
+
'wallet-16': 'đ',
|
|
450
|
+
'wand-16': 'đĒ',
|
|
451
|
+
'warning-16': 'â ī¸',
|
|
452
|
+
'waveform-16': 'ã°ī¸',
|
|
453
|
+
'weights-16': 'đī¸',
|
|
454
|
+
'wifi-16': 'đļ',
|
|
455
|
+
'wifi-disabled-16': 'đļ',
|
|
456
|
+
'wind-16': 'đ¨',
|
|
457
|
+
'windsock-16': 'đ',
|
|
458
|
+
'wrench-screwdriver-16': 'đ§',
|
|
459
|
+
'wrist-watch-16': 'â',
|
|
460
|
+
'x-mark-circle-16': 'â',
|
|
461
|
+
'x-mark-circle-filled-16': 'â',
|
|
462
|
+
'x-mark-circle-half-dash-16': 'â',
|
|
463
|
+
'x-mark-top-right-square-16': 'â',
|
|
464
|
+
'xmark-16': 'â',
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
// Create Icon object with properties for each icon
|
|
468
|
+
function createIconEnum(): Record<string, string> {
|
|
469
|
+
const icons: Record<string, string> = {}
|
|
470
|
+
|
|
471
|
+
for (const iconId of Object.keys(iconToEmoji)) {
|
|
472
|
+
// Remove -16 suffix and convert to PascalCase
|
|
473
|
+
const name = iconId.replace(/-16$/, '')
|
|
474
|
+
const pascalName = pascalCase(name)
|
|
475
|
+
icons[pascalName] = iconId
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
return icons
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
// Export Icon enum-like object
|
|
482
|
+
export const Icon = createIconEnum()
|
|
483
|
+
|
|
484
|
+
// Helper function to get emoji for an icon
|
|
485
|
+
export function getIconEmoji(icon: string): string {
|
|
486
|
+
return iconToEmoji[icon] || 'â'
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// Icon component that displays emoji
|
|
490
|
+
interface IconProps {
|
|
491
|
+
source: string
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export function IconComponent({ source }: IconProps): any {
|
|
495
|
+
return getIconEmoji(source)
|
|
496
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Icon, getIconEmoji } from 'termcast/src/components/icon'
|
|
2
|
+
|
|
3
|
+
// Image types similar to Raycast
|
|
4
|
+
export interface ImageProps {
|
|
5
|
+
source: ImageSource
|
|
6
|
+
mask?: ImageMask
|
|
7
|
+
tintColor?: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type ImageSource =
|
|
11
|
+
| string
|
|
12
|
+
| { light: string; dark: string }
|
|
13
|
+
| FileIcon
|
|
14
|
+
| ImageLike
|
|
15
|
+
|
|
16
|
+
export interface FileIcon {
|
|
17
|
+
fileIcon: string
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type ImageLike = string | FileIcon | ImageProps
|
|
21
|
+
|
|
22
|
+
export enum ImageMask {
|
|
23
|
+
Circle = 'circle',
|
|
24
|
+
RoundedRectangle = 'rounded-rectangle',
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Image component that displays emoji or text representation
|
|
28
|
+
export function Image({ source }: ImageProps): any {
|
|
29
|
+
if (typeof source === 'string') {
|
|
30
|
+
// Check if it's an icon ID
|
|
31
|
+
if (source.endsWith('-16')) {
|
|
32
|
+
return getIconEmoji(source)
|
|
33
|
+
}
|
|
34
|
+
// Check if it's a single emoji
|
|
35
|
+
if (source.length <= 4) {
|
|
36
|
+
return source
|
|
37
|
+
}
|
|
38
|
+
// Otherwise treat as a file path
|
|
39
|
+
return 'đ'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if ('light' in source && 'dark' in source) {
|
|
43
|
+
// For theme-aware images, just use light version for now
|
|
44
|
+
return Image({ source: source.light } as ImageProps)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if ('fileIcon' in source) {
|
|
48
|
+
// File icon - return file emoji
|
|
49
|
+
return 'đ'
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Default fallback
|
|
53
|
+
return 'đŧī¸'
|
|
54
|
+
}
|