@fibery/ui-kit 9.4.3 → 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 -5
- package/lib/board-table-loader.js +16 -22
- 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/color-picker-or-loader.js +1 -1
- 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 -4
- package/lib/delayed.js +1 -2
- 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 +2 -1
- 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/comment-bubble.js +1 -5
- package/lib/icons/ast/comments.js +1 -10
- package/lib/icons/ast/connector.d.ts +5 -0
- package/lib/icons/ast/connector.js +21 -0
- package/lib/icons/ast/index.d.ts +9 -3
- package/lib/icons/ast/index.js +9 -3
- package/lib/icons/ast/layout-ai.d.ts +5 -0
- package/lib/icons/ast/layout-ai.js +21 -0
- package/lib/icons/ast/message-plus.js +1 -6
- 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-accept.d.ts +5 -0
- package/lib/icons/ast/suggest-accept.js +21 -0
- package/lib/icons/ast/suggest-comments.d.ts +5 -0
- package/lib/icons/ast/suggest-comments.js +21 -0
- package/lib/icons/ast/suggest-edit.d.ts +5 -0
- package/lib/icons/ast/suggest-edit.js +21 -0
- package/lib/icons/ast/suggest-reject.d.ts +5 -0
- package/lib/icons/ast/suggest-reject.js +21 -0
- 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/{suggestions-comments.d.ts → ai-fibery-build-dots.d.ts} +4 -4
- package/lib/icons/react/{suggestions-comments.js → ai-fibery-build-dots.js} +6 -6
- 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/{suggestions.js → connector.js} +6 -6
- package/lib/icons/react/index.d.ts +9 -3
- package/lib/icons/react/index.js +9 -3
- package/lib/icons/react/layout-ai.d.ts +15 -0
- package/lib/icons/react/layout-ai.js +21 -0
- package/lib/icons/react/suggest-accept.d.ts +15 -0
- package/lib/icons/react/suggest-accept.js +21 -0
- package/lib/icons/react/suggest-comments.d.ts +15 -0
- package/lib/icons/react/suggest-comments.js +21 -0
- package/lib/icons/react/{suggestions.d.ts → suggest-edit.d.ts} +4 -4
- package/lib/icons/react/suggest-edit.js +21 -0
- package/lib/icons/react/suggest-reject.d.ts +15 -0
- package/lib/icons/react/suggest-reject.js +21 -0
- 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 +5 -0
- package/lib/loader-gate.js +8 -0
- package/lib/loader-gate.wyw-in-js.css +1 -0
- package/lib/loaders.d.ts +10 -11
- package/lib/loaders.js +2 -8
- 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 -6
- package/lib/rich-input-loader.js +7 -32
- 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-loader.js +1 -4
- 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 +33 -18
- package/lib/skeleton.js +45 -22
- package/lib/skeleton.wyw-in-js.css +4 -5
- package/lib/spinner-box.d.ts +6 -6
- package/lib/spinner-box.js +9 -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 +3 -4
- 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/icons/ast/suggestions-comments.d.ts +0 -5
- package/lib/icons/ast/suggestions-comments.js +0 -39
- package/lib/icons/ast/suggestions.d.ts +0 -5
- package/lib/icons/ast/suggestions.js +0 -30
- 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,21 +1,20 @@
|
|
|
1
1
|
//#region src/date-picker/styles.d.ts
|
|
2
|
-
declare const selectedStyle: import("@linaria/core").LinariaClassName;
|
|
3
|
-
declare const disabledStyle: import("@linaria/core").LinariaClassName;
|
|
4
|
-
declare const fakeDateInputStyle: import("@linaria/core").LinariaClassName;
|
|
5
|
-
declare const activeClassName: import("@linaria/core").LinariaClassName;
|
|
6
|
-
declare const disabledClassName: import("@linaria/core").LinariaClassName;
|
|
7
|
-
declare const selectedClassName: import("@linaria/core").LinariaClassName;
|
|
8
|
-
declare const selectedSingleDateClassName: import("@linaria/core").LinariaClassName;
|
|
9
|
-
declare const startRangeClassName: import("@linaria/core").LinariaClassName;
|
|
10
|
-
declare const endRangeClassName: import("@linaria/core").LinariaClassName;
|
|
11
|
-
declare const todayClassName: import("@linaria/core").LinariaClassName;
|
|
12
|
-
declare const outsideClassName: import("@linaria/core").LinariaClassName;
|
|
13
|
-
declare const weekendClassName: import("@linaria/core").LinariaClassName;
|
|
14
|
-
declare const startButtonClassName: import("@linaria/core").LinariaClassName;
|
|
15
|
-
declare const endButtonClassName: import("@linaria/core").LinariaClassName;
|
|
16
|
-
declare const dayWrapper: import("@linaria/core").LinariaClassName;
|
|
17
|
-
declare const dayContentClassName: import("@linaria/core").LinariaClassName;
|
|
18
|
-
declare const dayButtonsContainerClassName: import("@linaria/core").LinariaClassName;
|
|
19
|
-
declare const datePickerStylesOverrideClassName: import("@linaria/core").LinariaClassName;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { activeClassName, datePickerStylesOverrideClassName, dayButtonsContainerClassName, dayContentClassName, dayWrapper, disabledClassName, disabledStyle, endButtonClassName, endRangeClassName, fakeDateInputStyle, outsideClassName, selectedClassName, selectedSingleDateClassName, selectedStyle, startButtonClassName, startRangeClassName, todayClassName, weekendClassName };
|
|
2
|
+
export declare const selectedStyle: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const disabledStyle: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const fakeDateInputStyle: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const activeClassName: import("@linaria/core").LinariaClassName;
|
|
6
|
+
export declare const disabledClassName: import("@linaria/core").LinariaClassName;
|
|
7
|
+
export declare const selectedClassName: import("@linaria/core").LinariaClassName;
|
|
8
|
+
export declare const selectedSingleDateClassName: import("@linaria/core").LinariaClassName;
|
|
9
|
+
export declare const startRangeClassName: import("@linaria/core").LinariaClassName;
|
|
10
|
+
export declare const endRangeClassName: import("@linaria/core").LinariaClassName;
|
|
11
|
+
export declare const todayClassName: import("@linaria/core").LinariaClassName;
|
|
12
|
+
export declare const outsideClassName: import("@linaria/core").LinariaClassName;
|
|
13
|
+
export declare const weekendClassName: import("@linaria/core").LinariaClassName;
|
|
14
|
+
export declare const startButtonClassName: import("@linaria/core").LinariaClassName;
|
|
15
|
+
export declare const endButtonClassName: import("@linaria/core").LinariaClassName;
|
|
16
|
+
export declare const dayWrapper: import("@linaria/core").LinariaClassName;
|
|
17
|
+
export declare const dayContentClassName: import("@linaria/core").LinariaClassName;
|
|
18
|
+
export declare const dayButtonsContainerClassName: import("@linaria/core").LinariaClassName;
|
|
19
|
+
export declare const datePickerStylesOverrideClassName: import("@linaria/core").LinariaClassName;
|
|
20
|
+
//#endregion
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { JSX, ReactNode } from "react";
|
|
2
2
|
import { Moment, unitOfTime } from "moment";
|
|
3
3
|
//#region src/date-picker/types.d.ts
|
|
4
|
-
type RelativeDateValue = {
|
|
4
|
+
export type RelativeDateValue = {
|
|
5
5
|
isBeforeNow: boolean;
|
|
6
6
|
unit: unitOfTime.DurationConstructor;
|
|
7
7
|
amount: number;
|
|
8
8
|
};
|
|
9
|
-
type
|
|
9
|
+
export type DatePickerShowTime = boolean | {
|
|
10
|
+
minuteStep: number;
|
|
11
|
+
defaultValue: Moment;
|
|
12
|
+
format: string;
|
|
13
|
+
} | null;
|
|
14
|
+
export type MomentSingleDateProps<AllowRelativeDate extends boolean = false> = {
|
|
10
15
|
value: AllowRelativeDate extends true ? Moment | RelativeDateValue | null : Moment | null;
|
|
11
|
-
onChange:
|
|
16
|
+
onChange: true extends AllowRelativeDate ? (value: Moment | RelativeDateValue | null, isRelativeDate?: boolean) => void : (value: Moment | null) => void;
|
|
12
17
|
};
|
|
13
|
-
type NativeSingleDatePickerProps = {
|
|
18
|
+
export type NativeSingleDatePickerProps = {
|
|
14
19
|
value: Date | null;
|
|
15
20
|
onChange: (date: Date | null) => void;
|
|
16
21
|
};
|
|
17
|
-
type DatePickerCommonProps = {
|
|
22
|
+
export type DatePickerCommonProps = {
|
|
18
23
|
title?: string;
|
|
19
|
-
showTime?:
|
|
24
|
+
showTime?: DatePickerShowTime;
|
|
20
25
|
showToday?: boolean;
|
|
21
26
|
showInput?: boolean;
|
|
22
27
|
header?: ReactNode;
|
|
@@ -33,25 +38,24 @@ type DatePickerCommonProps = {
|
|
|
33
38
|
size?: "small" | "medium";
|
|
34
39
|
disableFutureSelection?: boolean;
|
|
35
40
|
};
|
|
36
|
-
type MomentDateRangeProps = {
|
|
41
|
+
export type MomentDateRangeProps = {
|
|
37
42
|
value: [Moment | null, Moment | null];
|
|
38
43
|
onChange: (momentDate: [Moment | null, Moment | null]) => void;
|
|
39
44
|
};
|
|
40
|
-
type NativeDateRangePickerProps = {
|
|
45
|
+
export type NativeDateRangePickerProps = {
|
|
41
46
|
value: [Date | null, Date | null];
|
|
42
47
|
onChange: (date: [Date | null, Date | null]) => void;
|
|
43
48
|
};
|
|
44
|
-
type ControlledDatePickerProps = {
|
|
49
|
+
export type ControlledDatePickerProps = {
|
|
45
50
|
open: boolean;
|
|
46
51
|
onOpenChange: (open: boolean) => void;
|
|
47
52
|
};
|
|
48
|
-
type SingleDatePickerPopoverContentProps<IsRelativeDate extends boolean = false> = DatePickerCommonProps & MomentSingleDateProps<IsRelativeDate> & {
|
|
53
|
+
export type SingleDatePickerPopoverContentProps<IsRelativeDate extends boolean = false> = DatePickerCommonProps & MomentSingleDateProps<IsRelativeDate> & {
|
|
49
54
|
allowRelativeDate?: IsRelativeDate;
|
|
50
55
|
} & (IsRelativeDate extends true ? {
|
|
51
56
|
relativeDateToExactDate?: (value: RelativeDateValue) => string;
|
|
52
57
|
} : {
|
|
53
58
|
relativeDateToExactDate?: never;
|
|
54
59
|
});
|
|
55
|
-
type SingleDatePickerProps<IsRelativeDate extends boolean = false> = ControlledDatePickerProps & SingleDatePickerPopoverContentProps<IsRelativeDate>;
|
|
56
|
-
//#endregion
|
|
57
|
-
export { ControlledDatePickerProps, DatePickerCommonProps, MomentDateRangeProps, MomentSingleDateProps, NativeDateRangePickerProps, NativeSingleDatePickerProps, RelativeDateValue, SingleDatePickerPopoverContentProps, SingleDatePickerProps };
|
|
60
|
+
export type SingleDatePickerProps<IsRelativeDate extends boolean = false> = ControlledDatePickerProps & SingleDatePickerPopoverContentProps<IsRelativeDate>;
|
|
61
|
+
//#endregion
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
+
import { DatePickerShowTime } from "./types.js";
|
|
1
2
|
import * as chrono from "chrono-node";
|
|
2
3
|
//#region src/date-picker/utils.d.ts
|
|
3
|
-
declare const getLocaleSpecificChrono: (dateFormat: string | undefined) => chrono.Chrono | typeof chrono.en;
|
|
4
|
-
declare const getTimeIntervals: (value: string) => number[];
|
|
5
|
-
declare const formatDateInputValue: (value: Date | null, options?: {
|
|
4
|
+
export declare const getLocaleSpecificChrono: (dateFormat: string | undefined) => chrono.Chrono | typeof chrono.en;
|
|
5
|
+
export declare const getTimeIntervals: (value: string) => number[];
|
|
6
|
+
export declare const formatDateInputValue: (value: Date | null, options?: {
|
|
6
7
|
dateTimeFormat?: string;
|
|
7
8
|
dateFormat?: string;
|
|
8
|
-
showTime?:
|
|
9
|
+
showTime?: DatePickerShowTime;
|
|
9
10
|
}) => string;
|
|
10
|
-
declare const setTime: (date: Date | null, time: string, format?: string) => Date | null;
|
|
11
|
-
declare const formatDateRangeInputValue: (from: Date | null, to: Date | null, options?: {
|
|
12
|
-
showTime?:
|
|
11
|
+
export declare const setTime: (date: Date | null, time: string, format?: string) => Date | null;
|
|
12
|
+
export declare const formatDateRangeInputValue: (from: Date | null, to: Date | null, options?: {
|
|
13
|
+
showTime?: DatePickerShowTime;
|
|
13
14
|
short?: boolean;
|
|
14
15
|
dateFormat?: string;
|
|
15
16
|
timeFormat?: string;
|
|
16
17
|
dateTimeFormat?: string;
|
|
17
18
|
}) => string;
|
|
18
|
-
declare const getDateRangeIntervals: (value: string) => {
|
|
19
|
+
export declare const getDateRangeIntervals: (value: string) => {
|
|
19
20
|
startDateInterval: number[];
|
|
20
21
|
endDateInterval: number[];
|
|
21
22
|
};
|
|
22
|
-
declare const getDateTimeRangeIntervals: (value: string) => {
|
|
23
|
+
export declare const getDateTimeRangeIntervals: (value: string) => {
|
|
23
24
|
startDateInterval: null;
|
|
24
25
|
endDateInterval: null;
|
|
25
26
|
startTimeInterval?: undefined;
|
|
@@ -30,6 +31,5 @@ declare const getDateTimeRangeIntervals: (value: string) => {
|
|
|
30
31
|
startTimeInterval: number[];
|
|
31
32
|
endTimeInterval: number[];
|
|
32
33
|
};
|
|
33
|
-
declare const getRandomPlaceholder: (showTime:
|
|
34
|
-
//#endregion
|
|
35
|
-
export { formatDateInputValue, formatDateRangeInputValue, getDateRangeIntervals, getDateTimeRangeIntervals, getLocaleSpecificChrono, getRandomPlaceholder, getTimeIntervals, setTime };
|
|
34
|
+
export declare const getRandomPlaceholder: (showTime: DatePickerShowTime, isRange: boolean) => string;
|
|
35
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ControlledDatePickerProps } from "./types.js";
|
|
2
2
|
//#region src/date-picker/with-popup-control.d.ts
|
|
3
|
-
declare const withPopupControl: <P extends object>(Component: React.ComponentType<P & ControlledDatePickerProps>) => (props: P) => import("react
|
|
4
|
-
//#endregion
|
|
5
|
-
export { withPopupControl };
|
|
3
|
+
export declare const withPopupControl: <P extends object>(Component: React.ComponentType<P & ControlledDatePickerProps>) => (props: P) => import("react").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -7,7 +7,7 @@ import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
|
7
7
|
var noOutline = "n8zk51t-noOutline";
|
|
8
8
|
var withPopupControl = (Component) => function WithPopupControl(props) {
|
|
9
9
|
const [open, setOpen] = useState(false);
|
|
10
|
-
const timeoutIdRef = useRef();
|
|
10
|
+
const timeoutIdRef = useRef(void 0);
|
|
11
11
|
const onOpenChange = useCallback((value) => {
|
|
12
12
|
timeoutIdRef.current = setTimeout(() => {
|
|
13
13
|
setOpen(value);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { JSX } from "react";
|
|
1
2
|
//#region src/day-select/day-select.d.ts
|
|
2
|
-
type Props = {
|
|
3
|
+
export type Props = {
|
|
3
4
|
value: Array<number>;
|
|
4
5
|
onChange: (v: Array<number>) => void;
|
|
5
6
|
days: Array<{
|
|
@@ -9,6 +10,5 @@ type Props = {
|
|
|
9
10
|
}>;
|
|
10
11
|
allowEmpty?: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare function DaySelect({ value, onChange, days, allowEmpty }: Props): JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { DaySelect, Props };
|
|
13
|
+
export declare function DaySelect({ value, onChange, days, allowEmpty }: Props): JSX.Element;
|
|
14
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Props } from "./day-select.js";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
//#region src/day-select/iso-week-day-select.d.ts
|
|
3
|
-
declare function IsoWeekdaySelect({ value, onChange, allowEmpty }: Omit<Props, "days">): JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { IsoWeekdaySelect };
|
|
4
|
+
export declare function IsoWeekdaySelect({ value, onChange, allowEmpty }: Omit<Props, "days">): JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Props } from "./day-select.js";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
//#region src/day-select/mount-day-select.d.ts
|
|
3
|
-
declare function MonthdaySelect({ value, onChange }: Omit<Props, "days">): JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { MonthdaySelect };
|
|
4
|
+
export declare function MonthdaySelect({ value, onChange }: Omit<Props, "days">): JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Props } from "./day-select.js";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
//#region src/day-select/week-day-select.d.ts
|
|
3
|
-
declare enum Days {
|
|
4
|
+
export declare enum Days {
|
|
4
5
|
MO = 0,
|
|
5
6
|
TU = 1,
|
|
6
7
|
WE = 2,
|
|
@@ -9,7 +10,7 @@ declare enum Days {
|
|
|
9
10
|
SA = 5,
|
|
10
11
|
SU = 6
|
|
11
12
|
}
|
|
12
|
-
declare const getDays: ((arg: number) => {
|
|
13
|
+
export declare const getDays: ((arg: number) => {
|
|
13
14
|
key: string;
|
|
14
15
|
title: string;
|
|
15
16
|
value: Days;
|
|
@@ -18,8 +19,7 @@ declare const getDays: ((arg: number) => {
|
|
|
18
19
|
title: string;
|
|
19
20
|
value: Days;
|
|
20
21
|
}[]>;
|
|
21
|
-
declare function WeekdaySelect({ value, onChange, firstDay }: Omit<Props, "days"> & {
|
|
22
|
+
export declare function WeekdaySelect({ value, onChange, firstDay }: Omit<Props, "days"> & {
|
|
22
23
|
firstDay: number;
|
|
23
24
|
}): JSX.Element;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { Days, WeekdaySelect, getDays };
|
|
25
|
+
//#endregion
|
package/lib/delayed.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
//#region src/delayed.d.ts
|
|
3
|
-
declare const
|
|
4
|
-
declare const Delayed: React.FC<React.PropsWithChildren<{
|
|
3
|
+
export declare const Delayed: React.FC<React.PropsWithChildren<{
|
|
5
4
|
delayMs: number;
|
|
6
5
|
}>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { Delayed, defaultLoaderDelay };
|
|
6
|
+
//#endregion
|
package/lib/delayed.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState } from "react";
|
|
2
2
|
//#region src/delayed.tsx
|
|
3
|
-
var defaultLoaderDelay = 1e3;
|
|
4
3
|
var Delayed = ({ children, delayMs }) => {
|
|
5
4
|
const [isVisible, setVisible] = useState(delayMs === 0);
|
|
6
5
|
useEffect(() => {
|
|
@@ -15,4 +14,4 @@ var Delayed = ({ children, delayMs }) => {
|
|
|
15
14
|
return isVisible ? children : null;
|
|
16
15
|
};
|
|
17
16
|
//#endregion
|
|
18
|
-
export { Delayed
|
|
17
|
+
export { Delayed };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ModeDef } from "./types.js";
|
|
2
2
|
import { AlphaCoefficient } from "./alpha.js";
|
|
3
3
|
//#region src/design-system/alpha-coefficients.d.ts
|
|
4
|
-
type AlphaModeDef = ModeDef<AlphaCoefficient>;
|
|
5
|
-
declare const alphaCoefficients: {
|
|
4
|
+
export type AlphaModeDef = ModeDef<AlphaCoefficient>;
|
|
5
|
+
export declare const alphaCoefficients: {
|
|
6
6
|
readonly direction: {
|
|
7
7
|
readonly surface5: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
8
8
|
readonly surface10: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
@@ -206,5 +206,4 @@ declare const alphaCoefficients: {
|
|
|
206
206
|
readonly appIconWrapper: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
|
-
//#endregion
|
|
210
|
-
export { AlphaModeDef, alphaCoefficients };
|
|
209
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/design-system/alpha.d.ts
|
|
2
|
-
declare const transparent = "rgba(255, 255, 255, 0)";
|
|
3
|
-
declare const opacity: {
|
|
2
|
+
export declare const transparent = "rgba(255, 255, 255, 0)";
|
|
3
|
+
export declare const opacity: {
|
|
4
4
|
readonly opacity100: 1;
|
|
5
5
|
readonly opacity95: 0.95;
|
|
6
6
|
readonly opacity90: 0.9;
|
|
@@ -29,12 +29,11 @@ declare const opacity: {
|
|
|
29
29
|
readonly opacity3: 0.03;
|
|
30
30
|
readonly opacity0: 0;
|
|
31
31
|
};
|
|
32
|
-
type AlphaValue = (typeof opacity)[keyof typeof opacity];
|
|
32
|
+
export type AlphaValue = (typeof opacity)[keyof typeof opacity];
|
|
33
33
|
declare const alphaCoefficientBrand: unique symbol;
|
|
34
|
-
type AlphaCoefficient = AlphaValue & {
|
|
34
|
+
export type AlphaCoefficient = AlphaValue & {
|
|
35
35
|
readonly [alphaCoefficientBrand]: "alpha-coefficient";
|
|
36
36
|
};
|
|
37
|
-
declare const defineAlphaCoefficient: (value: AlphaValue) => AlphaCoefficient;
|
|
38
|
-
declare const alpha: ((color: string, alpha: AlphaCoefficient) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
39
|
-
//#endregion
|
|
40
|
-
export { AlphaCoefficient, AlphaValue, alpha, defineAlphaCoefficient, opacity, transparent };
|
|
37
|
+
export declare const defineAlphaCoefficient: (value: AlphaValue) => AlphaCoefficient;
|
|
38
|
+
export declare const alpha: ((color: string, alpha: AlphaCoefficient) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
39
|
+
//#endregion
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
//#region src/design-system/animation.d.ts
|
|
2
|
-
declare const tooltipDelay: {
|
|
2
|
+
export declare const tooltipDelay: {
|
|
3
3
|
readonly enter: 500;
|
|
4
4
|
readonly leave: 0;
|
|
5
5
|
};
|
|
6
|
-
declare const durations: {
|
|
6
|
+
export declare const durations: {
|
|
7
7
|
readonly faster: 120;
|
|
8
8
|
readonly fast: 150;
|
|
9
9
|
readonly normal: 200;
|
|
10
10
|
readonly slow: 300;
|
|
11
11
|
readonly slower: 400;
|
|
12
12
|
};
|
|
13
|
-
declare const transitionDuration: {
|
|
13
|
+
export declare const transitionDuration: {
|
|
14
14
|
faster: string;
|
|
15
15
|
fast: string;
|
|
16
16
|
normal: string;
|
|
17
17
|
slow: string;
|
|
18
18
|
slower: string;
|
|
19
19
|
};
|
|
20
|
-
declare const transitions: {
|
|
20
|
+
export declare const transitions: {
|
|
21
21
|
faster: string;
|
|
22
22
|
fast: string;
|
|
23
23
|
normal: string;
|
|
@@ -26,6 +26,5 @@ declare const transitions: {
|
|
|
26
26
|
slower: string;
|
|
27
27
|
};
|
|
28
28
|
/** @deprecated inline */
|
|
29
|
-
declare const transition: string;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { durations, tooltipDelay, transition, transitionDuration, transitions };
|
|
29
|
+
export declare const transition: string;
|
|
30
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/design-system/colors-charts.d.ts
|
|
2
|
-
declare const palette: readonly ["#B2E5DC", "#F0939B", "#F4C19F", "#F9DE86", "#97C397", "#BBDCFB", "#C5B6ED", "#FDD8E8", "#57BCCC"];
|
|
3
|
-
//#endregion
|
|
4
|
-
export { palette };
|
|
2
|
+
export declare const palette: readonly ["#B2E5DC", "#F0939B", "#F4C19F", "#F9DE86", "#97C397", "#BBDCFB", "#C5B6ED", "#FDD8E8", "#57BCCC"];
|
|
3
|
+
//#endregion
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
//#region src/design-system/colors-css.d.ts
|
|
2
|
-
declare function getLinearGradient(backgroundColors: Array<string>): string;
|
|
3
|
-
declare const enumFgCustomColorPercent: number;
|
|
4
|
-
declare const enumFgTextColorPercent: number;
|
|
5
|
-
declare function getEnumTextColor(color: string): string;
|
|
2
|
+
export declare function getLinearGradient(backgroundColors: Array<string>): string;
|
|
3
|
+
export declare const enumFgCustomColorPercent: number;
|
|
4
|
+
export declare const enumFgTextColorPercent: number;
|
|
5
|
+
export declare function getEnumTextColor(color: string): string;
|
|
6
6
|
/** Border on filled background swatches */
|
|
7
|
-
declare function getBgSwatchBorderColor(fill: string): string;
|
|
7
|
+
export declare function getBgSwatchBorderColor(fill: string): string;
|
|
8
8
|
/** Opaque fill for palette swatches */
|
|
9
|
-
declare function getBgSwatchFillColor(fill: string): string;
|
|
10
|
-
declare const dropCursorColor: string;
|
|
11
|
-
declare const shadows: {
|
|
9
|
+
export declare function getBgSwatchFillColor(fill: string): string;
|
|
10
|
+
export declare const dropCursorColor: string;
|
|
11
|
+
export declare const shadows: {
|
|
12
12
|
readonly border: "0 0 0 1px var(--colorShadowBorder)";
|
|
13
13
|
readonly inversedBorder: "0 0 0 1px var(--separatorColor)";
|
|
14
14
|
readonly alphaCheckerboard: "repeating-conic-gradient(var(--separatorColor) 0% 25%, transparent 0% 50%) 50% / 8px 8px";
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
|
-
export { dropCursorColor, enumFgCustomColorPercent, enumFgTextColorPercent, getBgSwatchBorderColor, getBgSwatchFillColor, getEnumTextColor, getLinearGradient, shadows };
|
|
16
|
+
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ThemeMode } from "../theme-bootstrap.js";
|
|
2
2
|
//#region src/design-system/colors-js.d.ts
|
|
3
|
-
declare const getDarkenColor: ((arg: string) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
4
|
-
declare function getObjectColor(name: string | null | undefined): string;
|
|
5
|
-
declare function makeSelect(mode: ThemeMode): <T>(values: {
|
|
3
|
+
export declare const getDarkenColor: ((arg: string) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
4
|
+
export declare function getObjectColor(name: string | null | undefined): string;
|
|
5
|
+
export declare function makeSelect(mode: ThemeMode): <T>(values: {
|
|
6
6
|
light: T;
|
|
7
7
|
dark: T;
|
|
8
8
|
}) => T;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { getDarkenColor, getObjectColor, makeSelect };
|
|
9
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/design-system/colors-swatches.d.ts
|
|
2
|
-
declare const Swatch: {
|
|
2
|
+
export declare const Swatch: {
|
|
3
3
|
readonly GreyDark: "#4A4A4A";
|
|
4
4
|
readonly Grey: "#6A849B";
|
|
5
5
|
readonly GreyLight: "#99A2AB";
|
|
@@ -20,6 +20,5 @@ declare const Swatch: {
|
|
|
20
20
|
readonly Orange: "#FC551F";
|
|
21
21
|
readonly Brown: "#B04E31";
|
|
22
22
|
};
|
|
23
|
-
declare const swatches: ("#159789" | "#199EE3" | "#1FBED3" | "#2978FB" | "#3E53B4" | "#4A4A4A" | "#4FAF54" | "#673DB6" | "#6A849B" | "#8EC351" | "#99A2AB" | "#9C2BAF" | "#B04E31" | "#D40915" | "#E72065" | "#FBA32F" | "#FC551F")[];
|
|
24
|
-
//#endregion
|
|
25
|
-
export { Swatch, swatches };
|
|
23
|
+
export declare const swatches: ("#159789" | "#199EE3" | "#1FBED3" | "#2978FB" | "#3E53B4" | "#4A4A4A" | "#4FAF54" | "#673DB6" | "#6A849B" | "#8EC351" | "#99A2AB" | "#9C2BAF" | "#B04E31" | "#D40915" | "#E72065" | "#FBA32F" | "#FC551F")[];
|
|
24
|
+
//#endregion
|