@fibery/ui-kit 9.5.0 → 10.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/lib/a11y-color.d.ts +2 -3
- package/lib/abbreviate-name.d.ts +2 -3
- package/lib/action-badge.d.ts +2 -3
- package/lib/actions-menu/actions-menu-checkbox-item.d.ts +3 -4
- package/lib/actions-menu/actions-menu-confirmation.d.ts +3 -4
- package/lib/actions-menu/actions-menu-item.d.ts +6 -6
- package/lib/actions-menu/actions-menu-item.js +5 -9
- package/lib/actions-menu/actions-menu-item.wyw-in-js.css +2 -1
- package/lib/actions-menu/actions-menu-props.d.ts +2 -3
- package/lib/actions-menu/actions-menu-separator.d.ts +2 -3
- package/lib/actions-menu/actions-menu-sub-command-menu.d.ts +9 -10
- package/lib/actions-menu/actions-menu-sub-menu.d.ts +3 -4
- package/lib/actions-menu/actions-menu-toggle-item.d.ts +3 -4
- package/lib/actions-menu/actions-menu.d.ts +4 -4
- package/lib/actions-menu/async-actions-menu-item.d.ts +2 -3
- package/lib/actions-menu/context-actions-menu.d.ts +3 -3
- package/lib/actions-menu/contexts/actions-menu-context.d.ts +3 -4
- package/lib/actions-menu/contexts/actions-menu-dangerous-rows.d.ts +3 -3
- package/lib/actions-menu/index.d.ts +3 -3
- package/lib/actions-menu/utils/insert-separators.d.ts +2 -3
- package/lib/actions-panel.d.ts +2 -3
- package/lib/animated-height-container.d.ts +2 -3
- package/lib/animations.d.ts +4 -5
- package/lib/antd/ant-modal.d.ts +6 -6
- package/lib/antd/ant-upload.d.ts +7 -7
- package/lib/antd/auto-complete.d.ts +2 -3
- package/lib/antd/get-wrapper.d.ts +2 -3
- package/lib/antd/global-overrides.d.ts +2 -3
- package/lib/antd/global-overrides.wyw-in-js.css +1 -1
- package/lib/antd/index.d.ts +4 -5
- package/lib/antd/input-number.d.ts +2 -3
- package/lib/antd/input.d.ts +9 -9
- package/lib/antd/styles.d.ts +3 -4
- package/lib/antd/tabs.d.ts +3 -4
- package/lib/antd/tabs.wyw-in-js.css +1 -1
- package/lib/antd/utils.d.ts +4 -5
- package/lib/apca.d.ts +9 -10
- package/lib/app-icon-with-fallback.d.ts +5 -5
- package/lib/app-icon-wrapper.d.ts +3 -4
- package/lib/app-icon.d.ts +2 -3
- package/lib/app-mode.d.ts +8 -8
- package/lib/automation-avatar.d.ts +2 -3
- package/lib/autosize-input/number-input.d.ts +7 -0
- package/lib/autosize-input/number-input.js +83 -0
- package/lib/autosize-input/number-input.wyw-in-js.css +2 -0
- package/lib/{number-input → autosize-input}/styles.d.ts +8 -9
- package/lib/{number-input → autosize-input}/styles.js +6 -6
- package/lib/autosize-input/styles.wyw-in-js.css +4 -0
- package/lib/autosize-input/text-area.d.ts +7 -0
- package/lib/autosize-input/text-area.js +42 -0
- package/lib/autosize-input/text-area.wyw-in-js.css +1 -0
- package/lib/autosize-input/text-input.d.ts +8 -0
- package/lib/autosize-input/text-input.js +37 -0
- package/lib/autosize-input/z-stack.d.ts +8 -0
- package/lib/autosize-input/z-stack.js +14 -0
- package/lib/autosize-input/z-stack.wyw-in-js.css +1 -0
- package/lib/avatar-colors.d.ts +6 -7
- package/lib/avatar.d.ts +3 -3
- package/lib/axis-header.d.ts +4 -5
- package/lib/badge.d.ts +3 -4
- package/lib/badge.js +1 -1
- package/lib/badge.wyw-in-js.css +1 -0
- package/lib/banner/banner-action.d.ts +2 -3
- package/lib/banner/banner-context.d.ts +2 -3
- package/lib/banner/banner-variant.d.ts +2 -3
- package/lib/banner/banner.d.ts +3 -4
- package/lib/board-table-loader.d.ts +3 -4
- package/lib/box.d.ts +16 -17
- package/lib/breadcrumb.d.ts +7 -8
- package/lib/breakpoints.d.ts +9 -10
- package/lib/button/actions-button-compact.d.ts +2 -3
- package/lib/button/actions-button.d.ts +2 -3
- package/lib/button/add-button.d.ts +2 -3
- package/lib/button/back-button.d.ts +2 -3
- package/lib/button/base-button.d.ts +8 -9
- package/lib/button/button-group.d.ts +4 -5
- package/lib/button/button.d.ts +3 -4
- package/lib/button/button.js +1 -1
- package/lib/button/icon-button.d.ts +5 -6
- package/lib/button/make-button-colors.d.ts +2 -3
- package/lib/button/select-button.d.ts +3 -4
- package/lib/canvas-colors.d.ts +6 -7
- package/lib/card-container.d.ts +13 -14
- package/lib/card-hidden-link.d.ts +2 -3
- package/lib/checkbox.d.ts +11 -9
- package/lib/checkbox.js +13 -6
- package/lib/checkbox.wyw-in-js.css +3 -3
- package/lib/collapsible/index.d.ts +5 -6
- package/lib/collapsible-section.d.ts +2 -3
- package/lib/color-adjuster.d.ts +3 -4
- package/lib/color-filter.d.ts +6 -7
- package/lib/color-inspect.d.ts +3 -4
- package/lib/color-picker/color-picker-or-loader.d.ts +2 -3
- package/lib/color-picker/index.d.ts +3 -4
- package/lib/color-picker/slider-pointer.d.ts +2 -3
- package/lib/color-picker/swatch.d.ts +2 -3
- package/lib/color-utils.d.ts +13 -13
- package/lib/command-menu/index.d.ts +9 -10
- package/lib/command-menu/nested-command-menu.d.ts +5 -6
- package/lib/command-menu/nested-command-menu.js +2 -1
- package/lib/comment.d.ts +9 -10
- package/lib/context-menu/index.d.ts +15 -16
- package/lib/copy-to-clipboard.d.ts +3 -4
- package/lib/count-badge.d.ts +6 -7
- package/lib/date-picker/autocomplete.d.ts +5 -6
- package/lib/date-picker/constants.d.ts +4 -5
- package/lib/date-picker/contexts.d.ts +2 -3
- package/lib/date-picker/date-range-input.d.ts +4 -4
- package/lib/date-picker/date-range-input.js +1 -1
- package/lib/date-picker/date-range-picker-popup-content.d.ts +3 -4
- package/lib/date-picker/date-range-picker.d.ts +4 -5
- package/lib/date-picker/day-with-start-end-buttons.d.ts +4 -5
- package/lib/date-picker/fake-date-input.d.ts +3 -4
- package/lib/date-picker/get-weekends-for-month.d.ts +2 -3
- package/lib/date-picker/rc-input-types.d.ts +3 -4
- package/lib/date-picker/relative-date-picker.d.ts +2 -3
- package/lib/date-picker/single-date-input.d.ts +4 -4
- package/lib/date-picker/single-date-input.js +1 -1
- package/lib/date-picker/single-date-picker-popup-content.d.ts +2 -3
- package/lib/date-picker/single-date-picker.d.ts +17 -12
- package/lib/date-picker/styles.d.ts +19 -20
- package/lib/date-picker/types.d.ts +18 -14
- package/lib/date-picker/utils.d.ts +12 -12
- package/lib/date-picker/with-popup-control.d.ts +2 -3
- package/lib/date-picker/with-popup-control.js +1 -1
- package/lib/day-select/day-select.d.ts +4 -4
- package/lib/day-select/iso-week-day-select.d.ts +3 -3
- package/lib/day-select/mount-day-select.d.ts +3 -3
- package/lib/day-select/week-day-select.d.ts +5 -5
- package/lib/delayed.d.ts +2 -3
- package/lib/design-system/alpha-coefficients.d.ts +3 -4
- package/lib/design-system/alpha.d.ts +7 -8
- package/lib/design-system/animation.d.ts +6 -7
- package/lib/design-system/colors-charts.d.ts +2 -3
- package/lib/design-system/colors-css.d.ts +9 -10
- package/lib/design-system/colors-js.d.ts +4 -5
- package/lib/design-system/colors-swatches.d.ts +3 -4
- package/lib/design-system/colors.d.ts +20 -610
- package/lib/design-system/colors.js +7 -4
- package/lib/design-system/date.d.ts +4 -5
- package/lib/design-system/def.d.ts +4 -5
- package/lib/design-system/fns.d.ts +4 -5
- package/lib/design-system/fns.enum.d.ts +4 -5
- package/lib/design-system/fns.icon.d.ts +5 -6
- package/lib/design-system/layout.d.ts +9 -10
- package/lib/design-system/skeleton.d.ts +5 -6
- package/lib/design-system/theme.d.ts +31 -22
- package/lib/design-system/types.d.ts +15 -16
- package/lib/design-system/typography.d.ts +11 -12
- package/lib/design-system/vars.d.ts +9 -10
- package/lib/dnd.d.ts +4 -5
- package/lib/dom-utils.d.ts +4 -5
- package/lib/dot.d.ts +2 -3
- package/lib/double-apply.d.ts +2 -3
- package/lib/download-file.d.ts +3 -2
- package/lib/dropdown-menu/index.d.ts +13 -14
- package/lib/embed.d.ts +4 -5
- package/lib/emoji-picker/app-icon-picker.d.ts +3 -4
- package/lib/emoji-picker/app-icon-picker.js +1 -4
- package/lib/emoji-picker/emoji-picker-content-with-color.d.ts +4 -5
- package/lib/emoji-picker/emoji-picker-preview-footer.d.ts +2 -3
- package/lib/emoji-picker/emoji-picker.d.ts +4 -5
- package/lib/emoji-picker/emoji.d.ts +3 -4
- package/lib/emoji-picker/icon-emoji-picker.d.ts +3 -4
- package/lib/emoji-picker/primitives/category-label.d.ts +2 -3
- package/lib/emoji-picker/primitives/content.d.ts +4 -5
- package/lib/emoji-picker/primitives/emoji.d.ts +4 -5
- package/lib/emoji-picker/primitives/emoji.wyw-in-js.css +1 -1
- package/lib/emoji-picker/primitives/footer.d.ts +2 -3
- package/lib/emoji-picker/primitives/grid-item.d.ts +3 -4
- package/lib/emoji-picker/primitives/grid.d.ts +4 -5
- package/lib/emoji-picker/primitives/header.d.ts +2 -3
- package/lib/emoji-picker/primitives/layout.d.ts +3 -4
- package/lib/emoji-picker/primitives/preview-provider.d.ts +4 -5
- package/lib/emoji-picker/primitives/render-config-provider.d.ts +2 -2
- package/lib/emoji-picker/primitives/root.d.ts +4 -5
- package/lib/emoji-picker/primitives/search-provider.d.ts +4 -5
- package/lib/emoji-picker/primitives/search.d.ts +5 -6
- package/lib/emoji-picker/primitives/skin-provider.d.ts +4 -5
- package/lib/emoji-picker/primitives/skin-tone.d.ts +3 -4
- package/lib/emoji-picker/stores/emoji-data-store.d.ts +7 -8
- package/lib/emoji-picker/stores/lazy-icon-data-store.d.ts +2 -3
- package/lib/emoji-picker/stores/static-emoji-data-store.d.ts +2 -3
- package/lib/emoji-picker/use-emoji-found.d.ts +2 -3
- package/lib/emoji-picker/use-responsive-emoji-size.d.ts +2 -3
- package/lib/emoji-picker/utils/emoji-set.d.ts +3 -4
- package/lib/emoji-picker/utils/emoji-support.d.ts +2 -3
- package/lib/emoji-picker/utils/frequently.d.ts +3 -4
- package/lib/emoji-picker/utils/load-emoji-data.d.ts +2 -3
- package/lib/emoji-picker/utils/store.d.ts +4 -5
- package/lib/emoji.d.ts +3 -3
- package/lib/empty-state/empty-state-action.d.ts +2 -3
- package/lib/empty-state/empty-state-emoji.d.ts +3 -4
- package/lib/empty-state/empty-state.d.ts +3 -3
- package/lib/empty-state/empty-state.js +7 -6
- package/lib/empty-state/empty-state.wyw-in-js.css +6 -5
- package/lib/empty-value.d.ts +2 -3
- package/lib/errors.d.ts +5 -6
- package/lib/favorites-icon.d.ts +2 -3
- package/lib/fibermoji-placeholder.d.ts +2 -3
- package/lib/fibery-brand-logo.d.ts +3 -4
- package/lib/field-app-icon.d.ts +6 -7
- package/lib/field-container.d.ts +8 -9
- package/lib/field-icon.d.ts +3 -3
- package/lib/field-type-icon.d.ts +1 -0
- package/lib/file-item/add-query-param.d.ts +2 -3
- package/lib/file-item/file-icon.d.ts +4 -5
- package/lib/file-item/file-menu-items.d.ts +2 -3
- package/lib/file-item/file-preview-actions.d.ts +3 -4
- package/lib/file-item/file-title.d.ts +3 -4
- package/lib/file-item/share-file.d.ts +4 -3
- package/lib/file-item/types.d.ts +4 -5
- package/lib/file-item.d.ts +4 -5
- package/lib/file-item.js +1 -0
- package/lib/form-field-loader.d.ts +3 -4
- package/lib/form-utils.d.ts +2 -3
- package/lib/format-date-from-now.d.ts +3 -4
- package/lib/formula-avatar.d.ts +7 -0
- package/lib/formula-avatar.js +31 -0
- package/lib/full-fibery-logo.d.ts +3 -4
- package/lib/guide-link.d.ts +2 -3
- package/lib/header-layout.d.ts +3 -4
- package/lib/header-layout.js +1 -1
- package/lib/highlight-colors.d.ts +8 -9
- package/lib/hint.d.ts +2 -3
- package/lib/hotkey-scope.d.ts +4 -4
- package/lib/hoverable-via-display.d.ts +4 -5
- package/lib/hoverable.d.ts +7 -8
- package/lib/html-styles.d.ts +8 -9
- package/lib/html-styles.wyw-in-js.css +1 -1
- package/lib/icons/ast/ai-fibery-build-dots.d.ts +5 -0
- package/lib/icons/ast/ai-fibery-build-dots.js +24 -0
- package/lib/icons/ast/ai-fibery-build-mark.d.ts +5 -0
- package/lib/icons/ast/ai-fibery-build-mark.js +24 -0
- package/lib/icons/ast/connector.d.ts +5 -0
- package/lib/icons/ast/connector.js +21 -0
- package/lib/icons/ast/index.d.ts +4 -1
- package/lib/icons/ast/index.js +4 -1
- package/lib/icons/ast/space-app.js +1 -5
- package/lib/icons/ast/space-generate.js +1 -5
- package/lib/icons/ast/space-scratch.js +1 -5
- package/lib/icons/ast/space-template.js +1 -5
- package/lib/icons/ast/suggest-edit.js +1 -1
- package/lib/icons/generate-icon-from-ast.d.ts +3 -3
- package/lib/icons/get-paths.d.ts +2 -3
- package/lib/icons/get-shift-style.d.ts +2 -3
- package/lib/icons/icon.d.ts +5 -6
- package/lib/icons/react/ai-fibery-build-dots.d.ts +15 -0
- package/lib/icons/react/ai-fibery-build-dots.js +21 -0
- package/lib/icons/react/ai-fibery-build-mark.d.ts +15 -0
- package/lib/icons/react/ai-fibery-build-mark.js +21 -0
- package/lib/icons/react/connector.d.ts +15 -0
- package/lib/icons/react/connector.js +21 -0
- package/lib/icons/react/index.d.ts +4 -1
- package/lib/icons/react/index.js +4 -1
- package/lib/icons/types.d.ts +5 -6
- package/lib/images-gallery/get-gallery-src.d.ts +2 -3
- package/lib/images-gallery/images-gallery-fall-through-provider.d.ts +3 -4
- package/lib/images-gallery/images-gallery.d.ts +6 -6
- package/lib/images-gallery/slide-buttons.d.ts +3 -4
- package/lib/images-gallery/thumbnails-mime-types-white-list.d.ts +2 -3
- package/lib/images-gallery/zoom.d.ts +3 -4
- package/lib/indicator.d.ts +4 -5
- package/lib/integration-compact-info-button.d.ts +2 -3
- package/lib/integration-compact-info-button.js +4 -4
- package/lib/integration-compact-info-button.wyw-in-js.css +2 -1
- package/lib/is-android.d.ts +2 -3
- package/lib/is-in-popup.d.ts +2 -3
- package/lib/is-ios.d.ts +2 -3
- package/lib/kbd.d.ts +5 -5
- package/lib/layout-styles.d.ts +2 -3
- package/lib/layout-variables.d.ts +3 -4
- package/lib/link-input/components/ant-text-area-with-custom-read-state.d.ts +3 -4
- package/lib/link-input/index.d.ts +7 -8
- package/lib/link-input/utils.d.ts +2 -3
- package/lib/lists/list-row-surface.d.ts +12 -13
- package/lib/loader-gate-start.d.ts +9 -0
- package/lib/loader-gate-start.js +20 -0
- package/lib/loader-gate.d.ts +4 -3
- package/lib/loader-gate.js +3 -1
- package/lib/loader-gate.wyw-in-js.css +1 -1
- package/lib/loaders.d.ts +10 -11
- package/lib/logo.d.ts +5 -6
- package/lib/media-query-utils.d.ts +4 -4
- package/lib/memoize.d.ts +2 -3
- package/lib/menu-item-actions.d.ts +2 -3
- package/lib/mobile-app-api.d.ts +19 -0
- package/lib/mobile-app-api.js +0 -0
- package/lib/mobile-drawer.d.ts +3 -4
- package/lib/mobile-keyboard-aware-popup.d.ts +3 -4
- package/lib/mobile-styles.d.ts +11 -12
- package/lib/modal-menu/contexts/modal-menu-context.d.ts +3 -3
- package/lib/modal-menu/contexts/modal-submenu-context.d.ts +2 -2
- package/lib/modal-menu/modal-menu-checkbox-item.d.ts +2 -3
- package/lib/modal-menu/modal-menu-content.d.ts +2 -3
- package/lib/modal-menu/modal-menu-drawer-content.d.ts +2 -3
- package/lib/modal-menu/modal-menu-group.d.ts +2 -3
- package/lib/modal-menu/modal-menu-item.d.ts +2 -3
- package/lib/modal-menu/modal-menu-label.d.ts +2 -3
- package/lib/modal-menu/modal-menu-root.d.ts +3 -4
- package/lib/modal-menu/modal-menu-separator.d.ts +2 -3
- package/lib/modal-menu/modal-menu-trigger.d.ts +2 -3
- package/lib/modal-menu/modal-submenu-content.d.ts +2 -3
- package/lib/modal-menu/modal-submenu-trigger.d.ts +2 -3
- package/lib/modal-menu/modal-submenu.d.ts +2 -3
- package/lib/new-badge.d.ts +2 -3
- package/lib/number-input/decimal.d.ts +5 -6
- package/lib/number-input/edit-unit-styles.d.ts +3 -4
- package/lib/number-input/number-input-inline.d.ts +2 -3
- package/lib/number-input/number-input.d.ts +3 -4
- package/lib/number-input/step-button.d.ts +5 -6
- package/lib/number-input/types.d.ts +4 -5
- package/lib/number-input/utils.d.ts +5 -6
- package/lib/online-users.d.ts +6 -7
- package/lib/online-users.js +1 -1
- package/lib/open-popover-tracker.d.ts +4 -5
- package/lib/palette-generator.d.ts +5 -5
- package/lib/palettes/common.d.ts +2 -3
- package/lib/palettes/neutral-arch.d.ts +2 -3
- package/lib/palettes/neutral-user.d.ts +2 -3
- package/lib/palettes/neutral.d.ts +2 -3
- package/lib/palettes/warm-arch.d.ts +2 -3
- package/lib/palettes/warm-user.d.ts +2 -3
- package/lib/palettes/warm.d.ts +3 -4
- package/lib/phone-media-query.d.ts +4 -5
- package/lib/phone-media-query.js +1 -1
- package/lib/phone.d.ts +6 -5
- package/lib/platform-symbols.d.ts +8 -9
- package/lib/platform.d.ts +4 -5
- package/lib/popover/get-element-ref.d.ts +5 -3
- package/lib/popover/get-element-ref.js +1 -7
- package/lib/popover/index.d.ts +7 -6
- package/lib/popover/mobile-popover-context.d.ts +2 -2
- package/lib/popover/mobile-popover.d.ts +4 -5
- package/lib/popover/modifiers.d.ts +4 -5
- package/lib/popover/popup-modifiers-context.d.ts +2 -3
- package/lib/popover/popup-stack-context.d.ts +3 -3
- package/lib/popover/reference.d.ts +3 -4
- package/lib/popover/styles.d.ts +4 -5
- package/lib/popover/use-click-outside.d.ts +2 -3
- package/lib/preference-setting.d.ts +2 -3
- package/lib/pretty-size.d.ts +2 -3
- package/lib/progress.d.ts +6 -7
- package/lib/random.d.ts +2 -3
- package/lib/reactions/get-word-divider.d.ts +2 -3
- package/lib/reactions/reaction-button.d.ts +4 -4
- package/lib/reactions/reaction-picker.d.ts +3 -4
- package/lib/reactions/reactions.d.ts +2 -3
- package/lib/reactions/tootltip.d.ts +5 -6
- package/lib/ready-to-scroll-context.d.ts +3 -4
- package/lib/rich-input-loader.d.ts +3 -4
- package/lib/rich-text-embed-error.d.ts +3 -4
- package/lib/root-theme-provider.d.ts +3 -4
- package/lib/root-theme-provider.wyw-in-js.css +1 -1
- package/lib/scale-generator.d.ts +17 -18
- package/lib/scroll-fade.d.ts +2 -3
- package/lib/select/components/clear-indicator.d.ts +3 -4
- package/lib/select/components/drop-down-indicator.d.ts +4 -4
- package/lib/select/components/group-heading.d.ts +4 -5
- package/lib/select/components/menu-list-virtua.d.ts +2 -3
- package/lib/select/components/menu-list-virtua.js +8 -2
- package/lib/select/components/menu-list-virtualized.d.ts +2 -3
- package/lib/select/components/menu-list-virtualized.js +9 -3
- package/lib/select/components/menu.d.ts +7 -8
- package/lib/select/components/no-option-message.d.ts +3 -3
- package/lib/select/components/option.d.ts +5 -6
- package/lib/select/constants.d.ts +2 -3
- package/lib/select/index.d.ts +4 -4
- package/lib/select/reflection.d.ts +3 -4
- package/lib/select/select-control-settings-context.d.ts +6 -7
- package/lib/select/select-in-popover.d.ts +7 -8
- package/lib/select/select-loader.d.ts +2 -3
- package/lib/select/select-mock-context.d.ts +2 -3
- package/lib/select/select-trigger.d.ts +2 -3
- package/lib/select/select.d.ts +7 -7
- package/lib/select/styles.d.ts +8 -9
- package/lib/select/util.d.ts +6 -7
- package/lib/sidebar/sidebar-handle.d.ts +2 -3
- package/lib/sidebar/sidebar.d.ts +9 -8
- package/lib/sidebar/sidebar.js +8 -2
- package/lib/sidebar/sidebar.wyw-in-js.css +1 -1
- package/lib/sidebar/use-resize-drag.d.ts +3 -4
- package/lib/skeleton-card.d.ts +3 -4
- package/lib/skeleton-entity-box.d.ts +6 -0
- package/lib/skeleton-entity-box.js +16 -0
- package/lib/skeleton-entity-box.wyw-in-js.css +1 -0
- package/lib/skeleton.d.ts +13 -13
- package/lib/skeleton.js +4 -3
- package/lib/spinner-box.d.ts +6 -6
- package/lib/spinner-box.js +5 -2
- package/lib/spinner.d.ts +5 -4
- package/lib/spinner.js +12 -16
- package/lib/spinner.wyw-in-js.css +6 -2
- package/lib/static-palettes.d.ts +3 -4
- package/lib/styles-utils.d.ts +3 -4
- package/lib/tab-nav/tab-nav.d.ts +8 -9
- package/lib/table.d.ts +8 -9
- package/lib/thematic-color-picker.d.ts +8 -9
- package/lib/thematic-constants.d.ts +5 -6
- package/lib/thematic-controls.d.ts +15 -16
- package/lib/thematic-cvd.d.ts +3 -4
- package/lib/thematic-highlights.d.ts +3 -4
- package/lib/thematic-scales.d.ts +8 -9
- package/lib/thematic-state.d.ts +4 -5
- package/lib/thematic-swatch-adjust.d.ts +3 -4
- package/lib/thematic.d.ts +2 -3
- package/lib/theme-bootstrap.d.ts +10 -11
- package/lib/theme-provider.d.ts +24 -23
- package/lib/theme-settings-core.d.ts +12 -12
- package/lib/theme-settings.d.ts +3 -3
- package/lib/theme-styles.d.ts +3 -4
- package/lib/theme.js +1 -2
- package/lib/theming.build.d.ts +3 -4
- package/lib/theming.generated.d.ts +34 -25
- package/lib/theming.generated.js +25 -15
- package/lib/toast/primitives.d.ts +6 -7
- package/lib/toast/toast-action.d.ts +4 -6
- package/lib/toast/toast-provider.d.ts +3 -4
- package/lib/toast/toast-queue.d.ts +4 -5
- package/lib/toast/toast.d.ts +3 -4
- package/lib/toast/toast.js +1 -1
- package/lib/toast/toast.wyw-in-js.css +2 -2
- package/lib/toast/toaster.d.ts +2 -3
- package/lib/toast/utils/toastify-item-name.d.ts +3 -4
- package/lib/toggle-button/round-toggle-button.d.ts +2 -3
- package/lib/toggle-button/toggle-button-group.d.ts +4 -5
- package/lib/toggle-button/toggle-button.d.ts +10 -11
- package/lib/toggle-button/toggle-button.js +1 -1
- package/lib/toggle-on-off.d.ts +2 -3
- package/lib/toggle.d.ts +3 -4
- package/lib/toggle.js +7 -3
- package/lib/toggle.wyw-in-js.css +6 -5
- package/lib/tooltip-if-overflown.d.ts +4 -4
- package/lib/tooltip.d.ts +11 -12
- package/lib/tree-utils.d.ts +13 -14
- package/lib/type-badge-box.d.ts +2 -3
- package/lib/type-badge.d.ts +7 -8
- package/lib/type-label.d.ts +2 -3
- package/lib/unit/as-string.d.ts +2 -3
- package/lib/unit/container.d.ts +3 -4
- package/lib/unit/context.d.ts +7 -8
- package/lib/unit/labeled-unit.d.ts +5 -6
- package/lib/unit/loading-unit-value.d.ts +2 -3
- package/lib/unit/maybe-unit-value.d.ts +2 -3
- package/lib/unit/nav-button.d.ts +4 -5
- package/lib/unit/styles.d.ts +14 -15
- package/lib/unit/unit-content-layout.d.ts +3 -4
- package/lib/unit/unit-content.d.ts +2 -3
- package/lib/unit/unit.d.ts +5 -5
- package/lib/use-is-media-query-matched.d.ts +2 -3
- package/lib/use-is-phone.d.ts +3 -3
- package/lib/use-is-support-hardware-keyboard.d.ts +2 -3
- package/lib/use-is-support-hover.d.ts +2 -3
- package/lib/use-long-press.d.ts +3 -4
- package/lib/use-long-press.js +2 -2
- package/lib/use-me.d.ts +1 -1
- package/lib/use-navigation.d.ts +1 -1
- package/lib/use-on-screen-keyboard-data.d.ts +3 -3
- package/package.json +12 -12
- package/lib/ai/max-tokens.d.ts +0 -11
- package/lib/ai/max-tokens.js +0 -25
- package/lib/ai/max-tokens.wyw-in-js.css +0 -1
- package/lib/ai/temperature.d.ts +0 -8
- package/lib/ai/temperature.js +0 -51
- package/lib/ai/temperature.wyw-in-js.css +0 -1
- package/lib/number-input/number-input-inline-with-autosize.d.ts +0 -9
- package/lib/number-input/number-input-inline-with-autosize.js +0 -93
- package/lib/number-input/number-input-inline-with-autosize.wyw-in-js.css +0 -2
- package/lib/number-input/stack.d.ts +0 -10
- package/lib/number-input/stack.js +0 -14
- package/lib/number-input/stack.wyw-in-js.css +0 -1
- package/lib/number-input/styles.wyw-in-js.css +0 -4
- package/lib/number-input/text-area-auto-sized.d.ts +0 -9
- package/lib/number-input/text-area-auto-sized.js +0 -38
- package/lib/number-input/text-area-auto-sized.wyw-in-js.css +0 -1
- package/lib/number-input/text-input-auto-sized.d.ts +0 -10
- package/lib/number-input/text-input-auto-sized.js +0 -37
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { mixSrgb } from "../color-utils.js";
|
|
1
2
|
import { alpha, opacity, transparent } from "./alpha.js";
|
|
2
3
|
import { Swatch, swatches } from "./colors-swatches.js";
|
|
3
4
|
import { alphaCoefficients } from "./alpha-coefficients.js";
|
|
@@ -18,6 +19,7 @@ var same = (v) => [v, v];
|
|
|
18
19
|
var both = (map) => ([light, dark]) => [map(light), map(dark)];
|
|
19
20
|
var alphaPair = (lightColor, darkColor, alphaValue) => [alpha(lightColor, alphaValue[0]), alpha(darkColor, alphaValue[1])];
|
|
20
21
|
var alphaDef = (def, alphaValue) => alphaPair(def[0], def[1], alphaValue);
|
|
22
|
+
var overDef = (fg, bg, alphaValue) => [mixSrgb(bg[0], fg[0], alphaValue[0]), mixSrgb(bg[1], fg[1], alphaValue[1])];
|
|
21
23
|
function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, baseDark, accent, accentDark, red, redDark, teal, tealDark, yellow, yellowDark, purple_9_, purpleDark_9_, blue_9_, blueDark_9_, deneutralize: deneutralizeFilterSpec, swatchDefault, highlight, enum: enumDefs }) {
|
|
22
24
|
const whiteA5 = alphaPair(white, black, alphaCoefficients.direction.surface5);
|
|
23
25
|
const whiteA10 = alphaPair(white, black, alphaCoefficients.direction.surface10);
|
|
@@ -234,7 +236,6 @@ function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, ba
|
|
|
234
236
|
const viewHighlightBg = [accent[3], accentDark[3]];
|
|
235
237
|
const notificationSelected = [accent[3], accentDark[2]];
|
|
236
238
|
const notificationSelectedHover = [accent[4], accentDark[3]];
|
|
237
|
-
const bgCellGridDisabledOrHighlighted = [accent[4], accentDark[5]];
|
|
238
239
|
const warningColor = alphaPair(yellow[6], yellowDark[9], alphaCoefficients.interactiveFill.warningComment);
|
|
239
240
|
const bgBtnGhostAccentHover = alphaPair(accent[4], accentDark[4], alphaCoefficients.interactiveFill.ghostAccentHover);
|
|
240
241
|
const bgBtnGhostNeutralHover = alphaPair(base[7], baseDark[6], alphaCoefficients.interactiveFill.ghostNeutralHover);
|
|
@@ -369,6 +370,7 @@ function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, ba
|
|
|
369
370
|
buttonColor: fgAccentText,
|
|
370
371
|
buttonPrimaryTextColor: [base[2], base[6]],
|
|
371
372
|
checkboxColor: fg.icon,
|
|
373
|
+
checkboxHoverBg: overDef(primary.accent, surface.level0, alphaCoefficients.checkbox.hover),
|
|
372
374
|
colorBorderBlockQuote: fg.neutral,
|
|
373
375
|
colorBgActionsMenu: bgActionsMenu,
|
|
374
376
|
colorBgActionsMenuItemHover: bgActionsMenuItemHover,
|
|
@@ -425,6 +427,7 @@ function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, ba
|
|
|
425
427
|
colorBgSearchRowHover: [base[4], baseDark[3]],
|
|
426
428
|
colorBgSearchRowCreateHover: [accent[4], accentDark[4]],
|
|
427
429
|
opacitySearchItemDone: opacities.drag,
|
|
430
|
+
colorBgUserAccessRowActive: [accent[4], accentDark[5]],
|
|
428
431
|
colorBgEntityBoxDefault: bgActionsMenu,
|
|
429
432
|
shadowStrokeEntityBoxDefault: entityBoxShadows.stroke.default,
|
|
430
433
|
shadowEntityBoxDefault: entityBoxShadows.elevation.default,
|
|
@@ -559,11 +562,11 @@ function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, ba
|
|
|
559
562
|
gridCellBgColor: surface.level0elevated,
|
|
560
563
|
gridCellBorderColor: base5_6,
|
|
561
564
|
gridDisabledCellBgColor: surface.level2_3,
|
|
562
|
-
|
|
563
|
-
|
|
565
|
+
gridRowSelectedBgColor: viewHighlightBg,
|
|
566
|
+
gridCellRangeBgColor: [accent[4], accentDark[5]],
|
|
564
567
|
gridSelectedCellBorderColor: [accent[6], accentDark[7]],
|
|
565
568
|
gridSelectedPinnedCellBorderColor: borderAccentOrMedium,
|
|
566
|
-
|
|
569
|
+
gridRowSelectedDisabledCellBgColor: [accent[4], accentDark[5]],
|
|
567
570
|
gridActiveCellBorderColor: [accent[8], accentDark[9]],
|
|
568
571
|
timelineEntityHandleColor: borderAccentOrMedium,
|
|
569
572
|
timelineDependencyHoverBgColor: borderAccentOrMediumAccent,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//#region src/design-system/date.d.ts
|
|
2
|
-
declare const dateFormat = "MMM D, YYYY";
|
|
3
|
-
declare const dateTimeFormat = "MMM D, YYYY HH:mm";
|
|
4
|
-
declare const timeFormat = "HH:mm";
|
|
5
|
-
//#endregion
|
|
6
|
-
export { dateFormat, dateTimeFormat, timeFormat };
|
|
2
|
+
export declare const dateFormat = "MMM D, YYYY";
|
|
3
|
+
export declare const dateTimeFormat = "MMM D, YYYY HH:mm";
|
|
4
|
+
export declare const timeFormat = "HH:mm";
|
|
5
|
+
//#endregion
|
|
@@ -2,8 +2,7 @@ import { ModeDef } from "./types.js";
|
|
|
2
2
|
//#region src/design-system/def.d.ts
|
|
3
3
|
type Mapper<T, U> = (_: T, idx: number) => U;
|
|
4
4
|
type MapperDef<T, U> = Mapper<T, U> | ModeDef<Mapper<T, U>>;
|
|
5
|
-
declare function mapDef<T, U>(def: ModeDef<T>, mapper: MapperDef<T, U>): ModeDef<U>;
|
|
6
|
-
declare function mapDef<T, U>(def: ModeDef<T> | undefined, mapper: MapperDef<T | undefined, U>): ModeDef<U>;
|
|
7
|
-
declare function extendDef<T>(def: ModeDef<T>, override?: ModeDef<Partial<T>>): ModeDef<T>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { extendDef, mapDef };
|
|
5
|
+
export declare function mapDef<T, U>(def: ModeDef<T>, mapper: MapperDef<T, U>): ModeDef<U>;
|
|
6
|
+
export declare function mapDef<T, U>(def: ModeDef<T> | undefined, mapper: MapperDef<T | undefined, U>): ModeDef<U>;
|
|
7
|
+
export declare function extendDef<T>(def: ModeDef<T>, override?: ModeDef<Partial<T>>): ModeDef<T>;
|
|
8
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Def, EnumDefs, ModeDef } from "./types.js";
|
|
2
2
|
//#region src/design-system/fns.d.ts
|
|
3
|
-
declare const makeAdapt: (surface: Def, fgContrasts?: [light: number, dark: number]) => [{
|
|
3
|
+
export declare const makeAdapt: (surface: Def, fgContrasts?: [light: number, dark: number]) => [{
|
|
4
4
|
bg: (color: string) => string;
|
|
5
5
|
bgHover: (color: string) => string;
|
|
6
6
|
bgFocus: (color: string) => string;
|
|
@@ -11,11 +11,11 @@ declare const makeAdapt: (surface: Def, fgContrasts?: [light: number, dark: numb
|
|
|
11
11
|
bgFocus: (color: string) => string;
|
|
12
12
|
fg: (color: string) => string;
|
|
13
13
|
}];
|
|
14
|
-
declare const makeAvatarPlaceholder: (deneutralizeFilterDef: ModeDef<(color: string) => string>, surface: Def, bgLcs?: [light: number, dark: number], fgLcs?: [light: number, dark: number], bgChromaScales?: [light: number, dark: number]) => ModeDef<{
|
|
14
|
+
export declare const makeAvatarPlaceholder: (deneutralizeFilterDef: ModeDef<(color: string) => string>, surface: Def, bgLcs?: [light: number, dark: number], fgLcs?: [light: number, dark: number], bgChromaScales?: [light: number, dark: number]) => ModeDef<{
|
|
15
15
|
bg: ((arg: string) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
16
16
|
fg: ((arg: string) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
17
17
|
}>;
|
|
18
|
-
declare function createColorFns(deneutralizeFilterDef: ModeDef<(color: string) => string>, defs: {
|
|
18
|
+
export declare function createColorFns(deneutralizeFilterDef: ModeDef<(color: string) => string>, defs: {
|
|
19
19
|
icon: Def;
|
|
20
20
|
adapt: Def;
|
|
21
21
|
avatarPlaceholder: Def;
|
|
@@ -77,5 +77,4 @@ declare function createColorFns(deneutralizeFilterDef: ModeDef<(color: string) =
|
|
|
77
77
|
bgDecor: string;
|
|
78
78
|
}>>;
|
|
79
79
|
};
|
|
80
|
-
//#endregion
|
|
81
|
-
export { createColorFns, makeAdapt, makeAvatarPlaceholder };
|
|
80
|
+
//#endregion
|
|
@@ -5,11 +5,10 @@ import { Def, EnumDefs, ModeDef } from "./types.js";
|
|
|
5
5
|
* `box.tsx` paint as `color-mix(in srgb, var(--card-color-coding-card), surface 90%)`
|
|
6
6
|
* — 10 % card over 90 % surface. Single source of truth for that ratio.
|
|
7
7
|
*/
|
|
8
|
-
declare const CARD_COLOR_CODING_ALPHA = 0.1;
|
|
8
|
+
export declare const CARD_COLOR_CODING_ALPHA = 0.1;
|
|
9
9
|
/** CSS percentage string for the surface side of the card color-mix — pair with {@link CARD_COLOR_CODING_ALPHA}. */
|
|
10
|
-
declare const CARD_COLOR_CODING_SURFACE_PERCENT = "90%";
|
|
11
|
-
declare function makeEnumFn(deneutralizeFilterDef: ModeDef<(color: string) => string>, adaptDef: Def, enumDefs: EnumDefs): ModeDef<(neutralColor: string, cardColorCoding?: string | null) => {
|
|
10
|
+
export declare const CARD_COLOR_CODING_SURFACE_PERCENT = "90%";
|
|
11
|
+
export declare function makeEnumFn(deneutralizeFilterDef: ModeDef<(color: string) => string>, adaptDef: Def, enumDefs: EnumDefs): ModeDef<(neutralColor: string, cardColorCoding?: string | null) => {
|
|
12
12
|
bg: string;
|
|
13
13
|
}>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { CARD_COLOR_CODING_ALPHA, CARD_COLOR_CODING_SURFACE_PERCENT, makeEnumFn };
|
|
14
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Def, ModeDef } from "./types.js";
|
|
2
2
|
//#region src/design-system/fns.icon.d.ts
|
|
3
|
-
declare function makeIconSide(surface: string, { bgLc, fgLc, bgChromaScale, fgChromaScale, bgPastelFloor, fgPastelFloor, bgSaturationCap, fgSaturationCap }: {
|
|
3
|
+
export declare function makeIconSide(surface: string, { bgLc, fgLc, bgChromaScale, fgChromaScale, bgPastelFloor, fgPastelFloor, bgSaturationCap, fgSaturationCap }: {
|
|
4
4
|
bgLc: number;
|
|
5
5
|
fgLc: number;
|
|
6
6
|
bgChromaScale: number;
|
|
@@ -13,7 +13,7 @@ declare function makeIconSide(surface: string, { bgLc, fgLc, bgChromaScale, fgCh
|
|
|
13
13
|
bg: (color: string) => string;
|
|
14
14
|
fg: (color: string) => string;
|
|
15
15
|
};
|
|
16
|
-
declare const lightIconParams: {
|
|
16
|
+
export declare const lightIconParams: {
|
|
17
17
|
bgChromaScale: number;
|
|
18
18
|
fgChromaScale: number;
|
|
19
19
|
bgPastelFloor: number;
|
|
@@ -21,7 +21,7 @@ declare const lightIconParams: {
|
|
|
21
21
|
bgSaturationCap: number;
|
|
22
22
|
fgSaturationCap: number;
|
|
23
23
|
};
|
|
24
|
-
declare const darkIconParams: {
|
|
24
|
+
export declare const darkIconParams: {
|
|
25
25
|
bgChromaScale: number;
|
|
26
26
|
fgChromaScale: number;
|
|
27
27
|
bgPastelFloor: number;
|
|
@@ -29,12 +29,11 @@ declare const darkIconParams: {
|
|
|
29
29
|
bgSaturationCap: number;
|
|
30
30
|
fgSaturationCap: number;
|
|
31
31
|
};
|
|
32
|
-
declare function makeIconFn(deneutralizeFilterDef: ModeDef<(color: string) => string>, adaptDef: Def): ModeDef<((arg: string) => {
|
|
32
|
+
export declare function makeIconFn(deneutralizeFilterDef: ModeDef<(color: string) => string>, adaptDef: Def): ModeDef<((arg: string) => {
|
|
33
33
|
bg: string;
|
|
34
34
|
fg: string;
|
|
35
35
|
}) & import("@fibery/helpers/src/_").MemoizedFunction<string, {
|
|
36
36
|
bg: string;
|
|
37
37
|
fg: string;
|
|
38
38
|
}>>;
|
|
39
|
-
//#endregion
|
|
40
|
-
export { darkIconParams, lightIconParams, makeIconFn, makeIconSide };
|
|
39
|
+
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/design-system/layout.d.ts
|
|
2
|
-
declare const iconSize = 20;
|
|
3
|
-
declare const viewBoxSize = "0 0 20 20";
|
|
4
|
-
declare const minPanelWidth = 490;
|
|
2
|
+
export declare const iconSize = 20;
|
|
3
|
+
export declare const viewBoxSize = "0 0 20 20";
|
|
4
|
+
export declare const minPanelWidth = 490;
|
|
5
5
|
/** Token for nested items spacing in nested trees */
|
|
6
|
-
declare const spaceNestedTreeLevel = 12;
|
|
7
|
-
declare const spaceNestedTreeInterval = 0;
|
|
8
|
-
declare const space: {
|
|
6
|
+
export declare const spaceNestedTreeLevel = 12;
|
|
7
|
+
export declare const spaceNestedTreeInterval = 0;
|
|
8
|
+
export declare const space: {
|
|
9
9
|
readonly spaceAuto: "auto";
|
|
10
10
|
readonly s0: 0;
|
|
11
11
|
readonly s1: 1;
|
|
@@ -36,7 +36,7 @@ declare const space: {
|
|
|
36
36
|
readonly s112: 112;
|
|
37
37
|
readonly s128: 128;
|
|
38
38
|
};
|
|
39
|
-
declare const layout: {
|
|
39
|
+
export declare const layout: {
|
|
40
40
|
readonly logoSize: 18;
|
|
41
41
|
readonly menuDefaultWidth: 243;
|
|
42
42
|
readonly fiberyAiSidebarDefaultWidth: 360;
|
|
@@ -92,7 +92,7 @@ declare const layout: {
|
|
|
92
92
|
readonly popupTopMargin: 48;
|
|
93
93
|
readonly unitHeight: 18;
|
|
94
94
|
};
|
|
95
|
-
declare const border: {
|
|
95
|
+
export declare const border: {
|
|
96
96
|
readonly radius0: 0;
|
|
97
97
|
readonly radius1: 1;
|
|
98
98
|
readonly radius2: 2;
|
|
@@ -106,5 +106,4 @@ declare const border: {
|
|
|
106
106
|
readonly radius9999: 9999;
|
|
107
107
|
readonly radiusFull: "50%";
|
|
108
108
|
};
|
|
109
|
-
//#endregion
|
|
110
|
-
export { border, iconSize, layout, minPanelWidth, space, spaceNestedTreeInterval, spaceNestedTreeLevel, viewBoxSize };
|
|
109
|
+
//#endregion
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/design-system/skeleton.d.ts
|
|
2
|
-
declare const skeletonHeights: readonly [8, 12, 16, 20];
|
|
3
|
-
declare const skeletonWidths: readonly [24, 40, 80, 120, 200, 300, 420];
|
|
4
|
-
type SkeletonHeight = (typeof skeletonHeights)[number];
|
|
5
|
-
type SkeletonWidth = (typeof skeletonWidths)[number];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { SkeletonHeight, SkeletonWidth, skeletonHeights, skeletonWidths };
|
|
2
|
+
export declare const skeletonHeights: readonly [8, 12, 16, 20];
|
|
3
|
+
export declare const skeletonWidths: readonly [24, 40, 80, 120, 200, 300, 420];
|
|
4
|
+
export type SkeletonHeight = (typeof skeletonHeights)[number];
|
|
5
|
+
export type SkeletonWidth = (typeof skeletonWidths)[number];
|
|
6
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@ import { ThemePalette } from "./types.js";
|
|
|
2
2
|
import { ThemeMode } from "../theme-bootstrap.js";
|
|
3
3
|
import { ThemeDefs } from "./colors.js";
|
|
4
4
|
//#region src/design-system/theme.d.ts
|
|
5
|
-
declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
5
|
+
export declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
6
6
|
key: string;
|
|
7
7
|
mode: ThemeMode;
|
|
8
8
|
select: <T>(values: {
|
|
@@ -112,6 +112,7 @@ declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
|
112
112
|
readonly buttonColor: string;
|
|
113
113
|
readonly buttonPrimaryTextColor: string;
|
|
114
114
|
readonly checkboxColor: string;
|
|
115
|
+
readonly checkboxHoverBg: string;
|
|
115
116
|
readonly colorBorderBlockQuote: string;
|
|
116
117
|
readonly colorBgActionsMenu: string;
|
|
117
118
|
readonly colorBgActionsMenuItemHover: string;
|
|
@@ -168,6 +169,7 @@ declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
|
168
169
|
readonly colorBgSearchRowHover: string;
|
|
169
170
|
readonly colorBgSearchRowCreateHover: string;
|
|
170
171
|
readonly opacitySearchItemDone: string;
|
|
172
|
+
readonly colorBgUserAccessRowActive: string;
|
|
171
173
|
readonly colorBgEntityBoxDefault: string;
|
|
172
174
|
readonly shadowStrokeEntityBoxDefault: string;
|
|
173
175
|
readonly shadowEntityBoxDefault: string;
|
|
@@ -302,11 +304,11 @@ declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
|
302
304
|
readonly gridCellBgColor: string;
|
|
303
305
|
readonly gridCellBorderColor: string;
|
|
304
306
|
readonly gridDisabledCellBgColor: string;
|
|
305
|
-
readonly
|
|
306
|
-
readonly
|
|
307
|
+
readonly gridRowSelectedBgColor: string;
|
|
308
|
+
readonly gridCellRangeBgColor: string;
|
|
307
309
|
readonly gridSelectedCellBorderColor: string;
|
|
308
310
|
readonly gridSelectedPinnedCellBorderColor: string;
|
|
309
|
-
readonly
|
|
311
|
+
readonly gridRowSelectedDisabledCellBgColor: string;
|
|
310
312
|
readonly gridActiveCellBorderColor: string;
|
|
311
313
|
readonly timelineEntityHandleColor: string;
|
|
312
314
|
readonly timelineDependencyHoverBgColor: string;
|
|
@@ -613,7 +615,7 @@ declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
|
613
615
|
/** @deprecated consider extracting token, internal use only */
|
|
614
616
|
varname: (key: string) => string;
|
|
615
617
|
};
|
|
616
|
-
type Theme = ReturnType<typeof themeFromDefs>;
|
|
618
|
+
export type Theme = ReturnType<typeof themeFromDefs>;
|
|
617
619
|
declare function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode): {
|
|
618
620
|
key: string;
|
|
619
621
|
mode: ThemeMode;
|
|
@@ -724,6 +726,7 @@ declare function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode): {
|
|
|
724
726
|
readonly buttonColor: string;
|
|
725
727
|
readonly buttonPrimaryTextColor: string;
|
|
726
728
|
readonly checkboxColor: string;
|
|
729
|
+
readonly checkboxHoverBg: string;
|
|
727
730
|
readonly colorBorderBlockQuote: string;
|
|
728
731
|
readonly colorBgActionsMenu: string;
|
|
729
732
|
readonly colorBgActionsMenuItemHover: string;
|
|
@@ -780,6 +783,7 @@ declare function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode): {
|
|
|
780
783
|
readonly colorBgSearchRowHover: string;
|
|
781
784
|
readonly colorBgSearchRowCreateHover: string;
|
|
782
785
|
readonly opacitySearchItemDone: string;
|
|
786
|
+
readonly colorBgUserAccessRowActive: string;
|
|
783
787
|
readonly colorBgEntityBoxDefault: string;
|
|
784
788
|
readonly shadowStrokeEntityBoxDefault: string;
|
|
785
789
|
readonly shadowEntityBoxDefault: string;
|
|
@@ -914,11 +918,11 @@ declare function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode): {
|
|
|
914
918
|
readonly gridCellBgColor: string;
|
|
915
919
|
readonly gridCellBorderColor: string;
|
|
916
920
|
readonly gridDisabledCellBgColor: string;
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
921
|
+
readonly gridRowSelectedBgColor: string;
|
|
922
|
+
readonly gridCellRangeBgColor: string;
|
|
919
923
|
readonly gridSelectedCellBorderColor: string;
|
|
920
924
|
readonly gridSelectedPinnedCellBorderColor: string;
|
|
921
|
-
readonly
|
|
925
|
+
readonly gridRowSelectedDisabledCellBgColor: string;
|
|
922
926
|
readonly gridActiveCellBorderColor: string;
|
|
923
927
|
readonly timelineEntityHandleColor: string;
|
|
924
928
|
readonly timelineDependencyHoverBgColor: string;
|
|
@@ -1225,7 +1229,7 @@ declare function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode): {
|
|
|
1225
1229
|
/** @deprecated consider extracting token, internal use only */
|
|
1226
1230
|
varname: (key: string) => string;
|
|
1227
1231
|
};
|
|
1228
|
-
declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/helpers/src/_").MemoizedFunction<string, {
|
|
1232
|
+
export declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/helpers/src/_").MemoizedFunction<string, {
|
|
1229
1233
|
key: string;
|
|
1230
1234
|
mode: ThemeMode;
|
|
1231
1235
|
select: <T>(values: {
|
|
@@ -1335,6 +1339,7 @@ declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/he
|
|
|
1335
1339
|
readonly buttonColor: string;
|
|
1336
1340
|
readonly buttonPrimaryTextColor: string;
|
|
1337
1341
|
readonly checkboxColor: string;
|
|
1342
|
+
readonly checkboxHoverBg: string;
|
|
1338
1343
|
readonly colorBorderBlockQuote: string;
|
|
1339
1344
|
readonly colorBgActionsMenu: string;
|
|
1340
1345
|
readonly colorBgActionsMenuItemHover: string;
|
|
@@ -1391,6 +1396,7 @@ declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/he
|
|
|
1391
1396
|
readonly colorBgSearchRowHover: string;
|
|
1392
1397
|
readonly colorBgSearchRowCreateHover: string;
|
|
1393
1398
|
readonly opacitySearchItemDone: string;
|
|
1399
|
+
readonly colorBgUserAccessRowActive: string;
|
|
1394
1400
|
readonly colorBgEntityBoxDefault: string;
|
|
1395
1401
|
readonly shadowStrokeEntityBoxDefault: string;
|
|
1396
1402
|
readonly shadowEntityBoxDefault: string;
|
|
@@ -1525,11 +1531,11 @@ declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/he
|
|
|
1525
1531
|
readonly gridCellBgColor: string;
|
|
1526
1532
|
readonly gridCellBorderColor: string;
|
|
1527
1533
|
readonly gridDisabledCellBgColor: string;
|
|
1528
|
-
readonly
|
|
1529
|
-
readonly
|
|
1534
|
+
readonly gridRowSelectedBgColor: string;
|
|
1535
|
+
readonly gridCellRangeBgColor: string;
|
|
1530
1536
|
readonly gridSelectedCellBorderColor: string;
|
|
1531
1537
|
readonly gridSelectedPinnedCellBorderColor: string;
|
|
1532
|
-
readonly
|
|
1538
|
+
readonly gridRowSelectedDisabledCellBgColor: string;
|
|
1533
1539
|
readonly gridActiveCellBorderColor: string;
|
|
1534
1540
|
readonly timelineEntityHandleColor: string;
|
|
1535
1541
|
readonly timelineDependencyHoverBgColor: string;
|
|
@@ -1836,8 +1842,8 @@ declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/he
|
|
|
1836
1842
|
/** @deprecated consider extracting token, internal use only */
|
|
1837
1843
|
varname: (key: string) => string;
|
|
1838
1844
|
}>;
|
|
1839
|
-
type Styles = Record<string, string>;
|
|
1840
|
-
declare const stylesFromTheme: ((arg: Pick<{
|
|
1845
|
+
export type Styles = Record<string, string>;
|
|
1846
|
+
export declare const stylesFromTheme: ((arg: Pick<{
|
|
1841
1847
|
key: string;
|
|
1842
1848
|
mode: ThemeMode;
|
|
1843
1849
|
select: <T>(values: {
|
|
@@ -1947,6 +1953,7 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
1947
1953
|
readonly buttonColor: string;
|
|
1948
1954
|
readonly buttonPrimaryTextColor: string;
|
|
1949
1955
|
readonly checkboxColor: string;
|
|
1956
|
+
readonly checkboxHoverBg: string;
|
|
1950
1957
|
readonly colorBorderBlockQuote: string;
|
|
1951
1958
|
readonly colorBgActionsMenu: string;
|
|
1952
1959
|
readonly colorBgActionsMenuItemHover: string;
|
|
@@ -2003,6 +2010,7 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2003
2010
|
readonly colorBgSearchRowHover: string;
|
|
2004
2011
|
readonly colorBgSearchRowCreateHover: string;
|
|
2005
2012
|
readonly opacitySearchItemDone: string;
|
|
2013
|
+
readonly colorBgUserAccessRowActive: string;
|
|
2006
2014
|
readonly colorBgEntityBoxDefault: string;
|
|
2007
2015
|
readonly shadowStrokeEntityBoxDefault: string;
|
|
2008
2016
|
readonly shadowEntityBoxDefault: string;
|
|
@@ -2137,11 +2145,11 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2137
2145
|
readonly gridCellBgColor: string;
|
|
2138
2146
|
readonly gridCellBorderColor: string;
|
|
2139
2147
|
readonly gridDisabledCellBgColor: string;
|
|
2140
|
-
readonly
|
|
2141
|
-
readonly
|
|
2148
|
+
readonly gridRowSelectedBgColor: string;
|
|
2149
|
+
readonly gridCellRangeBgColor: string;
|
|
2142
2150
|
readonly gridSelectedCellBorderColor: string;
|
|
2143
2151
|
readonly gridSelectedPinnedCellBorderColor: string;
|
|
2144
|
-
readonly
|
|
2152
|
+
readonly gridRowSelectedDisabledCellBgColor: string;
|
|
2145
2153
|
readonly gridActiveCellBorderColor: string;
|
|
2146
2154
|
readonly timelineEntityHandleColor: string;
|
|
2147
2155
|
readonly timelineDependencyHoverBgColor: string;
|
|
@@ -2557,6 +2565,7 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2557
2565
|
readonly buttonColor: string;
|
|
2558
2566
|
readonly buttonPrimaryTextColor: string;
|
|
2559
2567
|
readonly checkboxColor: string;
|
|
2568
|
+
readonly checkboxHoverBg: string;
|
|
2560
2569
|
readonly colorBorderBlockQuote: string;
|
|
2561
2570
|
readonly colorBgActionsMenu: string;
|
|
2562
2571
|
readonly colorBgActionsMenuItemHover: string;
|
|
@@ -2613,6 +2622,7 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2613
2622
|
readonly colorBgSearchRowHover: string;
|
|
2614
2623
|
readonly colorBgSearchRowCreateHover: string;
|
|
2615
2624
|
readonly opacitySearchItemDone: string;
|
|
2625
|
+
readonly colorBgUserAccessRowActive: string;
|
|
2616
2626
|
readonly colorBgEntityBoxDefault: string;
|
|
2617
2627
|
readonly shadowStrokeEntityBoxDefault: string;
|
|
2618
2628
|
readonly shadowEntityBoxDefault: string;
|
|
@@ -2747,11 +2757,11 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2747
2757
|
readonly gridCellBgColor: string;
|
|
2748
2758
|
readonly gridCellBorderColor: string;
|
|
2749
2759
|
readonly gridDisabledCellBgColor: string;
|
|
2750
|
-
readonly
|
|
2751
|
-
readonly
|
|
2760
|
+
readonly gridRowSelectedBgColor: string;
|
|
2761
|
+
readonly gridCellRangeBgColor: string;
|
|
2752
2762
|
readonly gridSelectedCellBorderColor: string;
|
|
2753
2763
|
readonly gridSelectedPinnedCellBorderColor: string;
|
|
2754
|
-
readonly
|
|
2764
|
+
readonly gridRowSelectedDisabledCellBgColor: string;
|
|
2755
2765
|
readonly gridActiveCellBorderColor: string;
|
|
2756
2766
|
readonly timelineEntityHandleColor: string;
|
|
2757
2767
|
readonly timelineDependencyHoverBgColor: string;
|
|
@@ -3058,5 +3068,4 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
3058
3068
|
/** @deprecated consider extracting token, internal use only */
|
|
3059
3069
|
varname: (key: string) => string;
|
|
3060
3070
|
}, "colors" | "varname">, Styles>;
|
|
3061
|
-
//#endregion
|
|
3062
|
-
export { Styles, Theme, stylesFromTheme, themeFromDefs, themeFromPalette };
|
|
3071
|
+
//#endregion
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ColorFilterSpec } from "../color-filter.js";
|
|
2
2
|
//#region src/design-system/types.d.ts
|
|
3
|
-
type ModeDef<T> = readonly [light: T, dark: T];
|
|
4
|
-
type Def = ModeDef<string>;
|
|
5
|
-
type Defs = Record<string, Def>;
|
|
6
|
-
type DefMapper = (def: Def) => Def;
|
|
7
|
-
type OneBasedScale<T> = readonly [base00: null, step01: T, step02: T, step03: T, step04: T, step05: T, step06: T, step07: T, step08: T, step09: T, step10: T, step11: T, step12: T];
|
|
8
|
-
type ZeroBasedScale<T> = readonly [step01: T, step02: T, step03: T, step04: T, step05: T, step06: T, step07: T, step08: T, step09: T, step10: T, step11: T, step12: T];
|
|
9
|
-
type ColorScale = OneBasedScale<string>;
|
|
3
|
+
export type ModeDef<T> = readonly [light: T, dark: T];
|
|
4
|
+
export type Def = ModeDef<string>;
|
|
5
|
+
export type Defs = Record<string, Def>;
|
|
6
|
+
export type DefMapper = (def: Def) => Def;
|
|
7
|
+
export type OneBasedScale<T> = readonly [base00: null, step01: T, step02: T, step03: T, step04: T, step05: T, step06: T, step07: T, step08: T, step09: T, step10: T, step11: T, step12: T];
|
|
8
|
+
export type ZeroBasedScale<T> = readonly [step01: T, step02: T, step03: T, step04: T, step05: T, step06: T, step07: T, step08: T, step09: T, step10: T, step11: T, step12: T];
|
|
9
|
+
export type ColorScale = OneBasedScale<string>;
|
|
10
10
|
type BgDef = ModeDef<{
|
|
11
11
|
Lc: number;
|
|
12
12
|
c: number;
|
|
@@ -15,8 +15,8 @@ type FgDependantOnBgDef = ModeDef<{
|
|
|
15
15
|
c: number;
|
|
16
16
|
Lc: number;
|
|
17
17
|
}>;
|
|
18
|
-
type HighlightHueName = "yellow" | "green" | "aquamarine" | "aqua" | "blue" | "purple" | "pink" | "red" | "grey";
|
|
19
|
-
type HighlightHueNameCap = "Yellow" | "Green" | "Aquamarine" | "Aqua" | "Blue" | "Purple" | "Pink" | "Red" | "Grey";
|
|
18
|
+
export type HighlightHueName = "yellow" | "green" | "aquamarine" | "aqua" | "blue" | "purple" | "pink" | "red" | "grey";
|
|
19
|
+
export type HighlightHueNameCap = "Yellow" | "Green" | "Aquamarine" | "Aqua" | "Blue" | "Purple" | "Pink" | "Red" | "Grey";
|
|
20
20
|
type HighlightIntensityDefs = {
|
|
21
21
|
bg: BgDef;
|
|
22
22
|
fg: FgDependantOnBgDef;
|
|
@@ -31,11 +31,11 @@ type HighlightIntensityOverrides = {
|
|
|
31
31
|
Lc: number;
|
|
32
32
|
}>>;
|
|
33
33
|
};
|
|
34
|
-
type HighlightDefs = HighlightIntensityDefs & {
|
|
34
|
+
export type HighlightDefs = HighlightIntensityDefs & {
|
|
35
35
|
hues: Record<HighlightHueName, number>;
|
|
36
36
|
overrides?: Partial<Record<HighlightHueName, Partial<HighlightIntensityOverrides>>>;
|
|
37
37
|
};
|
|
38
|
-
type EnumDefs = {
|
|
38
|
+
export type EnumDefs = {
|
|
39
39
|
bg: ModeDef<{
|
|
40
40
|
swatchAlpha: number;
|
|
41
41
|
minC: number;
|
|
@@ -46,11 +46,11 @@ type EnumDefs = {
|
|
|
46
46
|
swatchAlpha: number;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
type ThemePaletteBase = {
|
|
49
|
+
export type ThemePaletteBase = {
|
|
50
50
|
highlight: HighlightDefs;
|
|
51
51
|
enum: EnumDefs;
|
|
52
52
|
};
|
|
53
|
-
type ThemePaletteCore = ThemePaletteBase & {
|
|
53
|
+
export type ThemePaletteCore = ThemePaletteBase & {
|
|
54
54
|
deneutralize?: ModeDef<ColorFilterSpec>;
|
|
55
55
|
whiteA: ColorScale;
|
|
56
56
|
white: string;
|
|
@@ -74,9 +74,8 @@ type ThemePaletteKeyless = ThemePaletteCore & {
|
|
|
74
74
|
accent: ColorScale;
|
|
75
75
|
accentDark: ColorScale;
|
|
76
76
|
};
|
|
77
|
-
type ThemePalette = ThemePaletteKeyless & {
|
|
77
|
+
export type ThemePalette = ThemePaletteKeyless & {
|
|
78
78
|
key: string;
|
|
79
79
|
swatchDefault: string;
|
|
80
80
|
};
|
|
81
|
-
//#endregion
|
|
82
|
-
export { ColorScale, Def, DefMapper, Defs, EnumDefs, HighlightDefs, HighlightHueName, HighlightHueNameCap, ModeDef, OneBasedScale, ThemePalette, ThemePaletteBase, ThemePaletteCore, ZeroBasedScale };
|
|
81
|
+
//#endregion
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/design-system/typography.d.ts
|
|
2
|
-
declare const lineHeight: {
|
|
2
|
+
export declare const lineHeight: {
|
|
3
3
|
readonly text: 1.6;
|
|
4
4
|
readonly regular: 1.5;
|
|
5
5
|
readonly narrow: 1.4;
|
|
6
6
|
readonly heading: 1.3;
|
|
7
7
|
readonly nowrap: 1;
|
|
8
8
|
};
|
|
9
|
-
declare const fontSize: {
|
|
9
|
+
export declare const fontSize: {
|
|
10
10
|
readonly "3xl": 30;
|
|
11
11
|
readonly "2xl": 24;
|
|
12
12
|
readonly lg: 18;
|
|
@@ -18,9 +18,9 @@ declare const fontSize: {
|
|
|
18
18
|
readonly "2xs": 11;
|
|
19
19
|
readonly "3xs": 10;
|
|
20
20
|
};
|
|
21
|
-
declare const fontFamily = "\"Inter Variable\", \"SF Pro Display\", -apple-system, BlinkMacSystemFont, \"Segoe UI Variable Display\", \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif";
|
|
22
|
-
declare const fontFamilyCode = "\"SFMono-Regular\", Menlo, Consolas, \"PT Mono\", \"Liberation Mono\", Courier, monospace";
|
|
23
|
-
declare const fontWeight: {
|
|
21
|
+
export declare const fontFamily = "\"Inter Variable\", \"SF Pro Display\", -apple-system, BlinkMacSystemFont, \"Segoe UI Variable Display\", \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif";
|
|
22
|
+
export declare const fontFamilyCode = "\"SFMono-Regular\", Menlo, Consolas, \"PT Mono\", \"Liberation Mono\", Courier, monospace";
|
|
23
|
+
export declare const fontWeight: {
|
|
24
24
|
readonly light: 310;
|
|
25
25
|
readonly regular: 410;
|
|
26
26
|
readonly mediumLight: 450;
|
|
@@ -29,20 +29,20 @@ declare const fontWeight: {
|
|
|
29
29
|
readonly bold: 700;
|
|
30
30
|
};
|
|
31
31
|
/** @deprecated use tabularNumsClasses */
|
|
32
|
-
declare const tabularNumsOn: {
|
|
32
|
+
export declare const tabularNumsOn: {
|
|
33
33
|
readonly fontVariantNumeric: "tabular-nums";
|
|
34
34
|
readonly fontFeatureSettings: '"tnum" 1';
|
|
35
35
|
};
|
|
36
36
|
/** @deprecated use tabularNumsClasses */
|
|
37
|
-
declare const tabularNumsOff: {
|
|
37
|
+
export declare const tabularNumsOff: {
|
|
38
38
|
readonly fontVariantNumeric: "normal";
|
|
39
39
|
readonly fontFeatureSettings: '"tnum" 0';
|
|
40
40
|
};
|
|
41
|
-
declare const tabularNumsClasses: {
|
|
41
|
+
export declare const tabularNumsClasses: {
|
|
42
42
|
readonly on: import("@linaria/core").LinariaClassName;
|
|
43
43
|
readonly off: import("@linaria/core").LinariaClassName;
|
|
44
44
|
};
|
|
45
|
-
declare const textClasses: {
|
|
45
|
+
export declare const textClasses: {
|
|
46
46
|
readonly heading1: import("@linaria/core").LinariaClassName;
|
|
47
47
|
readonly heading2: import("@linaria/core").LinariaClassName;
|
|
48
48
|
readonly heading3: import("@linaria/core").LinariaClassName;
|
|
@@ -76,7 +76,7 @@ declare const textClasses: {
|
|
|
76
76
|
* Reusing object form via spread evaluates the entry on every css`` it appears in, slowing
|
|
77
77
|
* linaria compilation. Each new usage compounds the cost.
|
|
78
78
|
*/
|
|
79
|
-
declare const textStyles: {
|
|
79
|
+
export declare const textStyles: {
|
|
80
80
|
readonly heading1: {
|
|
81
81
|
readonly fontFamily: "\"Inter Variable\", \"SF Pro Display\", -apple-system, BlinkMacSystemFont, \"Segoe UI Variable Display\", \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif";
|
|
82
82
|
readonly fontSize: 30;
|
|
@@ -203,5 +203,4 @@ declare const textStyles: {
|
|
|
203
203
|
readonly color: "inherit";
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
-
//#endregion
|
|
207
|
-
export { fontFamily, fontFamilyCode, fontSize, fontWeight, lineHeight, tabularNumsClasses, tabularNumsOff, tabularNumsOn, textClasses, textStyles };
|
|
206
|
+
//#endregion
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { Theme } from "./theme.js";
|
|
2
2
|
//#region src/design-system/vars.d.ts
|
|
3
|
-
type ThemeVars = Theme["colors"];
|
|
4
|
-
declare function varsFromTheme(theme: Theme): ThemeVars;
|
|
5
|
-
type LayoutVarNames = {
|
|
3
|
+
export type ThemeVars = Theme["colors"];
|
|
4
|
+
export declare function varsFromTheme(theme: Theme): ThemeVars;
|
|
5
|
+
export type LayoutVarNames = {
|
|
6
6
|
menuItemHeightVar: string;
|
|
7
7
|
sidebarMenuItemHeightVar: string;
|
|
8
8
|
sidebarMenuIconSizeVar: string;
|
|
9
9
|
listRowSurfaceFontSizeVar: string;
|
|
10
10
|
};
|
|
11
|
-
type LayoutVars = {
|
|
11
|
+
export type LayoutVars = {
|
|
12
12
|
menuItemHeight: string;
|
|
13
13
|
sidebarMenuItemHeight: string;
|
|
14
14
|
sidebarMenuIconSize: string;
|
|
15
15
|
listRowSurfaceFontSize: string;
|
|
16
16
|
};
|
|
17
|
-
declare function layoutVarNamesFromPrefix(prefix: string): LayoutVarNames;
|
|
18
|
-
declare function layoutVarsFromPrefix(prefix: string): LayoutVars;
|
|
19
|
-
declare function resolveColorArg(value: string, fnName: string): string;
|
|
20
|
-
declare function resolveColorArg<T>(value: string | T, fnName: string): string | T;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { LayoutVarNames, LayoutVars, ThemeVars, layoutVarNamesFromPrefix, layoutVarsFromPrefix, resolveColorArg, varsFromTheme };
|
|
17
|
+
export declare function layoutVarNamesFromPrefix(prefix: string): LayoutVarNames;
|
|
18
|
+
export declare function layoutVarsFromPrefix(prefix: string): LayoutVars;
|
|
19
|
+
export declare function resolveColorArg(value: string, fnName: string): string;
|
|
20
|
+
export declare function resolveColorArg<T>(value: string | T, fnName: string): string | T;
|
|
21
|
+
//#endregion
|
package/lib/dnd.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
2
2
|
//#region src/dnd.d.ts
|
|
3
|
-
declare const draggingStyle: {
|
|
3
|
+
export declare const draggingStyle: {
|
|
4
4
|
backgroundColor: "var(--actionMenuBg)";
|
|
5
5
|
borderRadius: 6;
|
|
6
6
|
boxShadow: "var(--entityCardShadowHover)";
|
|
7
7
|
};
|
|
8
|
-
declare const DragHandler: FC<{
|
|
8
|
+
export declare const DragHandler: FC<{
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
preserveOnHide?: boolean;
|
|
11
11
|
} & HTMLAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const DragContainer: FC<PropsWithChildren<{
|
|
12
|
+
export declare const DragContainer: FC<PropsWithChildren<{
|
|
13
13
|
isDragging: boolean;
|
|
14
14
|
className?: string;
|
|
15
15
|
}>>;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { DragContainer, DragHandler, draggingStyle };
|
|
16
|
+
//#endregion
|
package/lib/dom-utils.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/dom-utils.d.ts
|
|
2
|
-
declare const getPopupContainerElement: () => HTMLElement;
|
|
2
|
+
export declare const getPopupContainerElement: () => HTMLElement;
|
|
3
3
|
type LimitedMouseEvent = Pick<MouseEvent, "button" | "metaKey" | "altKey" | "ctrlKey" | "shiftKey">;
|
|
4
|
-
declare function shouldProcessLinkClick(event: LimitedMouseEvent, target?: string): boolean;
|
|
5
|
-
declare const findScrollParent: (element: Element | null) => Element | null;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { findScrollParent, getPopupContainerElement, shouldProcessLinkClick };
|
|
4
|
+
export declare function shouldProcessLinkClick(event: LimitedMouseEvent, target?: string): boolean;
|
|
5
|
+
export declare const findScrollParent: (element: Element | null) => Element | null;
|
|
6
|
+
//#endregion
|
package/lib/dot.d.ts
CHANGED
|
@@ -4,6 +4,5 @@ type Props = {
|
|
|
4
4
|
color?: string;
|
|
5
5
|
size?: "small" | "medium";
|
|
6
6
|
} & React.ComponentProps<"div">;
|
|
7
|
-
declare const Dot: ({ className, color, size, style, ...props }: Props) => import("react
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Dot };
|
|
7
|
+
export declare const Dot: ({ className, color, size, style, ...props }: Props) => import("react").JSX.Element;
|
|
8
|
+
//#endregion
|
package/lib/double-apply.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/double-apply.d.ts
|
|
2
|
-
declare const makeDoubleApplyDetector: () => (input: string, output: string, recordOutput?: boolean) => void;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { makeDoubleApplyDetector };
|
|
2
|
+
export declare const makeDoubleApplyDetector: () => (input: string, output: string, recordOutput?: boolean) => void;
|
|
3
|
+
//#endregion
|
package/lib/download-file.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { MobileAppApi } from "./mobile-app-api.js";
|
|
1
2
|
//#region src/download-file.d.ts
|
|
2
|
-
declare const downloadFile: (url: string, fileName?: string) => Promise<void>;
|
|
3
|
+
export declare const downloadFile: (url: string, fileName?: string) => Promise<void>;
|
|
3
4
|
//#endregion
|
|
4
|
-
export {
|
|
5
|
+
export type { MobileAppApi };
|