@fibery/ui-kit 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/esfint.config.mjs +17 -0
- package/package.json +12 -11
- package/scripts/generate-icons.mjs +12 -9
- package/src/a11y-color.ts +3 -1
- package/src/action-badge.tsx +8 -5
- package/src/actions-menu/actions-menu-checkbox-item.tsx +5 -3
- package/src/actions-menu/actions-menu-confirmation.tsx +1 -0
- package/src/actions-menu/actions-menu-item.tsx +9 -8
- package/src/actions-menu/actions-menu-props.tsx +4 -3
- package/src/actions-menu/actions-menu-separator.tsx +1 -1
- package/src/actions-menu/actions-menu-sub-command-menu.tsx +5 -4
- package/src/actions-menu/actions-menu-sub-menu.tsx +5 -5
- package/src/actions-menu/actions-menu.tsx +16 -17
- package/src/actions-menu/async-actions-menu-item.tsx +3 -1
- package/src/actions-menu/context-actions-menu.tsx +9 -7
- package/src/actions-menu/contexts/actions-menu-context.tsx +2 -1
- package/src/actions-menu/contexts/actions-menu-dangerous-rows.tsx +2 -1
- package/src/actions-menu/index.tsx +1 -1
- package/src/actions-panel.tsx +3 -1
- package/src/ai/max-tokens.tsx +2 -1
- package/src/ai/model.tsx +4 -3
- package/src/ai/temperature.tsx +4 -3
- package/src/animated-height-container.tsx +5 -3
- package/src/animated-number.tsx +2 -1
- package/src/animations.tsx +2 -1
- package/src/antd/ant-modal.tsx +4 -3
- package/src/antd/ant-upload.tsx +5 -3
- package/src/antd/auto-complete.ts +37 -0
- package/src/antd/auto-width-transparent-textarea.tsx +4 -3
- package/src/antd/index.tsx +2 -1
- package/src/antd/input-number.tsx +4 -3
- package/src/antd/input.tsx +5 -4
- package/src/antd/styles.ts +1 -0
- package/src/antd/tabs.d.ts +5 -0
- package/src/antd/tabs.tsx +62 -0
- package/src/antd/utils.tsx +2 -1
- package/src/apca.lc-low.test.ts +69 -0
- package/src/apca.test.ts +186 -0
- package/src/apca.ts +130 -0
- package/src/app-icon-with-fallback.tsx +9 -18
- package/src/app-icon-wrapper.tsx +4 -2
- package/src/app-icon.tsx +6 -20
- package/src/app-icons.json +13096 -0
- package/src/app-mode.tsx +1 -0
- package/src/avatar.tsx +18 -8
- package/src/axis-header.tsx +6 -4
- package/src/badge.tsx +5 -3
- package/src/banner/banner-action.tsx +3 -1
- package/src/banner/banner-context.tsx +2 -1
- package/src/banner/banner.tsx +23 -17
- package/src/beta-badge.tsx +4 -4
- package/src/board-table-loader.tsx +3 -2
- package/src/box.tsx +14 -7
- package/src/breadcrumb.tsx +5 -3
- package/src/breakpoints.tsx +2 -1
- package/src/button/actions-button-compact.tsx +5 -3
- package/src/button/actions-button.tsx +4 -2
- package/src/button/add-button.tsx +4 -2
- package/src/button/back-button.tsx +4 -2
- package/src/button/base-button.tsx +4 -2
- package/src/button/button-group.tsx +1 -0
- package/src/button/button.tsx +15 -13
- package/src/button/icon-button.tsx +5 -3
- package/src/button/make-button-colors.ts +10 -9
- package/src/button/select-button.tsx +4 -2
- package/src/canvas-colors.ts +15 -14
- package/src/card-container.tsx +3 -2
- package/src/card-hidden-link.tsx +1 -1
- package/src/checkbox-multi-select.tsx +6 -5
- package/src/checkbox.tsx +61 -17
- package/src/collapsible-section.tsx +6 -4
- package/src/color-adjuster.ts +105 -0
- package/src/color-filter.test.ts +2 -49
- package/src/color-filter.ts +42 -66
- package/src/color-inspect.ts +76 -0
- package/src/color-picker/color-picker-or-loader.tsx +24 -0
- package/src/color-picker/index.tsx +97 -17
- package/src/color-picker/slider-pointer.tsx +16 -0
- package/src/color-picker/swatch.tsx +8 -5
- package/src/color-utils.test.ts +6 -274
- package/src/color-utils.ts +17 -139
- package/src/command-menu/index.tsx +4 -2
- package/src/command-menu/nested-command-menu.tsx +9 -7
- package/src/comment.tsx +11 -3
- package/src/context-menu/index.tsx +1 -0
- package/src/count-badge.tsx +3 -2
- package/src/country-selector.tsx +2 -1
- package/src/date-picker/autocomplete.tsx +2 -1
- package/src/date-picker/contexts.ts +1 -1
- package/src/date-picker/date-range-input.tsx +8 -6
- package/src/date-picker/date-range-picker-popup-content.tsx +27 -23
- package/src/date-picker/date-range-picker.tsx +11 -10
- package/src/date-picker/day-with-start-end-buttons.tsx +5 -2
- package/src/date-picker/fake-date-input.tsx +4 -3
- package/src/date-picker/relative-date-picker.tsx +19 -15
- package/src/date-picker/single-date-input.tsx +7 -5
- package/src/date-picker/single-date-picker-popup-content.tsx +6 -5
- package/src/date-picker/single-date-picker.tsx +19 -16
- package/src/date-picker/styles.ts +1 -0
- package/src/date-picker/types.ts +5 -4
- package/src/date-picker/utils.ts +3 -2
- package/src/date-picker/with-popup-control.tsx +2 -1
- package/src/day-select/day-select.tsx +1 -0
- package/src/day-select/iso-week-day-select.tsx +3 -1
- package/src/day-select/mount-day-select.tsx +2 -1
- package/src/day-select/week-day-select.tsx +4 -2
- package/src/delayed.tsx +2 -1
- package/src/design-system/alpha.ts +7 -4
- package/src/design-system/animation.ts +13 -10
- package/src/design-system/colors-callout.neutral-dark.test.ts +78 -0
- package/src/design-system/colors-callout.neutral-light.test.ts +78 -0
- package/src/design-system/colors-callout.warm-dark.test.ts +78 -0
- package/src/design-system/colors-callout.warm-light.test.ts +78 -0
- package/src/design-system/colors-css.ts +6 -2
- package/src/design-system/colors-enum._.template +22 -0
- package/src/design-system/colors-enum.dark.neutral.test.ts +367 -0
- package/src/design-system/colors-enum.dark.warm.test.ts +367 -0
- package/src/design-system/colors-enum.light.neutral.test.ts +367 -0
- package/src/design-system/colors-enum.light.warm.test.ts +367 -0
- package/src/design-system/colors-highlight.neutral-dark.test.ts +78 -0
- package/src/design-system/colors-highlight.neutral-light.test.ts +78 -0
- package/src/design-system/colors-highlight.warm-dark.test.ts +78 -0
- package/src/design-system/colors-highlight.warm-light.test.ts +78 -0
- package/src/design-system/colors-js.test.ts +25 -169
- package/src/design-system/colors-js.ts +16 -24
- package/src/design-system/colors-swatches.ts +43 -0
- package/src/design-system/colors.test.ts +1 -22
- package/src/design-system/colors.ts +56 -134
- package/src/design-system/def.ts +21 -13
- package/src/design-system/fns.adaptive.test.ts +149 -0
- package/src/design-system/fns.badge.dark.neutral.test.ts +152 -0
- package/src/design-system/fns.badge.dark.warm.test.ts +152 -0
- package/src/design-system/fns.badge.light.neutral.test.ts +152 -0
- package/src/design-system/fns.badge.light.warm.test.ts +152 -0
- package/src/design-system/fns.enum.green-on-turquoise.test.ts +34 -0
- package/src/design-system/fns.enum.ts +79 -0
- package/src/design-system/fns.icon.dark.neutral.test.ts +124 -0
- package/src/design-system/fns.icon.dark.warm.test.ts +124 -0
- package/src/design-system/fns.icon.light.neutral.test.ts +124 -0
- package/src/design-system/fns.icon.light.warm.test.ts +124 -0
- package/src/design-system/fns.icon.ts +136 -0
- package/src/design-system/fns.ts +109 -0
- package/src/design-system/theme.test.ts +6 -5
- package/src/design-system/theme.ts +11 -13
- package/src/design-system/types.ts +20 -4
- package/src/design-system/typography.ts +196 -40
- package/src/design-system/vars.test.ts +10 -15
- package/src/design-system/vars.ts +42 -23
- package/src/design-system.ts +16 -3
- package/src/dnd.tsx +3 -2
- package/src/dot.tsx +4 -2
- package/src/double-apply.ts +19 -0
- package/src/dropdown-menu/index.tsx +1 -0
- package/src/emoji-picker/app-icon-picker.tsx +6 -4
- package/src/emoji-picker/emoji-picker-content-with-color.tsx +6 -4
- package/src/emoji-picker/emoji-picker-preview-footer.tsx +5 -4
- package/src/emoji-picker/emoji-picker.tsx +3 -2
- package/src/emoji-picker/emoji.tsx +4 -2
- package/src/emoji-picker/icon-emoji-picker.tsx +8 -5
- package/src/emoji-picker/primitives/category-label.tsx +4 -5
- package/src/emoji-picker/primitives/content.tsx +4 -2
- package/src/emoji-picker/primitives/emoji.tsx +4 -3
- package/src/emoji-picker/primitives/footer.tsx +1 -0
- package/src/emoji-picker/primitives/grid-item.tsx +1 -0
- package/src/emoji-picker/primitives/grid.tsx +11 -8
- package/src/emoji-picker/primitives/header.tsx +1 -0
- package/src/emoji-picker/primitives/preview-provider.tsx +2 -2
- package/src/emoji-picker/primitives/root.tsx +6 -5
- package/src/emoji-picker/primitives/search-provider.tsx +1 -1
- package/src/emoji-picker/primitives/search.tsx +7 -7
- package/src/emoji-picker/primitives/skin-provider.tsx +3 -2
- package/src/emoji-picker/primitives/skin-tone.tsx +5 -5
- package/src/emoji-picker/stores/emoji-data-store.tsx +2 -1
- package/src/emoji-picker/stores/lazy-icon-data-store.tsx +5 -3
- package/src/emoji-picker/stores/static-emoji-data-store.tsx +3 -1
- package/src/emoji-picker/use-emoji-found.tsx +2 -1
- package/src/emoji-picker/use-responsive-emoji-size.ts +2 -1
- package/src/emoji-picker/utils/emoji-set.ts +2 -1
- package/src/emoji-picker/utils/emoji-support.ts +2 -2
- package/src/emoji.tsx +1 -0
- package/src/empty-state/empty-state-emoji.tsx +1 -0
- package/src/empty-state/empty-state.tsx +4 -5
- package/src/empty-value.tsx +2 -1
- package/src/errors.ts +1 -1
- package/src/favorites-icon.tsx +6 -5
- package/src/fibermoji-placeholder.tsx +58 -16
- package/src/field-container.tsx +9 -9
- package/src/field-icon.tsx +3 -2
- package/src/field-type-icon.tsx +31 -31
- package/src/file-item/file-icon.tsx +7 -7
- package/src/file-item/file-menu-items.tsx +9 -8
- package/src/file-item/file-preview-actions.tsx +4 -4
- package/src/file-item/file-title.tsx +2 -1
- package/src/file-item.tsx +9 -7
- package/src/flags.ts +4 -2
- package/src/form-field-loader.tsx +3 -1
- package/src/form-utils.ts +1 -1
- package/src/guide-link.tsx +2 -2
- package/src/header-layout.tsx +15 -13
- package/src/highlight-colors.test.ts +69 -37
- package/src/highlight-colors.ts +20 -47
- package/src/hint.tsx +6 -4
- package/src/hotkey-scope.test.ts +120 -0
- package/src/hotkey-scope.tsx +42 -0
- package/src/hoverable-via-display.tsx +2 -2
- package/src/hoverable.tsx +1 -1
- package/src/html-styles.ts +15 -16
- package/src/hue-shift.test.ts +1 -1
- package/src/icons/ast/error-circle-filled.ts +12 -0
- package/src/icons/ast/index.tsx +448 -447
- package/src/icons/generate-icon-from-ast.ts +1 -0
- package/src/icons/get-paths.ts +1 -1
- package/src/icons/get-shift-style.ts +1 -1
- package/src/icons/icon.tsx +76 -0
- package/src/icons/react/abort.tsx +18 -0
- package/src/icons/react/access-template.tsx +18 -0
- package/src/icons/react/activity-filled.tsx +18 -0
- package/src/icons/react/activity-log.tsx +18 -0
- package/src/icons/react/activity.tsx +18 -0
- package/src/icons/react/add-after.tsx +18 -0
- package/src/icons/react/add-before.tsx +18 -0
- package/src/icons/react/add-compact.tsx +18 -0
- package/src/icons/react/add-database.tsx +18 -0
- package/src/icons/react/add-group.tsx +18 -0
- package/src/icons/react/add-integration.tsx +18 -0
- package/src/icons/react/add-reactions.tsx +18 -0
- package/src/icons/react/add.tsx +18 -0
- package/src/icons/react/ai-assistant-filled.tsx +18 -0
- package/src/icons/react/ai-assistant.tsx +18 -0
- package/src/icons/react/ai-avatar.tsx +18 -0
- package/src/icons/react/ai-fibery-build.tsx +18 -0
- package/src/icons/react/ai-search.tsx +18 -0
- package/src/icons/react/alert-triangle.tsx +18 -0
- package/src/icons/react/anthropic.tsx +18 -0
- package/src/icons/react/app-details.tsx +18 -0
- package/src/icons/react/app-store-one-color.tsx +18 -0
- package/src/icons/react/app-store.tsx +18 -0
- package/src/icons/react/app-templates.tsx +18 -0
- package/src/icons/react/app-webhooks.tsx +18 -0
- package/src/icons/react/app-wiki.tsx +18 -0
- package/src/icons/react/app.tsx +18 -0
- package/src/icons/react/appearance-auto.tsx +18 -0
- package/src/icons/react/appearance-dark.tsx +18 -0
- package/src/icons/react/appearance-light.tsx +18 -0
- package/src/icons/react/apple.tsx +18 -0
- package/src/icons/react/arrow-bar-down.tsx +18 -0
- package/src/icons/react/arrow-bar-left.tsx +18 -0
- package/src/icons/react/arrow-bar-right.tsx +18 -0
- package/src/icons/react/arrow-bar-up.tsx +18 -0
- package/src/icons/react/arrow-bottom.tsx +18 -0
- package/src/icons/react/arrow-collapse-vertical.tsx +18 -0
- package/src/icons/react/arrow-collapse.tsx +18 -0
- package/src/icons/react/arrow-forward.tsx +18 -0
- package/src/icons/react/arrow-left.tsx +18 -0
- package/src/icons/react/arrow-right.tsx +18 -0
- package/src/icons/react/arrow-top.tsx +18 -0
- package/src/icons/react/arrow-up-circle.tsx +18 -0
- package/src/icons/react/arrows-right-left.tsx +18 -0
- package/src/icons/react/ask-for-input.tsx +18 -0
- package/src/icons/react/asterisk.tsx +18 -0
- package/src/icons/react/atom.tsx +18 -0
- package/src/icons/react/automations-cancelled.tsx +18 -0
- package/src/icons/react/automations-disabled.tsx +18 -0
- package/src/icons/react/automations-error.tsx +18 -0
- package/src/icons/react/automations-in-progress.tsx +18 -0
- package/src/icons/react/automations-not-started.tsx +18 -0
- package/src/icons/react/automations-success.tsx +18 -0
- package/src/icons/react/back.tsx +18 -0
- package/src/icons/react/backlog-icon.tsx +18 -0
- package/src/icons/react/batch-actions-icon.tsx +18 -0
- package/src/icons/react/bell-circle.tsx +18 -0
- package/src/icons/react/bell-filled.tsx +18 -0
- package/src/icons/react/bell-off.tsx +18 -0
- package/src/icons/react/bell-ringing.tsx +18 -0
- package/src/icons/react/bell-x.tsx +18 -0
- package/src/icons/react/bolt.tsx +18 -0
- package/src/icons/react/bring-forward.tsx +18 -0
- package/src/icons/react/bring-to-front.tsx +18 -0
- package/src/icons/react/cards.tsx +18 -0
- package/src/icons/react/chat-ai.tsx +18 -0
- package/src/icons/react/chat-bubble.tsx +18 -0
- package/src/icons/react/chat-float.tsx +18 -0
- package/src/icons/react/chat-sidebar.tsx +18 -0
- package/src/icons/react/chat.tsx +18 -0
- package/src/icons/react/check-circle-filled.tsx +18 -0
- package/src/icons/react/check-circle.tsx +18 -0
- package/src/icons/react/checked.tsx +18 -0
- package/src/icons/react/clean.tsx +18 -0
- package/src/icons/react/clear-input-filled.tsx +18 -0
- package/src/icons/react/clear-value.tsx +18 -0
- package/src/icons/react/clear.tsx +18 -0
- package/src/icons/react/clock-alarm.tsx +18 -0
- package/src/icons/react/clock-forward.tsx +18 -0
- package/src/icons/react/clock.tsx +18 -0
- package/src/icons/react/close.tsx +18 -0
- package/src/icons/react/collapse-all-horizontal.tsx +18 -0
- package/src/icons/react/collapse-all.tsx +18 -0
- package/src/icons/react/color-coding-filled.tsx +18 -0
- package/src/icons/react/color-coding.tsx +18 -0
- package/src/icons/react/columns-2.tsx +18 -0
- package/src/icons/react/columns-4.tsx +18 -0
- package/src/icons/react/columns.tsx +18 -0
- package/src/icons/react/comment-bubble.tsx +18 -0
- package/src/icons/react/copy.tsx +18 -0
- package/src/icons/react/create.tsx +18 -0
- package/src/icons/react/credits-filled.tsx +18 -0
- package/src/icons/react/cross-circle.tsx +18 -0
- package/src/icons/react/crosshair.tsx +18 -0
- package/src/icons/react/csv.tsx +18 -0
- package/src/icons/react/database-off.tsx +18 -0
- package/src/icons/react/database-stroke.tsx +18 -0
- package/src/icons/react/database.tsx +18 -0
- package/src/icons/react/date-range.tsx +18 -0
- package/src/icons/react/delete.tsx +18 -0
- package/src/icons/react/demo.tsx +18 -0
- package/src/icons/react/dependency.tsx +18 -0
- package/src/icons/react/dividers.tsx +18 -0
- package/src/icons/react/document.tsx +18 -0
- package/src/icons/react/double-arrow-left.tsx +18 -0
- package/src/icons/react/double-arrow-right.tsx +18 -0
- package/src/icons/react/double-line.tsx +18 -0
- package/src/icons/react/drag-block-handle-single.tsx +18 -0
- package/src/icons/react/drag-block-handle.tsx +18 -0
- package/src/icons/react/drag-handle.tsx +18 -0
- package/src/icons/react/duplicate.tsx +18 -0
- package/src/icons/react/dynamic-filter-value.tsx +18 -0
- package/src/icons/react/edit-value.tsx +18 -0
- package/src/icons/react/email.tsx +18 -0
- package/src/icons/react/emoji-delete.tsx +18 -0
- package/src/icons/react/entity-create-filled.tsx +18 -0
- package/src/icons/react/entity-create.tsx +18 -0
- package/src/icons/react/entity-merge.tsx +18 -0
- package/src/icons/react/equation.tsx +18 -0
- package/src/icons/react/error-circle-filled.tsx +18 -0
- package/src/icons/react/expand-all-horizontal.tsx +18 -0
- package/src/icons/react/expand-all.tsx +18 -0
- package/src/icons/react/export.tsx +18 -0
- package/src/icons/react/extension-assignments.tsx +18 -0
- package/src/icons/react/extension-avatar.tsx +18 -0
- package/src/icons/react/extension-comments.tsx +18 -0
- package/src/icons/react/extension-files.tsx +18 -0
- package/src/icons/react/extension-references.tsx +18 -0
- package/src/icons/react/extension-workflow.tsx +18 -0
- package/src/icons/react/eye.tsx +18 -0
- package/src/icons/react/favorites-checked.tsx +18 -0
- package/src/icons/react/favorites-off.tsx +18 -0
- package/src/icons/react/favorites.tsx +18 -0
- package/src/icons/react/fibery-desktop-app.tsx +18 -0
- package/src/icons/react/fibery-mono.tsx +18 -0
- package/src/icons/react/field-unit.tsx +18 -0
- package/src/icons/react/fields.tsx +18 -0
- package/src/icons/react/figma.tsx +18 -0
- package/src/icons/react/file-archive.tsx +18 -0
- package/src/icons/react/file-broken.tsx +18 -0
- package/src/icons/react/file-counter.tsx +18 -0
- package/src/icons/react/file-document.tsx +18 -0
- package/src/icons/react/file-download.tsx +18 -0
- package/src/icons/react/file-image.tsx +18 -0
- package/src/icons/react/file-multiple.tsx +18 -0
- package/src/icons/react/file-other.tsx +18 -0
- package/src/icons/react/file-presentation.tsx +18 -0
- package/src/icons/react/file-table.tsx +18 -0
- package/src/icons/react/file-upload.tsx +18 -0
- package/src/icons/react/file-video.tsx +18 -0
- package/src/icons/react/filter.tsx +18 -0
- package/src/icons/react/fit-to-screen.tsx +18 -0
- package/src/icons/react/focus-mode-off.tsx +18 -0
- package/src/icons/react/focus-mode.tsx +18 -0
- package/src/icons/react/folder-favorite.tsx +18 -0
- package/src/icons/react/folder.tsx +18 -0
- package/src/icons/react/form-with-cover.tsx +18 -0
- package/src/icons/react/form-without-cover.tsx +18 -0
- package/src/icons/react/fullscreen-mode-off-icon.tsx +18 -0
- package/src/icons/react/fullscreen-mode-on-icon.tsx +18 -0
- package/src/icons/react/fullscreen-mode-on.tsx +18 -0
- package/src/icons/react/gift.tsx +18 -0
- package/src/icons/react/github.tsx +18 -0
- package/src/icons/react/gitlab.tsx +18 -0
- package/src/icons/react/globe-simple.tsx +18 -0
- package/src/icons/react/globe-unpublish.tsx +18 -0
- package/src/icons/react/globe.tsx +18 -0
- package/src/icons/react/go-to.tsx +18 -0
- package/src/icons/react/google-drive.tsx +18 -0
- package/src/icons/react/google-map.tsx +18 -0
- package/src/icons/react/graduation-cap-filled.tsx +18 -0
- package/src/icons/react/headphones-ai.tsx +18 -0
- package/src/icons/react/headphones.tsx +18 -0
- package/src/icons/react/hide.tsx +18 -0
- package/src/icons/react/highlights.tsx +18 -0
- package/src/icons/react/hint.tsx +18 -0
- package/src/icons/react/home-filled.tsx +18 -0
- package/src/icons/react/home.tsx +18 -0
- package/src/icons/react/image-xmark.tsx +18 -0
- package/src/icons/react/import-filled.tsx +18 -0
- package/src/icons/react/import.tsx +18 -0
- package/src/icons/react/index.tsx +448 -447
- package/src/icons/react/info-circle-filled.tsx +18 -0
- package/src/icons/react/info-circle.tsx +18 -0
- package/src/icons/react/integration.tsx +18 -0
- package/src/icons/react/integrations-filled.tsx +18 -0
- package/src/icons/react/integrations-integration-discourse-color.tsx +18 -0
- package/src/icons/react/integrations-integration-intercom-color.tsx +18 -0
- package/src/icons/react/integrations-integration-slack-color.tsx +18 -0
- package/src/icons/react/integrations-integration-zendesk-color.tsx +18 -0
- package/src/icons/react/intercom.tsx +18 -0
- package/src/icons/react/invite-people.tsx +18 -0
- package/src/icons/react/items-timeline.tsx +18 -0
- package/src/icons/react/items.tsx +18 -0
- package/src/icons/react/jira.tsx +18 -0
- package/src/icons/react/key.tsx +18 -0
- package/src/icons/react/keyboard-hide-down.tsx +18 -0
- package/src/icons/react/lab.tsx +18 -0
- package/src/icons/react/layout-double.tsx +18 -0
- package/src/icons/react/layout-multiple.tsx +18 -0
- package/src/icons/react/layout-single.tsx +18 -0
- package/src/icons/react/left-panel.tsx +18 -0
- package/src/icons/react/level-plus.tsx +18 -0
- package/src/icons/react/levels.tsx +18 -0
- package/src/icons/react/line-divider.tsx +18 -0
- package/src/icons/react/line-jump.tsx +18 -0
- package/src/icons/react/link.tsx +18 -0
- package/src/icons/react/location-edit.tsx +18 -0
- package/src/icons/react/lock-outline.tsx +18 -0
- package/src/icons/react/lock.tsx +18 -0
- package/src/icons/react/logout.tsx +18 -0
- package/src/icons/react/loom.tsx +18 -0
- package/src/icons/react/loupe-zoom-in.tsx +18 -0
- package/src/icons/react/loupe-zoom-out.tsx +18 -0
- package/src/icons/react/loupe-zoom.tsx +18 -0
- package/src/icons/react/many-people.tsx +18 -0
- package/src/icons/react/map-mode.tsx +18 -0
- package/src/icons/react/markdown.tsx +18 -0
- package/src/icons/react/menu-collapser.tsx +18 -0
- package/src/icons/react/mermaid.tsx +18 -0
- package/src/icons/react/message-plus-square.tsx +18 -0
- package/src/icons/react/message-plus.tsx +18 -0
- package/src/icons/react/milestones.tsx +18 -0
- package/src/icons/react/minus.tsx +18 -0
- package/src/icons/react/miro.tsx +18 -0
- package/src/icons/react/mirror-off.tsx +18 -0
- package/src/icons/react/mirror-on.tsx +18 -0
- package/src/icons/react/mixpanel.tsx +18 -0
- package/src/icons/react/monitor.tsx +18 -0
- package/src/icons/react/more-compact.tsx +18 -0
- package/src/icons/react/more.tsx +18 -0
- package/src/icons/react/move-bottom.tsx +18 -0
- package/src/icons/react/move-left.tsx +18 -0
- package/src/icons/react/move-right.tsx +18 -0
- package/src/icons/react/move-space.tsx +18 -0
- package/src/icons/react/move-top.tsx +18 -0
- package/src/icons/react/network-add.tsx +18 -0
- package/src/icons/react/network.tsx +18 -0
- package/src/icons/react/no-border.tsx +18 -0
- package/src/icons/react/no-fill.tsx +18 -0
- package/src/icons/react/notifications.tsx +18 -0
- package/src/icons/react/obj-child.tsx +18 -0
- package/src/icons/react/obj-m2m.tsx +18 -0
- package/src/icons/react/obj-o2o.tsx +18 -0
- package/src/icons/react/obj-parent.tsx +18 -0
- package/src/icons/react/obj-self.tsx +18 -0
- package/src/icons/react/on-schedule.tsx +18 -0
- package/src/icons/react/open-ai.tsx +18 -0
- package/src/icons/react/open-as-page.tsx +18 -0
- package/src/icons/react/page-regular-mode.tsx +18 -0
- package/src/icons/react/page-wide-mode.tsx +18 -0
- package/src/icons/react/panel-add.tsx +18 -0
- package/src/icons/react/pencil.tsx +18 -0
- package/src/icons/react/people-check.tsx +18 -0
- package/src/icons/react/people.tsx +18 -0
- package/src/icons/react/photo.tsx +18 -0
- package/src/icons/react/pin-filled.tsx +18 -0
- package/src/icons/react/pin.tsx +18 -0
- package/src/icons/react/popup.tsx +18 -0
- package/src/icons/react/posts.tsx +18 -0
- package/src/icons/react/present-play.tsx +18 -0
- package/src/icons/react/present-stop.tsx +18 -0
- package/src/icons/react/print.tsx +18 -0
- package/src/icons/react/private-items.tsx +18 -0
- package/src/icons/react/question.tsx +18 -0
- package/src/icons/react/quick-filter-personal.tsx +18 -0
- package/src/icons/react/quick-filter.tsx +18 -0
- package/src/icons/react/read-only.tsx +18 -0
- package/src/icons/react/refresh.tsx +18 -0
- package/src/icons/react/remove-people.tsx +18 -0
- package/src/icons/react/remove.tsx +18 -0
- package/src/icons/react/reply.tsx +18 -0
- package/src/icons/react/reset-password.tsx +18 -0
- package/src/icons/react/restore.tsx +18 -0
- package/src/icons/react/richeditor-actions-more.tsx +18 -0
- package/src/icons/react/richeditor-block-callout.tsx +18 -0
- package/src/icons/react/richeditor-block-code.tsx +18 -0
- package/src/icons/react/richeditor-block-embed.tsx +18 -0
- package/src/icons/react/richeditor-block-entity.tsx +18 -0
- package/src/icons/react/richeditor-block-file.tsx +18 -0
- package/src/icons/react/richeditor-block-h1.tsx +18 -0
- package/src/icons/react/richeditor-block-h2.tsx +18 -0
- package/src/icons/react/richeditor-block-h3.tsx +18 -0
- package/src/icons/react/richeditor-block-h4.tsx +18 -0
- package/src/icons/react/richeditor-block-mention.tsx +18 -0
- package/src/icons/react/richeditor-block-paragraph.tsx +18 -0
- package/src/icons/react/richeditor-block-quote.tsx +18 -0
- package/src/icons/react/richeditor-checklist-create.tsx +18 -0
- package/src/icons/react/richeditor-comment-create.tsx +18 -0
- package/src/icons/react/richeditor-entity-link-create.tsx +18 -0
- package/src/icons/react/richeditor-history-redo.tsx +18 -0
- package/src/icons/react/richeditor-history-undo.tsx +18 -0
- package/src/icons/react/richeditor-image-align-center.tsx +18 -0
- package/src/icons/react/richeditor-image-align-left.tsx +18 -0
- package/src/icons/react/richeditor-image-align-right.tsx +18 -0
- package/src/icons/react/richeditor-image-upload.tsx +18 -0
- package/src/icons/react/richeditor-image-wrap-center.tsx +18 -0
- package/src/icons/react/richeditor-image-wrap-left.tsx +18 -0
- package/src/icons/react/richeditor-image-wrap-right.tsx +18 -0
- package/src/icons/react/richeditor-image-zoom.tsx +18 -0
- package/src/icons/react/richeditor-link-create.tsx +18 -0
- package/src/icons/react/richeditor-linkedhighlight-create.tsx +18 -0
- package/src/icons/react/richeditor-list-bullet.tsx +18 -0
- package/src/icons/react/richeditor-list-indent.tsx +18 -0
- package/src/icons/react/richeditor-list-ordered.tsx +18 -0
- package/src/icons/react/richeditor-list-unindent.tsx +18 -0
- package/src/icons/react/richeditor-mark-code.tsx +18 -0
- package/src/icons/react/richeditor-mark-em.tsx +18 -0
- package/src/icons/react/richeditor-mark-highlight.tsx +18 -0
- package/src/icons/react/richeditor-mark-strike.tsx +18 -0
- package/src/icons/react/richeditor-mark-strong.tsx +18 -0
- package/src/icons/react/richeditor-mark-text-background-color.tsx +18 -0
- package/src/icons/react/richeditor-mark-underline.tsx +18 -0
- package/src/icons/react/richeditor-open-link.tsx +18 -0
- package/src/icons/react/richeditor-table-create.tsx +18 -0
- package/src/icons/react/richeditor-unlink.tsx +18 -0
- package/src/icons/react/richeditor-video-upload.tsx +18 -0
- package/src/icons/react/right-panel.tsx +18 -0
- package/src/icons/react/rows.tsx +18 -0
- package/src/icons/react/rule-scheduled.tsx +18 -0
- package/src/icons/react/search-add.tsx +18 -0
- package/src/icons/react/search-filled.tsx +18 -0
- package/src/icons/react/search-remove.tsx +18 -0
- package/src/icons/react/search.tsx +18 -0
- package/src/icons/react/self-reference-off.tsx +18 -0
- package/src/icons/react/self-reference-on.tsx +18 -0
- package/src/icons/react/send-arrow.tsx +18 -0
- package/src/icons/react/send-backward.tsx +18 -0
- package/src/icons/react/send-to-back.tsx +18 -0
- package/src/icons/react/settings-filled.tsx +18 -0
- package/src/icons/react/settings-off.tsx +18 -0
- package/src/icons/react/settings.tsx +18 -0
- package/src/icons/react/share.tsx +18 -0
- package/src/icons/react/shared.tsx +18 -0
- package/src/icons/react/shield-keyhole.tsx +18 -0
- package/src/icons/react/show-author.tsx +18 -0
- package/src/icons/react/sidebar-fields-opened.tsx +18 -0
- package/src/icons/react/sidebar-fields.tsx +18 -0
- package/src/icons/react/sidebar.tsx +18 -0
- package/src/icons/react/simple-compass.tsx +18 -0
- package/src/icons/react/slack-icon.tsx +18 -0
- package/src/icons/react/slack.tsx +18 -0
- package/src/icons/react/slide-menu-close.tsx +18 -0
- package/src/icons/react/slide-menu-filled.tsx +18 -0
- package/src/icons/react/slide-menu-open.tsx +18 -0
- package/src/icons/react/slide-menu.tsx +18 -0
- package/src/icons/react/smart-folder.tsx +18 -0
- package/src/icons/react/sort-on-bottom.tsx +18 -0
- package/src/icons/react/sort-on-top.tsx +18 -0
- package/src/icons/react/sort.tsx +18 -0
- package/src/icons/react/space-app.tsx +18 -0
- package/src/icons/react/space-generate.tsx +18 -0
- package/src/icons/react/space-list.tsx +18 -0
- package/src/icons/react/space-scratch.tsx +18 -0
- package/src/icons/react/space-template.tsx +18 -0
- package/src/icons/react/spinner.tsx +18 -0
- package/src/icons/react/success.tsx +18 -0
- package/src/icons/react/suggest-integration.tsx +18 -0
- package/src/icons/react/switch-to-mention.tsx +18 -0
- package/src/icons/react/switch-to-text.tsx +18 -0
- package/src/icons/react/switch-to-widget.tsx +18 -0
- package/src/icons/react/table-layout.tsx +18 -0
- package/src/icons/react/template.tsx +18 -0
- package/src/icons/react/templates-filled.tsx +18 -0
- package/src/icons/react/templates.tsx +18 -0
- package/src/icons/react/terminal.tsx +18 -0
- package/src/icons/react/text-no-wrap.tsx +18 -0
- package/src/icons/react/text-tool-align-bottom.tsx +18 -0
- package/src/icons/react/text-tool-align-middle.tsx +18 -0
- package/src/icons/react/text-tool-align-top.tsx +18 -0
- package/src/icons/react/text-wrap.tsx +18 -0
- package/src/icons/react/thumbs-down.tsx +18 -0
- package/src/icons/react/thumbs-up.tsx +18 -0
- package/src/icons/react/toc.tsx +18 -0
- package/src/icons/react/twitter.tsx +18 -0
- package/src/icons/react/type-boolean.tsx +18 -0
- package/src/icons/react/type-button.tsx +18 -0
- package/src/icons/react/type-checkbox.tsx +18 -0
- package/src/icons/react/type-date.tsx +18 -0
- package/src/icons/react/type-email.tsx +18 -0
- package/src/icons/react/type-emoji.tsx +18 -0
- package/src/icons/react/type-formula.tsx +18 -0
- package/src/icons/react/type-function.tsx +18 -0
- package/src/icons/react/type-id.tsx +18 -0
- package/src/icons/react/type-location.tsx +18 -0
- package/src/icons/react/type-lookup.tsx +18 -0
- package/src/icons/react/type-money.tsx +18 -0
- package/src/icons/react/type-multi-select.tsx +18 -0
- package/src/icons/react/type-number.tsx +18 -0
- package/src/icons/react/type-percent.tsx +18 -0
- package/src/icons/react/type-phone.tsx +18 -0
- package/src/icons/react/type-relation.tsx +18 -0
- package/src/icons/react/type-rich-text.tsx +18 -0
- package/src/icons/react/type-rule.tsx +18 -0
- package/src/icons/react/type-single-select.tsx +18 -0
- package/src/icons/react/type-text.tsx +18 -0
- package/src/icons/react/type-url.tsx +18 -0
- package/src/icons/react/units-avatar.tsx +18 -0
- package/src/icons/react/units-collection.tsx +18 -0
- package/src/icons/react/units-counter.tsx +18 -0
- package/src/icons/react/units-date.tsx +18 -0
- package/src/icons/react/units-db-badge-abbr.tsx +18 -0
- package/src/icons/react/units-db-badge-full.tsx +18 -0
- package/src/icons/react/units-db-icon.tsx +18 -0
- package/src/icons/react/units-field-icon-button.tsx +18 -0
- package/src/icons/react/units-field.tsx +18 -0
- package/src/icons/react/units-input.tsx +18 -0
- package/src/icons/react/units-progress-bar.tsx +18 -0
- package/src/icons/react/units-rich-text.tsx +18 -0
- package/src/icons/react/units-snippet.tsx +18 -0
- package/src/icons/react/unlink.tsx +18 -0
- package/src/icons/react/unlock-filled.tsx +18 -0
- package/src/icons/react/unlock-outline.tsx +18 -0
- package/src/icons/react/upgrade.tsx +18 -0
- package/src/icons/react/usb-flash-drive.tsx +18 -0
- package/src/icons/react/user-check.tsx +18 -0
- package/src/icons/react/user-group-remove.tsx +18 -0
- package/src/icons/react/user-group.tsx +18 -0
- package/src/icons/react/user-role.tsx +18 -0
- package/src/icons/react/user-x.tsx +18 -0
- package/src/icons/react/value-edit.tsx +18 -0
- package/src/icons/react/view-ai.tsx +18 -0
- package/src/icons/react/view-board.tsx +18 -0
- package/src/icons/react/view-calendar.tsx +18 -0
- package/src/icons/react/view-canvas.tsx +18 -0
- package/src/icons/react/view-chart.tsx +18 -0
- package/src/icons/react/view-dashboard.tsx +18 -0
- package/src/icons/react/view-details.tsx +18 -0
- package/src/icons/react/view-document.tsx +18 -0
- package/src/icons/react/view-embed.tsx +18 -0
- package/src/icons/react/view-feed.tsx +18 -0
- package/src/icons/react/view-form.tsx +18 -0
- package/src/icons/react/view-gallery.tsx +18 -0
- package/src/icons/react/view-gantt.tsx +18 -0
- package/src/icons/react/view-list.tsx +18 -0
- package/src/icons/react/view-map.tsx +18 -0
- package/src/icons/react/view-page.tsx +18 -0
- package/src/icons/react/view-table.tsx +18 -0
- package/src/icons/react/view-timeline.tsx +18 -0
- package/src/icons/react/views.tsx +18 -0
- package/src/icons/react/warning-triangle-filled.tsx +18 -0
- package/src/icons/react/warning-triangle.tsx +18 -0
- package/src/icons/react/warning.tsx +18 -0
- package/src/icons/react/webhooks.tsx +18 -0
- package/src/icons/react/windows.tsx +18 -0
- package/src/icons/react/workspace-map.tsx +18 -0
- package/src/icons/react/youtube.tsx +18 -0
- package/src/icons/react/zoom-in.tsx +18 -0
- package/src/icons/react/zoom-out.tsx +18 -0
- package/src/icons/svg/error-circle-filled.svg +3 -0
- package/src/icons/types.ts +1 -1
- package/src/images-gallery/images-gallery-fall-through-provider.tsx +4 -2
- package/src/images-gallery/images-gallery.tsx +12 -10
- package/src/images-gallery/slide-buttons.tsx +17 -16
- package/src/images-gallery/zoom.tsx +2 -1
- package/src/integration-compact-info-button.tsx +7 -7
- package/src/is-in-popup.ts +1 -1
- package/src/item.tsx +3 -1
- package/src/kbd.tsx +20 -19
- package/src/layout-styles.ts +11 -10
- package/src/layout.tsx +2 -1
- package/src/link-input/components/ant-text-area-with-custom-read-state.tsx +76 -0
- package/src/link-input/index.tsx +3 -4
- package/src/lists/actions-menu-row-surface.tsx +7 -6
- package/src/lists/list-row-surface.tsx +7 -5
- package/src/loaders.tsx +7 -5
- package/src/loading-sausage.tsx +4 -2
- package/src/logo.tsx +2 -1
- package/src/memoize.test.ts +56 -0
- package/src/memoize.ts +8 -0
- package/src/menu-item-actions.tsx +2 -1
- package/src/mobile-keyboard-aware-popup.tsx +5 -3
- package/src/modal-menu/modal-menu-checkbox-item.tsx +4 -3
- package/src/modal-menu/modal-menu-content.tsx +5 -4
- package/src/modal-menu/modal-menu-group.tsx +1 -1
- package/src/modal-menu/modal-menu-item.tsx +4 -3
- package/src/modal-menu/modal-menu-label.tsx +14 -11
- package/src/modal-menu/modal-menu-root.tsx +5 -2
- package/src/modal-menu/modal-menu-separator.tsx +1 -0
- package/src/modal-menu/modal-menu-trigger.tsx +3 -1
- package/src/modal-menu/modal-submenu-content.tsx +3 -2
- package/src/modal-menu/modal-submenu-trigger.tsx +5 -4
- package/src/modal-menu/modal-submenu.tsx +3 -1
- package/src/new-badge.tsx +6 -4
- package/src/new-card-placeholder.tsx +6 -3
- package/src/notification-dot.tsx +2 -1
- package/src/number-input/edit-unit-styles.ts +1 -0
- package/src/number-input/number-input-inline-with-autosize.tsx +7 -6
- package/src/number-input/number-input-inline.tsx +9 -7
- package/src/number-input/number-input.test.tsx +4 -3
- package/src/number-input/number-input.tsx +3 -2
- package/src/number-input/stack.tsx +1 -1
- package/src/number-input/step-button.tsx +3 -2
- package/src/number-input/styles.ts +1 -0
- package/src/number-input/text-area-auto-sized.tsx +4 -3
- package/src/number-input/text-input-auto-sized.tsx +4 -3
- package/src/number-input/utils.ts +1 -1
- package/src/online-users.tsx +18 -5
- package/src/open-popover-tracker.tsx +2 -1
- package/src/palette-generator.test.ts +25 -30
- package/src/palette-generator.ts +27 -18
- package/src/palettes/common.ts +19 -0
- package/src/palettes/diff-colors.test.ts +416 -0
- package/src/palettes/diff-colors.ts +179 -51
- package/src/palettes/inspect.canvas-colors.test.ts +116 -116
- package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +1154 -1154
- package/src/palettes/inspect.defs.colors.neutral-user.test.ts +1154 -1154
- package/src/palettes/inspect.defs.colors.warm-arch.test.ts +1155 -1153
- package/src/palettes/inspect.defs.colors.warm-user.test.ts +1155 -1153
- package/src/palettes/inspect.neutral-arch.test.ts +152 -147
- package/src/palettes/inspect.neutral-user.test.ts +152 -147
- package/src/palettes/inspect.warm-arch.test.ts +152 -147
- package/src/palettes/inspect.warm-user.test.ts +152 -147
- package/src/palettes/neutral-arch.ts +3 -1
- package/src/palettes/neutral-user.ts +3 -1
- package/src/palettes/neutral.ts +41 -21
- package/src/palettes/show-colors.test.ts +131 -0
- package/src/palettes/testkit.test.ts +224 -0
- package/src/palettes/testkit.ts +227 -0
- package/src/palettes/warm-arch.ts +3 -1
- package/src/palettes/warm-user.ts +3 -1
- package/src/palettes/warm.ts +70 -3
- package/src/platform-symbols.ts +18 -5
- package/src/popover/index.tsx +21 -19
- package/src/popover/mobile-popover-context.tsx +3 -2
- package/src/popover/mobile-popover.tsx +16 -13
- package/src/popover/modifiers.tsx +5 -4
- package/src/popover/popup-modifiers-context.ts +4 -3
- package/src/popover/popup-stack-context.tsx +2 -1
- package/src/popover/reference.ts +1 -1
- package/src/popover/styles.ts +1 -0
- package/src/preference-setting.test.ts +12 -12
- package/src/progress.tsx +3 -2
- package/src/reactions/reaction-button.tsx +10 -8
- package/src/reactions/reaction-picker.tsx +6 -4
- package/src/reactions/reactions.tsx +6 -4
- package/src/reactions/tootltip.tsx +2 -1
- package/src/ready-to-scroll-context.tsx +2 -1
- package/src/rich-input-loader.tsx +4 -3
- package/src/rich-text-embed-error.tsx +3 -2
- package/src/root-theme-provider.test.tsx +30 -48
- package/src/scale-generator.ts +30 -17
- package/src/select/components/clear-indicator.tsx +3 -2
- package/src/select/components/drop-down-indicator.tsx +7 -6
- package/src/select/components/group-heading.tsx +7 -5
- package/src/select/components/menu-list-virtua.tsx +7 -13
- package/src/select/components/menu-list-virtualized.tsx +9 -15
- package/src/select/components/menu.tsx +4 -2
- package/src/select/components/no-option-message.tsx +8 -7
- package/src/select/components/option.tsx +7 -4
- package/src/select/index.tsx +5 -3
- package/src/select/reflection.ts +3 -2
- package/src/select/select-control-settings-context.tsx +2 -1
- package/src/select/select-in-popover.tsx +16 -23
- package/src/select/select-mock-context.tsx +1 -1
- package/src/select/select.tsx +11 -9
- package/src/select/styles.ts +1 -0
- package/src/select/util.ts +3 -2
- package/src/static-palettes.ts +1 -1
- package/src/tab-nav/tab-nav.tsx +19 -15
- package/src/table.tsx +4 -2
- package/src/thematic-color-picker.tsx +2 -1
- package/src/thematic-constants.tsx +4 -4
- package/src/thematic-controls.tsx +5 -1
- package/src/thematic-cvd.tsx +4 -3
- package/src/thematic-highlights.tsx +14 -34
- package/src/thematic-scales.tsx +1 -0
- package/src/thematic-state.ts +46 -28
- package/src/thematic-swatch-adjust.tsx +77 -0
- package/src/thematic.tsx +78 -41
- package/src/theme-provider.test.tsx +52 -64
- package/src/theme-provider.tsx +61 -55
- package/src/theme-settings.ts +4 -68
- package/src/theme-snapshots.test.ts +62 -0
- package/src/theme-styles.ts +9 -57
- package/src/themed-ink.tsx +2 -1
- package/src/theming/build.ts +36 -0
- package/src/theming/index.ts +20 -0
- package/src/theming/theming-fibery.snapshot.css +2000 -0
- package/src/theming/theming-fibery.snapshot.ts +2519 -0
- package/src/theming/theming-vzdbery.snapshot.css +2001 -0
- package/src/theming/theming-vzdbery.snapshot.ts +2519 -0
- package/src/toast/primitives.tsx +9 -7
- package/src/toast/toast-action.tsx +6 -3
- package/src/toast/toast-provider.tsx +2 -1
- package/src/toast/toast-queue.ts +2 -1
- package/src/toast/toast.tsx +5 -4
- package/src/toast/toaster.tsx +1 -0
- package/src/toggle-button/round-toggle-button.tsx +5 -2
- package/src/toggle-button/toggle-button-group.tsx +7 -5
- package/src/toggle-button/toggle-button.tsx +10 -7
- package/src/toggle-on-off.tsx +4 -2
- package/src/toggle.tsx +21 -17
- package/src/tooltip-if-overflown.tsx +3 -1
- package/src/tooltip.tsx +28 -4
- package/src/tree-utils.test.ts +15 -14
- package/src/tree-utils.ts +1 -1
- package/src/type-badge-box.tsx +3 -2
- package/src/type-badge.tsx +14 -38
- package/src/unit/index.tsx +2 -2
- package/src/unit/loading-unit-value.tsx +3 -1
- package/src/unit/primitive.tsx +5 -4
- package/src/unit/styles.ts +7 -3
- package/src/unit/types.ts +1 -1
- package/src/unit/unit-button-group.tsx +4 -2
- package/src/unit/unit-content-layout.tsx +5 -2
- package/src/unit/unit-content.tsx +3 -2
- package/src/unit/unit-with-tooltip.tsx +3 -2
- package/src/use-is-media-query-matched.ts +1 -0
- package/src/use-is-phone.tsx +17 -25
- package/src/use-long-press.tsx +2 -1
- package/src/use-on-screen-keyboard-data.tsx +4 -2
- package/src/with-data.tsx +5 -3
- package/src/workflow-progress-icon.tsx +3 -2
- package/jest.config.cjs +0 -36
- package/src/antd/AutoComplete.ts +0 -34
- package/src/antd/Tabs.d.ts +0 -5
- package/src/antd/Tabs.tsx +0 -61
- package/src/appIcons.json +0 -13096
- package/src/color-picker/ColorPickerOrLoader.tsx +0 -23
- package/src/color-picker/SliderPointer.tsx +0 -15
- package/src/heat.ts +0 -8
- package/src/icons/Icon.tsx +0 -75
- package/src/icons/react/Abort.tsx +0 -18
- package/src/icons/react/AccessTemplate.tsx +0 -18
- package/src/icons/react/Activity.tsx +0 -18
- package/src/icons/react/ActivityFilled.tsx +0 -18
- package/src/icons/react/ActivityLog.tsx +0 -18
- package/src/icons/react/Add.tsx +0 -18
- package/src/icons/react/AddAfter.tsx +0 -18
- package/src/icons/react/AddBefore.tsx +0 -18
- package/src/icons/react/AddCompact.tsx +0 -18
- package/src/icons/react/AddDatabase.tsx +0 -18
- package/src/icons/react/AddGroup.tsx +0 -18
- package/src/icons/react/AddIntegration.tsx +0 -18
- package/src/icons/react/AddReactions.tsx +0 -18
- package/src/icons/react/AiAssistant.tsx +0 -18
- package/src/icons/react/AiAssistantFilled.tsx +0 -18
- package/src/icons/react/AiAvatar.tsx +0 -18
- package/src/icons/react/AiFiberyBuild.tsx +0 -18
- package/src/icons/react/AiSearch.tsx +0 -18
- package/src/icons/react/AlertTriangle.tsx +0 -18
- package/src/icons/react/Anthropic.tsx +0 -18
- package/src/icons/react/App.tsx +0 -18
- package/src/icons/react/AppDetails.tsx +0 -18
- package/src/icons/react/AppStore.tsx +0 -18
- package/src/icons/react/AppStoreOneColor.tsx +0 -18
- package/src/icons/react/AppTemplates.tsx +0 -18
- package/src/icons/react/AppWebhooks.tsx +0 -18
- package/src/icons/react/AppWiki.tsx +0 -18
- package/src/icons/react/AppearanceAuto.tsx +0 -18
- package/src/icons/react/AppearanceDark.tsx +0 -18
- package/src/icons/react/AppearanceLight.tsx +0 -18
- package/src/icons/react/Apple.tsx +0 -18
- package/src/icons/react/ArrowBarDown.tsx +0 -18
- package/src/icons/react/ArrowBarLeft.tsx +0 -18
- package/src/icons/react/ArrowBarRight.tsx +0 -18
- package/src/icons/react/ArrowBarUp.tsx +0 -18
- package/src/icons/react/ArrowBottom.tsx +0 -18
- package/src/icons/react/ArrowCollapse.tsx +0 -18
- package/src/icons/react/ArrowCollapseVertical.tsx +0 -18
- package/src/icons/react/ArrowForward.tsx +0 -18
- package/src/icons/react/ArrowLeft.tsx +0 -18
- package/src/icons/react/ArrowRight.tsx +0 -18
- package/src/icons/react/ArrowTop.tsx +0 -18
- package/src/icons/react/ArrowUpCircle.tsx +0 -18
- package/src/icons/react/ArrowsRightLeft.tsx +0 -18
- package/src/icons/react/AskForInput.tsx +0 -18
- package/src/icons/react/Asterisk.tsx +0 -18
- package/src/icons/react/Atom.tsx +0 -18
- package/src/icons/react/AutomationsCancelled.tsx +0 -18
- package/src/icons/react/AutomationsDisabled.tsx +0 -18
- package/src/icons/react/AutomationsError.tsx +0 -18
- package/src/icons/react/AutomationsInProgress.tsx +0 -18
- package/src/icons/react/AutomationsNotStarted.tsx +0 -18
- package/src/icons/react/AutomationsSuccess.tsx +0 -18
- package/src/icons/react/Back.tsx +0 -18
- package/src/icons/react/BacklogIcon.tsx +0 -18
- package/src/icons/react/BatchActionsIcon.tsx +0 -18
- package/src/icons/react/BellCircle.tsx +0 -18
- package/src/icons/react/BellFilled.tsx +0 -18
- package/src/icons/react/BellOff.tsx +0 -18
- package/src/icons/react/BellRinging.tsx +0 -18
- package/src/icons/react/BellX.tsx +0 -18
- package/src/icons/react/Bolt.tsx +0 -18
- package/src/icons/react/BringForward.tsx +0 -18
- package/src/icons/react/BringToFront.tsx +0 -18
- package/src/icons/react/Cards.tsx +0 -18
- package/src/icons/react/Chat.tsx +0 -18
- package/src/icons/react/ChatAi.tsx +0 -18
- package/src/icons/react/ChatBubble.tsx +0 -18
- package/src/icons/react/ChatFloat.tsx +0 -18
- package/src/icons/react/ChatSidebar.tsx +0 -18
- package/src/icons/react/CheckCircle.tsx +0 -18
- package/src/icons/react/CheckCircleFilled.tsx +0 -18
- package/src/icons/react/Checked.tsx +0 -18
- package/src/icons/react/Clean.tsx +0 -18
- package/src/icons/react/Clear.tsx +0 -18
- package/src/icons/react/ClearInputFilled.tsx +0 -18
- package/src/icons/react/ClearValue.tsx +0 -18
- package/src/icons/react/Clock.tsx +0 -18
- package/src/icons/react/ClockAlarm.tsx +0 -18
- package/src/icons/react/ClockForward.tsx +0 -18
- package/src/icons/react/Close.tsx +0 -18
- package/src/icons/react/CollapseAll.tsx +0 -18
- package/src/icons/react/CollapseAllHorizontal.tsx +0 -18
- package/src/icons/react/ColorCoding.tsx +0 -18
- package/src/icons/react/ColorCodingFilled.tsx +0 -18
- package/src/icons/react/Columns.tsx +0 -18
- package/src/icons/react/Columns2.tsx +0 -18
- package/src/icons/react/Columns4.tsx +0 -18
- package/src/icons/react/CommentBubble.tsx +0 -18
- package/src/icons/react/Copy.tsx +0 -18
- package/src/icons/react/Create.tsx +0 -18
- package/src/icons/react/CreditsFilled.tsx +0 -18
- package/src/icons/react/CrossCircle.tsx +0 -18
- package/src/icons/react/Crosshair.tsx +0 -18
- package/src/icons/react/Csv.tsx +0 -18
- package/src/icons/react/Database.tsx +0 -18
- package/src/icons/react/DatabaseOff.tsx +0 -18
- package/src/icons/react/DatabaseStroke.tsx +0 -18
- package/src/icons/react/DateRange.tsx +0 -18
- package/src/icons/react/Delete.tsx +0 -18
- package/src/icons/react/Demo.tsx +0 -18
- package/src/icons/react/Dependency.tsx +0 -18
- package/src/icons/react/Dividers.tsx +0 -18
- package/src/icons/react/Document.tsx +0 -18
- package/src/icons/react/DoubleArrowLeft.tsx +0 -18
- package/src/icons/react/DoubleArrowRight.tsx +0 -18
- package/src/icons/react/DoubleLine.tsx +0 -18
- package/src/icons/react/DragBlockHandle.tsx +0 -18
- package/src/icons/react/DragBlockHandleSingle.tsx +0 -18
- package/src/icons/react/DragHandle.tsx +0 -18
- package/src/icons/react/Duplicate.tsx +0 -18
- package/src/icons/react/DynamicFilterValue.tsx +0 -18
- package/src/icons/react/EditValue.tsx +0 -18
- package/src/icons/react/Email.tsx +0 -18
- package/src/icons/react/EmojiDelete.tsx +0 -18
- package/src/icons/react/EntityCreate.tsx +0 -18
- package/src/icons/react/EntityCreateFilled.tsx +0 -18
- package/src/icons/react/EntityMerge.tsx +0 -18
- package/src/icons/react/Equation.tsx +0 -18
- package/src/icons/react/ExpandAll.tsx +0 -18
- package/src/icons/react/ExpandAllHorizontal.tsx +0 -18
- package/src/icons/react/Export.tsx +0 -18
- package/src/icons/react/ExtensionAssignments.tsx +0 -18
- package/src/icons/react/ExtensionAvatar.tsx +0 -18
- package/src/icons/react/ExtensionComments.tsx +0 -18
- package/src/icons/react/ExtensionFiles.tsx +0 -18
- package/src/icons/react/ExtensionReferences.tsx +0 -18
- package/src/icons/react/ExtensionWorkflow.tsx +0 -18
- package/src/icons/react/Eye.tsx +0 -18
- package/src/icons/react/Favorites.tsx +0 -18
- package/src/icons/react/FavoritesChecked.tsx +0 -18
- package/src/icons/react/FavoritesOff.tsx +0 -18
- package/src/icons/react/FiberyDesktopApp.tsx +0 -18
- package/src/icons/react/FiberyMono.tsx +0 -18
- package/src/icons/react/FieldUnit.tsx +0 -18
- package/src/icons/react/Fields.tsx +0 -18
- package/src/icons/react/Figma.tsx +0 -18
- package/src/icons/react/FileArchive.tsx +0 -18
- package/src/icons/react/FileBroken.tsx +0 -18
- package/src/icons/react/FileCounter.tsx +0 -18
- package/src/icons/react/FileDocument.tsx +0 -18
- package/src/icons/react/FileDownload.tsx +0 -18
- package/src/icons/react/FileImage.tsx +0 -18
- package/src/icons/react/FileMultiple.tsx +0 -18
- package/src/icons/react/FileOther.tsx +0 -18
- package/src/icons/react/FilePresentation.tsx +0 -18
- package/src/icons/react/FileTable.tsx +0 -18
- package/src/icons/react/FileUpload.tsx +0 -18
- package/src/icons/react/FileVideo.tsx +0 -18
- package/src/icons/react/Filter.tsx +0 -18
- package/src/icons/react/FitToScreen.tsx +0 -18
- package/src/icons/react/FocusMode.tsx +0 -18
- package/src/icons/react/FocusModeOff.tsx +0 -18
- package/src/icons/react/Folder.tsx +0 -18
- package/src/icons/react/FolderFavorite.tsx +0 -18
- package/src/icons/react/FormWithCover.tsx +0 -18
- package/src/icons/react/FormWithoutCover.tsx +0 -18
- package/src/icons/react/FullscreenModeOffIcon.tsx +0 -18
- package/src/icons/react/FullscreenModeOn.tsx +0 -18
- package/src/icons/react/FullscreenModeOnIcon.tsx +0 -18
- package/src/icons/react/Gift.tsx +0 -18
- package/src/icons/react/Github.tsx +0 -18
- package/src/icons/react/Gitlab.tsx +0 -18
- package/src/icons/react/Globe.tsx +0 -18
- package/src/icons/react/GlobeSimple.tsx +0 -18
- package/src/icons/react/GlobeUnpublish.tsx +0 -18
- package/src/icons/react/GoTo.tsx +0 -18
- package/src/icons/react/GoogleDrive.tsx +0 -18
- package/src/icons/react/GoogleMap.tsx +0 -18
- package/src/icons/react/GraduationCapFilled.tsx +0 -18
- package/src/icons/react/Headphones.tsx +0 -18
- package/src/icons/react/HeadphonesAi.tsx +0 -18
- package/src/icons/react/Hide.tsx +0 -18
- package/src/icons/react/Highlights.tsx +0 -18
- package/src/icons/react/Hint.tsx +0 -18
- package/src/icons/react/Home.tsx +0 -18
- package/src/icons/react/HomeFilled.tsx +0 -18
- package/src/icons/react/ImageXmark.tsx +0 -18
- package/src/icons/react/Import.tsx +0 -18
- package/src/icons/react/ImportFilled.tsx +0 -18
- package/src/icons/react/InfoCircle.tsx +0 -18
- package/src/icons/react/InfoCircleFilled.tsx +0 -18
- package/src/icons/react/Integration.tsx +0 -18
- package/src/icons/react/IntegrationsFilled.tsx +0 -18
- package/src/icons/react/IntegrationsIntegrationDiscourseColor.tsx +0 -18
- package/src/icons/react/IntegrationsIntegrationIntercomColor.tsx +0 -18
- package/src/icons/react/IntegrationsIntegrationSlackColor.tsx +0 -18
- package/src/icons/react/IntegrationsIntegrationZendeskColor.tsx +0 -18
- package/src/icons/react/Intercom.tsx +0 -18
- package/src/icons/react/InvitePeople.tsx +0 -18
- package/src/icons/react/Items.tsx +0 -18
- package/src/icons/react/ItemsTimeline.tsx +0 -18
- package/src/icons/react/Jira.tsx +0 -18
- package/src/icons/react/Key.tsx +0 -18
- package/src/icons/react/KeyboardHideDown.tsx +0 -18
- package/src/icons/react/Lab.tsx +0 -18
- package/src/icons/react/LayoutDouble.tsx +0 -18
- package/src/icons/react/LayoutMultiple.tsx +0 -18
- package/src/icons/react/LayoutSingle.tsx +0 -18
- package/src/icons/react/LeftPanel.tsx +0 -18
- package/src/icons/react/LevelPlus.tsx +0 -18
- package/src/icons/react/Levels.tsx +0 -18
- package/src/icons/react/LineDivider.tsx +0 -18
- package/src/icons/react/LineJump.tsx +0 -18
- package/src/icons/react/Link.tsx +0 -18
- package/src/icons/react/LocationEdit.tsx +0 -18
- package/src/icons/react/Lock.tsx +0 -18
- package/src/icons/react/LockOutline.tsx +0 -18
- package/src/icons/react/Logout.tsx +0 -18
- package/src/icons/react/Loom.tsx +0 -18
- package/src/icons/react/LoupeZoom.tsx +0 -18
- package/src/icons/react/LoupeZoomIn.tsx +0 -18
- package/src/icons/react/LoupeZoomOut.tsx +0 -18
- package/src/icons/react/ManyPeople.tsx +0 -18
- package/src/icons/react/MapMode.tsx +0 -18
- package/src/icons/react/Markdown.tsx +0 -18
- package/src/icons/react/MenuCollapser.tsx +0 -18
- package/src/icons/react/Mermaid.tsx +0 -18
- package/src/icons/react/MessagePlus.tsx +0 -18
- package/src/icons/react/MessagePlusSquare.tsx +0 -18
- package/src/icons/react/Milestones.tsx +0 -18
- package/src/icons/react/Minus.tsx +0 -18
- package/src/icons/react/Miro.tsx +0 -18
- package/src/icons/react/MirrorOff.tsx +0 -18
- package/src/icons/react/MirrorOn.tsx +0 -18
- package/src/icons/react/Mixpanel.tsx +0 -18
- package/src/icons/react/Monitor.tsx +0 -18
- package/src/icons/react/More.tsx +0 -18
- package/src/icons/react/MoreCompact.tsx +0 -18
- package/src/icons/react/MoveBottom.tsx +0 -18
- package/src/icons/react/MoveLeft.tsx +0 -18
- package/src/icons/react/MoveRight.tsx +0 -18
- package/src/icons/react/MoveSpace.tsx +0 -18
- package/src/icons/react/MoveTop.tsx +0 -18
- package/src/icons/react/Network.tsx +0 -18
- package/src/icons/react/NetworkAdd.tsx +0 -18
- package/src/icons/react/NoBorder.tsx +0 -18
- package/src/icons/react/NoFill.tsx +0 -18
- package/src/icons/react/Notifications.tsx +0 -18
- package/src/icons/react/ObjChild.tsx +0 -18
- package/src/icons/react/ObjM2M.tsx +0 -18
- package/src/icons/react/ObjO2O.tsx +0 -18
- package/src/icons/react/ObjParent.tsx +0 -18
- package/src/icons/react/ObjSelf.tsx +0 -18
- package/src/icons/react/OnSchedule.tsx +0 -18
- package/src/icons/react/OpenAi.tsx +0 -18
- package/src/icons/react/OpenAsPage.tsx +0 -18
- package/src/icons/react/PageRegularMode.tsx +0 -18
- package/src/icons/react/PageWideMode.tsx +0 -18
- package/src/icons/react/PanelAdd.tsx +0 -18
- package/src/icons/react/Pencil.tsx +0 -18
- package/src/icons/react/People.tsx +0 -18
- package/src/icons/react/PeopleCheck.tsx +0 -18
- package/src/icons/react/Photo.tsx +0 -18
- package/src/icons/react/Pin.tsx +0 -18
- package/src/icons/react/PinFilled.tsx +0 -18
- package/src/icons/react/Popup.tsx +0 -18
- package/src/icons/react/Posts.tsx +0 -18
- package/src/icons/react/PresentPlay.tsx +0 -18
- package/src/icons/react/PresentStop.tsx +0 -18
- package/src/icons/react/Print.tsx +0 -18
- package/src/icons/react/PrivateItems.tsx +0 -18
- package/src/icons/react/Question.tsx +0 -18
- package/src/icons/react/QuickFilter.tsx +0 -18
- package/src/icons/react/QuickFilterPersonal.tsx +0 -18
- package/src/icons/react/ReadOnly.tsx +0 -18
- package/src/icons/react/Refresh.tsx +0 -18
- package/src/icons/react/Remove.tsx +0 -18
- package/src/icons/react/RemovePeople.tsx +0 -18
- package/src/icons/react/Reply.tsx +0 -18
- package/src/icons/react/ResetPassword.tsx +0 -18
- package/src/icons/react/Restore.tsx +0 -18
- package/src/icons/react/RicheditorActionsMore.tsx +0 -18
- package/src/icons/react/RicheditorBlockCallout.tsx +0 -18
- package/src/icons/react/RicheditorBlockCode.tsx +0 -18
- package/src/icons/react/RicheditorBlockEmbed.tsx +0 -18
- package/src/icons/react/RicheditorBlockEntity.tsx +0 -18
- package/src/icons/react/RicheditorBlockFile.tsx +0 -18
- package/src/icons/react/RicheditorBlockH1.tsx +0 -18
- package/src/icons/react/RicheditorBlockH2.tsx +0 -18
- package/src/icons/react/RicheditorBlockH3.tsx +0 -18
- package/src/icons/react/RicheditorBlockH4.tsx +0 -18
- package/src/icons/react/RicheditorBlockMention.tsx +0 -18
- package/src/icons/react/RicheditorBlockParagraph.tsx +0 -18
- package/src/icons/react/RicheditorBlockQuote.tsx +0 -18
- package/src/icons/react/RicheditorChecklistCreate.tsx +0 -18
- package/src/icons/react/RicheditorCommentCreate.tsx +0 -18
- package/src/icons/react/RicheditorEntityLinkCreate.tsx +0 -18
- package/src/icons/react/RicheditorHistoryRedo.tsx +0 -18
- package/src/icons/react/RicheditorHistoryUndo.tsx +0 -18
- package/src/icons/react/RicheditorImageAlignCenter.tsx +0 -18
- package/src/icons/react/RicheditorImageAlignLeft.tsx +0 -18
- package/src/icons/react/RicheditorImageAlignRight.tsx +0 -18
- package/src/icons/react/RicheditorImageUpload.tsx +0 -18
- package/src/icons/react/RicheditorImageWrapCenter.tsx +0 -18
- package/src/icons/react/RicheditorImageWrapLeft.tsx +0 -18
- package/src/icons/react/RicheditorImageWrapRight.tsx +0 -18
- package/src/icons/react/RicheditorImageZoom.tsx +0 -18
- package/src/icons/react/RicheditorLinkCreate.tsx +0 -18
- package/src/icons/react/RicheditorLinkedhighlightCreate.tsx +0 -18
- package/src/icons/react/RicheditorListBullet.tsx +0 -18
- package/src/icons/react/RicheditorListIndent.tsx +0 -18
- package/src/icons/react/RicheditorListOrdered.tsx +0 -18
- package/src/icons/react/RicheditorListUnindent.tsx +0 -18
- package/src/icons/react/RicheditorMarkCode.tsx +0 -18
- package/src/icons/react/RicheditorMarkEm.tsx +0 -18
- package/src/icons/react/RicheditorMarkHighlight.tsx +0 -18
- package/src/icons/react/RicheditorMarkStrike.tsx +0 -18
- package/src/icons/react/RicheditorMarkStrong.tsx +0 -18
- package/src/icons/react/RicheditorMarkTextBackgroundColor.tsx +0 -18
- package/src/icons/react/RicheditorMarkUnderline.tsx +0 -18
- package/src/icons/react/RicheditorOpenLink.tsx +0 -18
- package/src/icons/react/RicheditorTableCreate.tsx +0 -18
- package/src/icons/react/RicheditorUnlink.tsx +0 -18
- package/src/icons/react/RicheditorVideoUpload.tsx +0 -18
- package/src/icons/react/RightPanel.tsx +0 -18
- package/src/icons/react/Rows.tsx +0 -18
- package/src/icons/react/RuleScheduled.tsx +0 -18
- package/src/icons/react/Search.tsx +0 -18
- package/src/icons/react/SearchAdd.tsx +0 -18
- package/src/icons/react/SearchFilled.tsx +0 -18
- package/src/icons/react/SearchRemove.tsx +0 -18
- package/src/icons/react/SelfReferenceOff.tsx +0 -18
- package/src/icons/react/SelfReferenceOn.tsx +0 -18
- package/src/icons/react/SendArrow.tsx +0 -18
- package/src/icons/react/SendBackward.tsx +0 -18
- package/src/icons/react/SendToBack.tsx +0 -18
- package/src/icons/react/Settings.tsx +0 -18
- package/src/icons/react/SettingsFilled.tsx +0 -18
- package/src/icons/react/SettingsOff.tsx +0 -18
- package/src/icons/react/Share.tsx +0 -18
- package/src/icons/react/Shared.tsx +0 -18
- package/src/icons/react/ShieldKeyhole.tsx +0 -18
- package/src/icons/react/ShowAuthor.tsx +0 -18
- package/src/icons/react/Sidebar.tsx +0 -18
- package/src/icons/react/SidebarFields.tsx +0 -18
- package/src/icons/react/SidebarFieldsOpened.tsx +0 -18
- package/src/icons/react/SimpleCompass.tsx +0 -18
- package/src/icons/react/Slack.tsx +0 -18
- package/src/icons/react/SlackIcon.tsx +0 -18
- package/src/icons/react/SlideMenu.tsx +0 -18
- package/src/icons/react/SlideMenuClose.tsx +0 -18
- package/src/icons/react/SlideMenuFilled.tsx +0 -18
- package/src/icons/react/SlideMenuOpen.tsx +0 -18
- package/src/icons/react/SmartFolder.tsx +0 -18
- package/src/icons/react/Sort.tsx +0 -18
- package/src/icons/react/SortOnBottom.tsx +0 -18
- package/src/icons/react/SortOnTop.tsx +0 -18
- package/src/icons/react/SpaceApp.tsx +0 -18
- package/src/icons/react/SpaceGenerate.tsx +0 -18
- package/src/icons/react/SpaceList.tsx +0 -18
- package/src/icons/react/SpaceScratch.tsx +0 -18
- package/src/icons/react/SpaceTemplate.tsx +0 -18
- package/src/icons/react/Spinner.tsx +0 -18
- package/src/icons/react/Success.tsx +0 -18
- package/src/icons/react/SuggestIntegration.tsx +0 -18
- package/src/icons/react/SwitchToMention.tsx +0 -18
- package/src/icons/react/SwitchToText.tsx +0 -18
- package/src/icons/react/SwitchToWidget.tsx +0 -18
- package/src/icons/react/TableLayout.tsx +0 -18
- package/src/icons/react/Template.tsx +0 -18
- package/src/icons/react/Templates.tsx +0 -18
- package/src/icons/react/TemplatesFilled.tsx +0 -18
- package/src/icons/react/Terminal.tsx +0 -18
- package/src/icons/react/TextNoWrap.tsx +0 -18
- package/src/icons/react/TextToolAlignBottom.tsx +0 -18
- package/src/icons/react/TextToolAlignMiddle.tsx +0 -18
- package/src/icons/react/TextToolAlignTop.tsx +0 -18
- package/src/icons/react/TextWrap.tsx +0 -18
- package/src/icons/react/ThumbsDown.tsx +0 -18
- package/src/icons/react/ThumbsUp.tsx +0 -18
- package/src/icons/react/Toc.tsx +0 -18
- package/src/icons/react/Twitter.tsx +0 -18
- package/src/icons/react/TypeBoolean.tsx +0 -18
- package/src/icons/react/TypeButton.tsx +0 -18
- package/src/icons/react/TypeCheckbox.tsx +0 -18
- package/src/icons/react/TypeDate.tsx +0 -18
- package/src/icons/react/TypeEmail.tsx +0 -18
- package/src/icons/react/TypeEmoji.tsx +0 -18
- package/src/icons/react/TypeFormula.tsx +0 -18
- package/src/icons/react/TypeFunction.tsx +0 -18
- package/src/icons/react/TypeId.tsx +0 -18
- package/src/icons/react/TypeLocation.tsx +0 -18
- package/src/icons/react/TypeLookup.tsx +0 -18
- package/src/icons/react/TypeMoney.tsx +0 -18
- package/src/icons/react/TypeMultiSelect.tsx +0 -18
- package/src/icons/react/TypeNumber.tsx +0 -18
- package/src/icons/react/TypePercent.tsx +0 -18
- package/src/icons/react/TypePhone.tsx +0 -18
- package/src/icons/react/TypeRelation.tsx +0 -18
- package/src/icons/react/TypeRichText.tsx +0 -18
- package/src/icons/react/TypeRule.tsx +0 -18
- package/src/icons/react/TypeSingleSelect.tsx +0 -18
- package/src/icons/react/TypeText.tsx +0 -18
- package/src/icons/react/TypeUrl.tsx +0 -18
- package/src/icons/react/UnitsAvatar.tsx +0 -18
- package/src/icons/react/UnitsCollection.tsx +0 -18
- package/src/icons/react/UnitsCounter.tsx +0 -18
- package/src/icons/react/UnitsDate.tsx +0 -18
- package/src/icons/react/UnitsDbBadgeAbbr.tsx +0 -18
- package/src/icons/react/UnitsDbBadgeFull.tsx +0 -18
- package/src/icons/react/UnitsDbIcon.tsx +0 -18
- package/src/icons/react/UnitsField.tsx +0 -18
- package/src/icons/react/UnitsFieldIconButton.tsx +0 -18
- package/src/icons/react/UnitsInput.tsx +0 -18
- package/src/icons/react/UnitsProgressBar.tsx +0 -18
- package/src/icons/react/UnitsRichText.tsx +0 -18
- package/src/icons/react/UnitsSnippet.tsx +0 -18
- package/src/icons/react/Unlink.tsx +0 -18
- package/src/icons/react/UnlockFilled.tsx +0 -18
- package/src/icons/react/UnlockOutline.tsx +0 -18
- package/src/icons/react/Upgrade.tsx +0 -18
- package/src/icons/react/UsbFlashDrive.tsx +0 -18
- package/src/icons/react/UserCheck.tsx +0 -18
- package/src/icons/react/UserGroup.tsx +0 -18
- package/src/icons/react/UserGroupRemove.tsx +0 -18
- package/src/icons/react/UserRole.tsx +0 -18
- package/src/icons/react/UserX.tsx +0 -18
- package/src/icons/react/ValueEdit.tsx +0 -18
- package/src/icons/react/ViewAi.tsx +0 -18
- package/src/icons/react/ViewBoard.tsx +0 -18
- package/src/icons/react/ViewCalendar.tsx +0 -18
- package/src/icons/react/ViewCanvas.tsx +0 -18
- package/src/icons/react/ViewChart.tsx +0 -18
- package/src/icons/react/ViewDashboard.tsx +0 -18
- package/src/icons/react/ViewDetails.tsx +0 -18
- package/src/icons/react/ViewDocument.tsx +0 -18
- package/src/icons/react/ViewEmbed.tsx +0 -18
- package/src/icons/react/ViewFeed.tsx +0 -18
- package/src/icons/react/ViewForm.tsx +0 -18
- package/src/icons/react/ViewGallery.tsx +0 -18
- package/src/icons/react/ViewGantt.tsx +0 -18
- package/src/icons/react/ViewList.tsx +0 -18
- package/src/icons/react/ViewMap.tsx +0 -18
- package/src/icons/react/ViewPage.tsx +0 -18
- package/src/icons/react/ViewTable.tsx +0 -18
- package/src/icons/react/ViewTimeline.tsx +0 -18
- package/src/icons/react/Views.tsx +0 -18
- package/src/icons/react/Warning.tsx +0 -18
- package/src/icons/react/WarningTriangle.tsx +0 -18
- package/src/icons/react/WarningTriangleFilled.tsx +0 -18
- package/src/icons/react/Webhooks.tsx +0 -18
- package/src/icons/react/Windows.tsx +0 -18
- package/src/icons/react/WorkspaceMap.tsx +0 -18
- package/src/icons/react/Youtube.tsx +0 -18
- package/src/icons/react/ZoomIn.tsx +0 -18
- package/src/icons/react/ZoomOut.tsx +0 -18
- package/src/link-input/components/AntTextAreaWithCustomReadState.tsx +0 -75
- package/src/palettes/_.test.ts +0 -226
- package/src/palettes/_.ts +0 -115
- /package/config/{jest/testFrameworkSetup.js → vitest/test-framework-setup.js} +0 -0
- /package/src/__mocks__/{styleMock.js → style-mock.js} +0 -0
- /package/src/antd/{AutoComplete.d.ts → auto-complete.d.ts} +0 -0
- /package/src/icons/ast/{Abort.ts → abort.ts} +0 -0
- /package/src/icons/ast/{AccessTemplate.ts → access-template.ts} +0 -0
- /package/src/icons/ast/{ActivityFilled.ts → activity-filled.ts} +0 -0
- /package/src/icons/ast/{ActivityLog.ts → activity-log.ts} +0 -0
- /package/src/icons/ast/{Activity.ts → activity.ts} +0 -0
- /package/src/icons/ast/{AddAfter.ts → add-after.ts} +0 -0
- /package/src/icons/ast/{AddBefore.ts → add-before.ts} +0 -0
- /package/src/icons/ast/{AddCompact.ts → add-compact.ts} +0 -0
- /package/src/icons/ast/{AddDatabase.ts → add-database.ts} +0 -0
- /package/src/icons/ast/{AddGroup.ts → add-group.ts} +0 -0
- /package/src/icons/ast/{AddIntegration.ts → add-integration.ts} +0 -0
- /package/src/icons/ast/{AddReactions.ts → add-reactions.ts} +0 -0
- /package/src/icons/ast/{Add.ts → add.ts} +0 -0
- /package/src/icons/ast/{AiAssistantFilled.ts → ai-assistant-filled.ts} +0 -0
- /package/src/icons/ast/{AiAssistant.ts → ai-assistant.ts} +0 -0
- /package/src/icons/ast/{AiAvatar.ts → ai-avatar.ts} +0 -0
- /package/src/icons/ast/{AiFiberyBuild.ts → ai-fibery-build.ts} +0 -0
- /package/src/icons/ast/{AiSearch.ts → ai-search.ts} +0 -0
- /package/src/icons/ast/{AlertTriangle.ts → alert-triangle.ts} +0 -0
- /package/src/icons/ast/{Anthropic.ts → anthropic.ts} +0 -0
- /package/src/icons/ast/{AppDetails.ts → app-details.ts} +0 -0
- /package/src/icons/ast/{AppStoreOneColor.ts → app-store-one-color.ts} +0 -0
- /package/src/icons/ast/{AppStore.ts → app-store.ts} +0 -0
- /package/src/icons/ast/{AppTemplates.ts → app-templates.ts} +0 -0
- /package/src/icons/ast/{AppWebhooks.ts → app-webhooks.ts} +0 -0
- /package/src/icons/ast/{AppWiki.ts → app-wiki.ts} +0 -0
- /package/src/icons/ast/{App.ts → app.ts} +0 -0
- /package/src/icons/ast/{AppearanceAuto.ts → appearance-auto.ts} +0 -0
- /package/src/icons/ast/{AppearanceDark.ts → appearance-dark.ts} +0 -0
- /package/src/icons/ast/{AppearanceLight.ts → appearance-light.ts} +0 -0
- /package/src/icons/ast/{Apple.ts → apple.ts} +0 -0
- /package/src/icons/ast/{ArrowBarDown.ts → arrow-bar-down.ts} +0 -0
- /package/src/icons/ast/{ArrowBarLeft.ts → arrow-bar-left.ts} +0 -0
- /package/src/icons/ast/{ArrowBarRight.ts → arrow-bar-right.ts} +0 -0
- /package/src/icons/ast/{ArrowBarUp.ts → arrow-bar-up.ts} +0 -0
- /package/src/icons/ast/{ArrowBottom.ts → arrow-bottom.ts} +0 -0
- /package/src/icons/ast/{ArrowCollapseVertical.ts → arrow-collapse-vertical.ts} +0 -0
- /package/src/icons/ast/{ArrowCollapse.ts → arrow-collapse.ts} +0 -0
- /package/src/icons/ast/{ArrowForward.ts → arrow-forward.ts} +0 -0
- /package/src/icons/ast/{ArrowLeft.ts → arrow-left.ts} +0 -0
- /package/src/icons/ast/{ArrowRight.ts → arrow-right.ts} +0 -0
- /package/src/icons/ast/{ArrowTop.ts → arrow-top.ts} +0 -0
- /package/src/icons/ast/{ArrowUpCircle.ts → arrow-up-circle.ts} +0 -0
- /package/src/icons/ast/{ArrowsRightLeft.ts → arrows-right-left.ts} +0 -0
- /package/src/icons/ast/{AskForInput.ts → ask-for-input.ts} +0 -0
- /package/src/icons/ast/{Asterisk.ts → asterisk.ts} +0 -0
- /package/src/icons/ast/{Atom.ts → atom.ts} +0 -0
- /package/src/icons/ast/{AutomationsCancelled.ts → automations-cancelled.ts} +0 -0
- /package/src/icons/ast/{AutomationsDisabled.ts → automations-disabled.ts} +0 -0
- /package/src/icons/ast/{AutomationsError.ts → automations-error.ts} +0 -0
- /package/src/icons/ast/{AutomationsInProgress.ts → automations-in-progress.ts} +0 -0
- /package/src/icons/ast/{AutomationsNotStarted.ts → automations-not-started.ts} +0 -0
- /package/src/icons/ast/{AutomationsSuccess.ts → automations-success.ts} +0 -0
- /package/src/icons/ast/{Back.ts → back.ts} +0 -0
- /package/src/icons/ast/{BacklogIcon.ts → backlog-icon.ts} +0 -0
- /package/src/icons/ast/{BatchActionsIcon.ts → batch-actions-icon.ts} +0 -0
- /package/src/icons/ast/{BellCircle.ts → bell-circle.ts} +0 -0
- /package/src/icons/ast/{BellFilled.ts → bell-filled.ts} +0 -0
- /package/src/icons/ast/{BellOff.ts → bell-off.ts} +0 -0
- /package/src/icons/ast/{BellRinging.ts → bell-ringing.ts} +0 -0
- /package/src/icons/ast/{BellX.ts → bell-x.ts} +0 -0
- /package/src/icons/ast/{Bolt.ts → bolt.ts} +0 -0
- /package/src/icons/ast/{BringForward.ts → bring-forward.ts} +0 -0
- /package/src/icons/ast/{BringToFront.ts → bring-to-front.ts} +0 -0
- /package/src/icons/ast/{Cards.ts → cards.ts} +0 -0
- /package/src/icons/ast/{ChatAi.ts → chat-ai.ts} +0 -0
- /package/src/icons/ast/{ChatBubble.ts → chat-bubble.ts} +0 -0
- /package/src/icons/ast/{ChatFloat.ts → chat-float.ts} +0 -0
- /package/src/icons/ast/{ChatSidebar.ts → chat-sidebar.ts} +0 -0
- /package/src/icons/ast/{Chat.ts → chat.ts} +0 -0
- /package/src/icons/ast/{CheckCircleFilled.ts → check-circle-filled.ts} +0 -0
- /package/src/icons/ast/{CheckCircle.ts → check-circle.ts} +0 -0
- /package/src/icons/ast/{Checked.ts → checked.ts} +0 -0
- /package/src/icons/ast/{Clean.ts → clean.ts} +0 -0
- /package/src/icons/ast/{ClearInputFilled.ts → clear-input-filled.ts} +0 -0
- /package/src/icons/ast/{ClearValue.ts → clear-value.ts} +0 -0
- /package/src/icons/ast/{Clear.ts → clear.ts} +0 -0
- /package/src/icons/ast/{ClockAlarm.ts → clock-alarm.ts} +0 -0
- /package/src/icons/ast/{ClockForward.ts → clock-forward.ts} +0 -0
- /package/src/icons/ast/{Clock.ts → clock.ts} +0 -0
- /package/src/icons/ast/{Close.ts → close.ts} +0 -0
- /package/src/icons/ast/{CollapseAllHorizontal.ts → collapse-all-horizontal.ts} +0 -0
- /package/src/icons/ast/{CollapseAll.ts → collapse-all.ts} +0 -0
- /package/src/icons/ast/{ColorCodingFilled.ts → color-coding-filled.ts} +0 -0
- /package/src/icons/ast/{ColorCoding.ts → color-coding.ts} +0 -0
- /package/src/icons/ast/{Columns2.ts → columns-2.ts} +0 -0
- /package/src/icons/ast/{Columns4.ts → columns-4.ts} +0 -0
- /package/src/icons/ast/{Columns.ts → columns.ts} +0 -0
- /package/src/icons/ast/{CommentBubble.ts → comment-bubble.ts} +0 -0
- /package/src/icons/ast/{Copy.ts → copy.ts} +0 -0
- /package/src/icons/ast/{Create.ts → create.ts} +0 -0
- /package/src/icons/ast/{CreditsFilled.ts → credits-filled.ts} +0 -0
- /package/src/icons/ast/{CrossCircle.ts → cross-circle.ts} +0 -0
- /package/src/icons/ast/{Crosshair.ts → crosshair.ts} +0 -0
- /package/src/icons/ast/{Csv.ts → csv.ts} +0 -0
- /package/src/icons/ast/{DatabaseOff.ts → database-off.ts} +0 -0
- /package/src/icons/ast/{DatabaseStroke.ts → database-stroke.ts} +0 -0
- /package/src/icons/ast/{Database.ts → database.ts} +0 -0
- /package/src/icons/ast/{DateRange.ts → date-range.ts} +0 -0
- /package/src/icons/ast/{Delete.ts → delete.ts} +0 -0
- /package/src/icons/ast/{Demo.ts → demo.ts} +0 -0
- /package/src/icons/ast/{Dependency.ts → dependency.ts} +0 -0
- /package/src/icons/ast/{Dividers.ts → dividers.ts} +0 -0
- /package/src/icons/ast/{Document.ts → document.ts} +0 -0
- /package/src/icons/ast/{DoubleArrowLeft.ts → double-arrow-left.ts} +0 -0
- /package/src/icons/ast/{DoubleArrowRight.ts → double-arrow-right.ts} +0 -0
- /package/src/icons/ast/{DoubleLine.ts → double-line.ts} +0 -0
- /package/src/icons/ast/{DragBlockHandleSingle.ts → drag-block-handle-single.ts} +0 -0
- /package/src/icons/ast/{DragBlockHandle.ts → drag-block-handle.ts} +0 -0
- /package/src/icons/ast/{DragHandle.ts → drag-handle.ts} +0 -0
- /package/src/icons/ast/{Duplicate.ts → duplicate.ts} +0 -0
- /package/src/icons/ast/{DynamicFilterValue.ts → dynamic-filter-value.ts} +0 -0
- /package/src/icons/ast/{EditValue.ts → edit-value.ts} +0 -0
- /package/src/icons/ast/{Email.ts → email.ts} +0 -0
- /package/src/icons/ast/{EmojiDelete.ts → emoji-delete.ts} +0 -0
- /package/src/icons/ast/{EntityCreateFilled.ts → entity-create-filled.ts} +0 -0
- /package/src/icons/ast/{EntityCreate.ts → entity-create.ts} +0 -0
- /package/src/icons/ast/{EntityMerge.ts → entity-merge.ts} +0 -0
- /package/src/icons/ast/{Equation.ts → equation.ts} +0 -0
- /package/src/icons/ast/{ExpandAllHorizontal.ts → expand-all-horizontal.ts} +0 -0
- /package/src/icons/ast/{ExpandAll.ts → expand-all.ts} +0 -0
- /package/src/icons/ast/{Export.ts → export.ts} +0 -0
- /package/src/icons/ast/{ExtensionAssignments.ts → extension-assignments.ts} +0 -0
- /package/src/icons/ast/{ExtensionAvatar.ts → extension-avatar.ts} +0 -0
- /package/src/icons/ast/{ExtensionComments.ts → extension-comments.ts} +0 -0
- /package/src/icons/ast/{ExtensionFiles.ts → extension-files.ts} +0 -0
- /package/src/icons/ast/{ExtensionReferences.ts → extension-references.ts} +0 -0
- /package/src/icons/ast/{ExtensionWorkflow.ts → extension-workflow.ts} +0 -0
- /package/src/icons/ast/{Eye.ts → eye.ts} +0 -0
- /package/src/icons/ast/{FavoritesChecked.ts → favorites-checked.ts} +0 -0
- /package/src/icons/ast/{FavoritesOff.ts → favorites-off.ts} +0 -0
- /package/src/icons/ast/{Favorites.ts → favorites.ts} +0 -0
- /package/src/icons/ast/{FiberyDesktopApp.ts → fibery-desktop-app.ts} +0 -0
- /package/src/icons/ast/{FiberyMono.ts → fibery-mono.ts} +0 -0
- /package/src/icons/ast/{FieldUnit.ts → field-unit.ts} +0 -0
- /package/src/icons/ast/{Fields.ts → fields.ts} +0 -0
- /package/src/icons/ast/{Figma.ts → figma.ts} +0 -0
- /package/src/icons/ast/{FileArchive.ts → file-archive.ts} +0 -0
- /package/src/icons/ast/{FileBroken.ts → file-broken.ts} +0 -0
- /package/src/icons/ast/{FileCounter.ts → file-counter.ts} +0 -0
- /package/src/icons/ast/{FileDocument.ts → file-document.ts} +0 -0
- /package/src/icons/ast/{FileDownload.ts → file-download.ts} +0 -0
- /package/src/icons/ast/{FileImage.ts → file-image.ts} +0 -0
- /package/src/icons/ast/{FileMultiple.ts → file-multiple.ts} +0 -0
- /package/src/icons/ast/{FileOther.ts → file-other.ts} +0 -0
- /package/src/icons/ast/{FilePresentation.ts → file-presentation.ts} +0 -0
- /package/src/icons/ast/{FileTable.ts → file-table.ts} +0 -0
- /package/src/icons/ast/{FileUpload.ts → file-upload.ts} +0 -0
- /package/src/icons/ast/{FileVideo.ts → file-video.ts} +0 -0
- /package/src/icons/ast/{Filter.ts → filter.ts} +0 -0
- /package/src/icons/ast/{FitToScreen.ts → fit-to-screen.ts} +0 -0
- /package/src/icons/ast/{FocusModeOff.ts → focus-mode-off.ts} +0 -0
- /package/src/icons/ast/{FocusMode.ts → focus-mode.ts} +0 -0
- /package/src/icons/ast/{FolderFavorite.ts → folder-favorite.ts} +0 -0
- /package/src/icons/ast/{Folder.ts → folder.ts} +0 -0
- /package/src/icons/ast/{FormWithCover.ts → form-with-cover.ts} +0 -0
- /package/src/icons/ast/{FormWithoutCover.ts → form-without-cover.ts} +0 -0
- /package/src/icons/ast/{FullscreenModeOffIcon.ts → fullscreen-mode-off-icon.ts} +0 -0
- /package/src/icons/ast/{FullscreenModeOnIcon.ts → fullscreen-mode-on-icon.ts} +0 -0
- /package/src/icons/ast/{FullscreenModeOn.ts → fullscreen-mode-on.ts} +0 -0
- /package/src/icons/ast/{Gift.ts → gift.ts} +0 -0
- /package/src/icons/ast/{Github.ts → github.ts} +0 -0
- /package/src/icons/ast/{Gitlab.ts → gitlab.ts} +0 -0
- /package/src/icons/ast/{GlobeSimple.ts → globe-simple.ts} +0 -0
- /package/src/icons/ast/{GlobeUnpublish.ts → globe-unpublish.ts} +0 -0
- /package/src/icons/ast/{Globe.ts → globe.ts} +0 -0
- /package/src/icons/ast/{GoTo.ts → go-to.ts} +0 -0
- /package/src/icons/ast/{GoogleDrive.ts → google-drive.ts} +0 -0
- /package/src/icons/ast/{GoogleMap.ts → google-map.ts} +0 -0
- /package/src/icons/ast/{GraduationCapFilled.ts → graduation-cap-filled.ts} +0 -0
- /package/src/icons/ast/{HeadphonesAi.ts → headphones-ai.ts} +0 -0
- /package/src/icons/ast/{Headphones.ts → headphones.ts} +0 -0
- /package/src/icons/ast/{Hide.ts → hide.ts} +0 -0
- /package/src/icons/ast/{Highlights.ts → highlights.ts} +0 -0
- /package/src/icons/ast/{Hint.ts → hint.ts} +0 -0
- /package/src/icons/ast/{HomeFilled.ts → home-filled.ts} +0 -0
- /package/src/icons/ast/{Home.ts → home.ts} +0 -0
- /package/src/icons/ast/{ImageXmark.ts → image-xmark.ts} +0 -0
- /package/src/icons/ast/{ImportFilled.ts → import-filled.ts} +0 -0
- /package/src/icons/ast/{Import.ts → import.ts} +0 -0
- /package/src/icons/ast/{InfoCircleFilled.ts → info-circle-filled.ts} +0 -0
- /package/src/icons/ast/{InfoCircle.ts → info-circle.ts} +0 -0
- /package/src/icons/ast/{Integration.ts → integration.ts} +0 -0
- /package/src/icons/ast/{IntegrationsFilled.ts → integrations-filled.ts} +0 -0
- /package/src/icons/ast/{IntegrationsIntegrationDiscourseColor.ts → integrations-integration-discourse-color.ts} +0 -0
- /package/src/icons/ast/{IntegrationsIntegrationIntercomColor.ts → integrations-integration-intercom-color.ts} +0 -0
- /package/src/icons/ast/{IntegrationsIntegrationSlackColor.ts → integrations-integration-slack-color.ts} +0 -0
- /package/src/icons/ast/{IntegrationsIntegrationZendeskColor.ts → integrations-integration-zendesk-color.ts} +0 -0
- /package/src/icons/ast/{Intercom.ts → intercom.ts} +0 -0
- /package/src/icons/ast/{InvitePeople.ts → invite-people.ts} +0 -0
- /package/src/icons/ast/{ItemsTimeline.ts → items-timeline.ts} +0 -0
- /package/src/icons/ast/{Items.ts → items.ts} +0 -0
- /package/src/icons/ast/{Jira.ts → jira.ts} +0 -0
- /package/src/icons/ast/{Key.ts → key.ts} +0 -0
- /package/src/icons/ast/{KeyboardHideDown.ts → keyboard-hide-down.ts} +0 -0
- /package/src/icons/ast/{Lab.ts → lab.ts} +0 -0
- /package/src/icons/ast/{LayoutDouble.ts → layout-double.ts} +0 -0
- /package/src/icons/ast/{LayoutMultiple.ts → layout-multiple.ts} +0 -0
- /package/src/icons/ast/{LayoutSingle.ts → layout-single.ts} +0 -0
- /package/src/icons/ast/{LeftPanel.ts → left-panel.ts} +0 -0
- /package/src/icons/ast/{LevelPlus.ts → level-plus.ts} +0 -0
- /package/src/icons/ast/{Levels.ts → levels.ts} +0 -0
- /package/src/icons/ast/{LineDivider.ts → line-divider.ts} +0 -0
- /package/src/icons/ast/{LineJump.ts → line-jump.ts} +0 -0
- /package/src/icons/ast/{Link.ts → link.ts} +0 -0
- /package/src/icons/ast/{LocationEdit.ts → location-edit.ts} +0 -0
- /package/src/icons/ast/{LockOutline.ts → lock-outline.ts} +0 -0
- /package/src/icons/ast/{Lock.ts → lock.ts} +0 -0
- /package/src/icons/ast/{Logout.ts → logout.ts} +0 -0
- /package/src/icons/ast/{Loom.ts → loom.ts} +0 -0
- /package/src/icons/ast/{LoupeZoomIn.ts → loupe-zoom-in.ts} +0 -0
- /package/src/icons/ast/{LoupeZoomOut.ts → loupe-zoom-out.ts} +0 -0
- /package/src/icons/ast/{LoupeZoom.ts → loupe-zoom.ts} +0 -0
- /package/src/icons/ast/{ManyPeople.ts → many-people.ts} +0 -0
- /package/src/icons/ast/{MapMode.ts → map-mode.ts} +0 -0
- /package/src/icons/ast/{Markdown.ts → markdown.ts} +0 -0
- /package/src/icons/ast/{MenuCollapser.ts → menu-collapser.ts} +0 -0
- /package/src/icons/ast/{Mermaid.ts → mermaid.ts} +0 -0
- /package/src/icons/ast/{MessagePlusSquare.ts → message-plus-square.ts} +0 -0
- /package/src/icons/ast/{MessagePlus.ts → message-plus.ts} +0 -0
- /package/src/icons/ast/{Milestones.ts → milestones.ts} +0 -0
- /package/src/icons/ast/{Minus.ts → minus.ts} +0 -0
- /package/src/icons/ast/{Miro.ts → miro.ts} +0 -0
- /package/src/icons/ast/{MirrorOff.ts → mirror-off.ts} +0 -0
- /package/src/icons/ast/{MirrorOn.ts → mirror-on.ts} +0 -0
- /package/src/icons/ast/{Mixpanel.ts → mixpanel.ts} +0 -0
- /package/src/icons/ast/{Monitor.ts → monitor.ts} +0 -0
- /package/src/icons/ast/{MoreCompact.ts → more-compact.ts} +0 -0
- /package/src/icons/ast/{More.ts → more.ts} +0 -0
- /package/src/icons/ast/{MoveBottom.ts → move-bottom.ts} +0 -0
- /package/src/icons/ast/{MoveLeft.ts → move-left.ts} +0 -0
- /package/src/icons/ast/{MoveRight.ts → move-right.ts} +0 -0
- /package/src/icons/ast/{MoveSpace.ts → move-space.ts} +0 -0
- /package/src/icons/ast/{MoveTop.ts → move-top.ts} +0 -0
- /package/src/icons/ast/{NetworkAdd.ts → network-add.ts} +0 -0
- /package/src/icons/ast/{Network.ts → network.ts} +0 -0
- /package/src/icons/ast/{NoBorder.ts → no-border.ts} +0 -0
- /package/src/icons/ast/{NoFill.ts → no-fill.ts} +0 -0
- /package/src/icons/ast/{Notifications.ts → notifications.ts} +0 -0
- /package/src/icons/ast/{ObjChild.ts → obj-child.ts} +0 -0
- /package/src/icons/ast/{ObjM2M.ts → obj-m2m.ts} +0 -0
- /package/src/icons/ast/{ObjO2O.ts → obj-o2o.ts} +0 -0
- /package/src/icons/ast/{ObjParent.ts → obj-parent.ts} +0 -0
- /package/src/icons/ast/{ObjSelf.ts → obj-self.ts} +0 -0
- /package/src/icons/ast/{OnSchedule.ts → on-schedule.ts} +0 -0
- /package/src/icons/ast/{OpenAi.ts → open-ai.ts} +0 -0
- /package/src/icons/ast/{OpenAsPage.ts → open-as-page.ts} +0 -0
- /package/src/icons/ast/{PageRegularMode.ts → page-regular-mode.ts} +0 -0
- /package/src/icons/ast/{PageWideMode.ts → page-wide-mode.ts} +0 -0
- /package/src/icons/ast/{PanelAdd.ts → panel-add.ts} +0 -0
- /package/src/icons/ast/{Pencil.ts → pencil.ts} +0 -0
- /package/src/icons/ast/{PeopleCheck.ts → people-check.ts} +0 -0
- /package/src/icons/ast/{People.ts → people.ts} +0 -0
- /package/src/icons/ast/{Photo.ts → photo.ts} +0 -0
- /package/src/icons/ast/{PinFilled.ts → pin-filled.ts} +0 -0
- /package/src/icons/ast/{Pin.ts → pin.ts} +0 -0
- /package/src/icons/ast/{Popup.ts → popup.ts} +0 -0
- /package/src/icons/ast/{Posts.ts → posts.ts} +0 -0
- /package/src/icons/ast/{PresentPlay.ts → present-play.ts} +0 -0
- /package/src/icons/ast/{PresentStop.ts → present-stop.ts} +0 -0
- /package/src/icons/ast/{Print.ts → print.ts} +0 -0
- /package/src/icons/ast/{PrivateItems.ts → private-items.ts} +0 -0
- /package/src/icons/ast/{Question.ts → question.ts} +0 -0
- /package/src/icons/ast/{QuickFilterPersonal.ts → quick-filter-personal.ts} +0 -0
- /package/src/icons/ast/{QuickFilter.ts → quick-filter.ts} +0 -0
- /package/src/icons/ast/{ReadOnly.ts → read-only.ts} +0 -0
- /package/src/icons/ast/{Refresh.ts → refresh.ts} +0 -0
- /package/src/icons/ast/{RemovePeople.ts → remove-people.ts} +0 -0
- /package/src/icons/ast/{Remove.ts → remove.ts} +0 -0
- /package/src/icons/ast/{Reply.ts → reply.ts} +0 -0
- /package/src/icons/ast/{ResetPassword.ts → reset-password.ts} +0 -0
- /package/src/icons/ast/{Restore.ts → restore.ts} +0 -0
- /package/src/icons/ast/{RicheditorActionsMore.ts → richeditor-actions-more.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockCallout.ts → richeditor-block-callout.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockCode.ts → richeditor-block-code.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockEmbed.ts → richeditor-block-embed.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockEntity.ts → richeditor-block-entity.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockFile.ts → richeditor-block-file.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockH1.ts → richeditor-block-h1.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockH2.ts → richeditor-block-h2.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockH3.ts → richeditor-block-h3.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockH4.ts → richeditor-block-h4.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockMention.ts → richeditor-block-mention.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockParagraph.ts → richeditor-block-paragraph.ts} +0 -0
- /package/src/icons/ast/{RicheditorBlockQuote.ts → richeditor-block-quote.ts} +0 -0
- /package/src/icons/ast/{RicheditorChecklistCreate.ts → richeditor-checklist-create.ts} +0 -0
- /package/src/icons/ast/{RicheditorCommentCreate.ts → richeditor-comment-create.ts} +0 -0
- /package/src/icons/ast/{RicheditorEntityLinkCreate.ts → richeditor-entity-link-create.ts} +0 -0
- /package/src/icons/ast/{RicheditorHistoryRedo.ts → richeditor-history-redo.ts} +0 -0
- /package/src/icons/ast/{RicheditorHistoryUndo.ts → richeditor-history-undo.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageAlignCenter.ts → richeditor-image-align-center.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageAlignLeft.ts → richeditor-image-align-left.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageAlignRight.ts → richeditor-image-align-right.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageUpload.ts → richeditor-image-upload.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageWrapCenter.ts → richeditor-image-wrap-center.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageWrapLeft.ts → richeditor-image-wrap-left.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageWrapRight.ts → richeditor-image-wrap-right.ts} +0 -0
- /package/src/icons/ast/{RicheditorImageZoom.ts → richeditor-image-zoom.ts} +0 -0
- /package/src/icons/ast/{RicheditorLinkCreate.ts → richeditor-link-create.ts} +0 -0
- /package/src/icons/ast/{RicheditorLinkedhighlightCreate.ts → richeditor-linkedhighlight-create.ts} +0 -0
- /package/src/icons/ast/{RicheditorListBullet.ts → richeditor-list-bullet.ts} +0 -0
- /package/src/icons/ast/{RicheditorListIndent.ts → richeditor-list-indent.ts} +0 -0
- /package/src/icons/ast/{RicheditorListOrdered.ts → richeditor-list-ordered.ts} +0 -0
- /package/src/icons/ast/{RicheditorListUnindent.ts → richeditor-list-unindent.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkCode.ts → richeditor-mark-code.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkEm.ts → richeditor-mark-em.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkHighlight.ts → richeditor-mark-highlight.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkStrike.ts → richeditor-mark-strike.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkStrong.ts → richeditor-mark-strong.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkTextBackgroundColor.ts → richeditor-mark-text-background-color.ts} +0 -0
- /package/src/icons/ast/{RicheditorMarkUnderline.ts → richeditor-mark-underline.ts} +0 -0
- /package/src/icons/ast/{RicheditorOpenLink.ts → richeditor-open-link.ts} +0 -0
- /package/src/icons/ast/{RicheditorTableCreate.ts → richeditor-table-create.ts} +0 -0
- /package/src/icons/ast/{RicheditorUnlink.ts → richeditor-unlink.ts} +0 -0
- /package/src/icons/ast/{RicheditorVideoUpload.ts → richeditor-video-upload.ts} +0 -0
- /package/src/icons/ast/{RightPanel.ts → right-panel.ts} +0 -0
- /package/src/icons/ast/{Rows.ts → rows.ts} +0 -0
- /package/src/icons/ast/{RuleScheduled.ts → rule-scheduled.ts} +0 -0
- /package/src/icons/ast/{SearchAdd.ts → search-add.ts} +0 -0
- /package/src/icons/ast/{SearchFilled.ts → search-filled.ts} +0 -0
- /package/src/icons/ast/{SearchRemove.ts → search-remove.ts} +0 -0
- /package/src/icons/ast/{Search.ts → search.ts} +0 -0
- /package/src/icons/ast/{SelfReferenceOff.ts → self-reference-off.ts} +0 -0
- /package/src/icons/ast/{SelfReferenceOn.ts → self-reference-on.ts} +0 -0
- /package/src/icons/ast/{SendArrow.ts → send-arrow.ts} +0 -0
- /package/src/icons/ast/{SendBackward.ts → send-backward.ts} +0 -0
- /package/src/icons/ast/{SendToBack.ts → send-to-back.ts} +0 -0
- /package/src/icons/ast/{SettingsFilled.ts → settings-filled.ts} +0 -0
- /package/src/icons/ast/{SettingsOff.ts → settings-off.ts} +0 -0
- /package/src/icons/ast/{Settings.ts → settings.ts} +0 -0
- /package/src/icons/ast/{Share.ts → share.ts} +0 -0
- /package/src/icons/ast/{Shared.ts → shared.ts} +0 -0
- /package/src/icons/ast/{ShieldKeyhole.ts → shield-keyhole.ts} +0 -0
- /package/src/icons/ast/{ShowAuthor.ts → show-author.ts} +0 -0
- /package/src/icons/ast/{SidebarFieldsOpened.ts → sidebar-fields-opened.ts} +0 -0
- /package/src/icons/ast/{SidebarFields.ts → sidebar-fields.ts} +0 -0
- /package/src/icons/ast/{Sidebar.ts → sidebar.ts} +0 -0
- /package/src/icons/ast/{SimpleCompass.ts → simple-compass.ts} +0 -0
- /package/src/icons/ast/{SlackIcon.ts → slack-icon.ts} +0 -0
- /package/src/icons/ast/{Slack.ts → slack.ts} +0 -0
- /package/src/icons/ast/{SlideMenuClose.ts → slide-menu-close.ts} +0 -0
- /package/src/icons/ast/{SlideMenuFilled.ts → slide-menu-filled.ts} +0 -0
- /package/src/icons/ast/{SlideMenuOpen.ts → slide-menu-open.ts} +0 -0
- /package/src/icons/ast/{SlideMenu.ts → slide-menu.ts} +0 -0
- /package/src/icons/ast/{SmartFolder.ts → smart-folder.ts} +0 -0
- /package/src/icons/ast/{SortOnBottom.ts → sort-on-bottom.ts} +0 -0
- /package/src/icons/ast/{SortOnTop.ts → sort-on-top.ts} +0 -0
- /package/src/icons/ast/{Sort.ts → sort.ts} +0 -0
- /package/src/icons/ast/{SpaceApp.ts → space-app.ts} +0 -0
- /package/src/icons/ast/{SpaceGenerate.ts → space-generate.ts} +0 -0
- /package/src/icons/ast/{SpaceList.ts → space-list.ts} +0 -0
- /package/src/icons/ast/{SpaceScratch.ts → space-scratch.ts} +0 -0
- /package/src/icons/ast/{SpaceTemplate.ts → space-template.ts} +0 -0
- /package/src/icons/ast/{Spinner.ts → spinner.ts} +0 -0
- /package/src/icons/ast/{Success.ts → success.ts} +0 -0
- /package/src/icons/ast/{SuggestIntegration.ts → suggest-integration.ts} +0 -0
- /package/src/icons/ast/{SwitchToMention.ts → switch-to-mention.ts} +0 -0
- /package/src/icons/ast/{SwitchToText.ts → switch-to-text.ts} +0 -0
- /package/src/icons/ast/{SwitchToWidget.ts → switch-to-widget.ts} +0 -0
- /package/src/icons/ast/{TableLayout.ts → table-layout.ts} +0 -0
- /package/src/icons/ast/{Template.ts → template.ts} +0 -0
- /package/src/icons/ast/{TemplatesFilled.ts → templates-filled.ts} +0 -0
- /package/src/icons/ast/{Templates.ts → templates.ts} +0 -0
- /package/src/icons/ast/{Terminal.ts → terminal.ts} +0 -0
- /package/src/icons/ast/{TextNoWrap.ts → text-no-wrap.ts} +0 -0
- /package/src/icons/ast/{TextToolAlignBottom.ts → text-tool-align-bottom.ts} +0 -0
- /package/src/icons/ast/{TextToolAlignMiddle.ts → text-tool-align-middle.ts} +0 -0
- /package/src/icons/ast/{TextToolAlignTop.ts → text-tool-align-top.ts} +0 -0
- /package/src/icons/ast/{TextWrap.ts → text-wrap.ts} +0 -0
- /package/src/icons/ast/{ThumbsDown.ts → thumbs-down.ts} +0 -0
- /package/src/icons/ast/{ThumbsUp.ts → thumbs-up.ts} +0 -0
- /package/src/icons/ast/{Toc.ts → toc.ts} +0 -0
- /package/src/icons/ast/{Twitter.ts → twitter.ts} +0 -0
- /package/src/icons/ast/{TypeBoolean.ts → type-boolean.ts} +0 -0
- /package/src/icons/ast/{TypeButton.ts → type-button.ts} +0 -0
- /package/src/icons/ast/{TypeCheckbox.ts → type-checkbox.ts} +0 -0
- /package/src/icons/ast/{TypeDate.ts → type-date.ts} +0 -0
- /package/src/icons/ast/{TypeEmail.ts → type-email.ts} +0 -0
- /package/src/icons/ast/{TypeEmoji.ts → type-emoji.ts} +0 -0
- /package/src/icons/ast/{TypeFormula.ts → type-formula.ts} +0 -0
- /package/src/icons/ast/{TypeFunction.ts → type-function.ts} +0 -0
- /package/src/icons/ast/{TypeId.ts → type-id.ts} +0 -0
- /package/src/icons/ast/{TypeLocation.ts → type-location.ts} +0 -0
- /package/src/icons/ast/{TypeLookup.ts → type-lookup.ts} +0 -0
- /package/src/icons/ast/{TypeMoney.ts → type-money.ts} +0 -0
- /package/src/icons/ast/{TypeMultiSelect.ts → type-multi-select.ts} +0 -0
- /package/src/icons/ast/{TypeNumber.ts → type-number.ts} +0 -0
- /package/src/icons/ast/{TypePercent.ts → type-percent.ts} +0 -0
- /package/src/icons/ast/{TypePhone.ts → type-phone.ts} +0 -0
- /package/src/icons/ast/{TypeRelation.ts → type-relation.ts} +0 -0
- /package/src/icons/ast/{TypeRichText.ts → type-rich-text.ts} +0 -0
- /package/src/icons/ast/{TypeRule.ts → type-rule.ts} +0 -0
- /package/src/icons/ast/{TypeSingleSelect.ts → type-single-select.ts} +0 -0
- /package/src/icons/ast/{TypeText.ts → type-text.ts} +0 -0
- /package/src/icons/ast/{TypeUrl.ts → type-url.ts} +0 -0
- /package/src/icons/ast/{UnitsAvatar.ts → units-avatar.ts} +0 -0
- /package/src/icons/ast/{UnitsCollection.ts → units-collection.ts} +0 -0
- /package/src/icons/ast/{UnitsCounter.ts → units-counter.ts} +0 -0
- /package/src/icons/ast/{UnitsDate.ts → units-date.ts} +0 -0
- /package/src/icons/ast/{UnitsDbBadgeAbbr.ts → units-db-badge-abbr.ts} +0 -0
- /package/src/icons/ast/{UnitsDbBadgeFull.ts → units-db-badge-full.ts} +0 -0
- /package/src/icons/ast/{UnitsDbIcon.ts → units-db-icon.ts} +0 -0
- /package/src/icons/ast/{UnitsFieldIconButton.ts → units-field-icon-button.ts} +0 -0
- /package/src/icons/ast/{UnitsField.ts → units-field.ts} +0 -0
- /package/src/icons/ast/{UnitsInput.ts → units-input.ts} +0 -0
- /package/src/icons/ast/{UnitsProgressBar.ts → units-progress-bar.ts} +0 -0
- /package/src/icons/ast/{UnitsRichText.ts → units-rich-text.ts} +0 -0
- /package/src/icons/ast/{UnitsSnippet.ts → units-snippet.ts} +0 -0
- /package/src/icons/ast/{Unlink.ts → unlink.ts} +0 -0
- /package/src/icons/ast/{UnlockFilled.ts → unlock-filled.ts} +0 -0
- /package/src/icons/ast/{UnlockOutline.ts → unlock-outline.ts} +0 -0
- /package/src/icons/ast/{Upgrade.ts → upgrade.ts} +0 -0
- /package/src/icons/ast/{UsbFlashDrive.ts → usb-flash-drive.ts} +0 -0
- /package/src/icons/ast/{UserCheck.ts → user-check.ts} +0 -0
- /package/src/icons/ast/{UserGroupRemove.ts → user-group-remove.ts} +0 -0
- /package/src/icons/ast/{UserGroup.ts → user-group.ts} +0 -0
- /package/src/icons/ast/{UserRole.ts → user-role.ts} +0 -0
- /package/src/icons/ast/{UserX.ts → user-x.ts} +0 -0
- /package/src/icons/ast/{ValueEdit.ts → value-edit.ts} +0 -0
- /package/src/icons/ast/{ViewAi.ts → view-ai.ts} +0 -0
- /package/src/icons/ast/{ViewBoard.ts → view-board.ts} +0 -0
- /package/src/icons/ast/{ViewCalendar.ts → view-calendar.ts} +0 -0
- /package/src/icons/ast/{ViewCanvas.ts → view-canvas.ts} +0 -0
- /package/src/icons/ast/{ViewChart.ts → view-chart.ts} +0 -0
- /package/src/icons/ast/{ViewDashboard.ts → view-dashboard.ts} +0 -0
- /package/src/icons/ast/{ViewDetails.ts → view-details.ts} +0 -0
- /package/src/icons/ast/{ViewDocument.ts → view-document.ts} +0 -0
- /package/src/icons/ast/{ViewEmbed.ts → view-embed.ts} +0 -0
- /package/src/icons/ast/{ViewFeed.ts → view-feed.ts} +0 -0
- /package/src/icons/ast/{ViewForm.ts → view-form.ts} +0 -0
- /package/src/icons/ast/{ViewGallery.ts → view-gallery.ts} +0 -0
- /package/src/icons/ast/{ViewGantt.ts → view-gantt.ts} +0 -0
- /package/src/icons/ast/{ViewList.ts → view-list.ts} +0 -0
- /package/src/icons/ast/{ViewMap.ts → view-map.ts} +0 -0
- /package/src/icons/ast/{ViewPage.ts → view-page.ts} +0 -0
- /package/src/icons/ast/{ViewTable.ts → view-table.ts} +0 -0
- /package/src/icons/ast/{ViewTimeline.ts → view-timeline.ts} +0 -0
- /package/src/icons/ast/{Views.ts → views.ts} +0 -0
- /package/src/icons/ast/{WarningTriangleFilled.ts → warning-triangle-filled.ts} +0 -0
- /package/src/icons/ast/{WarningTriangle.ts → warning-triangle.ts} +0 -0
- /package/src/icons/ast/{Warning.ts → warning.ts} +0 -0
- /package/src/icons/ast/{Webhooks.ts → webhooks.ts} +0 -0
- /package/src/icons/ast/{Windows.ts → windows.ts} +0 -0
- /package/src/icons/ast/{WorkspaceMap.ts → workspace-map.ts} +0 -0
- /package/src/icons/ast/{Youtube.ts → youtube.ts} +0 -0
- /package/src/icons/ast/{ZoomIn.ts → zoom-in.ts} +0 -0
- /package/src/icons/ast/{ZoomOut.ts → zoom-out.ts} +0 -0
- /package/src/{is-iOS.ts → is-ios.ts} +0 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import {a11yColor} from "../a11y-color";
|
|
2
|
+
import {colorFromLcCompensated, lightnessFromLc} from "../apca";
|
|
3
|
+
import {produceColor, colorFromUnsafe, oklchFrom} from "../color-utils";
|
|
4
|
+
import {memoizeColor} from "../memoize";
|
|
5
|
+
import {alpha, type AlphaValue} from "./alpha";
|
|
6
|
+
import {getDarkenColor} from "./colors-js";
|
|
7
|
+
import {mapDef} from "./def";
|
|
8
|
+
import {makeEnumFn} from "./fns.enum";
|
|
9
|
+
import {makeIconFn} from "./fns.icon";
|
|
10
|
+
import type {Def, EnumDefs, ModeDef} from "./types";
|
|
11
|
+
|
|
12
|
+
function makeAdaptiveSide(
|
|
13
|
+
surface: string,
|
|
14
|
+
bgContrast = 1,
|
|
15
|
+
fgContrast = 3,
|
|
16
|
+
[bg, focus, hover, fg]: [bg: AlphaValue, focus: AlphaValue, hover: AlphaValue, fg: AlphaValue]
|
|
17
|
+
) {
|
|
18
|
+
return {
|
|
19
|
+
bg: (color: string) => a11yColor(alpha(color, bg), surface, bgContrast),
|
|
20
|
+
bgHover: (color: string) => a11yColor(alpha(color, focus), surface, bgContrast),
|
|
21
|
+
bgFocus: (color: string) => a11yColor(alpha(color, hover), surface, bgContrast),
|
|
22
|
+
fg: (color: string) => a11yColor(alpha(color, fg), surface, fgContrast),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export const makeAdapt = (surface: Def, fgContrasts: [light: number, dark: number] = [3, 5]) => {
|
|
27
|
+
const light = makeAdaptiveSide(surface[0], 1, fgContrasts[0], [0.15, 0.25, 0.4, 0.95]);
|
|
28
|
+
const dark = makeAdaptiveSide(surface[1], 1.3, fgContrasts[1], [0.3, 0.4, 0.6, 0.95]);
|
|
29
|
+
return [light, dark] satisfies ModeDef<ReturnType<typeof makeAdaptiveSide>>;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export function createColorFns(
|
|
33
|
+
deneutralizeFilterDef: ModeDef<(color: string) => string>,
|
|
34
|
+
defs: {icon: Def; adapt: Def; callout: Def; highlight: Def; enum: EnumDefs; text: Def}
|
|
35
|
+
) {
|
|
36
|
+
const adapt = makeAdapt(defs.adapt);
|
|
37
|
+
|
|
38
|
+
const icon = makeIconFn(deneutralizeFilterDef, defs.adapt);
|
|
39
|
+
|
|
40
|
+
return {
|
|
41
|
+
deneutralize: deneutralizeFilterDef,
|
|
42
|
+
|
|
43
|
+
adapt,
|
|
44
|
+
|
|
45
|
+
badge: mapDef(deneutralizeFilterDef, (deneutralize, side) =>
|
|
46
|
+
memoizeColor(
|
|
47
|
+
(neutralColor: string | null) => {
|
|
48
|
+
const oklch = oklchFrom(colorFromUnsafe(neutralColor ?? defs.icon[side]));
|
|
49
|
+
const deneutralized = neutralColor ? deneutralize(neutralColor) : defs.icon[side];
|
|
50
|
+
const darken = getDarkenColor(deneutralized);
|
|
51
|
+
const bg = icon[side](neutralColor ?? defs.icon[side]).fg;
|
|
52
|
+
const fg = colorFromLcCompensated(bg, 90, oklch.c, oklch.h ?? 0, deneutralize);
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
fg,
|
|
56
|
+
bg,
|
|
57
|
+
border: bg,
|
|
58
|
+
borderSelected: darken, // TODO: used only in DB Settings -> Relations (to be removed)
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
(neutralColor) => neutralColor ?? ""
|
|
62
|
+
)
|
|
63
|
+
),
|
|
64
|
+
|
|
65
|
+
enum: makeEnumFn(deneutralizeFilterDef, defs.adapt, defs.enum),
|
|
66
|
+
|
|
67
|
+
icon,
|
|
68
|
+
|
|
69
|
+
callout: mapDef(deneutralizeFilterDef, (deneutralize, side) => {
|
|
70
|
+
const surface = defs.callout[side];
|
|
71
|
+
return memoizeColor((neutralColor: string) => {
|
|
72
|
+
const deneutralized = deneutralize(neutralColor);
|
|
73
|
+
const blended = a11yColor(alpha(deneutralized, side === 0 ? 0.1 : 0.3), surface, side === 0 ? 1 : 1.3);
|
|
74
|
+
return {
|
|
75
|
+
bg: produceColor(blended, ({l, c, h}) => {
|
|
76
|
+
const lFloor = lightnessFromLc(surface, 2, c, h);
|
|
77
|
+
const lCap = lightnessFromLc(surface, 20, c, h);
|
|
78
|
+
const [lo, hi] = side === 0 ? [lCap, lFloor] : [lFloor, lCap];
|
|
79
|
+
return {mode: "oklch", l: Math.max(lo, Math.min(hi, l)), c, h};
|
|
80
|
+
}),
|
|
81
|
+
fg: adapt[side].fg(deneutralized),
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
}),
|
|
85
|
+
|
|
86
|
+
highlight: mapDef(deneutralizeFilterDef, (deneutralize, side) => {
|
|
87
|
+
const surface = defs.highlight[side];
|
|
88
|
+
return memoizeColor((neutralColor: string) => {
|
|
89
|
+
const adjusted = deneutralize(neutralColor);
|
|
90
|
+
return {
|
|
91
|
+
bg: produceColor(adjusted, (oklch) => ({
|
|
92
|
+
...oklch,
|
|
93
|
+
l: lightnessFromLc(surface, side === 0 ? 28 : 65, oklch.c, oklch.h),
|
|
94
|
+
alpha: side === 0 ? 0.3 : 0.4,
|
|
95
|
+
})),
|
|
96
|
+
bgDecor: produceColor(adjusted, (oklch) => ({
|
|
97
|
+
...oklch,
|
|
98
|
+
l: Math.max(0, lightnessFromLc(surface, side === 0 ? 35 : 65, oklch.c, oklch.h) - (side === 1 ? 0.036 : 0)),
|
|
99
|
+
alpha: 0.9,
|
|
100
|
+
})),
|
|
101
|
+
};
|
|
102
|
+
});
|
|
103
|
+
}),
|
|
104
|
+
} as const satisfies ThemeFnsDef;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
type ColorFn = (color: string) => unknown;
|
|
108
|
+
type ThemeFnDef = ModeDef<Record<string, ColorFn> | ColorFn>;
|
|
109
|
+
type ThemeFnsDef = Record<string, ThemeFnDef>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {stylesFromTheme, Theme, themeFromPalette} from "./theme";
|
|
2
|
-
import {themeModes} from "../theme-settings";
|
|
3
1
|
import {selectPalette} from "../palette-generator";
|
|
2
|
+
import {themeModes} from "../theme-settings";
|
|
3
|
+
import type {Theme} from "./theme";
|
|
4
|
+
import {stylesFromTheme, themeFromPalette} from "./theme";
|
|
4
5
|
|
|
5
6
|
test("makeTheme memoization", () => {
|
|
6
7
|
function getKeys(colors: Theme["colors"]) {
|
|
@@ -24,14 +25,14 @@ test("makeTheme memoization", () => {
|
|
|
24
25
|
describe("makeThemeStyles", () => {
|
|
25
26
|
it("maps provided theme to css props", () => {
|
|
26
27
|
const colors = {
|
|
27
|
-
mode: "
|
|
28
|
+
mode: "light",
|
|
28
29
|
transparent: "rgba(255, 255, 255, 0)",
|
|
29
30
|
colorAI: "rgb(157, 99, 212)",
|
|
30
31
|
} satisfies Partial<Theme["colors"]> as Theme["colors"];
|
|
31
|
-
expect(stylesFromTheme({key: "key", colors})).toMatchInlineSnapshot(`
|
|
32
|
+
expect(stylesFromTheme({key: "key", colors}, "fibery")).toMatchInlineSnapshot(`
|
|
32
33
|
{
|
|
33
34
|
"--fibery-color-colorAI": "rgb(157, 99, 212)",
|
|
34
|
-
"--fibery-color-mode": "
|
|
35
|
+
"--fibery-color-mode": "light",
|
|
35
36
|
"--fibery-color-transparent": "rgba(255, 255, 255, 0)",
|
|
36
37
|
}
|
|
37
38
|
`);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {ThemeMode} from "../theme-settings";
|
|
3
|
-
import {selectPalette} from "../palette-generator";
|
|
4
|
-
import memoize from "lodash/memoize";
|
|
5
|
-
import {varPrefix, varsFromTheme} from "./vars";
|
|
1
|
+
import {memoize} from "@fibery/helpers/src/_";
|
|
6
2
|
import {typedObjectEntries} from "@fibery/helpers/utils/object";
|
|
3
|
+
import {LRUCache} from "lru-cache";
|
|
4
|
+
|
|
5
|
+
import type {ThemeMode} from "../theme-settings";
|
|
6
|
+
import type {ThemeDefs} from "./colors";
|
|
7
|
+
import {defsFromPalette, sideFromDefs} from "./colors";
|
|
7
8
|
import {makeSelect} from "./colors-js";
|
|
8
9
|
import type {ThemePalette} from "./types";
|
|
9
|
-
import {LRUCache} from "lru-cache";
|
|
10
10
|
|
|
11
11
|
// intentionally non-memoized implementation detail for theme-styles use-case
|
|
12
12
|
export function themeFromDefs(defs: ThemeDefs, mode: ThemeMode) {
|
|
@@ -30,19 +30,17 @@ function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode) {
|
|
|
30
30
|
export const themeFromPalette = memoize(themeFromPaletteImpl, (palette, mode) => `${palette.key}-${mode}`);
|
|
31
31
|
themeFromPalette.cache = new LRUCache({max: 4});
|
|
32
32
|
|
|
33
|
-
export const themeVars = varsFromTheme(themeFromPalette(selectPalette(), "light"));
|
|
34
|
-
|
|
35
33
|
export type Styles = Record<string, string>;
|
|
36
34
|
|
|
37
|
-
function stylesFromThemeImpl({colors: themes}: Pick<Theme, "colors"
|
|
35
|
+
function stylesFromThemeImpl({colors: themes}: Pick<Theme, "colors">, prefix: string): Styles {
|
|
38
36
|
return typedObjectEntries(themes).reduce<Styles>((inlineTheme, [key, value]) => {
|
|
39
|
-
inlineTheme[`--${
|
|
37
|
+
inlineTheme[`--${prefix}-color-${key}`] = value;
|
|
40
38
|
return inlineTheme;
|
|
41
39
|
}, {});
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
export const stylesFromTheme = memoize(
|
|
45
|
-
(theme: Pick<Theme, "key" | "colors"
|
|
46
|
-
(theme) => theme.key
|
|
43
|
+
(theme: Pick<Theme, "key" | "colors">, prefix: string) => stylesFromThemeImpl(theme, prefix),
|
|
44
|
+
(theme, prefix) => `${theme.key}#${prefix}`
|
|
47
45
|
);
|
|
48
|
-
stylesFromTheme.cache = new LRUCache({max:
|
|
46
|
+
stylesFromTheme.cache = new LRUCache({max: 8});
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type {ColorFilterSpec} from "../color-filter";
|
|
2
2
|
|
|
3
|
-
export type ModeDef<T> = [light: T, dark: T];
|
|
3
|
+
export type ModeDef<T> = readonly [light: T, dark: T];
|
|
4
4
|
|
|
5
5
|
export type Def = ModeDef<string>; // ColorModeDef?
|
|
6
6
|
export type Defs = Record<string, Def>; // ColorModeDefs?
|
|
7
7
|
|
|
8
|
+
export type DefMapper = (def: Def) => Def;
|
|
9
|
+
|
|
8
10
|
export type OneBasedScale<T> = readonly [
|
|
9
11
|
base00: null,
|
|
10
12
|
step01: T,
|
|
@@ -69,17 +71,25 @@ export type HighlightDefs = HighlightIntensityDefs & {
|
|
|
69
71
|
overrides?: Partial<Record<HighlightHueName, Partial<HighlightIntensityOverrides>>>;
|
|
70
72
|
};
|
|
71
73
|
|
|
74
|
+
export type EnumDefs = {
|
|
75
|
+
bg: ModeDef<{swatchAlpha: number; minC: number; surfaceLc: number; colorCodingLc: number}>;
|
|
76
|
+
fg: {swatchAlpha: number};
|
|
77
|
+
};
|
|
78
|
+
|
|
72
79
|
export type ThemePaletteBase = {
|
|
73
80
|
highlight: HighlightDefs;
|
|
81
|
+
enum: EnumDefs;
|
|
74
82
|
};
|
|
75
83
|
|
|
76
84
|
export type ThemePaletteCore = ThemePaletteBase & {
|
|
77
85
|
deneutralize?: ModeDef<ColorFilterSpec>;
|
|
78
86
|
|
|
79
|
-
white: string;
|
|
80
|
-
black: string;
|
|
81
87
|
whiteA: ColorScale;
|
|
88
|
+
white: string;
|
|
89
|
+
|
|
82
90
|
blackA: ColorScale;
|
|
91
|
+
blackish: string;
|
|
92
|
+
black: string;
|
|
83
93
|
|
|
84
94
|
base: ColorScale;
|
|
85
95
|
baseDark: ColorScale;
|
|
@@ -92,6 +102,12 @@ export type ThemePaletteCore = ThemePaletteBase & {
|
|
|
92
102
|
|
|
93
103
|
yellow: ColorScale;
|
|
94
104
|
yellowDark: ColorScale;
|
|
105
|
+
|
|
106
|
+
purple_9_: string;
|
|
107
|
+
purpleDark_9_: string;
|
|
108
|
+
|
|
109
|
+
blue_9_: string;
|
|
110
|
+
blueDark_9_: string;
|
|
95
111
|
};
|
|
96
112
|
|
|
97
113
|
type ThemePaletteKeyless = ThemePaletteCore & {
|
|
@@ -99,4 +115,4 @@ type ThemePaletteKeyless = ThemePaletteCore & {
|
|
|
99
115
|
accentDark: ColorScale;
|
|
100
116
|
};
|
|
101
117
|
|
|
102
|
-
export type ThemePalette = ThemePaletteKeyless & {key: string};
|
|
118
|
+
export type ThemePalette = ThemePaletteKeyless & {key: string; swatchDefault: string};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {css} from "@linaria/core";
|
|
2
|
+
|
|
3
|
+
import {themeVars} from "../theming";
|
|
2
4
|
import {transition} from "./animation";
|
|
3
5
|
import {border} from "./layout";
|
|
4
6
|
|
|
@@ -10,27 +12,24 @@ export const lineHeight = {
|
|
|
10
12
|
nowrap: 1,
|
|
11
13
|
} as const;
|
|
12
14
|
|
|
13
|
-
export const typeSizes = [30, 24, 18, 16, 14, 12, 10, 8] as const;
|
|
14
|
-
|
|
15
|
-
// 300 basic, 310 experiment with a variable Inter
|
|
16
15
|
export const fontSize = {
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
"3xl": 30,
|
|
17
|
+
"2xl": 24,
|
|
19
18
|
lg: 18,
|
|
20
|
-
md: 16,
|
|
21
|
-
sm: 15,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
micro: 9,
|
|
28
|
-
nano: 8,
|
|
19
|
+
md: 16, // base in tailwind
|
|
20
|
+
"sm+": 15,
|
|
21
|
+
sm: 14,
|
|
22
|
+
"xs+": 13,
|
|
23
|
+
xs: 12,
|
|
24
|
+
"2xs": 11,
|
|
25
|
+
"3xs": 10,
|
|
29
26
|
} as const;
|
|
30
27
|
|
|
31
28
|
export const fontFamily =
|
|
32
29
|
'"Inter Variable", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif';
|
|
33
30
|
|
|
31
|
+
export const fontFamilyCode = '"SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace';
|
|
32
|
+
|
|
34
33
|
export const fontWeight = {
|
|
35
34
|
light: 310, // 300 basic, 310 experiment with a variable Inter
|
|
36
35
|
regular: 410, // 400 basic, 410 experiment with a variable Inter
|
|
@@ -40,10 +39,177 @@ export const fontWeight = {
|
|
|
40
39
|
bold: 700,
|
|
41
40
|
} as const;
|
|
42
41
|
|
|
42
|
+
/** @deprecated use tabularNumsClasses */
|
|
43
|
+
export const tabularNumsOn = {
|
|
44
|
+
fontVariantNumeric: "tabular-nums",
|
|
45
|
+
fontFeatureSettings: '"tnum" 1',
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
/** @deprecated use tabularNumsClasses */
|
|
49
|
+
export const tabularNumsOff = {
|
|
50
|
+
fontVariantNumeric: "normal",
|
|
51
|
+
fontFeatureSettings: '"tnum" 0',
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
export const tabularNumsClasses = {
|
|
55
|
+
on: css`
|
|
56
|
+
font-variant-numeric: tabular-nums;
|
|
57
|
+
font-feature-settings: "tnum" 1;
|
|
58
|
+
`,
|
|
59
|
+
off: css`
|
|
60
|
+
font-variant-numeric: normal;
|
|
61
|
+
font-feature-settings: "tnum" 0;
|
|
62
|
+
`,
|
|
63
|
+
} as const;
|
|
64
|
+
|
|
65
|
+
export const textClasses = {
|
|
66
|
+
heading1: css`
|
|
67
|
+
font-family: ${fontFamily};
|
|
68
|
+
font-size: ${fontSize["3xl"]}px;
|
|
69
|
+
letter-spacing: -0.01em;
|
|
70
|
+
line-height: ${lineHeight.heading};
|
|
71
|
+
font-weight: ${fontWeight.semibold};
|
|
72
|
+
color: ${themeVars.textColor};
|
|
73
|
+
`,
|
|
74
|
+
heading2: css`
|
|
75
|
+
font-family: ${fontFamily};
|
|
76
|
+
font-size: ${fontSize["2xl"]}px;
|
|
77
|
+
letter-spacing: -0.002em;
|
|
78
|
+
line-height: ${lineHeight.heading};
|
|
79
|
+
font-weight: ${fontWeight.semibold};
|
|
80
|
+
color: ${themeVars.textColor};
|
|
81
|
+
`,
|
|
82
|
+
heading3: css`
|
|
83
|
+
font-family: ${fontFamily};
|
|
84
|
+
font-size: ${fontSize.lg}px;
|
|
85
|
+
letter-spacing: -0.002em;
|
|
86
|
+
line-height: ${lineHeight.heading};
|
|
87
|
+
font-weight: ${fontWeight.semibold};
|
|
88
|
+
color: ${themeVars.textColor};
|
|
89
|
+
`,
|
|
90
|
+
heading4: css`
|
|
91
|
+
font-family: ${fontFamily};
|
|
92
|
+
font-size: ${fontSize.md}px;
|
|
93
|
+
line-height: ${lineHeight.heading};
|
|
94
|
+
font-weight: ${fontWeight.semibold};
|
|
95
|
+
color: ${themeVars.textColor};
|
|
96
|
+
`,
|
|
97
|
+
heading5: css`
|
|
98
|
+
font-family: ${fontFamily};
|
|
99
|
+
font-size: ${fontSize.sm}px;
|
|
100
|
+
line-height: ${lineHeight.heading};
|
|
101
|
+
font-weight: ${fontWeight.semibold};
|
|
102
|
+
color: ${themeVars.textColor};
|
|
103
|
+
`,
|
|
104
|
+
heading6: css`
|
|
105
|
+
font-family: ${fontFamily};
|
|
106
|
+
font-size: ${fontSize.xs}px;
|
|
107
|
+
line-height: ${lineHeight.heading};
|
|
108
|
+
letter-spacing: 0.6px;
|
|
109
|
+
text-transform: uppercase;
|
|
110
|
+
font-weight: ${fontWeight.regular};
|
|
111
|
+
color: ${themeVars.textColor};
|
|
112
|
+
`,
|
|
113
|
+
heading7: css`
|
|
114
|
+
font-family: ${fontFamily};
|
|
115
|
+
font-size: ${fontSize["3xs"]}px;
|
|
116
|
+
line-height: ${lineHeight.heading};
|
|
117
|
+
letter-spacing: 0.6px;
|
|
118
|
+
text-transform: uppercase;
|
|
119
|
+
font-weight: ${fontWeight.regular};
|
|
120
|
+
color: ${themeVars.textColor};
|
|
121
|
+
`,
|
|
122
|
+
heading8: css`
|
|
123
|
+
font-family: ${fontFamily};
|
|
124
|
+
font-size: ${fontSize["3xs"]}px;
|
|
125
|
+
line-height: ${lineHeight.heading};
|
|
126
|
+
font-weight: ${fontWeight.medium};
|
|
127
|
+
color: ${themeVars.textColor};
|
|
128
|
+
`,
|
|
129
|
+
big: css`
|
|
130
|
+
font-family: ${fontFamily};
|
|
131
|
+
font-size: ${fontSize.md}px;
|
|
132
|
+
line-height: ${lineHeight.regular};
|
|
133
|
+
font-weight: ${fontWeight.regular};
|
|
134
|
+
color: ${themeVars.textColor};
|
|
135
|
+
`,
|
|
136
|
+
regular: css`
|
|
137
|
+
font-family: ${fontFamily};
|
|
138
|
+
font-size: ${fontSize.sm}px;
|
|
139
|
+
line-height: ${lineHeight.regular};
|
|
140
|
+
font-weight: ${fontWeight.regular};
|
|
141
|
+
color: ${themeVars.textColor};
|
|
142
|
+
text-transform: none;
|
|
143
|
+
letter-spacing: normal;
|
|
144
|
+
`,
|
|
145
|
+
small: css`
|
|
146
|
+
font-family: ${fontFamily};
|
|
147
|
+
font-size: ${fontSize.xs}px;
|
|
148
|
+
line-height: ${lineHeight.regular};
|
|
149
|
+
font-weight: ${fontWeight.regular};
|
|
150
|
+
color: ${themeVars.textColor};
|
|
151
|
+
text-transform: none;
|
|
152
|
+
`,
|
|
153
|
+
code: css`
|
|
154
|
+
font-family: "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace;
|
|
155
|
+
font-size: ${fontSize.sm}px;
|
|
156
|
+
line-height: ${lineHeight.regular};
|
|
157
|
+
font-weight: ${fontWeight.regular};
|
|
158
|
+
color: ${themeVars.textColor};
|
|
159
|
+
`,
|
|
160
|
+
link: css`
|
|
161
|
+
color: ${themeVars.linkColor};
|
|
162
|
+
border-bottom: ${themeVars.linkBorder};
|
|
163
|
+
text-decoration: none;
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
transition: border ${transition};
|
|
166
|
+
`,
|
|
167
|
+
note: css`
|
|
168
|
+
font-family: ${fontFamily};
|
|
169
|
+
font-size: ${fontSize.md}px;
|
|
170
|
+
line-height: ${lineHeight.regular};
|
|
171
|
+
font-weight: ${fontWeight.regular};
|
|
172
|
+
color: ${themeVars.textColor};
|
|
173
|
+
border-radius: ${border.radius6}px;
|
|
174
|
+
`,
|
|
175
|
+
important: css`
|
|
176
|
+
font-family: ${fontFamily};
|
|
177
|
+
font-size: ${fontSize.md}px;
|
|
178
|
+
line-height: ${lineHeight.regular};
|
|
179
|
+
font-weight: ${fontWeight.regular};
|
|
180
|
+
color: ${themeVars.textColor};
|
|
181
|
+
border: 1px solid ${themeVars.active};
|
|
182
|
+
border-radius: ${border.radius6}px;
|
|
183
|
+
`,
|
|
184
|
+
inherit: css`
|
|
185
|
+
font-family: inherit;
|
|
186
|
+
font-size: inherit;
|
|
187
|
+
line-height: inherit;
|
|
188
|
+
font-weight: inherit;
|
|
189
|
+
color: inherit;
|
|
190
|
+
`,
|
|
191
|
+
} as const;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @deprecated Prefer `textClasses` (className form) applied via `cx()` at the JSX boundary.
|
|
195
|
+
*
|
|
196
|
+
* Migration:
|
|
197
|
+
* - `<X className={cx(textClasses.heading4, ...)} />` instead of `style={textStyles.heading4}`
|
|
198
|
+
* or `${{...textStyles.heading4}}` interpolation in a css`` template.
|
|
199
|
+
*
|
|
200
|
+
* `textStyles` (object form) is retained ONLY for nested CSS-in-JS selectors where className
|
|
201
|
+
* composition is impossible: `"& p": {...textStyles.X}`, `"::placeholder": {...textStyles.X}`,
|
|
202
|
+
* `"&:hover": textStyles.link`, etc — typically rich-text / editor-rendered content where
|
|
203
|
+
* descendants are not React JSX. For mobile-conditional `${mobileRootSelector} & { ... }`,
|
|
204
|
+
* use `useIsPhone()` + `cx(isPhone && textClasses.X, ...)` at JSX instead.
|
|
205
|
+
*
|
|
206
|
+
* Reusing object form via spread evaluates the entry on every css`` it appears in, slowing
|
|
207
|
+
* linaria compilation. Each new usage compounds the cost.
|
|
208
|
+
*/
|
|
43
209
|
export const textStyles = {
|
|
44
210
|
heading1: {
|
|
45
211
|
fontFamily,
|
|
46
|
-
fontSize:
|
|
212
|
+
fontSize: fontSize["3xl"],
|
|
47
213
|
letterSpacing: "-0.01em",
|
|
48
214
|
lineHeight: lineHeight.heading,
|
|
49
215
|
fontWeight: fontWeight.semibold,
|
|
@@ -51,7 +217,7 @@ export const textStyles = {
|
|
|
51
217
|
},
|
|
52
218
|
heading2: {
|
|
53
219
|
fontFamily,
|
|
54
|
-
fontSize:
|
|
220
|
+
fontSize: fontSize["2xl"],
|
|
55
221
|
letterSpacing: "-0.002em",
|
|
56
222
|
lineHeight: lineHeight.heading,
|
|
57
223
|
fontWeight: fontWeight.semibold,
|
|
@@ -59,7 +225,7 @@ export const textStyles = {
|
|
|
59
225
|
},
|
|
60
226
|
heading3: {
|
|
61
227
|
fontFamily,
|
|
62
|
-
fontSize:
|
|
228
|
+
fontSize: fontSize.lg,
|
|
63
229
|
letterSpacing: "-0.002em",
|
|
64
230
|
lineHeight: lineHeight.heading,
|
|
65
231
|
fontWeight: fontWeight.semibold,
|
|
@@ -67,21 +233,21 @@ export const textStyles = {
|
|
|
67
233
|
},
|
|
68
234
|
heading4: {
|
|
69
235
|
fontFamily,
|
|
70
|
-
fontSize:
|
|
236
|
+
fontSize: fontSize.md,
|
|
71
237
|
lineHeight: lineHeight.heading,
|
|
72
238
|
fontWeight: fontWeight.semibold,
|
|
73
239
|
color: themeVars.textColor,
|
|
74
240
|
},
|
|
75
241
|
heading5: {
|
|
76
242
|
fontFamily,
|
|
77
|
-
fontSize:
|
|
243
|
+
fontSize: fontSize.sm,
|
|
78
244
|
lineHeight: lineHeight.heading,
|
|
79
245
|
fontWeight: fontWeight.semibold,
|
|
80
246
|
color: themeVars.textColor,
|
|
81
247
|
},
|
|
82
248
|
heading6: {
|
|
83
249
|
fontFamily,
|
|
84
|
-
fontSize:
|
|
250
|
+
fontSize: fontSize.xs,
|
|
85
251
|
lineHeight: lineHeight.heading,
|
|
86
252
|
letterSpacing: 0.6,
|
|
87
253
|
textTransform: "uppercase",
|
|
@@ -90,7 +256,7 @@ export const textStyles = {
|
|
|
90
256
|
},
|
|
91
257
|
heading7: {
|
|
92
258
|
fontFamily,
|
|
93
|
-
fontSize:
|
|
259
|
+
fontSize: fontSize["3xs"],
|
|
94
260
|
lineHeight: lineHeight.heading,
|
|
95
261
|
letterSpacing: 0.6,
|
|
96
262
|
textTransform: "uppercase",
|
|
@@ -99,21 +265,21 @@ export const textStyles = {
|
|
|
99
265
|
},
|
|
100
266
|
heading8: {
|
|
101
267
|
fontFamily,
|
|
102
|
-
fontSize:
|
|
268
|
+
fontSize: fontSize["3xs"],
|
|
103
269
|
lineHeight: lineHeight.heading,
|
|
104
270
|
fontWeight: fontWeight.medium,
|
|
105
271
|
color: themeVars.textColor,
|
|
106
272
|
},
|
|
107
273
|
big: {
|
|
108
274
|
fontFamily,
|
|
109
|
-
fontSize:
|
|
275
|
+
fontSize: fontSize.md,
|
|
110
276
|
lineHeight: lineHeight.regular,
|
|
111
277
|
fontWeight: fontWeight.regular,
|
|
112
278
|
color: themeVars.textColor,
|
|
113
279
|
},
|
|
114
280
|
regular: {
|
|
115
281
|
fontFamily,
|
|
116
|
-
fontSize:
|
|
282
|
+
fontSize: fontSize.sm,
|
|
117
283
|
lineHeight: lineHeight.regular,
|
|
118
284
|
fontWeight: fontWeight.regular,
|
|
119
285
|
color: themeVars.textColor,
|
|
@@ -122,15 +288,15 @@ export const textStyles = {
|
|
|
122
288
|
},
|
|
123
289
|
small: {
|
|
124
290
|
fontFamily,
|
|
125
|
-
fontSize:
|
|
291
|
+
fontSize: fontSize.xs,
|
|
126
292
|
lineHeight: lineHeight.regular,
|
|
127
293
|
fontWeight: fontWeight.regular,
|
|
128
294
|
color: themeVars.textColor,
|
|
129
295
|
textTransform: "none",
|
|
130
296
|
},
|
|
131
297
|
code: {
|
|
132
|
-
fontFamily:
|
|
133
|
-
fontSize:
|
|
298
|
+
fontFamily: fontFamilyCode,
|
|
299
|
+
fontSize: fontSize.sm,
|
|
134
300
|
lineHeight: lineHeight.regular,
|
|
135
301
|
fontWeight: fontWeight.regular,
|
|
136
302
|
color: themeVars.textColor,
|
|
@@ -144,7 +310,7 @@ export const textStyles = {
|
|
|
144
310
|
},
|
|
145
311
|
note: {
|
|
146
312
|
fontFamily,
|
|
147
|
-
fontSize:
|
|
313
|
+
fontSize: fontSize.md,
|
|
148
314
|
lineHeight: lineHeight.regular,
|
|
149
315
|
fontWeight: fontWeight.regular,
|
|
150
316
|
color: themeVars.textColor,
|
|
@@ -152,23 +318,13 @@ export const textStyles = {
|
|
|
152
318
|
},
|
|
153
319
|
important: {
|
|
154
320
|
fontFamily,
|
|
155
|
-
fontSize:
|
|
321
|
+
fontSize: fontSize.md,
|
|
156
322
|
lineHeight: lineHeight.regular,
|
|
157
323
|
fontWeight: fontWeight.regular,
|
|
158
324
|
color: themeVars.textColor,
|
|
159
325
|
border: `1px solid ${themeVars.active}`,
|
|
160
326
|
borderRadius: border.radius6,
|
|
161
327
|
},
|
|
162
|
-
numeric: {
|
|
163
|
-
tabularOn: {
|
|
164
|
-
fontVariantNumeric: "tabular-nums",
|
|
165
|
-
fontFeatureSettings: '"tnum" 1',
|
|
166
|
-
},
|
|
167
|
-
tabularOff: {
|
|
168
|
-
fontVariantNumeric: "normal",
|
|
169
|
-
fontFeatureSettings: '"tnum" 0',
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
328
|
inherit: {
|
|
173
329
|
fontFamily: "inherit",
|
|
174
330
|
fontSize: "inherit",
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
+
import {cssFromUnsafe, getLuminance, produceColor, serializeHexVariadic} from "../color-utils";
|
|
2
|
+
import {selectPalette} from "../palette-generator";
|
|
1
3
|
import {themeFromPalette} from "./theme";
|
|
2
4
|
import {resolveColorArg, varsFromTheme} from "./vars";
|
|
3
|
-
import {selectPalette} from "../palette-generator";
|
|
4
|
-
import {cssFromUnsafe, getAlpha, getLuminance, produceColor, serializeHexVariadic} from "../color-utils";
|
|
5
5
|
|
|
6
6
|
test("varsFromTheme", () => {
|
|
7
7
|
const palette = selectPalette();
|
|
8
8
|
const theme = themeFromPalette(palette, "light");
|
|
9
|
-
const themeVars = varsFromTheme(theme);
|
|
9
|
+
const themeVars = varsFromTheme(theme, "fibery");
|
|
10
10
|
|
|
11
11
|
expect(themeVars.mainBg).toEqual("var(--fibery-color-mainBg)"); // var(--fibery-bg-main)
|
|
12
12
|
expect(themeVars.shadow100).toEqual("var(--fibery-color-shadow100)"); // var(--fibery-shadow(-?)100)
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
describe("resolveColorArg — CSS var guard", () => {
|
|
16
|
-
test(
|
|
17
|
-
expect(resolveColorArg(
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
test("undefined from unsafe external world is identity", () => {
|
|
21
|
-
expect(resolveColorArg(undefined, "test")).toBe(undefined);
|
|
16
|
+
test.each([null, undefined, {}, 1, NaN])("%o from unsafe external world is identity", (input) => {
|
|
17
|
+
expect(resolveColorArg(input, "test")).toBe(input);
|
|
22
18
|
});
|
|
23
19
|
|
|
24
20
|
it("passes through plain colors", () => {
|
|
@@ -28,7 +24,7 @@ describe("resolveColorArg — CSS var guard", () => {
|
|
|
28
24
|
});
|
|
29
25
|
|
|
30
26
|
it("resolves var() from DOM when available", () => {
|
|
31
|
-
const spy =
|
|
27
|
+
const spy = vi.spyOn(console, "warn").mockImplementation(() => {});
|
|
32
28
|
|
|
33
29
|
document.documentElement.style.setProperty("--fibery-color-accent", "#3e8897");
|
|
34
30
|
expect(resolveColorArg("var(--fibery-color-accent)", "test")).toBe("#3e8897");
|
|
@@ -38,7 +34,7 @@ describe("resolveColorArg — CSS var guard", () => {
|
|
|
38
34
|
});
|
|
39
35
|
|
|
40
36
|
it("returns original when DOM var is missing", () => {
|
|
41
|
-
const spy =
|
|
37
|
+
const spy = vi.spyOn(console, "warn").mockImplementation(() => {});
|
|
42
38
|
|
|
43
39
|
expect(resolveColorArg("var(--fibery-color-nonexistent)", "test")).toBe("var(--fibery-color-nonexistent)");
|
|
44
40
|
|
|
@@ -47,7 +43,7 @@ describe("resolveColorArg — CSS var guard", () => {
|
|
|
47
43
|
|
|
48
44
|
it("warns once per fn+var combo", () => {
|
|
49
45
|
document.documentElement.style.setProperty("--fibery-color-warnTest", "#000");
|
|
50
|
-
const spy =
|
|
46
|
+
const spy = vi.spyOn(console, "warn").mockImplementation(() => {});
|
|
51
47
|
resolveColorArg("var(--fibery-color-warnTest)", "warnFn");
|
|
52
48
|
resolveColorArg("var(--fibery-color-warnTest)", "warnFn");
|
|
53
49
|
expect(spy).toHaveBeenCalledTimes(1);
|
|
@@ -59,12 +55,11 @@ describe("resolveColorArg — CSS var guard", () => {
|
|
|
59
55
|
|
|
60
56
|
it("color-utils fns work end-to-end with var() input", () => {
|
|
61
57
|
document.documentElement.style.setProperty("--fibery-color-e2e", "#ff5400");
|
|
62
|
-
const spy =
|
|
58
|
+
const spy = vi.spyOn(console, "warn").mockImplementation(() => {});
|
|
63
59
|
|
|
64
60
|
expect(cssFromUnsafe("var(--fibery-color-e2e)")).toMatchInlineSnapshot(`"rgb(255, 84, 0)"`);
|
|
65
61
|
expect(getLuminance("var(--fibery-color-e2e)")).toBeGreaterThan(0);
|
|
66
|
-
expect(
|
|
67
|
-
expect(serializeHexVariadic("var(--fibery-color-e2e)")).toMatchInlineSnapshot(`"#ff5400"`);
|
|
62
|
+
expect(serializeHexVariadic("var(--fibery-color-e2e)")).toMatchInlineSnapshot(`"#FF5400"`);
|
|
68
63
|
expect(produceColor("var(--fibery-color-e2e)", [])).toMatchInlineSnapshot(`"rgb(255, 84, 0)"`);
|
|
69
64
|
|
|
70
65
|
spy.mockRestore();
|