@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/theming.build.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LayoutVarNames, LayoutVars, ThemeVars } from "./design-system/vars.js";
|
|
2
2
|
//#region src/theming.build.d.ts
|
|
3
|
-
type ThemingSnapshot = LayoutVarNames & {
|
|
3
|
+
export type ThemingSnapshot = LayoutVarNames & {
|
|
4
4
|
prefix: string;
|
|
5
5
|
themeVars: ThemeVars;
|
|
6
6
|
layoutVars: LayoutVars;
|
|
@@ -13,6 +13,5 @@ type ThemingSnapshot = LayoutVarNames & {
|
|
|
13
13
|
dark: Record<string, string>;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
declare function buildThemingSnapshot(ns: string): ThemingSnapshot;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { ThemingSnapshot, buildThemingSnapshot };
|
|
16
|
+
export declare function buildThemingSnapshot(ns: string): ThemingSnapshot;
|
|
17
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/theming.generated.d.ts
|
|
2
|
-
declare const themeVars: {
|
|
2
|
+
export declare const themeVars: {
|
|
3
3
|
readonly surfaceElevationS: "var(--surfaceElevationS)";
|
|
4
4
|
readonly surfaceElevationL: "var(--surfaceElevationL)";
|
|
5
5
|
readonly shadow50: "var(--shadow50)";
|
|
@@ -129,6 +129,7 @@ declare const themeVars: {
|
|
|
129
129
|
readonly buttonColor: "var(--buttonColor)";
|
|
130
130
|
readonly buttonPrimaryTextColor: "var(--buttonPrimaryTextColor)";
|
|
131
131
|
readonly checkboxColor: "var(--checkboxColor)";
|
|
132
|
+
readonly checkboxHoverBg: "var(--checkboxHoverBg)";
|
|
132
133
|
readonly colorBorderBlockQuote: "var(--colorBorderBlockQuote)";
|
|
133
134
|
readonly colorBgActionsMenu: "var(--colorBgActionsMenu)";
|
|
134
135
|
readonly colorBgActionsMenuItemHover: "var(--colorBgActionsMenuItemHover)";
|
|
@@ -185,6 +186,7 @@ declare const themeVars: {
|
|
|
185
186
|
readonly colorBgSearchRowHover: "var(--colorBgSearchRowHover)";
|
|
186
187
|
readonly colorBgSearchRowCreateHover: "var(--colorBgSearchRowCreateHover)";
|
|
187
188
|
readonly opacitySearchItemDone: "var(--opacitySearchItemDone)";
|
|
189
|
+
readonly colorBgUserAccessRowActive: "var(--colorBgUserAccessRowActive)";
|
|
188
190
|
readonly colorBgEntityBoxDefault: "var(--colorBgEntityBoxDefault)";
|
|
189
191
|
readonly shadowStrokeEntityBoxDefault: "var(--shadowStrokeEntityBoxDefault)";
|
|
190
192
|
readonly shadowEntityBoxDefault: "var(--shadowEntityBoxDefault)";
|
|
@@ -319,11 +321,11 @@ declare const themeVars: {
|
|
|
319
321
|
readonly gridCellBgColor: "var(--gridCellBgColor)";
|
|
320
322
|
readonly gridCellBorderColor: "var(--gridCellBorderColor)";
|
|
321
323
|
readonly gridDisabledCellBgColor: "var(--gridDisabledCellBgColor)";
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
+
readonly gridRowSelectedBgColor: "var(--gridRowSelectedBgColor)";
|
|
325
|
+
readonly gridCellRangeBgColor: "var(--gridCellRangeBgColor)";
|
|
324
326
|
readonly gridSelectedCellBorderColor: "var(--gridSelectedCellBorderColor)";
|
|
325
327
|
readonly gridSelectedPinnedCellBorderColor: "var(--gridSelectedPinnedCellBorderColor)";
|
|
326
|
-
readonly
|
|
328
|
+
readonly gridRowSelectedDisabledCellBgColor: "var(--gridRowSelectedDisabledCellBgColor)";
|
|
327
329
|
readonly gridActiveCellBorderColor: "var(--gridActiveCellBorderColor)";
|
|
328
330
|
readonly timelineEntityHandleColor: "var(--timelineEntityHandleColor)";
|
|
329
331
|
readonly timelineDependencyHoverBgColor: "var(--timelineDependencyHoverBgColor)";
|
|
@@ -550,17 +552,17 @@ declare const themeVars: {
|
|
|
550
552
|
readonly colorStrokeSelectedOutline: "var(--colorStrokeSelectedOutline)";
|
|
551
553
|
readonly scrollbar: "var(--scrollbar)";
|
|
552
554
|
};
|
|
553
|
-
declare const menuItemHeightVar: "--fibery-layout-menuItemHeight";
|
|
554
|
-
declare const sidebarMenuItemHeightVar: "--fibery-layout-sidebarMenuItemHeight";
|
|
555
|
-
declare const sidebarMenuIconSizeVar: "--fibery-layout-sidebarMenuIconSize";
|
|
556
|
-
declare const listRowSurfaceFontSizeVar: "--fibery-layout-listRowSurfaceFontSize";
|
|
557
|
-
declare const layoutVars: {
|
|
555
|
+
export declare const menuItemHeightVar: "--fibery-layout-menuItemHeight";
|
|
556
|
+
export declare const sidebarMenuItemHeightVar: "--fibery-layout-sidebarMenuItemHeight";
|
|
557
|
+
export declare const sidebarMenuIconSizeVar: "--fibery-layout-sidebarMenuIconSize";
|
|
558
|
+
export declare const listRowSurfaceFontSizeVar: "--fibery-layout-listRowSurfaceFontSize";
|
|
559
|
+
export declare const layoutVars: {
|
|
558
560
|
readonly menuItemHeight: "var(--fibery-layout-menuItemHeight)";
|
|
559
561
|
readonly sidebarMenuItemHeight: "var(--fibery-layout-sidebarMenuItemHeight)";
|
|
560
562
|
readonly sidebarMenuIconSize: "var(--fibery-layout-sidebarMenuIconSize)";
|
|
561
563
|
readonly listRowSurfaceFontSize: "var(--fibery-layout-listRowSurfaceFontSize)";
|
|
562
564
|
};
|
|
563
|
-
declare const neutralStyles: {
|
|
565
|
+
export declare const neutralStyles: {
|
|
564
566
|
readonly light: {
|
|
565
567
|
readonly "--surfaceElevationS": "0 2px 4px 0 rgba(0,0,0,0.05)";
|
|
566
568
|
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.05)";
|
|
@@ -691,6 +693,7 @@ declare const neutralStyles: {
|
|
|
691
693
|
readonly "--buttonColor": "rgb(120,120,120)";
|
|
692
694
|
readonly "--buttonPrimaryTextColor": "rgb(247,247,247)";
|
|
693
695
|
readonly "--checkboxColor": "rgba(23, 23, 23, 0.7)";
|
|
696
|
+
readonly "--checkboxHoverBg": "rgb(237, 242, 251)";
|
|
694
697
|
readonly "--colorBorderBlockQuote": "rgb(94,94,94)";
|
|
695
698
|
readonly "--colorBgActionsMenu": "rgb(255,255,255)";
|
|
696
699
|
readonly "--colorBgActionsMenuItemHover": "rgb(237,237,237)";
|
|
@@ -747,6 +750,7 @@ declare const neutralStyles: {
|
|
|
747
750
|
readonly "--colorBgSearchRowHover": "rgb(237,237,237)";
|
|
748
751
|
readonly "--colorBgSearchRowCreateHover": "#e8effd";
|
|
749
752
|
readonly "--opacitySearchItemDone": "0.4";
|
|
753
|
+
readonly "--colorBgUserAccessRowActive": "#e8effd";
|
|
750
754
|
readonly "--colorBgEntityBoxDefault": "rgb(255,255,255)";
|
|
751
755
|
readonly "--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(232,232,232)";
|
|
752
756
|
readonly "--shadowEntityBoxDefault": "0 2px 4px 0 rgba(23, 23, 23, 0.05)";
|
|
@@ -881,11 +885,11 @@ declare const neutralStyles: {
|
|
|
881
885
|
readonly "--gridCellBgColor": "rgb(255,255,255)";
|
|
882
886
|
readonly "--gridCellBorderColor": "rgb(232,232,232)";
|
|
883
887
|
readonly "--gridDisabledCellBgColor": "rgb(247,247,247)";
|
|
884
|
-
readonly "--
|
|
885
|
-
readonly "--
|
|
888
|
+
readonly "--gridRowSelectedBgColor": "#f1f5fe";
|
|
889
|
+
readonly "--gridCellRangeBgColor": "#e8effd";
|
|
886
890
|
readonly "--gridSelectedCellBorderColor": "#cad9f6";
|
|
887
891
|
readonly "--gridSelectedPinnedCellBorderColor": "#b2c7f0";
|
|
888
|
-
readonly "--
|
|
892
|
+
readonly "--gridRowSelectedDisabledCellBgColor": "#e8effd";
|
|
889
893
|
readonly "--gridActiveCellBorderColor": "#96b1e9";
|
|
890
894
|
readonly "--timelineEntityHandleColor": "#b2c7f0";
|
|
891
895
|
readonly "--timelineDependencyHoverBgColor": "#96b1e9";
|
|
@@ -1242,6 +1246,7 @@ declare const neutralStyles: {
|
|
|
1242
1246
|
readonly "--buttonColor": "rgb(127,127,127)";
|
|
1243
1247
|
readonly "--buttonPrimaryTextColor": "rgb(227,227,227)";
|
|
1244
1248
|
readonly "--checkboxColor": "rgba(237, 237, 237, 0.7)";
|
|
1249
|
+
readonly "--checkboxHoverBg": "rgb(28, 32, 42)";
|
|
1245
1250
|
readonly "--colorBorderBlockQuote": "rgb(161,161,161)";
|
|
1246
1251
|
readonly "--colorBgActionsMenu": "rgb(36,36,36)";
|
|
1247
1252
|
readonly "--colorBgActionsMenuItemHover": "rgb(46,46,46)";
|
|
@@ -1298,6 +1303,7 @@ declare const neutralStyles: {
|
|
|
1298
1303
|
readonly "--colorBgSearchRowHover": "rgb(36,36,36)";
|
|
1299
1304
|
readonly "--colorBgSearchRowCreateHover": "#1c2b4f";
|
|
1300
1305
|
readonly "--opacitySearchItemDone": "0.4";
|
|
1306
|
+
readonly "--colorBgUserAccessRowActive": "#223259";
|
|
1301
1307
|
readonly "--colorBgEntityBoxDefault": "rgb(36,36,36)";
|
|
1302
1308
|
readonly "--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(46,46,46)";
|
|
1303
1309
|
readonly "--shadowEntityBoxDefault": "0 2px 4px 0 rgba(23, 23, 23, 0.05)";
|
|
@@ -1432,11 +1438,11 @@ declare const neutralStyles: {
|
|
|
1432
1438
|
readonly "--gridCellBgColor": "rgb(28,28,28)";
|
|
1433
1439
|
readonly "--gridCellBorderColor": "rgb(51,51,51)";
|
|
1434
1440
|
readonly "--gridDisabledCellBgColor": "rgb(36,36,36)";
|
|
1435
|
-
readonly "--
|
|
1436
|
-
readonly "--
|
|
1441
|
+
readonly "--gridRowSelectedBgColor": "#1a2642";
|
|
1442
|
+
readonly "--gridCellRangeBgColor": "#223259";
|
|
1437
1443
|
readonly "--gridSelectedCellBorderColor": "#2d4786";
|
|
1438
1444
|
readonly "--gridSelectedPinnedCellBorderColor": "#2d4786";
|
|
1439
|
-
readonly "--
|
|
1445
|
+
readonly "--gridRowSelectedDisabledCellBgColor": "#223259";
|
|
1440
1446
|
readonly "--gridActiveCellBorderColor": "#4b74d2";
|
|
1441
1447
|
readonly "--timelineEntityHandleColor": "#2d4786";
|
|
1442
1448
|
readonly "--timelineDependencyHoverBgColor": "#3258ae";
|
|
@@ -1664,7 +1670,7 @@ declare const neutralStyles: {
|
|
|
1664
1670
|
readonly "--scrollbar": "rgba(61, 61, 61, 0.5)";
|
|
1665
1671
|
};
|
|
1666
1672
|
};
|
|
1667
|
-
declare const warmStyles: {
|
|
1673
|
+
export declare const warmStyles: {
|
|
1668
1674
|
readonly light: {
|
|
1669
1675
|
readonly "--surfaceElevationS": "0 2px 4px 0 rgba(0,0,0,0.05)";
|
|
1670
1676
|
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.05)";
|
|
@@ -1795,6 +1801,7 @@ declare const warmStyles: {
|
|
|
1795
1801
|
readonly "--buttonColor": "rgb(125,119,112)";
|
|
1796
1802
|
readonly "--buttonPrimaryTextColor": "rgb(253,246,239)";
|
|
1797
1803
|
readonly "--checkboxColor": "rgba(27, 22, 17, 0.7)";
|
|
1804
|
+
readonly "--checkboxHoverBg": "rgb(229, 242, 242)";
|
|
1798
1805
|
readonly "--colorBorderBlockQuote": "rgb(99,94,87)";
|
|
1799
1806
|
readonly "--colorBgActionsMenu": "rgb(255,253,250)";
|
|
1800
1807
|
readonly "--colorBgActionsMenuItemHover": "rgb(243,236,229)";
|
|
@@ -1851,6 +1858,7 @@ declare const warmStyles: {
|
|
|
1851
1858
|
readonly "--colorBgSearchRowHover": "rgb(243,236,229)";
|
|
1852
1859
|
readonly "--colorBgSearchRowCreateHover": "rgb(228,241,246)";
|
|
1853
1860
|
readonly "--opacitySearchItemDone": "0.4";
|
|
1861
|
+
readonly "--colorBgUserAccessRowActive": "rgb(228,241,246)";
|
|
1854
1862
|
readonly "--colorBgEntityBoxDefault": "rgb(255,253,250)";
|
|
1855
1863
|
readonly "--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(237,231,224)";
|
|
1856
1864
|
readonly "--shadowEntityBoxDefault": "0 2px 4px 0 rgba(27, 22, 17, 0.05)";
|
|
@@ -1985,11 +1993,11 @@ declare const warmStyles: {
|
|
|
1985
1993
|
readonly "--gridCellBgColor": "rgb(255,253,250)";
|
|
1986
1994
|
readonly "--gridCellBorderColor": "rgb(237,231,224)";
|
|
1987
1995
|
readonly "--gridDisabledCellBgColor": "rgb(253,246,239)";
|
|
1988
|
-
readonly "--
|
|
1989
|
-
readonly "--
|
|
1996
|
+
readonly "--gridRowSelectedBgColor": "rgb(238,247,249)";
|
|
1997
|
+
readonly "--gridCellRangeBgColor": "rgb(228,241,246)";
|
|
1990
1998
|
readonly "--gridSelectedCellBorderColor": "rgb(194,222,232)";
|
|
1991
1999
|
readonly "--gridSelectedPinnedCellBorderColor": "rgb(166,206,219)";
|
|
1992
|
-
readonly "--
|
|
2000
|
+
readonly "--gridRowSelectedDisabledCellBgColor": "rgb(228,241,246)";
|
|
1993
2001
|
readonly "--gridActiveCellBorderColor": "rgb(132,188,206)";
|
|
1994
2002
|
readonly "--timelineEntityHandleColor": "rgb(166,206,219)";
|
|
1995
2003
|
readonly "--timelineDependencyHoverBgColor": "rgb(132,188,206)";
|
|
@@ -2346,6 +2354,7 @@ declare const warmStyles: {
|
|
|
2346
2354
|
readonly "--buttonColor": "rgb(132,126,124)";
|
|
2347
2355
|
readonly "--buttonPrimaryTextColor": "rgb(232,226,219)";
|
|
2348
2356
|
readonly "--checkboxColor": "rgba(224, 212, 206, 0.7)";
|
|
2357
|
+
readonly "--checkboxHoverBg": "rgb(23, 33, 35)";
|
|
2349
2358
|
readonly "--colorBorderBlockQuote": "rgb(166,159,157)";
|
|
2350
2359
|
readonly "--colorBgActionsMenu": "rgb(39,35,33)";
|
|
2351
2360
|
readonly "--colorBgActionsMenuItemHover": "rgb(50,45,43)";
|
|
@@ -2402,6 +2411,7 @@ declare const warmStyles: {
|
|
|
2402
2411
|
readonly "--colorBgSearchRowHover": "rgb(39,35,33)";
|
|
2403
2412
|
readonly "--colorBgSearchRowCreateHover": "rgb(1,51,63)";
|
|
2404
2413
|
readonly "--opacitySearchItemDone": "0.4";
|
|
2414
|
+
readonly "--colorBgUserAccessRowActive": "rgb(4,58,72)";
|
|
2405
2415
|
readonly "--colorBgEntityBoxDefault": "rgb(39,35,33)";
|
|
2406
2416
|
readonly "--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(50,45,43)";
|
|
2407
2417
|
readonly "--shadowEntityBoxDefault": "0 2px 4px 0 rgba(26, 22, 20, 0.05)";
|
|
@@ -2536,11 +2546,11 @@ declare const warmStyles: {
|
|
|
2536
2546
|
readonly "--gridCellBgColor": "rgb(32,27,25)";
|
|
2537
2547
|
readonly "--gridCellBorderColor": "rgb(55,50,48)";
|
|
2538
2548
|
readonly "--gridDisabledCellBgColor": "rgb(39,35,33)";
|
|
2539
|
-
readonly "--
|
|
2540
|
-
readonly "--
|
|
2549
|
+
readonly "--gridRowSelectedBgColor": "rgb(8,44,54)";
|
|
2550
|
+
readonly "--gridCellRangeBgColor": "rgb(4,58,72)";
|
|
2541
2551
|
readonly "--gridSelectedCellBorderColor": "rgb(0,85,107)";
|
|
2542
2552
|
readonly "--gridSelectedPinnedCellBorderColor": "rgb(0,85,107)";
|
|
2543
|
-
readonly "--
|
|
2553
|
+
readonly "--gridRowSelectedDisabledCellBgColor": "rgb(4,58,72)";
|
|
2544
2554
|
readonly "--gridActiveCellBorderColor": "rgb(0,136,170)";
|
|
2545
2555
|
readonly "--timelineEntityHandleColor": "rgb(0,85,107)";
|
|
2546
2556
|
readonly "--timelineDependencyHoverBgColor": "rgb(0,106,135)";
|
|
@@ -2768,5 +2778,4 @@ declare const warmStyles: {
|
|
|
2768
2778
|
readonly "--scrollbar": "rgba(65, 60, 58, 0.5)";
|
|
2769
2779
|
};
|
|
2770
2780
|
};
|
|
2771
|
-
//#endregion
|
|
2772
|
-
export { layoutVars, listRowSurfaceFontSizeVar, menuItemHeightVar, neutralStyles, sidebarMenuIconSizeVar, sidebarMenuItemHeightVar, themeVars, warmStyles };
|
|
2781
|
+
//#endregion
|
package/lib/theming.generated.js
CHANGED
|
@@ -129,6 +129,7 @@ var themeVars = {
|
|
|
129
129
|
buttonColor: "var(--buttonColor)",
|
|
130
130
|
buttonPrimaryTextColor: "var(--buttonPrimaryTextColor)",
|
|
131
131
|
checkboxColor: "var(--checkboxColor)",
|
|
132
|
+
checkboxHoverBg: "var(--checkboxHoverBg)",
|
|
132
133
|
colorBorderBlockQuote: "var(--colorBorderBlockQuote)",
|
|
133
134
|
colorBgActionsMenu: "var(--colorBgActionsMenu)",
|
|
134
135
|
colorBgActionsMenuItemHover: "var(--colorBgActionsMenuItemHover)",
|
|
@@ -185,6 +186,7 @@ var themeVars = {
|
|
|
185
186
|
colorBgSearchRowHover: "var(--colorBgSearchRowHover)",
|
|
186
187
|
colorBgSearchRowCreateHover: "var(--colorBgSearchRowCreateHover)",
|
|
187
188
|
opacitySearchItemDone: "var(--opacitySearchItemDone)",
|
|
189
|
+
colorBgUserAccessRowActive: "var(--colorBgUserAccessRowActive)",
|
|
188
190
|
colorBgEntityBoxDefault: "var(--colorBgEntityBoxDefault)",
|
|
189
191
|
shadowStrokeEntityBoxDefault: "var(--shadowStrokeEntityBoxDefault)",
|
|
190
192
|
shadowEntityBoxDefault: "var(--shadowEntityBoxDefault)",
|
|
@@ -319,11 +321,11 @@ var themeVars = {
|
|
|
319
321
|
gridCellBgColor: "var(--gridCellBgColor)",
|
|
320
322
|
gridCellBorderColor: "var(--gridCellBorderColor)",
|
|
321
323
|
gridDisabledCellBgColor: "var(--gridDisabledCellBgColor)",
|
|
322
|
-
|
|
323
|
-
|
|
324
|
+
gridRowSelectedBgColor: "var(--gridRowSelectedBgColor)",
|
|
325
|
+
gridCellRangeBgColor: "var(--gridCellRangeBgColor)",
|
|
324
326
|
gridSelectedCellBorderColor: "var(--gridSelectedCellBorderColor)",
|
|
325
327
|
gridSelectedPinnedCellBorderColor: "var(--gridSelectedPinnedCellBorderColor)",
|
|
326
|
-
|
|
328
|
+
gridRowSelectedDisabledCellBgColor: "var(--gridRowSelectedDisabledCellBgColor)",
|
|
327
329
|
gridActiveCellBorderColor: "var(--gridActiveCellBorderColor)",
|
|
328
330
|
timelineEntityHandleColor: "var(--timelineEntityHandleColor)",
|
|
329
331
|
timelineDependencyHoverBgColor: "var(--timelineDependencyHoverBgColor)",
|
|
@@ -691,6 +693,7 @@ var neutralStyles = {
|
|
|
691
693
|
"--buttonColor": "rgb(120,120,120)",
|
|
692
694
|
"--buttonPrimaryTextColor": "rgb(247,247,247)",
|
|
693
695
|
"--checkboxColor": "rgba(23, 23, 23, 0.7)",
|
|
696
|
+
"--checkboxHoverBg": "rgb(237, 242, 251)",
|
|
694
697
|
"--colorBorderBlockQuote": "rgb(94,94,94)",
|
|
695
698
|
"--colorBgActionsMenu": "rgb(255,255,255)",
|
|
696
699
|
"--colorBgActionsMenuItemHover": "rgb(237,237,237)",
|
|
@@ -747,6 +750,7 @@ var neutralStyles = {
|
|
|
747
750
|
"--colorBgSearchRowHover": "rgb(237,237,237)",
|
|
748
751
|
"--colorBgSearchRowCreateHover": "#e8effd",
|
|
749
752
|
"--opacitySearchItemDone": "0.4",
|
|
753
|
+
"--colorBgUserAccessRowActive": "#e8effd",
|
|
750
754
|
"--colorBgEntityBoxDefault": "rgb(255,255,255)",
|
|
751
755
|
"--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(232,232,232)",
|
|
752
756
|
"--shadowEntityBoxDefault": "0 2px 4px 0 rgba(23, 23, 23, 0.05)",
|
|
@@ -881,11 +885,11 @@ var neutralStyles = {
|
|
|
881
885
|
"--gridCellBgColor": "rgb(255,255,255)",
|
|
882
886
|
"--gridCellBorderColor": "rgb(232,232,232)",
|
|
883
887
|
"--gridDisabledCellBgColor": "rgb(247,247,247)",
|
|
884
|
-
"--
|
|
885
|
-
"--
|
|
888
|
+
"--gridRowSelectedBgColor": "#f1f5fe",
|
|
889
|
+
"--gridCellRangeBgColor": "#e8effd",
|
|
886
890
|
"--gridSelectedCellBorderColor": "#cad9f6",
|
|
887
891
|
"--gridSelectedPinnedCellBorderColor": "#b2c7f0",
|
|
888
|
-
"--
|
|
892
|
+
"--gridRowSelectedDisabledCellBgColor": "#e8effd",
|
|
889
893
|
"--gridActiveCellBorderColor": "#96b1e9",
|
|
890
894
|
"--timelineEntityHandleColor": "#b2c7f0",
|
|
891
895
|
"--timelineDependencyHoverBgColor": "#96b1e9",
|
|
@@ -1242,6 +1246,7 @@ var neutralStyles = {
|
|
|
1242
1246
|
"--buttonColor": "rgb(127,127,127)",
|
|
1243
1247
|
"--buttonPrimaryTextColor": "rgb(227,227,227)",
|
|
1244
1248
|
"--checkboxColor": "rgba(237, 237, 237, 0.7)",
|
|
1249
|
+
"--checkboxHoverBg": "rgb(28, 32, 42)",
|
|
1245
1250
|
"--colorBorderBlockQuote": "rgb(161,161,161)",
|
|
1246
1251
|
"--colorBgActionsMenu": "rgb(36,36,36)",
|
|
1247
1252
|
"--colorBgActionsMenuItemHover": "rgb(46,46,46)",
|
|
@@ -1298,6 +1303,7 @@ var neutralStyles = {
|
|
|
1298
1303
|
"--colorBgSearchRowHover": "rgb(36,36,36)",
|
|
1299
1304
|
"--colorBgSearchRowCreateHover": "#1c2b4f",
|
|
1300
1305
|
"--opacitySearchItemDone": "0.4",
|
|
1306
|
+
"--colorBgUserAccessRowActive": "#223259",
|
|
1301
1307
|
"--colorBgEntityBoxDefault": "rgb(36,36,36)",
|
|
1302
1308
|
"--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(46,46,46)",
|
|
1303
1309
|
"--shadowEntityBoxDefault": "0 2px 4px 0 rgba(23, 23, 23, 0.05)",
|
|
@@ -1432,11 +1438,11 @@ var neutralStyles = {
|
|
|
1432
1438
|
"--gridCellBgColor": "rgb(28,28,28)",
|
|
1433
1439
|
"--gridCellBorderColor": "rgb(51,51,51)",
|
|
1434
1440
|
"--gridDisabledCellBgColor": "rgb(36,36,36)",
|
|
1435
|
-
"--
|
|
1436
|
-
"--
|
|
1441
|
+
"--gridRowSelectedBgColor": "#1a2642",
|
|
1442
|
+
"--gridCellRangeBgColor": "#223259",
|
|
1437
1443
|
"--gridSelectedCellBorderColor": "#2d4786",
|
|
1438
1444
|
"--gridSelectedPinnedCellBorderColor": "#2d4786",
|
|
1439
|
-
"--
|
|
1445
|
+
"--gridRowSelectedDisabledCellBgColor": "#223259",
|
|
1440
1446
|
"--gridActiveCellBorderColor": "#4b74d2",
|
|
1441
1447
|
"--timelineEntityHandleColor": "#2d4786",
|
|
1442
1448
|
"--timelineDependencyHoverBgColor": "#3258ae",
|
|
@@ -1795,6 +1801,7 @@ var warmStyles = {
|
|
|
1795
1801
|
"--buttonColor": "rgb(125,119,112)",
|
|
1796
1802
|
"--buttonPrimaryTextColor": "rgb(253,246,239)",
|
|
1797
1803
|
"--checkboxColor": "rgba(27, 22, 17, 0.7)",
|
|
1804
|
+
"--checkboxHoverBg": "rgb(229, 242, 242)",
|
|
1798
1805
|
"--colorBorderBlockQuote": "rgb(99,94,87)",
|
|
1799
1806
|
"--colorBgActionsMenu": "rgb(255,253,250)",
|
|
1800
1807
|
"--colorBgActionsMenuItemHover": "rgb(243,236,229)",
|
|
@@ -1851,6 +1858,7 @@ var warmStyles = {
|
|
|
1851
1858
|
"--colorBgSearchRowHover": "rgb(243,236,229)",
|
|
1852
1859
|
"--colorBgSearchRowCreateHover": "rgb(228,241,246)",
|
|
1853
1860
|
"--opacitySearchItemDone": "0.4",
|
|
1861
|
+
"--colorBgUserAccessRowActive": "rgb(228,241,246)",
|
|
1854
1862
|
"--colorBgEntityBoxDefault": "rgb(255,253,250)",
|
|
1855
1863
|
"--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(237,231,224)",
|
|
1856
1864
|
"--shadowEntityBoxDefault": "0 2px 4px 0 rgba(27, 22, 17, 0.05)",
|
|
@@ -1985,11 +1993,11 @@ var warmStyles = {
|
|
|
1985
1993
|
"--gridCellBgColor": "rgb(255,253,250)",
|
|
1986
1994
|
"--gridCellBorderColor": "rgb(237,231,224)",
|
|
1987
1995
|
"--gridDisabledCellBgColor": "rgb(253,246,239)",
|
|
1988
|
-
"--
|
|
1989
|
-
"--
|
|
1996
|
+
"--gridRowSelectedBgColor": "rgb(238,247,249)",
|
|
1997
|
+
"--gridCellRangeBgColor": "rgb(228,241,246)",
|
|
1990
1998
|
"--gridSelectedCellBorderColor": "rgb(194,222,232)",
|
|
1991
1999
|
"--gridSelectedPinnedCellBorderColor": "rgb(166,206,219)",
|
|
1992
|
-
"--
|
|
2000
|
+
"--gridRowSelectedDisabledCellBgColor": "rgb(228,241,246)",
|
|
1993
2001
|
"--gridActiveCellBorderColor": "rgb(132,188,206)",
|
|
1994
2002
|
"--timelineEntityHandleColor": "rgb(166,206,219)",
|
|
1995
2003
|
"--timelineDependencyHoverBgColor": "rgb(132,188,206)",
|
|
@@ -2346,6 +2354,7 @@ var warmStyles = {
|
|
|
2346
2354
|
"--buttonColor": "rgb(132,126,124)",
|
|
2347
2355
|
"--buttonPrimaryTextColor": "rgb(232,226,219)",
|
|
2348
2356
|
"--checkboxColor": "rgba(224, 212, 206, 0.7)",
|
|
2357
|
+
"--checkboxHoverBg": "rgb(23, 33, 35)",
|
|
2349
2358
|
"--colorBorderBlockQuote": "rgb(166,159,157)",
|
|
2350
2359
|
"--colorBgActionsMenu": "rgb(39,35,33)",
|
|
2351
2360
|
"--colorBgActionsMenuItemHover": "rgb(50,45,43)",
|
|
@@ -2402,6 +2411,7 @@ var warmStyles = {
|
|
|
2402
2411
|
"--colorBgSearchRowHover": "rgb(39,35,33)",
|
|
2403
2412
|
"--colorBgSearchRowCreateHover": "rgb(1,51,63)",
|
|
2404
2413
|
"--opacitySearchItemDone": "0.4",
|
|
2414
|
+
"--colorBgUserAccessRowActive": "rgb(4,58,72)",
|
|
2405
2415
|
"--colorBgEntityBoxDefault": "rgb(39,35,33)",
|
|
2406
2416
|
"--shadowStrokeEntityBoxDefault": "0 0 0 1px rgb(50,45,43)",
|
|
2407
2417
|
"--shadowEntityBoxDefault": "0 2px 4px 0 rgba(26, 22, 20, 0.05)",
|
|
@@ -2536,11 +2546,11 @@ var warmStyles = {
|
|
|
2536
2546
|
"--gridCellBgColor": "rgb(32,27,25)",
|
|
2537
2547
|
"--gridCellBorderColor": "rgb(55,50,48)",
|
|
2538
2548
|
"--gridDisabledCellBgColor": "rgb(39,35,33)",
|
|
2539
|
-
"--
|
|
2540
|
-
"--
|
|
2549
|
+
"--gridRowSelectedBgColor": "rgb(8,44,54)",
|
|
2550
|
+
"--gridCellRangeBgColor": "rgb(4,58,72)",
|
|
2541
2551
|
"--gridSelectedCellBorderColor": "rgb(0,85,107)",
|
|
2542
2552
|
"--gridSelectedPinnedCellBorderColor": "rgb(0,85,107)",
|
|
2543
|
-
"--
|
|
2553
|
+
"--gridRowSelectedDisabledCellBgColor": "rgb(4,58,72)",
|
|
2544
2554
|
"--gridActiveCellBorderColor": "rgb(0,136,170)",
|
|
2545
2555
|
"--timelineEntityHandleColor": "rgb(0,85,107)",
|
|
2546
2556
|
"--timelineDependencyHoverBgColor": "rgb(0,106,135)",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
2
2
|
//#region src/toast/primitives.d.ts
|
|
3
|
-
declare const ToastViewport: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastViewportProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
4
|
-
declare const ToastRoot: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
5
|
-
declare const ToastTitle: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const ToastSubtitle: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const ToastClose: () => import("react
|
|
8
|
-
//#endregion
|
|
9
|
-
export { ToastClose, ToastRoot, ToastSubtitle, ToastTitle, ToastViewport };
|
|
3
|
+
export declare const ToastViewport: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastViewportProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
4
|
+
export declare const ToastRoot: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
5
|
+
export declare const ToastTitle: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export declare const ToastSubtitle: import("react").ForwardRefExoticComponent<ToastPrimitives.ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const ToastClose: () => import("react").JSX.Element;
|
|
8
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonColor, ButtonSize, ButtonVariant } from "../button/base-button.js";
|
|
2
2
|
import { Action as RadixToastAction, ToastActionProps } from "@radix-ui/react-toast";
|
|
3
3
|
//#region src/toast/toast-action.d.ts
|
|
4
|
-
declare const ToastAction: import("react").ForwardRefExoticComponent<Omit<{
|
|
4
|
+
export declare const ToastAction: import("react").ForwardRefExoticComponent<Omit<{
|
|
5
5
|
size?: ButtonSize;
|
|
6
6
|
pending?: boolean;
|
|
7
7
|
shortcut?: string;
|
|
@@ -14,11 +14,9 @@ declare const ToastAction: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
14
14
|
pressed?: boolean;
|
|
15
15
|
supportMobile?: boolean;
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
} &
|
|
18
|
-
ref?: import("react").RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | null | undefined;
|
|
19
|
-
} & {
|
|
17
|
+
} & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
20
18
|
altText: ToastActionProps["altText"];
|
|
21
19
|
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
22
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
20
|
+
export type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
23
21
|
//#endregion
|
|
24
|
-
export { RadixToastAction
|
|
22
|
+
export { RadixToastAction };
|
|
@@ -3,10 +3,10 @@ import { ToastProps } from "./toast.js";
|
|
|
3
3
|
import { AddToastProps, ToastQueue } from "./toast-queue.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
//#region src/toast/toast-provider.d.ts
|
|
6
|
-
declare const ToastProvider: React.FC<React.PropsWithChildren<{
|
|
6
|
+
export declare const ToastProvider: React.FC<React.PropsWithChildren<{
|
|
7
7
|
toastQueue: ToastQueue;
|
|
8
8
|
}>>;
|
|
9
|
-
declare const useToast: () => {
|
|
9
|
+
export declare const useToast: () => {
|
|
10
10
|
add: ({ id, ...toast }: AddToastProps) => string;
|
|
11
11
|
close(id: string): void;
|
|
12
12
|
remove(id: string): void;
|
|
@@ -68,5 +68,4 @@ declare const useToast: () => {
|
|
|
68
68
|
id?: string;
|
|
69
69
|
}): string;
|
|
70
70
|
};
|
|
71
|
-
//#endregion
|
|
72
|
-
export { ToastProvider, useToast };
|
|
71
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToastProps } from "./toast.js";
|
|
2
2
|
//#region src/toast/toast-queue.d.ts
|
|
3
|
-
type AddToastProps = Pick<ToastProps, "type" | "title" | "subTitle" | "icon" | "action" | "duration" | "open" | "dismissable" | "variant" | "onOpenChange"> & {
|
|
3
|
+
export type AddToastProps = Pick<ToastProps, "type" | "title" | "subTitle" | "icon" | "action" | "duration" | "open" | "dismissable" | "variant" | "onOpenChange"> & {
|
|
4
4
|
id?: string;
|
|
5
5
|
};
|
|
6
6
|
type TypedAddProps = Omit<AddToastProps, "type">;
|
|
@@ -16,7 +16,7 @@ type ToastQueueOpts = {
|
|
|
16
16
|
*/
|
|
17
17
|
transformToast?: (params: AddToastProps) => AddToastProps;
|
|
18
18
|
};
|
|
19
|
-
declare const makeToastQueue: ({ maxActiveToasts, onToastAdd, transformToast }?: ToastQueueOpts) => {
|
|
19
|
+
export declare const makeToastQueue: ({ maxActiveToasts, onToastAdd, transformToast }?: ToastQueueOpts) => {
|
|
20
20
|
add: ({ id, ...toast }: AddToastProps) => string;
|
|
21
21
|
/** Mark active toast as closed. Can be used to play exit animation */
|
|
22
22
|
close(id: string): void;
|
|
@@ -33,6 +33,5 @@ declare const makeToastQueue: ({ maxActiveToasts, onToastAdd, transformToast }?:
|
|
|
33
33
|
error(t: TypedAddProps): string;
|
|
34
34
|
loading(t: TypedAddProps): string;
|
|
35
35
|
};
|
|
36
|
-
type ToastQueue = ReturnType<typeof makeToastQueue>;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { AddToastProps, ToastQueue, makeToastQueue };
|
|
36
|
+
export type ToastQueue = ReturnType<typeof makeToastQueue>;
|
|
37
|
+
//#endregion
|
package/lib/toast/toast.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToastActionElement } from "./toast-action.js";
|
|
2
2
|
//#region src/toast/toast.d.ts
|
|
3
3
|
type ToastType = "info" | "error" | "success" | "loading";
|
|
4
|
-
type ToastProps = {
|
|
4
|
+
export type ToastProps = {
|
|
5
5
|
title: React.ReactNode;
|
|
6
6
|
variant?: "line" | "card";
|
|
7
7
|
subTitle?: React.ReactNode;
|
|
@@ -15,6 +15,5 @@ type ToastProps = {
|
|
|
15
15
|
/** It gets called after exit animation */
|
|
16
16
|
onHide?: () => void;
|
|
17
17
|
};
|
|
18
|
-
declare const Toast: React.FC<ToastProps>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { Toast, ToastProps };
|
|
18
|
+
export declare const Toast: React.FC<ToastProps>;
|
|
19
|
+
//#endregion
|
package/lib/toast/toast.js
CHANGED
|
@@ -18,7 +18,7 @@ var defaultPropsPerType = {
|
|
|
18
18
|
duration: 1e4,
|
|
19
19
|
dismissable: true
|
|
20
20
|
},
|
|
21
|
-
loading: { icon: jsx(Spinner, {
|
|
21
|
+
loading: { icon: jsx(Spinner, {}) },
|
|
22
22
|
success: { icon: jsx(CircleCheckFilled, { color: themeVars.success }) }
|
|
23
23
|
};
|
|
24
24
|
var rootCss = "r102k40r-root";
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
.rsl99sy-rootLine{display:flex;align-items:center;gap:12px;padding:12px 16px;}
|
|
3
3
|
.c1g3abrh-cartCard{display:flex;flex-direction:column;gap:8px;padding:12px;}
|
|
4
4
|
.m10gqcsr-message{display:flex;flex-grow:1;flex-direction:column;gap:4px;}
|
|
5
|
-
.ijnpuw0-icon{grid-area:icon;}
|
|
5
|
+
.ijnpuw0-icon{grid-area:icon;--fibery-icon-size:20px;--fibery-icon-color:var(--textColor);}
|
|
6
6
|
.c8ssjyq{display:flex;justify-content:space-between;align-items:center;}
|
|
7
|
-
.ch7vdj8{--fibery-icon-size:16px;}
|
|
7
|
+
.ch7vdj8{--fibery-icon-size:16px;--fibery-icon-color:var(--textColor);}
|
package/lib/toast/toaster.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/toast/utils/toastify-item-name.d.ts
|
|
2
|
-
declare const trimDynamicToastText: (str: string, charLimit: number) => string;
|
|
3
|
-
declare const toastifyItemName: ({ prefix, name, postfix, charLimit }: {
|
|
2
|
+
export declare const trimDynamicToastText: (str: string, charLimit: number) => string;
|
|
3
|
+
export declare const toastifyItemName: ({ prefix, name, postfix, charLimit }: {
|
|
4
4
|
prefix?: string;
|
|
5
5
|
name?: string | null;
|
|
6
6
|
postfix?: string;
|
|
7
7
|
charLimit?: number;
|
|
8
8
|
}) => string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { toastifyItemName, trimDynamicToastText };
|
|
9
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ToggleButtonProps } from "./toggle-button.js";
|
|
2
2
|
//#region src/toggle-button/round-toggle-button.d.ts
|
|
3
|
-
declare const RoundToggleButton: import("react").ForwardRefExoticComponent<Omit<ToggleButtonProps, "iconStart"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { RoundToggleButton };
|
|
3
|
+
export declare const RoundToggleButton: import("react").ForwardRefExoticComponent<Omit<ToggleButtonProps, "iconStart"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { ToggleButtonSize, ToggleButtonVariant } from "./toggle-button.js";
|
|
2
2
|
import { ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupSingleProps } from "@radix-ui/react-toggle-group";
|
|
3
3
|
//#region src/toggle-button/toggle-button-group.d.ts
|
|
4
|
-
declare const toggleButtonGroupCss: import("@linaria/core").LinariaClassName;
|
|
5
|
-
declare const ToggleButtonGroup: import("react").ForwardRefExoticComponent<((ToggleGroupMultipleProps | ToggleGroupSingleProps) & {
|
|
4
|
+
export declare const toggleButtonGroupCss: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const ToggleButtonGroup: import("react").ForwardRefExoticComponent<((ToggleGroupMultipleProps | ToggleGroupSingleProps) & {
|
|
6
6
|
gap?: number;
|
|
7
7
|
}) & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const ToggleButtonGroupItem: import("react").ForwardRefExoticComponent<ToggleGroupItemProps & {
|
|
8
|
+
export declare const ToggleButtonGroupItem: import("react").ForwardRefExoticComponent<ToggleGroupItemProps & {
|
|
9
9
|
iconStart?: React.ReactNode;
|
|
10
10
|
variant?: ToggleButtonVariant;
|
|
11
11
|
size?: ToggleButtonSize;
|
|
12
12
|
supportMobile?: boolean;
|
|
13
13
|
readOnly?: boolean;
|
|
14
14
|
} & Omit<import("@radix-ui/react-toggle").ToggleProps, "asChild"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { ToggleButtonGroup, ToggleButtonGroupItem, toggleButtonGroupCss };
|
|
15
|
+
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CSSProperties } from "@linaria/core";
|
|
2
2
|
import { ToggleProps } from "@radix-ui/react-toggle";
|
|
3
3
|
//#region src/toggle-button/toggle-button.d.ts
|
|
4
|
-
declare const toggleButtonCss: import("@linaria/core").LinariaClassName;
|
|
5
|
-
declare const toggleButtonCssWithIconStart: import("@linaria/core").LinariaClassName;
|
|
6
|
-
declare const toggleButtonContent: import("@linaria/core").LinariaClassName;
|
|
7
|
-
type ToggleButtonColorTokens = {
|
|
4
|
+
export declare const toggleButtonCss: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const toggleButtonCssWithIconStart: import("@linaria/core").LinariaClassName;
|
|
6
|
+
export declare const toggleButtonContent: import("@linaria/core").LinariaClassName;
|
|
7
|
+
export type ToggleButtonColorTokens = {
|
|
8
8
|
bgUnselectedNormal: string;
|
|
9
9
|
bgUnselectedHover: string;
|
|
10
10
|
bgSelectedNormal: string;
|
|
@@ -22,22 +22,21 @@ type ToggleButtonColorTokens = {
|
|
|
22
22
|
iconSelectedNormal: string;
|
|
23
23
|
iconSelectedHover: string;
|
|
24
24
|
};
|
|
25
|
-
declare const toggleButtonColorVars: (t: ToggleButtonColorTokens) => CSSProperties;
|
|
26
|
-
type ToggleButtonVariant = "outline";
|
|
27
|
-
type ToggleButtonSize = "small" | "medium" | "large";
|
|
28
|
-
type ToggleButtonProps = {
|
|
25
|
+
export declare const toggleButtonColorVars: (t: ToggleButtonColorTokens) => CSSProperties;
|
|
26
|
+
export type ToggleButtonVariant = "outline";
|
|
27
|
+
export type ToggleButtonSize = "small" | "medium" | "large";
|
|
28
|
+
export type ToggleButtonProps = {
|
|
29
29
|
iconStart?: React.ReactNode;
|
|
30
30
|
variant?: ToggleButtonVariant;
|
|
31
31
|
size?: ToggleButtonSize;
|
|
32
32
|
supportMobile?: boolean;
|
|
33
33
|
readOnly?: boolean;
|
|
34
34
|
} & Omit<ToggleProps, "asChild">;
|
|
35
|
-
declare const ToggleButton: import("react").ForwardRefExoticComponent<{
|
|
35
|
+
export declare const ToggleButton: import("react").ForwardRefExoticComponent<{
|
|
36
36
|
iconStart?: React.ReactNode;
|
|
37
37
|
variant?: ToggleButtonVariant;
|
|
38
38
|
size?: ToggleButtonSize;
|
|
39
39
|
supportMobile?: boolean;
|
|
40
40
|
readOnly?: boolean;
|
|
41
41
|
} & Omit<ToggleProps, "asChild"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
42
|
-
//#endregion
|
|
43
|
-
export { ToggleButton, ToggleButtonColorTokens, ToggleButtonProps, ToggleButtonSize, ToggleButtonVariant, toggleButtonColorVars, toggleButtonContent, toggleButtonCss, toggleButtonCssWithIconStart };
|
|
42
|
+
//#endregion
|
|
@@ -54,7 +54,7 @@ var ToggleButton = forwardRef(({ className, iconStart, size = "small", supportMo
|
|
|
54
54
|
...style
|
|
55
55
|
},
|
|
56
56
|
ref,
|
|
57
|
-
className: cx(toggleButtonCss, iconStart && "tw30yxv-toggleButtonCssWithIconStart", className),
|
|
57
|
+
className: cx(toggleButtonCss, Boolean(iconStart) && "tw30yxv-toggleButtonCssWithIconStart", className),
|
|
58
58
|
"data-variant": variant,
|
|
59
59
|
"data-size": supportMobile && isPhone ? "large" : size,
|
|
60
60
|
"aria-readonly": readOnly,
|
package/lib/toggle-on-off.d.ts
CHANGED
|
@@ -4,6 +4,5 @@ import { ComponentProps, FC } from "react";
|
|
|
4
4
|
interface ToggleOnOffProps extends Omit<ComponentProps<typeof Toggle>, "backgroundColor"> {
|
|
5
5
|
color?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const ToggleOnOff: FC<ToggleOnOffProps>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { ToggleOnOff };
|
|
7
|
+
export declare const ToggleOnOff: FC<ToggleOnOffProps>;
|
|
8
|
+
//#endregion
|
package/lib/toggle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from "react";
|
|
2
2
|
//#region src/toggle.d.ts
|
|
3
|
-
type ToggleSize = "small" | "medium" | "large" | "extra-large";
|
|
3
|
+
export type ToggleSize = "small" | "medium" | "large" | "extra-large";
|
|
4
4
|
type ToggleProps = Omit<ComponentProps<"input">, "value" | "size"> & {
|
|
5
5
|
value?: boolean;
|
|
6
6
|
label?: ReactNode;
|
|
@@ -13,6 +13,5 @@ type ToggleProps = Omit<ComponentProps<"input">, "value" | "size"> & {
|
|
|
13
13
|
size?: ToggleSize;
|
|
14
14
|
};
|
|
15
15
|
/** @deprecated implementation detail */
|
|
16
|
-
declare const Toggle: FC<ToggleProps>;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { Toggle, ToggleSize };
|
|
16
|
+
export declare const Toggle: FC<ToggleProps>;
|
|
17
|
+
//#endregion
|