@fibery/ui-kit 9.4.3 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/a11y-color.d.ts +2 -3
- package/lib/abbreviate-name.d.ts +2 -3
- package/lib/action-badge.d.ts +2 -3
- package/lib/actions-menu/actions-menu-checkbox-item.d.ts +3 -4
- package/lib/actions-menu/actions-menu-confirmation.d.ts +3 -4
- package/lib/actions-menu/actions-menu-item.d.ts +6 -6
- package/lib/actions-menu/actions-menu-item.js +5 -9
- package/lib/actions-menu/actions-menu-item.wyw-in-js.css +2 -1
- package/lib/actions-menu/actions-menu-props.d.ts +2 -3
- package/lib/actions-menu/actions-menu-separator.d.ts +2 -3
- package/lib/actions-menu/actions-menu-sub-command-menu.d.ts +9 -10
- package/lib/actions-menu/actions-menu-sub-menu.d.ts +3 -4
- package/lib/actions-menu/actions-menu-toggle-item.d.ts +3 -4
- package/lib/actions-menu/actions-menu.d.ts +4 -4
- package/lib/actions-menu/async-actions-menu-item.d.ts +2 -3
- package/lib/actions-menu/context-actions-menu.d.ts +3 -3
- package/lib/actions-menu/contexts/actions-menu-context.d.ts +3 -4
- package/lib/actions-menu/contexts/actions-menu-dangerous-rows.d.ts +3 -3
- package/lib/actions-menu/index.d.ts +3 -3
- package/lib/actions-menu/utils/insert-separators.d.ts +2 -3
- package/lib/actions-panel.d.ts +2 -3
- package/lib/animated-height-container.d.ts +2 -3
- package/lib/animations.d.ts +4 -5
- package/lib/antd/ant-modal.d.ts +6 -6
- package/lib/antd/ant-upload.d.ts +7 -7
- package/lib/antd/auto-complete.d.ts +2 -3
- package/lib/antd/get-wrapper.d.ts +2 -3
- package/lib/antd/global-overrides.d.ts +2 -3
- package/lib/antd/global-overrides.wyw-in-js.css +1 -1
- package/lib/antd/index.d.ts +4 -5
- package/lib/antd/input-number.d.ts +2 -3
- package/lib/antd/input.d.ts +9 -9
- package/lib/antd/styles.d.ts +3 -4
- package/lib/antd/tabs.d.ts +3 -4
- package/lib/antd/tabs.wyw-in-js.css +1 -1
- package/lib/antd/utils.d.ts +4 -5
- package/lib/apca.d.ts +9 -10
- package/lib/app-icon-with-fallback.d.ts +5 -5
- package/lib/app-icon-wrapper.d.ts +3 -4
- package/lib/app-icon.d.ts +2 -3
- package/lib/app-mode.d.ts +8 -8
- package/lib/automation-avatar.d.ts +2 -3
- package/lib/autosize-input/number-input.d.ts +7 -0
- package/lib/autosize-input/number-input.js +83 -0
- package/lib/autosize-input/number-input.wyw-in-js.css +2 -0
- package/lib/{number-input → autosize-input}/styles.d.ts +8 -9
- package/lib/{number-input → autosize-input}/styles.js +6 -6
- package/lib/autosize-input/styles.wyw-in-js.css +4 -0
- package/lib/autosize-input/text-area.d.ts +7 -0
- package/lib/autosize-input/text-area.js +42 -0
- package/lib/autosize-input/text-area.wyw-in-js.css +1 -0
- package/lib/autosize-input/text-input.d.ts +8 -0
- package/lib/autosize-input/text-input.js +37 -0
- package/lib/autosize-input/z-stack.d.ts +8 -0
- package/lib/autosize-input/z-stack.js +14 -0
- package/lib/autosize-input/z-stack.wyw-in-js.css +1 -0
- package/lib/avatar-colors.d.ts +6 -7
- package/lib/avatar.d.ts +3 -3
- package/lib/axis-header.d.ts +4 -5
- package/lib/badge.d.ts +3 -4
- package/lib/badge.js +1 -1
- package/lib/badge.wyw-in-js.css +1 -0
- package/lib/banner/banner-action.d.ts +2 -3
- package/lib/banner/banner-context.d.ts +2 -3
- package/lib/banner/banner-variant.d.ts +2 -3
- package/lib/banner/banner.d.ts +3 -4
- package/lib/board-table-loader.d.ts +3 -5
- package/lib/board-table-loader.js +16 -22
- package/lib/box.d.ts +16 -17
- package/lib/breadcrumb.d.ts +7 -8
- package/lib/breakpoints.d.ts +9 -10
- package/lib/button/actions-button-compact.d.ts +2 -3
- package/lib/button/actions-button.d.ts +2 -3
- package/lib/button/add-button.d.ts +2 -3
- package/lib/button/back-button.d.ts +2 -3
- package/lib/button/base-button.d.ts +8 -9
- package/lib/button/button-group.d.ts +4 -5
- package/lib/button/button.d.ts +3 -4
- package/lib/button/button.js +1 -1
- package/lib/button/icon-button.d.ts +5 -6
- package/lib/button/make-button-colors.d.ts +2 -3
- package/lib/button/select-button.d.ts +3 -4
- package/lib/canvas-colors.d.ts +6 -7
- package/lib/card-container.d.ts +13 -14
- package/lib/card-hidden-link.d.ts +2 -3
- package/lib/checkbox.d.ts +11 -9
- package/lib/checkbox.js +13 -6
- package/lib/checkbox.wyw-in-js.css +3 -3
- package/lib/collapsible/index.d.ts +5 -6
- package/lib/collapsible-section.d.ts +2 -3
- package/lib/color-adjuster.d.ts +3 -4
- package/lib/color-filter.d.ts +6 -7
- package/lib/color-inspect.d.ts +3 -4
- package/lib/color-picker/color-picker-or-loader.d.ts +2 -3
- package/lib/color-picker/color-picker-or-loader.js +1 -1
- package/lib/color-picker/index.d.ts +3 -4
- package/lib/color-picker/slider-pointer.d.ts +2 -3
- package/lib/color-picker/swatch.d.ts +2 -3
- package/lib/color-utils.d.ts +13 -13
- package/lib/command-menu/index.d.ts +9 -10
- package/lib/command-menu/nested-command-menu.d.ts +5 -6
- package/lib/command-menu/nested-command-menu.js +2 -1
- package/lib/comment.d.ts +9 -10
- package/lib/context-menu/index.d.ts +15 -16
- package/lib/copy-to-clipboard.d.ts +3 -4
- package/lib/count-badge.d.ts +6 -7
- package/lib/date-picker/autocomplete.d.ts +5 -6
- package/lib/date-picker/constants.d.ts +4 -5
- package/lib/date-picker/contexts.d.ts +2 -3
- package/lib/date-picker/date-range-input.d.ts +4 -4
- package/lib/date-picker/date-range-input.js +1 -1
- package/lib/date-picker/date-range-picker-popup-content.d.ts +3 -4
- package/lib/date-picker/date-range-picker.d.ts +4 -5
- package/lib/date-picker/day-with-start-end-buttons.d.ts +4 -5
- package/lib/date-picker/fake-date-input.d.ts +3 -4
- package/lib/date-picker/get-weekends-for-month.d.ts +2 -3
- package/lib/date-picker/rc-input-types.d.ts +3 -4
- package/lib/date-picker/relative-date-picker.d.ts +2 -3
- package/lib/date-picker/single-date-input.d.ts +4 -4
- package/lib/date-picker/single-date-input.js +1 -1
- package/lib/date-picker/single-date-picker-popup-content.d.ts +2 -3
- package/lib/date-picker/single-date-picker.d.ts +17 -12
- package/lib/date-picker/styles.d.ts +19 -20
- package/lib/date-picker/types.d.ts +18 -14
- package/lib/date-picker/utils.d.ts +12 -12
- package/lib/date-picker/with-popup-control.d.ts +2 -3
- package/lib/date-picker/with-popup-control.js +1 -1
- package/lib/day-select/day-select.d.ts +4 -4
- package/lib/day-select/iso-week-day-select.d.ts +3 -3
- package/lib/day-select/mount-day-select.d.ts +3 -3
- package/lib/day-select/week-day-select.d.ts +5 -5
- package/lib/delayed.d.ts +2 -4
- package/lib/delayed.js +1 -2
- package/lib/design-system/alpha-coefficients.d.ts +3 -4
- package/lib/design-system/alpha.d.ts +7 -8
- package/lib/design-system/animation.d.ts +6 -7
- package/lib/design-system/colors-charts.d.ts +2 -3
- package/lib/design-system/colors-css.d.ts +9 -10
- package/lib/design-system/colors-js.d.ts +4 -5
- package/lib/design-system/colors-swatches.d.ts +3 -4
- package/lib/design-system/colors.d.ts +20 -610
- package/lib/design-system/colors.js +7 -4
- package/lib/design-system/date.d.ts +4 -5
- package/lib/design-system/def.d.ts +4 -5
- package/lib/design-system/fns.d.ts +4 -5
- package/lib/design-system/fns.enum.d.ts +4 -5
- package/lib/design-system/fns.icon.d.ts +5 -6
- package/lib/design-system/layout.d.ts +9 -10
- package/lib/design-system/skeleton.d.ts +5 -6
- package/lib/design-system/theme.d.ts +31 -22
- package/lib/design-system/types.d.ts +15 -16
- package/lib/design-system/typography.d.ts +11 -12
- package/lib/design-system/vars.d.ts +9 -10
- package/lib/dnd.d.ts +4 -5
- package/lib/dom-utils.d.ts +4 -5
- package/lib/dot.d.ts +2 -3
- package/lib/double-apply.d.ts +2 -3
- package/lib/download-file.d.ts +3 -2
- package/lib/dropdown-menu/index.d.ts +13 -14
- package/lib/embed.d.ts +4 -5
- package/lib/emoji-picker/app-icon-picker.d.ts +3 -4
- package/lib/emoji-picker/app-icon-picker.js +2 -1
- package/lib/emoji-picker/emoji-picker-content-with-color.d.ts +4 -5
- package/lib/emoji-picker/emoji-picker-preview-footer.d.ts +2 -3
- package/lib/emoji-picker/emoji-picker.d.ts +4 -5
- package/lib/emoji-picker/emoji.d.ts +3 -4
- package/lib/emoji-picker/icon-emoji-picker.d.ts +3 -4
- package/lib/emoji-picker/primitives/category-label.d.ts +2 -3
- package/lib/emoji-picker/primitives/content.d.ts +4 -5
- package/lib/emoji-picker/primitives/emoji.d.ts +4 -5
- package/lib/emoji-picker/primitives/emoji.wyw-in-js.css +1 -1
- package/lib/emoji-picker/primitives/footer.d.ts +2 -3
- package/lib/emoji-picker/primitives/grid-item.d.ts +3 -4
- package/lib/emoji-picker/primitives/grid.d.ts +4 -5
- package/lib/emoji-picker/primitives/header.d.ts +2 -3
- package/lib/emoji-picker/primitives/layout.d.ts +3 -4
- package/lib/emoji-picker/primitives/preview-provider.d.ts +4 -5
- package/lib/emoji-picker/primitives/render-config-provider.d.ts +2 -2
- package/lib/emoji-picker/primitives/root.d.ts +4 -5
- package/lib/emoji-picker/primitives/search-provider.d.ts +4 -5
- package/lib/emoji-picker/primitives/search.d.ts +5 -6
- package/lib/emoji-picker/primitives/skin-provider.d.ts +4 -5
- package/lib/emoji-picker/primitives/skin-tone.d.ts +3 -4
- package/lib/emoji-picker/stores/emoji-data-store.d.ts +7 -8
- package/lib/emoji-picker/stores/lazy-icon-data-store.d.ts +2 -3
- package/lib/emoji-picker/stores/static-emoji-data-store.d.ts +2 -3
- package/lib/emoji-picker/use-emoji-found.d.ts +2 -3
- package/lib/emoji-picker/use-responsive-emoji-size.d.ts +2 -3
- package/lib/emoji-picker/utils/emoji-set.d.ts +3 -4
- package/lib/emoji-picker/utils/emoji-support.d.ts +2 -3
- package/lib/emoji-picker/utils/frequently.d.ts +3 -4
- package/lib/emoji-picker/utils/load-emoji-data.d.ts +2 -3
- package/lib/emoji-picker/utils/store.d.ts +4 -5
- package/lib/emoji.d.ts +3 -3
- package/lib/empty-state/empty-state-action.d.ts +2 -3
- package/lib/empty-state/empty-state-emoji.d.ts +3 -4
- package/lib/empty-state/empty-state.d.ts +3 -3
- package/lib/empty-state/empty-state.js +7 -6
- package/lib/empty-state/empty-state.wyw-in-js.css +6 -5
- package/lib/empty-value.d.ts +2 -3
- package/lib/errors.d.ts +5 -6
- package/lib/favorites-icon.d.ts +2 -3
- package/lib/fibermoji-placeholder.d.ts +2 -3
- package/lib/fibery-brand-logo.d.ts +3 -4
- package/lib/field-app-icon.d.ts +6 -7
- package/lib/field-container.d.ts +8 -9
- package/lib/field-icon.d.ts +3 -3
- package/lib/field-type-icon.d.ts +1 -0
- package/lib/file-item/add-query-param.d.ts +2 -3
- package/lib/file-item/file-icon.d.ts +4 -5
- package/lib/file-item/file-menu-items.d.ts +2 -3
- package/lib/file-item/file-preview-actions.d.ts +3 -4
- package/lib/file-item/file-title.d.ts +3 -4
- package/lib/file-item/share-file.d.ts +4 -3
- package/lib/file-item/types.d.ts +4 -5
- package/lib/file-item.d.ts +4 -5
- package/lib/file-item.js +1 -0
- package/lib/form-field-loader.d.ts +3 -4
- package/lib/form-utils.d.ts +2 -3
- package/lib/format-date-from-now.d.ts +3 -4
- package/lib/formula-avatar.d.ts +7 -0
- package/lib/formula-avatar.js +31 -0
- package/lib/full-fibery-logo.d.ts +3 -4
- package/lib/guide-link.d.ts +2 -3
- package/lib/header-layout.d.ts +3 -4
- package/lib/header-layout.js +1 -1
- package/lib/highlight-colors.d.ts +8 -9
- package/lib/hint.d.ts +2 -3
- package/lib/hotkey-scope.d.ts +4 -4
- package/lib/hoverable-via-display.d.ts +4 -5
- package/lib/hoverable.d.ts +7 -8
- package/lib/html-styles.d.ts +8 -9
- package/lib/html-styles.wyw-in-js.css +1 -1
- package/lib/icons/ast/ai-fibery-build-dots.d.ts +5 -0
- package/lib/icons/ast/ai-fibery-build-dots.js +24 -0
- package/lib/icons/ast/ai-fibery-build-mark.d.ts +5 -0
- package/lib/icons/ast/ai-fibery-build-mark.js +24 -0
- package/lib/icons/ast/comment-bubble.js +1 -5
- package/lib/icons/ast/comments.js +1 -10
- package/lib/icons/ast/connector.d.ts +5 -0
- package/lib/icons/ast/connector.js +21 -0
- package/lib/icons/ast/index.d.ts +9 -3
- package/lib/icons/ast/index.js +9 -3
- package/lib/icons/ast/layout-ai.d.ts +5 -0
- package/lib/icons/ast/layout-ai.js +21 -0
- package/lib/icons/ast/message-plus.js +1 -6
- package/lib/icons/ast/space-app.js +1 -5
- package/lib/icons/ast/space-generate.js +1 -5
- package/lib/icons/ast/space-scratch.js +1 -5
- package/lib/icons/ast/space-template.js +1 -5
- package/lib/icons/ast/suggest-accept.d.ts +5 -0
- package/lib/icons/ast/suggest-accept.js +21 -0
- package/lib/icons/ast/suggest-comments.d.ts +5 -0
- package/lib/icons/ast/suggest-comments.js +21 -0
- package/lib/icons/ast/suggest-edit.d.ts +5 -0
- package/lib/icons/ast/suggest-edit.js +21 -0
- package/lib/icons/ast/suggest-reject.d.ts +5 -0
- package/lib/icons/ast/suggest-reject.js +21 -0
- package/lib/icons/generate-icon-from-ast.d.ts +3 -3
- package/lib/icons/get-paths.d.ts +2 -3
- package/lib/icons/get-shift-style.d.ts +2 -3
- package/lib/icons/icon.d.ts +5 -6
- package/lib/icons/react/{suggestions-comments.d.ts → ai-fibery-build-dots.d.ts} +4 -4
- package/lib/icons/react/{suggestions-comments.js → ai-fibery-build-dots.js} +6 -6
- package/lib/icons/react/ai-fibery-build-mark.d.ts +15 -0
- package/lib/icons/react/ai-fibery-build-mark.js +21 -0
- package/lib/icons/react/connector.d.ts +15 -0
- package/lib/icons/react/{suggestions.js → connector.js} +6 -6
- package/lib/icons/react/index.d.ts +9 -3
- package/lib/icons/react/index.js +9 -3
- package/lib/icons/react/layout-ai.d.ts +15 -0
- package/lib/icons/react/layout-ai.js +21 -0
- package/lib/icons/react/suggest-accept.d.ts +15 -0
- package/lib/icons/react/suggest-accept.js +21 -0
- package/lib/icons/react/suggest-comments.d.ts +15 -0
- package/lib/icons/react/suggest-comments.js +21 -0
- package/lib/icons/react/{suggestions.d.ts → suggest-edit.d.ts} +4 -4
- package/lib/icons/react/suggest-edit.js +21 -0
- package/lib/icons/react/suggest-reject.d.ts +15 -0
- package/lib/icons/react/suggest-reject.js +21 -0
- package/lib/icons/types.d.ts +5 -6
- package/lib/images-gallery/get-gallery-src.d.ts +2 -3
- package/lib/images-gallery/images-gallery-fall-through-provider.d.ts +3 -4
- package/lib/images-gallery/images-gallery.d.ts +6 -6
- package/lib/images-gallery/slide-buttons.d.ts +3 -4
- package/lib/images-gallery/thumbnails-mime-types-white-list.d.ts +2 -3
- package/lib/images-gallery/zoom.d.ts +3 -4
- package/lib/indicator.d.ts +4 -5
- package/lib/integration-compact-info-button.d.ts +2 -3
- package/lib/integration-compact-info-button.js +4 -4
- package/lib/integration-compact-info-button.wyw-in-js.css +2 -1
- package/lib/is-android.d.ts +2 -3
- package/lib/is-in-popup.d.ts +2 -3
- package/lib/is-ios.d.ts +2 -3
- package/lib/kbd.d.ts +5 -5
- package/lib/layout-styles.d.ts +2 -3
- package/lib/layout-variables.d.ts +3 -4
- package/lib/link-input/components/ant-text-area-with-custom-read-state.d.ts +3 -4
- package/lib/link-input/index.d.ts +7 -8
- package/lib/link-input/utils.d.ts +2 -3
- package/lib/lists/list-row-surface.d.ts +12 -13
- package/lib/loader-gate-start.d.ts +9 -0
- package/lib/loader-gate-start.js +20 -0
- package/lib/loader-gate.d.ts +5 -0
- package/lib/loader-gate.js +8 -0
- package/lib/loader-gate.wyw-in-js.css +1 -0
- package/lib/loaders.d.ts +10 -11
- package/lib/loaders.js +2 -8
- package/lib/logo.d.ts +5 -6
- package/lib/media-query-utils.d.ts +4 -4
- package/lib/memoize.d.ts +2 -3
- package/lib/menu-item-actions.d.ts +2 -3
- package/lib/mobile-app-api.d.ts +19 -0
- package/lib/mobile-app-api.js +0 -0
- package/lib/mobile-drawer.d.ts +3 -4
- package/lib/mobile-keyboard-aware-popup.d.ts +3 -4
- package/lib/mobile-styles.d.ts +11 -12
- package/lib/modal-menu/contexts/modal-menu-context.d.ts +3 -3
- package/lib/modal-menu/contexts/modal-submenu-context.d.ts +2 -2
- package/lib/modal-menu/modal-menu-checkbox-item.d.ts +2 -3
- package/lib/modal-menu/modal-menu-content.d.ts +2 -3
- package/lib/modal-menu/modal-menu-drawer-content.d.ts +2 -3
- package/lib/modal-menu/modal-menu-group.d.ts +2 -3
- package/lib/modal-menu/modal-menu-item.d.ts +2 -3
- package/lib/modal-menu/modal-menu-label.d.ts +2 -3
- package/lib/modal-menu/modal-menu-root.d.ts +3 -4
- package/lib/modal-menu/modal-menu-separator.d.ts +2 -3
- package/lib/modal-menu/modal-menu-trigger.d.ts +2 -3
- package/lib/modal-menu/modal-submenu-content.d.ts +2 -3
- package/lib/modal-menu/modal-submenu-trigger.d.ts +2 -3
- package/lib/modal-menu/modal-submenu.d.ts +2 -3
- package/lib/new-badge.d.ts +2 -3
- package/lib/number-input/decimal.d.ts +5 -6
- package/lib/number-input/edit-unit-styles.d.ts +3 -4
- package/lib/number-input/number-input-inline.d.ts +2 -3
- package/lib/number-input/number-input.d.ts +3 -4
- package/lib/number-input/step-button.d.ts +5 -6
- package/lib/number-input/types.d.ts +4 -5
- package/lib/number-input/utils.d.ts +5 -6
- package/lib/online-users.d.ts +6 -7
- package/lib/online-users.js +1 -1
- package/lib/open-popover-tracker.d.ts +4 -5
- package/lib/palette-generator.d.ts +5 -5
- package/lib/palettes/common.d.ts +2 -3
- package/lib/palettes/neutral-arch.d.ts +2 -3
- package/lib/palettes/neutral-user.d.ts +2 -3
- package/lib/palettes/neutral.d.ts +2 -3
- package/lib/palettes/warm-arch.d.ts +2 -3
- package/lib/palettes/warm-user.d.ts +2 -3
- package/lib/palettes/warm.d.ts +3 -4
- package/lib/phone-media-query.d.ts +4 -5
- package/lib/phone-media-query.js +1 -1
- package/lib/phone.d.ts +6 -5
- package/lib/platform-symbols.d.ts +8 -9
- package/lib/platform.d.ts +4 -5
- package/lib/popover/get-element-ref.d.ts +5 -3
- package/lib/popover/get-element-ref.js +1 -7
- package/lib/popover/index.d.ts +7 -6
- package/lib/popover/mobile-popover-context.d.ts +2 -2
- package/lib/popover/mobile-popover.d.ts +4 -5
- package/lib/popover/modifiers.d.ts +4 -5
- package/lib/popover/popup-modifiers-context.d.ts +2 -3
- package/lib/popover/popup-stack-context.d.ts +3 -3
- package/lib/popover/reference.d.ts +3 -4
- package/lib/popover/styles.d.ts +4 -5
- package/lib/popover/use-click-outside.d.ts +2 -3
- package/lib/preference-setting.d.ts +2 -3
- package/lib/pretty-size.d.ts +2 -3
- package/lib/progress.d.ts +6 -7
- package/lib/random.d.ts +2 -3
- package/lib/reactions/get-word-divider.d.ts +2 -3
- package/lib/reactions/reaction-button.d.ts +4 -4
- package/lib/reactions/reaction-picker.d.ts +3 -4
- package/lib/reactions/reactions.d.ts +2 -3
- package/lib/reactions/tootltip.d.ts +5 -6
- package/lib/ready-to-scroll-context.d.ts +3 -4
- package/lib/rich-input-loader.d.ts +3 -6
- package/lib/rich-input-loader.js +7 -32
- package/lib/rich-text-embed-error.d.ts +3 -4
- package/lib/root-theme-provider.d.ts +3 -4
- package/lib/root-theme-provider.wyw-in-js.css +1 -1
- package/lib/scale-generator.d.ts +17 -18
- package/lib/scroll-fade.d.ts +2 -3
- package/lib/select/components/clear-indicator.d.ts +3 -4
- package/lib/select/components/drop-down-indicator.d.ts +4 -4
- package/lib/select/components/group-heading.d.ts +4 -5
- package/lib/select/components/menu-list-virtua.d.ts +2 -3
- package/lib/select/components/menu-list-virtua.js +8 -2
- package/lib/select/components/menu-list-virtualized.d.ts +2 -3
- package/lib/select/components/menu-list-virtualized.js +9 -3
- package/lib/select/components/menu.d.ts +7 -8
- package/lib/select/components/no-option-message.d.ts +3 -3
- package/lib/select/components/option.d.ts +5 -6
- package/lib/select/constants.d.ts +2 -3
- package/lib/select/index.d.ts +4 -4
- package/lib/select/reflection.d.ts +3 -4
- package/lib/select/select-control-settings-context.d.ts +6 -7
- package/lib/select/select-in-popover.d.ts +7 -8
- package/lib/select/select-loader.d.ts +2 -3
- package/lib/select/select-loader.js +1 -4
- package/lib/select/select-mock-context.d.ts +2 -3
- package/lib/select/select-trigger.d.ts +2 -3
- package/lib/select/select.d.ts +7 -7
- package/lib/select/styles.d.ts +8 -9
- package/lib/select/util.d.ts +6 -7
- package/lib/sidebar/sidebar-handle.d.ts +2 -3
- package/lib/sidebar/sidebar.d.ts +9 -8
- package/lib/sidebar/sidebar.js +8 -2
- package/lib/sidebar/sidebar.wyw-in-js.css +1 -1
- package/lib/sidebar/use-resize-drag.d.ts +3 -4
- package/lib/skeleton-card.d.ts +3 -4
- package/lib/skeleton-entity-box.d.ts +6 -0
- package/lib/skeleton-entity-box.js +16 -0
- package/lib/skeleton-entity-box.wyw-in-js.css +1 -0
- package/lib/skeleton.d.ts +33 -18
- package/lib/skeleton.js +45 -22
- package/lib/skeleton.wyw-in-js.css +4 -5
- package/lib/spinner-box.d.ts +6 -6
- package/lib/spinner-box.js +9 -2
- package/lib/spinner.d.ts +5 -4
- package/lib/spinner.js +12 -16
- package/lib/spinner.wyw-in-js.css +6 -2
- package/lib/static-palettes.d.ts +3 -4
- package/lib/styles-utils.d.ts +3 -4
- package/lib/tab-nav/tab-nav.d.ts +8 -9
- package/lib/table.d.ts +8 -9
- package/lib/thematic-color-picker.d.ts +8 -9
- package/lib/thematic-constants.d.ts +5 -6
- package/lib/thematic-controls.d.ts +15 -16
- package/lib/thematic-cvd.d.ts +3 -4
- package/lib/thematic-highlights.d.ts +3 -4
- package/lib/thematic-scales.d.ts +8 -9
- package/lib/thematic-state.d.ts +4 -5
- package/lib/thematic-swatch-adjust.d.ts +3 -4
- package/lib/thematic.d.ts +2 -3
- package/lib/theme-bootstrap.d.ts +10 -11
- package/lib/theme-provider.d.ts +24 -23
- package/lib/theme-settings-core.d.ts +12 -12
- package/lib/theme-settings.d.ts +3 -3
- package/lib/theme-styles.d.ts +3 -4
- package/lib/theme.js +1 -2
- package/lib/theming.build.d.ts +3 -4
- package/lib/theming.generated.d.ts +34 -25
- package/lib/theming.generated.js +25 -15
- package/lib/toast/primitives.d.ts +6 -7
- package/lib/toast/toast-action.d.ts +4 -6
- package/lib/toast/toast-provider.d.ts +3 -4
- package/lib/toast/toast-queue.d.ts +4 -5
- package/lib/toast/toast.d.ts +3 -4
- package/lib/toast/toast.js +1 -1
- package/lib/toast/toast.wyw-in-js.css +2 -2
- package/lib/toast/toaster.d.ts +2 -3
- package/lib/toast/utils/toastify-item-name.d.ts +3 -4
- package/lib/toggle-button/round-toggle-button.d.ts +2 -3
- package/lib/toggle-button/toggle-button-group.d.ts +4 -5
- package/lib/toggle-button/toggle-button.d.ts +10 -11
- package/lib/toggle-button/toggle-button.js +1 -1
- package/lib/toggle-on-off.d.ts +2 -3
- package/lib/toggle.d.ts +3 -4
- package/lib/toggle.js +7 -3
- package/lib/toggle.wyw-in-js.css +6 -5
- package/lib/tooltip-if-overflown.d.ts +4 -4
- package/lib/tooltip.d.ts +11 -12
- package/lib/tree-utils.d.ts +13 -14
- package/lib/type-badge-box.d.ts +2 -3
- package/lib/type-badge.d.ts +7 -8
- package/lib/type-label.d.ts +2 -3
- package/lib/unit/as-string.d.ts +2 -3
- package/lib/unit/container.d.ts +3 -4
- package/lib/unit/context.d.ts +7 -8
- package/lib/unit/labeled-unit.d.ts +5 -6
- package/lib/unit/loading-unit-value.d.ts +3 -4
- package/lib/unit/maybe-unit-value.d.ts +2 -3
- package/lib/unit/nav-button.d.ts +4 -5
- package/lib/unit/styles.d.ts +14 -15
- package/lib/unit/unit-content-layout.d.ts +3 -4
- package/lib/unit/unit-content.d.ts +2 -3
- package/lib/unit/unit.d.ts +5 -5
- package/lib/use-is-media-query-matched.d.ts +2 -3
- package/lib/use-is-phone.d.ts +3 -3
- package/lib/use-is-support-hardware-keyboard.d.ts +2 -3
- package/lib/use-is-support-hover.d.ts +2 -3
- package/lib/use-long-press.d.ts +3 -4
- package/lib/use-long-press.js +2 -2
- package/lib/use-me.d.ts +1 -1
- package/lib/use-navigation.d.ts +1 -1
- package/lib/use-on-screen-keyboard-data.d.ts +3 -3
- package/package.json +12 -12
- package/lib/ai/max-tokens.d.ts +0 -11
- package/lib/ai/max-tokens.js +0 -25
- package/lib/ai/max-tokens.wyw-in-js.css +0 -1
- package/lib/ai/temperature.d.ts +0 -8
- package/lib/ai/temperature.js +0 -51
- package/lib/ai/temperature.wyw-in-js.css +0 -1
- package/lib/icons/ast/suggestions-comments.d.ts +0 -5
- package/lib/icons/ast/suggestions-comments.js +0 -39
- package/lib/icons/ast/suggestions.d.ts +0 -5
- package/lib/icons/ast/suggestions.js +0 -30
- package/lib/number-input/number-input-inline-with-autosize.d.ts +0 -9
- package/lib/number-input/number-input-inline-with-autosize.js +0 -93
- package/lib/number-input/number-input-inline-with-autosize.wyw-in-js.css +0 -2
- package/lib/number-input/stack.d.ts +0 -10
- package/lib/number-input/stack.js +0 -14
- package/lib/number-input/stack.wyw-in-js.css +0 -1
- package/lib/number-input/styles.wyw-in-js.css +0 -4
- package/lib/number-input/text-area-auto-sized.d.ts +0 -9
- package/lib/number-input/text-area-auto-sized.js +0 -38
- package/lib/number-input/text-area-auto-sized.wyw-in-js.css +0 -1
- package/lib/number-input/text-input-auto-sized.d.ts +0 -10
- package/lib/number-input/text-input-auto-sized.js +0 -37
package/lib/antd/tabs.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/antd/tabs.d.ts
|
|
2
|
-
declare const tabsStyles: import("@linaria/core").LinariaClassName;
|
|
3
|
-
declare const AntTabs: import("react").FC<Omit<Omit<import("rc-tabs").TabsProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const tabsStyles: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const AntTabs: import("react").FC<Omit<Omit<import("rc-tabs").TabsProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4
4
|
bypassedRef?: import("react").ForwardedRef<HTMLDivElement> | undefined;
|
|
5
5
|
wrapClassName?: string;
|
|
6
6
|
}>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { AntTabs, tabsStyles };
|
|
7
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.trzghcq-tabs{width:100%;}:where(.trzghcq-tabs) .ant-tabs{box-sizing:border-box;display:flex;overflow:visible;width:100%;}:where(.trzghcq-tabs) .ant-tabs-top,:where(.trzghcq-tabs) .ant-tabs-bottom{flex-direction:column;}:where(.trzghcq-tabs) .ant-tabs-nav{display:flex;flex:none;align-items:center;margin:0;width:100%;position:relative;}:where(.trzghcq-tabs) .ant-tabs-nav::before{position:absolute;right:0;bottom:0;left:0;border-bottom:var(--borderSolidFilterGroup);content:'';}:where(.trzghcq-tabs) .ant-tabs-nav-wrap{display:flex;flex:auto;overflow:hidden;white-space:nowrap;position:relative;align-self:stretch;transform:translate(0);margin-bottom:1px;margin-left:12px;margin-right:12px;}:where(.trzghcq-tabs) .ant-tabs-nav-wrap::before,:where(.trzghcq-tabs) .ant-tabs-nav-wrap::after{position:absolute;z-index:1;opacity:0;transition:opacity 300ms ease-in-out;content:'';pointer-events:none;}:where(.trzghcq-tabs) .ant-tabs-nav-list{position:relative;display:flex;transition:transform 200ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-nav-operations{display:flex;align-self:stretch;}:where(.trzghcq-tabs) .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none;}:where(.trzghcq-tabs) .ant-tabs-nav-more{position:relative;padding:8px 16px;background-color:var(--transparent);border:0;}:where(.trzghcq-tabs) .ant-tabs-nav-more::after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:'';}:where(.trzghcq-tabs) .ant-tabs-extra-content{flex:none;}:where(.trzghcq-tabs) .ant-tabs-centered .ant-tabs-nav-wrap:not([class*='ant-tabs-nav-wrap-ping']){justify-content:center;}:where(.trzghcq-tabs) .ant-tabs-ink-bar{position:absolute;bottom:0;background-color:var(--colorAccent);height:2px;pointer-events:none;transition:left 120ms ease-in-out,right 120ms ease-in-out,width 120ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-tab,:where(.trzghcq-tabs) .ant-tabs-tab:hover,:where(.trzghcq-tabs) .ant-tabs-tab-btn:active,:where(.trzghcq-tabs) .ant-tabs-tabpane,:where(.trzghcq-tabs) .ant-tabs-tab-active .ant-tabs-tab-btn{font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:14px;line-height:1.5;font-weight:410;color:var(--textColor);text-transform:none;letter-spacing:normal;text-shadow:none;}:where(.trzghcq-tabs) .ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:12px 12px;margin:0 8px 0 0;cursor:pointer;outline:none;}:where(.trzghcq-tabs) .ant-tabs-tab+.ant-tabs-tab{margin:0 8px 0 0;}:where(.trzghcq-tabs) .ant-tabs-tab-btn{outline:none;transition:all 300ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--colorAccent);}:where(.trzghcq-tabs) .ant-tabs-content-holder{flex:auto;min-width:0;min-height:0;}:where(.trzghcq-tabs) .ant-tabs-content{position:relative;display:flex;width:100%;}:where(.trzghcq-tabs) .ant-tabs-tabpane{flex:none;width:100%;outline:none;}:where(.trzghcq-tabs) .ant-tabs-tabpane-hidden{display:none;}:where(.trzghcq-tabs) .ant-tabs-switch-appear,:where(.trzghcq-tabs) .ant-tabs-switch-enter{transition:none;}:where(.trzghcq-tabs) .ant-tabs-switch-appear-start,:where(.trzghcq-tabs) .ant-tabs-switch-enter-start{opacity:0;}:where(.trzghcq-tabs) .ant-tabs-switch-appear-active,:where(.trzghcq-tabs) .ant-tabs-switch-enter-active{opacity:1;transition:opacity 300ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-switch-leave{position:absolute;inset:0;transition:none;}:where(.trzghcq-tabs) .ant-tabs-switch-leave-start{opacity:1;}:where(.trzghcq-tabs) .ant-tabs-switch-leave-active{opacity:0;transition:opacity 300ms ease-in-out;}
|
|
1
|
+
.trzghcq-tabs{width:100%;}:where(.trzghcq-tabs) .ant-tabs{box-sizing:border-box;display:flex;overflow:visible;width:100%;}:where(.trzghcq-tabs) .ant-tabs-top,:where(.trzghcq-tabs) .ant-tabs-bottom{flex-direction:column;}:where(.trzghcq-tabs) .ant-tabs-nav{display:flex;flex:none;align-items:center;margin:0;width:100%;position:relative;}:where(.trzghcq-tabs) .ant-tabs-nav::before{position:absolute;right:0;bottom:0;left:0;border-bottom:var(--borderSolidFilterGroup);content:'';}:where(.trzghcq-tabs) .ant-tabs-nav-wrap{display:flex;flex:auto;overflow:hidden;white-space:nowrap;position:relative;align-self:stretch;transform:translate(0);margin-bottom:1px;margin-left:12px;margin-right:12px;}:where(.trzghcq-tabs) .ant-tabs-nav-wrap::before,:where(.trzghcq-tabs) .ant-tabs-nav-wrap::after{position:absolute;z-index:1;opacity:0;transition:opacity 300ms ease-in-out;content:'';pointer-events:none;}:where(.trzghcq-tabs) .ant-tabs-nav-list{position:relative;display:flex;transition:transform 200ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-nav-operations{display:flex;align-self:stretch;}:where(.trzghcq-tabs) .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none;}:where(.trzghcq-tabs) .ant-tabs-nav-more{position:relative;padding:8px 16px;background-color:var(--transparent);border:0;}:where(.trzghcq-tabs) .ant-tabs-nav-more::after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:'';}:where(.trzghcq-tabs) .ant-tabs-extra-content{flex:none;}:where(.trzghcq-tabs) .ant-tabs-centered .ant-tabs-nav-wrap:not([class*='ant-tabs-nav-wrap-ping']){justify-content:center;}:where(.trzghcq-tabs) .ant-tabs-ink-bar{position:absolute;bottom:0;background-color:var(--colorAccent);height:2px;pointer-events:none;transition:left 120ms ease-in-out,right 120ms ease-in-out,width 120ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-tab,:where(.trzghcq-tabs) .ant-tabs-tab:hover,:where(.trzghcq-tabs) .ant-tabs-tab-btn:active,:where(.trzghcq-tabs) .ant-tabs-tabpane,:where(.trzghcq-tabs) .ant-tabs-tab-active .ant-tabs-tab-btn{font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:14px;line-height:1.5;font-weight:410;color:var(--textColor);text-transform:none;letter-spacing:normal;text-shadow:none;}:where(.trzghcq-tabs) .ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:12px 12px;margin:0 8px 0 0;cursor:pointer;outline:none;}:where(.trzghcq-tabs) .ant-tabs-tab+.ant-tabs-tab{margin:0 8px 0 0;}:where(.trzghcq-tabs) .ant-tabs-tab-btn{outline:none;transition:all 300ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-tab-btn:focus-visible{outline:2px solid var(--colorBorderNeutralFocusRing);}:where(.trzghcq-tabs) .ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--colorAccent);}:where(.trzghcq-tabs) .ant-tabs-content-holder{flex:auto;min-width:0;min-height:0;}:where(.trzghcq-tabs) .ant-tabs-content{position:relative;display:flex;width:100%;}:where(.trzghcq-tabs) .ant-tabs-tabpane{flex:none;width:100%;outline:none;}:where(.trzghcq-tabs) .ant-tabs-tabpane-hidden{display:none;}:where(.trzghcq-tabs) .ant-tabs-switch-appear,:where(.trzghcq-tabs) .ant-tabs-switch-enter{transition:none;}:where(.trzghcq-tabs) .ant-tabs-switch-appear-start,:where(.trzghcq-tabs) .ant-tabs-switch-enter-start{opacity:0;}:where(.trzghcq-tabs) .ant-tabs-switch-appear-active,:where(.trzghcq-tabs) .ant-tabs-switch-enter-active{opacity:1;transition:opacity 300ms ease-in-out;}:where(.trzghcq-tabs) .ant-tabs-switch-leave{position:absolute;inset:0;transition:none;}:where(.trzghcq-tabs) .ant-tabs-switch-leave-start{opacity:1;}:where(.trzghcq-tabs) .ant-tabs-switch-leave-active{opacity:0;transition:opacity 300ms ease-in-out;}
|
package/lib/antd/utils.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ElementType } from "react";
|
|
2
2
|
//#region src/antd/utils.d.ts
|
|
3
|
-
declare const wrapWith: <C extends React.ElementType>(WrapperComponent: ElementType, Component: C) => React.FC<React.ComponentPropsWithoutRef<C> & {
|
|
4
|
-
bypassedRef?: React.ForwardedRef<React.
|
|
3
|
+
export declare const wrapWith: <C extends React.ElementType>(WrapperComponent: ElementType, Component: C) => React.FC<React.ComponentPropsWithoutRef<C> & {
|
|
4
|
+
bypassedRef?: React.ForwardedRef<React.ComponentRef<C>>;
|
|
5
5
|
wrapClassName?: string;
|
|
6
6
|
}>;
|
|
7
|
-
declare const wrapWithPopupContainer: <C extends React.ElementType>(Wrapper: ElementType, WrappedComponent: C) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<Omit<import("react").PropsWithoutRef<import("react").ComponentProps<C>>, "getPopupContainer">> & import("react").RefAttributes<import("react").
|
|
8
|
-
//#endregion
|
|
9
|
-
export { wrapWith, wrapWithPopupContainer };
|
|
7
|
+
export declare const wrapWithPopupContainer: <C extends React.ElementType>(Wrapper: ElementType, WrappedComponent: C) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<Omit<import("react").PropsWithoutRef<import("react").ComponentProps<C>>, "getPopupContainer">> & import("react").RefAttributes<import("react").ComponentRef<C>>>;
|
|
8
|
+
//#endregion
|
package/lib/apca.d.ts
CHANGED
|
@@ -12,25 +12,24 @@
|
|
|
12
12
|
* separate bridge logic needed.
|
|
13
13
|
*/
|
|
14
14
|
/** APCA Lc with polarity. Use for target recipes and diagnostics. */
|
|
15
|
-
declare function calcLc(fg: string, bg: string): number;
|
|
15
|
+
export declare function calcLc(fg: string, bg: string): number;
|
|
16
16
|
/** Pick black or white — whichever has the higher APCA (Lc) contrast against `bg`. */
|
|
17
|
-
declare function blackOrWhiteFor(bg: string): "#000" | "#FFF";
|
|
18
|
-
declare function lightnessFromLc(surface: string, Lc: number, c: number, hue?: number): number;
|
|
19
|
-
declare function solveNearIdentity(f: (x: number) => number, target: number, { damp, refineThreshold }?: {
|
|
17
|
+
export declare function blackOrWhiteFor(bg: string): "#000" | "#FFF";
|
|
18
|
+
export declare function lightnessFromLc(surface: string, Lc: number, c: number, hue?: number): number;
|
|
19
|
+
export declare function solveNearIdentity(f: (x: number) => number, target: number, { damp, refineThreshold }?: {
|
|
20
20
|
damp?: number;
|
|
21
21
|
refineThreshold?: number;
|
|
22
22
|
}): number;
|
|
23
|
-
declare function colorFromLc(surfaceColor: string, Lc: number, c: number, hue: number, referenceC?: number): string;
|
|
23
|
+
export declare function colorFromLc(surfaceColor: string, Lc: number, c: number, hue: number, referenceC?: number): string;
|
|
24
24
|
/**
|
|
25
25
|
* Setter that re-applies `deneutralizeFn` after each Newton step. Use when the
|
|
26
26
|
* downstream pipeline shifts the color (e.g. dark-mode deneutralization)
|
|
27
27
|
* because plain {@link colorFromLc} would otherwise warp the L we just solved
|
|
28
28
|
* for. Converges in 2-3 secant/Newton evals.
|
|
29
29
|
*/
|
|
30
|
-
declare function colorFromLcCompensated(anchor: string, targetLc: number, c: number, hue: number, deneutralizeFn: (s: string) => string, referenceC?: number): string;
|
|
30
|
+
export declare function colorFromLcCompensated(anchor: string, targetLc: number, c: number, hue: number, deneutralizeFn: (s: string) => string, referenceC?: number): string;
|
|
31
31
|
/** Adjust only OKLCH lightness so `color` reaches `targetLc` against `surface`, preserving its chroma + hue. */
|
|
32
|
-
declare function liftLightnessToLc(color: string, surface: string, targetLc: number): string;
|
|
32
|
+
export declare function liftLightnessToLc(color: string, surface: string, targetLc: number): string;
|
|
33
33
|
/** Pass-through when `color` already clears `targetLc` against `surface`; otherwise {@link liftLightnessToLc}. */
|
|
34
|
-
declare function ensureLcFloor(color: string, surface: string, targetLc: number): string;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { blackOrWhiteFor, calcLc, colorFromLc, colorFromLcCompensated, ensureLcFloor, liftLightnessToLc, lightnessFromLc, solveNearIdentity };
|
|
34
|
+
export declare function ensureLcFloor(color: string, surface: string, targetLc: number): string;
|
|
35
|
+
//#endregion
|
|
@@ -10,18 +10,18 @@ type AppIcon = {
|
|
|
10
10
|
imageUrl: string;
|
|
11
11
|
file: string;
|
|
12
12
|
};
|
|
13
|
-
declare const IconLoader: FC<{
|
|
13
|
+
export declare const IconLoader: FC<{
|
|
14
14
|
containerSize?: number;
|
|
15
15
|
}>;
|
|
16
|
-
declare function getImageUrl(emoji: AppIcon): string | null;
|
|
17
|
-
interface AppIconWithFallbackProps {
|
|
16
|
+
export declare function getImageUrl(emoji: AppIcon): string | null;
|
|
17
|
+
export interface AppIconWithFallbackProps {
|
|
18
18
|
name: string;
|
|
19
19
|
color?: string | null;
|
|
20
20
|
colorProcessed?: boolean;
|
|
21
21
|
iconSize?: number;
|
|
22
22
|
containerSize?: number;
|
|
23
23
|
}
|
|
24
|
-
declare const AppIconWithFallback: FC<AppIconWithFallbackProps>;
|
|
24
|
+
export declare const AppIconWithFallback: FC<AppIconWithFallbackProps>;
|
|
25
25
|
interface AppIconProps {
|
|
26
26
|
icon: string;
|
|
27
27
|
color: string;
|
|
@@ -31,4 +31,4 @@ interface AppIconProps {
|
|
|
31
31
|
}
|
|
32
32
|
declare const AppIcon: FC<AppIconProps>;
|
|
33
33
|
//#endregion
|
|
34
|
-
export { AppIcon
|
|
34
|
+
export { AppIcon };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/app-icon-wrapper.d.ts
|
|
3
|
-
declare const AppIconWrapper: ({ children, color, borderless, ...rest }: {
|
|
3
|
+
export declare const AppIconWrapper: ({ children, color, borderless, ...rest }: {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
color: string;
|
|
6
6
|
borderless?: boolean;
|
|
7
7
|
containerSize?: number;
|
|
8
|
-
}) => import("react
|
|
9
|
-
//#endregion
|
|
10
|
-
export { AppIconWrapper };
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
package/lib/app-icon.d.ts
CHANGED
package/lib/app-mode.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { JSX } from "react";
|
|
1
2
|
//#region src/app-mode.d.ts
|
|
2
|
-
declare const appModes: {
|
|
3
|
+
export declare const appModes: {
|
|
3
4
|
readonly l: 3;
|
|
4
5
|
readonly xl: 4;
|
|
5
6
|
};
|
|
6
|
-
type AppMode = 3 | 4;
|
|
7
|
-
declare const lQuery = "(max-width: 1024px)";
|
|
8
|
-
declare function getCurrentAppMode(): AppMode;
|
|
9
|
-
declare function useAppMode(): AppMode;
|
|
10
|
-
declare function AppModeProvider({ children }: {
|
|
7
|
+
export type AppMode = 3 | 4;
|
|
8
|
+
export declare const lQuery = "(max-width: 1024px)";
|
|
9
|
+
export declare function getCurrentAppMode(): AppMode;
|
|
10
|
+
export declare function useAppMode(): AppMode;
|
|
11
|
+
export declare function AppModeProvider({ children }: {
|
|
11
12
|
children: React.ReactNode;
|
|
12
13
|
}): JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { AppMode, AppModeProvider, appModes, getCurrentAppMode, lQuery, useAppMode };
|
|
14
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { FC } from "react";
|
|
|
3
3
|
interface AutomationAvatarProps {
|
|
4
4
|
size?: number;
|
|
5
5
|
}
|
|
6
|
-
declare const AutomationAvatar: FC<AutomationAvatarProps>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { AutomationAvatar };
|
|
6
|
+
export declare const AutomationAvatar: FC<AutomationAvatarProps>;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NumberInputProps } from "../number-input/types.js";
|
|
2
|
+
//#region src/autosize-input/number-input.d.ts
|
|
3
|
+
type Props = NumberInputProps & {
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const AutosizeNumberInput: ({ value, numberFormat, numberPrecision, format, autoFocus, placeholder, invalid, onFocus, onBlur, onChange, onKeyDown, ...rest }: Props) => import("react").JSX.Element;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import "./number-input.wyw-in-js.css";
|
|
2
|
+
import { add, sub } from "../number-input/decimal.js";
|
|
3
|
+
import { formatValue, getStep, isEmpty, parseValue } from "../number-input/utils.js";
|
|
4
|
+
import { StepButton, ValueWithStepperWrapper } from "../number-input/step-button.js";
|
|
5
|
+
import { ZStack } from "./z-stack.js";
|
|
6
|
+
import { hiddenCss, inputCss, textInlineCss } from "./styles.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { identity } from "@fibery/helpers/src/_";
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { useCallback, useMemo, useRef, useState } from "react";
|
|
12
|
+
import { composeEventHandlers } from "@fibery/react/src/compose-event-handlers";
|
|
13
|
+
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
14
|
+
import InputNumber from "rc-input-number";
|
|
15
|
+
//#region src/autosize-input/number-input.tsx
|
|
16
|
+
var invalidCss = "i1211kab-invalid";
|
|
17
|
+
var rootCss = "r1uj2mqz-root";
|
|
18
|
+
var Sizer = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
19
|
+
className: cx(inputCss, textInlineCss, hiddenCss),
|
|
20
|
+
children: jsx(ValueWithStepperWrapper, { children })
|
|
21
|
+
});
|
|
22
|
+
var AutosizeNumberInput = ({ value, numberFormat, numberPrecision, format = identity, autoFocus, placeholder, invalid, onFocus, onBlur, onChange = () => {}, onKeyDown, ...rest }) => {
|
|
23
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
24
|
+
const handleFocus = composeEventHandlers(onFocus, () => setIsEditing(true));
|
|
25
|
+
const handleBlur = composeEventHandlers(onBlur, () => setIsEditing(false));
|
|
26
|
+
const inputRef = useRef(null);
|
|
27
|
+
const handleChange = useCallback((value) => {
|
|
28
|
+
onChange(parseValue(value, numberFormat, numberPrecision));
|
|
29
|
+
}, [
|
|
30
|
+
onChange,
|
|
31
|
+
numberFormat,
|
|
32
|
+
numberPrecision
|
|
33
|
+
]);
|
|
34
|
+
const handleStep = useCallback((newValue, { type }) => {
|
|
35
|
+
inputRef.current?.focus();
|
|
36
|
+
const step = getStep(numberFormat);
|
|
37
|
+
onChange(type === "up" ? add(value, step) : sub(value, step));
|
|
38
|
+
}, [
|
|
39
|
+
numberFormat,
|
|
40
|
+
onChange,
|
|
41
|
+
value
|
|
42
|
+
]);
|
|
43
|
+
const formattedValue = useMemo(() => {
|
|
44
|
+
return formatValue(value, isEditing, numberFormat, format);
|
|
45
|
+
}, [
|
|
46
|
+
value,
|
|
47
|
+
isEditing,
|
|
48
|
+
numberFormat,
|
|
49
|
+
format
|
|
50
|
+
]);
|
|
51
|
+
const [initialValue] = useState(formattedValue);
|
|
52
|
+
return /* @__PURE__ */ jsxs(ZStack, { children: [
|
|
53
|
+
/* @__PURE__ */ jsx(Sizer, { children: isEmpty(initialValue) ? placeholder : initialValue }),
|
|
54
|
+
/* @__PURE__ */ jsx(Sizer, { children: formattedValue }),
|
|
55
|
+
/* @__PURE__ */ jsx(InputNumber, {
|
|
56
|
+
size: 1,
|
|
57
|
+
autoFocus,
|
|
58
|
+
ref: inputRef,
|
|
59
|
+
value: formattedValue,
|
|
60
|
+
onFocus: handleFocus,
|
|
61
|
+
onBlur: handleBlur,
|
|
62
|
+
onChange: handleChange,
|
|
63
|
+
onKeyDown,
|
|
64
|
+
type: "text",
|
|
65
|
+
placeholder,
|
|
66
|
+
upHandler: /* @__PURE__ */ jsx(StepButton, {
|
|
67
|
+
className: "step-button",
|
|
68
|
+
type: "up"
|
|
69
|
+
}),
|
|
70
|
+
downHandler: /* @__PURE__ */ jsx(StepButton, {
|
|
71
|
+
className: "step-button",
|
|
72
|
+
type: "down"
|
|
73
|
+
}),
|
|
74
|
+
onStep: handleStep,
|
|
75
|
+
onClick: stopPropagation,
|
|
76
|
+
wheel: false,
|
|
77
|
+
...rest,
|
|
78
|
+
className: cx(rootCss, invalid && invalidCss)
|
|
79
|
+
})
|
|
80
|
+
] });
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
export { AutosizeNumberInput };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
.r1uj2mqz-root{position:relative;min-width:36px;}.r1uj2mqz-root input{position:relative;background-color:var(--inputBgColor);border:none;box-shadow:inset 0 0 0 1px var(--separatorColorDimmed);border-radius:6px;font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:12px;line-height:20px;font-weight:410;color:var(--textColor);text-transform:none;padding:2px 6px;margin:0;outline:none;text-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}.r1uj2mqz-root input::placeholder{color:var(--inputPlaceholderTextColor);}.r1uj2mqz-root input:focus{box-shadow:0 0 0 1px var(--colorAccentStrokeFocus) inset,0 0 0 2px var(--colorAccentStroke);}.r1uj2mqz-root .rc-input-number-input-wrap{display:grid;}.r1uj2mqz-root .step-button{z-index:1;}.r1uj2mqz-root.i1211kab-invalid input{box-shadow:var(--inputBorderWarningColor) inset;}.r1uj2mqz-root.i1211kab-invalid input:hover{box-shadow:var(--inputBorderWarningColor) inset;}.r1uj2mqz-root.i1211kab-invalid input:focus{box-shadow:var(--inputBorderWarningColor) inset;}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//#region src/
|
|
2
|
-
declare const hiddenCss: import("@linaria/core").LinariaClassName;
|
|
3
|
-
declare const inputStyle: {
|
|
1
|
+
//#region src/autosize-input/styles.d.ts
|
|
2
|
+
export declare const hiddenCss: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const inputStyle: {
|
|
4
4
|
fontFamily: "\"Inter Variable\", \"SF Pro Display\", -apple-system, BlinkMacSystemFont, \"Segoe UI Variable Display\", \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif";
|
|
5
5
|
fontSize: 12;
|
|
6
6
|
fontWeight: 410;
|
|
@@ -22,14 +22,13 @@ declare const inputStyle: {
|
|
|
22
22
|
boxShadow: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
declare const inputCss: import("@linaria/core").LinariaClassName;
|
|
26
|
-
declare const textInlineStyle: {
|
|
25
|
+
export declare const inputCss: import("@linaria/core").LinariaClassName;
|
|
26
|
+
export declare const textInlineStyle: {
|
|
27
27
|
textWrap: string;
|
|
28
28
|
textOverflow: string;
|
|
29
29
|
whiteSpace: string;
|
|
30
30
|
overflow: string;
|
|
31
31
|
};
|
|
32
|
-
declare const textInlineCss: import("@linaria/core").LinariaClassName;
|
|
33
|
-
declare const textAreaCss: import("@linaria/core").LinariaClassName;
|
|
34
|
-
//#endregion
|
|
35
|
-
export { hiddenCss, inputCss, inputStyle, textAreaCss, textInlineCss, textInlineStyle };
|
|
32
|
+
export declare const textInlineCss: import("@linaria/core").LinariaClassName;
|
|
33
|
+
export declare const textAreaCss: import("@linaria/core").LinariaClassName;
|
|
34
|
+
//#endregion
|
|
@@ -3,8 +3,8 @@ import { themeVars } from "../theming.generated.js";
|
|
|
3
3
|
import { border, space } from "../design-system/layout.js";
|
|
4
4
|
import { textStyles } from "../design-system/typography.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
//#region src/
|
|
7
|
-
var hiddenCss = "
|
|
6
|
+
//#region src/autosize-input/styles.ts
|
|
7
|
+
var hiddenCss = "h1v10u0p-hidden";
|
|
8
8
|
var inputStyle = {
|
|
9
9
|
position: "relative",
|
|
10
10
|
backgroundColor: themeVars.inputBgColor,
|
|
@@ -17,16 +17,16 @@ var inputStyle = {
|
|
|
17
17
|
outline: "none",
|
|
18
18
|
lineHeight: `20px`,
|
|
19
19
|
"&::placeholder": { color: themeVars.inputPlaceholderTextColor },
|
|
20
|
-
"&:focus": { boxShadow:
|
|
20
|
+
"&:focus": { boxShadow: `0 0 0 1px ${themeVars.colorAccentStrokeFocus} inset, 0 0 0 2px ${themeVars.colorAccentStroke}` }
|
|
21
21
|
};
|
|
22
|
-
var inputCss = "
|
|
22
|
+
var inputCss = "i1s3ut29-input";
|
|
23
23
|
var textInlineStyle = {
|
|
24
24
|
textWrap: "normal",
|
|
25
25
|
textOverflow: "ellipsis",
|
|
26
26
|
whiteSpace: "nowrap",
|
|
27
27
|
overflow: "hidden"
|
|
28
28
|
};
|
|
29
|
-
var textInlineCss = "
|
|
30
|
-
var textAreaCss = "
|
|
29
|
+
var textInlineCss = "t16hao54-textInline";
|
|
30
|
+
var textAreaCss = "t12tg1em-textArea";
|
|
31
31
|
//#endregion
|
|
32
32
|
export { hiddenCss, inputCss, inputStyle, textAreaCss, textInlineCss, textInlineStyle };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
.h1v10u0p-hidden{visibility:hidden;}
|
|
2
|
+
.i1s3ut29-input{position:relative;background-color:var(--inputBgColor);border:none;box-shadow:inset 0 0 0 1px var(--separatorColorDimmed);border-radius:6px;font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:12px;line-height:20px;font-weight:410;color:var(--textColor);text-transform:none;padding:2px 6px;margin:0;outline:none;}.i1s3ut29-input::placeholder{color:var(--inputPlaceholderTextColor);}.i1s3ut29-input:focus{box-shadow:0 0 0 1px var(--colorAccentStrokeFocus) inset,0 0 0 2px var(--colorAccentStroke);}
|
|
3
|
+
.t16hao54-textInline{text-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
|
|
4
|
+
.t12tg1em-textArea{display:block;resize:none;white-space:pre-wrap;overflow:hidden;}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/autosize-input/text-area.d.ts
|
|
2
|
+
type Props = {
|
|
3
|
+
invalid?: boolean;
|
|
4
|
+
autoSelect?: boolean;
|
|
5
|
+
} & React.ComponentProps<"textarea">;
|
|
6
|
+
export declare const AutosizeTextArea: ({ value, placeholder, invalid, autoSelect, ...rest }: Props) => import("react").JSX.Element;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import "./text-area.wyw-in-js.css";
|
|
2
|
+
import "../number-input/edit-unit-styles.js";
|
|
3
|
+
import { ZStack } from "./z-stack.js";
|
|
4
|
+
import { hiddenCss, inputCss, textAreaCss } from "./styles.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { useEffect, useRef, useState } from "react";
|
|
9
|
+
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
10
|
+
//#region src/autosize-input/text-area.tsx
|
|
11
|
+
var AutosizeTextArea = ({ value, placeholder, invalid, autoSelect, ...rest }) => {
|
|
12
|
+
const ref = useRef(null);
|
|
13
|
+
const [initialValue] = useState(value);
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
if (autoSelect && ref.current) ref.current.select();
|
|
16
|
+
}, [autoSelect]);
|
|
17
|
+
return /* @__PURE__ */ jsxs(ZStack, {
|
|
18
|
+
className: "c1wucup9",
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ jsx("div", {
|
|
21
|
+
className: cx(inputCss, textAreaCss, hiddenCss),
|
|
22
|
+
children: initialValue || placeholder
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ jsx("div", {
|
|
25
|
+
className: cx(inputCss, textAreaCss, hiddenCss),
|
|
26
|
+
children: value
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsx("textarea", {
|
|
29
|
+
ref,
|
|
30
|
+
rows: 1,
|
|
31
|
+
cols: 1,
|
|
32
|
+
value,
|
|
33
|
+
placeholder,
|
|
34
|
+
onClick: stopPropagation,
|
|
35
|
+
...rest,
|
|
36
|
+
className: cx(inputCss, textAreaCss, invalid && "i12d2tbj-invalidInput")
|
|
37
|
+
})
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { AutosizeTextArea };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.c1wucup9{width:100%;}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/autosize-input/text-input.d.ts
|
|
2
|
+
type Props = {
|
|
3
|
+
value?: string;
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
autoSelect?: boolean;
|
|
6
|
+
} & Omit<React.ComponentProps<"input">, "value">;
|
|
7
|
+
export declare const AutosizeTextInput: ({ value, placeholder, invalid, autoSelect, ...rest }: Props) => import("react").JSX.Element;
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import "../number-input/edit-unit-styles.js";
|
|
2
|
+
import { ZStack } from "./z-stack.js";
|
|
3
|
+
import { hiddenCss, inputCss, textInlineCss } from "./styles.js";
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { useEffect, useRef, useState } from "react";
|
|
7
|
+
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
8
|
+
//#region src/autosize-input/text-input.tsx
|
|
9
|
+
var AutosizeTextInput = ({ value, placeholder, invalid, autoSelect, ...rest }) => {
|
|
10
|
+
const ref = useRef(null);
|
|
11
|
+
const [initialValue] = useState(value);
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
if (autoSelect && ref.current) ref.current.select();
|
|
14
|
+
}, [autoSelect]);
|
|
15
|
+
return /* @__PURE__ */ jsxs(ZStack, { children: [
|
|
16
|
+
/* @__PURE__ */ jsx("div", {
|
|
17
|
+
className: cx(inputCss, textInlineCss, hiddenCss),
|
|
18
|
+
children: initialValue || placeholder
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("div", {
|
|
21
|
+
className: cx(inputCss, textInlineCss, hiddenCss),
|
|
22
|
+
children: value
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ jsx("input", {
|
|
25
|
+
ref,
|
|
26
|
+
size: 1,
|
|
27
|
+
value: value || "",
|
|
28
|
+
type: "text",
|
|
29
|
+
placeholder,
|
|
30
|
+
onClick: stopPropagation,
|
|
31
|
+
...rest,
|
|
32
|
+
className: cx(inputCss, invalid && "i12d2tbj-invalidInput")
|
|
33
|
+
})
|
|
34
|
+
] });
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { AutosizeTextInput };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "./z-stack.wyw-in-js.css";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/autosize-input/z-stack.tsx
|
|
6
|
+
var zStackCss = "z1x0q364-zStack";
|
|
7
|
+
var ZStack = ({ className, children }) => {
|
|
8
|
+
return /* @__PURE__ */ jsx("div", {
|
|
9
|
+
className: cx(className, zStackCss),
|
|
10
|
+
children
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ZStack };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.z1x0q364-zStack{display:grid;}.z1x0q364-zStack>*{grid-area:1/1/2/2;}
|
package/lib/avatar-colors.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Theme } from "./design-system/theme.js";
|
|
2
2
|
import "./design-system.js";
|
|
3
3
|
//#region src/avatar-colors.d.ts
|
|
4
|
-
declare const cyrb53: (str: string, seed?: number) => number;
|
|
5
|
-
declare const avatarSwatches: readonly ["#D40915", "#E72065", "#9C2BAF", "#673DB6", "#3E53B4", "#2978FB", "#199EE3", "#1FBED3", "#159789", "#4FAF54", "#8EC351", "#FBA32F", "#FC551F", "#B04E31"];
|
|
6
|
-
type AvatarColors = {
|
|
4
|
+
export declare const cyrb53: (str: string, seed?: number) => number;
|
|
5
|
+
export declare const avatarSwatches: readonly ["#D40915", "#E72065", "#9C2BAF", "#673DB6", "#3E53B4", "#2978FB", "#199EE3", "#1FBED3", "#159789", "#4FAF54", "#8EC351", "#FBA32F", "#FC551F", "#B04E31"];
|
|
6
|
+
export type AvatarColors = {
|
|
7
7
|
fg: string;
|
|
8
8
|
bg: string;
|
|
9
9
|
bgStart: string;
|
|
10
10
|
bgEnd: string;
|
|
11
11
|
};
|
|
12
|
-
declare const getAvatarColors: ((seed: string, theme: Theme) => AvatarColors) & import("@fibery/helpers/src/_").MemoizedFunction<string, AvatarColors>;
|
|
13
|
-
declare const getAvatarNeutralColors: ((theme: Theme) => AvatarColors) & import("@fibery/helpers/src/_").MemoizedFunction<string, AvatarColors>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { AvatarColors, avatarSwatches, cyrb53, getAvatarColors, getAvatarNeutralColors };
|
|
12
|
+
export declare const getAvatarColors: ((seed: string, theme: Theme) => AvatarColors) & import("@fibery/helpers/src/_").MemoizedFunction<string, AvatarColors>;
|
|
13
|
+
export declare const getAvatarNeutralColors: ((theme: Theme) => AvatarColors) & import("@fibery/helpers/src/_").MemoizedFunction<string, AvatarColors>;
|
|
14
|
+
//#endregion
|
package/lib/avatar.d.ts
CHANGED
|
@@ -20,10 +20,10 @@ type NullUserAvatarProps = {
|
|
|
20
20
|
containerSize: number;
|
|
21
21
|
};
|
|
22
22
|
declare const NullUserAvatar: FC<NullUserAvatarProps>;
|
|
23
|
-
declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): import("react
|
|
24
|
-
declare function Avatar({ className, ...props }: React.ComponentProps<"div">): import("react
|
|
23
|
+
declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
24
|
+
declare function Avatar({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
25
25
|
declare function AvatarGroupCount({ className, size, ...props }: {
|
|
26
26
|
size: number;
|
|
27
|
-
} & React.ComponentProps<"div">): import("react
|
|
27
|
+
} & React.ComponentProps<"div">): import("react").JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { Avatar, AvatarGroup, AvatarGroupCount, AvatarImage, FibermojiPlaceholder as AvatarPlaceholder, NullUserAvatar };
|
package/lib/axis-header.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
2
|
//#region src/axis-header.d.ts
|
|
3
|
-
declare const leftMainContainerWrapperStyle: import("@linaria/core").LinariaClassName;
|
|
4
|
-
declare const axisHeaderClassName: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const leftMainContainerWrapperStyle: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const axisHeaderClassName: import("@linaria/core").LinariaClassName;
|
|
5
5
|
interface AxisHeaderProps {
|
|
6
6
|
className?: string;
|
|
7
7
|
dimension: "x" | "y";
|
|
@@ -14,6 +14,5 @@ interface AxisHeaderProps {
|
|
|
14
14
|
onCollapse?: () => void;
|
|
15
15
|
count?: number;
|
|
16
16
|
}
|
|
17
|
-
declare const AxisHeader: FC<AxisHeaderProps>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { AxisHeader, axisHeaderClassName, leftMainContainerWrapperStyle };
|
|
17
|
+
export declare const AxisHeader: FC<AxisHeaderProps>;
|
|
18
|
+
//#endregion
|
package/lib/badge.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ import { ReactNode } from "react";
|
|
|
2
2
|
//#region src/badge.d.ts
|
|
3
3
|
type Props = {
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
kind?: "success" | "error" | "default" | "warning" | "accent";
|
|
5
|
+
kind?: "success" | "error" | "default" | "warning" | "accent" | "ai";
|
|
6
6
|
};
|
|
7
|
-
declare const Badge: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Badge };
|
|
7
|
+
export declare const Badge: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
//#endregion
|
package/lib/badge.js
CHANGED
|
@@ -9,7 +9,7 @@ var Badge = forwardRef(({ children, kind, ...otherProps }, ref) => {
|
|
|
9
9
|
return /* @__PURE__ */ jsx("span", {
|
|
10
10
|
ref,
|
|
11
11
|
...otherProps,
|
|
12
|
-
className: cx(textClasses.heading8, "cdb6soe", kind === "success" && "c15wghwe", kind === "error" && "c1ja43hz", kind === "warning" && "c1si4oac", kind === "accent" && "ckbhk3v"),
|
|
12
|
+
className: cx(textClasses.heading8, "cdb6soe", kind === "success" && "c15wghwe", kind === "error" && "c1ja43hz", kind === "warning" && "c1si4oac", kind === "accent" && "ckbhk3v", kind === "ai" && "cjvatu5"),
|
|
13
13
|
children
|
|
14
14
|
});
|
|
15
15
|
});
|
package/lib/badge.wyw-in-js.css
CHANGED
|
@@ -3,3 +3,4 @@
|
|
|
3
3
|
.c1ja43hz{color:var(--colorTextBadgeError);background:var(--colorBgBadgeError);}
|
|
4
4
|
.c1si4oac{color:var(--colorTextBadgeWarning);background:var(--colorBgBadgeWarning);}
|
|
5
5
|
.ckbhk3v{color:var(--colorTextBadgeAccent);background:var(--colorBgBadgeAccent);}
|
|
6
|
+
.cjvatu5{color:var(--colorAI);background:var(--colorBgAI);}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonProps } from "../button/button.js";
|
|
2
2
|
//#region src/banner/banner-action.d.ts
|
|
3
|
-
declare const BannerAction: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { BannerAction };
|
|
3
|
+
export declare const BannerAction: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BannerVariant } from "./banner-variant.js";
|
|
2
2
|
//#region src/banner/banner-context.d.ts
|
|
3
|
-
declare const BannerContextProvider: import("react").Provider<BannerVariant>, useBannerContext: () => BannerVariant;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { BannerContextProvider, useBannerContext };
|
|
3
|
+
export declare const BannerContextProvider: import("react").Provider<BannerVariant>, useBannerContext: () => BannerVariant;
|
|
4
|
+
//#endregion
|
package/lib/banner/banner.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BannerVariant } from "./banner-variant.js";
|
|
2
2
|
import { ComponentPropsWithoutRef } from "react";
|
|
3
3
|
//#region src/banner/banner.d.ts
|
|
4
|
-
type BannerProps = {
|
|
4
|
+
export type BannerProps = {
|
|
5
5
|
title: React.ReactNode;
|
|
6
6
|
description?: React.ReactNode;
|
|
7
7
|
icon?: React.ReactNode;
|
|
@@ -9,7 +9,7 @@ type BannerProps = {
|
|
|
9
9
|
variant?: BannerVariant;
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
} & Omit<ComponentPropsWithoutRef<"div">, "title">;
|
|
12
|
-
declare const Banner: import("react").ForwardRefExoticComponent<{
|
|
12
|
+
export declare const Banner: import("react").ForwardRefExoticComponent<{
|
|
13
13
|
title: React.ReactNode;
|
|
14
14
|
description?: React.ReactNode;
|
|
15
15
|
icon?: React.ReactNode;
|
|
@@ -17,5 +17,4 @@ declare const Banner: import("react").ForwardRefExoticComponent<{
|
|
|
17
17
|
variant?: BannerVariant;
|
|
18
18
|
onClose?: () => void;
|
|
19
19
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { Banner, BannerProps };
|
|
20
|
+
//#endregion
|
|
@@ -2,9 +2,7 @@ import { FC } from "react";
|
|
|
2
2
|
//#region src/board-table-loader.d.ts
|
|
3
3
|
interface BoardTableLoaderProps {
|
|
4
4
|
compact?: boolean;
|
|
5
|
-
delay?: number;
|
|
6
5
|
}
|
|
7
|
-
declare const BoardTableLoader: FC<BoardTableLoaderProps>;
|
|
8
|
-
declare const BoardTableLoaderWithoutX: FC<BoardTableLoaderProps>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { BoardTableLoader, BoardTableLoaderWithoutX };
|
|
6
|
+
export declare const BoardTableLoader: FC<BoardTableLoaderProps>;
|
|
7
|
+
export declare const BoardTableLoaderWithoutX: FC<BoardTableLoaderProps>;
|
|
8
|
+
//#endregion
|