@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/icons/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, SVGProps } from "react";
|
|
2
2
|
//#region src/icons/types.d.ts
|
|
3
|
-
interface AbstractNode {
|
|
3
|
+
export interface AbstractNode {
|
|
4
4
|
type: string;
|
|
5
5
|
tagName?: string;
|
|
6
6
|
properties?: {
|
|
@@ -9,11 +9,11 @@ interface AbstractNode {
|
|
|
9
9
|
children: AbstractNode[];
|
|
10
10
|
metadata?: string;
|
|
11
11
|
}
|
|
12
|
-
interface IconDefinition {
|
|
12
|
+
export interface IconDefinition {
|
|
13
13
|
name: string;
|
|
14
14
|
icon: AbstractNode;
|
|
15
15
|
}
|
|
16
|
-
type IconBaseProps = Omit<SVGProps<SVGSVGElement>, "ref" | "color"> & {
|
|
16
|
+
export type IconBaseProps = Omit<SVGProps<SVGSVGElement>, "ref" | "color"> & {
|
|
17
17
|
/**
|
|
18
18
|
* Use when you need icon container to occupy more or less space (e.g. for visual alignment).
|
|
19
19
|
*
|
|
@@ -27,8 +27,7 @@ type IconBaseProps = Omit<SVGProps<SVGSVGElement>, "ref" | "color"> & {
|
|
|
27
27
|
/** Skip deneutralize&normalize when the color is already processed for display (e.g. a11y-adjusted) */
|
|
28
28
|
colorProcessed?: boolean;
|
|
29
29
|
};
|
|
30
|
-
type IconProps = IconBaseProps & {
|
|
30
|
+
export type IconProps = IconBaseProps & {
|
|
31
31
|
icon?: IconDefinition;
|
|
32
32
|
};
|
|
33
|
-
//#endregion
|
|
34
|
-
export { AbstractNode, IconBaseProps, IconDefinition, IconProps };
|
|
33
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/images-gallery/get-gallery-src.d.ts
|
|
2
|
-
declare function getGallerySrc({ src, contentType, contentLength, isPhone }: {
|
|
2
|
+
export declare function getGallerySrc({ src, contentType, contentLength, isPhone }: {
|
|
3
3
|
src: string;
|
|
4
4
|
contentType: string;
|
|
5
5
|
contentLength: number;
|
|
@@ -8,5 +8,4 @@ declare function getGallerySrc({ src, contentType, contentLength, isPhone }: {
|
|
|
8
8
|
type: "iframe" | "video" | "image";
|
|
9
9
|
src: string;
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { getGallerySrc };
|
|
11
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren } from "react";
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
2
|
//#region src/images-gallery/images-gallery-fall-through-provider.d.ts
|
|
3
|
-
declare function ImagesGalleryFallThroughProvider(props: PropsWithChildren):
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ImagesGalleryFallThroughProvider };
|
|
3
|
+
export declare function ImagesGalleryFallThroughProvider(props: PropsWithChildren): React.JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -22,7 +22,7 @@ type State = {
|
|
|
22
22
|
_inc: number;
|
|
23
23
|
};
|
|
24
24
|
declare const ImagesGalleryStateProvider: import("react").Provider<State>, useImagesGalleryState: () => State, ImagesGalleryStateContext: import("react").Context<State>;
|
|
25
|
-
declare function useOnImageGalleryClose(callback: () => void): void;
|
|
25
|
+
export declare function useOnImageGalleryClose(callback: () => void): void;
|
|
26
26
|
type Registry = Map<string, {
|
|
27
27
|
src: string;
|
|
28
28
|
label?: string;
|
|
@@ -32,9 +32,9 @@ type Registry = Map<string, {
|
|
|
32
32
|
zoomed: boolean;
|
|
33
33
|
setZoomed: (zoomed: boolean) => void;
|
|
34
34
|
}>;
|
|
35
|
-
declare const galleryMainClass: import("@linaria/core").LinariaClassName;
|
|
36
|
-
declare function ImagesGalleryProvider({ children }: PropsWithChildren): import("react
|
|
37
|
-
declare function createPhotoSwipeLightbox({ dataSource, ...rest }: Partial<Omit<PhotoSwipeOptions, "dataSource">> & {
|
|
35
|
+
export declare const galleryMainClass: import("@linaria/core").LinariaClassName;
|
|
36
|
+
export declare function ImagesGalleryProvider({ children }: PropsWithChildren): import("react").JSX.Element;
|
|
37
|
+
export declare function createPhotoSwipeLightbox({ dataSource, ...rest }: Partial<Omit<PhotoSwipeOptions, "dataSource">> & {
|
|
38
38
|
dataSource: {
|
|
39
39
|
src: string;
|
|
40
40
|
label?: string;
|
|
@@ -46,10 +46,10 @@ declare function createPhotoSwipeLightbox({ dataSource, ...rest }: Partial<Omit<
|
|
|
46
46
|
themeMode: ThemeMode;
|
|
47
47
|
toastQueue: ToastQueue;
|
|
48
48
|
}): PhotoSwipeLightbox;
|
|
49
|
-
declare function initGallery(imagesRegistry: Registry, { toastQueue, themeMode, isPhone }: {
|
|
49
|
+
export declare function initGallery(imagesRegistry: Registry, { toastQueue, themeMode, isPhone }: {
|
|
50
50
|
toastQueue: ToastQueue;
|
|
51
51
|
themeMode: ThemeMode;
|
|
52
52
|
isPhone: boolean;
|
|
53
53
|
}): PhotoSwipeLightbox;
|
|
54
54
|
//#endregion
|
|
55
|
-
export { ImagesGalleryMethodsProvider,
|
|
55
|
+
export { ImagesGalleryMethodsProvider, ImagesGalleryRegistryProvider, ImagesGalleryStateContext, ImagesGalleryStateProvider, useImagesGalleryMethods, useImagesGalleryRegistry, useImagesGalleryState };
|
|
@@ -2,7 +2,7 @@ import { ThemeMode } from "../theme-bootstrap.js";
|
|
|
2
2
|
import { ToastQueue } from "../toast/toast-queue.js";
|
|
3
3
|
import { PhotoSwipe } from "photoswipe/lightbox";
|
|
4
4
|
//#region src/images-gallery/slide-buttons.d.ts
|
|
5
|
-
declare function SlideButtons({ pswp, toastQueue, items, uiHandlers }: {
|
|
5
|
+
export declare function SlideButtons({ pswp, toastQueue, items, uiHandlers }: {
|
|
6
6
|
pswp: PhotoSwipe;
|
|
7
7
|
toastQueue: ToastQueue;
|
|
8
8
|
themeMode: ThemeMode;
|
|
@@ -14,6 +14,5 @@ declare function SlideButtons({ pswp, toastQueue, items, uiHandlers }: {
|
|
|
14
14
|
showUI: () => void;
|
|
15
15
|
setForceShowUI: (value: boolean) => void;
|
|
16
16
|
};
|
|
17
|
-
}): import("react
|
|
18
|
-
//#endregion
|
|
19
|
-
export { SlideButtons };
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
//#region src/images-gallery/zoom.d.ts
|
|
3
3
|
type Props = {
|
|
4
4
|
zoomed: boolean;
|
|
@@ -12,6 +12,5 @@ type Props = {
|
|
|
12
12
|
};
|
|
13
13
|
actions?: ReactNode;
|
|
14
14
|
};
|
|
15
|
-
declare function Zoom(props: Props):
|
|
16
|
-
//#endregion
|
|
17
|
-
export { Zoom };
|
|
15
|
+
export declare function Zoom(props: Props): React.JSX.Element;
|
|
16
|
+
//#endregion
|
package/lib/indicator.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/indicator.d.ts
|
|
2
2
|
/** Establishes the positioning context Indicator anchors to; apply to the host unless it is already positioned */
|
|
3
|
-
declare const indicatorHost: import("@linaria/core").LinariaClassName;
|
|
4
|
-
type IndicatorProps = {
|
|
3
|
+
export declare const indicatorHost: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export type IndicatorProps = {
|
|
5
5
|
color?: string;
|
|
6
6
|
/** Cuts the dot out of the host with a 2px ring; must match the surface behind the host */
|
|
7
7
|
ringColor?: string;
|
|
@@ -14,6 +14,5 @@ type IndicatorProps = {
|
|
|
14
14
|
/** Announced by screen readers; without it the dot is hidden from assistive technology */
|
|
15
15
|
label?: string;
|
|
16
16
|
} & Omit<React.ComponentProps<"div">, "children">;
|
|
17
|
-
declare const Indicator: ({ color, ringColor, size, position, offset, label, className, style, ...props }: IndicatorProps) => import("react
|
|
18
|
-
//#endregion
|
|
19
|
-
export { Indicator, IndicatorProps, indicatorHost };
|
|
17
|
+
export declare const Indicator: ({ color, ringColor, size, position, offset, label, className, style, ...props }: IndicatorProps) => import("react").JSX.Element;
|
|
18
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/integration-compact-info-button.d.ts
|
|
2
|
-
declare const IntegrationCompactInfoButton: React.FC<{
|
|
2
|
+
export declare const IntegrationCompactInfoButton: React.FC<{
|
|
3
3
|
name: string;
|
|
4
4
|
icon: React.ReactNode;
|
|
5
5
|
title?: React.ReactNode;
|
|
@@ -7,5 +7,4 @@ declare const IntegrationCompactInfoButton: React.FC<{
|
|
|
7
7
|
loading?: boolean;
|
|
8
8
|
onClick?: () => void;
|
|
9
9
|
}>;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { IntegrationCompactInfoButton };
|
|
10
|
+
//#endregion
|
|
@@ -11,6 +11,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
11
11
|
//#region src/integration-compact-info-button.tsx
|
|
12
12
|
var buttonCss = "b1uvjf1e-button";
|
|
13
13
|
var loadingCss = "l1wbp8zv-loading";
|
|
14
|
+
var spinnerSlotCss = "s1jqqhw7-spinnerSlot";
|
|
14
15
|
var IntegrationCompactInfoButton = ({ onClick, loading, icon, name, title, error }) => {
|
|
15
16
|
const theme = useTheme();
|
|
16
17
|
let iconNode = icon;
|
|
@@ -19,10 +20,9 @@ var IntegrationCompactInfoButton = ({ onClick, loading, icon, name, title, error
|
|
|
19
20
|
iconSize: 18,
|
|
20
21
|
containerSize: 24
|
|
21
22
|
});
|
|
22
|
-
else if (loading) iconNode = /* @__PURE__ */ jsx(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
containerSize: 24
|
|
23
|
+
else if (loading) iconNode = /* @__PURE__ */ jsx("span", {
|
|
24
|
+
className: spinnerSlotCss,
|
|
25
|
+
children: jsx(Spinner, {})
|
|
26
26
|
});
|
|
27
27
|
const className = cx(textClasses.heading5, buttonCss, loading && loadingCss);
|
|
28
28
|
const button = onClick ? /* @__PURE__ */ jsxs(BaseButton, {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
.b1uvjf1e-button{display:flex;align-items:center;padding:2px 8px 2px 4px;gap:4px;border-radius:6px;}
|
|
2
|
-
.l1wbp8zv-loading{color:var(--accentTextColor);}
|
|
2
|
+
.l1wbp8zv-loading{color:var(--accentTextColor);--fibery-icon-color:var(--accentTextColor);}
|
|
3
|
+
.s1jqqhw7-spinnerSlot{display:grid;place-content:center;width:24px;height:24px;}
|
package/lib/is-android.d.ts
CHANGED
package/lib/is-in-popup.d.ts
CHANGED
package/lib/is-ios.d.ts
CHANGED
package/lib/kbd.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { JSX } from "react";
|
|
1
2
|
//#region src/kbd.d.ts
|
|
2
|
-
declare const kbdCss: import("@linaria/core").LinariaClassName;
|
|
3
|
-
declare const Kbd: ({ className, ...props }: React.ComponentProps<"kbd">) => JSX.Element | null;
|
|
4
|
-
declare const KbdGroup: ({ className, ...props }: React.ComponentProps<"kbd">) =>
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Kbd, KbdGroup, kbdCss };
|
|
3
|
+
export declare const kbdCss: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const Kbd: ({ className, ...props }: React.ComponentProps<"kbd">) => JSX.Element | null;
|
|
5
|
+
export declare const KbdGroup: ({ className, ...props }: React.ComponentProps<"kbd">) => JSX.Element;
|
|
6
|
+
//#endregion
|
package/lib/layout-styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/layout-variables.d.ts
|
|
2
|
-
declare const defaultLayoutVariables: {
|
|
2
|
+
export declare const defaultLayoutVariables: {
|
|
3
3
|
readonly "--safe-area-inset-left": "var(--app-safe-area-inset-left, env(safe-area-inset-left))";
|
|
4
4
|
readonly "--safe-area-inset-right": "var(--app-safe-area-inset-right, env(safe-area-inset-right))";
|
|
5
5
|
readonly "--safe-area-inset-top": "var(--app-safe-area-inset-top, env(safe-area-inset-top))";
|
|
@@ -11,11 +11,10 @@ declare const defaultLayoutVariables: {
|
|
|
11
11
|
readonly "--fibery-layout-sidebarMenuIconSize": "18px";
|
|
12
12
|
readonly "--fibery-layout-listRowSurfaceFontSize": "14px";
|
|
13
13
|
};
|
|
14
|
-
declare const mobileLayoutVariables: {
|
|
14
|
+
export declare const mobileLayoutVariables: {
|
|
15
15
|
readonly "--fibery-layout-menuItemHeight": "44px";
|
|
16
16
|
readonly "--fibery-layout-sidebarMenuItemHeight": "44px";
|
|
17
17
|
readonly "--fibery-layout-sidebarMenuIconSize": "20px";
|
|
18
18
|
readonly "--fibery-layout-listRowSurfaceFontSize": "16px";
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { defaultLayoutVariables, mobileLayoutVariables };
|
|
20
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AntTextArea } from "../../antd/index.js";
|
|
2
2
|
//#region src/link-input/components/ant-text-area-with-custom-read-state.d.ts
|
|
3
|
-
type AntTextAreaWithCustomReadStateProps = React.ComponentPropsWithoutRef<typeof AntTextArea> & {
|
|
3
|
+
export type AntTextAreaWithCustomReadStateProps = React.ComponentPropsWithoutRef<typeof AntTextArea> & {
|
|
4
4
|
renderReadState: () => React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
declare const AntTextAreaWithCustomReadState: ({ value, onBlur, onFocus, style, renderReadState, ...rest }: AntTextAreaWithCustomReadStateProps) => import("react
|
|
7
|
-
//#endregion
|
|
8
|
-
export { AntTextAreaWithCustomReadState, AntTextAreaWithCustomReadStateProps };
|
|
6
|
+
export declare const AntTextAreaWithCustomReadState: ({ value, onBlur, onFocus, style, renderReadState, ...rest }: AntTextAreaWithCustomReadStateProps) => import("react").JSX.Element;
|
|
7
|
+
//#endregion
|
|
@@ -4,11 +4,10 @@ type LinkProps = {
|
|
|
4
4
|
value: string;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
7
|
-
declare const UrlInputLink: ({ value, children, ...rest }: LinkProps) => import("react
|
|
8
|
-
declare const UrlInput: (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => import("react
|
|
9
|
-
declare const PhoneInputLink: ({ value, children, ...rest }: LinkProps) => import("react
|
|
10
|
-
declare const PhoneInput: (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => import("react
|
|
11
|
-
declare const EmailInputLink: ({ value, children, ...rest }: LinkProps) => import("react
|
|
12
|
-
declare const EmailInput: (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => import("react
|
|
13
|
-
//#endregion
|
|
14
|
-
export { EmailInput, EmailInputLink, PhoneInput, PhoneInputLink, UrlInput, UrlInputLink };
|
|
7
|
+
export declare const UrlInputLink: ({ value, children, ...rest }: LinkProps) => import("react").JSX.Element | null;
|
|
8
|
+
export declare const UrlInput: (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => import("react").JSX.Element;
|
|
9
|
+
export declare const PhoneInputLink: ({ value, children, ...rest }: LinkProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const PhoneInput: (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => import("react").JSX.Element;
|
|
11
|
+
export declare const EmailInputLink: ({ value, children, ...rest }: LinkProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const EmailInput: (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => import("react").JSX.Element;
|
|
13
|
+
//#endregion
|
|
@@ -3,26 +3,26 @@ import { ForwardedRef, HTMLAttributes, PropsWithChildren, ReactNode } from "reac
|
|
|
3
3
|
interface ListRowSurfaceBase extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
testId?: string;
|
|
5
5
|
}
|
|
6
|
-
interface ListRowSurfaceProps extends ListRowSurfaceBase {
|
|
6
|
+
export interface ListRowSurfaceProps extends ListRowSurfaceBase {
|
|
7
7
|
darker?: boolean;
|
|
8
8
|
selected?: boolean;
|
|
9
9
|
done?: boolean;
|
|
10
10
|
focused?: boolean;
|
|
11
11
|
hovered?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const NATURAL_HOVER_CLASS = "natural-hover";
|
|
14
|
-
declare const NATURAL_FOCUS_CLASS = "natural-focus";
|
|
15
|
-
declare const NATURAL_HOVER = "&.natural-hover:hover";
|
|
16
|
-
declare const NATURAL_FOCUS = "&.natural-focus:focus";
|
|
17
|
-
declare const listRowSurfaceStylesBase: import("@linaria/core").LinariaClassName;
|
|
18
|
-
declare const listRowSurfaceStatesDefault: import("@linaria/core").LinariaClassName;
|
|
19
|
-
declare const listRowSurfaceStatesDark: import("@linaria/core").LinariaClassName;
|
|
13
|
+
export declare const NATURAL_HOVER_CLASS = "natural-hover";
|
|
14
|
+
export declare const NATURAL_FOCUS_CLASS = "natural-focus";
|
|
15
|
+
export declare const NATURAL_HOVER = "&.natural-hover:hover";
|
|
16
|
+
export declare const NATURAL_FOCUS = "&.natural-focus:focus";
|
|
17
|
+
export declare const listRowSurfaceStylesBase: import("@linaria/core").LinariaClassName;
|
|
18
|
+
export declare const listRowSurfaceStatesDefault: import("@linaria/core").LinariaClassName;
|
|
19
|
+
export declare const listRowSurfaceStatesDark: import("@linaria/core").LinariaClassName;
|
|
20
20
|
/**
|
|
21
21
|
* This should be responsible for all flat list items existing in UI in Fibery. Options, action menus and etc.
|
|
22
22
|
* You can enforce it's state with props focused, hovered, selected, done (use it for disabled too)
|
|
23
23
|
*/
|
|
24
|
-
declare const ListRowSurface: import("react").ForwardRefExoticComponent<ListRowSurfaceProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
-
interface ListRowContentProps extends PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, "className">> {
|
|
24
|
+
export declare const ListRowSurface: import("react").ForwardRefExoticComponent<ListRowSurfaceProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export interface ListRowContentProps extends PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, "className">> {
|
|
26
26
|
rootClassName?: string;
|
|
27
27
|
before?: ReactNode;
|
|
28
28
|
after?: ReactNode;
|
|
@@ -31,6 +31,5 @@ interface ListRowContentProps extends PropsWithChildren<Omit<HTMLAttributes<HTML
|
|
|
31
31
|
beforeClassName?: string;
|
|
32
32
|
afterClassName?: string;
|
|
33
33
|
}
|
|
34
|
-
declare const ListRowContent: import("react").ForwardRefExoticComponent<ListRowContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { ListRowContent, ListRowContentProps, ListRowSurface, ListRowSurfaceProps, NATURAL_FOCUS, NATURAL_FOCUS_CLASS, NATURAL_HOVER, NATURAL_HOVER_CLASS, listRowSurfaceStatesDark, listRowSurfaceStatesDefault, listRowSurfaceStylesBase };
|
|
34
|
+
export declare const ListRowContent: import("react").ForwardRefExoticComponent<ListRowContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
35
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { loaderGateDelayVar } from "./loader-gate.js";
|
|
2
|
+
import { CSSProperties, ReactNode } from "react";
|
|
3
|
+
//#region src/loader-gate-start.d.ts
|
|
4
|
+
export declare function LoaderGateStartProvider({ children }: {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
type LoaderGateDelayStyle = CSSProperties & Record<typeof loaderGateDelayVar, string>;
|
|
8
|
+
export declare function useLoaderGateDelayStyle(): LoaderGateDelayStyle | undefined;
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { loaderGateDelayVar } from "./loader-gate.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useState } from "react";
|
|
4
|
+
//#region src/loader-gate-start.tsx
|
|
5
|
+
var LoaderGateStartContext = createContext(null);
|
|
6
|
+
function LoaderGateStartProvider({ children }) {
|
|
7
|
+
const [start] = useState(Date.now);
|
|
8
|
+
return /* @__PURE__ */ jsx(LoaderGateStartContext.Provider, {
|
|
9
|
+
value: start,
|
|
10
|
+
children
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
var remainingGateStyle = (start) => start === null ? void 0 : { [loaderGateDelayVar]: `${Math.max(0, 350 - (Date.now() - start))}ms` };
|
|
14
|
+
function useLoaderGateDelayStyle() {
|
|
15
|
+
const start = useContext(LoaderGateStartContext);
|
|
16
|
+
const [style] = useState(() => remainingGateStyle(start));
|
|
17
|
+
return style;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { LoaderGateStartProvider, useLoaderGateDelayStyle };
|
package/lib/loader-gate.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region src/loader-gate.d.ts
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
export
|
|
2
|
+
export declare const loaderAppearanceDelayMs = 350;
|
|
3
|
+
export declare const loaderGateDelayVar = "--fibery-loader-gate-delay";
|
|
4
|
+
export declare const loaderGate: import("@linaria/core").LinariaClassName;
|
|
5
|
+
//#endregion
|
package/lib/loader-gate.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import "./loader-gate.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/loader-gate.ts
|
|
4
|
+
var loaderAppearanceDelayMs = 350;
|
|
5
|
+
var loaderGateDelayVar = "--fibery-loader-gate-delay";
|
|
4
6
|
var loaderGate = "l11e8bzk-loaderGate";
|
|
5
7
|
//#endregion
|
|
6
|
-
export { loaderGate };
|
|
8
|
+
export { loaderAppearanceDelayMs, loaderGate, loaderGateDelayVar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.l11e8bzk-loaderGate{visibility:hidden;animation:LoaderGateOpen-l11e8bzk-loaderGate 0s 350ms forwards;}@keyframes LoaderGateOpen-l11e8bzk-loaderGate{to{visibility:visible;}}
|
|
1
|
+
.l11e8bzk-loaderGate{visibility:hidden;animation:LoaderGateOpen-l11e8bzk-loaderGate 0s var(--fibery-loader-gate-delay, 350ms) forwards;}@keyframes LoaderGateOpen-l11e8bzk-loaderGate{to{visibility:visible;}}
|
package/lib/loaders.d.ts
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import { IconBaseProps } from "./icons/types.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/loaders.d.ts
|
|
4
|
-
declare const LoadingView: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
export declare const LoadingView: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
absolute?: boolean;
|
|
6
6
|
backgroundColor?: string;
|
|
7
7
|
}>;
|
|
8
|
-
declare const LoadingHeader: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
8
|
+
export declare const LoadingHeader: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
9
9
|
absolute: boolean;
|
|
10
10
|
}>;
|
|
11
|
-
declare const LoadingPage: ({ absolute, contentLoader }: {
|
|
11
|
+
export declare const LoadingPage: ({ absolute, contentLoader }: {
|
|
12
12
|
absolute?: boolean | undefined;
|
|
13
13
|
contentLoader?: boolean | undefined;
|
|
14
|
-
}) => import("react
|
|
15
|
-
declare const SidebarLoadingPage: () => import("react
|
|
16
|
-
declare const LoadingApp: ({ backgroundColor, appName }: {
|
|
14
|
+
}) => import("react").JSX.Element;
|
|
15
|
+
export declare const SidebarLoadingPage: () => import("react").JSX.Element;
|
|
16
|
+
export declare const LoadingApp: ({ backgroundColor, appName }: {
|
|
17
17
|
backgroundColor?: string;
|
|
18
18
|
appName: string;
|
|
19
|
-
}) => import("react
|
|
20
|
-
declare const LoadingTreeMenuItem: ({ color, Icon, level, children }: {
|
|
19
|
+
}) => import("react").JSX.Element;
|
|
20
|
+
export declare const LoadingTreeMenuItem: ({ color, Icon, level, children }: {
|
|
21
21
|
color?: string;
|
|
22
22
|
Icon: React.FC<IconBaseProps>;
|
|
23
23
|
level: number;
|
|
24
24
|
children?: ReactNode;
|
|
25
|
-
}) => import("react
|
|
26
|
-
//#endregion
|
|
27
|
-
export { LoadingApp, LoadingHeader, LoadingPage, LoadingTreeMenuItem, LoadingView, SidebarLoadingPage };
|
|
25
|
+
}) => import("react").JSX.Element;
|
|
26
|
+
//#endregion
|
package/lib/logo.d.ts
CHANGED
|
@@ -4,9 +4,8 @@ interface LogoProps {
|
|
|
4
4
|
size?: number;
|
|
5
5
|
isDevMode?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const Logo: FC<LogoProps>;
|
|
8
|
-
declare const logoContainerStyle: import("@linaria/core").LinariaClassName;
|
|
9
|
-
declare const mobileLogoSize = 28;
|
|
10
|
-
declare const mobileLogoContainerStyle: import("@linaria/core").LinariaClassName;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { Logo, logoContainerStyle, mobileLogoContainerStyle, mobileLogoSize };
|
|
7
|
+
export declare const Logo: FC<LogoProps>;
|
|
8
|
+
export declare const logoContainerStyle: import("@linaria/core").LinariaClassName;
|
|
9
|
+
export declare const mobileLogoSize = 28;
|
|
10
|
+
export declare const mobileLogoContainerStyle: import("@linaria/core").LinariaClassName;
|
|
11
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/media-query-utils.d.ts
|
|
2
|
-
|
|
3
|
-
declare function
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
type MediaQuerySubscription = Pick<MediaQueryList, "matches" | "addEventListener" | "removeEventListener">;
|
|
3
|
+
export declare function getMediaQueryList(query: string): MediaQuerySubscription;
|
|
4
|
+
export declare function subscribeOnChange(mediaQueryList: MediaQuerySubscription, cb: (evt: MediaQueryListEvent) => void): () => void;
|
|
5
|
+
//#endregion
|
package/lib/memoize.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/mobile-app-api.d.ts
|
|
2
|
+
export type MobileAppApi = {
|
|
3
|
+
hideSplashScreen: () => Promise<void>;
|
|
4
|
+
setTheme: (theme: "dark" | "light" | null) => Promise<void>;
|
|
5
|
+
downloadFile: (url: string, fileName?: string) => Promise<void>;
|
|
6
|
+
shareFile?: (url: string, fileName?: string) => Promise<void>;
|
|
7
|
+
logout: (options: {
|
|
8
|
+
loginPageUrl: string;
|
|
9
|
+
next?: string;
|
|
10
|
+
accountName: string;
|
|
11
|
+
force?: boolean;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
};
|
|
14
|
+
declare global {
|
|
15
|
+
interface Window {
|
|
16
|
+
__FIBERY_MOBILE_APP_API: MobileAppApi | undefined;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
File without changes
|
package/lib/mobile-drawer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode, Ref } from "react";
|
|
2
2
|
//#region src/mobile-drawer.d.ts
|
|
3
|
-
declare function MobileDrawer({ open, onOpenChange, title, trigger, triggerRef, onNavigateBack, children }: {
|
|
3
|
+
export declare function MobileDrawer({ open, onOpenChange, title, trigger, triggerRef, onNavigateBack, children }: {
|
|
4
4
|
open: boolean;
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
6
6
|
title: string;
|
|
@@ -8,6 +8,5 @@ declare function MobileDrawer({ open, onOpenChange, title, trigger, triggerRef,
|
|
|
8
8
|
triggerRef?: Ref<HTMLDivElement>;
|
|
9
9
|
onNavigateBack?: () => void;
|
|
10
10
|
children: ReactNode;
|
|
11
|
-
}): import("react
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MobileDrawer };
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/mobile-keyboard-aware-popup.d.ts
|
|
3
|
-
declare const mobileKeyboardAwarePopupZIndex = 1001;
|
|
4
|
-
declare function MobileKeyboardAwarePopup({ children, className }: {
|
|
3
|
+
export declare const mobileKeyboardAwarePopupZIndex = 1001;
|
|
4
|
+
export declare function MobileKeyboardAwarePopup({ children, className }: {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
}): import("react").ReactPortal;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { MobileKeyboardAwarePopup, mobileKeyboardAwarePopupZIndex };
|
|
8
|
+
//#endregion
|
package/lib/mobile-styles.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
//#region src/mobile-styles.d.ts
|
|
2
|
-
declare const mobileRootClassName = "fibery-mobile";
|
|
3
|
-
declare const mobileRootSelector = ".fibery-mobile";
|
|
4
|
-
declare const mobileKeyboardOpenClassName = "fibery-mobile-keyboard-open";
|
|
5
|
-
declare const mobileKeyboardOpenSelector = ".fibery-mobile-keyboard-open";
|
|
6
|
-
declare const keyboardHeightVar = "--fibery-on-screen-keyboard-height";
|
|
7
|
-
declare const safeAreaInsetLeftVar = "--safe-area-inset-left";
|
|
8
|
-
declare const safeAreaInsetRightVar = "--safe-area-inset-right";
|
|
9
|
-
declare const safeAreaInsetTopVar = "--safe-area-inset-top";
|
|
10
|
-
declare const safeAreaInsetBottomVar = "--safe-area-inset-bottom";
|
|
11
|
-
declare const keyboardInsetBottomVar = "--keyboard-inset-bottom";
|
|
12
|
-
//#endregion
|
|
13
|
-
export { keyboardHeightVar, keyboardInsetBottomVar, mobileKeyboardOpenClassName, mobileKeyboardOpenSelector, mobileRootClassName, mobileRootSelector, safeAreaInsetBottomVar, safeAreaInsetLeftVar, safeAreaInsetRightVar, safeAreaInsetTopVar };
|
|
2
|
+
export declare const mobileRootClassName = "fibery-mobile";
|
|
3
|
+
export declare const mobileRootSelector = ".fibery-mobile";
|
|
4
|
+
export declare const mobileKeyboardOpenClassName = "fibery-mobile-keyboard-open";
|
|
5
|
+
export declare const mobileKeyboardOpenSelector = ".fibery-mobile-keyboard-open";
|
|
6
|
+
export declare const keyboardHeightVar = "--fibery-on-screen-keyboard-height";
|
|
7
|
+
export declare const safeAreaInsetLeftVar = "--safe-area-inset-left";
|
|
8
|
+
export declare const safeAreaInsetRightVar = "--safe-area-inset-right";
|
|
9
|
+
export declare const safeAreaInsetTopVar = "--safe-area-inset-top";
|
|
10
|
+
export declare const safeAreaInsetBottomVar = "--safe-area-inset-bottom";
|
|
11
|
+
export declare const keyboardInsetBottomVar = "--keyboard-inset-bottom";
|
|
12
|
+
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
//#region src/modal-menu/contexts/modal-menu-context.d.ts
|
|
2
|
-
type SubmenuItem = {
|
|
2
|
+
export type SubmenuItem = {
|
|
3
3
|
id: string;
|
|
4
4
|
title: string;
|
|
5
5
|
};
|
|
6
|
-
type ModalMenuContext = {
|
|
6
|
+
export type ModalMenuContext = {
|
|
7
7
|
open: boolean;
|
|
8
8
|
title: string;
|
|
9
9
|
variant: "popover" | "drawer";
|
|
@@ -17,4 +17,4 @@ type ModalMenuContext = {
|
|
|
17
17
|
};
|
|
18
18
|
declare const ModalMenuContextProvider: import("react").Provider<ModalMenuContext>, useModalMenu: () => ModalMenuContext;
|
|
19
19
|
//#endregion
|
|
20
|
-
export {
|
|
20
|
+
export { ModalMenuContextProvider, useModalMenu };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
//#region src/modal-menu/contexts/modal-submenu-context.d.ts
|
|
2
|
-
type ModalSubmenuContext = {
|
|
2
|
+
export type ModalSubmenuContext = {
|
|
3
3
|
id: string;
|
|
4
4
|
title: string;
|
|
5
5
|
depth: number;
|
|
6
6
|
};
|
|
7
7
|
declare const ModalSubmenuContextPovider: import("react").Provider<ModalSubmenuContext>, useModalSubmenu: () => ModalSubmenuContext;
|
|
8
8
|
//#endregion
|
|
9
|
-
export {
|
|
9
|
+
export { ModalSubmenuContextPovider, useModalSubmenu };
|
|
@@ -6,6 +6,5 @@ interface ModalMenuCheckboxItemProps extends Omit<ComponentProps<"div">, "onSele
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare const ModalMenuCheckboxItem: ({ children, checked, onCheckedChange, disabled, ...otherProps }: ModalMenuCheckboxItemProps) => import("react
|
|
10
|
-
//#endregion
|
|
11
|
-
export { ModalMenuCheckboxItem };
|
|
9
|
+
export declare const ModalMenuCheckboxItem: ({ children, checked, onCheckedChange, disabled, ...otherProps }: ModalMenuCheckboxItemProps) => import("react").JSX.Element;
|
|
10
|
+
//#endregion
|