@fibery/ui-kit 14.0.1 → 15.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/lib/_virtual/_rolldown/runtime.js +1 -2
- package/lib/a11y-color.d.ts +1 -3
- package/lib/a11y-color.js +1 -2
- package/lib/abbreviate-name.d.ts +1 -3
- package/lib/abbreviate-name.js +1 -2
- package/lib/action-badge.d.ts +1 -3
- package/lib/action-badge.js +1 -2
- package/lib/actions-menu/actions-menu-checkbox-item.d.ts +1 -3
- package/lib/actions-menu/actions-menu-checkbox-item.js +3 -4
- package/lib/actions-menu/actions-menu-confirmation.d.ts +1 -3
- package/lib/actions-menu/actions-menu-confirmation.js +3 -4
- package/lib/actions-menu/actions-menu-item.d.ts +1 -3
- package/lib/actions-menu/actions-menu-item.js +5 -6
- package/lib/actions-menu/actions-menu-props.d.ts +1 -3
- package/lib/actions-menu/actions-menu-separator.d.ts +1 -3
- package/lib/actions-menu/actions-menu-separator.js +1 -2
- package/lib/actions-menu/actions-menu-sub-command-menu.d.ts +2 -4
- package/lib/actions-menu/actions-menu-sub-command-menu.js +3 -4
- package/lib/actions-menu/actions-menu-sub-menu.d.ts +1 -3
- package/lib/actions-menu/actions-menu-sub-menu.js +3 -4
- package/lib/actions-menu/actions-menu-toggle-item.d.ts +1 -3
- package/lib/actions-menu/actions-menu-toggle-item.js +2 -3
- package/lib/actions-menu/actions-menu.d.ts +1 -3
- package/lib/actions-menu/actions-menu.js +4 -5
- package/lib/actions-menu/async-actions-menu-item.d.ts +1 -3
- package/lib/actions-menu/async-actions-menu-item.js +2 -3
- package/lib/actions-menu/context-actions-menu.d.ts +1 -3
- package/lib/actions-menu/context-actions-menu.js +5 -6
- package/lib/actions-menu/contexts/actions-menu-context.d.ts +1 -3
- package/lib/actions-menu/contexts/actions-menu-context.js +1 -2
- package/lib/actions-menu/contexts/actions-menu-dangerous-rows.d.ts +0 -2
- package/lib/actions-menu/contexts/actions-menu-dangerous-rows.js +3 -6
- package/lib/actions-menu/index.d.ts +4 -6
- package/lib/actions-menu/index.js +1 -2
- package/lib/actions-menu/utils/insert-separators.d.ts +1 -3
- package/lib/actions-menu/utils/insert-separators.js +1 -2
- package/lib/actions-panel.d.ts +1 -3
- package/lib/actions-panel.js +2 -3
- package/lib/animated-height-container.d.ts +1 -3
- package/lib/animated-height-container.js +1 -2
- package/lib/animations.d.ts +1 -3
- package/lib/animations.js +1 -2
- package/lib/antd/ant-modal.d.ts +1 -3
- package/lib/antd/ant-modal.js +4 -5
- package/lib/antd/ant-upload.d.ts +0 -2
- package/lib/antd/ant-upload.js +1 -2
- package/lib/antd/auto-complete.d.ts +1 -3
- package/lib/antd/auto-complete.js +1 -2
- package/lib/antd/get-wrapper.d.ts +1 -3
- package/lib/antd/get-wrapper.js +1 -2
- package/lib/antd/global-overrides.d.ts +1 -3
- package/lib/antd/global-overrides.js +1 -2
- package/lib/antd/index.d.ts +1 -3
- package/lib/antd/index.js +1 -2
- package/lib/antd/input-number.d.ts +1 -3
- package/lib/antd/input-number.js +5 -6
- package/lib/antd/input.d.ts +0 -2
- package/lib/antd/input.js +4 -5
- package/lib/antd/input.wyw-in-js.css +1 -1
- package/lib/antd/styles.d.ts +1 -3
- package/lib/antd/styles.js +1 -2
- package/lib/antd/tabs.d.ts +1 -3
- package/lib/antd/tabs.js +1 -2
- package/lib/antd/utils.d.ts +1 -3
- package/lib/antd/utils.js +1 -2
- package/lib/apca.d.ts +1 -3
- package/lib/apca.js +1 -2
- package/lib/app-icon-with-fallback.d.ts +0 -2
- package/lib/app-icon-with-fallback.js +5 -6
- package/lib/app-icon-wrapper.d.ts +1 -3
- package/lib/app-icon-wrapper.js +2 -3
- package/lib/app-icon.d.ts +1 -3
- package/lib/app-icon.js +2 -3
- package/lib/app-icons.js +1 -2
- package/lib/app-mode.d.ts +1 -3
- package/lib/app-mode.js +1 -2
- package/lib/automation-avatar.d.ts +1 -3
- package/lib/automation-avatar.js +1 -2
- package/lib/autosize-input/number-input.d.ts +1 -3
- package/lib/autosize-input/number-input.js +3 -4
- package/lib/autosize-input/styles.d.ts +1 -3
- package/lib/autosize-input/styles.js +1 -2
- package/lib/autosize-input/text-area.d.ts +1 -3
- package/lib/autosize-input/text-area.js +2 -3
- package/lib/autosize-input/text-input.d.ts +1 -3
- package/lib/autosize-input/text-input.js +2 -3
- package/lib/autosize-input/z-stack.d.ts +1 -3
- package/lib/autosize-input/z-stack.js +1 -2
- package/lib/avatar-colors.d.ts +1 -3
- package/lib/avatar-colors.js +2 -3
- package/lib/avatar.d.ts +0 -2
- package/lib/avatar.js +3 -4
- package/lib/axis-header.d.ts +1 -3
- package/lib/axis-header.js +2 -3
- package/lib/axis-header.wyw-in-js.css +1 -1
- package/lib/badge.d.ts +1 -3
- package/lib/badge.js +1 -2
- package/lib/banner/banner-action.d.ts +1 -3
- package/lib/banner/banner-action.js +1 -2
- package/lib/banner/banner-context.d.ts +1 -3
- package/lib/banner/banner-context.js +1 -2
- package/lib/banner/banner-variant.d.ts +1 -3
- package/lib/banner/banner.d.ts +1 -3
- package/lib/banner/banner.js +4 -5
- package/lib/box-styles.d.ts +1 -3
- package/lib/box-styles.js +1 -2
- package/lib/box-styles.wyw-in-js.css +1 -1
- package/lib/box.d.ts +1 -3
- package/lib/box.js +8 -10
- package/lib/box.wyw-in-js.css +8 -8
- package/lib/breadcrumb.d.ts +1 -3
- package/lib/breadcrumb.js +5 -6
- package/lib/breakpoints.d.ts +1 -3
- package/lib/breakpoints.js +1 -2
- package/lib/builtin-theme-palette.d.ts +1 -3
- package/lib/builtin-theme-palette.js +1 -2
- package/lib/button/actions-button-compact.d.ts +1 -3
- package/lib/button/actions-button-compact.js +4 -5
- package/lib/button/actions-button.d.ts +1 -3
- package/lib/button/actions-button.js +3 -4
- package/lib/button/add-button.d.ts +1 -3
- package/lib/button/add-button.js +3 -4
- package/lib/button/back-button.d.ts +1 -3
- package/lib/button/back-button.js +3 -4
- package/lib/button/base-button.d.ts +1 -3
- package/lib/button/base-button.js +1 -2
- package/lib/button/base-button.wyw-in-js.css +1 -1
- package/lib/button/button-group.d.ts +1 -3
- package/lib/button/button-group.js +1 -2
- package/lib/button/button.d.ts +1 -3
- package/lib/button/button.js +3 -4
- package/lib/button/icon-button.d.ts +1 -3
- package/lib/button/icon-button.js +2 -3
- package/lib/button/make-button-colors.d.ts +2 -4
- package/lib/button/make-button-colors.js +14 -15
- package/lib/button/select-button.d.ts +1 -3
- package/lib/button/select-button.js +3 -4
- package/lib/canvas-colors.d.ts +1 -3
- package/lib/canvas-colors.js +2 -3
- package/lib/card-container-layout.d.ts +1 -3
- package/lib/card-container-layout.js +1 -2
- package/lib/card-container.d.ts +1 -3
- package/lib/card-container.js +3 -4
- package/lib/card-hidden-link.d.ts +1 -3
- package/lib/card-hidden-link.js +1 -2
- package/lib/checkbox.d.ts +1 -3
- package/lib/checkbox.js +6 -7
- package/lib/checkbox.wyw-in-js.css +1 -1
- package/lib/collapsible/index.d.ts +1 -3
- package/lib/collapsible/index.js +1 -2
- package/lib/collapsible-section.d.ts +1 -3
- package/lib/collapsible-section.js +4 -5
- package/lib/color-adjuster.d.ts +1 -3
- package/lib/color-adjuster.js +1 -2
- package/lib/color-converters.d.ts +1 -3
- package/lib/color-converters.js +1 -2
- package/lib/color-css-filter.d.ts +1 -3
- package/lib/color-css-filter.js +1 -2
- package/lib/color-filter-base.d.ts +1 -3
- package/lib/color-filter-base.js +1 -2
- package/lib/color-filter.d.ts +1 -3
- package/lib/color-filter.js +1 -2
- package/lib/color-gamut.d.ts +3 -3
- package/lib/color-gamut.js +4 -5
- package/lib/color-inspect.d.ts +1 -3
- package/lib/color-inspect.js +2 -3
- package/lib/color-invert.d.ts +1 -3
- package/lib/color-invert.js +1 -2
- package/lib/color-metrics.d.ts +1 -3
- package/lib/color-metrics.js +1 -2
- package/lib/color-picker/color-picker-or-loader.d.ts +1 -3
- package/lib/color-picker/color-picker-or-loader.js +1 -2
- package/lib/color-picker/index.d.ts +1 -3
- package/lib/color-picker/index.js +2 -3
- package/lib/color-picker/slider-pointer.d.ts +1 -3
- package/lib/color-picker/slider-pointer.js +1 -2
- package/lib/color-picker/swatch-grid.d.ts +1 -3
- package/lib/color-picker/swatch-grid.js +1 -2
- package/lib/color-picker/swatch.d.ts +1 -3
- package/lib/color-picker/swatch.js +1 -2
- package/lib/color-serialization.d.ts +1 -3
- package/lib/color-serialization.js +1 -2
- package/lib/color-utils.d.ts +0 -2
- package/lib/color-utils.js +2 -3
- package/lib/command-menu/index.d.ts +1 -3
- package/lib/command-menu/index.js +7 -8
- package/lib/command-menu/index.wyw-in-js.css +1 -1
- package/lib/command-menu/nested-command-menu.d.ts +1 -3
- package/lib/command-menu/nested-command-menu.js +7 -8
- package/lib/command-menu/nested-command-menu.wyw-in-js.css +1 -1
- package/lib/comment.d.ts +1 -3
- package/lib/comment.js +5 -6
- package/lib/context-menu/index.d.ts +1 -3
- package/lib/context-menu/index.js +3 -4
- package/lib/copy-to-clipboard.d.ts +1 -3
- package/lib/copy-to-clipboard.js +1 -2
- package/lib/count-badge.d.ts +1 -3
- package/lib/count-badge.js +1 -2
- package/lib/date-picker/autocomplete.d.ts +1 -3
- package/lib/date-picker/autocomplete.js +3 -4
- package/lib/date-picker/constants.d.ts +1 -3
- package/lib/date-picker/constants.js +1 -2
- package/lib/date-picker/contexts.d.ts +1 -3
- package/lib/date-picker/contexts.js +1 -2
- package/lib/date-picker/date-range-input.d.ts +1 -3
- package/lib/date-picker/date-range-input.js +6 -7
- package/lib/date-picker/date-range-picker-popup-content.d.ts +1 -3
- package/lib/date-picker/date-range-picker-popup-content.js +5 -6
- package/lib/date-picker/date-range-picker.d.ts +2 -4
- package/lib/date-picker/date-range-picker.js +8 -9
- package/lib/date-picker/day-with-start-end-buttons.d.ts +1 -3
- package/lib/date-picker/day-with-start-end-buttons.js +2 -3
- package/lib/date-picker/fake-date-input.d.ts +1 -3
- package/lib/date-picker/fake-date-input.js +4 -5
- package/lib/date-picker/get-weekends-for-month.d.ts +1 -3
- package/lib/date-picker/get-weekends-for-month.js +1 -2
- package/lib/date-picker/rc-input-types.d.ts +1 -3
- package/lib/date-picker/relative-date-picker.d.ts +1 -3
- package/lib/date-picker/relative-date-picker.js +3 -4
- package/lib/date-picker/single-date-input.d.ts +1 -3
- package/lib/date-picker/single-date-input.js +6 -7
- package/lib/date-picker/single-date-picker-popup-content.d.ts +1 -3
- package/lib/date-picker/single-date-picker-popup-content.js +4 -5
- package/lib/date-picker/single-date-picker.d.ts +1 -3
- package/lib/date-picker/single-date-picker.js +7 -8
- package/lib/date-picker/styles.d.ts +1 -3
- package/lib/date-picker/styles.js +1 -2
- package/lib/date-picker/styles.wyw-in-js.css +1 -1
- package/lib/date-picker/types.d.ts +1 -3
- package/lib/date-picker/utils.d.ts +1 -3
- package/lib/date-picker/utils.js +1 -2
- package/lib/date-picker/with-popup-control.d.ts +1 -3
- package/lib/date-picker/with-popup-control.js +1 -2
- package/lib/day-select/day-select.d.ts +1 -3
- package/lib/day-select/day-select.js +2 -3
- package/lib/day-select/iso-week-day-select.d.ts +1 -3
- package/lib/day-select/iso-week-day-select.js +1 -2
- package/lib/day-select/mount-day-select.d.ts +1 -3
- package/lib/day-select/mount-day-select.js +1 -2
- package/lib/day-select/week-day-select.d.ts +1 -3
- package/lib/day-select/week-day-select.js +1 -2
- package/lib/delayed.d.ts +1 -3
- package/lib/delayed.js +1 -2
- package/lib/design-system/alpha-coefficients.d.ts +83 -191
- package/lib/design-system/alpha-coefficients.js +83 -190
- package/lib/design-system/alpha.d.ts +2 -38
- package/lib/design-system/alpha.js +2 -33
- package/lib/design-system/animation.d.ts +1 -3
- package/lib/design-system/animation.js +1 -2
- package/lib/design-system/colors-charts.d.ts +1 -3
- package/lib/design-system/colors-charts.js +1 -2
- package/lib/design-system/colors-css.d.ts +1 -3
- package/lib/design-system/colors-css.js +1 -2
- package/lib/design-system/colors-js.d.ts +1 -3
- package/lib/design-system/colors-js.js +1 -2
- package/lib/design-system/colors-swatches.d.ts +1 -3
- package/lib/design-system/colors-swatches.js +1 -2
- package/lib/design-system/colors.d.ts +17 -22
- package/lib/design-system/colors.js +150 -161
- package/lib/design-system/date.d.ts +1 -3
- package/lib/design-system/date.js +1 -2
- package/lib/design-system/def.d.ts +1 -3
- package/lib/design-system/def.js +1 -2
- package/lib/design-system/fns.d.ts +2 -4
- package/lib/design-system/fns.enum.d.ts +1 -3
- package/lib/design-system/fns.enum.js +2 -3
- package/lib/design-system/fns.icon.d.ts +1 -3
- package/lib/design-system/fns.icon.js +2 -3
- package/lib/design-system/fns.js +8 -9
- package/lib/design-system/layout.d.ts +1 -3
- package/lib/design-system/layout.js +1 -2
- package/lib/design-system/skeleton.d.ts +1 -3
- package/lib/design-system/skeleton.js +1 -2
- package/lib/design-system/token-name.d.ts +1 -3
- package/lib/design-system/token-name.js +5 -3
- package/lib/design-system/types.d.ts +1 -3
- package/lib/design-system/typography.d.ts +1 -3
- package/lib/design-system/typography.js +1 -2
- package/lib/design-system/vars.d.ts +1 -3
- package/lib/design-system/vars.js +1 -2
- package/lib/design-system.d.ts +5 -5
- package/lib/design-system.js +4 -4
- package/lib/dnd.d.ts +1 -3
- package/lib/dnd.js +3 -4
- package/lib/dom-utils.d.ts +1 -3
- package/lib/dom-utils.js +1 -2
- package/lib/dot.d.ts +1 -3
- package/lib/dot.js +1 -2
- package/lib/double-apply.d.ts +1 -3
- package/lib/double-apply.js +1 -2
- package/lib/download-file.d.ts +0 -2
- package/lib/download-file.js +1 -2
- package/lib/dropdown-menu/index.d.ts +1 -3
- package/lib/dropdown-menu/index.js +3 -4
- package/lib/dropdown-menu/index.wyw-in-js.css +1 -1
- package/lib/embed.d.ts +2 -4
- package/lib/embed.js +6 -6
- package/lib/emoji-picker/app-icon-picker.d.ts +1 -3
- package/lib/emoji-picker/app-icon-picker.js +4 -5
- package/lib/emoji-picker/emoji-picker-content-with-color.d.ts +1 -3
- package/lib/emoji-picker/emoji-picker-content-with-color.js +4 -5
- package/lib/emoji-picker/emoji-picker-preview-footer.d.ts +1 -3
- package/lib/emoji-picker/emoji-picker-preview-footer.js +4 -5
- package/lib/emoji-picker/emoji-picker.d.ts +1 -3
- package/lib/emoji-picker/emoji-picker.js +3 -4
- package/lib/emoji-picker/emoji.d.ts +1 -3
- package/lib/emoji-picker/emoji.js +1 -2
- package/lib/emoji-picker/icon-emoji-picker.d.ts +1 -3
- package/lib/emoji-picker/icon-emoji-picker.js +3 -4
- package/lib/emoji-picker/primitives/category-label.d.ts +1 -3
- package/lib/emoji-picker/primitives/category-label.js +4 -5
- package/lib/emoji-picker/primitives/content.d.ts +1 -3
- package/lib/emoji-picker/primitives/content.js +1 -2
- package/lib/emoji-picker/primitives/emoji.d.ts +1 -3
- package/lib/emoji-picker/primitives/emoji.js +1 -2
- package/lib/emoji-picker/primitives/footer.d.ts +1 -3
- package/lib/emoji-picker/primitives/footer.js +1 -2
- package/lib/emoji-picker/primitives/grid-item.d.ts +1 -3
- package/lib/emoji-picker/primitives/grid-item.js +3 -4
- package/lib/emoji-picker/primitives/grid.d.ts +1 -3
- package/lib/emoji-picker/primitives/grid.js +5 -6
- package/lib/emoji-picker/primitives/header.d.ts +1 -3
- package/lib/emoji-picker/primitives/header.js +1 -2
- package/lib/emoji-picker/primitives/layout.d.ts +1 -3
- package/lib/emoji-picker/primitives/layout.js +1 -2
- package/lib/emoji-picker/primitives/preview-provider.d.ts +1 -3
- package/lib/emoji-picker/primitives/preview-provider.js +1 -2
- package/lib/emoji-picker/primitives/render-config-provider.d.ts +0 -2
- package/lib/emoji-picker/primitives/render-config-provider.js +1 -2
- package/lib/emoji-picker/primitives/root.d.ts +1 -3
- package/lib/emoji-picker/primitives/root.js +1 -2
- package/lib/emoji-picker/primitives/search-provider.d.ts +1 -3
- package/lib/emoji-picker/primitives/search-provider.js +1 -2
- package/lib/emoji-picker/primitives/search.d.ts +1 -3
- package/lib/emoji-picker/primitives/search.js +7 -8
- package/lib/emoji-picker/primitives/skin-provider.d.ts +1 -3
- package/lib/emoji-picker/primitives/skin-provider.js +1 -2
- package/lib/emoji-picker/primitives/skin-tone.d.ts +1 -3
- package/lib/emoji-picker/primitives/skin-tone.js +4 -5
- package/lib/emoji-picker/stores/emoji-data-store.d.ts +1 -3
- package/lib/emoji-picker/stores/emoji-data-store.js +1 -2
- package/lib/emoji-picker/stores/lazy-icon-data-store.d.ts +1 -3
- package/lib/emoji-picker/stores/lazy-icon-data-store.js +1 -2
- package/lib/emoji-picker/stores/static-emoji-data-store.d.ts +1 -3
- package/lib/emoji-picker/stores/static-emoji-data-store.js +2 -3
- package/lib/emoji-picker/use-emoji-found.d.ts +1 -3
- package/lib/emoji-picker/use-emoji-found.js +1 -2
- package/lib/emoji-picker/use-responsive-emoji-size.d.ts +1 -3
- package/lib/emoji-picker/use-responsive-emoji-size.js +1 -2
- package/lib/emoji-picker/utils/emoji-set.d.ts +1 -3
- package/lib/emoji-picker/utils/emoji-set.js +1 -2
- package/lib/emoji-picker/utils/emoji-support.d.ts +1 -3
- package/lib/emoji-picker/utils/emoji-support.js +1 -2
- package/lib/emoji-picker/utils/frequently.d.ts +1 -3
- package/lib/emoji-picker/utils/frequently.js +1 -2
- package/lib/emoji-picker/utils/load-emoji-data.d.ts +1 -3
- package/lib/emoji-picker/utils/load-emoji-data.js +1 -2
- package/lib/emoji-picker/utils/store.d.ts +1 -3
- package/lib/emoji-picker/utils/store.js +1 -2
- package/lib/emoji.d.ts +1 -3
- package/lib/emoji.js +1 -2
- package/lib/empty-state/empty-state-action.d.ts +1 -3
- package/lib/empty-state/empty-state-action.js +1 -2
- package/lib/empty-state/empty-state-emoji.d.ts +1 -3
- package/lib/empty-state/empty-state-emoji.js +1 -2
- package/lib/empty-state/empty-state.d.ts +1 -3
- package/lib/empty-state/empty-state.js +1 -2
- package/lib/empty-value.d.ts +1 -3
- package/lib/empty-value.js +1 -2
- package/lib/errors.d.ts +1 -3
- package/lib/errors.js +1 -2
- package/lib/favorites-icon.d.ts +1 -3
- package/lib/favorites-icon.js +5 -6
- package/lib/fibermoji-placeholder.d.ts +1 -3
- package/lib/fibermoji-placeholder.js +5 -6
- package/lib/fibery-brand-logo.d.ts +1 -3
- package/lib/fibery-brand-logo.js +1 -2
- package/lib/field-app-icon-name.d.ts +1 -3
- package/lib/field-app-icon-name.js +1 -2
- package/lib/field-app-icon.d.ts +1 -3
- package/lib/field-app-icon.js +2 -3
- package/lib/field-container.d.ts +1 -3
- package/lib/field-container.js +7 -8
- package/lib/field-icon.d.ts +1 -3
- package/lib/field-icon.js +1 -2
- package/lib/field-type-icon.d.ts +0 -2
- package/lib/field-type-icon.js +64 -63
- package/lib/file-item/add-query-param.d.ts +1 -3
- package/lib/file-item/add-query-param.js +1 -2
- package/lib/file-item/file-icon.d.ts +5 -5
- package/lib/file-item/file-icon.js +16 -17
- package/lib/file-item/file-item-preview.d.ts +1 -3
- package/lib/file-item/file-item-preview.js +1 -2
- package/lib/file-item/file-menu-items.d.ts +1 -3
- package/lib/file-item/file-menu-items.js +16 -17
- package/lib/file-item/file-preview-actions.d.ts +1 -3
- package/lib/file-item/file-preview-actions.js +17 -18
- package/lib/file-item/file-title.d.ts +1 -3
- package/lib/file-item/file-title.js +1 -2
- package/lib/file-item/share-file.d.ts +0 -2
- package/lib/file-item/share-file.js +1 -2
- package/lib/file-item/types.d.ts +1 -3
- package/lib/file-item.d.ts +1 -3
- package/lib/file-item.js +2 -3
- package/lib/form-field-loader.d.ts +1 -3
- package/lib/form-field-loader.js +1 -2
- package/lib/form-utils.d.ts +1 -3
- package/lib/form-utils.js +1 -2
- package/lib/format-date-from-now.d.ts +1 -3
- package/lib/format-date-from-now.js +1 -2
- package/lib/formula-avatar.d.ts +1 -3
- package/lib/formula-avatar.js +1 -2
- package/lib/full-fibery-logo.d.ts +1 -3
- package/lib/full-fibery-logo.js +1 -2
- package/lib/guide-link.d.ts +1 -3
- package/lib/guide-link.js +5 -6
- package/lib/header-layout.d.ts +3 -4
- package/lib/header-layout.js +3 -4
- package/lib/highlight-colors.d.ts +1 -3
- package/lib/highlight-colors.js +2 -3
- package/lib/hint.d.ts +1 -3
- package/lib/hint.js +4 -5
- package/lib/hotkey-scope.d.ts +0 -2
- package/lib/hotkey-scope.js +2 -3
- package/lib/hoverable-via-display.d.ts +1 -3
- package/lib/hoverable-via-display.js +1 -2
- package/lib/hoverable.d.ts +1 -3
- package/lib/hoverable.js +1 -2
- package/lib/html-styles.d.ts +1 -3
- package/lib/html-styles.js +1 -2
- package/lib/html-styles.wyw-in-js.css +2 -2
- package/lib/icons/generate-icon-from-ast.d.ts +1 -3
- package/lib/icons/generate-icon-from-ast.js +1 -2
- package/lib/icons/get-paths.d.ts +1 -3
- package/lib/icons/get-paths.js +1 -2
- package/lib/icons/get-shift-style.d.ts +1 -3
- package/lib/icons/get-shift-style.js +1 -2
- package/lib/icons/icon.d.ts +7 -4
- package/lib/icons/icon.js +17 -6
- package/lib/icons/react/abort.d.ts +5 -4
- package/lib/icons/react/abort.js +4 -11
- package/lib/icons/react/access-template.d.ts +5 -4
- package/lib/icons/react/access-template.js +4 -11
- package/lib/icons/react/activity-filled.d.ts +5 -4
- package/lib/icons/react/activity-filled.js +4 -11
- package/lib/icons/react/activity-log.d.ts +5 -4
- package/lib/icons/react/activity-log.js +4 -11
- package/lib/icons/react/activity.d.ts +5 -4
- package/lib/icons/react/activity.js +4 -11
- package/lib/icons/react/add-after.d.ts +5 -4
- package/lib/icons/react/add-after.js +4 -11
- package/lib/icons/react/add-before.d.ts +5 -4
- package/lib/icons/react/add-before.js +4 -11
- package/lib/icons/react/add-compact.d.ts +5 -4
- package/lib/icons/react/add-compact.js +4 -11
- package/lib/icons/react/add.d.ts +5 -4
- package/lib/icons/react/add.js +4 -11
- package/lib/icons/react/ai-assistant-filled.d.ts +5 -4
- package/lib/icons/react/ai-assistant-filled.js +4 -11
- package/lib/icons/react/ai-assistant.d.ts +5 -4
- package/lib/icons/react/ai-assistant.js +4 -11
- package/lib/icons/react/ai-fibery-build-dots.d.ts +5 -4
- package/lib/icons/react/ai-fibery-build-dots.js +4 -11
- package/lib/icons/react/ai-fibery-build-mark.d.ts +5 -4
- package/lib/icons/react/ai-fibery-build-mark.js +4 -11
- package/lib/icons/react/ai-fibery-build.d.ts +5 -4
- package/lib/icons/react/ai-fibery-build.js +4 -11
- package/lib/icons/react/app.d.ts +5 -4
- package/lib/icons/react/app.js +4 -11
- package/lib/icons/react/appearance-auto.d.ts +5 -4
- package/lib/icons/react/appearance-auto.js +4 -11
- package/lib/icons/react/appearance-dark.d.ts +5 -4
- package/lib/icons/react/appearance-dark.js +4 -11
- package/lib/icons/react/appearance-light.d.ts +5 -4
- package/lib/icons/react/appearance-light.js +4 -11
- package/lib/icons/react/architect.d.ts +5 -4
- package/lib/icons/react/architect.js +4 -11
- package/lib/icons/react/arrow-back.d.ts +5 -4
- package/lib/icons/react/arrow-back.js +4 -11
- package/lib/icons/react/arrow-bar-down.d.ts +5 -4
- package/lib/icons/react/arrow-bar-down.js +4 -11
- package/lib/icons/react/arrow-bar-left.d.ts +5 -4
- package/lib/icons/react/arrow-bar-left.js +4 -11
- package/lib/icons/react/arrow-bar-right.d.ts +5 -4
- package/lib/icons/react/arrow-bar-right.js +4 -11
- package/lib/icons/react/arrow-bar-up.d.ts +5 -4
- package/lib/icons/react/arrow-bar-up.js +4 -11
- package/lib/icons/react/arrow-collapse-vertical.d.ts +5 -4
- package/lib/icons/react/arrow-collapse-vertical.js +4 -11
- package/lib/icons/react/arrow-collapse.d.ts +5 -4
- package/lib/icons/react/arrow-collapse.js +4 -11
- package/lib/icons/react/arrow-down.d.ts +5 -4
- package/lib/icons/react/arrow-down.js +4 -11
- package/lib/icons/react/arrow-forward.d.ts +5 -4
- package/lib/icons/react/arrow-forward.js +4 -11
- package/lib/icons/react/arrow-left.d.ts +5 -4
- package/lib/icons/react/arrow-left.js +4 -11
- package/lib/icons/react/arrow-right.d.ts +5 -4
- package/lib/icons/react/arrow-right.js +4 -11
- package/lib/icons/react/arrow-send.d.ts +5 -4
- package/lib/icons/react/arrow-send.js +4 -11
- package/lib/icons/react/arrow-up-circle.d.ts +5 -4
- package/lib/icons/react/arrow-up-circle.js +4 -11
- package/lib/icons/react/arrow-up.d.ts +5 -4
- package/lib/icons/react/arrow-up.js +4 -11
- package/lib/icons/react/arrows-right-left.d.ts +5 -4
- package/lib/icons/react/arrows-right-left.js +4 -11
- package/lib/icons/react/ask-for-input.d.ts +5 -4
- package/lib/icons/react/ask-for-input.js +4 -11
- package/lib/icons/react/asterisk.d.ts +5 -4
- package/lib/icons/react/asterisk.js +4 -11
- package/lib/icons/react/atom.d.ts +5 -4
- package/lib/icons/react/atom.js +4 -11
- package/lib/icons/react/avatar.d.ts +5 -4
- package/lib/icons/react/avatar.js +4 -11
- package/lib/icons/react/backlog.d.ts +5 -4
- package/lib/icons/react/backlog.js +4 -11
- package/lib/icons/react/bell-circle.d.ts +5 -4
- package/lib/icons/react/bell-circle.js +4 -11
- package/lib/icons/react/bell-off.d.ts +5 -4
- package/lib/icons/react/bell-off.js +4 -11
- package/lib/icons/react/bell-ringing.d.ts +5 -4
- package/lib/icons/react/bell-ringing.js +4 -11
- package/lib/icons/react/bell-x.d.ts +5 -4
- package/lib/icons/react/bell-x.js +4 -11
- package/lib/icons/react/bring-forward.d.ts +5 -4
- package/lib/icons/react/bring-forward.js +4 -11
- package/lib/icons/react/bring-to-front.d.ts +5 -4
- package/lib/icons/react/bring-to-front.js +4 -11
- package/lib/icons/react/build.d.ts +5 -4
- package/lib/icons/react/build.js +4 -11
- package/lib/icons/react/cards.d.ts +5 -4
- package/lib/icons/react/cards.js +4 -11
- package/lib/icons/react/chat-bubble.d.ts +5 -4
- package/lib/icons/react/chat-bubble.js +4 -11
- package/lib/icons/react/chat-float.d.ts +5 -4
- package/lib/icons/react/chat-float.js +4 -11
- package/lib/icons/react/chat-sidebar.d.ts +5 -4
- package/lib/icons/react/chat-sidebar.js +4 -11
- package/lib/icons/react/checked.d.ts +5 -4
- package/lib/icons/react/checked.js +4 -11
- package/lib/icons/react/circle-check-filled.d.ts +5 -4
- package/lib/icons/react/circle-check-filled.js +4 -11
- package/lib/icons/react/circle-check.d.ts +5 -4
- package/lib/icons/react/circle-check.js +4 -11
- package/lib/icons/react/circle-cross-filled.d.ts +5 -4
- package/lib/icons/react/circle-cross-filled.js +4 -11
- package/lib/icons/react/circle-cross.d.ts +5 -4
- package/lib/icons/react/circle-cross.js +4 -11
- package/lib/icons/react/circle-info-filled.d.ts +5 -4
- package/lib/icons/react/circle-info-filled.js +4 -11
- package/lib/icons/react/circle-info.d.ts +5 -4
- package/lib/icons/react/circle-info.js +4 -11
- package/lib/icons/react/circle-pause.d.ts +5 -4
- package/lib/icons/react/circle-pause.js +4 -11
- package/lib/icons/react/circle-play.d.ts +5 -4
- package/lib/icons/react/circle-play.js +4 -11
- package/lib/icons/react/clear-input-filled.d.ts +5 -4
- package/lib/icons/react/clear-input-filled.js +4 -11
- package/lib/icons/react/clear.d.ts +5 -4
- package/lib/icons/react/clear.js +4 -11
- package/lib/icons/react/clock-alarm.d.ts +5 -4
- package/lib/icons/react/clock-alarm.js +4 -11
- package/lib/icons/react/clock-forward.d.ts +5 -4
- package/lib/icons/react/clock-forward.js +4 -11
- package/lib/icons/react/clock.d.ts +5 -4
- package/lib/icons/react/clock.js +4 -11
- package/lib/icons/react/close.d.ts +5 -4
- package/lib/icons/react/close.js +4 -11
- package/lib/icons/react/collapse-all-horizontal.d.ts +5 -4
- package/lib/icons/react/collapse-all-horizontal.js +4 -11
- package/lib/icons/react/collapse-all.d.ts +5 -4
- package/lib/icons/react/collapse-all.js +4 -11
- package/lib/icons/react/color-coding.d.ts +5 -4
- package/lib/icons/react/color-coding.js +4 -11
- package/lib/icons/react/columns-2.d.ts +5 -4
- package/lib/icons/react/columns-2.js +4 -11
- package/lib/icons/react/columns-4.d.ts +5 -4
- package/lib/icons/react/columns-4.js +4 -11
- package/lib/icons/react/columns.d.ts +5 -4
- package/lib/icons/react/columns.js +4 -11
- package/lib/icons/react/comment-bubble.d.ts +5 -4
- package/lib/icons/react/comment-bubble.js +4 -11
- package/lib/icons/react/comments.d.ts +5 -4
- package/lib/icons/react/comments.js +4 -11
- package/lib/icons/react/connector.d.ts +5 -4
- package/lib/icons/react/connector.js +4 -11
- package/lib/icons/react/copy.d.ts +5 -4
- package/lib/icons/react/copy.js +4 -11
- package/lib/icons/react/credits-filled.d.ts +5 -4
- package/lib/icons/react/credits-filled.js +4 -11
- package/lib/icons/react/crosshair.d.ts +5 -4
- package/lib/icons/react/crosshair.js +4 -11
- package/lib/icons/react/database-add.d.ts +5 -4
- package/lib/icons/react/database-add.js +4 -11
- package/lib/icons/react/database-outline.d.ts +5 -4
- package/lib/icons/react/database-outline.js +4 -11
- package/lib/icons/react/database.d.ts +5 -4
- package/lib/icons/react/database.js +4 -11
- package/lib/icons/react/date-range.d.ts +5 -4
- package/lib/icons/react/date-range.js +4 -11
- package/lib/icons/react/delete.d.ts +5 -4
- package/lib/icons/react/delete.js +4 -11
- package/lib/icons/react/drag-block-handle.d.ts +5 -4
- package/lib/icons/react/drag-block-handle.js +4 -11
- package/lib/icons/react/drag-handle.d.ts +5 -4
- package/lib/icons/react/drag-handle.js +4 -11
- package/lib/icons/react/duplicate.d.ts +5 -4
- package/lib/icons/react/duplicate.js +4 -11
- package/lib/icons/react/dynamic-filter-value.d.ts +5 -4
- package/lib/icons/react/dynamic-filter-value.js +4 -11
- package/lib/icons/react/email.d.ts +5 -4
- package/lib/icons/react/email.js +4 -11
- package/lib/icons/react/emoji-delete.d.ts +5 -4
- package/lib/icons/react/emoji-delete.js +4 -11
- package/lib/icons/react/entity-create-filled.d.ts +5 -4
- package/lib/icons/react/entity-create-filled.js +4 -11
- package/lib/icons/react/entity-create.d.ts +5 -4
- package/lib/icons/react/entity-create.js +4 -11
- package/lib/icons/react/entity-merge.d.ts +5 -4
- package/lib/icons/react/entity-merge.js +4 -11
- package/lib/icons/react/equation.d.ts +5 -4
- package/lib/icons/react/equation.js +4 -11
- package/lib/icons/react/expand-all-horizontal.d.ts +5 -4
- package/lib/icons/react/expand-all-horizontal.js +4 -11
- package/lib/icons/react/expand-all.d.ts +5 -4
- package/lib/icons/react/expand-all.js +4 -11
- package/lib/icons/react/export.d.ts +5 -4
- package/lib/icons/react/export.js +4 -11
- package/lib/icons/react/eye-off.d.ts +5 -4
- package/lib/icons/react/eye-off.js +4 -11
- package/lib/icons/react/eye.d.ts +5 -4
- package/lib/icons/react/eye.js +4 -11
- package/lib/icons/react/favorites-filled.d.ts +5 -4
- package/lib/icons/react/favorites-filled.js +4 -11
- package/lib/icons/react/favorites-off.d.ts +5 -4
- package/lib/icons/react/favorites-off.js +4 -11
- package/lib/icons/react/favorites.d.ts +5 -4
- package/lib/icons/react/favorites.js +4 -11
- package/lib/icons/react/fibery-mono.d.ts +5 -4
- package/lib/icons/react/fibery-mono.js +4 -11
- package/lib/icons/react/fields.d.ts +5 -4
- package/lib/icons/react/fields.js +4 -11
- package/lib/icons/react/file-archive.d.ts +5 -4
- package/lib/icons/react/file-archive.js +4 -11
- package/lib/icons/react/file-counter.d.ts +5 -4
- package/lib/icons/react/file-counter.js +4 -11
- package/lib/icons/react/file-document.d.ts +5 -4
- package/lib/icons/react/file-document.js +4 -11
- package/lib/icons/react/file-download.d.ts +5 -4
- package/lib/icons/react/file-download.js +4 -11
- package/lib/icons/react/file-image.d.ts +5 -4
- package/lib/icons/react/file-image.js +4 -11
- package/lib/icons/react/file-multiple.d.ts +5 -4
- package/lib/icons/react/file-multiple.js +4 -11
- package/lib/icons/react/file-other.d.ts +5 -4
- package/lib/icons/react/file-other.js +4 -11
- package/lib/icons/react/file-presentation.d.ts +5 -4
- package/lib/icons/react/file-presentation.js +4 -11
- package/lib/icons/react/file-table.d.ts +5 -4
- package/lib/icons/react/file-table.js +4 -11
- package/lib/icons/react/file-upload.d.ts +5 -4
- package/lib/icons/react/file-upload.js +4 -11
- package/lib/icons/react/file-video.d.ts +5 -4
- package/lib/icons/react/file-video.js +4 -11
- package/lib/icons/react/files.d.ts +5 -4
- package/lib/icons/react/files.js +4 -11
- package/lib/icons/react/filter.d.ts +5 -4
- package/lib/icons/react/filter.js +4 -11
- package/lib/icons/react/fit-image.d.ts +6 -0
- package/lib/icons/react/fit-image.js +5 -0
- package/lib/icons/react/fit-to-screen.d.ts +5 -4
- package/lib/icons/react/fit-to-screen.js +4 -11
- package/lib/icons/react/flip-horizontal.d.ts +6 -0
- package/lib/icons/react/flip-horizontal.js +5 -0
- package/lib/icons/react/flip-vertical.d.ts +6 -0
- package/lib/icons/react/flip-vertical.js +5 -0
- package/lib/icons/react/focus-mode-off.d.ts +5 -4
- package/lib/icons/react/focus-mode-off.js +4 -11
- package/lib/icons/react/focus-mode.d.ts +5 -4
- package/lib/icons/react/focus-mode.js +4 -11
- package/lib/icons/react/folder-favorite.d.ts +5 -4
- package/lib/icons/react/folder-favorite.js +4 -11
- package/lib/icons/react/folder-smart.d.ts +5 -4
- package/lib/icons/react/folder-smart.js +4 -11
- package/lib/icons/react/folder.d.ts +5 -4
- package/lib/icons/react/folder.js +4 -11
- package/lib/icons/react/form-with-cover.d.ts +5 -4
- package/lib/icons/react/form-with-cover.js +4 -11
- package/lib/icons/react/form-without-cover.d.ts +5 -4
- package/lib/icons/react/form-without-cover.js +4 -11
- package/lib/icons/react/fullscreen-mode-off.d.ts +5 -4
- package/lib/icons/react/fullscreen-mode-off.js +4 -11
- package/lib/icons/react/fullscreen-mode-on.d.ts +5 -4
- package/lib/icons/react/fullscreen-mode-on.js +4 -11
- package/lib/icons/react/gift.d.ts +5 -4
- package/lib/icons/react/gift.js +4 -11
- package/lib/icons/react/globe-simple.d.ts +5 -4
- package/lib/icons/react/globe-simple.js +4 -11
- package/lib/icons/react/globe-unpublish.d.ts +5 -4
- package/lib/icons/react/globe-unpublish.js +4 -11
- package/lib/icons/react/go-to.d.ts +5 -4
- package/lib/icons/react/go-to.js +4 -11
- package/lib/icons/react/graduation-cap-filled.d.ts +5 -4
- package/lib/icons/react/graduation-cap-filled.js +4 -11
- package/lib/icons/react/group-add.d.ts +5 -4
- package/lib/icons/react/group-add.js +4 -11
- package/lib/icons/react/headphones-ai.d.ts +5 -4
- package/lib/icons/react/headphones-ai.js +4 -11
- package/lib/icons/react/headphones.d.ts +5 -4
- package/lib/icons/react/headphones.js +4 -11
- package/lib/icons/react/highlights.d.ts +5 -4
- package/lib/icons/react/highlights.js +4 -11
- package/lib/icons/react/hint.d.ts +5 -4
- package/lib/icons/react/hint.js +4 -11
- package/lib/icons/react/home-filled.d.ts +5 -4
- package/lib/icons/react/home-filled.js +4 -11
- package/lib/icons/react/home.d.ts +5 -4
- package/lib/icons/react/home.js +4 -11
- package/lib/icons/react/image-border.d.ts +6 -0
- package/lib/icons/react/image-border.js +5 -0
- package/lib/icons/react/image-crop.d.ts +6 -0
- package/lib/icons/react/image-crop.js +5 -0
- package/lib/icons/react/image-error.d.ts +5 -4
- package/lib/icons/react/image-error.js +4 -11
- package/lib/icons/react/image-rotate.d.ts +6 -0
- package/lib/icons/react/image-rotate.js +5 -0
- package/lib/icons/react/import-filled.d.ts +5 -4
- package/lib/icons/react/import-filled.js +4 -11
- package/lib/icons/react/import.d.ts +5 -4
- package/lib/icons/react/import.js +4 -11
- package/lib/icons/react/integration-add.d.ts +5 -4
- package/lib/icons/react/integration-add.js +4 -11
- package/lib/icons/react/integration-claude-code.d.ts +6 -0
- package/lib/icons/react/integration-claude-code.js +5 -0
- package/lib/icons/react/integration-claude.d.ts +5 -4
- package/lib/icons/react/integration-claude.js +4 -11
- package/lib/icons/react/integration-codex.d.ts +6 -0
- package/lib/icons/react/integration-codex.js +5 -0
- package/lib/icons/react/integration-cursor.d.ts +6 -0
- package/lib/icons/react/integration-cursor.js +5 -0
- package/lib/icons/react/integration-discourse.d.ts +5 -4
- package/lib/icons/react/integration-discourse.js +4 -11
- package/lib/icons/react/integration-fibery.d.ts +5 -4
- package/lib/icons/react/integration-fibery.js +4 -11
- package/lib/icons/react/integration-figma.d.ts +5 -4
- package/lib/icons/react/integration-figma.js +4 -11
- package/lib/icons/react/integration-gemini.d.ts +5 -4
- package/lib/icons/react/integration-gemini.js +4 -11
- package/lib/icons/react/integration-github.d.ts +5 -4
- package/lib/icons/react/integration-github.js +4 -11
- package/lib/icons/react/integration-gitlab.d.ts +5 -4
- package/lib/icons/react/integration-gitlab.js +4 -11
- package/lib/icons/react/integration-google-drive.d.ts +5 -4
- package/lib/icons/react/integration-google-drive.js +4 -11
- package/lib/icons/react/integration-google-map.d.ts +5 -4
- package/lib/icons/react/integration-google-map.js +4 -11
- package/lib/icons/react/integration-intercom.d.ts +5 -4
- package/lib/icons/react/integration-intercom.js +4 -11
- package/lib/icons/react/integration-jira.d.ts +5 -4
- package/lib/icons/react/integration-jira.js +4 -11
- package/lib/icons/react/integration-loom.d.ts +5 -4
- package/lib/icons/react/integration-loom.js +4 -11
- package/lib/icons/react/integration-mcp.d.ts +6 -0
- package/lib/icons/react/integration-mcp.js +5 -0
- package/lib/icons/react/integration-miro.d.ts +5 -4
- package/lib/icons/react/integration-miro.js +4 -11
- package/lib/icons/react/integration-mixpanel.d.ts +5 -4
- package/lib/icons/react/integration-mixpanel.js +4 -11
- package/lib/icons/react/integration-openai.d.ts +5 -4
- package/lib/icons/react/integration-openai.js +4 -11
- package/lib/icons/react/integration-opencode.d.ts +6 -0
- package/lib/icons/react/integration-opencode.js +5 -0
- package/lib/icons/react/integration-slack.d.ts +5 -4
- package/lib/icons/react/integration-slack.js +4 -11
- package/lib/icons/react/integration-suggest.d.ts +5 -4
- package/lib/icons/react/integration-suggest.js +4 -11
- package/lib/icons/react/integration-twitter.d.ts +5 -4
- package/lib/icons/react/integration-twitter.js +4 -11
- package/lib/icons/react/integration-unsplash.d.ts +5 -4
- package/lib/icons/react/integration-unsplash.js +4 -11
- package/lib/icons/react/integration-youtube.d.ts +5 -4
- package/lib/icons/react/integration-youtube.js +4 -11
- package/lib/icons/react/integration-zendesk.d.ts +5 -4
- package/lib/icons/react/integration-zendesk.js +4 -11
- package/lib/icons/react/integration.d.ts +5 -4
- package/lib/icons/react/integration.js +4 -11
- package/lib/icons/react/integrations-filled.d.ts +5 -4
- package/lib/icons/react/integrations-filled.js +4 -11
- package/lib/icons/react/items-timeline.d.ts +5 -4
- package/lib/icons/react/items-timeline.js +4 -11
- package/lib/icons/react/items.d.ts +5 -4
- package/lib/icons/react/items.js +4 -11
- package/lib/icons/react/key.d.ts +5 -4
- package/lib/icons/react/key.js +4 -11
- package/lib/icons/react/keyboard-hide-down.d.ts +5 -4
- package/lib/icons/react/keyboard-hide-down.js +4 -11
- package/lib/icons/react/lab.d.ts +5 -4
- package/lib/icons/react/lab.js +4 -11
- package/lib/icons/react/layout-ai.d.ts +5 -4
- package/lib/icons/react/layout-ai.js +4 -11
- package/lib/icons/react/layout-double.d.ts +5 -4
- package/lib/icons/react/layout-double.js +4 -11
- package/lib/icons/react/layout-multiple.d.ts +5 -4
- package/lib/icons/react/layout-multiple.js +4 -11
- package/lib/icons/react/layout-single.d.ts +5 -4
- package/lib/icons/react/layout-single.js +4 -11
- package/lib/icons/react/levels.d.ts +5 -4
- package/lib/icons/react/levels.js +4 -11
- package/lib/icons/react/limits.d.ts +5 -4
- package/lib/icons/react/limits.js +4 -11
- package/lib/icons/react/line-divider.d.ts +5 -4
- package/lib/icons/react/line-divider.js +4 -11
- package/lib/icons/react/line-jump.d.ts +5 -4
- package/lib/icons/react/line-jump.js +4 -11
- package/lib/icons/react/link.d.ts +5 -4
- package/lib/icons/react/link.js +4 -11
- package/lib/icons/react/location-edit.d.ts +5 -4
- package/lib/icons/react/location-edit.js +4 -11
- package/lib/icons/react/lock-filled.d.ts +5 -4
- package/lib/icons/react/lock-filled.js +4 -11
- package/lib/icons/react/lock.d.ts +5 -4
- package/lib/icons/react/lock.js +4 -11
- package/lib/icons/react/logout.d.ts +5 -4
- package/lib/icons/react/logout.js +4 -11
- package/lib/icons/react/loupe-zoom-in.d.ts +5 -4
- package/lib/icons/react/loupe-zoom-in.js +4 -11
- package/lib/icons/react/loupe-zoom-out.d.ts +5 -4
- package/lib/icons/react/loupe-zoom-out.js +4 -11
- package/lib/icons/react/map-mode.d.ts +5 -4
- package/lib/icons/react/map-mode.js +4 -11
- package/lib/icons/react/markdown.d.ts +5 -4
- package/lib/icons/react/markdown.js +4 -11
- package/lib/icons/react/menu-collapser.d.ts +5 -4
- package/lib/icons/react/menu-collapser.js +4 -11
- package/lib/icons/react/mermaid.d.ts +5 -4
- package/lib/icons/react/mermaid.js +4 -11
- package/lib/icons/react/message-plus.d.ts +5 -4
- package/lib/icons/react/message-plus.js +4 -11
- package/lib/icons/react/milestones.d.ts +5 -4
- package/lib/icons/react/milestones.js +4 -11
- package/lib/icons/react/minus.d.ts +5 -4
- package/lib/icons/react/minus.js +4 -11
- package/lib/icons/react/mirror-off.d.ts +5 -4
- package/lib/icons/react/mirror-off.js +4 -11
- package/lib/icons/react/mirror-on.d.ts +5 -4
- package/lib/icons/react/mirror-on.js +4 -11
- package/lib/icons/react/monitor.d.ts +5 -4
- package/lib/icons/react/monitor.js +4 -11
- package/lib/icons/react/more-compact.d.ts +5 -4
- package/lib/icons/react/more-compact.js +4 -11
- package/lib/icons/react/more.d.ts +5 -4
- package/lib/icons/react/more.js +4 -11
- package/lib/icons/react/move-down.d.ts +5 -4
- package/lib/icons/react/move-down.js +4 -11
- package/lib/icons/react/move-left.d.ts +5 -4
- package/lib/icons/react/move-left.js +4 -11
- package/lib/icons/react/move-right.d.ts +5 -4
- package/lib/icons/react/move-right.js +4 -11
- package/lib/icons/react/move-up.d.ts +5 -4
- package/lib/icons/react/move-up.js +4 -11
- package/lib/icons/react/no-border.d.ts +5 -4
- package/lib/icons/react/no-border.js +4 -11
- package/lib/icons/react/no-fill.d.ts +5 -4
- package/lib/icons/react/no-fill.js +4 -11
- package/lib/icons/react/obj-child.d.ts +5 -4
- package/lib/icons/react/obj-child.js +4 -11
- package/lib/icons/react/obj-m2m.d.ts +5 -4
- package/lib/icons/react/obj-m2m.js +4 -11
- package/lib/icons/react/obj-o2o.d.ts +5 -4
- package/lib/icons/react/obj-o2o.js +4 -11
- package/lib/icons/react/obj-parent.d.ts +5 -4
- package/lib/icons/react/obj-parent.js +4 -11
- package/lib/icons/react/obj-self.d.ts +5 -4
- package/lib/icons/react/obj-self.js +4 -11
- package/lib/icons/react/on-schedule.d.ts +5 -4
- package/lib/icons/react/on-schedule.js +4 -11
- package/lib/icons/react/open-in-panel.d.ts +5 -4
- package/lib/icons/react/open-in-panel.js +4 -11
- package/lib/icons/react/open-link.d.ts +5 -4
- package/lib/icons/react/open-link.js +4 -11
- package/lib/icons/react/page-regular-mode.d.ts +5 -4
- package/lib/icons/react/page-regular-mode.js +4 -11
- package/lib/icons/react/page-wide-mode.d.ts +5 -4
- package/lib/icons/react/page-wide-mode.js +4 -11
- package/lib/icons/react/panel-add.d.ts +5 -4
- package/lib/icons/react/panel-add.js +4 -11
- package/lib/icons/react/pencil.d.ts +5 -4
- package/lib/icons/react/pencil.js +4 -11
- package/lib/icons/react/people-all.d.ts +5 -4
- package/lib/icons/react/people-all.js +4 -11
- package/lib/icons/react/people-check.d.ts +5 -4
- package/lib/icons/react/people-check.js +4 -11
- package/lib/icons/react/people-edit.d.ts +5 -4
- package/lib/icons/react/people-edit.js +4 -11
- package/lib/icons/react/people-group-remove.d.ts +5 -4
- package/lib/icons/react/people-group-remove.js +4 -11
- package/lib/icons/react/people-group.d.ts +5 -4
- package/lib/icons/react/people-group.js +4 -11
- package/lib/icons/react/people-invite.d.ts +5 -4
- package/lib/icons/react/people-invite.js +4 -11
- package/lib/icons/react/people-remove.d.ts +5 -4
- package/lib/icons/react/people-remove.js +4 -11
- package/lib/icons/react/people-role.d.ts +5 -4
- package/lib/icons/react/people-role.js +4 -11
- package/lib/icons/react/people-x.d.ts +5 -4
- package/lib/icons/react/people-x.js +4 -11
- package/lib/icons/react/people.d.ts +5 -4
- package/lib/icons/react/people.js +4 -11
- package/lib/icons/react/photo.d.ts +5 -4
- package/lib/icons/react/photo.js +4 -11
- package/lib/icons/react/pin-filled.d.ts +5 -4
- package/lib/icons/react/pin-filled.js +4 -11
- package/lib/icons/react/pin.d.ts +5 -4
- package/lib/icons/react/pin.js +4 -11
- package/lib/icons/react/preferences.d.ts +5 -4
- package/lib/icons/react/preferences.js +4 -11
- package/lib/icons/react/present-play.d.ts +5 -4
- package/lib/icons/react/present-play.js +4 -11
- package/lib/icons/react/present-stop.d.ts +5 -4
- package/lib/icons/react/present-stop.js +4 -11
- package/lib/icons/react/print.d.ts +5 -4
- package/lib/icons/react/print.js +4 -11
- package/lib/icons/react/private-items.d.ts +5 -4
- package/lib/icons/react/private-items.js +4 -11
- package/lib/icons/react/propagate.d.ts +5 -4
- package/lib/icons/react/propagate.js +4 -11
- package/lib/icons/react/question.d.ts +5 -4
- package/lib/icons/react/question.js +4 -11
- package/lib/icons/react/reactions-add.d.ts +5 -4
- package/lib/icons/react/reactions-add.js +4 -11
- package/lib/icons/react/read-only.d.ts +5 -4
- package/lib/icons/react/read-only.js +4 -11
- package/lib/icons/react/redo.d.ts +5 -4
- package/lib/icons/react/redo.js +4 -11
- package/lib/icons/react/references.d.ts +5 -4
- package/lib/icons/react/references.js +4 -11
- package/lib/icons/react/refresh.d.ts +5 -4
- package/lib/icons/react/refresh.js +4 -11
- package/lib/icons/react/remove.d.ts +5 -4
- package/lib/icons/react/remove.js +4 -11
- package/lib/icons/react/reset-password.d.ts +5 -4
- package/lib/icons/react/reset-password.js +4 -11
- package/lib/icons/react/richeditor-block-callout.d.ts +5 -4
- package/lib/icons/react/richeditor-block-callout.js +4 -11
- package/lib/icons/react/richeditor-block-code.d.ts +5 -4
- package/lib/icons/react/richeditor-block-code.js +4 -11
- package/lib/icons/react/richeditor-block-embed.d.ts +5 -4
- package/lib/icons/react/richeditor-block-embed.js +4 -11
- package/lib/icons/react/richeditor-block-entity.d.ts +5 -4
- package/lib/icons/react/richeditor-block-entity.js +4 -11
- package/lib/icons/react/richeditor-block-file.d.ts +5 -4
- package/lib/icons/react/richeditor-block-file.js +4 -11
- package/lib/icons/react/richeditor-block-h1.d.ts +5 -4
- package/lib/icons/react/richeditor-block-h1.js +4 -11
- package/lib/icons/react/richeditor-block-h2.d.ts +5 -4
- package/lib/icons/react/richeditor-block-h2.js +4 -11
- package/lib/icons/react/richeditor-block-h3.d.ts +5 -4
- package/lib/icons/react/richeditor-block-h3.js +4 -11
- package/lib/icons/react/richeditor-block-h4.d.ts +5 -4
- package/lib/icons/react/richeditor-block-h4.js +4 -11
- package/lib/icons/react/richeditor-block-mention.d.ts +5 -4
- package/lib/icons/react/richeditor-block-mention.js +4 -11
- package/lib/icons/react/richeditor-block-paragraph.d.ts +5 -4
- package/lib/icons/react/richeditor-block-paragraph.js +4 -11
- package/lib/icons/react/richeditor-block-quote.d.ts +5 -4
- package/lib/icons/react/richeditor-block-quote.js +4 -11
- package/lib/icons/react/richeditor-checklist-create.d.ts +5 -4
- package/lib/icons/react/richeditor-checklist-create.js +4 -11
- package/lib/icons/react/richeditor-image-align-center.d.ts +5 -4
- package/lib/icons/react/richeditor-image-align-center.js +4 -11
- package/lib/icons/react/richeditor-image-align-left.d.ts +5 -4
- package/lib/icons/react/richeditor-image-align-left.js +4 -11
- package/lib/icons/react/richeditor-image-align-right.d.ts +5 -4
- package/lib/icons/react/richeditor-image-align-right.js +4 -11
- package/lib/icons/react/richeditor-image.d.ts +5 -4
- package/lib/icons/react/richeditor-image.js +4 -11
- package/lib/icons/react/richeditor-linkedhighlight-create.d.ts +5 -4
- package/lib/icons/react/richeditor-linkedhighlight-create.js +4 -11
- package/lib/icons/react/richeditor-list-bullet.d.ts +5 -4
- package/lib/icons/react/richeditor-list-bullet.js +4 -11
- package/lib/icons/react/richeditor-list-indent.d.ts +5 -4
- package/lib/icons/react/richeditor-list-indent.js +4 -11
- package/lib/icons/react/richeditor-list-ordered.d.ts +5 -4
- package/lib/icons/react/richeditor-list-ordered.js +4 -11
- package/lib/icons/react/richeditor-list-unindent.d.ts +5 -4
- package/lib/icons/react/richeditor-list-unindent.js +4 -11
- package/lib/icons/react/richeditor-mark-code.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-code.js +4 -11
- package/lib/icons/react/richeditor-mark-em.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-em.js +4 -11
- package/lib/icons/react/richeditor-mark-highlight.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-highlight.js +4 -11
- package/lib/icons/react/richeditor-mark-strike.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-strike.js +4 -11
- package/lib/icons/react/richeditor-mark-strong.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-strong.js +4 -11
- package/lib/icons/react/richeditor-mark-text-background-color.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-text-background-color.js +4 -11
- package/lib/icons/react/richeditor-mark-underline.d.ts +5 -4
- package/lib/icons/react/richeditor-mark-underline.js +4 -11
- package/lib/icons/react/richeditor-table-create.d.ts +5 -4
- package/lib/icons/react/richeditor-table-create.js +4 -11
- package/lib/icons/react/richeditor-video-upload.d.ts +5 -4
- package/lib/icons/react/richeditor-video-upload.js +4 -11
- package/lib/icons/react/rows.d.ts +5 -4
- package/lib/icons/react/rows.js +4 -11
- package/lib/icons/react/rule.d.ts +5 -4
- package/lib/icons/react/rule.js +4 -11
- package/lib/icons/react/search-add.d.ts +5 -4
- package/lib/icons/react/search-add.js +4 -11
- package/lib/icons/react/search-filled.d.ts +5 -4
- package/lib/icons/react/search-filled.js +4 -11
- package/lib/icons/react/search-remove.d.ts +5 -4
- package/lib/icons/react/search-remove.js +4 -11
- package/lib/icons/react/search.d.ts +5 -4
- package/lib/icons/react/search.js +4 -11
- package/lib/icons/react/self-reference-off.d.ts +5 -4
- package/lib/icons/react/self-reference-off.js +4 -11
- package/lib/icons/react/self-reference-on.d.ts +5 -4
- package/lib/icons/react/self-reference-on.js +4 -11
- package/lib/icons/react/send-backward.d.ts +5 -4
- package/lib/icons/react/send-backward.js +4 -11
- package/lib/icons/react/send-to-back.d.ts +5 -4
- package/lib/icons/react/send-to-back.js +4 -11
- package/lib/icons/react/settings-filled.d.ts +5 -4
- package/lib/icons/react/settings-filled.js +4 -11
- package/lib/icons/react/settings.d.ts +5 -4
- package/lib/icons/react/settings.js +4 -11
- package/lib/icons/react/share.d.ts +5 -4
- package/lib/icons/react/share.js +4 -11
- package/lib/icons/react/shield-keyhole.d.ts +5 -4
- package/lib/icons/react/shield-keyhole.js +4 -11
- package/lib/icons/react/show-author.d.ts +5 -4
- package/lib/icons/react/show-author.js +4 -11
- package/lib/icons/react/simple-compass.d.ts +5 -4
- package/lib/icons/react/simple-compass.js +4 -11
- package/lib/icons/react/slide-menu-filled.d.ts +5 -4
- package/lib/icons/react/slide-menu-filled.js +4 -11
- package/lib/icons/react/slide-menu.d.ts +5 -4
- package/lib/icons/react/slide-menu.js +4 -11
- package/lib/icons/react/sort.d.ts +5 -4
- package/lib/icons/react/sort.js +4 -11
- package/lib/icons/react/space-add.d.ts +5 -4
- package/lib/icons/react/space-add.js +4 -11
- package/lib/icons/react/space-app.d.ts +5 -4
- package/lib/icons/react/space-app.js +4 -11
- package/lib/icons/react/space-generate.d.ts +5 -4
- package/lib/icons/react/space-generate.js +4 -11
- package/lib/icons/react/space-move.d.ts +5 -4
- package/lib/icons/react/space-move.js +4 -11
- package/lib/icons/react/space-scratch.d.ts +5 -4
- package/lib/icons/react/space-scratch.js +4 -11
- package/lib/icons/react/space-template.d.ts +5 -4
- package/lib/icons/react/space-template.js +4 -11
- package/lib/icons/react/spinner.d.ts +5 -4
- package/lib/icons/react/spinner.js +4 -11
- package/lib/icons/react/suggest-accept.d.ts +5 -4
- package/lib/icons/react/suggest-accept.js +4 -11
- package/lib/icons/react/suggest-comments.d.ts +5 -4
- package/lib/icons/react/suggest-comments.js +4 -11
- package/lib/icons/react/suggest-edit.d.ts +5 -4
- package/lib/icons/react/suggest-edit.js +4 -11
- package/lib/icons/react/suggest-reject.d.ts +5 -4
- package/lib/icons/react/suggest-reject.js +4 -11
- package/lib/icons/react/switch-to-text.d.ts +5 -4
- package/lib/icons/react/switch-to-text.js +4 -11
- package/lib/icons/react/switch-to-widget.d.ts +5 -4
- package/lib/icons/react/switch-to-widget.js +4 -11
- package/lib/icons/react/table-layout.d.ts +5 -4
- package/lib/icons/react/table-layout.js +4 -11
- package/lib/icons/react/templates-filled.d.ts +5 -4
- package/lib/icons/react/templates-filled.js +4 -11
- package/lib/icons/react/templates.d.ts +5 -4
- package/lib/icons/react/templates.js +4 -11
- package/lib/icons/react/terminal.d.ts +5 -4
- package/lib/icons/react/terminal.js +4 -11
- package/lib/icons/react/text-no-wrap.d.ts +5 -4
- package/lib/icons/react/text-no-wrap.js +4 -11
- package/lib/icons/react/text-tool-align-bottom.d.ts +5 -4
- package/lib/icons/react/text-tool-align-bottom.js +4 -11
- package/lib/icons/react/text-tool-align-middle.d.ts +5 -4
- package/lib/icons/react/text-tool-align-middle.js +4 -11
- package/lib/icons/react/text-tool-align-top.d.ts +5 -4
- package/lib/icons/react/text-tool-align-top.js +4 -11
- package/lib/icons/react/text-wrap.d.ts +5 -4
- package/lib/icons/react/text-wrap.js +4 -11
- package/lib/icons/react/toc.d.ts +5 -4
- package/lib/icons/react/toc.js +4 -11
- package/lib/icons/react/type-button.d.ts +5 -4
- package/lib/icons/react/type-button.js +4 -11
- package/lib/icons/react/type-checkbox.d.ts +5 -4
- package/lib/icons/react/type-checkbox.js +4 -11
- package/lib/icons/react/type-date.d.ts +5 -4
- package/lib/icons/react/type-date.js +4 -11
- package/lib/icons/react/type-email.d.ts +5 -4
- package/lib/icons/react/type-email.js +4 -11
- package/lib/icons/react/type-emoji.d.ts +5 -4
- package/lib/icons/react/type-emoji.js +4 -11
- package/lib/icons/react/type-formula.d.ts +5 -4
- package/lib/icons/react/type-formula.js +4 -11
- package/lib/icons/react/type-json.d.ts +6 -0
- package/lib/icons/react/type-json.js +5 -0
- package/lib/icons/react/type-location.d.ts +5 -4
- package/lib/icons/react/type-location.js +4 -11
- package/lib/icons/react/type-lookup.d.ts +5 -4
- package/lib/icons/react/type-lookup.js +4 -11
- package/lib/icons/react/type-money.d.ts +5 -4
- package/lib/icons/react/type-money.js +4 -11
- package/lib/icons/react/type-multi-select.d.ts +5 -4
- package/lib/icons/react/type-multi-select.js +4 -11
- package/lib/icons/react/type-number.d.ts +5 -4
- package/lib/icons/react/type-number.js +4 -11
- package/lib/icons/react/type-percent.d.ts +5 -4
- package/lib/icons/react/type-percent.js +4 -11
- package/lib/icons/react/type-phone.d.ts +5 -4
- package/lib/icons/react/type-phone.js +4 -11
- package/lib/icons/react/type-relation.d.ts +5 -4
- package/lib/icons/react/type-relation.js +4 -11
- package/lib/icons/react/type-rich-text.d.ts +5 -4
- package/lib/icons/react/type-rich-text.js +4 -11
- package/lib/icons/react/type-single-select.d.ts +5 -4
- package/lib/icons/react/type-single-select.js +4 -11
- package/lib/icons/react/type-text.d.ts +5 -4
- package/lib/icons/react/type-text.js +4 -11
- package/lib/icons/react/undo.d.ts +5 -4
- package/lib/icons/react/undo.js +4 -11
- package/lib/icons/react/units-avatar.d.ts +5 -4
- package/lib/icons/react/units-avatar.js +4 -11
- package/lib/icons/react/units-collection.d.ts +5 -4
- package/lib/icons/react/units-collection.js +4 -11
- package/lib/icons/react/units-counter.d.ts +5 -4
- package/lib/icons/react/units-counter.js +4 -11
- package/lib/icons/react/units-date.d.ts +5 -4
- package/lib/icons/react/units-date.js +4 -11
- package/lib/icons/react/units-field-icon-button.d.ts +5 -4
- package/lib/icons/react/units-field-icon-button.js +4 -11
- package/lib/icons/react/units-field.d.ts +5 -4
- package/lib/icons/react/units-field.js +4 -11
- package/lib/icons/react/units-input.d.ts +5 -4
- package/lib/icons/react/units-input.js +4 -11
- package/lib/icons/react/units-normal.d.ts +5 -4
- package/lib/icons/react/units-normal.js +4 -11
- package/lib/icons/react/units-progress-bar.d.ts +5 -4
- package/lib/icons/react/units-progress-bar.js +4 -11
- package/lib/icons/react/units-rich-text.d.ts +5 -4
- package/lib/icons/react/units-rich-text.js +4 -11
- package/lib/icons/react/units-snippet.d.ts +5 -4
- package/lib/icons/react/units-snippet.js +4 -11
- package/lib/icons/react/unlink.d.ts +5 -4
- package/lib/icons/react/unlink.js +4 -11
- package/lib/icons/react/unlock-filled.d.ts +5 -4
- package/lib/icons/react/unlock-filled.js +4 -11
- package/lib/icons/react/unlock.d.ts +5 -4
- package/lib/icons/react/unlock.js +4 -11
- package/lib/icons/react/usb-flash-drive.d.ts +5 -4
- package/lib/icons/react/usb-flash-drive.js +4 -11
- package/lib/icons/react/value-clear.d.ts +5 -4
- package/lib/icons/react/value-clear.js +4 -11
- package/lib/icons/react/value-edit.d.ts +5 -4
- package/lib/icons/react/value-edit.js +4 -11
- package/lib/icons/react/view-ai.d.ts +5 -4
- package/lib/icons/react/view-ai.js +4 -11
- package/lib/icons/react/view-app.d.ts +5 -4
- package/lib/icons/react/view-app.js +4 -11
- package/lib/icons/react/view-board.d.ts +5 -4
- package/lib/icons/react/view-board.js +4 -11
- package/lib/icons/react/view-calendar.d.ts +5 -4
- package/lib/icons/react/view-calendar.js +4 -11
- package/lib/icons/react/view-canvas.d.ts +5 -4
- package/lib/icons/react/view-canvas.js +4 -11
- package/lib/icons/react/view-chart.d.ts +5 -4
- package/lib/icons/react/view-chart.js +4 -11
- package/lib/icons/react/view-dashboard.d.ts +5 -4
- package/lib/icons/react/view-dashboard.js +4 -11
- package/lib/icons/react/view-details.d.ts +5 -4
- package/lib/icons/react/view-details.js +4 -11
- package/lib/icons/react/view-document.d.ts +5 -4
- package/lib/icons/react/view-document.js +4 -11
- package/lib/icons/react/view-embed.d.ts +5 -4
- package/lib/icons/react/view-embed.js +4 -11
- package/lib/icons/react/view-feed.d.ts +5 -4
- package/lib/icons/react/view-feed.js +4 -11
- package/lib/icons/react/view-form.d.ts +5 -4
- package/lib/icons/react/view-form.js +4 -11
- package/lib/icons/react/view-gallery.d.ts +5 -4
- package/lib/icons/react/view-gallery.js +4 -11
- package/lib/icons/react/view-gantt.d.ts +5 -4
- package/lib/icons/react/view-gantt.js +4 -11
- package/lib/icons/react/view-list.d.ts +5 -4
- package/lib/icons/react/view-list.js +4 -11
- package/lib/icons/react/view-map.d.ts +5 -4
- package/lib/icons/react/view-map.js +4 -11
- package/lib/icons/react/view-page.d.ts +5 -4
- package/lib/icons/react/view-page.js +4 -11
- package/lib/icons/react/view-table.d.ts +5 -4
- package/lib/icons/react/view-table.js +4 -11
- package/lib/icons/react/view-timeline.d.ts +5 -4
- package/lib/icons/react/view-timeline.js +4 -11
- package/lib/icons/react/views.d.ts +5 -4
- package/lib/icons/react/views.js +4 -11
- package/lib/icons/react/warning-triangle-filled.d.ts +5 -4
- package/lib/icons/react/warning-triangle-filled.js +4 -11
- package/lib/icons/react/warning-triangle.d.ts +5 -4
- package/lib/icons/react/warning-triangle.js +4 -11
- package/lib/icons/react/warning.d.ts +5 -4
- package/lib/icons/react/warning.js +4 -11
- package/lib/icons/react/webhooks.d.ts +5 -4
- package/lib/icons/react/webhooks.js +4 -11
- package/lib/icons/react/workflow.d.ts +5 -4
- package/lib/icons/react/workflow.js +4 -11
- package/lib/icons/types.d.ts +1 -3
- package/lib/images-gallery/get-gallery-src.d.ts +1 -3
- package/lib/images-gallery/get-gallery-src.js +1 -2
- package/lib/images-gallery/images-gallery-fall-through-provider.d.ts +1 -3
- package/lib/images-gallery/images-gallery-fall-through-provider.js +1 -2
- package/lib/images-gallery/images-gallery.d.ts +0 -2
- package/lib/images-gallery/images-gallery.js +2 -4
- package/lib/images-gallery/slide-buttons.d.ts +1 -3
- package/lib/images-gallery/slide-buttons.js +31 -38
- package/lib/images-gallery/thumbnails-mime-types-white-list.d.ts +1 -3
- package/lib/images-gallery/thumbnails-mime-types-white-list.js +1 -2
- package/lib/images-gallery/zoom.d.ts +1 -3
- package/lib/images-gallery/zoom.js +1 -2
- package/lib/indicator.d.ts +1 -3
- package/lib/indicator.js +1 -2
- package/lib/integration-compact-info-button.d.ts +1 -3
- package/lib/integration-compact-info-button.js +5 -6
- package/lib/is-android.d.ts +1 -3
- package/lib/is-android.js +1 -2
- package/lib/is-in-popup.d.ts +1 -3
- package/lib/is-in-popup.js +2 -2
- package/lib/is-ios.d.ts +1 -3
- package/lib/is-ios.js +1 -2
- package/lib/kbd.d.ts +1 -3
- package/lib/kbd.js +2 -3
- package/lib/layout-styles.d.ts +1 -3
- package/lib/layout-styles.js +1 -2
- package/lib/layout-variables.d.ts +1 -3
- package/lib/layout-variables.js +3 -4
- package/lib/link-input/components/ant-text-area-with-custom-read-state.d.ts +1 -3
- package/lib/link-input/components/ant-text-area-with-custom-read-state.js +1 -2
- package/lib/link-input/index.d.ts +1 -3
- package/lib/link-input/index.js +2 -3
- package/lib/link-input/utils.d.ts +1 -3
- package/lib/link-input/utils.js +1 -2
- package/lib/lists/list-row-surface.d.ts +2 -3
- package/lib/lists/list-row-surface.js +4 -4
- package/lib/loader-gate-start.d.ts +1 -3
- package/lib/loader-gate-start.js +1 -2
- package/lib/loader-gate.d.ts +1 -3
- package/lib/loader-gate.js +1 -2
- package/lib/loaders.d.ts +1 -3
- package/lib/loaders.js +1 -2
- package/lib/logo.d.ts +1 -3
- package/lib/logo.js +1 -2
- package/lib/media-query-utils.d.ts +1 -3
- package/lib/media-query-utils.js +1 -2
- package/lib/memoize.d.ts +1 -3
- package/lib/memoize.js +1 -2
- package/lib/menu-item-actions.d.ts +1 -3
- package/lib/menu-item-actions.js +1 -2
- package/lib/mobile-app-api.d.ts +1 -3
- package/lib/mobile-drawer.d.ts +1 -3
- package/lib/mobile-drawer.js +7 -8
- package/lib/mobile-drawer.wyw-in-js.css +2 -2
- package/lib/mobile-keyboard-aware-popup.d.ts +1 -3
- package/lib/mobile-keyboard-aware-popup.js +1 -2
- package/lib/mobile-styles.d.ts +1 -3
- package/lib/mobile-styles.js +1 -2
- package/lib/modal-menu/contexts/modal-menu-context.d.ts +0 -2
- package/lib/modal-menu/contexts/modal-menu-context.js +1 -2
- package/lib/modal-menu/contexts/modal-submenu-context.d.ts +0 -2
- package/lib/modal-menu/contexts/modal-submenu-context.js +1 -2
- package/lib/modal-menu/index.js +1 -2
- package/lib/modal-menu/modal-menu-checkbox-item.d.ts +1 -3
- package/lib/modal-menu/modal-menu-checkbox-item.js +3 -4
- package/lib/modal-menu/modal-menu-checkbox-item.wyw-in-js.css +1 -1
- package/lib/modal-menu/modal-menu-content.d.ts +1 -3
- package/lib/modal-menu/modal-menu-content.js +2 -3
- package/lib/modal-menu/modal-menu-drawer-content.d.ts +1 -3
- package/lib/modal-menu/modal-menu-drawer-content.js +1 -2
- package/lib/modal-menu/modal-menu-group.d.ts +1 -3
- package/lib/modal-menu/modal-menu-group.js +1 -2
- package/lib/modal-menu/modal-menu-item.d.ts +1 -3
- package/lib/modal-menu/modal-menu-item.js +3 -4
- package/lib/modal-menu/modal-menu-item.wyw-in-js.css +1 -1
- package/lib/modal-menu/modal-menu-label.d.ts +1 -3
- package/lib/modal-menu/modal-menu-label.js +1 -2
- package/lib/modal-menu/modal-menu-root.d.ts +1 -3
- package/lib/modal-menu/modal-menu-root.js +1 -2
- package/lib/modal-menu/modal-menu-separator.d.ts +1 -3
- package/lib/modal-menu/modal-menu-separator.js +1 -2
- package/lib/modal-menu/modal-menu-trigger.d.ts +1 -3
- package/lib/modal-menu/modal-menu-trigger.js +1 -2
- package/lib/modal-menu/modal-submenu-content.d.ts +1 -3
- package/lib/modal-menu/modal-submenu-content.js +1 -2
- package/lib/modal-menu/modal-submenu-trigger.d.ts +1 -3
- package/lib/modal-menu/modal-submenu-trigger.js +3 -4
- package/lib/modal-menu/modal-submenu.d.ts +1 -3
- package/lib/modal-menu/modal-submenu.js +1 -2
- package/lib/new-badge.d.ts +1 -3
- package/lib/new-badge.js +1 -2
- package/lib/number-input/decimal.d.ts +1 -3
- package/lib/number-input/decimal.js +1 -2
- package/lib/number-input/edit-unit-styles.d.ts +1 -3
- package/lib/number-input/edit-unit-styles.js +1 -2
- package/lib/number-input/number-input-inline.d.ts +1 -3
- package/lib/number-input/number-input-inline.js +2 -3
- package/lib/number-input/number-input.d.ts +1 -3
- package/lib/number-input/number-input.js +2 -3
- package/lib/number-input/step-button.d.ts +1 -3
- package/lib/number-input/step-button.js +1 -2
- package/lib/number-input/types.d.ts +1 -3
- package/lib/number-input/utils.d.ts +1 -3
- package/lib/number-input/utils.js +1 -2
- package/lib/online-users.d.ts +1 -3
- package/lib/online-users.js +10 -9
- package/lib/open-popover-tracker.d.ts +1 -3
- package/lib/open-popover-tracker.js +1 -2
- package/lib/p3-wide.js +1 -2
- package/lib/palette-generator.d.ts +1 -3
- package/lib/palette-generator.js +1 -2
- package/lib/palettes/common.d.ts +1 -3
- package/lib/palettes/common.js +1 -2
- package/lib/palettes/enum-settings.d.ts +1 -3
- package/lib/palettes/enum-settings.js +1 -2
- package/lib/palettes/neutral-arch.d.ts +1 -3
- package/lib/palettes/neutral-arch.js +2 -3
- package/lib/palettes/neutral-settings.d.ts +1 -3
- package/lib/palettes/neutral-settings.js +1 -2
- package/lib/palettes/neutral-user.d.ts +1 -3
- package/lib/palettes/neutral-user.js +2 -3
- package/lib/palettes/neutral.d.ts +1 -3
- package/lib/palettes/neutral.js +26 -27
- package/lib/palettes/warm-arch.d.ts +1 -3
- package/lib/palettes/warm-arch.js +2 -3
- package/lib/palettes/warm-settings.d.ts +1 -3
- package/lib/palettes/warm-settings.js +0 -1
- package/lib/palettes/warm-user.d.ts +1 -3
- package/lib/palettes/warm-user.js +2 -3
- package/lib/palettes/warm.d.ts +1 -3
- package/lib/palettes/warm.js +26 -27
- package/lib/palettes.d.ts +1 -3
- package/lib/palettes.js +1 -2
- package/lib/phone-breakpoint.d.ts +7 -0
- package/lib/phone-breakpoint.js +6 -0
- package/lib/phone-media-query.d.ts +1 -6
- package/lib/phone-media-query.js +4 -7
- package/lib/phone.d.ts +0 -2
- package/lib/phone.js +1 -2
- package/lib/platform-symbols.d.ts +1 -3
- package/lib/platform-symbols.js +1 -2
- package/lib/platform.d.ts +1 -3
- package/lib/platform.js +1 -2
- package/lib/popover/get-element-ref.d.ts +1 -3
- package/lib/popover/get-element-ref.js +1 -2
- package/lib/popover/index.d.ts +0 -2
- package/lib/popover/index.js +6 -7
- package/lib/popover/mobile-popover-context.d.ts +0 -2
- package/lib/popover/mobile-popover-context.js +1 -2
- package/lib/popover/mobile-popover.d.ts +1 -3
- package/lib/popover/mobile-popover.js +7 -8
- package/lib/popover/modifiers.d.ts +1 -3
- package/lib/popover/modifiers.js +1 -2
- package/lib/popover/popup-modifiers-context.d.ts +1 -3
- package/lib/popover/popup-modifiers-context.js +1 -2
- package/lib/popover/popup-stack-context.d.ts +0 -2
- package/lib/popover/popup-stack-context.js +1 -2
- package/lib/popover/reference.d.ts +1 -3
- package/lib/popover/reference.js +1 -2
- package/lib/popover/styles.d.ts +1 -3
- package/lib/popover/styles.js +1 -2
- package/lib/popover/use-click-outside.d.ts +1 -3
- package/lib/popover/use-click-outside.js +1 -2
- package/lib/preference-setting.d.ts +20 -6
- package/lib/preference-setting.js +9 -15
- package/lib/pretty-size.d.ts +1 -3
- package/lib/pretty-size.js +1 -2
- package/lib/progress.d.ts +1 -3
- package/lib/progress.js +1 -2
- package/lib/random.d.ts +1 -3
- package/lib/random.js +1 -2
- package/lib/reactions/get-word-divider.d.ts +1 -3
- package/lib/reactions/get-word-divider.js +1 -2
- package/lib/reactions/reaction-button.d.ts +1 -3
- package/lib/reactions/reaction-button.js +9 -10
- package/lib/reactions/reaction-picker.d.ts +1 -3
- package/lib/reactions/reaction-picker.js +10 -11
- package/lib/reactions/reactions.d.ts +1 -3
- package/lib/reactions/reactions.js +1 -2
- package/lib/reactions/tootltip.d.ts +1 -3
- package/lib/reactions/tootltip.js +2 -3
- package/lib/ready-to-scroll-context.d.ts +1 -3
- package/lib/ready-to-scroll-context.js +1 -2
- package/lib/resolve-theme-palette.d.ts +2 -4
- package/lib/resolve-theme-palette.js +1 -2
- package/lib/rich-text-embed-error.d.ts +1 -3
- package/lib/rich-text-embed-error.js +3 -4
- package/lib/rich-text-skeleton.d.ts +1 -3
- package/lib/rich-text-skeleton.js +2 -3
- package/lib/root-theme-provider.d.ts +1 -3
- package/lib/root-theme-provider.js +7 -8
- package/lib/scale-generator.d.ts +3 -5
- package/lib/scale-generator.js +50 -51
- package/lib/scroll-fade.d.ts +2 -3
- package/lib/scroll-fade.js +3 -3
- package/lib/scroll-fade.wyw-in-js.css +1 -1
- package/lib/select/components/clear-indicator.d.ts +1 -3
- package/lib/select/components/clear-indicator.js +3 -4
- package/lib/select/components/drop-down-indicator.d.ts +1 -3
- package/lib/select/components/drop-down-indicator.js +3 -4
- package/lib/select/components/group-heading.d.ts +1 -3
- package/lib/select/components/group-heading.js +2 -3
- package/lib/select/components/menu-list-virtua.d.ts +1 -3
- package/lib/select/components/menu-list-virtua.js +10 -44
- package/lib/select/components/menu-list-virtualized.d.ts +1 -3
- package/lib/select/components/menu-list-virtualized.js +14 -46
- package/lib/select/components/menu.d.ts +1 -3
- package/lib/select/components/menu.js +2 -3
- package/lib/select/components/no-option-message.d.ts +1 -3
- package/lib/select/components/no-option-message.js +1 -2
- package/lib/select/components/option.d.ts +1 -3
- package/lib/select/components/option.js +3 -4
- package/lib/select/components/use-flat-menu-items.d.ts +4 -0
- package/lib/select/components/use-flat-menu-items.js +38 -0
- package/lib/select/constants.d.ts +1 -3
- package/lib/select/constants.js +1 -2
- package/lib/select/index.d.ts +0 -2
- package/lib/select/index.js +3 -4
- package/lib/select/reflection.d.ts +1 -3
- package/lib/select/reflection.js +4 -5
- package/lib/select/select-control-settings-context.d.ts +1 -3
- package/lib/select/select-control-settings-context.js +1 -2
- package/lib/select/select-in-popover.d.ts +2 -5
- package/lib/select/select-in-popover.js +7 -15
- package/lib/select/select-in-popover.wyw-in-js.css +3 -3
- package/lib/select/select-loader.d.ts +1 -3
- package/lib/select/select-loader.js +2 -3
- package/lib/select/select-mock-context.d.ts +1 -3
- package/lib/select/select-mock-context.js +1 -2
- package/lib/select/select-trigger.d.ts +1 -3
- package/lib/select/select-trigger.js +1 -2
- package/lib/select/select.d.ts +1 -3
- package/lib/select/select.js +8 -9
- package/lib/select/styles.d.ts +1 -4
- package/lib/select/styles.js +28 -14
- package/lib/select/util.d.ts +1 -3
- package/lib/select/util.js +3 -4
- package/lib/sidebar/sidebar-handle.d.ts +1 -3
- package/lib/sidebar/sidebar-handle.js +1 -2
- package/lib/sidebar/sidebar.d.ts +2 -4
- package/lib/sidebar/sidebar.js +3 -4
- package/lib/sidebar/sidebar.wyw-in-js.css +2 -2
- package/lib/sidebar/use-resize-drag.d.ts +1 -3
- package/lib/sidebar/use-resize-drag.js +1 -2
- package/lib/skeleton-card.d.ts +1 -3
- package/lib/skeleton-card.js +1 -2
- package/lib/skeleton-entity-box.d.ts +1 -3
- package/lib/skeleton-entity-box.js +1 -2
- package/lib/skeleton.d.ts +1 -3
- package/lib/skeleton.js +1 -2
- package/lib/spinner-box.d.ts +1 -3
- package/lib/spinner-box.js +2 -3
- package/lib/spinner.d.ts +1 -3
- package/lib/spinner.js +3 -4
- package/lib/static-palettes.d.ts +1 -3
- package/lib/static-palettes.js +1 -2
- package/lib/storage-keys.d.ts +1 -3
- package/lib/storage-keys.js +1 -2
- package/lib/storage.d.ts +1 -3
- package/lib/storage.js +1 -2
- package/lib/styles-utils.d.ts +1 -3
- package/lib/styles-utils.js +1 -2
- package/lib/styles.generated.d.ts +1 -3
- package/lib/styles.generated.js +1 -2
- package/lib/styles.neutral-dark.generated.css +54 -57
- package/lib/styles.neutral-dark.generated.d.ts +55 -60
- package/lib/styles.neutral-dark.generated.js +55 -59
- package/lib/styles.neutral-light.generated.css +59 -62
- package/lib/styles.neutral-light.generated.d.ts +60 -65
- package/lib/styles.neutral-light.generated.js +60 -64
- package/lib/styles.warm-dark.generated.css +54 -57
- package/lib/styles.warm-dark.generated.d.ts +55 -60
- package/lib/styles.warm-dark.generated.js +55 -59
- package/lib/styles.warm-light.generated.css +59 -62
- package/lib/styles.warm-light.generated.d.ts +60 -65
- package/lib/styles.warm-light.generated.js +60 -64
- package/lib/tab-nav/tab-nav-styles.d.ts +1 -3
- package/lib/tab-nav/tab-nav-styles.js +1 -2
- package/lib/tab-nav/tab-nav-styles.wyw-in-js.css +2 -2
- package/lib/tab-nav/tab-nav.d.ts +11 -10
- package/lib/tab-nav/tab-nav.js +34 -37
- package/lib/table.d.ts +1 -3
- package/lib/table.js +1 -2
- package/lib/text.d.ts +1 -3
- package/lib/text.js +1 -2
- package/lib/thematic-color-picker.d.ts +1 -3
- package/lib/thematic-color-picker.js +1 -2
- package/lib/thematic-constants.d.ts +1 -3
- package/lib/thematic-constants.js +7 -8
- package/lib/thematic-controls.d.ts +1 -3
- package/lib/thematic-controls.js +2 -3
- package/lib/thematic-cvd.d.ts +1 -3
- package/lib/thematic-cvd.js +1 -2
- package/lib/thematic-highlights.d.ts +1 -3
- package/lib/thematic-highlights.js +1 -2
- package/lib/thematic-scales.d.ts +1 -3
- package/lib/thematic-scales.js +1 -2
- package/lib/thematic-segments.d.ts +1 -3
- package/lib/thematic-segments.js +1 -2
- package/lib/thematic-state.d.ts +5 -7
- package/lib/thematic-state.js +10 -11
- package/lib/thematic-swatch-adjust.d.ts +1 -3
- package/lib/thematic-swatch-adjust.js +1 -2
- package/lib/thematic.d.ts +1 -3
- package/lib/thematic.js +21 -22
- package/lib/theme-bootstrap.d.ts +3 -5
- package/lib/theme-bootstrap.js +9 -24
- package/lib/theme-callout.d.ts +1 -3
- package/lib/theme-callout.js +5 -6
- package/lib/theme-css-fallback.d.ts +1 -3
- package/lib/theme-css-fallback.js +1 -2
- package/lib/theme-css-snapshot.d.ts +3 -5
- package/lib/theme-css-snapshot.js +2 -3
- package/lib/theme-highlight.d.ts +1 -3
- package/lib/theme-highlight.js +5 -6
- package/lib/theme-inline-styles.d.ts +1 -3
- package/lib/theme-inline-styles.js +1 -2
- package/lib/theme-preference.d.ts +2 -0
- package/lib/theme-preference.js +14 -0
- package/lib/theme-provider.d.ts +4 -6
- package/lib/theme-provider.js +3 -4
- package/lib/theme-settings-core.d.ts +4 -4
- package/lib/theme-settings-core.js +6 -4
- package/lib/theme-settings.d.ts +2 -4
- package/lib/theme-settings.js +2 -4
- package/lib/theme-styles.d.ts +3 -5
- package/lib/theme-styles.js +3 -4
- package/lib/theme-values.d.ts +1 -3
- package/lib/theme-values.js +1 -2
- package/lib/theme.d.ts +4 -6
- package/lib/theme.js +2 -3
- package/lib/theming.build.d.ts +3 -5
- package/lib/theming.build.js +3 -4
- package/lib/theming.generated.d.ts +2 -4
- package/lib/theming.generated.js +11 -15
- package/lib/toast/primitives.d.ts +1 -3
- package/lib/toast/primitives.js +4 -5
- package/lib/toast/toast-action.d.ts +0 -2
- package/lib/toast/toast-action.js +2 -3
- package/lib/toast/toast-provider.d.ts +3 -5
- package/lib/toast/toast-provider.js +1 -2
- package/lib/toast/toast-queue.d.ts +1 -3
- package/lib/toast/toast-queue.js +1 -2
- package/lib/toast/toast.d.ts +1 -3
- package/lib/toast/toast.js +6 -7
- package/lib/toast/toaster.d.ts +1 -3
- package/lib/toast/toaster.js +2 -3
- package/lib/toast/utils/toastify-item-name.d.ts +1 -3
- package/lib/toast/utils/toastify-item-name.js +1 -2
- package/lib/toggle-button/round-toggle-button.d.ts +1 -3
- package/lib/toggle-button/round-toggle-button.js +1 -2
- package/lib/toggle-button/toggle-button-group.d.ts +1 -3
- package/lib/toggle-button/toggle-button-group.js +1 -2
- package/lib/toggle-button/toggle-button.d.ts +1 -3
- package/lib/toggle-button/toggle-button.js +1 -2
- package/lib/toggle-button/toggle-button.wyw-in-js.css +1 -1
- package/lib/toggle-on-off.d.ts +1 -3
- package/lib/toggle-on-off.js +2 -3
- package/lib/toggle.d.ts +1 -3
- package/lib/toggle.js +4 -5
- package/lib/tooltip-if-overflown.d.ts +1 -3
- package/lib/tooltip-if-overflown.js +1 -2
- package/lib/tooltip.d.ts +19 -26
- package/lib/tooltip.js +248 -62
- package/lib/tooltip.wyw-in-js.css +1 -1
- package/lib/tree-utils.d.ts +1 -3
- package/lib/tree-utils.js +17 -23
- package/lib/type-badge-box.d.ts +1 -3
- package/lib/type-badge-box.js +1 -2
- package/lib/type-badge.d.ts +1 -3
- package/lib/type-badge.js +2 -3
- package/lib/type-badge.wyw-in-js.css +2 -2
- package/lib/type-label.d.ts +1 -3
- package/lib/type-label.js +1 -2
- package/lib/unit/as-string.d.ts +1 -3
- package/lib/unit/as-string.js +1 -2
- package/lib/unit/container.d.ts +1 -3
- package/lib/unit/container.js +1 -2
- package/lib/unit/context.d.ts +1 -3
- package/lib/unit/context.js +1 -2
- package/lib/unit/index.d.ts +2 -2
- package/lib/unit/index.js +1 -1
- package/lib/unit/labeled-unit.d.ts +1 -3
- package/lib/unit/labeled-unit.js +1 -2
- package/lib/unit/loading-unit-value.d.ts +1 -3
- package/lib/unit/loading-unit-value.js +1 -2
- package/lib/unit/maybe-unit-value.d.ts +1 -3
- package/lib/unit/maybe-unit-value.js +1 -2
- package/lib/unit/nav-button.d.ts +1 -3
- package/lib/unit/nav-button.js +1 -2
- package/lib/unit/styles.d.ts +1 -3
- package/lib/unit/styles.js +2 -3
- package/lib/unit/unit-content-layout.d.ts +1 -3
- package/lib/unit/unit-content-layout.js +1 -2
- package/lib/unit/unit-content.d.ts +1 -3
- package/lib/unit/unit-content.js +5 -6
- package/lib/unit/unit.d.ts +1 -3
- package/lib/unit/unit.js +2 -3
- package/lib/use-display-gamut.d.ts +1 -3
- package/lib/use-display-gamut.js +1 -2
- package/lib/use-is-media-query-matched.d.ts +1 -3
- package/lib/use-is-media-query-matched.js +1 -2
- package/lib/use-is-phone.d.ts +0 -2
- package/lib/use-is-phone.js +1 -2
- package/lib/use-is-support-hardware-keyboard.d.ts +1 -3
- package/lib/use-is-support-hardware-keyboard.js +1 -2
- package/lib/use-is-support-hover.d.ts +1 -3
- package/lib/use-is-support-hover.js +1 -2
- package/lib/use-long-press.d.ts +1 -3
- package/lib/use-long-press.js +1 -2
- package/lib/use-me.d.ts +0 -2
- package/lib/use-me.js +1 -2
- package/lib/use-navigation.d.ts +0 -2
- package/lib/use-navigation.js +1 -2
- package/lib/use-on-screen-keyboard-data.d.ts +0 -2
- package/lib/use-on-screen-keyboard-data.js +1 -2
- package/lib/use-palette-theme.d.ts +2 -4
- package/lib/use-palette-theme.js +1 -2
- package/lib/workflow-progress-icon.d.ts +0 -2
- package/lib/workflow-progress-icon.js +1 -2
- package/package.json +14 -14
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import appearance_auto_default from "./icons/react/appearance-auto.js";
|
|
2
|
+
import appearance_dark_default from "./icons/react/appearance-dark.js";
|
|
3
|
+
import appearance_light_default from "./icons/react/appearance-light.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/thematic-constants.tsx
|
|
6
6
|
var HIGHLIGHT_COLOR = "#ff00ff";
|
|
7
7
|
var themePreferenceOptions = [
|
|
8
8
|
{
|
|
9
9
|
value: "auto",
|
|
10
|
-
label: /* @__PURE__ */ jsx(
|
|
10
|
+
label: /* @__PURE__ */ jsx(appearance_auto_default, {})
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
value: "light",
|
|
14
|
-
label: /* @__PURE__ */ jsx(
|
|
14
|
+
label: /* @__PURE__ */ jsx(appearance_light_default, {})
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
value: "dark",
|
|
18
|
-
label: /* @__PURE__ */ jsx(
|
|
18
|
+
label: /* @__PURE__ */ jsx(appearance_dark_default, {})
|
|
19
19
|
}
|
|
20
20
|
];
|
|
21
|
-
//#endregion
|
|
22
21
|
export { HIGHLIGHT_COLOR, themePreferenceOptions };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ZeroBasedScale } from "./design-system/types.js";
|
|
2
2
|
import "./palette-generator.js";
|
|
3
|
-
//#region src/thematic-controls.d.ts
|
|
4
3
|
export declare const controlRowCss: import("@linaria/core").LinariaClassName;
|
|
5
4
|
export declare const controlLabelCss: import("@linaria/core").LinariaClassName;
|
|
6
5
|
export declare const controlValueCss: import("@linaria/core").LinariaClassName;
|
|
@@ -45,5 +44,4 @@ export declare function Slider({ label, value, min, max, step, format, onChange,
|
|
|
45
44
|
onLabelHover?: () => void;
|
|
46
45
|
onLabelLeave?: () => void;
|
|
47
46
|
onLabelClick?: () => void;
|
|
48
|
-
}): import("react").JSX.Element;
|
|
49
|
-
//#endregion
|
|
47
|
+
}): import("react").JSX.Element;
|
package/lib/thematic-controls.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./thematic-controls.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/thematic-controls.tsx
|
|
5
5
|
var controlRowCss = "cydzfo7-controlRow";
|
|
6
6
|
var controlLabelCss = "cc3bmt3-controlLabel";
|
|
7
7
|
var controlValueCss = "c18t6x9g-controlValue";
|
|
@@ -83,7 +83,7 @@ function Slider({ label, value, min, max, step, format = (v) => v.toFixed(step <
|
|
|
83
83
|
return /* @__PURE__ */ jsxs("div", {
|
|
84
84
|
className: controlRowCss,
|
|
85
85
|
style: disabled ? {
|
|
86
|
-
opacity:
|
|
86
|
+
opacity: "var(--opacity-disabled)",
|
|
87
87
|
pointerEvents: "none"
|
|
88
88
|
} : void 0,
|
|
89
89
|
children: [
|
|
@@ -113,5 +113,4 @@ function Slider({ label, value, min, max, step, format = (v) => v.toFixed(step <
|
|
|
113
113
|
]
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
//#endregion
|
|
117
116
|
export { ArrayEditor, ArraySlider, Slider, chromaGradient, clickableLabelCss, controlLabelCss, controlRowCss, controlValueCss, hueGradient, oklchColor, sliderCss };
|
package/lib/thematic-cvd.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { useThematicState } from "./thematic-state.js";
|
|
2
|
-
//#region src/thematic-cvd.d.ts
|
|
3
2
|
export declare function CvdSection({ state }: {
|
|
4
3
|
state: ReturnType<typeof useThematicState>;
|
|
5
|
-
}): import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
4
|
+
}): import("react").JSX.Element;
|
package/lib/thematic-cvd.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Slider } from "./thematic-controls.js";
|
|
|
3
3
|
import { sectionLabelCss, sectionSeparatorCss } from "./thematic-scales.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { useState } from "react";
|
|
6
|
-
|
|
6
|
+
// src/thematic-cvd.tsx
|
|
7
7
|
var types = [null, ...cvdChannels];
|
|
8
8
|
var activeKey = (dn) => {
|
|
9
9
|
for (const { key } of cvdChannels) if (dn?.[key]) return key;
|
|
@@ -53,5 +53,4 @@ function CvdSection({ state }) {
|
|
|
53
53
|
})
|
|
54
54
|
] });
|
|
55
55
|
}
|
|
56
|
-
//#endregion
|
|
57
56
|
export { CvdSection };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { useThematicState } from "./thematic-state.js";
|
|
2
|
-
//#region src/thematic-highlights.d.ts
|
|
3
2
|
export declare function HighlightSection({ state }: {
|
|
4
3
|
state: ReturnType<typeof useThematicState>;
|
|
5
|
-
}): import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
4
|
+
}): import("react").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { extendDef } from "./design-system/def.js";
|
|
|
2
2
|
import { Slider } from "./thematic-controls.js";
|
|
3
3
|
import { sectionLabelCss, sectionSeparatorCss } from "./thematic-scales.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/thematic-highlights.tsx
|
|
6
6
|
function HighlightSection({ state }) {
|
|
7
7
|
const side = state.showDark ? 1 : 0;
|
|
8
8
|
const sideLabel = state.showDark ? "dark" : "light";
|
|
@@ -61,5 +61,4 @@ function HighlightSection({ state }) {
|
|
|
61
61
|
})
|
|
62
62
|
] });
|
|
63
63
|
}
|
|
64
|
-
//#endregion
|
|
65
64
|
export { HighlightSection };
|
package/lib/thematic-scales.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InspectChannel } from "./thematic-color-picker.js";
|
|
2
|
-
//#region src/thematic-scales.d.ts
|
|
3
2
|
export declare const scaleCss: import("@linaria/core").LinariaClassName;
|
|
4
3
|
export declare const SPACER = "\0";
|
|
5
4
|
export declare const sectionLabelCss: import("@linaria/core").LinariaClassName;
|
|
@@ -24,5 +23,4 @@ export declare function ScaleGrid({ scales, inspectChannel }: {
|
|
|
24
23
|
scales: ScaleEntry[];
|
|
25
24
|
isAltPressed?: boolean;
|
|
26
25
|
inspectChannel?: InspectChannel;
|
|
27
|
-
}): import("react").JSX.Element;
|
|
28
|
-
//#endregion
|
|
26
|
+
}): import("react").JSX.Element;
|
package/lib/thematic-scales.js
CHANGED
|
@@ -2,7 +2,7 @@ import "./thematic-scales.wyw-in-js.css";
|
|
|
2
2
|
import { SwatchWithPicker, miniSwatchCss, swatchCss, tinySwatchCss } from "./thematic-color-picker.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/thematic-scales.tsx
|
|
6
6
|
var scaleCss = "szhmm6l-scale";
|
|
7
7
|
var SPACER = "\0";
|
|
8
8
|
var sectionLabelCss = "s1ruuywc-sectionLabel";
|
|
@@ -42,5 +42,4 @@ function ScaleGrid({ scales, inspectChannel }) {
|
|
|
42
42
|
}, name))
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
//#endregion
|
|
46
45
|
export { SPACER, ScaleGrid, scaleCss, sectionLabelCss, sectionSeparatorCss };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
//#region src/thematic-segments.d.ts
|
|
3
2
|
export declare function PreviewSegments<T extends string>({ label, options, value, onPreview, onCommit }: {
|
|
4
3
|
label: string;
|
|
5
4
|
options: ReadonlyArray<{
|
|
@@ -10,5 +9,4 @@ export declare function PreviewSegments<T extends string>({ label, options, valu
|
|
|
10
9
|
value: T;
|
|
11
10
|
onPreview: (value: T | null) => void;
|
|
12
11
|
onCommit: (value: T) => void;
|
|
13
|
-
}): import("react").JSX.Element;
|
|
14
|
-
//#endregion
|
|
12
|
+
}): import("react").JSX.Element;
|
package/lib/thematic-segments.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ToggleButtonGroup, ToggleButtonGroupItem } from "./toggle-button/toggle
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useId } from "react";
|
|
7
|
-
|
|
7
|
+
// src/thematic-segments.tsx
|
|
8
8
|
var segmentsCss = "sbfqtjk-segments";
|
|
9
9
|
function PreviewSegments({ label, options, value, onPreview, onCommit }) {
|
|
10
10
|
const labelId = useId();
|
|
@@ -34,5 +34,4 @@ function PreviewSegments({ label, options, value, onPreview, onCommit }) {
|
|
|
34
34
|
})]
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
//#endregion
|
|
38
37
|
export { PreviewSegments };
|
package/lib/thematic-state.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./design-system.js";
|
|
2
|
+
import { LabPalettes } from "./static-palettes.js";
|
|
2
3
|
import { AdjustSpec } from "./color-adjuster.js";
|
|
3
4
|
import { ColorFilterSpec } from "./color-filter.js";
|
|
4
|
-
import { ColorScale, EnumDefs, HighlightDefs, ModeDef, ThemePalette } from "./design-system/types.js";
|
|
5
5
|
import { Gamut } from "./color-gamut.js";
|
|
6
|
-
import "./design-system.js";
|
|
6
|
+
import { ColorScale, EnumDefs, HighlightDefs, ModeDef, ThemePalette } from "./design-system/types.js";
|
|
7
7
|
import { ScaleCurves } from "./scale-generator.js";
|
|
8
8
|
import { ThematicPrefs } from "./palette-generator.js";
|
|
9
|
-
import {
|
|
10
|
-
//#region src/thematic-state.d.ts
|
|
9
|
+
import { ThemePreference } from "./theme-bootstrap.js";
|
|
11
10
|
export type PaletteScaleKey = Exclude<keyof ThemePalette, "key" | "deneutralize" | "highlight" | "enum">;
|
|
12
11
|
export type ThematicExport = Partial<Omit<ThemePalette, "key">> & {
|
|
13
12
|
meta?: {
|
|
@@ -106,5 +105,4 @@ export declare function useThematicState(): {
|
|
|
106
105
|
onSwatchHoverEnd: () => void;
|
|
107
106
|
exportState: () => ThematicExport;
|
|
108
107
|
importState: (data: ThematicExport) => void;
|
|
109
|
-
};
|
|
110
|
-
//#endregion
|
|
108
|
+
};
|
package/lib/thematic-state.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { builtinNeutralArchPalette, builtinWarmArchPalette } from "./builtin-theme-palette.js";
|
|
2
2
|
import { displayGamutKey, overrideDisplayGamut } from "./color-gamut.js";
|
|
3
3
|
import { extendDef } from "./design-system/def.js";
|
|
4
|
-
import { themeModeOf } from "./theme-bootstrap.js";
|
|
5
|
-
import { useDetectedDisplayGamut, useDisplayGamut } from "./use-display-gamut.js";
|
|
6
|
-
import { useThematic, useThemeMode, useThemePreference } from "./theme-provider.js";
|
|
7
|
-
import { common } from "./palettes/common.js";
|
|
8
|
-
import { localStorage } from "./storage.js";
|
|
9
|
-
import { setThemePreference } from "./theme-settings-core.js";
|
|
10
|
-
import { useWarmPreference } from "./theme-settings.js";
|
|
11
|
-
import { DEFAULT_DARK_CURVES, DEFAULT_LIGHT_CURVES, generateColorScale } from "./scale-generator.js";
|
|
12
|
-
import { selectPalette } from "./palettes.js";
|
|
13
4
|
import { fitThematicPrefs, makeThematicPalette } from "./palette-generator.js";
|
|
5
|
+
import { selectPalette } from "./palettes.js";
|
|
6
|
+
import { common } from "./palettes/common.js";
|
|
14
7
|
import { resolveThemePalette } from "./resolve-theme-palette.js";
|
|
15
8
|
import { StaticPalettes } from "./static-palettes.js";
|
|
9
|
+
import { setThemePreference } from "./theme-settings-core.js";
|
|
10
|
+
import { localStorage } from "./storage.js";
|
|
11
|
+
import { DEFAULT_DARK_CURVES, DEFAULT_LIGHT_CURVES, generateColorScale } from "./scale-generator.js";
|
|
12
|
+
import { themeModeOf } from "./theme-bootstrap.js";
|
|
13
|
+
import { useThematic, useThemeMode, useThemePreference } from "./theme-provider.js";
|
|
14
|
+
import { useWarmPreference } from "./theme-settings.js";
|
|
16
15
|
import { useToast } from "./toast/toast-provider.js";
|
|
16
|
+
import { useDetectedDisplayGamut, useDisplayGamut } from "./use-display-gamut.js";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
18
|
-
|
|
18
|
+
// src/thematic-state.ts
|
|
19
19
|
var highlight = common.highlight;
|
|
20
20
|
var STORAGE_KEY = "thematic-palette";
|
|
21
21
|
function isValidPalette(p) {
|
|
@@ -513,5 +513,4 @@ function useThematicState() {
|
|
|
513
513
|
importState
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
|
-
//#endregion
|
|
517
516
|
export { gamutChoices, looks, useThematicState };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { useThematicState } from "./thematic-state.js";
|
|
2
|
-
//#region src/thematic-swatch-adjust.d.ts
|
|
3
2
|
export declare function SwatchAdjustSection({ state }: {
|
|
4
3
|
state: ReturnType<typeof useThematicState>;
|
|
5
|
-
}): import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
4
|
+
}): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Slider } from "./thematic-controls.js";
|
|
2
2
|
import { sectionLabelCss } from "./thematic-scales.js";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/thematic-swatch-adjust.tsx
|
|
5
5
|
function SwatchAdjustSection({ state }) {
|
|
6
6
|
const warmer = state.deneutralizeSpec?.adjust;
|
|
7
7
|
const strength = warmer ? warmer.strengths?.common ?? 1 : 0;
|
|
@@ -70,5 +70,4 @@ function SwatchAdjustSection({ state }) {
|
|
|
70
70
|
})] }) : null
|
|
71
71
|
] });
|
|
72
72
|
}
|
|
73
|
-
//#endregion
|
|
74
73
|
export { SwatchAdjustSection };
|
package/lib/thematic.d.ts
CHANGED
package/lib/thematic.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import "./thematic.wyw-in-js.css";
|
|
2
|
-
import { ThemeProvider, useTheme } from "./theme-provider.js";
|
|
3
|
-
import { space } from "./design-system/layout.js";
|
|
4
|
-
import { bgKeyFrom, fgOnBgKeyFrom, highlightHueNames } from "./highlight-colors.js";
|
|
5
|
-
import { cardTypeColors } from "./design-system/colors.js";
|
|
6
|
-
import { setThemePreference } from "./theme-settings-core.js";
|
|
7
2
|
import { IconButton } from "./button/icon-button.js";
|
|
8
3
|
import { backgrounds, darkFromLight, sections, stickers } from "./canvas-colors.js";
|
|
9
4
|
import { inspectColor } from "./color-inspect.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
5
|
+
import { space } from "./design-system/layout.js";
|
|
6
|
+
import { cardTypeColors } from "./design-system/colors.js";
|
|
7
|
+
import { bgKeyFrom, fgOnBgKeyFrom, highlightHueNames } from "./highlight-colors.js";
|
|
8
|
+
import close_default from "./icons/react/close.js";
|
|
9
|
+
import color_coding_default from "./icons/react/color-coding.js";
|
|
10
|
+
import file_download_default from "./icons/react/file-download.js";
|
|
11
|
+
import file_upload_default from "./icons/react/file-upload.js";
|
|
12
|
+
import lab_default from "./icons/react/lab.js";
|
|
13
|
+
import pin_filled_default from "./icons/react/pin-filled.js";
|
|
14
|
+
import pin_default from "./icons/react/pin.js";
|
|
15
|
+
import refresh_default from "./icons/react/refresh.js";
|
|
18
16
|
import { themePreferenceOptions } from "./thematic-constants.js";
|
|
19
17
|
import { ArrayEditor, ArraySlider, Slider, chromaGradient, controlRowCss, hueGradient, oklchColor } from "./thematic-controls.js";
|
|
20
|
-
import { ScaleGrid, sectionLabelCss, sectionSeparatorCss } from "./thematic-scales.js";
|
|
21
18
|
import { CvdSection } from "./thematic-cvd.js";
|
|
22
19
|
import { HighlightSection } from "./thematic-highlights.js";
|
|
20
|
+
import { ScaleGrid, sectionLabelCss, sectionSeparatorCss } from "./thematic-scales.js";
|
|
23
21
|
import { PreviewSegments } from "./thematic-segments.js";
|
|
24
22
|
import { gamutChoices, looks, useThematicState } from "./thematic-state.js";
|
|
25
23
|
import { SwatchAdjustSection } from "./thematic-swatch-adjust.js";
|
|
24
|
+
import { ThemeProvider, useTheme } from "./theme-provider.js";
|
|
25
|
+
import { setThemePreference } from "./theme-settings-core.js";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
28
28
|
import { Fragment as Fragment$1, useState } from "react";
|
|
29
29
|
import { createPortal } from "react-dom";
|
|
30
|
-
|
|
30
|
+
// src/thematic.tsx
|
|
31
31
|
var panelCss = "py8j3lv-panel";
|
|
32
32
|
var slidersCss = "stw12ve-sliders";
|
|
33
33
|
var buttonsCss = "bxbztsj-buttons";
|
|
@@ -184,7 +184,7 @@ function Thematic() {
|
|
|
184
184
|
setHovered(false);
|
|
185
185
|
state.setPreviewPalette(void 0);
|
|
186
186
|
},
|
|
187
|
-
children: !expanded ? /* @__PURE__ */ jsx(
|
|
187
|
+
children: !expanded ? /* @__PURE__ */ jsx(color_coding_default, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
188
188
|
/* @__PURE__ */ jsx(PreviewSegments, {
|
|
189
189
|
label: "theme",
|
|
190
190
|
options: lookOptions,
|
|
@@ -482,7 +482,7 @@ function Thematic() {
|
|
|
482
482
|
color: "neutral",
|
|
483
483
|
onClick: () => state.isAltPressed ? state.setVisible(false) : state.setPinned(!state.pinned),
|
|
484
484
|
title: state.isAltPressed ? "Close" : state.pinned ? "Unpin" : "Pin",
|
|
485
|
-
children: state.isAltPressed ? /* @__PURE__ */ jsx(
|
|
485
|
+
children: state.isAltPressed ? /* @__PURE__ */ jsx(close_default, {}) : state.pinned ? /* @__PURE__ */ jsx(pin_filled_default, {}) : /* @__PURE__ */ jsx(pin_default, {})
|
|
486
486
|
}),
|
|
487
487
|
/* @__PURE__ */ jsx(IconButton, {
|
|
488
488
|
size: "small",
|
|
@@ -490,7 +490,7 @@ function Thematic() {
|
|
|
490
490
|
color: "neutral",
|
|
491
491
|
onClick: handleExport,
|
|
492
492
|
title: "Export",
|
|
493
|
-
children: /* @__PURE__ */ jsx(
|
|
493
|
+
children: /* @__PURE__ */ jsx(file_download_default, {})
|
|
494
494
|
}),
|
|
495
495
|
/* @__PURE__ */ jsx(IconButton, {
|
|
496
496
|
size: "small",
|
|
@@ -498,7 +498,7 @@ function Thematic() {
|
|
|
498
498
|
color: "neutral",
|
|
499
499
|
onClick: handleImport,
|
|
500
500
|
title: "Import",
|
|
501
|
-
children: /* @__PURE__ */ jsx(
|
|
501
|
+
children: /* @__PURE__ */ jsx(file_upload_default, {})
|
|
502
502
|
})
|
|
503
503
|
]
|
|
504
504
|
}), state.isAltPressed && /* @__PURE__ */ jsxs("div", {
|
|
@@ -512,14 +512,14 @@ function Thematic() {
|
|
|
512
512
|
color: "error",
|
|
513
513
|
onClick: state.cycleStaticPalettes,
|
|
514
514
|
title: "Static palettes",
|
|
515
|
-
children: /* @__PURE__ */ jsx(
|
|
515
|
+
children: /* @__PURE__ */ jsx(lab_default, {})
|
|
516
516
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
517
517
|
size: "small",
|
|
518
518
|
variant: "soft",
|
|
519
519
|
color: "accent",
|
|
520
520
|
onClick: state.randomize,
|
|
521
521
|
title: "Randomize",
|
|
522
|
-
children: /* @__PURE__ */ jsx(
|
|
522
|
+
children: /* @__PURE__ */ jsx(refresh_default, {})
|
|
523
523
|
})]
|
|
524
524
|
})]
|
|
525
525
|
})
|
|
@@ -530,5 +530,4 @@ function Thematic() {
|
|
|
530
530
|
children: panel
|
|
531
531
|
}), document.body);
|
|
532
532
|
}
|
|
533
|
-
//#endregion
|
|
534
533
|
export { Thematic };
|
package/lib/theme-bootstrap.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/theme-bootstrap.d.ts
|
|
2
1
|
export declare const themePreferenceStorageKey = "theme-preference";
|
|
3
2
|
export declare const darkThemeClassName = "dark";
|
|
4
3
|
export declare const warmThemeClassName = "warm";
|
|
@@ -8,8 +7,7 @@ export declare const builtinThemeRootClassName = "fibery-theme";
|
|
|
8
7
|
export declare const builtinThemeClassName = "fibery-builtin-theme";
|
|
9
8
|
export type ThemePreference = "dark" | "light" | "auto";
|
|
10
9
|
export type ThemeMode = "dark" | "light";
|
|
11
|
-
export declare
|
|
12
|
-
export declare
|
|
10
|
+
export declare const getThemePreference: () => ThemePreference;
|
|
11
|
+
export declare const getThemeMode: () => ThemeMode;
|
|
13
12
|
export declare function themeModeOf(preference: ThemePreference): ThemeMode;
|
|
14
|
-
export declare function applyThemeModeToDocument(themeMode: ThemeMode): void;
|
|
15
|
-
//#endregion
|
|
13
|
+
export declare function applyThemeModeToDocument(themeMode: ThemeMode): void;
|
package/lib/theme-bootstrap.js
CHANGED
|
@@ -1,38 +1,24 @@
|
|
|
1
|
+
import { readThemePreference } from "./theme-preference.js";
|
|
1
2
|
import { storageReader } from "@fibery/helpers/src/storage-read";
|
|
2
|
-
|
|
3
|
+
// src/theme-bootstrap.ts
|
|
3
4
|
var readStorage = storageReader();
|
|
4
5
|
var themePreferenceStorageKey = "theme-preference";
|
|
5
6
|
var darkModeQuery = "(prefers-color-scheme: dark)";
|
|
6
|
-
var allowedThemePreferences = /* @__PURE__ */ new Set([
|
|
7
|
-
"dark",
|
|
8
|
-
"light",
|
|
9
|
-
"auto"
|
|
10
|
-
]);
|
|
11
|
-
var isThemePreference = (value) => allowedThemePreferences.has(value);
|
|
12
7
|
var darkThemeClassName = "dark";
|
|
13
8
|
var warmThemeClassName = "warm";
|
|
14
9
|
var archThemeClassName = "arch";
|
|
15
10
|
var warmThemeStickyClassName = "warm-sticky";
|
|
16
11
|
var builtinThemeRootClassName = "fibery-theme";
|
|
17
12
|
var builtinThemeClassName = "fibery-builtin-theme";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const itemInUrl = new URLSearchParams(window.location.search).get("force-theme");
|
|
21
|
-
if (itemInUrl && isThemePreference(itemInUrl)) return itemInUrl;
|
|
22
|
-
const itemInStorage = readStorage("localStorage", themePreferenceStorageKey);
|
|
23
|
-
if (itemInStorage && isThemePreference(itemInStorage)) return itemInStorage;
|
|
24
|
-
} catch {}
|
|
25
|
-
return "light";
|
|
26
|
-
}
|
|
27
|
-
function getThemeMode() {
|
|
28
|
-
return themeModeOf(getThemePreference());
|
|
29
|
-
}
|
|
13
|
+
var getThemePreference = () => readThemePreference(() => readStorage("localStorage", themePreferenceStorageKey));
|
|
14
|
+
var getThemeMode = () => themeModeOf(getThemePreference());
|
|
30
15
|
function themeModeOf(preference) {
|
|
31
|
-
if (preference
|
|
32
|
-
|
|
16
|
+
if (preference !== "auto") return preference;
|
|
17
|
+
try {
|
|
33
18
|
return window.matchMedia(darkModeQuery).matches ? "dark" : "light";
|
|
34
|
-
} catch {
|
|
35
|
-
|
|
19
|
+
} catch {
|
|
20
|
+
return "light";
|
|
21
|
+
}
|
|
36
22
|
}
|
|
37
23
|
function applyThemeModeToDocument(themeMode) {
|
|
38
24
|
const htmlElement = document.documentElement;
|
|
@@ -41,5 +27,4 @@ function applyThemeModeToDocument(themeMode) {
|
|
|
41
27
|
htmlElement.style.colorScheme = themeMode;
|
|
42
28
|
document.querySelector("meta[name=\"color-scheme\"]")?.setAttribute("content", themeMode);
|
|
43
29
|
}
|
|
44
|
-
//#endregion
|
|
45
30
|
export { applyThemeModeToDocument, archThemeClassName, builtinThemeClassName, builtinThemeRootClassName, darkThemeClassName, getThemeMode, getThemePreference, themeModeOf, themePreferenceStorageKey, warmThemeClassName, warmThemeStickyClassName };
|
package/lib/theme-callout.d.ts
CHANGED
package/lib/theme-callout.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { produceColor } from "./color-utils.js";
|
|
2
|
-
import { memoizeColor } from "./memoize.js";
|
|
3
1
|
import { a11yColor } from "./a11y-color.js";
|
|
4
2
|
import { lightnessFromLc } from "./apca.js";
|
|
5
|
-
import {
|
|
3
|
+
import { produceColor } from "./color-utils.js";
|
|
6
4
|
import { alphaCoefficients } from "./design-system/alpha-coefficients.js";
|
|
5
|
+
import { alpha } from "./design-system/alpha.js";
|
|
6
|
+
import { memoizeColor } from "./memoize.js";
|
|
7
7
|
import { memoizeWeak } from "@fibery/helpers/src/_";
|
|
8
|
-
|
|
8
|
+
// src/theme-callout.ts
|
|
9
9
|
var calloutColorsForTheme = memoizeWeak((theme) => {
|
|
10
10
|
const side = theme.mode === "dark" ? 1 : 0;
|
|
11
11
|
const surface = theme.var("--bg-panel");
|
|
12
12
|
return memoizeColor((neutralColor) => {
|
|
13
13
|
const deneutralized = theme.fns.deneutralize(neutralColor);
|
|
14
|
-
const blended = a11yColor(alpha(deneutralized, alphaCoefficients.
|
|
14
|
+
const blended = a11yColor(alpha(deneutralized, alphaCoefficients.adaptive.callout[side]), surface, side === 0 ? 1 : 1.3);
|
|
15
15
|
return {
|
|
16
16
|
bg: produceColor(blended, ({ l, c, h }) => {
|
|
17
17
|
const lFloor = lightnessFromLc(surface, side === 0 ? 2 : -2, c, h);
|
|
@@ -31,5 +31,4 @@ var calloutColorsForTheme = memoizeWeak((theme) => {
|
|
|
31
31
|
function getCalloutColors(theme, color) {
|
|
32
32
|
return calloutColorsForTheme(theme)(color);
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
34
|
export { getCalloutColors };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { CssGamut } from "./color-gamut.js";
|
|
2
2
|
import { ThemeCssSource } from "./theme-css-snapshot.js";
|
|
3
|
-
|
|
4
|
-
export declare function themeStylesFallback({ warm, arch, mode }: ThemeCssSource, gamut: CssGamut): Map<string, string>;
|
|
5
|
-
//#endregion
|
|
3
|
+
export declare function themeStylesFallback({ warm, arch, mode }: ThemeCssSource, gamut: CssGamut): Map<string, string>;
|
|
@@ -3,7 +3,7 @@ import { neutralArchDark, neutralUserDark } from "./styles.neutral-dark.generate
|
|
|
3
3
|
import { neutralArchLight, neutralUserLight } from "./styles.neutral-light.generated.js";
|
|
4
4
|
import { warmArchDark, warmUserDark } from "./styles.warm-dark.generated.js";
|
|
5
5
|
import { warmArchLight, warmUserLight } from "./styles.warm-light.generated.js";
|
|
6
|
-
|
|
6
|
+
// src/theme-css-fallback.ts
|
|
7
7
|
var baseStyles = {
|
|
8
8
|
neutralUserLight,
|
|
9
9
|
neutralUserDark,
|
|
@@ -25,5 +25,4 @@ function themeStylesFallback({ warm, arch, mode }, gamut) {
|
|
|
25
25
|
const names = arch ? [`${look}User${suffix}`, `${look}Arch${suffix}`] : [`${look}User${suffix}`];
|
|
26
26
|
return new Map(names.flatMap((name) => [baseStyles[name], ...wideTiers[gamut].map((tier) => wideGamutStyles[tier][name])].flatMap((styles) => Object.entries(styles))));
|
|
27
27
|
}
|
|
28
|
-
//#endregion
|
|
29
28
|
export { themeStylesFallback };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ThemeMode } from "./theme-bootstrap.js";
|
|
2
|
-
import { CssGamut, Gamut } from "./color-gamut.js";
|
|
3
1
|
import { ThemeVariable } from "./theme-values.js";
|
|
4
|
-
|
|
2
|
+
import { CssGamut, Gamut } from "./color-gamut.js";
|
|
3
|
+
import { ThemeMode } from "./theme-bootstrap.js";
|
|
5
4
|
export type ThemeCssSource = {
|
|
6
5
|
warm: boolean;
|
|
7
6
|
arch: boolean;
|
|
@@ -21,5 +20,4 @@ export declare function themeCssValues(key: string, source: ThemeCssSource, gamu
|
|
|
21
20
|
read: (name: ThemeVariable) => string;
|
|
22
21
|
gamut?: Gamut;
|
|
23
22
|
className: string;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
23
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { withDisplayGamut } from "./color-gamut.js";
|
|
2
2
|
import { serializeCssColors } from "./color-serialization.js";
|
|
3
3
|
import { archThemeClassName, builtinThemeClassName, darkThemeClassName, warmThemeClassName } from "./theme-bootstrap.js";
|
|
4
|
-
import { themeTokenNames } from "./theming.generated.js";
|
|
5
4
|
import { cacheThemeValues } from "./theme-values.js";
|
|
6
|
-
|
|
5
|
+
import { themeTokenNames } from "./theming.generated.js";
|
|
6
|
+
// src/theme-css-snapshot.ts
|
|
7
7
|
var fallback;
|
|
8
8
|
function themeProbe(className) {
|
|
9
9
|
const probe = document.createElement("div");
|
|
@@ -74,5 +74,4 @@ function themeCssValues(key, source, gamut) {
|
|
|
74
74
|
className
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
//#endregion
|
|
78
77
|
export { ensureThemeValues, themeCssSnapshotTrace, themeCssValues };
|
package/lib/theme-highlight.d.ts
CHANGED
package/lib/theme-highlight.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { produceColor } from "./color-utils.js";
|
|
2
|
-
import { memoizeColor } from "./memoize.js";
|
|
3
1
|
import { lightnessFromLc } from "./apca.js";
|
|
2
|
+
import { produceColor } from "./color-utils.js";
|
|
4
3
|
import { alphaCoefficients } from "./design-system/alpha-coefficients.js";
|
|
4
|
+
import { memoizeColor } from "./memoize.js";
|
|
5
5
|
import { memoizeWeak } from "@fibery/helpers/src/_";
|
|
6
|
-
|
|
6
|
+
// src/theme-highlight.ts
|
|
7
7
|
var highlightColorsForTheme = memoizeWeak((theme) => {
|
|
8
8
|
const side = theme.mode === "dark" ? 1 : 0;
|
|
9
9
|
const surface = theme.var("--bg-panel");
|
|
@@ -13,12 +13,12 @@ var highlightColorsForTheme = memoizeWeak((theme) => {
|
|
|
13
13
|
bg: produceColor(adjusted, (oklch) => ({
|
|
14
14
|
...oklch,
|
|
15
15
|
l: lightnessFromLc(surface, side === 0 ? 28 : -65, oklch.c, oklch.h),
|
|
16
|
-
alpha: alphaCoefficients.
|
|
16
|
+
alpha: alphaCoefficients.adaptive.highlight[side]
|
|
17
17
|
})),
|
|
18
18
|
bgDecor: produceColor(adjusted, (oklch) => ({
|
|
19
19
|
...oklch,
|
|
20
20
|
l: Math.max(0, lightnessFromLc(surface, side === 0 ? 35 : -65, oklch.c, oklch.h) - (side === 1 ? .036 : 0)),
|
|
21
|
-
alpha: alphaCoefficients.
|
|
21
|
+
alpha: alphaCoefficients.fg.primary[side]
|
|
22
22
|
}))
|
|
23
23
|
};
|
|
24
24
|
});
|
|
@@ -26,5 +26,4 @@ var highlightColorsForTheme = memoizeWeak((theme) => {
|
|
|
26
26
|
function getHighlightColors(theme, color) {
|
|
27
27
|
return highlightColorsForTheme(theme)(color);
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
29
|
export { getHighlightColors };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { Theme } from "./theme.js";
|
|
2
|
-
//#region src/theme-inline-styles.d.ts
|
|
3
2
|
export type Styles = Record<string, string>;
|
|
4
|
-
export declare const stylesFromTheme: ((arg: Theme) => Styles) & import("@fibery/helpers/src/_").MemoizedFunction<Theme, Styles>;
|
|
5
|
-
//#endregion
|
|
3
|
+
export declare const stylesFromTheme: ((arg: Theme) => Styles) & import("@fibery/helpers/src/_").MemoizedFunction<Theme, Styles>;
|
|
@@ -2,7 +2,7 @@ import { withDisplayGamut } from "./color-gamut.js";
|
|
|
2
2
|
import { serializeCssColors } from "./color-serialization.js";
|
|
3
3
|
import { themeValues } from "./theme-values.js";
|
|
4
4
|
import { memoizeWeak } from "@fibery/helpers/src/_";
|
|
5
|
-
|
|
5
|
+
// src/theme-inline-styles.ts
|
|
6
6
|
var stylesFromTheme = memoizeWeak((theme) => {
|
|
7
7
|
const values = themeValues(theme);
|
|
8
8
|
return Object.defineProperties({}, Object.fromEntries(values.names.map((name) => [name, {
|
|
@@ -20,5 +20,4 @@ var stylesFromTheme = memoizeWeak((theme) => {
|
|
|
20
20
|
}
|
|
21
21
|
}])));
|
|
22
22
|
});
|
|
23
|
-
//#endregion
|
|
24
23
|
export { stylesFromTheme };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/theme-preference.ts
|
|
2
|
+
var isThemePreference = (value) => value === "dark" || value === "light" || value === "auto";
|
|
3
|
+
function readThemePreference(readStoredPreference) {
|
|
4
|
+
try {
|
|
5
|
+
const itemInUrl = new URLSearchParams(window.location.search).get("force-theme");
|
|
6
|
+
if (itemInUrl && isThemePreference(itemInUrl)) return itemInUrl;
|
|
7
|
+
const itemInStorage = readStoredPreference();
|
|
8
|
+
if (itemInStorage && isThemePreference(itemInStorage)) return itemInStorage;
|
|
9
|
+
} catch {
|
|
10
|
+
return "light";
|
|
11
|
+
}
|
|
12
|
+
return "light";
|
|
13
|
+
}
|
|
14
|
+
export { readThemePreference };
|