@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/a11y-color.d.ts
CHANGED
package/lib/abbreviate-name.d.ts
CHANGED
package/lib/action-badge.d.ts
CHANGED
|
@@ -6,6 +6,5 @@ interface ActionBadgeProps extends BaseButtonProps {
|
|
|
6
6
|
iconEnd?: ReactNode;
|
|
7
7
|
size?: "small" | "default";
|
|
8
8
|
}
|
|
9
|
-
declare const ActionBadge: import("react").ForwardRefExoticComponent<Omit<ActionBadgeProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { ActionBadge };
|
|
9
|
+
export declare const ActionBadge: import("react").ForwardRefExoticComponent<Omit<ActionBadgeProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconBaseProps } from "../icons/types.js";
|
|
2
2
|
import { FunctionComponent, ReactNode } from "react";
|
|
3
3
|
//#region src/actions-menu/actions-menu-checkbox-item.d.ts
|
|
4
|
-
type ActionsMenuCheckboxItemProps = {
|
|
4
|
+
export type ActionsMenuCheckboxItemProps = {
|
|
5
5
|
checked: boolean;
|
|
6
6
|
onCheckedChange: (checked: boolean) => void;
|
|
7
7
|
Icon?: FunctionComponent<IconBaseProps>;
|
|
@@ -10,6 +10,5 @@ type ActionsMenuCheckboxItemProps = {
|
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
className?: string;
|
|
12
12
|
};
|
|
13
|
-
declare const ActionsMenuCheckboxItem: React.FC<ActionsMenuCheckboxItemProps>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { ActionsMenuCheckboxItem, ActionsMenuCheckboxItemProps };
|
|
13
|
+
export declare const ActionsMenuCheckboxItem: React.FC<ActionsMenuCheckboxItemProps>;
|
|
14
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
//#region src/actions-menu/actions-menu-confirmation.d.ts
|
|
2
|
-
type ActionsMenuConfirmationProps = {
|
|
2
|
+
export type ActionsMenuConfirmationProps = {
|
|
3
3
|
message: string;
|
|
4
4
|
onCancel?: () => void;
|
|
5
5
|
onConfirm: () => void;
|
|
6
6
|
};
|
|
7
|
-
declare const ActionsMenuConfirmation: React.FC<ActionsMenuConfirmationProps>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { ActionsMenuConfirmation, ActionsMenuConfirmationProps };
|
|
7
|
+
export declare const ActionsMenuConfirmation: React.FC<ActionsMenuConfirmationProps>;
|
|
8
|
+
//#endregion
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IconBaseProps } from "../icons/types.js";
|
|
2
2
|
import { FunctionComponent, ReactNode } from "react";
|
|
3
3
|
//#region src/actions-menu/actions-menu-item.d.ts
|
|
4
|
-
declare const dangerousItemCss: import("@linaria/core").LinariaClassName;
|
|
5
|
-
declare const dangerousConfirmationCss: import("@linaria/core").LinariaClassName;
|
|
6
|
-
|
|
4
|
+
export declare const dangerousItemCss: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const dangerousConfirmationCss: import("@linaria/core").LinariaClassName;
|
|
6
|
+
export declare const ActionsMenuItemSpinner: FunctionComponent<IconBaseProps>;
|
|
7
|
+
export type ActionsMenuItemProps = {
|
|
7
8
|
title?: string;
|
|
8
9
|
/** Event handler called when the user selects an item (via mouse of keyboard).
|
|
9
10
|
* Calling event.preventDefault in this handler will prevent the dropdown menu from closing when selecting that item.
|
|
@@ -26,6 +27,5 @@ type ActionsMenuItemProps = {
|
|
|
26
27
|
children: ReactNode;
|
|
27
28
|
className?: string;
|
|
28
29
|
};
|
|
29
|
-
declare const ActionsMenuItem: React.FC<ActionsMenuItemProps>;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { ActionsMenuItem, ActionsMenuItemProps, dangerousConfirmationCss, dangerousItemCss };
|
|
30
|
+
export declare const ActionsMenuItem: React.FC<ActionsMenuItemProps>;
|
|
31
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import "./actions-menu-item.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
import { textClasses } from "../design-system/typography.js";
|
|
4
4
|
import { useIsPhone } from "../use-is-phone.js";
|
|
5
|
-
import { useTheme } from "../theme-provider.js";
|
|
6
5
|
import { Spinner } from "../spinner.js";
|
|
7
6
|
import { Kbd, KbdGroup } from "../kbd.js";
|
|
8
7
|
import { useActionsMenuContext } from "./contexts/actions-menu-context.js";
|
|
@@ -25,21 +24,17 @@ var dangerousConfirmationCss = "d1ub7sft-dangerousConfirmation";
|
|
|
25
24
|
var rowWithDescriptionCss = "rshbrnp-rowWithDescription";
|
|
26
25
|
var rowContentCss = "r1bhjhrr-rowContent";
|
|
27
26
|
var cornerCss = "c5mjhln-corner";
|
|
27
|
+
var leftCornerCss = "l1d0t71j-leftCorner";
|
|
28
28
|
var firstLetterToLowerCase = (str) => {
|
|
29
29
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
|
30
30
|
};
|
|
31
31
|
var RightCorner = ({ shortcut, loading, checked }) => {
|
|
32
|
-
const theme = useTheme();
|
|
33
32
|
const isPhone = useIsPhone();
|
|
34
33
|
const shortcuts = Array.isArray(shortcut) ? shortcut : shortcut ? [shortcut] : null;
|
|
35
34
|
return loading || shortcuts || checked ? /* @__PURE__ */ jsxs("div", {
|
|
36
35
|
className: cornerCss,
|
|
37
36
|
children: [
|
|
38
|
-
loading ? /* @__PURE__ */ jsx(Spinner, {
|
|
39
|
-
color: theme.colors.colorAccent,
|
|
40
|
-
iconSize: 16,
|
|
41
|
-
containerSize: 16
|
|
42
|
-
}) : null,
|
|
37
|
+
loading ? /* @__PURE__ */ jsx(Spinner, {}) : null,
|
|
43
38
|
shortcuts ? /* @__PURE__ */ jsx(KbdGroup, { children: shortcuts.map((item) => /* @__PURE__ */ jsx(Kbd, { children: item }, item)) }) : null,
|
|
44
39
|
checked ? /* @__PURE__ */ jsx(Checked, {
|
|
45
40
|
iconSize: isPhone ? 20 : 18,
|
|
@@ -51,13 +46,14 @@ var RightCorner = ({ shortcut, loading, checked }) => {
|
|
|
51
46
|
var LeftCorner = ({ Icon, iconColor }) => {
|
|
52
47
|
const isPhone = useIsPhone();
|
|
53
48
|
return Icon ? /* @__PURE__ */ jsx("div", {
|
|
54
|
-
className: cornerCss,
|
|
49
|
+
className: cx(cornerCss, leftCornerCss),
|
|
55
50
|
children: jsx(Icon, {
|
|
56
51
|
color: `var(--actions-menu-item-icon-color, ${iconColor ?? themeVars.iconColor})`,
|
|
57
52
|
iconSize: isPhone ? 20 : 18
|
|
58
53
|
})
|
|
59
54
|
}) : null;
|
|
60
55
|
};
|
|
56
|
+
var ActionsMenuItemSpinner = () => /* @__PURE__ */ jsx(Spinner, {});
|
|
61
57
|
var ActionsMenuItemComponent = function ActionsMenuItemComponent({ id, testId, title, onSelect, description, Icon, iconColor, shortcut, disabled, dangerous, hideConfirmationText, showWarning, loading, checked, children, className }) {
|
|
62
58
|
const { MenuPrimitive } = useActionsMenuContext();
|
|
63
59
|
const setActiveDangerousRow = useSetActiveDangerousRow();
|
|
@@ -129,4 +125,4 @@ var ActionsMenuItem = ({ className, ...props }) => {
|
|
|
129
125
|
});
|
|
130
126
|
};
|
|
131
127
|
//#endregion
|
|
132
|
-
export { ActionsMenuItem, dangerousConfirmationCss, dangerousItemCss };
|
|
128
|
+
export { ActionsMenuItem, ActionsMenuItemSpinner, dangerousConfirmationCss, dangerousItemCss };
|
|
@@ -6,4 +6,5 @@
|
|
|
6
6
|
.d1ub7sft-dangerousConfirmation.rm5qka0-row{background-color:var(--colorBgActionsMenuItemDangerActive);color:var(--whiteColor);border-radius:6px;--actions-menu-item-icon-color:var(--whiteColor);}.d1ub7sft-dangerousConfirmation.rm5qka0-row:hover,.d1ub7sft-dangerousConfirmation.rm5qka0-row[data-highlighted]{background-color:var(--colorBgActionsMenuItemDangerActive);color:var(--whiteColor);border-radius:6px;--actions-menu-item-icon-color:var(--whiteColor);}
|
|
7
7
|
.rshbrnp-rowWithDescription.rm5qka0-row{min-height:52px;}
|
|
8
8
|
.r1bhjhrr-rowContent{min-width:0;flex-grow:1;}
|
|
9
|
-
.c5mjhln-corner{display:flex;align-items:center;column-gap:12px;}
|
|
9
|
+
.c5mjhln-corner{display:flex;align-items:center;column-gap:12px;--fibery-icon-color:var(--actions-menu-item-icon-color, var(--iconColor));}
|
|
10
|
+
.l1d0t71j-leftCorner{--fibery-icon-size:18px;}.fibery-mobile .l1d0t71j-leftCorner{--fibery-icon-size:20px;}
|
|
@@ -2,7 +2,7 @@ import { ContentProps } from "../dropdown-menu/index.js";
|
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { DropdownMenuContentProps } from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
//#region src/actions-menu/actions-menu-props.d.ts
|
|
5
|
-
type ActionsMenuProps = {
|
|
5
|
+
export type ActionsMenuProps = {
|
|
6
6
|
/** Clicking on this node will open actions menu. Make sure that trigger forwards ref AND props to html element */
|
|
7
7
|
trigger: ReactNode;
|
|
8
8
|
triggerEvent?: "click" | "context-menu";
|
|
@@ -32,5 +32,4 @@ type ActionsMenuProps = {
|
|
|
32
32
|
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
33
33
|
sticky?: DropdownMenuContentProps["sticky"];
|
|
34
34
|
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { ActionsMenuProps };
|
|
35
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from "react";
|
|
2
2
|
//#region src/actions-menu/actions-menu-separator.d.ts
|
|
3
|
-
declare const ActionsMenuSeparator: (props: ComponentPropsWithoutRef<"div">) => import("react
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ActionsMenuSeparator };
|
|
3
|
+
export declare const ActionsMenuSeparator: (props: ComponentPropsWithoutRef<"div">) => import("react").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -7,11 +7,11 @@ type ActionsMenuSubCommandMenuProps = React.PropsWithChildren<{
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
Icon?: FunctionComponent<IconBaseProps>;
|
|
9
9
|
}>;
|
|
10
|
-
declare const ActionsMenuSubCommandMenu: React.FC<ActionsMenuSubCommandMenuProps>;
|
|
11
|
-
declare const ActionsMenuSubCommandMenuRoot: React.FC<React.ComponentPropsWithoutRef<typeof CommandMenuRoot>>;
|
|
10
|
+
export declare const ActionsMenuSubCommandMenu: React.FC<ActionsMenuSubCommandMenuProps>;
|
|
11
|
+
export declare const ActionsMenuSubCommandMenuRoot: React.FC<React.ComponentPropsWithoutRef<typeof CommandMenuRoot>>;
|
|
12
12
|
type ActionsMenuSubCommandMenuInputProps = React.ComponentPropsWithoutRef<typeof CommandMenuInput>;
|
|
13
|
-
declare const ActionsMenuSubCommandMenuInput: React.FC<ActionsMenuSubCommandMenuInputProps>;
|
|
14
|
-
declare const ActionsMenuSubCommandMenuList: {
|
|
13
|
+
export declare const ActionsMenuSubCommandMenuInput: React.FC<ActionsMenuSubCommandMenuInputProps>;
|
|
14
|
+
export declare const ActionsMenuSubCommandMenuList: {
|
|
15
15
|
__wyw_meta: unknown;
|
|
16
16
|
} & React.ForwardRefExoticComponent<{
|
|
17
17
|
children?: React.ReactNode;
|
|
@@ -22,8 +22,8 @@ declare const ActionsMenuSubCommandMenuList: {
|
|
|
22
22
|
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
23
23
|
label?: string;
|
|
24
24
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
declare const ActionsMenuSubCommandMenuItem: React.FC<React.ComponentPropsWithoutRef<typeof CommandMenuItem>>;
|
|
26
|
-
declare const ActionsMenuSubCommandMenuEmpty: {
|
|
25
|
+
export declare const ActionsMenuSubCommandMenuItem: React.FC<React.ComponentPropsWithoutRef<typeof CommandMenuItem>>;
|
|
26
|
+
export declare const ActionsMenuSubCommandMenuEmpty: {
|
|
27
27
|
__wyw_meta: unknown;
|
|
28
28
|
} & React.ForwardRefExoticComponent<{
|
|
29
29
|
children?: React.ReactNode;
|
|
@@ -32,7 +32,7 @@ declare const ActionsMenuSubCommandMenuEmpty: {
|
|
|
32
32
|
} & {
|
|
33
33
|
asChild?: boolean;
|
|
34
34
|
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
declare const ActionsMenuSubCommandMenuGroup: {
|
|
35
|
+
export declare const ActionsMenuSubCommandMenuGroup: {
|
|
36
36
|
__wyw_meta: unknown;
|
|
37
37
|
} & React.ForwardRefExoticComponent<{
|
|
38
38
|
children?: React.ReactNode;
|
|
@@ -45,7 +45,7 @@ declare const ActionsMenuSubCommandMenuGroup: {
|
|
|
45
45
|
value?: string;
|
|
46
46
|
forceMount?: boolean;
|
|
47
47
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
-
declare const ActionsMenuSubCommandMenuSeparator: {
|
|
48
|
+
export declare const ActionsMenuSubCommandMenuSeparator: {
|
|
49
49
|
__wyw_meta: unknown;
|
|
50
50
|
} & React.ForwardRefExoticComponent<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
51
51
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -54,5 +54,4 @@ declare const ActionsMenuSubCommandMenuSeparator: {
|
|
|
54
54
|
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
55
55
|
alwaysRender?: boolean;
|
|
56
56
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
-
//#endregion
|
|
58
|
-
export { ActionsMenuSubCommandMenu, ActionsMenuSubCommandMenuEmpty, ActionsMenuSubCommandMenuGroup, ActionsMenuSubCommandMenuInput, ActionsMenuSubCommandMenuItem, ActionsMenuSubCommandMenuList, ActionsMenuSubCommandMenuRoot, ActionsMenuSubCommandMenuSeparator };
|
|
57
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { FunctionComponent, ReactNode } from "react";
|
|
|
3
3
|
//#region src/actions-menu/actions-menu-sub-menu.d.ts
|
|
4
4
|
type Props = React.PropsWithChildren<{
|
|
5
5
|
trigger: ReactNode;
|
|
6
|
-
triggerRef?: React.RefObject<HTMLDivElement>;
|
|
6
|
+
triggerRef?: React.RefObject<HTMLDivElement | null>;
|
|
7
7
|
open?: boolean;
|
|
8
8
|
onOpenChange?: (v: boolean) => void;
|
|
9
9
|
disabled?: boolean;
|
|
@@ -13,6 +13,5 @@ type Props = React.PropsWithChildren<{
|
|
|
13
13
|
Icon?: FunctionComponent<IconBaseProps>;
|
|
14
14
|
onMouseEnter?: () => void;
|
|
15
15
|
}>;
|
|
16
|
-
declare const ActionsMenuSubMenu: React.FC<Props>;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { ActionsMenuSubMenu };
|
|
16
|
+
export declare const ActionsMenuSubMenu: React.FC<Props>;
|
|
17
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconBaseProps } from "../icons/types.js";
|
|
2
2
|
import { FunctionComponent, ReactNode } from "react";
|
|
3
3
|
//#region src/actions-menu/actions-menu-toggle-item.d.ts
|
|
4
|
-
type ActionsMenuToggleItemProps = {
|
|
4
|
+
export type ActionsMenuToggleItemProps = {
|
|
5
5
|
checked: boolean;
|
|
6
6
|
onCheckedChange: (checked: boolean) => void;
|
|
7
7
|
Icon?: FunctionComponent<IconBaseProps>;
|
|
@@ -10,6 +10,5 @@ type ActionsMenuToggleItemProps = {
|
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
className?: string;
|
|
12
12
|
};
|
|
13
|
-
declare const ActionsMenuToggleItem: React.FC<ActionsMenuToggleItemProps>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { ActionsMenuToggleItem, ActionsMenuToggleItemProps };
|
|
13
|
+
export declare const ActionsMenuToggleItem: React.FC<ActionsMenuToggleItemProps>;
|
|
14
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionsMenuProps } from "./actions-menu-props.js";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
//#region src/actions-menu/actions-menu.d.ts
|
|
3
|
-
declare const preventDefaultAndStopPropagation: (event: React.MouseEvent) => void;
|
|
4
|
-
declare const ActionsMenu: ({ trigger, triggerEvent, wide, align, alignOffset, side, sideOffset, collisionPadding, open, onOpenChange, onEscapeKeyDown, children, portalled, container, disabled, contentStyles, modal, autoFocusOnClose, supportsMobile, mobileVariant, mobileTitle, sticky, height }: ActionsMenuProps) => JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ActionsMenu, preventDefaultAndStopPropagation };
|
|
4
|
+
export declare const preventDefaultAndStopPropagation: (event: React.MouseEvent) => void;
|
|
5
|
+
export declare const ActionsMenu: ({ trigger, triggerEvent, wide, align, alignOffset, side, sideOffset, collisionPadding, open, onOpenChange, onEscapeKeyDown, children, portalled, container, disabled, contentStyles, modal, autoFocusOnClose, supportsMobile, mobileVariant, mobileTitle, sticky, height }: ActionsMenuProps) => JSX.Element;
|
|
6
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { ActionsMenuItemProps } from "./actions-menu-item.js";
|
|
|
3
3
|
type AsyncActionsMenuItemProps = ActionsMenuItemProps & {
|
|
4
4
|
inProgressTitle?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const AsyncActionsMenuItem: (props: AsyncActionsMenuItemProps) => import("react
|
|
7
|
-
//#endregion
|
|
8
|
-
export { AsyncActionsMenuItem };
|
|
6
|
+
export declare const AsyncActionsMenuItem: (props: AsyncActionsMenuItemProps) => import("react").JSX.Element;
|
|
7
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActionsMenuProps } from "./actions-menu-props.js";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
//#region src/actions-menu/context-actions-menu.d.ts
|
|
3
|
-
declare const ContextActionsMenu: ({ open, onOpenChange, trigger, children, disabled, mobileTitle, supportsMobile, autoFocusOnClose, contentStyles }: ActionsMenuProps) => JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ContextActionsMenu };
|
|
4
|
+
export declare const ContextActionsMenu: ({ open, onOpenChange, trigger, children, disabled, mobileTitle, supportsMobile, autoFocusOnClose, contentStyles }: ActionsMenuProps) => JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -22,7 +22,6 @@ type Props = React.PropsWithChildren<{
|
|
|
22
22
|
MenuPrimitive: MenuPrimitive;
|
|
23
23
|
container?: HTMLElement | null;
|
|
24
24
|
}>;
|
|
25
|
-
declare const ActionsMenuContextProvider: React.FC<Props>;
|
|
26
|
-
declare const useActionsMenuContext: () => ActionsMenuContext;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { ActionsMenuContextProvider, useActionsMenuContext };
|
|
25
|
+
export declare const ActionsMenuContextProvider: React.FC<Props>;
|
|
26
|
+
export declare const useActionsMenuContext: () => ActionsMenuContext;
|
|
27
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { JSX, ReactNode } from "react";
|
|
2
2
|
//#region src/actions-menu/contexts/actions-menu-dangerous-rows.d.ts
|
|
3
3
|
type RowKey = string | null;
|
|
4
4
|
type SetRowKey = (state: RowKey) => unknown;
|
|
@@ -8,6 +8,6 @@ type Props = {
|
|
|
8
8
|
open: boolean;
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
};
|
|
11
|
-
declare const ActionsMenuDangerousRowsProvider: ({ open, children }: Props) => JSX.Element;
|
|
11
|
+
export declare const ActionsMenuDangerousRowsProvider: ({ open, children }: Props) => JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export { useActiveDangerousRow, useSetActiveDangerousRow };
|
|
@@ -9,7 +9,7 @@ import { useActionsMenuContext } from "./contexts/actions-menu-context.js";
|
|
|
9
9
|
import { insertSeparators } from "./utils/insert-separators.js";
|
|
10
10
|
import { ComponentPropsWithoutRef } from "react";
|
|
11
11
|
//#region src/actions-menu/index.d.ts
|
|
12
|
-
declare const ActionsMenuGroup: (props: ComponentPropsWithoutRef<"div">) => import("react
|
|
13
|
-
declare const ActionsMenuLabel: (props: ComponentPropsWithoutRef<"div">) => import("react
|
|
12
|
+
export declare const ActionsMenuGroup: (props: ComponentPropsWithoutRef<"div">) => import("react").JSX.Element;
|
|
13
|
+
export declare const ActionsMenuLabel: (props: ComponentPropsWithoutRef<"div">) => import("react").JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { ActionsMenu, ActionsMenuCheckboxItem,
|
|
15
|
+
export { ActionsMenu, ActionsMenuCheckboxItem, ActionsMenuItem, ActionsMenuSeparator, ActionsMenuSubMenu, ActionsMenuToggleItem, AsyncActionsMenuItem, insertSeparators, useActionsMenuContext };
|
|
@@ -6,6 +6,5 @@
|
|
|
6
6
|
* then separator won't be inserted before the node, it's now node's responsibility
|
|
7
7
|
* (e.g. it's used mostly for ButtonActions where you can't decide whether you need a separator before actual render and fetch)
|
|
8
8
|
*/
|
|
9
|
-
declare const insertSeparators: (sections: (React.ReactNode[] | React.ReactNode)[]) => import("react").ReactNode[];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { insertSeparators };
|
|
9
|
+
export declare const insertSeparators: (sections: (React.ReactNode[] | React.ReactNode)[]) => import("react").ReactNode[];
|
|
10
|
+
//#endregion
|
package/lib/actions-panel.d.ts
CHANGED
|
@@ -5,6 +5,5 @@ type Props = {
|
|
|
5
5
|
inline?: boolean;
|
|
6
6
|
gap?: number;
|
|
7
7
|
};
|
|
8
|
-
declare const ActionsPanel: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { ActionsPanel };
|
|
8
|
+
export declare const ActionsPanel: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//#endregion
|
|
@@ -5,6 +5,5 @@ type AnimatedHeightContainerProps = ComponentProps<"div"> & {
|
|
|
5
5
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
6
6
|
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const AnimatedHeightContainer: React.ForwardRefExoticComponent<Omit<AnimatedHeightContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { AnimatedHeightContainer };
|
|
8
|
+
export declare const AnimatedHeightContainer: React.ForwardRefExoticComponent<Omit<AnimatedHeightContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//#endregion
|
package/lib/animations.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
2
|
//#region src/animations.d.ts
|
|
3
|
-
declare const Pulse: FC<{
|
|
3
|
+
export declare const Pulse: FC<{
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}>;
|
|
6
|
-
declare const usePopupEffect: ({ enabled }: {
|
|
6
|
+
export declare const usePopupEffect: ({ enabled }: {
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
}) => {
|
|
9
|
-
ref: import("react").RefObject<HTMLDivElement>;
|
|
9
|
+
ref: import("react").RefObject<HTMLDivElement | null>;
|
|
10
10
|
popupEffectClassName: import("@linaria/core").LinariaClassName;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { Pulse, usePopupEffect };
|
|
12
|
+
//#endregion
|
package/lib/antd/ant-modal.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
1
|
+
import { CSSProperties, SyntheticEvent } from "react";
|
|
2
2
|
import { IDialogPropTypes } from "rc-dialog/lib/IDialogPropTypes";
|
|
3
3
|
//#region src/antd/ant-modal.d.ts
|
|
4
|
-
type
|
|
4
|
+
export type AntModalCancelEvent = SyntheticEvent | KeyboardEvent;
|
|
5
|
+
export type AntModalProps = Omit<IDialogPropTypes, "visible" | "onClose" | "prefixCls"> & {
|
|
5
6
|
open?: boolean;
|
|
6
|
-
onCancel?: (e:
|
|
7
|
+
onCancel?: (e: AntModalCancelEvent) => void;
|
|
7
8
|
centered?: boolean;
|
|
8
9
|
bodyStyle?: CSSProperties;
|
|
9
10
|
};
|
|
10
|
-
declare function AntModal({ open, onCancel, centered, bodyStyle, className, wrapClassName, rootClassName, width, transitionName, maskTransitionName, closeIcon, keyboard, ...restProps }: AntModalProps): import("react
|
|
11
|
-
//#endregion
|
|
12
|
-
export { AntModal, AntModalProps };
|
|
11
|
+
export declare function AntModal({ open, onCancel, centered, bodyStyle, className, wrapClassName, rootClassName, width, transitionName, maskTransitionName, closeIcon, keyboard, ...restProps }: AntModalProps): import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
package/lib/antd/ant-upload.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RcFile, UploadProps, UploadRequestOption } from "rc-upload/lib/interface";
|
|
2
2
|
//#region src/antd/ant-upload.d.ts
|
|
3
|
-
type UploadFileStatus = "error" | "success" | "done" | "uploading" | "removed";
|
|
4
|
-
interface UploadFile<T = unknown> {
|
|
3
|
+
export type UploadFileStatus = "error" | "success" | "done" | "uploading" | "removed";
|
|
4
|
+
export interface UploadFile<T = unknown> {
|
|
5
5
|
uid: string;
|
|
6
6
|
size?: number;
|
|
7
7
|
name: string;
|
|
@@ -17,15 +17,15 @@ interface UploadFile<T = unknown> {
|
|
|
17
17
|
type?: string;
|
|
18
18
|
xhr?: T;
|
|
19
19
|
}
|
|
20
|
-
interface UploadChangeParam<T = UploadFile> {
|
|
20
|
+
export interface UploadChangeParam<T = UploadFile> {
|
|
21
21
|
file: T;
|
|
22
22
|
fileList: T[];
|
|
23
23
|
event?: {
|
|
24
24
|
percent: number;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
declare const antUploadStyle: import("@linaria/core").LinariaClassName;
|
|
28
|
-
type AntUploadProps = Omit<UploadProps, "prefixCls" | "onStart" | "onSuccess" | "onError" | "onProgress" | "type" | "onChange" | "children"> & {
|
|
27
|
+
export declare const antUploadStyle: import("@linaria/core").LinariaClassName;
|
|
28
|
+
export type AntUploadProps = Omit<UploadProps, "prefixCls" | "onStart" | "onSuccess" | "onError" | "onProgress" | "type" | "onChange" | "children"> & {
|
|
29
29
|
type?: "select" | "drag";
|
|
30
30
|
listType?: "text" | "picture" | "picture-card";
|
|
31
31
|
disabled?: boolean;
|
|
@@ -34,7 +34,7 @@ type AntUploadProps = Omit<UploadProps, "prefixCls" | "onStart" | "onSuccess" |
|
|
|
34
34
|
children?: React.ReactNode;
|
|
35
35
|
onChange?: (info: UploadChangeParam) => void;
|
|
36
36
|
};
|
|
37
|
-
declare const AntUpload: import("react").ForwardRefExoticComponent<Omit<UploadProps, "children" | "onChange" | "onError" | "onProgress" | "onStart" | "onSuccess" | "prefixCls" | "type"> & {
|
|
37
|
+
export declare const AntUpload: import("react").ForwardRefExoticComponent<Omit<UploadProps, "children" | "onChange" | "onError" | "onProgress" | "onStart" | "onSuccess" | "prefixCls" | "type"> & {
|
|
38
38
|
type?: "select" | "drag";
|
|
39
39
|
listType?: "text" | "picture" | "picture-card";
|
|
40
40
|
disabled?: boolean;
|
|
@@ -44,4 +44,4 @@ declare const AntUpload: import("react").ForwardRefExoticComponent<Omit<UploadPr
|
|
|
44
44
|
onChange?: (info: UploadChangeParam) => void;
|
|
45
45
|
} & import("react").RefAttributes<HTMLSpanElement>>;
|
|
46
46
|
//#endregion
|
|
47
|
-
export {
|
|
47
|
+
export type { UploadRequestOption };
|
|
@@ -2,8 +2,7 @@ import { ReactElement } from "react";
|
|
|
2
2
|
import { BaseSelectRef, SelectProps } from "rc-select";
|
|
3
3
|
import { DefaultOptionType } from "rc-select/lib/Select";
|
|
4
4
|
//#region src/antd/auto-complete.d.ts
|
|
5
|
-
declare const AntAutoComplete: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<SelectProps<string, DefaultOptionType>, "children" | "getInputElement" | "mode" | "prefixCls"> & {
|
|
5
|
+
export declare const AntAutoComplete: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<SelectProps<string, DefaultOptionType>, "children" | "getInputElement" | "mode" | "prefixCls"> & {
|
|
6
6
|
children?: ReactElement;
|
|
7
7
|
} & import("react").RefAttributes<BaseSelectRef>, "ref">, "getPopupContainer"> & import("react").RefAttributes<BaseSelectRef>>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { AntAutoComplete };
|
|
8
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/antd/get-wrapper.d.ts
|
|
2
|
-
declare function getWrapper(wrapperClassName: string): import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { getWrapper };
|
|
2
|
+
export declare function getWrapper(wrapperClassName: string): import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
html ,body {width:100%;height:100%;}input::-ms-clear ,input::-ms-reveal {display:none;}* ,*::before ,*::after {box-sizing:border-box;}html {font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:var(--transparent);}input[readonly] {cursor:default;}.Resizer {background:var(--colorAccent);opacity:0;z-index:1000;box-sizing:border-box;background-clip:padding-box;}.Resizer:hover {transition:all 0.2s ease-in;opacity:1;}.Resizer.vertical {width:10px;margin:0 -5px;border-left:4px solid var(--transparent);border-right:4px solid var(--transparent);cursor:col-resize;}.Resizer.disabled {cursor:not-allowed;}.Resizer.disabled:hover {border-color:var(--transparent);}[tabindex="-1"]:focus {outline:none!important;}hr {box-sizing:content-box;height:0;overflow:visible;}h1 ,h2 ,h3 ,h4 ,h5 ,h6 {margin-top:0;margin-bottom:0.5em;font-weight:500;}p {margin-top:0;margin-bottom:1em;}abbr[title] ,abbr[data-original-title] {text-decoration:underline dotted;border-bottom:0;cursor:help;}address {margin-bottom:1em;font-style:normal;line-height:inherit;}input[type="text"] ,input[type="password"] ,input[type="number"] ,textarea {-webkit-appearance:none;}ol ,ul ,dl {margin-top:0;margin-bottom:1em;}ol ol ,ul ul ,ol ul ,ul ol {margin-bottom:0;}dt {font-weight:500;}dd {margin-bottom:0.5em;margin-left:0;}blockquote {margin:0 0 1em;}dfn {font-style:italic;}b ,strong {font-weight:bolder;}small {font-size:80%;}sub ,sup {position:relative;font-size:75%;line-height:0;vertical-align:baseline;}sub {bottom:-0.25em;}sup {top:-0.5em;}a {color:var(--linkColor);text-decoration:none;background-color:transparent;outline:none;cursor:pointer;
|
|
1
|
+
html ,body {width:100%;height:100%;}input::-ms-clear ,input::-ms-reveal {display:none;}* ,*::before ,*::after {box-sizing:border-box;}html {font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:var(--transparent);}input[readonly] {cursor:default;}.Resizer {background:var(--colorAccent);opacity:0;z-index:1000;box-sizing:border-box;background-clip:padding-box;}.Resizer:hover {transition:all 0.2s ease-in;opacity:1;}.Resizer.vertical {width:10px;margin:0 -5px;border-left:4px solid var(--transparent);border-right:4px solid var(--transparent);cursor:col-resize;}.Resizer.disabled {cursor:not-allowed;}.Resizer.disabled:hover {border-color:var(--transparent);}[tabindex="-1"]:focus {outline:none!important;}hr {box-sizing:content-box;height:0;overflow:visible;}h1 ,h2 ,h3 ,h4 ,h5 ,h6 {margin-top:0;margin-bottom:0.5em;font-weight:500;}p {margin-top:0;margin-bottom:1em;}abbr[title] ,abbr[data-original-title] {text-decoration:underline dotted;border-bottom:0;cursor:help;}address {margin-bottom:1em;font-style:normal;line-height:inherit;}input[type="text"] ,input[type="password"] ,input[type="number"] ,textarea {-webkit-appearance:none;}ol ,ul ,dl {margin-top:0;margin-bottom:1em;}ol ol ,ul ul ,ol ul ,ul ol {margin-bottom:0;}dt {font-weight:500;}dd {margin-bottom:0.5em;margin-left:0;}blockquote {margin:0 0 1em;}dfn {font-style:italic;}b ,strong {font-weight:bolder;}small {font-size:80%;}sub ,sup {position:relative;font-size:75%;line-height:0;vertical-align:baseline;}sub {bottom:-0.25em;}sup {top:-0.5em;}a {color:var(--linkColor);text-decoration:none;background-color:transparent;outline:none;cursor:pointer;}a:hover {color:var(--linkHoverColor);}a:active {color:var(--linkColor);}a:focus {text-decoration:none;outline:0;}a[disabled] {color:var(--disabledInversedTextColor);cursor:not-allowed;pointer-events:none;}pre ,code ,kbd ,samp {font-size:1em;font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;}pre {margin-top:0;margin-bottom:1em;overflow:auto;}figure {margin:0 0 1em;}img {vertical-align:middle;border-style:none;}svg:not(:root) {overflow:hidden;}a ,area ,button ,[role="button"] ,input:not([type="range"]) ,label ,select ,summary ,textarea {touch-action:manipulation;}table {border-collapse:collapse;}caption {padding-top:0.75em;padding-bottom:0.3em;color:var(--disabledTextColor);text-align:left;caption-side:bottom;}input ,button ,select ,optgroup ,textarea {margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;}button ,input {overflow:visible;}button ,select {text-transform:none;}button ,html [type="button"] ,[type="reset"] ,[type="submit"] {-webkit-appearance:button;}button::-moz-focus-inner ,[type="button"]::-moz-focus-inner ,[type="reset"]::-moz-focus-inner ,[type="submit"]::-moz-focus-inner {padding:0;border-style:none;}input[type="radio"] ,input[type="checkbox"] {box-sizing:border-box;padding:0;}input[type="date"] ,input[type="time"] ,input[type="datetime-local"] ,input[type="month"] {-webkit-appearance:listbox;}textarea {overflow:auto;resize:vertical;}fieldset {min-width:0;margin:0;padding:0;border:0;}legend {display:block;width:100%;max-width:100%;margin-bottom:0.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;}progress {vertical-align:baseline;}[type="number"]::-webkit-inner-spin-button ,[type="number"]::-webkit-outer-spin-button {height:auto;}[type="search"] {outline-offset:-2px;-webkit-appearance:none;}[type="search"]::-webkit-search-cancel-button ,[type="search"]::-webkit-search-decoration {-webkit-appearance:none;}::-webkit-file-upload-button {font:inherit;-webkit-appearance:button;}output {display:inline-block;}summary {display:list-item;}template {display:none;}[hidden] {display:none!important;}mark {padding:0.2em;background-color:var(--infoBox);}::-moz-selection {color:var(--textColor);background:var(--textSelectionColor);}::selection {color:var(--textColor);background:var(--textSelectionColor);}
|
package/lib/antd/index.d.ts
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { TextAreaRef } from "./input.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/antd/index.d.ts
|
|
4
|
-
declare const AntInput: import("react").FC<Omit<Omit<import("rc-input").InputProps, "status"> & {
|
|
4
|
+
export declare const AntInput: import("react").FC<Omit<Omit<import("rc-input").InputProps, "status"> & {
|
|
5
5
|
status?: "error";
|
|
6
6
|
bordered?: boolean;
|
|
7
7
|
} & import("react").RefAttributes<import("rc-input").InputRef>, "ref"> & {
|
|
8
8
|
bypassedRef?: import("react").ForwardedRef<import("rc-input").InputRef> | undefined;
|
|
9
9
|
wrapClassName?: string;
|
|
10
10
|
}>;
|
|
11
|
-
declare const AntTextArea: import("react").FC<Omit<Omit<import("rc-textarea").TextAreaProps, "status"> & {
|
|
11
|
+
export declare const AntTextArea: import("react").FC<Omit<Omit<import("rc-textarea").TextAreaProps, "status"> & {
|
|
12
12
|
status?: "error";
|
|
13
13
|
} & import("react").RefAttributes<TextAreaRef>, "ref"> & {
|
|
14
14
|
bypassedRef?: import("react").ForwardedRef<TextAreaRef> | undefined;
|
|
15
15
|
wrapClassName?: string;
|
|
16
16
|
}>;
|
|
17
|
-
type AntInputProps = ComponentProps<typeof AntInput>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { AntInput, AntInputProps, AntTextArea };
|
|
17
|
+
export type AntInputProps = ComponentProps<typeof AntInput>;
|
|
18
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/antd/input-number.d.ts
|
|
2
|
-
declare const AntInputNumber: import("react").FC<Omit<Omit<import("rc-input-number").InputNumberProps<import("rc-input-number").ValueType> & {
|
|
2
|
+
export declare const AntInputNumber: import("react").FC<Omit<Omit<import("rc-input-number").InputNumberProps<import("rc-input-number").ValueType> & {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
} & {
|
|
5
5
|
ref?: React.Ref<HTMLInputElement>;
|
|
@@ -7,5 +7,4 @@ declare const AntInputNumber: import("react").FC<Omit<Omit<import("rc-input-numb
|
|
|
7
7
|
bypassedRef?: import("react").ForwardedRef<HTMLInputElement> | undefined;
|
|
8
8
|
wrapClassName?: string;
|
|
9
9
|
}>;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { AntInputNumber };
|
|
10
|
+
//#endregion
|
package/lib/antd/input.d.ts
CHANGED
|
@@ -2,36 +2,36 @@ import { InputProps, InputRef } from "rc-input";
|
|
|
2
2
|
import { TextAreaProps } from "rc-textarea";
|
|
3
3
|
import { ResizableTextAreaRef } from "rc-textarea/lib/ResizableTextArea";
|
|
4
4
|
//#region src/antd/input.d.ts
|
|
5
|
-
interface InputFocusOptions extends FocusOptions {
|
|
5
|
+
export interface InputFocusOptions extends FocusOptions {
|
|
6
6
|
cursor?: "start" | "end" | "all";
|
|
7
7
|
}
|
|
8
|
-
interface TextAreaRef {
|
|
8
|
+
export interface TextAreaRef {
|
|
9
9
|
focus: (options?: InputFocusOptions) => void;
|
|
10
10
|
blur: () => void;
|
|
11
11
|
resizableTextArea?: ResizableTextAreaRef;
|
|
12
12
|
}
|
|
13
|
-
declare const transparentInputStyle: import("@linaria/core").LinariaClassName;
|
|
14
|
-
declare const StyledInput: import("react").FC<Omit<Omit<InputProps, "status"> & {
|
|
13
|
+
export declare const transparentInputStyle: import("@linaria/core").LinariaClassName;
|
|
14
|
+
export declare const StyledInput: import("react").FC<Omit<Omit<InputProps, "status"> & {
|
|
15
15
|
status?: "error";
|
|
16
16
|
bordered?: boolean;
|
|
17
17
|
} & import("react").RefAttributes<InputRef>, "ref"> & {
|
|
18
18
|
bypassedRef?: import("react").ForwardedRef<InputRef> | undefined;
|
|
19
19
|
wrapClassName?: string;
|
|
20
20
|
}>;
|
|
21
|
-
declare const StyledTextArea: import("react").FC<Omit<Omit<TextAreaProps, "status"> & {
|
|
21
|
+
export declare const StyledTextArea: import("react").FC<Omit<Omit<TextAreaProps, "status"> & {
|
|
22
22
|
status?: "error";
|
|
23
23
|
} & import("react").RefAttributes<TextAreaRef>, "ref"> & {
|
|
24
24
|
bypassedRef?: import("react").ForwardedRef<TextAreaRef> | undefined;
|
|
25
25
|
wrapClassName?: string;
|
|
26
26
|
}>;
|
|
27
|
-
declare const TransparentInputWrapper: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
-
declare const AntTransparentTextArea: import("react").FC<Omit<Omit<TextAreaProps, "status"> & {
|
|
27
|
+
export declare const TransparentInputWrapper: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
+
export declare const AntTransparentTextArea: import("react").FC<Omit<Omit<TextAreaProps, "status"> & {
|
|
29
29
|
status?: "error";
|
|
30
30
|
} & import("react").RefAttributes<TextAreaRef>, "ref"> & {
|
|
31
31
|
bypassedRef?: import("react").ForwardedRef<TextAreaRef> | undefined;
|
|
32
32
|
wrapClassName?: string;
|
|
33
33
|
}>;
|
|
34
|
-
declare const AntTransparentInput: import("react").FC<Omit<Omit<InputProps, "status"> & {
|
|
34
|
+
export declare const AntTransparentInput: import("react").FC<Omit<Omit<InputProps, "status"> & {
|
|
35
35
|
status?: "error";
|
|
36
36
|
bordered?: boolean;
|
|
37
37
|
} & import("react").RefAttributes<InputRef>, "ref"> & {
|
|
@@ -39,4 +39,4 @@ declare const AntTransparentInput: import("react").FC<Omit<Omit<InputProps, "sta
|
|
|
39
39
|
wrapClassName?: string;
|
|
40
40
|
}>;
|
|
41
41
|
//#endregion
|
|
42
|
-
export {
|
|
42
|
+
export type { InputRef };
|
package/lib/antd/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/antd/styles.d.ts
|
|
2
|
-
declare const inputOverrides: {
|
|
2
|
+
export declare const inputOverrides: {
|
|
3
3
|
main: {
|
|
4
4
|
"--input-border": string;
|
|
5
5
|
"--input-hover-border": string;
|
|
@@ -45,6 +45,5 @@ declare const inputOverrides: {
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
declare const inputStyles: import("@linaria/core").LinariaClassName;
|
|
49
|
-
//#endregion
|
|
50
|
-
export { inputOverrides, inputStyles };
|
|
48
|
+
export declare const inputStyles: import("@linaria/core").LinariaClassName;
|
|
49
|
+
//#endregion
|