@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
package/lib/toggle.js
CHANGED
|
@@ -68,22 +68,26 @@ var toggleSizeTextClass = {
|
|
|
68
68
|
"extra-large": textClasses.regular
|
|
69
69
|
};
|
|
70
70
|
var toggleSizeStyle = "ttkjml6-toggleSize";
|
|
71
|
+
var pendingSpinnerSlotCss = "p12x39uh-pendingSpinnerSlot";
|
|
71
72
|
/** @deprecated implementation detail */
|
|
72
73
|
var Toggle = ({ value, label, labelTitle, pending, disabled = false, backgroundColor, size = "medium", onChange, labelPosition = "last", labelMutedWhenDisabled = true, className, wrapperClassName, ...rest }) => {
|
|
73
74
|
const outlineColor = getOutlineColor(backgroundColor);
|
|
74
75
|
const circleTransformStyle = { transform: `translateX(${value ? `calc(var(${toggleIconWidthVar}) - var(${toggleIconHeightVar}))` : 0})` };
|
|
75
76
|
return /* @__PURE__ */ jsxs("label", {
|
|
76
|
-
className: cx(toggleSizeTextClass[size], toggleSize[size], toggleSizeStyle, wrapperClassName, labelWrapperStyle, disabled ? "
|
|
77
|
+
className: cx(toggleSizeTextClass[size], toggleSize[size], toggleSizeStyle, wrapperClassName, labelWrapperStyle, disabled ? "czzimxx" : "ca7kwr9", labelPosition === "first" ? "c1bal83j" : "c6mdilj"),
|
|
77
78
|
title: labelTitle,
|
|
78
79
|
children: [
|
|
79
|
-
pending && /* @__PURE__ */ jsx(
|
|
80
|
+
pending && /* @__PURE__ */ jsx("span", {
|
|
81
|
+
className: pendingSpinnerSlotCss,
|
|
82
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
83
|
+
}),
|
|
80
84
|
!pending && /* @__PURE__ */ jsxs(CircleContainer, {
|
|
81
85
|
backgroundColor,
|
|
82
86
|
disabled,
|
|
83
87
|
children: [/* @__PURE__ */ jsx(Circle, { style: circleTransformStyle }), /* @__PURE__ */ jsx(Input, {
|
|
84
88
|
outlineColor,
|
|
85
89
|
onChange,
|
|
86
|
-
className: cx(className, disabled ? "
|
|
90
|
+
className: cx(className, disabled ? "c1pg9kn5" : null),
|
|
87
91
|
type: "checkbox",
|
|
88
92
|
disabled,
|
|
89
93
|
checked: value,
|
package/lib/toggle.wyw-in-js.css
CHANGED
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
.lovqdmi-large{--fibery-toggle-icon-height:18px;}.fibery-mobile .lovqdmi-large{font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:16px;line-height:1.5;font-weight:410;color:var(--textColor);}
|
|
9
9
|
.e1j2mkj4-extra-large{--fibery-toggle-icon-height:20px;}.fibery-mobile .e1j2mkj4-extra-large{font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:16px;line-height:1.5;font-weight:410;color:var(--textColor);}
|
|
10
10
|
.ttkjml6-toggleSize{--fibery-toggle-icon-width:calc(var(--fibery-toggle-icon-height) * 1.75);}
|
|
11
|
-
.
|
|
12
|
-
.czzimxx{cursor:
|
|
13
|
-
.ca7kwr9{
|
|
14
|
-
.c1bal83j{flex-direction:row;}
|
|
15
|
-
.c6mdilj{
|
|
11
|
+
.p12x39uh-pendingSpinnerSlot{--fibery-icon-size:var(--fibery-toggle-icon-height);}
|
|
12
|
+
.czzimxx{cursor:default;}
|
|
13
|
+
.ca7kwr9{cursor:pointer;}
|
|
14
|
+
.c1bal83j{flex-direction:row-reverse;}
|
|
15
|
+
.c6mdilj{flex-direction:row;}
|
|
16
|
+
.c1pg9kn5{cursor:default;}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TooltipProps } from "./tooltip.js";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
//#region src/tooltip-if-overflown.d.ts
|
|
3
4
|
type SetNode = (element: HTMLElement | null) => void;
|
|
4
|
-
declare const useTruncated: () => {
|
|
5
|
+
export declare const useTruncated: () => {
|
|
5
6
|
setNode: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
6
7
|
truncated: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const TooltipIfOverflown: React.FC<Omit<TooltipProps, "children"> & {
|
|
9
|
+
export declare const TooltipIfOverflown: React.FC<Omit<TooltipProps, "children"> & {
|
|
9
10
|
force?: boolean;
|
|
10
11
|
children: (args: {
|
|
11
12
|
setNode: SetNode;
|
|
12
13
|
}) => JSX.Element | null;
|
|
13
14
|
}>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { TooltipIfOverflown, useTruncated };
|
|
15
|
+
//#endregion
|
package/lib/tooltip.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
3
|
//#region src/tooltip.d.ts
|
|
4
|
-
declare const tooltipStyle: import("@linaria/core").LinariaClassName;
|
|
5
|
-
declare const TooltipTitle: ({ children }: {
|
|
4
|
+
export declare const tooltipStyle: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const TooltipTitle: ({ children }: {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
}) => import("react
|
|
8
|
-
declare const TooltipDescription: ({ children }: {
|
|
7
|
+
}) => import("react").JSX.Element;
|
|
8
|
+
export declare const TooltipDescription: ({ children }: {
|
|
9
9
|
children: ReactNode;
|
|
10
|
-
}) => import("react
|
|
11
|
-
declare const TooltipContent: ({ direction, className, ...rest }: {
|
|
10
|
+
}) => import("react").JSX.Element;
|
|
11
|
+
export declare const TooltipContent: ({ direction, className, ...rest }: {
|
|
12
12
|
direction?: "horizontal" | "vertical";
|
|
13
|
-
} & React.ComponentProps<"div">) => import("react
|
|
14
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
15
|
-
type TooltipProps = Omit<TooltipPrimitive.TooltipTriggerProps, "title" | "content"> & {
|
|
13
|
+
} & React.ComponentProps<"div">) => import("react").JSX.Element;
|
|
14
|
+
export declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
15
|
+
export type TooltipProps = Omit<TooltipPrimitive.TooltipTriggerProps, "title" | "content"> & {
|
|
16
16
|
title?: ReactNode;
|
|
17
17
|
description?: ReactNode;
|
|
18
18
|
tooltipContentStyle?: string;
|
|
@@ -48,7 +48,7 @@ type TooltipProps = Omit<TooltipPrimitive.TooltipTriggerProps, "title" | "conten
|
|
|
48
48
|
*
|
|
49
49
|
* Ref: https://github.com/radix-ui/primitives/issues/602
|
|
50
50
|
*/
|
|
51
|
-
declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps, "content" | "title"> & {
|
|
51
|
+
export declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps, "content" | "title"> & {
|
|
52
52
|
title?: ReactNode;
|
|
53
53
|
description?: ReactNode;
|
|
54
54
|
tooltipContentStyle?: string;
|
|
@@ -75,5 +75,4 @@ declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipPri
|
|
|
75
75
|
/** when false, the tooltip opens on pointer hover only, never on focus */
|
|
76
76
|
openOnFocus?: boolean;
|
|
77
77
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
78
|
-
//#endregion
|
|
79
|
-
export { Tooltip, TooltipContent, TooltipDescription, TooltipProps, TooltipProvider, TooltipTitle, tooltipStyle };
|
|
78
|
+
//#endregion
|
package/lib/tree-utils.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/tree-utils.d.ts
|
|
2
|
-
type ItemId = string | number;
|
|
3
|
-
interface TreeData<Item extends TreeItem = TreeItem> {
|
|
2
|
+
export type ItemId = string | number;
|
|
3
|
+
export interface TreeData<Item extends TreeItem = TreeItem> {
|
|
4
4
|
rootId: ItemId;
|
|
5
5
|
items: Record<ItemId, Item>;
|
|
6
6
|
}
|
|
7
|
-
type TreeItemData = object;
|
|
8
|
-
type TreeItem<Data extends TreeItemData = TreeItemData> = {
|
|
7
|
+
export type TreeItemData = object;
|
|
8
|
+
export type TreeItem<Data extends TreeItemData = TreeItemData> = {
|
|
9
9
|
id: ItemId;
|
|
10
10
|
children: ItemId[];
|
|
11
11
|
hasChildren?: boolean;
|
|
@@ -13,22 +13,21 @@ type TreeItem<Data extends TreeItemData = TreeItemData> = {
|
|
|
13
13
|
isChildrenLoading?: boolean;
|
|
14
14
|
data?: Data;
|
|
15
15
|
};
|
|
16
|
-
type FlattenedTree<Item extends TreeItem = TreeItem> = FlattenedItem<Item>[];
|
|
17
|
-
type Path = number[];
|
|
18
|
-
type FlattenedItem<Item extends TreeItem = TreeItem> = {
|
|
16
|
+
export type FlattenedTree<Item extends TreeItem = TreeItem> = FlattenedItem<Item>[];
|
|
17
|
+
export type Path = number[];
|
|
18
|
+
export type FlattenedItem<Item extends TreeItem = TreeItem> = {
|
|
19
19
|
item: Item;
|
|
20
20
|
path: Path;
|
|
21
21
|
};
|
|
22
|
-
type TreeSourcePosition = {
|
|
22
|
+
export type TreeSourcePosition = {
|
|
23
23
|
parentId: ItemId;
|
|
24
24
|
index: number;
|
|
25
25
|
};
|
|
26
|
-
type TreeDestinationPosition = {
|
|
26
|
+
export type TreeDestinationPosition = {
|
|
27
27
|
parentId: ItemId;
|
|
28
28
|
index?: number;
|
|
29
29
|
};
|
|
30
|
-
type TreeItemMutation<Item extends TreeItem = TreeItem> = Partial<Item>;
|
|
31
|
-
declare const flattenTree: <Item extends TreeItem>(tree: TreeData<Item>, path?: Path) => FlattenedTree<Item>;
|
|
32
|
-
declare const mutateTree: <Item extends TreeItem>(tree: TreeData<Item>, itemId: ItemId, mutation: TreeItemMutation<Item>) => TreeData<Item>;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { FlattenedItem, FlattenedTree, ItemId, Path, TreeData, TreeDestinationPosition, TreeItem, TreeItemData, TreeItemMutation, TreeSourcePosition, flattenTree, mutateTree };
|
|
30
|
+
export type TreeItemMutation<Item extends TreeItem = TreeItem> = Partial<Item>;
|
|
31
|
+
export declare const flattenTree: <Item extends TreeItem>(tree: TreeData<Item>, path?: Path) => FlattenedTree<Item>;
|
|
32
|
+
export declare const mutateTree: <Item extends TreeItem>(tree: TreeData<Item>, itemId: ItemId, mutation: TreeItemMutation<Item>) => TreeData<Item>;
|
|
33
|
+
//#endregion
|
package/lib/type-badge-box.d.ts
CHANGED
|
@@ -9,6 +9,5 @@ type Props = {
|
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
className?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const TypeBadgeBox: ({ width, height, typeObject, children, className }: Props) => import("react
|
|
13
|
-
//#endregion
|
|
14
|
-
export { TypeBadgeBox };
|
|
12
|
+
export declare const TypeBadgeBox: ({ width, height, typeObject, children, className }: Props) => import("react").JSX.Element;
|
|
13
|
+
//#endregion
|
package/lib/type-badge.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from "react";
|
|
2
2
|
//#region src/type-badge.d.ts
|
|
3
|
-
type TypeBadgeSize = "small" | "medium" | "large";
|
|
4
|
-
type TypeBadgeOrientation = "horizontal" | "vertical";
|
|
5
|
-
declare const makeDescription: (typeObject: {
|
|
3
|
+
export type TypeBadgeSize = "small" | "medium" | "large";
|
|
4
|
+
export type TypeBadgeOrientation = "horizontal" | "vertical";
|
|
5
|
+
export declare const makeDescription: (typeObject: {
|
|
6
6
|
description?: string | null;
|
|
7
7
|
}) => string | null;
|
|
8
|
-
declare const makeAbbreviation: (title?: string) => string;
|
|
8
|
+
export declare const makeAbbreviation: (title?: string) => string;
|
|
9
9
|
type TypeBadgeProps = {
|
|
10
10
|
color: string | null;
|
|
11
11
|
onMouseDown?: React.MouseEventHandler;
|
|
@@ -23,7 +23,7 @@ type TypeBadgeProps = {
|
|
|
23
23
|
className?: string;
|
|
24
24
|
noTooltip?: boolean;
|
|
25
25
|
};
|
|
26
|
-
declare const TypeBadge: import("react").
|
|
26
|
+
export declare const TypeBadge: import("react").NamedExoticComponent<TypeBadgeProps & import("react").RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
27
27
|
type TypeObjectInfo = {
|
|
28
28
|
title: string;
|
|
29
29
|
pluralTitle?: string;
|
|
@@ -48,6 +48,5 @@ type TypeObjectBadgeParams = {
|
|
|
48
48
|
noColor?: boolean;
|
|
49
49
|
tooltipTitle?: string;
|
|
50
50
|
};
|
|
51
|
-
declare const TypeObjectBadge: import("react").ForwardRefExoticComponent<TypeObjectBadgeParams & import("react").RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
52
|
-
//#endregion
|
|
53
|
-
export { TypeBadge, TypeBadgeOrientation, TypeBadgeSize, TypeObjectBadge, makeAbbreviation, makeDescription };
|
|
51
|
+
export declare const TypeObjectBadge: import("react").ForwardRefExoticComponent<TypeObjectBadgeParams & import("react").RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
52
|
+
//#endregion
|
package/lib/type-label.d.ts
CHANGED
|
@@ -7,6 +7,5 @@ type ThemedInkProps = {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
};
|
|
10
|
-
declare const TypeLabel: ({ as: Tag, fg, style, ...rest }: ThemedInkProps) => import("react
|
|
11
|
-
//#endregion
|
|
12
|
-
export { TypeLabel };
|
|
10
|
+
export declare const TypeLabel: ({ as: Tag, fg, style, ...rest }: ThemedInkProps) => import("react").JSX.Element;
|
|
11
|
+
//#endregion
|
package/lib/unit/as-string.d.ts
CHANGED
package/lib/unit/container.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { UnitChipProps, UnitTooltipConfig } from "./context.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/unit/container.d.ts
|
|
4
|
-
type UnitContainerProps = UnitChipProps & {
|
|
4
|
+
export type UnitContainerProps = UnitChipProps & {
|
|
5
5
|
inline?: boolean;
|
|
6
6
|
tooltip?: UnitTooltipConfig;
|
|
7
7
|
className?: string;
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
};
|
|
10
|
-
declare const UnitContainer: ({ size, inline, border, invalid, clickable, setMinWidth, setMinHeight, color, bgColor, fontWeight, tooltip, className, children }: UnitContainerProps) => import("react
|
|
11
|
-
//#endregion
|
|
12
|
-
export { UnitContainer, UnitContainerProps };
|
|
10
|
+
export declare const UnitContainer: ({ size, inline, border, invalid, clickable, setMinWidth, setMinHeight, color, bgColor, fontWeight, tooltip, className, children }: UnitContainerProps) => import("react").JSX.Element;
|
|
11
|
+
//#endregion
|
package/lib/unit/context.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/unit/context.d.ts
|
|
3
|
-
type UnitSize = "small" | "medium";
|
|
4
|
-
type UnitChipProps = {
|
|
3
|
+
export type UnitSize = "small" | "medium";
|
|
4
|
+
export type UnitChipProps = {
|
|
5
5
|
size?: UnitSize;
|
|
6
6
|
border?: boolean;
|
|
7
7
|
invalid?: boolean;
|
|
@@ -12,18 +12,17 @@ type UnitChipProps = {
|
|
|
12
12
|
bgColor?: string | null;
|
|
13
13
|
fontWeight?: number;
|
|
14
14
|
};
|
|
15
|
-
type UnitTooltipConfig = {
|
|
15
|
+
export type UnitTooltipConfig = {
|
|
16
16
|
title?: ReactNode;
|
|
17
17
|
fieldIcon?: string;
|
|
18
18
|
description?: ReactNode;
|
|
19
19
|
hint?: ReactNode;
|
|
20
20
|
};
|
|
21
|
-
type UnitContextValue = {
|
|
21
|
+
export type UnitContextValue = {
|
|
22
22
|
size: UnitSize;
|
|
23
23
|
chipProps: UnitChipProps;
|
|
24
24
|
tooltip?: UnitTooltipConfig;
|
|
25
25
|
};
|
|
26
|
-
declare const UnitContext: import("react").Context<UnitContextValue>;
|
|
27
|
-
declare const useUnitContext: () => UnitContextValue;
|
|
28
|
-
//#endregion
|
|
29
|
-
export { UnitChipProps, UnitContext, UnitContextValue, UnitSize, UnitTooltipConfig, useUnitContext };
|
|
26
|
+
export declare const UnitContext: import("react").Context<UnitContextValue>;
|
|
27
|
+
export declare const useUnitContext: () => UnitContextValue;
|
|
28
|
+
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/unit/labeled-unit.d.ts
|
|
2
|
-
declare const UnitLabel: ({ children }: {
|
|
2
|
+
export declare const UnitLabel: ({ children }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
}) => import("react
|
|
5
|
-
declare const LabeledUnit: ({ label, children }: {
|
|
4
|
+
}) => import("react").JSX.Element;
|
|
5
|
+
export declare const LabeledUnit: ({ label, children }: {
|
|
6
6
|
label: React.ReactNode;
|
|
7
7
|
children: React.ReactElement;
|
|
8
|
-
}) => import("react
|
|
9
|
-
//#endregion
|
|
10
|
-
export { LabeledUnit, UnitLabel };
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SkeletonBarProps } from "../skeleton.js";
|
|
2
2
|
//#region src/unit/loading-unit-value.d.ts
|
|
3
|
-
declare const LoadingUnitValue: (props: SkeletonBarProps) => import("react
|
|
4
|
-
//#endregion
|
|
5
|
-
export { LoadingUnitValue };
|
|
3
|
+
export declare const LoadingUnitValue: (props: SkeletonBarProps) => import("react").JSX.Element;
|
|
4
|
+
//#endregion
|
package/lib/unit/nav-button.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { UnitSize } from "./context.js";
|
|
2
2
|
import { ReactElement, ReactNode } from "react";
|
|
3
3
|
//#region src/unit/nav-button.d.ts
|
|
4
|
-
type UnitNavButtonProps = {
|
|
4
|
+
export type UnitNavButtonProps = {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const getNavButtonSize: (size: UnitSize) => number;
|
|
8
|
-
declare const UnitNavButton: ({ children }: UnitNavButtonProps) => ReactElement<{
|
|
7
|
+
export declare const getNavButtonSize: (size: UnitSize) => number;
|
|
8
|
+
export declare const UnitNavButton: ({ children }: UnitNavButtonProps) => ReactElement<{
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
"data-unit-nav-button"?: string;
|
|
11
11
|
}, string | import("react").JSXElementConstructor<any>>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { UnitNavButton, UnitNavButtonProps, getNavButtonSize };
|
|
12
|
+
//#endregion
|
package/lib/unit/styles.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
//#region src/unit/styles.d.ts
|
|
2
|
-
declare const basicUnitClassName: import("@linaria/core").LinariaClassName;
|
|
3
|
-
declare const alignCenterClassName: import("@linaria/core").LinariaClassName;
|
|
4
|
-
declare const mediumTextUnitSize: number;
|
|
5
|
-
declare const smallTextUnitSize: number;
|
|
6
|
-
declare const mediumSizeCss: import("@linaria/core").LinariaClassName;
|
|
7
|
-
declare const mediumSizeMinWidthCss: import("@linaria/core").LinariaClassName;
|
|
8
|
-
declare const smallSizeCss: import("@linaria/core").LinariaClassName;
|
|
9
|
-
declare const smallSizeMinWidthCss: import("@linaria/core").LinariaClassName;
|
|
10
|
-
declare const unitMinHeightClassName: import("@linaria/core").LinariaClassName;
|
|
11
|
-
declare const invalidUnitClassName: import("@linaria/core").LinariaClassName;
|
|
12
|
-
declare const clickableClassName: import("@linaria/core").LinariaClassName;
|
|
13
|
-
declare const borderClassName: import("@linaria/core").LinariaClassName;
|
|
14
|
-
declare const positionUnitClass: import("@linaria/core").LinariaClassName;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { alignCenterClassName, basicUnitClassName, borderClassName, clickableClassName, invalidUnitClassName, mediumSizeCss, mediumSizeMinWidthCss, mediumTextUnitSize, positionUnitClass, smallSizeCss, smallSizeMinWidthCss, smallTextUnitSize, unitMinHeightClassName };
|
|
2
|
+
export declare const basicUnitClassName: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const alignCenterClassName: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const mediumTextUnitSize: number;
|
|
5
|
+
export declare const smallTextUnitSize: number;
|
|
6
|
+
export declare const mediumSizeCss: import("@linaria/core").LinariaClassName;
|
|
7
|
+
export declare const mediumSizeMinWidthCss: import("@linaria/core").LinariaClassName;
|
|
8
|
+
export declare const smallSizeCss: import("@linaria/core").LinariaClassName;
|
|
9
|
+
export declare const smallSizeMinWidthCss: import("@linaria/core").LinariaClassName;
|
|
10
|
+
export declare const unitMinHeightClassName: import("@linaria/core").LinariaClassName;
|
|
11
|
+
export declare const invalidUnitClassName: import("@linaria/core").LinariaClassName;
|
|
12
|
+
export declare const clickableClassName: import("@linaria/core").LinariaClassName;
|
|
13
|
+
export declare const borderClassName: import("@linaria/core").LinariaClassName;
|
|
14
|
+
export declare const positionUnitClass: import("@linaria/core").LinariaClassName;
|
|
15
|
+
//#endregion
|
|
@@ -6,7 +6,6 @@ type Props = {
|
|
|
6
6
|
hasChildren: boolean;
|
|
7
7
|
shrinkable?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const getHeight: (size: UnitSize) => number;
|
|
10
|
-
declare const UnitContentLayout: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Props>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { UnitContentLayout, getHeight };
|
|
9
|
+
export declare const getHeight: (size: UnitSize) => number;
|
|
10
|
+
export declare const UnitContentLayout: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Props>;
|
|
11
|
+
//#endregion
|
|
@@ -9,6 +9,5 @@ type Props = {
|
|
|
9
9
|
onKeyDown?: (e: KeyboardEvent<HTMLButtonElement | HTMLDivElement>) => void;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
};
|
|
12
|
-
declare const UnitContent: ({ button, icon, shrinkable, truncate, onClick, onKeyDown, children }: Props) => import("react
|
|
13
|
-
//#endregion
|
|
14
|
-
export { UnitContent };
|
|
12
|
+
export declare const UnitContent: ({ button, icon, shrinkable, truncate, onClick, onKeyDown, children }: Props) => import("react").JSX.Element;
|
|
13
|
+
//#endregion
|
package/lib/unit/unit.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { UnitNavButton } from "./nav-button.js";
|
|
|
4
4
|
import { UnitContent } from "./unit-content.js";
|
|
5
5
|
import { KeyboardEvent, ReactNode } from "react";
|
|
6
6
|
//#region src/unit/unit.d.ts
|
|
7
|
-
type UnitVariant = "outlined" | "plain";
|
|
8
|
-
type UnitProps = {
|
|
7
|
+
export type UnitVariant = "outlined" | "plain";
|
|
8
|
+
export type UnitProps = {
|
|
9
9
|
variant?: UnitVariant;
|
|
10
10
|
size?: UnitSize;
|
|
11
11
|
readOnly?: boolean;
|
|
@@ -35,11 +35,11 @@ type UnitProps = {
|
|
|
35
35
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
36
36
|
invalid?: boolean;
|
|
37
37
|
};
|
|
38
|
-
declare const UnitComponent: ({ variant, size, readOnly, overflow, inline, button, multiline, children, title, fieldIcon, description, hint, icon, navButton, tooltip, withLabel, border, color, bgColor, fontWeight, shrinkable, clickable, setMinWidth, setMinHeight, onClick, onKeyDown, invalid }: UnitProps) => import("react
|
|
39
|
-
declare const Unit: typeof UnitComponent & {
|
|
38
|
+
declare const UnitComponent: ({ variant, size, readOnly, overflow, inline, button, multiline, children, title, fieldIcon, description, hint, icon, navButton, tooltip, withLabel, border, color, bgColor, fontWeight, shrinkable, clickable, setMinWidth, setMinHeight, onClick, onKeyDown, invalid }: UnitProps) => import("react").JSX.Element;
|
|
39
|
+
export declare const Unit: typeof UnitComponent & {
|
|
40
40
|
Container: typeof UnitContainer;
|
|
41
41
|
Content: typeof UnitContent;
|
|
42
42
|
NavButton: typeof UnitNavButton;
|
|
43
43
|
};
|
|
44
44
|
//#endregion
|
|
45
|
-
export {
|
|
45
|
+
export type { UnitSize };
|
package/lib/use-is-phone.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { isPhoneApp, isPhoneMode, phoneMediaQueryDynamic } from "./phone.js";
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/use-is-phone.d.ts
|
|
5
5
|
declare const useIsPhone: () => boolean;
|
|
6
|
-
declare function IsPhoneProvider({ children }: {
|
|
6
|
+
export declare function IsPhoneProvider({ children }: {
|
|
7
7
|
children: ReactNode;
|
|
8
|
-
}): import("react
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
|
-
export {
|
|
10
|
+
export { isPhoneApp, isPhoneMode, phoneMediaQuery, phoneMediaQueryDynamic, useIsPhone };
|
package/lib/use-long-press.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { MouseEvent, TouchEvent } from "react";
|
|
2
2
|
//#region src/use-long-press.d.ts
|
|
3
|
-
declare function off<T extends Window | Document | HTMLElement | EventTarget>(obj: T | null, ...args: Parameters<T["removeEventListener"]> | [string, Function | null, ...any]): void;
|
|
3
|
+
export declare function off<T extends Window | Document | HTMLElement | EventTarget>(obj: T | null, ...args: Parameters<T["removeEventListener"]> | [string, Function | null, ...any]): void;
|
|
4
4
|
interface Options {
|
|
5
5
|
isPreventDefault?: boolean;
|
|
6
6
|
delay?: number;
|
|
7
7
|
}
|
|
8
|
-
declare const useLongPress: (callback: (e: TouchEvent | MouseEvent) => void, { isPreventDefault, delay }?: Options) => {
|
|
8
|
+
export declare const useLongPress: (callback: (e: TouchEvent | MouseEvent) => void, { isPreventDefault, delay }?: Options) => {
|
|
9
9
|
readonly onMouseDown: (e: MouseEvent) => void;
|
|
10
10
|
readonly onTouchStart: (e: TouchEvent) => void;
|
|
11
11
|
readonly onMouseUp: (e: TouchEvent | MouseEvent) => void;
|
|
12
12
|
readonly onMouseLeave: (e: TouchEvent | MouseEvent) => void;
|
|
13
13
|
readonly onTouchEnd: (e: TouchEvent | MouseEvent) => void;
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { off, useLongPress };
|
|
15
|
+
//#endregion
|
package/lib/use-long-press.js
CHANGED
|
@@ -10,8 +10,8 @@ var preventContextMenu = (e) => {
|
|
|
10
10
|
e.preventDefault();
|
|
11
11
|
};
|
|
12
12
|
var useLongPress = (callback, { isPreventDefault = true, delay = 300 } = {}) => {
|
|
13
|
-
const timeout = useRef();
|
|
14
|
-
const target = useRef();
|
|
13
|
+
const timeout = useRef(void 0);
|
|
14
|
+
const target = useRef(void 0);
|
|
15
15
|
const called = useRef(false);
|
|
16
16
|
const start = useCallback((event) => {
|
|
17
17
|
if (isPreventDefault && event.target) {
|
package/lib/use-me.d.ts
CHANGED
package/lib/use-navigation.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { ReactNode } from "react";
|
|
|
2
2
|
//#region src/use-on-screen-keyboard-data.d.ts
|
|
3
3
|
declare const useOnScreenKeyboardHeight: () => number;
|
|
4
4
|
declare const useIsOnScreenKeyboardOpened: () => boolean;
|
|
5
|
-
declare function OnScreenKeyboardContextProvider({ children }: {
|
|
5
|
+
export declare function OnScreenKeyboardContextProvider({ children }: {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
}): import("react
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
|
-
export {
|
|
9
|
+
export { useIsOnScreenKeyboardOpened, useOnScreenKeyboardHeight };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -95,6 +95,9 @@
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
+
"@fibery/emoji-data": "4.0.0",
|
|
99
|
+
"@fibery/helpers": "5.0.0",
|
|
100
|
+
"@fibery/react": "3.0.0",
|
|
98
101
|
"@linaria/core": "8.2.0",
|
|
99
102
|
"@linaria/react": "8.2.0",
|
|
100
103
|
"@popperjs/core": "2.11.6",
|
|
@@ -115,7 +118,7 @@
|
|
|
115
118
|
"apca-w3": "0.1.9",
|
|
116
119
|
"chrono-node": "2.9.0",
|
|
117
120
|
"classnames": "2.3.1",
|
|
118
|
-
"cmdk": "1.
|
|
121
|
+
"cmdk": "1.1.1",
|
|
119
122
|
"color-hash": "1.0.3",
|
|
120
123
|
"culori": "4.0.2",
|
|
121
124
|
"date-fns": "2.29.2",
|
|
@@ -127,25 +130,22 @@
|
|
|
127
130
|
"rc-dialog": "9.0.4",
|
|
128
131
|
"rc-input": "1.3.11",
|
|
129
132
|
"rc-input-number": "8.5.0",
|
|
130
|
-
"rc-select": "14.
|
|
131
|
-
"rc-tabs": "
|
|
133
|
+
"rc-select": "14.15.2",
|
|
134
|
+
"rc-tabs": "15.7.0",
|
|
132
135
|
"rc-textarea": "0.4.7",
|
|
133
136
|
"rc-upload": "4.3.4",
|
|
134
137
|
"react-color": "2.19.3",
|
|
135
|
-
"react-day-picker": "8.10.
|
|
138
|
+
"react-day-picker": "8.10.2",
|
|
136
139
|
"react-popper": "2.3.0",
|
|
137
|
-
"react-select": "5.
|
|
140
|
+
"react-select": "5.10.2",
|
|
138
141
|
"react-virtuoso": "4.18.13",
|
|
139
142
|
"screenfull": "6.0.2",
|
|
140
143
|
"tabbable": "5.2.1",
|
|
141
144
|
"vaul": "1.1.2",
|
|
142
|
-
"virtua": "0.50.4"
|
|
143
|
-
"@fibery/emoji-data": "3.0.0",
|
|
144
|
-
"@fibery/react": "2.0.10",
|
|
145
|
-
"@fibery/helpers": "4.2.1"
|
|
145
|
+
"virtua": "0.50.4"
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
|
-
"react": "
|
|
149
|
-
"react-dom": "
|
|
148
|
+
"react": "^19.0.0",
|
|
149
|
+
"react-dom": "^19.0.0"
|
|
150
150
|
}
|
|
151
151
|
}
|
package/lib/ai/max-tokens.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/ai/max-tokens.d.ts
|
|
2
|
-
type Props = {
|
|
3
|
-
initialValue: number;
|
|
4
|
-
min?: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
step?: number;
|
|
7
|
-
onChange: (n: number) => void;
|
|
8
|
-
};
|
|
9
|
-
declare const MaxTokens: ({ min, max, step, initialValue, onChange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { MaxTokens };
|
package/lib/ai/max-tokens.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import "./max-tokens.wyw-in-js.css";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { useCallback, useState } from "react";
|
|
5
|
-
//#region src/ai/max-tokens.tsx
|
|
6
|
-
var inputStyle = "i1hleh57-input";
|
|
7
|
-
var MaxTokens = ({ min = 1, max = 2048, step = 1, initialValue, onChange }) => {
|
|
8
|
-
const [internalValue, setInternalValue] = useState(initialValue);
|
|
9
|
-
const handleChange = useCallback((event) => {
|
|
10
|
-
const nextValue = parseInt(event.target.value);
|
|
11
|
-
setInternalValue(nextValue);
|
|
12
|
-
onChange(nextValue);
|
|
13
|
-
}, [onChange, setInternalValue]);
|
|
14
|
-
return /* @__PURE__ */ jsx("div", { children: jsx("input", {
|
|
15
|
-
type: "range",
|
|
16
|
-
min,
|
|
17
|
-
max,
|
|
18
|
-
step,
|
|
19
|
-
value: internalValue,
|
|
20
|
-
onChange: handleChange,
|
|
21
|
-
className: inputStyle
|
|
22
|
-
}) });
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { MaxTokens };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.i1hleh57-input{width:68px;}
|
package/lib/ai/temperature.d.ts
DELETED