@neo4j-ndl/react 4.25.7 → 5.0.0-alpha.0.3d763f7
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/LICENSES.txt +3453 -9363
- package/lib/NOTICE.txt +1385 -1963
- package/lib/cjs/_generated/style-rules/index.js +5 -11
- package/lib/cjs/_generated/style-rules/index.js.map +1 -1
- package/lib/cjs/_generated/style-rules/literal-guards.js +50 -0
- package/lib/cjs/_generated/style-rules/literal-guards.js.map +1 -0
- package/lib/cjs/_generated/style-rules/literal-schemas.js +6 -21
- package/lib/cjs/_generated/style-rules/literal-schemas.js.map +1 -1
- package/lib/cjs/{text-overflow/index.js → _generated/style-rules/literal-types.js} +9 -6
- package/lib/cjs/_generated/style-rules/literal-types.js.map +1 -0
- package/lib/cjs/_generated/style-rules/numeric-utils.js.map +1 -1
- package/lib/cjs/_generated/style-rules/range-utils.js.map +1 -1
- package/lib/cjs/ai/presence/stories/ai-presence-default.story.js +1 -1
- package/lib/cjs/ai/presence/stories/ai-presence-default.story.js.map +1 -1
- package/lib/cjs/ai/presence/stories/ai-presence-thinking.story.js +1 -1
- package/lib/cjs/ai/presence/stories/ai-presence-thinking.story.js.map +1 -1
- package/lib/cjs/ai/reasoning/Reasoning.js +1 -1
- package/lib/cjs/ai/reasoning/Reasoning.js.map +1 -1
- package/lib/cjs/ai/reasoning/stories/reasoning-full.story.js +1 -1
- package/lib/cjs/ai/reasoning/stories/reasoning-full.story.js.map +1 -1
- package/lib/cjs/ai/response/Response.js +56 -2
- package/lib/cjs/ai/response/Response.js.map +1 -1
- package/lib/cjs/ai/response/stories/response-fixtures.js +86 -0
- package/lib/cjs/ai/response/stories/response-fixtures.js.map +1 -0
- package/lib/cjs/ai/response/stories/response-full-example.story.js +3 -3
- package/lib/cjs/ai/response/stories/response-full-example.story.js.map +1 -1
- package/lib/cjs/ai/suggestion/stories/suggestion-sizes.story.js +1 -1
- package/lib/cjs/ai/suggestion/stories/suggestion-sizes.story.js.map +1 -1
- package/lib/cjs/ai/user-bubble/stories/user-bubble-and-files.story.js +1 -1
- package/lib/cjs/ai/user-bubble/stories/user-bubble-and-files.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-custom-icon.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-custom-icon.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-shapes.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-shapes.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-sizes.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-sizes.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-statuses.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-statuses.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-types.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-types.story.js.map +1 -1
- package/lib/cjs/banner/stories/banner-variants.story.js +1 -1
- package/lib/cjs/banner/stories/banner-variants.story.js.map +1 -1
- package/lib/cjs/banner/stories/banner-with-icons.story.js +1 -1
- package/lib/cjs/banner/stories/banner-with-icons.story.js.map +1 -1
- package/lib/cjs/breadcrumbs/stories/breadcrumbs-header.story.js +1 -1
- package/lib/cjs/breadcrumbs/stories/breadcrumbs-header.story.js.map +1 -1
- package/lib/cjs/button/ButtonBase.js +1 -3
- package/lib/cjs/button/ButtonBase.js.map +1 -1
- package/lib/cjs/button/stories/button-sizes.story.js +1 -1
- package/lib/cjs/button/stories/button-sizes.story.js.map +1 -1
- package/lib/cjs/button/stories/button-variants.story.js +1 -1
- package/lib/cjs/button/stories/button-variants.story.js.map +1 -1
- package/lib/cjs/checkbox/stories/checkbox-full.story.js +2 -2
- package/lib/cjs/checkbox/stories/checkbox-full.story.js.map +1 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js +1 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js.map +1 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button-sizes.story.js +1 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button-sizes.story.js.map +1 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button-tone.story.js +1 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button-tone.story.js.map +1 -1
- package/lib/cjs/clipboard-button/stories/clipboard-button-sizes.story.js +1 -1
- package/lib/cjs/clipboard-button/stories/clipboard-button-sizes.story.js.map +1 -1
- package/lib/cjs/code-block/CodeBlock.js +3 -7
- package/lib/cjs/code-block/CodeBlock.js.map +1 -1
- package/lib/cjs/code-block/stories/code-disabled.story.js +2 -2
- package/lib/cjs/code-block/stories/code-disabled.story.js.map +1 -1
- package/lib/cjs/code-block/stories/code-full.story.js +2 -2
- package/lib/cjs/code-block/stories/code-full.story.js.map +1 -1
- package/lib/cjs/code-block/stories/code-languages.story.js +1 -1
- package/lib/cjs/code-block/stories/code-languages.story.js.map +1 -1
- package/lib/cjs/code-block/stories/code-with-actions.story.js +2 -2
- package/lib/cjs/code-block/stories/code-with-actions.story.js.map +1 -1
- package/lib/cjs/color-picker/ColorPicker.js +0 -3
- package/lib/cjs/color-picker/ColorPicker.js.map +1 -1
- package/lib/cjs/color-picker/stories/color-picker-dialog.story.js +1 -1
- package/lib/cjs/color-picker/stories/color-picker-dialog.story.js.map +1 -1
- package/lib/cjs/color-picker/stories/color-picker-popover.story.js +1 -1
- package/lib/cjs/color-picker/stories/color-picker-popover.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-action-on-select.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-action-on-select.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-actions.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-actions.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-async.story.js +2 -2
- package/lib/cjs/combobox/stories/combobox-async.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-disabled.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-disabled.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-fluid.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-fluid.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-hidden-label.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-hidden-label.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-in-popover-dialog.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-in-popover-dialog.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-in-popover.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-in-popover.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-native-form.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-native-form.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-sizes.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-sizes.story.js.map +1 -1
- package/lib/cjs/combobox/stories/combobox-validation.story.js +1 -1
- package/lib/cjs/combobox/stories/combobox-validation.story.js.map +1 -1
- package/lib/cjs/conditional-wrap/stories/conditional-wrap-default.story.js +1 -1
- package/lib/cjs/conditional-wrap/stories/conditional-wrap-default.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-compact-mode.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-compact-mode.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-component-overriding.story.js +2 -2
- package/lib/cjs/data-grid/stories/datagrid-component-overriding.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-in-dialog.story.js +2 -2
- package/lib/cjs/data-grid/stories/datagrid-in-dialog.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-keyboard-navigation.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-keyboard-navigation.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-kitchen-sink.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-kitchen-sink.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-percentage-width-columns.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-percentage-width-columns.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-pinned-columns.stories.js +3 -3
- package/lib/cjs/data-grid/stories/datagrid-pinned-columns.stories.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-placeholder-states.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-placeholder-states.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-resizable-column.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-resizable-column.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-rule-based-styling-datetime.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-rule-based-styling-datetime.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-rule-based-styling.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-rule-based-styling.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-search-and-filters.stories.js +5 -5
- package/lib/cjs/data-grid/stories/datagrid-search-and-filters.stories.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-simple.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-simple.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-single-selectable.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-single-selectable.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-skeleton-loading.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-skeleton-loading.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-sortable.story.js +1 -1
- package/lib/cjs/data-grid/stories/datagrid-sortable.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-using-editable-cells.story.js +2 -2
- package/lib/cjs/data-grid/stories/datagrid-using-editable-cells.story.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-virtualization.story.js +3 -3
- package/lib/cjs/data-grid/stories/datagrid-virtualization.story.js.map +1 -1
- package/lib/cjs/data-grid/style-rules/guard.js +47 -0
- package/lib/cjs/data-grid/style-rules/guard.js.map +1 -0
- package/lib/cjs/data-grid/style-rules/index.js +3 -19
- package/lib/cjs/data-grid/style-rules/index.js.map +1 -1
- package/lib/cjs/data-grid/style-rules/internal/schemas.js +213 -0
- package/lib/cjs/data-grid/style-rules/internal/schemas.js.map +1 -0
- package/lib/cjs/data-grid/style-rules/types.js +0 -205
- package/lib/cjs/data-grid/style-rules/types.js.map +1 -1
- package/lib/cjs/date-picker/DatePicker.js +8 -6
- package/lib/cjs/date-picker/DatePicker.js.map +1 -1
- package/lib/cjs/date-picker/stories/date-picker-in-dialog.story.js +1 -1
- package/lib/cjs/date-picker/stories/date-picker-in-dialog.story.js.map +1 -1
- package/lib/cjs/date-picker/stories/date-picker-in-popover-dialog.story.js +1 -1
- package/lib/cjs/date-picker/stories/date-picker-in-popover-dialog.story.js.map +1 -1
- package/lib/cjs/dialog/Dialog.js +1 -2
- package/lib/cjs/dialog/Dialog.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-danger.story.js +1 -1
- package/lib/cjs/dialog/stories/dialog-danger.story.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-default.story.js +1 -1
- package/lib/cjs/dialog/stories/dialog-default.story.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-image.story.js +1 -1
- package/lib/cjs/dialog/stories/dialog-image.story.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-info.story.js +1 -1
- package/lib/cjs/dialog/stories/dialog-info.story.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-top-aligned.story.js +2 -2
- package/lib/cjs/dialog/stories/dialog-top-aligned.story.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-variants.story.js +1 -1
- package/lib/cjs/dialog/stories/dialog-variants.story.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-warning.story.js +1 -1
- package/lib/cjs/dialog/stories/dialog-warning.story.js.map +1 -1
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js +1 -1
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -1
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js +1 -1
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -1
- package/lib/cjs/drawer/Drawer.js +7 -6
- package/lib/cjs/drawer/Drawer.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-full.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-full.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-not-closeable.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-not-closeable.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-overlay.story.js +1 -1
- package/lib/cjs/drawer/stories/drawer-overlay.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-portaled.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-portaled.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-push.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-push.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-resizable.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-resizable.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-right-side.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-right-side.story.js.map +1 -1
- package/lib/cjs/drawer/stories/drawer-scrollable.story.js +2 -2
- package/lib/cjs/drawer/stories/drawer-scrollable.story.js.map +1 -1
- package/lib/cjs/dropzone/stories/dropzone-full.story.js +3 -3
- package/lib/cjs/dropzone/stories/dropzone-full.story.js.map +1 -1
- package/lib/cjs/flex/stories/flex-default.story.js +1 -1
- package/lib/cjs/flex/stories/flex-default.story.js.map +1 -1
- package/lib/cjs/graph-label/stories/graph-label-color.story.js +1 -1
- package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -1
- package/lib/cjs/graph-label/stories/graph-label-sizes.story.js +1 -1
- package/lib/cjs/graph-label/stories/graph-label-sizes.story.js.map +1 -1
- package/lib/cjs/graph-label/stories/graph-label-types.story.js +1 -1
- package/lib/cjs/graph-label/stories/graph-label-types.story.js.map +1 -1
- package/lib/cjs/hooks/use-debounce-callback/index.js +6 -6
- package/lib/cjs/hooks/use-debounce-callback/index.js.map +1 -1
- package/lib/cjs/icon-button/stories/icon-button-sizes.story.js +1 -1
- package/lib/cjs/icon-button/stories/icon-button-sizes.story.js.map +1 -1
- package/lib/cjs/icon-button/stories/icon-button-tone.story.js +1 -1
- package/lib/cjs/icon-button/stories/icon-button-tone.story.js.map +1 -1
- package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js +1 -1
- package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -1
- package/lib/cjs/icon-button-base/IconButtonBase.js +1 -3
- package/lib/cjs/icon-button-base/IconButtonBase.js.map +1 -1
- package/lib/cjs/icons/generated/custom/index.js +3 -17
- package/lib/cjs/icons/generated/custom/index.js.map +1 -1
- package/lib/cjs/inline-edit/InlineEdit.js +3 -2
- package/lib/cjs/inline-edit/InlineEdit.js.map +1 -1
- package/lib/cjs/kbd/Kbd.js +0 -1
- package/lib/cjs/kbd/Kbd.js.map +1 -1
- package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js +1 -1
- package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -1
- package/lib/cjs/logo/stories/logo-black.story.js +1 -1
- package/lib/cjs/logo/stories/logo-black.story.js.map +1 -1
- package/lib/cjs/logo/stories/logo-default.story.js +1 -1
- package/lib/cjs/logo/stories/logo-default.story.js.map +1 -1
- package/lib/cjs/logo/stories/logo-icon.story.js +1 -1
- package/lib/cjs/logo/stories/logo-icon.story.js.map +1 -1
- package/lib/cjs/menu/Menu.js +2 -2
- package/lib/cjs/menu/Menu.js.map +1 -1
- package/lib/cjs/menu/menu-types.js.map +1 -1
- package/lib/cjs/menu/stories/menu-custom-items.story.js +1 -1
- package/lib/cjs/menu/stories/menu-custom-items.story.js.map +1 -1
- package/lib/cjs/menu/stories/menu-in-dialog.story.js +2 -2
- package/lib/cjs/menu/stories/menu-in-dialog.story.js.map +1 -1
- package/lib/cjs/menu/stories/menu-nested.story.js +1 -1
- package/lib/cjs/menu/stories/menu-nested.story.js.map +1 -1
- package/lib/cjs/menu/stories/menu-radio-and-normal.story.js +1 -1
- package/lib/cjs/menu/stories/menu-radio-and-normal.story.js.map +1 -1
- package/lib/cjs/menu/stories/menu-radio-items.story.js +1 -1
- package/lib/cjs/menu/stories/menu-radio-items.story.js.map +1 -1
- package/lib/cjs/menu/stories/menu-with-icon.story.js +1 -1
- package/lib/cjs/menu/stories/menu-with-icon.story.js.map +1 -1
- package/lib/cjs/next/tree-view/TreeView.js +3 -3
- package/lib/cjs/next/tree-view/TreeView.js.map +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-large.story.js +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-large.story.js.map +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-multiple-replace.story.js +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-multiple-replace.story.js.map +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-root-selection.story.js +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-root-selection.story.js.map +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-tooltip.story.js +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-tooltip.story.js.map +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-trailing.story.js +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-trailing.story.js.map +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-uncontrolled.story.js +1 -1
- package/lib/cjs/next/tree-view/stories/tree-view-uncontrolled.story.js.map +1 -1
- package/lib/cjs/popover/Popover.js +6 -6
- package/lib/cjs/popover/Popover.js.map +1 -1
- package/lib/cjs/popover/stories/popover-controlled.story.js +1 -1
- package/lib/cjs/popover/stories/popover-controlled.story.js.map +1 -1
- package/lib/cjs/popover/stories/popover-custom-offset.story.js +1 -1
- package/lib/cjs/popover/stories/popover-custom-offset.story.js.map +1 -1
- package/lib/cjs/popover/stories/popover-default.story.js +1 -1
- package/lib/cjs/popover/stories/popover-default.story.js.map +1 -1
- package/lib/cjs/popover/stories/popover-in-dialog.story.js +1 -1
- package/lib/cjs/popover/stories/popover-in-dialog.story.js.map +1 -1
- package/lib/cjs/popover/stories/popover-no-button-wrapper.story.js +1 -1
- package/lib/cjs/popover/stories/popover-no-button-wrapper.story.js.map +1 -1
- package/lib/cjs/popover/stories/popover-separate-anchor.story.js +1 -1
- package/lib/cjs/popover/stories/popover-separate-anchor.story.js.map +1 -1
- package/lib/cjs/popover/use-popover.js +7 -9
- package/lib/cjs/popover/use-popover.js.map +1 -1
- package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js +1 -1
- package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js.map +1 -1
- package/lib/cjs/radio/stories/radio-disabled.story.js +1 -1
- package/lib/cjs/radio/stories/radio-disabled.story.js.map +1 -1
- package/lib/cjs/radio/stories/radio-truncated-label.story.js +1 -1
- package/lib/cjs/radio/stories/radio-truncated-label.story.js.map +1 -1
- package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js +1 -1
- package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -1
- package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js +1 -1
- package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -1
- package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js +1 -1
- package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js.map +1 -1
- package/lib/cjs/select/stories/select-controlled.story.js +1 -1
- package/lib/cjs/select/stories/select-controlled.story.js.map +1 -1
- package/lib/cjs/select/stories/select-custom-label.story.js +1 -1
- package/lib/cjs/select/stories/select-custom-label.story.js.map +1 -1
- package/lib/cjs/select/stories/select-inside-dialog.story.js +1 -1
- package/lib/cjs/select/stories/select-inside-dialog.story.js.map +1 -1
- package/lib/cjs/select/stories/select-menu-positionings.story.js +1 -1
- package/lib/cjs/select/stories/select-menu-positionings.story.js.map +1 -1
- package/lib/cjs/select/stories/select-required.story.js +1 -1
- package/lib/cjs/select/stories/select-required.story.js.map +1 -1
- package/lib/cjs/select/stories/select-sizes.story.js +1 -1
- package/lib/cjs/select/stories/select-sizes.story.js.map +1 -1
- package/lib/cjs/select-icon-button/stories/select-icon-button-sizes.story.js +1 -1
- package/lib/cjs/select-icon-button/stories/select-icon-button-sizes.story.js.map +1 -1
- package/lib/cjs/select-icon-button/stories/select-icon-button-states.story.js +1 -1
- package/lib/cjs/select-icon-button/stories/select-icon-button-states.story.js.map +1 -1
- package/lib/cjs/selectable-tag/stories/selectable-tag-disabled.story.js +1 -1
- package/lib/cjs/selectable-tag/stories/selectable-tag-disabled.story.js.map +1 -1
- package/lib/cjs/selectable-tag/stories/selectable-tag-sizes.story.js +1 -1
- package/lib/cjs/selectable-tag/stories/selectable-tag-sizes.story.js.map +1 -1
- package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-badges.story.js +2 -2
- package/lib/cjs/side-navigation/stories/side-nav-badges.story.js.map +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-compact.story.js +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-compact.story.js.map +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-default.story.js +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-default.story.js.map +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-secondary.story.js +1 -1
- package/lib/cjs/side-navigation/stories/side-nav-secondary.story.js.map +1 -1
- package/lib/cjs/skeleton/stories/skeleton-circular.story.js +1 -1
- package/lib/cjs/skeleton/stories/skeleton-circular.story.js.map +1 -1
- package/lib/cjs/skeleton/stories/skeleton-default.story.js +1 -1
- package/lib/cjs/skeleton/stories/skeleton-default.story.js.map +1 -1
- package/lib/cjs/skeleton/stories/skeleton-full-example.story.js +1 -1
- package/lib/cjs/skeleton/stories/skeleton-full-example.story.js.map +1 -1
- package/lib/cjs/skeleton/stories/skeleton-inherit-height.story.js +1 -1
- package/lib/cjs/skeleton/stories/skeleton-inherit-height.story.js.map +1 -1
- package/lib/cjs/skeleton/stories/skeleton-inherit-width.story.js +1 -1
- package/lib/cjs/skeleton/stories/skeleton-inherit-width.story.js.map +1 -1
- package/lib/cjs/slider/Slider.js +3 -3
- package/lib/cjs/slider/Slider.js.map +1 -1
- package/lib/cjs/slider/stories/slider-custom-step-length.story.js +1 -1
- package/lib/cjs/slider/stories/slider-custom-step-length.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-range.story.js +1 -1
- package/lib/cjs/slider/stories/slider-range.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-show-steps.story.js +1 -1
- package/lib/cjs/slider/stories/slider-show-steps.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-show-values.story.js +1 -1
- package/lib/cjs/slider/stories/slider-show-values.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-single-controlled.story.js +2 -2
- package/lib/cjs/slider/stories/slider-single-controlled.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-single.story.js +1 -1
- package/lib/cjs/slider/stories/slider-single.story.js.map +1 -1
- package/lib/cjs/spotlight/Spotlight.js +3 -3
- package/lib/cjs/spotlight/Spotlight.js.map +1 -1
- package/lib/cjs/spotlight/SpotlightTarget.js +3 -3
- package/lib/cjs/spotlight/SpotlightTarget.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-fixed-positioning.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-fixed-positioning.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-in-dialog.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-in-dialog.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-in-side-nav.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-in-side-nav.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-on-tabs.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-on-tabs.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-tour.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-tour.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-icon.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-icon.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-image.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-image.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-label.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-label.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-pointer.story.js +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-pointer.story.js.map +1 -1
- package/lib/cjs/spotlight/use-spotlight.js +5 -5
- package/lib/cjs/spotlight/use-spotlight.js.map +1 -1
- package/lib/cjs/status-indicator/stories/status-indicator-variants.story.js +1 -1
- package/lib/cjs/status-indicator/stories/status-indicator-variants.story.js.map +1 -1
- package/lib/cjs/status-label/stories/status-label-colors.story.js +1 -1
- package/lib/cjs/status-label/stories/status-label-colors.story.js.map +1 -1
- package/lib/cjs/status-label/stories/status-label-fills.story.js +1 -1
- package/lib/cjs/status-label/stories/status-label-fills.story.js.map +1 -1
- package/lib/cjs/status-label/stories/status-label-with-icons.story.js +1 -1
- package/lib/cjs/status-label/stories/status-label-with-icons.story.js.map +1 -1
- package/lib/cjs/tabs/Tabs.js +2 -2
- package/lib/cjs/tabs/Tabs.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-badge.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-badge.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-default.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-disabled.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-overflow.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-overflow.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-sizes.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-with-icons.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -1
- package/lib/cjs/tag/stories/tag-sizes.story.js +1 -1
- package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -1
- package/lib/cjs/tag/stories/tag-types.story.js +1 -1
- package/lib/cjs/tag/stories/tag-types.story.js.map +1 -1
- package/lib/cjs/tag-base/stories/tag-variants.story.js +1 -1
- package/lib/cjs/tag-base/stories/tag-variants.story.js.map +1 -1
- package/lib/cjs/text-area/stories/text-area-sizes.story.js +1 -1
- package/lib/cjs/text-area/stories/text-area-sizes.story.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/cjs/text-input/stories/text-input-loading-spinner.story.js +1 -1
- package/lib/cjs/text-input/stories/text-input-loading-spinner.story.js.map +1 -1
- package/lib/cjs/text-input/stories/text-input-optional.story.js +1 -1
- package/lib/cjs/text-input/stories/text-input-optional.story.js.map +1 -1
- package/lib/cjs/text-input/stories/text-input-sizes.story.js +1 -1
- package/lib/cjs/text-input/stories/text-input-sizes.story.js.map +1 -1
- package/lib/cjs/text-link/TextLink.js +2 -6
- package/lib/cjs/text-link/TextLink.js.map +1 -1
- package/lib/cjs/text-link/stories/index.js +5 -17
- package/lib/cjs/text-link/stories/index.js.map +1 -1
- package/lib/cjs/text-link/stories/text-link-external.story.js +1 -1
- package/lib/cjs/text-link/stories/text-link-external.story.js.map +1 -1
- package/lib/cjs/text-link/stories/{text-link-internal-underline.story.js → text-link-internal.story.js} +2 -2
- package/lib/cjs/text-link/stories/text-link-internal.story.js.map +1 -0
- package/lib/cjs/time-picker/stories/time-picker-in-popover-dialog.story.js +1 -1
- package/lib/cjs/time-picker/stories/time-picker-in-popover-dialog.story.js.map +1 -1
- package/lib/cjs/timezone-picker/stories/timezone-picker-in-dialog.story.js +1 -1
- package/lib/cjs/timezone-picker/stories/timezone-picker-in-dialog.story.js.map +1 -1
- package/lib/cjs/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js +1 -1
- package/lib/cjs/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-action-story.js +1 -1
- package/lib/cjs/toast/stories/toast-action-story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-closeable-story.js +1 -1
- package/lib/cjs/toast/stories/toast-closeable-story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-controlled-story.js +1 -1
- package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-custom-story.js +1 -1
- package/lib/cjs/toast/stories/toast-custom-story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-danger-story.js +1 -1
- package/lib/cjs/toast/stories/toast-danger-story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-neutral-story.js +1 -1
- package/lib/cjs/toast/stories/toast-neutral-story.js.map +1 -1
- package/lib/cjs/toast/stories/toast-progress-bar.js +1 -1
- package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -1
- package/lib/cjs/toast/stories/toast-success-story.js +1 -1
- package/lib/cjs/toast/stories/toast-success-story.js.map +1 -1
- package/lib/cjs/tooltip/Tooltip.js.map +1 -1
- package/lib/cjs/tooltip/stories/tooltip-in-dialog.story.js +1 -1
- package/lib/cjs/tooltip/stories/tooltip-in-dialog.story.js.map +1 -1
- package/lib/cjs/tooltip/stories/tooltip-placements.story.js +1 -1
- package/lib/cjs/tooltip/stories/tooltip-placements.story.js.map +1 -1
- package/lib/cjs/tooltip/use-tooltip.js.map +1 -1
- package/lib/cjs/tree-view/TreeView.js +3 -0
- package/lib/cjs/tree-view/TreeView.js.map +1 -1
- package/lib/cjs/tree-view/TreeViewItem.js.map +1 -1
- package/lib/cjs/tree-view/stories/treeview-custom.story.js +2 -2
- package/lib/cjs/tree-view/stories/treeview-custom.story.js.map +1 -1
- package/lib/cjs/tree-view/tree-view-utils.js.map +1 -1
- package/lib/cjs/typography/Typography.js +7 -1
- package/lib/cjs/typography/Typography.js.map +1 -1
- package/lib/esm/_generated/style-rules/index.js +1 -1
- package/lib/esm/_generated/style-rules/index.js.map +1 -1
- package/lib/esm/_generated/style-rules/literal-guards.js +45 -0
- package/lib/esm/_generated/style-rules/literal-guards.js.map +1 -0
- package/lib/esm/_generated/style-rules/literal-schemas.js +6 -18
- package/lib/esm/_generated/style-rules/literal-schemas.js.map +1 -1
- package/lib/esm/{text-overflow/index.js → _generated/style-rules/literal-types.js} +8 -2
- package/lib/esm/_generated/style-rules/literal-types.js.map +1 -0
- package/lib/esm/_generated/style-rules/numeric-utils.js.map +1 -1
- package/lib/esm/_generated/style-rules/range-utils.js.map +1 -1
- package/lib/esm/ai/presence/stories/ai-presence-default.story.js +1 -1
- package/lib/esm/ai/presence/stories/ai-presence-default.story.js.map +1 -1
- package/lib/esm/ai/presence/stories/ai-presence-thinking.story.js +1 -1
- package/lib/esm/ai/presence/stories/ai-presence-thinking.story.js.map +1 -1
- package/lib/esm/ai/reasoning/Reasoning.js +1 -1
- package/lib/esm/ai/reasoning/Reasoning.js.map +1 -1
- package/lib/esm/ai/reasoning/stories/reasoning-full.story.js +1 -1
- package/lib/esm/ai/reasoning/stories/reasoning-full.story.js.map +1 -1
- package/lib/esm/ai/response/Response.js +57 -3
- package/lib/esm/ai/response/Response.js.map +1 -1
- package/lib/esm/ai/response/stories/response-fixtures.js +83 -0
- package/lib/esm/ai/response/stories/response-fixtures.js.map +1 -0
- package/lib/esm/ai/response/stories/response-full-example.story.js +3 -3
- package/lib/esm/ai/response/stories/response-full-example.story.js.map +1 -1
- package/lib/esm/ai/suggestion/stories/suggestion-sizes.story.js +1 -1
- package/lib/esm/ai/suggestion/stories/suggestion-sizes.story.js.map +1 -1
- package/lib/esm/ai/user-bubble/stories/user-bubble-and-files.story.js +1 -1
- package/lib/esm/ai/user-bubble/stories/user-bubble-and-files.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-custom-icon.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-custom-icon.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-shapes.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-shapes.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-sizes.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-sizes.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-statuses.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-statuses.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-types.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-types.story.js.map +1 -1
- package/lib/esm/banner/stories/banner-variants.story.js +1 -1
- package/lib/esm/banner/stories/banner-variants.story.js.map +1 -1
- package/lib/esm/banner/stories/banner-with-icons.story.js +1 -1
- package/lib/esm/banner/stories/banner-with-icons.story.js.map +1 -1
- package/lib/esm/breadcrumbs/stories/breadcrumbs-header.story.js +1 -1
- package/lib/esm/breadcrumbs/stories/breadcrumbs-header.story.js.map +1 -1
- package/lib/esm/button/ButtonBase.js +1 -3
- package/lib/esm/button/ButtonBase.js.map +1 -1
- package/lib/esm/button/stories/button-sizes.story.js +1 -1
- package/lib/esm/button/stories/button-sizes.story.js.map +1 -1
- package/lib/esm/button/stories/button-variants.story.js +1 -1
- package/lib/esm/button/stories/button-variants.story.js.map +1 -1
- package/lib/esm/checkbox/stories/checkbox-full.story.js +2 -2
- package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js +1 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js.map +1 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button-sizes.story.js +1 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button-sizes.story.js.map +1 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button-tone.story.js +1 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button-tone.story.js.map +1 -1
- package/lib/esm/clipboard-button/stories/clipboard-button-sizes.story.js +1 -1
- package/lib/esm/clipboard-button/stories/clipboard-button-sizes.story.js.map +1 -1
- package/lib/esm/code-block/CodeBlock.js +3 -7
- package/lib/esm/code-block/CodeBlock.js.map +1 -1
- package/lib/esm/code-block/stories/code-disabled.story.js +2 -2
- package/lib/esm/code-block/stories/code-disabled.story.js.map +1 -1
- package/lib/esm/code-block/stories/code-full.story.js +2 -2
- package/lib/esm/code-block/stories/code-full.story.js.map +1 -1
- package/lib/esm/code-block/stories/code-languages.story.js +1 -1
- package/lib/esm/code-block/stories/code-languages.story.js.map +1 -1
- package/lib/esm/code-block/stories/code-with-actions.story.js +2 -2
- package/lib/esm/code-block/stories/code-with-actions.story.js.map +1 -1
- package/lib/esm/color-picker/ColorPicker.js +0 -3
- package/lib/esm/color-picker/ColorPicker.js.map +1 -1
- package/lib/esm/color-picker/stories/color-picker-dialog.story.js +1 -1
- package/lib/esm/color-picker/stories/color-picker-dialog.story.js.map +1 -1
- package/lib/esm/color-picker/stories/color-picker-popover.story.js +1 -1
- package/lib/esm/color-picker/stories/color-picker-popover.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-action-on-select.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-action-on-select.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-actions.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-actions.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-async.story.js +2 -2
- package/lib/esm/combobox/stories/combobox-async.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-disabled.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-disabled.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-fluid.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-fluid.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-hidden-label.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-hidden-label.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-in-popover-dialog.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-in-popover-dialog.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-in-popover.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-in-popover.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-native-form.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-native-form.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-sizes.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-sizes.story.js.map +1 -1
- package/lib/esm/combobox/stories/combobox-validation.story.js +1 -1
- package/lib/esm/combobox/stories/combobox-validation.story.js.map +1 -1
- package/lib/esm/conditional-wrap/stories/conditional-wrap-default.story.js +1 -1
- package/lib/esm/conditional-wrap/stories/conditional-wrap-default.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-compact-mode.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-compact-mode.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-component-overriding.story.js +2 -2
- package/lib/esm/data-grid/stories/datagrid-component-overriding.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-in-dialog.story.js +2 -2
- package/lib/esm/data-grid/stories/datagrid-in-dialog.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-keyboard-navigation.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-keyboard-navigation.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-kitchen-sink.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-kitchen-sink.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-percentage-width-columns.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-percentage-width-columns.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-pinned-columns.stories.js +3 -3
- package/lib/esm/data-grid/stories/datagrid-pinned-columns.stories.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-placeholder-states.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-placeholder-states.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-resizable-column.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-resizable-column.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-rule-based-styling-datetime.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-rule-based-styling-datetime.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-rule-based-styling.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-rule-based-styling.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-search-and-filters.stories.js +5 -5
- package/lib/esm/data-grid/stories/datagrid-search-and-filters.stories.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-simple.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-simple.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-single-selectable.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-single-selectable.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-skeleton-loading.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-skeleton-loading.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-sortable.story.js +1 -1
- package/lib/esm/data-grid/stories/datagrid-sortable.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-using-editable-cells.story.js +2 -2
- package/lib/esm/data-grid/stories/datagrid-using-editable-cells.story.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-virtualization.story.js +3 -3
- package/lib/esm/data-grid/stories/datagrid-virtualization.story.js.map +1 -1
- package/lib/esm/data-grid/style-rules/guard.js +43 -0
- package/lib/esm/data-grid/style-rules/guard.js.map +1 -0
- package/lib/esm/data-grid/style-rules/index.js +1 -3
- package/lib/esm/data-grid/style-rules/index.js.map +1 -1
- package/lib/esm/data-grid/style-rules/internal/schemas.js +210 -0
- package/lib/esm/data-grid/style-rules/internal/schemas.js.map +1 -0
- package/lib/esm/data-grid/style-rules/types.js +1 -203
- package/lib/esm/data-grid/style-rules/types.js.map +1 -1
- package/lib/esm/date-picker/DatePicker.js +8 -6
- package/lib/esm/date-picker/DatePicker.js.map +1 -1
- package/lib/esm/date-picker/stories/date-picker-in-dialog.story.js +1 -1
- package/lib/esm/date-picker/stories/date-picker-in-dialog.story.js.map +1 -1
- package/lib/esm/date-picker/stories/date-picker-in-popover-dialog.story.js +1 -1
- package/lib/esm/date-picker/stories/date-picker-in-popover-dialog.story.js.map +1 -1
- package/lib/esm/dialog/Dialog.js +1 -2
- package/lib/esm/dialog/Dialog.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-danger.story.js +1 -1
- package/lib/esm/dialog/stories/dialog-danger.story.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-default.story.js +1 -1
- package/lib/esm/dialog/stories/dialog-default.story.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-image.story.js +1 -1
- package/lib/esm/dialog/stories/dialog-image.story.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-info.story.js +1 -1
- package/lib/esm/dialog/stories/dialog-info.story.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-top-aligned.story.js +2 -2
- package/lib/esm/dialog/stories/dialog-top-aligned.story.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-variants.story.js +1 -1
- package/lib/esm/dialog/stories/dialog-variants.story.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-warning.story.js +1 -1
- package/lib/esm/dialog/stories/dialog-warning.story.js.map +1 -1
- package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js +1 -1
- package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -1
- package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js +1 -1
- package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -1
- package/lib/esm/drawer/Drawer.js +7 -6
- package/lib/esm/drawer/Drawer.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-full.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-full.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-not-closeable.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-not-closeable.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-overlay.story.js +1 -1
- package/lib/esm/drawer/stories/drawer-overlay.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-portaled.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-portaled.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-push.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-push.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-resizable.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-resizable.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-right-side.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-right-side.story.js.map +1 -1
- package/lib/esm/drawer/stories/drawer-scrollable.story.js +2 -2
- package/lib/esm/drawer/stories/drawer-scrollable.story.js.map +1 -1
- package/lib/esm/dropzone/stories/dropzone-full.story.js +3 -3
- package/lib/esm/dropzone/stories/dropzone-full.story.js.map +1 -1
- package/lib/esm/flex/stories/flex-default.story.js +1 -1
- package/lib/esm/flex/stories/flex-default.story.js.map +1 -1
- package/lib/esm/graph-label/stories/graph-label-color.story.js +1 -1
- package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -1
- package/lib/esm/graph-label/stories/graph-label-sizes.story.js +1 -1
- package/lib/esm/graph-label/stories/graph-label-sizes.story.js.map +1 -1
- package/lib/esm/graph-label/stories/graph-label-types.story.js +1 -1
- package/lib/esm/graph-label/stories/graph-label-types.story.js.map +1 -1
- package/lib/esm/hooks/use-debounce-callback/index.js +6 -6
- package/lib/esm/hooks/use-debounce-callback/index.js.map +1 -1
- package/lib/esm/icon-button/stories/icon-button-sizes.story.js +1 -1
- package/lib/esm/icon-button/stories/icon-button-sizes.story.js.map +1 -1
- package/lib/esm/icon-button/stories/icon-button-tone.story.js +1 -1
- package/lib/esm/icon-button/stories/icon-button-tone.story.js.map +1 -1
- package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js +1 -1
- package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -1
- package/lib/esm/icon-button-base/IconButtonBase.js +1 -3
- package/lib/esm/icon-button-base/IconButtonBase.js.map +1 -1
- package/lib/esm/icons/generated/custom/index.js +0 -7
- package/lib/esm/icons/generated/custom/index.js.map +1 -1
- package/lib/esm/inline-edit/InlineEdit.js +3 -2
- package/lib/esm/inline-edit/InlineEdit.js.map +1 -1
- package/lib/esm/kbd/Kbd.js +0 -1
- package/lib/esm/kbd/Kbd.js.map +1 -1
- package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js +1 -1
- package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -1
- package/lib/esm/logo/stories/logo-black.story.js +1 -1
- package/lib/esm/logo/stories/logo-black.story.js.map +1 -1
- package/lib/esm/logo/stories/logo-default.story.js +1 -1
- package/lib/esm/logo/stories/logo-default.story.js.map +1 -1
- package/lib/esm/logo/stories/logo-icon.story.js +1 -1
- package/lib/esm/logo/stories/logo-icon.story.js.map +1 -1
- package/lib/esm/menu/Menu.js +2 -2
- package/lib/esm/menu/Menu.js.map +1 -1
- package/lib/esm/menu/menu-types.js.map +1 -1
- package/lib/esm/menu/stories/menu-custom-items.story.js +1 -1
- package/lib/esm/menu/stories/menu-custom-items.story.js.map +1 -1
- package/lib/esm/menu/stories/menu-in-dialog.story.js +2 -2
- package/lib/esm/menu/stories/menu-in-dialog.story.js.map +1 -1
- package/lib/esm/menu/stories/menu-nested.story.js +1 -1
- package/lib/esm/menu/stories/menu-nested.story.js.map +1 -1
- package/lib/esm/menu/stories/menu-radio-and-normal.story.js +1 -1
- package/lib/esm/menu/stories/menu-radio-and-normal.story.js.map +1 -1
- package/lib/esm/menu/stories/menu-radio-items.story.js +1 -1
- package/lib/esm/menu/stories/menu-radio-items.story.js.map +1 -1
- package/lib/esm/menu/stories/menu-with-icon.story.js +1 -1
- package/lib/esm/menu/stories/menu-with-icon.story.js.map +1 -1
- package/lib/esm/next/tree-view/TreeView.js +3 -3
- package/lib/esm/next/tree-view/TreeView.js.map +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-large.story.js +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-large.story.js.map +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-multiple-replace.story.js +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-multiple-replace.story.js.map +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-root-selection.story.js +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-root-selection.story.js.map +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-tooltip.story.js +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-tooltip.story.js.map +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-trailing.story.js +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-trailing.story.js.map +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-uncontrolled.story.js +1 -1
- package/lib/esm/next/tree-view/stories/tree-view-uncontrolled.story.js.map +1 -1
- package/lib/esm/popover/Popover.js +6 -6
- package/lib/esm/popover/Popover.js.map +1 -1
- package/lib/esm/popover/stories/popover-controlled.story.js +1 -1
- package/lib/esm/popover/stories/popover-controlled.story.js.map +1 -1
- package/lib/esm/popover/stories/popover-custom-offset.story.js +1 -1
- package/lib/esm/popover/stories/popover-custom-offset.story.js.map +1 -1
- package/lib/esm/popover/stories/popover-default.story.js +1 -1
- package/lib/esm/popover/stories/popover-default.story.js.map +1 -1
- package/lib/esm/popover/stories/popover-in-dialog.story.js +1 -1
- package/lib/esm/popover/stories/popover-in-dialog.story.js.map +1 -1
- package/lib/esm/popover/stories/popover-no-button-wrapper.story.js +1 -1
- package/lib/esm/popover/stories/popover-no-button-wrapper.story.js.map +1 -1
- package/lib/esm/popover/stories/popover-separate-anchor.story.js +1 -1
- package/lib/esm/popover/stories/popover-separate-anchor.story.js.map +1 -1
- package/lib/esm/popover/use-popover.js +7 -9
- package/lib/esm/popover/use-popover.js.map +1 -1
- package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js +1 -1
- package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js.map +1 -1
- package/lib/esm/radio/stories/radio-disabled.story.js +1 -1
- package/lib/esm/radio/stories/radio-disabled.story.js.map +1 -1
- package/lib/esm/radio/stories/radio-truncated-label.story.js +1 -1
- package/lib/esm/radio/stories/radio-truncated-label.story.js.map +1 -1
- package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js +1 -1
- package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -1
- package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js +1 -1
- package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -1
- package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js +1 -1
- package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js.map +1 -1
- package/lib/esm/select/stories/select-controlled.story.js +1 -1
- package/lib/esm/select/stories/select-controlled.story.js.map +1 -1
- package/lib/esm/select/stories/select-custom-label.story.js +1 -1
- package/lib/esm/select/stories/select-custom-label.story.js.map +1 -1
- package/lib/esm/select/stories/select-inside-dialog.story.js +1 -1
- package/lib/esm/select/stories/select-inside-dialog.story.js.map +1 -1
- package/lib/esm/select/stories/select-menu-positionings.story.js +1 -1
- package/lib/esm/select/stories/select-menu-positionings.story.js.map +1 -1
- package/lib/esm/select/stories/select-required.story.js +1 -1
- package/lib/esm/select/stories/select-required.story.js.map +1 -1
- package/lib/esm/select/stories/select-sizes.story.js +1 -1
- package/lib/esm/select/stories/select-sizes.story.js.map +1 -1
- package/lib/esm/select-icon-button/stories/select-icon-button-sizes.story.js +1 -1
- package/lib/esm/select-icon-button/stories/select-icon-button-sizes.story.js.map +1 -1
- package/lib/esm/select-icon-button/stories/select-icon-button-states.story.js +1 -1
- package/lib/esm/select-icon-button/stories/select-icon-button-states.story.js.map +1 -1
- package/lib/esm/selectable-tag/stories/selectable-tag-disabled.story.js +1 -1
- package/lib/esm/selectable-tag/stories/selectable-tag-disabled.story.js.map +1 -1
- package/lib/esm/selectable-tag/stories/selectable-tag-sizes.story.js +1 -1
- package/lib/esm/selectable-tag/stories/selectable-tag-sizes.story.js.map +1 -1
- package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
- package/lib/esm/side-navigation/stories/side-nav-badges.story.js +2 -2
- package/lib/esm/side-navigation/stories/side-nav-badges.story.js.map +1 -1
- package/lib/esm/side-navigation/stories/side-nav-compact.story.js +1 -1
- package/lib/esm/side-navigation/stories/side-nav-compact.story.js.map +1 -1
- package/lib/esm/side-navigation/stories/side-nav-default.story.js +1 -1
- package/lib/esm/side-navigation/stories/side-nav-default.story.js.map +1 -1
- package/lib/esm/side-navigation/stories/side-nav-secondary.story.js +1 -1
- package/lib/esm/side-navigation/stories/side-nav-secondary.story.js.map +1 -1
- package/lib/esm/skeleton/stories/skeleton-circular.story.js +1 -1
- package/lib/esm/skeleton/stories/skeleton-circular.story.js.map +1 -1
- package/lib/esm/skeleton/stories/skeleton-default.story.js +1 -1
- package/lib/esm/skeleton/stories/skeleton-default.story.js.map +1 -1
- package/lib/esm/skeleton/stories/skeleton-full-example.story.js +1 -1
- package/lib/esm/skeleton/stories/skeleton-full-example.story.js.map +1 -1
- package/lib/esm/skeleton/stories/skeleton-inherit-height.story.js +1 -1
- package/lib/esm/skeleton/stories/skeleton-inherit-height.story.js.map +1 -1
- package/lib/esm/skeleton/stories/skeleton-inherit-width.story.js +1 -1
- package/lib/esm/skeleton/stories/skeleton-inherit-width.story.js.map +1 -1
- package/lib/esm/slider/Slider.js +3 -3
- package/lib/esm/slider/Slider.js.map +1 -1
- package/lib/esm/slider/stories/slider-custom-step-length.story.js +1 -1
- package/lib/esm/slider/stories/slider-custom-step-length.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-range.story.js +1 -1
- package/lib/esm/slider/stories/slider-range.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-show-steps.story.js +1 -1
- package/lib/esm/slider/stories/slider-show-steps.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-show-values.story.js +1 -1
- package/lib/esm/slider/stories/slider-show-values.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-single-controlled.story.js +2 -2
- package/lib/esm/slider/stories/slider-single-controlled.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-single.story.js +1 -1
- package/lib/esm/slider/stories/slider-single.story.js.map +1 -1
- package/lib/esm/spotlight/Spotlight.js +3 -3
- package/lib/esm/spotlight/Spotlight.js.map +1 -1
- package/lib/esm/spotlight/SpotlightTarget.js +3 -3
- package/lib/esm/spotlight/SpotlightTarget.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-fixed-positioning.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-fixed-positioning.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-in-dialog.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-in-dialog.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-in-side-nav.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-in-side-nav.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-on-tabs.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-on-tabs.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-tour.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-tour.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-icon.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-icon.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-image.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-image.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-label.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-label.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-pointer.story.js +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-pointer.story.js.map +1 -1
- package/lib/esm/spotlight/use-spotlight.js +5 -5
- package/lib/esm/spotlight/use-spotlight.js.map +1 -1
- package/lib/esm/status-indicator/stories/status-indicator-variants.story.js +1 -1
- package/lib/esm/status-indicator/stories/status-indicator-variants.story.js.map +1 -1
- package/lib/esm/status-label/stories/status-label-colors.story.js +1 -1
- package/lib/esm/status-label/stories/status-label-colors.story.js.map +1 -1
- package/lib/esm/status-label/stories/status-label-fills.story.js +1 -1
- package/lib/esm/status-label/stories/status-label-fills.story.js.map +1 -1
- package/lib/esm/status-label/stories/status-label-with-icons.story.js +1 -1
- package/lib/esm/status-label/stories/status-label-with-icons.story.js.map +1 -1
- package/lib/esm/tabs/Tabs.js +2 -2
- package/lib/esm/tabs/Tabs.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-badge.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-badge.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-default.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-disabled.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-fill-variants.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-overflow.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-overflow.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-sizes.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-with-icons.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -1
- package/lib/esm/tag/stories/tag-sizes.story.js +1 -1
- package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -1
- package/lib/esm/tag/stories/tag-types.story.js +1 -1
- package/lib/esm/tag/stories/tag-types.story.js.map +1 -1
- package/lib/esm/tag-base/stories/tag-variants.story.js +1 -1
- package/lib/esm/tag-base/stories/tag-variants.story.js.map +1 -1
- package/lib/esm/text-area/stories/text-area-sizes.story.js +1 -1
- package/lib/esm/text-area/stories/text-area-sizes.story.js.map +1 -1
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/esm/text-input/stories/text-input-loading-spinner.story.js +1 -1
- package/lib/esm/text-input/stories/text-input-loading-spinner.story.js.map +1 -1
- package/lib/esm/text-input/stories/text-input-optional.story.js +1 -1
- package/lib/esm/text-input/stories/text-input-optional.story.js.map +1 -1
- package/lib/esm/text-input/stories/text-input-sizes.story.js +1 -1
- package/lib/esm/text-input/stories/text-input-sizes.story.js.map +1 -1
- package/lib/esm/text-link/TextLink.js +2 -6
- package/lib/esm/text-link/TextLink.js.map +1 -1
- package/lib/esm/text-link/stories/index.js +3 -12
- package/lib/esm/text-link/stories/index.js.map +1 -1
- package/lib/esm/text-link/stories/text-link-external.story.js +3 -3
- package/lib/esm/text-link/stories/text-link-external.story.js.map +1 -1
- package/lib/esm/text-link/stories/{text-link-internal-underline.story.js → text-link-internal.story.js} +2 -2
- package/lib/esm/text-link/stories/text-link-internal.story.js.map +1 -0
- package/lib/esm/time-picker/stories/time-picker-in-popover-dialog.story.js +1 -1
- package/lib/esm/time-picker/stories/time-picker-in-popover-dialog.story.js.map +1 -1
- package/lib/esm/timezone-picker/stories/timezone-picker-in-dialog.story.js +1 -1
- package/lib/esm/timezone-picker/stories/timezone-picker-in-dialog.story.js.map +1 -1
- package/lib/esm/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js +1 -1
- package/lib/esm/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js.map +1 -1
- package/lib/esm/toast/stories/toast-action-story.js +1 -1
- package/lib/esm/toast/stories/toast-action-story.js.map +1 -1
- package/lib/esm/toast/stories/toast-closeable-story.js +1 -1
- package/lib/esm/toast/stories/toast-closeable-story.js.map +1 -1
- package/lib/esm/toast/stories/toast-controlled-story.js +1 -1
- package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -1
- package/lib/esm/toast/stories/toast-custom-story.js +1 -1
- package/lib/esm/toast/stories/toast-custom-story.js.map +1 -1
- package/lib/esm/toast/stories/toast-danger-story.js +1 -1
- package/lib/esm/toast/stories/toast-danger-story.js.map +1 -1
- package/lib/esm/toast/stories/toast-neutral-story.js +1 -1
- package/lib/esm/toast/stories/toast-neutral-story.js.map +1 -1
- package/lib/esm/toast/stories/toast-progress-bar.js +1 -1
- package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -1
- package/lib/esm/toast/stories/toast-success-story.js +1 -1
- package/lib/esm/toast/stories/toast-success-story.js.map +1 -1
- package/lib/esm/tooltip/Tooltip.js.map +1 -1
- package/lib/esm/tooltip/stories/tooltip-in-dialog.story.js +1 -1
- package/lib/esm/tooltip/stories/tooltip-in-dialog.story.js.map +1 -1
- package/lib/esm/tooltip/stories/tooltip-placements.story.js +1 -1
- package/lib/esm/tooltip/stories/tooltip-placements.story.js.map +1 -1
- package/lib/esm/tooltip/use-tooltip.js.map +1 -1
- package/lib/esm/tree-view/TreeView.js +3 -0
- package/lib/esm/tree-view/TreeView.js.map +1 -1
- package/lib/esm/tree-view/TreeViewItem.js.map +1 -1
- package/lib/esm/tree-view/stories/treeview-custom.story.js +2 -2
- package/lib/esm/tree-view/stories/treeview-custom.story.js.map +1 -1
- package/lib/esm/tree-view/tree-view-utils.js.map +1 -1
- package/lib/esm/typography/Typography.js +7 -1
- package/lib/esm/typography/Typography.js.map +1 -1
- package/lib/types/_generated/style-rules/index.d.ts +2 -2
- package/lib/types/_generated/style-rules/index.d.ts.map +1 -1
- package/lib/{cjs/text-link/stories/text-link-default.story.js → types/_generated/style-rules/literal-guards.d.ts} +8 -10
- package/lib/types/_generated/style-rules/literal-guards.d.ts.map +1 -0
- package/lib/types/_generated/style-rules/literal-schemas.d.ts +0 -12
- package/lib/types/_generated/style-rules/literal-schemas.d.ts.map +1 -1
- package/lib/types/_generated/style-rules/literal-types.d.ts +80 -0
- package/lib/types/_generated/style-rules/literal-types.d.ts.map +1 -0
- package/lib/types/_generated/style-rules/numeric-utils.d.ts +1 -1
- package/lib/types/_generated/style-rules/numeric-utils.d.ts.map +1 -1
- package/lib/types/_generated/style-rules/range-utils.d.ts +1 -1
- package/lib/types/_generated/style-rules/range-utils.d.ts.map +1 -1
- package/lib/types/ai/reasoning/Reasoning.d.ts +1 -10
- package/lib/types/ai/reasoning/Reasoning.d.ts.map +1 -1
- package/lib/types/ai/reasoning/stories/reasoning-full.story.d.ts.map +1 -1
- package/lib/types/ai/response/Response.d.ts.map +1 -1
- package/lib/types/ai/response/stories/response-fixtures.d.ts +37 -0
- package/lib/types/ai/response/stories/response-fixtures.d.ts.map +1 -0
- package/lib/types/button/ButtonBase.d.ts.map +1 -1
- package/lib/types/code-block/CodeBlock.d.ts +2 -2
- package/lib/types/code-block/CodeBlock.d.ts.map +1 -1
- package/lib/types/color-picker/ColorPicker.d.ts.map +1 -1
- package/lib/types/data-grid/style-rules/guard.d.ts +43 -0
- package/lib/types/data-grid/style-rules/guard.d.ts.map +1 -0
- package/lib/types/data-grid/style-rules/index.d.ts +1 -2
- package/lib/types/data-grid/style-rules/index.d.ts.map +1 -1
- package/lib/types/data-grid/style-rules/internal/schemas.d.ts +321 -0
- package/lib/types/data-grid/style-rules/internal/schemas.d.ts.map +1 -0
- package/lib/types/data-grid/style-rules/types.d.ts +60 -284
- package/lib/types/data-grid/style-rules/types.d.ts.map +1 -1
- package/lib/types/date-picker/DatePicker.d.ts.map +1 -1
- package/lib/types/dialog/Dialog.d.ts.map +1 -1
- package/lib/types/drawer/Drawer.d.ts +7 -13
- package/lib/types/drawer/Drawer.d.ts.map +1 -1
- package/lib/types/drawer/stories/drawer-overlay.story.d.ts.map +1 -1
- package/lib/types/dropzone/stories/dropzone-full.story.d.ts.map +1 -1
- package/lib/types/hooks/use-debounce-callback/index.d.ts +2 -2
- package/lib/types/hooks/use-debounce-callback/index.d.ts.map +1 -1
- package/lib/types/icon-button-base/IconButtonBase.d.ts.map +1 -1
- package/lib/types/icons/generated/custom/index.d.ts +0 -7
- package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
- package/lib/types/inline-edit/InlineEdit.d.ts +6 -1
- package/lib/types/inline-edit/InlineEdit.d.ts.map +1 -1
- package/lib/types/kbd/Kbd.d.ts +1 -1
- package/lib/types/kbd/Kbd.d.ts.map +1 -1
- package/lib/types/menu/Menu.d.ts +1 -1
- package/lib/types/menu/Menu.d.ts.map +1 -1
- package/lib/types/menu/menu-types.d.ts +2 -2
- package/lib/types/menu/menu-types.d.ts.map +1 -1
- package/lib/types/next/tree-view/TreeView.d.ts +2 -2
- package/lib/types/next/tree-view/TreeView.d.ts.map +1 -1
- package/lib/types/popover/Popover.d.ts +15 -12
- package/lib/types/popover/Popover.d.ts.map +1 -1
- package/lib/types/popover/stories/popover-controlled.story.d.ts.map +1 -1
- package/lib/types/popover/stories/popover-default.story.d.ts.map +1 -1
- package/lib/types/popover/stories/popover-no-button-wrapper.story.d.ts.map +1 -1
- package/lib/types/popover/use-popover.d.ts +14 -9
- package/lib/types/popover/use-popover.d.ts.map +1 -1
- package/lib/types/side-navigation/SideNavigation.d.ts.map +1 -1
- package/lib/types/slider/Slider.d.ts +3 -3
- package/lib/types/slider/Slider.d.ts.map +1 -1
- package/lib/types/spotlight/Spotlight.d.ts +2 -2
- package/lib/types/spotlight/Spotlight.d.ts.map +1 -1
- package/lib/types/spotlight/SpotlightTarget.d.ts +3 -3
- package/lib/types/spotlight/SpotlightTarget.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-tour.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-with-image.story.d.ts.map +1 -1
- package/lib/types/spotlight/use-spotlight.d.ts +4 -4
- package/lib/types/spotlight/use-spotlight.d.ts.map +1 -1
- package/lib/types/tabs/Tabs.d.ts +3 -1
- package/lib/types/tabs/Tabs.d.ts.map +1 -1
- package/lib/types/text-link/TextLink.d.ts +2 -13
- package/lib/types/text-link/TextLink.d.ts.map +1 -1
- package/lib/types/text-link/stories/index.d.ts +2 -8
- package/lib/types/text-link/stories/index.d.ts.map +1 -1
- package/lib/types/text-link/stories/text-link-external.story.d.ts.map +1 -1
- package/lib/types/{text-overflow/stories/character-limit.story.d.ts → text-link/stories/text-link-internal.story.d.ts} +1 -1
- package/lib/types/text-link/stories/text-link-internal.story.d.ts.map +1 -0
- package/lib/types/tooltip/Tooltip.d.ts +0 -1
- package/lib/types/tooltip/Tooltip.d.ts.map +1 -1
- package/lib/types/tooltip/use-tooltip.d.ts.map +1 -1
- package/lib/types/tree-view/TreeView.d.ts +3 -0
- package/lib/types/tree-view/TreeView.d.ts.map +1 -1
- package/lib/types/tree-view/TreeViewItem.d.ts.map +1 -1
- package/lib/types/tree-view/tree-view-utils.d.ts.map +1 -1
- package/lib/types/typography/Typography.d.ts +6 -0
- package/lib/types/typography/Typography.d.ts.map +1 -1
- package/package.json +5 -4
- package/skills/ndl-react/SKILL.md +21 -19
- package/skills/ndl-react/components/ai/presence.md +3 -3
- package/skills/ndl-react/components/ai/reasoning.md +2 -6
- package/skills/ndl-react/components/ai/response.md +17 -17
- package/skills/ndl-react/components/ai/suggestion.md +1 -1
- package/skills/ndl-react/components/ai/user-bubble.md +2 -2
- package/skills/ndl-react/components/announcement-banner.md +10 -10
- package/skills/ndl-react/components/avatar.md +5 -5
- package/skills/ndl-react/components/banner.md +2 -2
- package/skills/ndl-react/components/breadcrumbs.md +3 -3
- package/skills/ndl-react/components/checkbox.md +4 -4
- package/skills/ndl-react/components/clean-icon-button.md +17 -17
- package/skills/ndl-react/components/clipboard-button.md +1 -1
- package/skills/ndl-react/components/code-block.md +8 -9
- package/skills/ndl-react/components/color-picker.md +3 -3
- package/skills/ndl-react/components/combobox.md +20 -20
- package/skills/ndl-react/components/conditional-wrap.md +1 -1
- package/skills/ndl-react/components/data-grid.md +28 -28
- package/skills/ndl-react/components/date-picker.md +3 -3
- package/skills/ndl-react/components/dialog.md +9 -9
- package/skills/ndl-react/components/dismissible-tag.md +2 -2
- package/skills/ndl-react/components/drawer.md +39 -37
- package/skills/ndl-react/components/dropzone.md +10 -13
- package/skills/ndl-react/components/flex.md +1 -1
- package/skills/ndl-react/components/graph-label.md +3 -3
- package/skills/ndl-react/components/icon-button-array.md +1 -1
- package/skills/ndl-react/components/icon-button.md +7 -7
- package/skills/ndl-react/components/inline-edit.md +4 -1
- package/skills/ndl-react/components/loading-spinner.md +1 -1
- package/skills/ndl-react/components/logo.md +3 -3
- package/skills/ndl-react/components/menu.md +14 -14
- package/skills/ndl-react/components/next/tree-view.md +18 -18
- package/skills/ndl-react/components/popover.md +15 -21
- package/skills/ndl-react/components/progress-bar.md +1 -1
- package/skills/ndl-react/components/radio.md +2 -2
- package/skills/ndl-react/components/read-only-tag.md +2 -2
- package/skills/ndl-react/components/segmented-control.md +1 -1
- package/skills/ndl-react/components/select-icon-button.md +8 -8
- package/skills/ndl-react/components/select.md +8 -8
- package/skills/ndl-react/components/selectable-tag.md +2 -2
- package/skills/ndl-react/components/side-navigation.md +19 -19
- package/skills/ndl-react/components/skeleton.md +13 -13
- package/skills/ndl-react/components/slider.md +13 -13
- package/skills/ndl-react/components/spotlight.md +43 -27
- package/skills/ndl-react/components/status-indicator.md +6 -6
- package/skills/ndl-react/components/status-label.md +3 -3
- package/skills/ndl-react/components/tabs.md +21 -20
- package/skills/ndl-react/components/tag.md +2 -2
- package/skills/ndl-react/components/text-area.md +1 -1
- package/skills/ndl-react/components/text-input.md +3 -3
- package/skills/ndl-react/components/text-link.md +12 -63
- package/skills/ndl-react/components/time-picker.md +2 -2
- package/skills/ndl-react/components/timezone-picker.md +4 -4
- package/skills/ndl-react/components/tooltip.md +3 -3
- package/skills/ndl-react/components/tree-view.md +6 -4
- package/skills/ndl-react/components/typography.md +4 -0
- package/skills/ndl-react/references/styling.md +56 -48
- package/lib/cjs/icons/generated/custom/AddNode.js +0 -31
- package/lib/cjs/icons/generated/custom/AddNode.js.map +0 -1
- package/lib/cjs/icons/generated/custom/PanelBottom.js +0 -31
- package/lib/cjs/icons/generated/custom/PanelBottom.js.map +0 -1
- package/lib/cjs/icons/generated/custom/PanelLeft.js +0 -31
- package/lib/cjs/icons/generated/custom/PanelLeft.js.map +0 -1
- package/lib/cjs/icons/generated/custom/PanelLeftCollapsed.js +0 -31
- package/lib/cjs/icons/generated/custom/PanelLeftCollapsed.js.map +0 -1
- package/lib/cjs/icons/generated/custom/PanelLeftExpanded.js +0 -31
- package/lib/cjs/icons/generated/custom/PanelLeftExpanded.js.map +0 -1
- package/lib/cjs/icons/generated/custom/PanelRight.js +0 -31
- package/lib/cjs/icons/generated/custom/PanelRight.js.map +0 -1
- package/lib/cjs/icons/generated/custom/ThreePanel.js +0 -31
- package/lib/cjs/icons/generated/custom/ThreePanel.js.map +0 -1
- package/lib/cjs/text-link/stories/text-link-default.story.js.map +0 -1
- package/lib/cjs/text-link/stories/text-link-external-underline.story.js +0 -30
- package/lib/cjs/text-link/stories/text-link-external-underline.story.js.map +0 -1
- package/lib/cjs/text-link/stories/text-link-internal-icon.story.js +0 -30
- package/lib/cjs/text-link/stories/text-link-internal-icon.story.js.map +0 -1
- package/lib/cjs/text-link/stories/text-link-internal-underline.story.js.map +0 -1
- package/lib/cjs/text-overflow/TextOverflow.js +0 -146
- package/lib/cjs/text-overflow/TextOverflow.js.map +0 -1
- package/lib/cjs/text-overflow/constants.js +0 -44
- package/lib/cjs/text-overflow/constants.js.map +0 -1
- package/lib/cjs/text-overflow/index.js.map +0 -1
- package/lib/cjs/text-overflow/stories/character-limit.story.js +0 -32
- package/lib/cjs/text-overflow/stories/character-limit.story.js.map +0 -1
- package/lib/cjs/text-overflow/stories/expand-collapse-buttons.story.js +0 -32
- package/lib/cjs/text-overflow/stories/expand-collapse-buttons.story.js.map +0 -1
- package/lib/cjs/text-overflow/stories/index.js +0 -48
- package/lib/cjs/text-overflow/stories/index.js.map +0 -1
- package/lib/cjs/text-overflow/stories/line-clamp.story.js +0 -32
- package/lib/cjs/text-overflow/stories/line-clamp.story.js.map +0 -1
- package/lib/cjs/text-overflow/stories/mixed-content.story.js +0 -31
- package/lib/cjs/text-overflow/stories/mixed-content.story.js.map +0 -1
- package/lib/cjs/text-overflow/stories/width-based-truncation.story.js +0 -32
- package/lib/cjs/text-overflow/stories/width-based-truncation.story.js.map +0 -1
- package/lib/cjs/text-overflow/text-overflow-utils.js +0 -167
- package/lib/cjs/text-overflow/text-overflow-utils.js.map +0 -1
- package/lib/cjs/text-overflow/use-ellipsis-observer.js +0 -66
- package/lib/cjs/text-overflow/use-ellipsis-observer.js.map +0 -1
- package/lib/cjs/text-overflow/use-truncate-with-button.js +0 -205
- package/lib/cjs/text-overflow/use-truncate-with-button.js.map +0 -1
- package/lib/esm/icons/generated/custom/AddNode.js +0 -29
- package/lib/esm/icons/generated/custom/AddNode.js.map +0 -1
- package/lib/esm/icons/generated/custom/PanelBottom.js +0 -29
- package/lib/esm/icons/generated/custom/PanelBottom.js.map +0 -1
- package/lib/esm/icons/generated/custom/PanelLeft.js +0 -29
- package/lib/esm/icons/generated/custom/PanelLeft.js.map +0 -1
- package/lib/esm/icons/generated/custom/PanelLeftCollapsed.js +0 -29
- package/lib/esm/icons/generated/custom/PanelLeftCollapsed.js.map +0 -1
- package/lib/esm/icons/generated/custom/PanelLeftExpanded.js +0 -29
- package/lib/esm/icons/generated/custom/PanelLeftExpanded.js.map +0 -1
- package/lib/esm/icons/generated/custom/PanelRight.js +0 -29
- package/lib/esm/icons/generated/custom/PanelRight.js.map +0 -1
- package/lib/esm/icons/generated/custom/ThreePanel.js +0 -29
- package/lib/esm/icons/generated/custom/ThreePanel.js.map +0 -1
- package/lib/esm/text-link/stories/text-link-default.story.js +0 -28
- package/lib/esm/text-link/stories/text-link-default.story.js.map +0 -1
- package/lib/esm/text-link/stories/text-link-external-underline.story.js +0 -28
- package/lib/esm/text-link/stories/text-link-external-underline.story.js.map +0 -1
- package/lib/esm/text-link/stories/text-link-internal-icon.story.js +0 -28
- package/lib/esm/text-link/stories/text-link-internal-icon.story.js.map +0 -1
- package/lib/esm/text-link/stories/text-link-internal-underline.story.js.map +0 -1
- package/lib/esm/text-overflow/TextOverflow.js +0 -139
- package/lib/esm/text-overflow/TextOverflow.js.map +0 -1
- package/lib/esm/text-overflow/constants.js +0 -41
- package/lib/esm/text-overflow/constants.js.map +0 -1
- package/lib/esm/text-overflow/index.js.map +0 -1
- package/lib/esm/text-overflow/stories/character-limit.story.js +0 -30
- package/lib/esm/text-overflow/stories/character-limit.story.js.map +0 -1
- package/lib/esm/text-overflow/stories/expand-collapse-buttons.story.js +0 -30
- package/lib/esm/text-overflow/stories/expand-collapse-buttons.story.js.map +0 -1
- package/lib/esm/text-overflow/stories/index.js +0 -37
- package/lib/esm/text-overflow/stories/index.js.map +0 -1
- package/lib/esm/text-overflow/stories/line-clamp.story.js +0 -30
- package/lib/esm/text-overflow/stories/line-clamp.story.js.map +0 -1
- package/lib/esm/text-overflow/stories/mixed-content.story.js +0 -29
- package/lib/esm/text-overflow/stories/mixed-content.story.js.map +0 -1
- package/lib/esm/text-overflow/stories/width-based-truncation.story.js +0 -30
- package/lib/esm/text-overflow/stories/width-based-truncation.story.js.map +0 -1
- package/lib/esm/text-overflow/text-overflow-utils.js +0 -159
- package/lib/esm/text-overflow/text-overflow-utils.js.map +0 -1
- package/lib/esm/text-overflow/use-ellipsis-observer.js +0 -63
- package/lib/esm/text-overflow/use-ellipsis-observer.js.map +0 -1
- package/lib/esm/text-overflow/use-truncate-with-button.js +0 -202
- package/lib/esm/text-overflow/use-truncate-with-button.js.map +0 -1
- package/lib/types/icons/generated/custom/AddNode.d.ts +0 -30
- package/lib/types/icons/generated/custom/AddNode.d.ts.map +0 -1
- package/lib/types/icons/generated/custom/PanelBottom.d.ts +0 -30
- package/lib/types/icons/generated/custom/PanelBottom.d.ts.map +0 -1
- package/lib/types/icons/generated/custom/PanelLeft.d.ts +0 -30
- package/lib/types/icons/generated/custom/PanelLeft.d.ts.map +0 -1
- package/lib/types/icons/generated/custom/PanelLeftCollapsed.d.ts +0 -30
- package/lib/types/icons/generated/custom/PanelLeftCollapsed.d.ts.map +0 -1
- package/lib/types/icons/generated/custom/PanelLeftExpanded.d.ts +0 -30
- package/lib/types/icons/generated/custom/PanelLeftExpanded.d.ts.map +0 -1
- package/lib/types/icons/generated/custom/PanelRight.d.ts +0 -30
- package/lib/types/icons/generated/custom/PanelRight.d.ts.map +0 -1
- package/lib/types/icons/generated/custom/ThreePanel.d.ts +0 -30
- package/lib/types/icons/generated/custom/ThreePanel.d.ts.map +0 -1
- package/lib/types/text-link/stories/text-link-default.story.d.ts +0 -24
- package/lib/types/text-link/stories/text-link-default.story.d.ts.map +0 -1
- package/lib/types/text-link/stories/text-link-external-underline.story.d.ts +0 -24
- package/lib/types/text-link/stories/text-link-external-underline.story.d.ts.map +0 -1
- package/lib/types/text-link/stories/text-link-internal-icon.story.d.ts +0 -24
- package/lib/types/text-link/stories/text-link-internal-icon.story.d.ts.map +0 -1
- package/lib/types/text-link/stories/text-link-internal-underline.story.d.ts +0 -24
- package/lib/types/text-link/stories/text-link-internal-underline.story.d.ts.map +0 -1
- package/lib/types/text-overflow/TextOverflow.d.ts +0 -63
- package/lib/types/text-overflow/TextOverflow.d.ts.map +0 -1
- package/lib/types/text-overflow/constants.d.ts +0 -41
- package/lib/types/text-overflow/constants.d.ts.map +0 -1
- package/lib/types/text-overflow/index.d.ts +0 -22
- package/lib/types/text-overflow/index.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/character-limit.story.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/expand-collapse-buttons.story.d.ts +0 -24
- package/lib/types/text-overflow/stories/expand-collapse-buttons.story.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/index.d.ts +0 -31
- package/lib/types/text-overflow/stories/index.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/line-clamp.story.d.ts +0 -24
- package/lib/types/text-overflow/stories/line-clamp.story.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/mixed-content.story.d.ts +0 -24
- package/lib/types/text-overflow/stories/mixed-content.story.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/width-based-truncation.story.d.ts +0 -24
- package/lib/types/text-overflow/stories/width-based-truncation.story.d.ts.map +0 -1
- package/lib/types/text-overflow/text-overflow-utils.d.ts +0 -35
- package/lib/types/text-overflow/text-overflow-utils.d.ts.map +0 -1
- package/lib/types/text-overflow/use-ellipsis-observer.d.ts +0 -28
- package/lib/types/text-overflow/use-ellipsis-observer.d.ts.map +0 -1
- package/lib/types/text-overflow/use-truncate-with-button.d.ts +0 -45
- package/lib/types/text-overflow/use-truncate-with-button.d.ts.map +0 -1
|
@@ -24,7 +24,7 @@ import { AnnouncementBanner, OutlinedButton, TextButton, Typography, } from '@ne
|
|
|
24
24
|
import { useState } from 'react';
|
|
25
25
|
const Component = () => {
|
|
26
26
|
const [isVisible, setIsVisible] = useState(true);
|
|
27
|
-
return (_jsxs("div", { className: "
|
|
27
|
+
return (_jsxs("div", { className: "flex flex-col max-w-[768px] h-52", children: [isVisible && (_jsxs(AnnouncementBanner, { variant: "warning", hasIcon: true, isCloseable: true, onClose: () => setIsVisible(false), children: [_jsx(AnnouncementBanner.Header, { children: "Scheduled maintenance starts tonight at 22:00 UTC." }), _jsx(AnnouncementBanner.Actions, { children: _jsx(OutlinedButton, { children: "Learn more" }) })] })), _jsxs("div", { className: "flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default flex-1 min-h-0 overflow-y-auto", children: [!isVisible && (_jsx("div", { children: _jsx(TextButton, { onClick: () => setIsVisible(true), children: "Show announcement again" }) })), _jsx(Typography, { variant: "title-2", children: "Page title" }), _jsx(OutlinedButton, { children: "Can focus" }), _jsx(Typography, { variant: "body-medium", children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempus, quam non molestie faucibus, orci nibh bibendum urna, ut lacinia orci dui a augue. Nullam at risus quam. Fusce pulvinar, metus vitae finibus dapibus, nisi ipsum venenatis sapien, at facilisis eros massa ac nunc. Aliquam sed odio orci. Vivamus condimentum sit amet ipsum bibendum sollicitudin. Etiam eget vehicula urna, et ullamcorper libero. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin sodales euismod sem, posuere maximus libero interdum semper. Nunc mollis posuere arcu non elementum. Vivamus sed laoreet mauris. Etiam fringilla arcu convallis erat vehicula iaculis. Pellentesque dictum aliquam cursus." }), _jsx(Typography, { variant: "body-medium", children: "Integer vehicula turpis quis risus aliquet congue. Vivamus pellentesque nibh ac blandit varius. Fusce placerat lacus ut mauris porta, nec facilisis risus pulvinar. Nullam elementum nulla ut laoreet imperdiet. Maecenas eget erat erat. Phasellus in turpis placerat, imperdiet ante nec, tincidunt nisl. Donec a lacus neque. Nullam iaculis ante molestie ultrices semper. Sed non lorem ullamcorper ligula elementum convallis. Aenean egestas risus quis tortor cursus dapibus. Nulla hendrerit at orci ut scelerisque. Nullam vel bibendum tellus. Praesent efficitur ultrices lectus at posuere. Maecenas facilisis lacus ac turpis malesuada, sit amet imperdiet ipsum condimentum. Donec et nibh eget justo luctus ornare. Maecenas suscipit nulla at ullamcorper congue." }), _jsx(Typography, { variant: "body-medium", children: "Vestibulum vehicula nibh mi, ultrices condimentum massa venenatis sit amet. Pellentesque accumsan mollis ex, id lobortis lacus venenatis id. Proin sem dui, mollis id gravida ac, vulputate et lacus. In pharetra nunc odio, in fermentum elit dignissim at. Nunc ut justo elit. Proin ligula orci, faucibus vitae vehicula nec, faucibus sit amet erat. Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque pharetra venenatis rutrum. Sed pharetra turpis id arcu maximus, interdum rhoncus eros mollis. Donec vitae sapien et odio interdum bibendum. Quisque eleifend, sem ut ornare mollis, orci nunc dapibus odio, aliquam fringilla augue nulla id magna. Phasellus consectetur, velit egestas sodales ultricies, odio nunc facilisis libero, vel vehicula nisi quam quis nisl. Proin vel massa libero." }), _jsx(Typography, { variant: "body-medium", children: "Sed mollis lacinia tincidunt. Curabitur blandit pellentesque consequat. Maecenas mollis pharetra dolor in ornare. Cras vel nibh eu nisi venenatis convallis id vel nisl. Curabitur et viverra nisl. Phasellus et finibus turpis. Praesent scelerisque vel lectus at imperdiet. Curabitur porta egestas magna ullamcorper hendrerit." }), _jsx(Typography, { variant: "body-medium", children: "Curabitur hendrerit egestas mi, ut venenatis turpis sagittis nec. Proin consectetur, nisi et vehicula placerat, tellus augue luctus odio, in commodo mauris urna nec libero. Maecenas eu placerat sapien, in aliquam tellus. Sed pharetra nunc id urna iaculis tincidunt. In hac habitasse platea dictumst. Donec tincidunt risus vitae congue congue. Fusce consequat ut justo ut tristique. Nunc ut urna quis neque consequat venenatis. Praesent nec feugiat orci. Vestibulum rutrum dui lacus, sit amet vulputate dolor finibus ut. Donec placerat urna eu fringilla convallis. Praesent sollicitudin felis at lacus semper, vel convallis magna scelerisque." })] })] }));
|
|
28
28
|
};
|
|
29
29
|
export default Component;
|
|
30
30
|
//# sourceMappingURL=announcement-banner-with-page-content.story.js.map
|
package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement-banner-with-page-content.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-with-page-content.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,UAAU,GACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"announcement-banner-with-page-content.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-with-page-content.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,UAAU,GACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC9C,SAAS,IAAI,CACZ,MAAC,kBAAkB,IACjB,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,IAAI,EACb,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,aAElC,KAAC,kBAAkB,CAAC,MAAM,qEAEE,EAC5B,KAAC,kBAAkB,CAAC,OAAO,cACzB,KAAC,cAAc,6BAA4B,GAChB,IACV,CACtB,EACD,eAAK,SAAS,EAAC,4FAA4F,aACxG,CAAC,SAAS,IAAI,CACb,wBACE,KAAC,UAAU,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,wCAEhC,GACT,CACP,EACD,KAAC,UAAU,IAAC,OAAO,EAAC,SAAS,2BAAwB,EACrD,KAAC,cAAc,4BAA2B,EAC1C,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,6sBAYpB,EACb,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,owBAapB,EACb,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,izBAapB,EACb,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,oVAMpB,EACb,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,kpBAWpB,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n TextButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(true);\n\n return (\n <div className=\"flex flex-col max-w-[768px] h-52\">\n {isVisible && (\n <AnnouncementBanner\n variant=\"warning\"\n hasIcon={true}\n isCloseable={true}\n onClose={() => setIsVisible(false)}\n >\n <AnnouncementBanner.Header>\n Scheduled maintenance starts tonight at 22:00 UTC.\n </AnnouncementBanner.Header>\n <AnnouncementBanner.Actions>\n <OutlinedButton>Learn more</OutlinedButton>\n </AnnouncementBanner.Actions>\n </AnnouncementBanner>\n )}\n <div className=\"flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default flex-1 min-h-0 overflow-y-auto\">\n {!isVisible && (\n <div>\n <TextButton onClick={() => setIsVisible(true)}>\n Show announcement again\n </TextButton>\n </div>\n )}\n <Typography variant=\"title-2\">Page title</Typography>\n <OutlinedButton>Can focus</OutlinedButton>\n <Typography variant=\"body-medium\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque\n tempus, quam non molestie faucibus, orci nibh bibendum urna, ut\n lacinia orci dui a augue. Nullam at risus quam. Fusce pulvinar, metus\n vitae finibus dapibus, nisi ipsum venenatis sapien, at facilisis eros\n massa ac nunc. Aliquam sed odio orci. Vivamus condimentum sit amet\n ipsum bibendum sollicitudin. Etiam eget vehicula urna, et ullamcorper\n libero. Interdum et malesuada fames ac ante ipsum primis in faucibus.\n Proin sodales euismod sem, posuere maximus libero interdum semper.\n Nunc mollis posuere arcu non elementum. Vivamus sed laoreet mauris.\n Etiam fringilla arcu convallis erat vehicula iaculis. Pellentesque\n dictum aliquam cursus.\n </Typography>\n <Typography variant=\"body-medium\">\n Integer vehicula turpis quis risus aliquet congue. Vivamus\n pellentesque nibh ac blandit varius. Fusce placerat lacus ut mauris\n porta, nec facilisis risus pulvinar. Nullam elementum nulla ut laoreet\n imperdiet. Maecenas eget erat erat. Phasellus in turpis placerat,\n imperdiet ante nec, tincidunt nisl. Donec a lacus neque. Nullam\n iaculis ante molestie ultrices semper. Sed non lorem ullamcorper\n ligula elementum convallis. Aenean egestas risus quis tortor cursus\n dapibus. Nulla hendrerit at orci ut scelerisque. Nullam vel bibendum\n tellus. Praesent efficitur ultrices lectus at posuere. Maecenas\n facilisis lacus ac turpis malesuada, sit amet imperdiet ipsum\n condimentum. Donec et nibh eget justo luctus ornare. Maecenas suscipit\n nulla at ullamcorper congue.\n </Typography>\n <Typography variant=\"body-medium\">\n Vestibulum vehicula nibh mi, ultrices condimentum massa venenatis sit\n amet. Pellentesque accumsan mollis ex, id lobortis lacus venenatis id.\n Proin sem dui, mollis id gravida ac, vulputate et lacus. In pharetra\n nunc odio, in fermentum elit dignissim at. Nunc ut justo elit. Proin\n ligula orci, faucibus vitae vehicula nec, faucibus sit amet erat.\n Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque\n pharetra venenatis rutrum. Sed pharetra turpis id arcu maximus,\n interdum rhoncus eros mollis. Donec vitae sapien et odio interdum\n bibendum. Quisque eleifend, sem ut ornare mollis, orci nunc dapibus\n odio, aliquam fringilla augue nulla id magna. Phasellus consectetur,\n velit egestas sodales ultricies, odio nunc facilisis libero, vel\n vehicula nisi quam quis nisl. Proin vel massa libero.\n </Typography>\n <Typography variant=\"body-medium\">\n Sed mollis lacinia tincidunt. Curabitur blandit pellentesque\n consequat. Maecenas mollis pharetra dolor in ornare. Cras vel nibh eu\n nisi venenatis convallis id vel nisl. Curabitur et viverra nisl.\n Phasellus et finibus turpis. Praesent scelerisque vel lectus at\n imperdiet. Curabitur porta egestas magna ullamcorper hendrerit.\n </Typography>\n <Typography variant=\"body-medium\">\n Curabitur hendrerit egestas mi, ut venenatis turpis sagittis nec.\n Proin consectetur, nisi et vehicula placerat, tellus augue luctus\n odio, in commodo mauris urna nec libero. Maecenas eu placerat sapien,\n in aliquam tellus. Sed pharetra nunc id urna iaculis tincidunt. In hac\n habitasse platea dictumst. Donec tincidunt risus vitae congue congue.\n Fusce consequat ut justo ut tristique. Nunc ut urna quis neque\n consequat venenatis. Praesent nec feugiat orci. Vestibulum rutrum dui\n lacus, sit amet vulputate dolor finibus ut. Donec placerat urna eu\n fringilla convallis. Praesent sollicitudin felis at lacus semper, vel\n convallis magna scelerisque.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -23,7 +23,7 @@ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
|
23
23
|
import { Avatar } from '@neo4j-ndl/react';
|
|
24
24
|
import { BellIconOutline, HeartIconOutline, StarIconOutline, } from '@neo4j-ndl/react/icons';
|
|
25
25
|
const Component = () => {
|
|
26
|
-
return (_jsxs("div", { className: "
|
|
26
|
+
return (_jsxs("div", { className: "flex gap-token-16", children: [_jsx(Avatar, { type: "icon", name: "Favorites", icon: _jsx(StarIconOutline, {}) }), _jsx(Avatar, { type: "icon", name: "Notifications", icon: _jsx(BellIconOutline, {}) }), _jsx(Avatar, { type: "icon", name: "Likes", icon: _jsx(HeartIconOutline, {}) })] }));
|
|
27
27
|
};
|
|
28
28
|
export default Component;
|
|
29
29
|
//# sourceMappingURL=avatar-custom-icon.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-custom-icon.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-custom-icon.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"avatar-custom-icon.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-custom-icon.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAE,KAAC,eAAe,KAAG,GAAI,EAClE,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,eAAe,EAAC,IAAI,EAAE,KAAC,eAAe,KAAG,GAAI,EACtE,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,KAAC,gBAAgB,KAAG,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\nimport {\n BellIconOutline,\n HeartIconOutline,\n StarIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar type=\"icon\" name=\"Favorites\" icon={<StarIconOutline />} />\n <Avatar type=\"icon\" name=\"Notifications\" icon={<BellIconOutline />} />\n <Avatar type=\"icon\" name=\"Likes\" icon={<HeartIconOutline />} />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Avatar } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex gap-token-16", children: [_jsx(Avatar, { shape: "circle" }), _jsx(Avatar, { shape: "square" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=avatar-shapes.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-shapes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-shapes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"avatar-shapes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-shapes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,EACzB,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar shape=\"circle\" />\n <Avatar shape=\"square\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Avatar } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex gap-token-16", children: [_jsx(Avatar, { size: "x-small" }), _jsx(Avatar, { size: "small" }), _jsx(Avatar, { size: "medium" }), _jsx(Avatar, { size: "large" }), _jsx(Avatar, { size: "x-large" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=avatar-sizes.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-sizes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"avatar-sizes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,GAAG,EACzB,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,GAAG,EACxB,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar size=\"x-small\" />\n <Avatar size=\"small\" />\n <Avatar size=\"medium\" />\n <Avatar size=\"large\" />\n <Avatar size=\"x-large\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Avatar } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex gap-token-16 items-center", children: [_jsx(Avatar, { hasStatus: false }), _jsx(Avatar, { hasStatus: true, status: "online" }), _jsx(Avatar, { hasStatus: true, status: "offline" }), _jsx(Avatar, { hasStatus: true, status: "unknown" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=avatar-statuses.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-statuses.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-statuses.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"avatar-statuses.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-statuses.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,gCAAgC,aAC7C,KAAC,MAAM,IAAC,SAAS,EAAE,KAAK,GAAI,EAC5B,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,QAAQ,GAAG,EACpC,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,EACrC,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,IACjC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16 items-center\">\n <Avatar hasStatus={false} />\n <Avatar hasStatus status=\"online\" />\n <Avatar hasStatus status=\"offline\" />\n <Avatar hasStatus status=\"unknown\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Avatar } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex gap-token-16", children: [_jsx(Avatar, { type: "icon", name: "Karl Morrison" }), _jsx(Avatar, { type: "letters", name: "Karl Morrison" }), _jsx(Avatar, { type: "image", name: "Karl Morrison", source: "https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=avatar-types.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-types.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-types.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"avatar-types.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-types.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,eAAe,GAAG,EAC3C,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,eAAe,GAAG,EAC9C,KAAC,MAAM,IACL,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,eAAe,EACpB,MAAM,EAAC,uIAAuI,GAC9I,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar type=\"icon\" name=\"Karl Morrison\" />\n <Avatar type=\"letters\" name=\"Karl Morrison\" />\n <Avatar\n type=\"image\"\n name=\"Karl Morrison\"\n source=\"https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=\"\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Banner } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex flex-col gap-token-8", children: [_jsxs(Banner, { variant: "info", children: [_jsx(Banner.Header, { children: "Info" }), _jsx(Banner.Description, { children: "This is a banner of type info." })] }), _jsxs(Banner, { variant: "success", children: [_jsx(Banner.Header, { children: "Success" }), _jsx(Banner.Description, { children: "This is a banner of type success." })] }), _jsxs(Banner, { variant: "warning", children: [_jsx(Banner.Header, { children: "Warning" }), _jsx(Banner.Description, { children: "This is a banner of type warning." })] }), _jsxs(Banner, { variant: "danger", children: [_jsx(Banner.Header, { children: "Danger" }), _jsx(Banner.Description, { children: "This is a banner of type danger." })] }), _jsxs(Banner, { variant: "neutral", children: [_jsx(Banner.Header, { children: "Neutral" }), _jsx(Banner.Description, { children: "This is a banner of type neutral." })] })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=banner-variants.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner-variants.story.js","sourceRoot":"","sources":["../../../../src/banner/stories/banner-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"banner-variants.story.js","sourceRoot":"","sources":["../../../../src/banner/stories/banner-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,MAAC,MAAM,IAAC,OAAO,EAAC,MAAM,aACpB,KAAC,MAAM,CAAC,MAAM,uBAAqB,EACnC,KAAC,MAAM,CAAC,WAAW,iDAAoD,IAChE,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,aACvB,KAAC,MAAM,CAAC,MAAM,0BAAwB,EACtC,KAAC,MAAM,CAAC,WAAW,oDAEE,IACd,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,aACvB,KAAC,MAAM,CAAC,MAAM,0BAAwB,EACtC,KAAC,MAAM,CAAC,WAAW,oDAEE,IACd,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,QAAQ,aACtB,KAAC,MAAM,CAAC,MAAM,yBAAuB,EACrC,KAAC,MAAM,CAAC,WAAW,mDAEE,IACd,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,aACvB,KAAC,MAAM,CAAC,MAAM,0BAAwB,EACtC,KAAC,MAAM,CAAC,WAAW,oDAEE,IACd,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Banner } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-8\">\n <Banner variant=\"info\">\n <Banner.Header>Info</Banner.Header>\n <Banner.Description>This is a banner of type info.</Banner.Description>\n </Banner>\n <Banner variant=\"success\">\n <Banner.Header>Success</Banner.Header>\n <Banner.Description>\n This is a banner of type success.\n </Banner.Description>\n </Banner>\n <Banner variant=\"warning\">\n <Banner.Header>Warning</Banner.Header>\n <Banner.Description>\n This is a banner of type warning.\n </Banner.Description>\n </Banner>\n <Banner variant=\"danger\">\n <Banner.Header>Danger</Banner.Header>\n <Banner.Description>\n This is a banner of type danger.\n </Banner.Description>\n </Banner>\n <Banner variant=\"neutral\">\n <Banner.Header>Neutral</Banner.Header>\n <Banner.Description>\n This is a banner of type neutral.\n </Banner.Description>\n </Banner>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Banner } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex flex-col gap-token-8", children: [_jsxs(Banner, { variant: "info", hasIcon: true, children: [_jsx(Banner.Header, { children: "Info" }), _jsx(Banner.Description, { children: "This is a banner of type info." })] }), _jsxs(Banner, { variant: "success", hasIcon: true, children: [_jsx(Banner.Header, { children: "Success" }), _jsx(Banner.Description, { children: "This is a banner of type success." })] }), _jsxs(Banner, { variant: "warning", hasIcon: true, children: [_jsx(Banner.Header, { children: "Warning" }), _jsx(Banner.Description, { children: "This is a banner of type warning." })] }), _jsxs(Banner, { variant: "danger", hasIcon: true, children: [_jsx(Banner.Header, { children: "Danger" }), _jsx(Banner.Description, { children: "This is a banner of type danger." })] }), _jsxs(Banner, { variant: "neutral", hasIcon: true, children: [_jsx(Banner.Header, { children: "Neutral" }), _jsx(Banner.Description, { children: "This is a banner of type neutral." })] })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=banner-with-icons.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner-with-icons.story.js","sourceRoot":"","sources":["../../../../src/banner/stories/banner-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"banner-with-icons.story.js","sourceRoot":"","sources":["../../../../src/banner/stories/banner-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,MAAC,MAAM,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,aAClC,KAAC,MAAM,CAAC,MAAM,uBAAqB,EACnC,KAAC,MAAM,CAAC,WAAW,iDAAoD,IAChE,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,aACrC,KAAC,MAAM,CAAC,MAAM,0BAAwB,EACtC,KAAC,MAAM,CAAC,WAAW,oDAEE,IACd,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,aACrC,KAAC,MAAM,CAAC,MAAM,0BAAwB,EACtC,KAAC,MAAM,CAAC,WAAW,oDAEE,IACd,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,aACpC,KAAC,MAAM,CAAC,MAAM,yBAAuB,EACrC,KAAC,MAAM,CAAC,WAAW,mDAEE,IACd,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,aACrC,KAAC,MAAM,CAAC,MAAM,0BAAwB,EACtC,KAAC,MAAM,CAAC,WAAW,oDAEE,IACd,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Banner } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-8\">\n <Banner variant=\"info\" hasIcon={true}>\n <Banner.Header>Info</Banner.Header>\n <Banner.Description>This is a banner of type info.</Banner.Description>\n </Banner>\n <Banner variant=\"success\" hasIcon={true}>\n <Banner.Header>Success</Banner.Header>\n <Banner.Description>\n This is a banner of type success.\n </Banner.Description>\n </Banner>\n <Banner variant=\"warning\" hasIcon={true}>\n <Banner.Header>Warning</Banner.Header>\n <Banner.Description>\n This is a banner of type warning.\n </Banner.Description>\n </Banner>\n <Banner variant=\"danger\" hasIcon={true}>\n <Banner.Header>Danger</Banner.Header>\n <Banner.Description>\n This is a banner of type danger.\n </Banner.Description>\n </Banner>\n <Banner variant=\"neutral\" hasIcon={true}>\n <Banner.Header>Neutral</Banner.Header>\n <Banner.Description>\n This is a banner of type neutral.\n </Banner.Description>\n </Banner>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -26,7 +26,7 @@ import { useRef, useState } from 'react';
|
|
|
26
26
|
const Component = () => {
|
|
27
27
|
const [isOrganizationMenuOpen, setIsOrganizationMenuOpen] = useState(false);
|
|
28
28
|
const organizationMenuRef = useRef(null);
|
|
29
|
-
return (_jsxs(Breadcrumbs, { shouldWrap: false, children: [_jsx(Breadcrumbs.Item, { className: "
|
|
29
|
+
return (_jsxs(Breadcrumbs, { shouldWrap: false, children: [_jsx(Breadcrumbs.Item, { className: "mr-token-8", children: _jsx("button", { type: "button", "aria-label": "Home", className: "rounded-sm focus-visible:outline-2 focus-visible:outline-offset-[3px] focus-visible:outline-primary-focus shrink-0", children: _jsx(Neo4JIconColorIcon, { className: "h-6 w-[26px]" }) }) }), _jsxs(Breadcrumbs.Item, { children: [_jsx(Breadcrumbs.Button, { leadingElement: _jsx(BuildingOffice2IconOutline, {}), children: "Organization 1" }), _jsx(Breadcrumbs.SelectButton, { ref: organizationMenuRef, ariaLabel: "Open organization menu", onClick: () => {
|
|
30
30
|
setIsOrganizationMenuOpen((prev) => !prev);
|
|
31
31
|
}, isActive: isOrganizationMenuOpen, children: _jsxs(Menu, { anchorRef: organizationMenuRef, isOpen: isOrganizationMenuOpen, onClose: () => setIsOrganizationMenuOpen(false), children: [_jsxs(Menu.Group, { children: [_jsx(Menu.RadioItem, { title: "Organization 1", isChecked: true }), _jsx(Menu.RadioItem, { title: "Organization 2", isChecked: false })] }), _jsx(Menu.Divider, {}), _jsx(Menu.Group, { children: _jsx(Menu.Item, { title: "All Organizations" }) })] }) })] }), _jsxs(Breadcrumbs.Item, { children: [_jsx(Breadcrumbs.Button, { leadingElement: _jsx(CubeIconOutline, {}), children: "Project 1" }), _jsx(Breadcrumbs.SelectButton, { ariaLabel: "Open project menu" })] })] }));
|
|
32
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs-header.story.js","sourceRoot":"","sources":["../../../../src/breadcrumbs/stories/breadcrumbs-header.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5E,MAAM,mBAAmB,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAE5D,OAAO,CACL,MAAC,WAAW,IAAC,UAAU,EAAE,KAAK,aAC5B,KAAC,WAAW,CAAC,IAAI,IAAC,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"breadcrumbs-header.story.js","sourceRoot":"","sources":["../../../../src/breadcrumbs/stories/breadcrumbs-header.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5E,MAAM,mBAAmB,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAE5D,OAAO,CACL,MAAC,WAAW,IAAC,UAAU,EAAE,KAAK,aAC5B,KAAC,WAAW,CAAC,IAAI,IAAC,SAAS,EAAC,YAAY,YACtC,iBACE,IAAI,EAAC,QAAQ,gBACF,MAAM,EACjB,SAAS,EAAC,oHAAoH,YAE9H,KAAC,kBAAkB,IAAC,SAAS,EAAC,cAAc,GAAG,GACxC,GACQ,EACnB,MAAC,WAAW,CAAC,IAAI,eACf,KAAC,WAAW,CAAC,MAAM,IAAC,cAAc,EAAE,KAAC,0BAA0B,KAAG,+BAE7C,EACrB,KAAC,WAAW,CAAC,YAAY,IACvB,GAAG,EAAE,mBAAmB,EACxB,SAAS,EAAC,wBAAwB,EAClC,OAAO,EAAE,GAAG,EAAE;4BACZ,yBAAyB,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;wBAC7C,CAAC,EACD,QAAQ,EAAE,sBAAsB,YAEhC,MAAC,IAAI,IACH,SAAS,EAAE,mBAAmB,EAC9B,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,aAE/C,MAAC,IAAI,CAAC,KAAK,eACT,KAAC,IAAI,CAAC,SAAS,IAAC,KAAK,EAAC,gBAAgB,EAAC,SAAS,EAAE,IAAI,GAAI,EAC1D,KAAC,IAAI,CAAC,SAAS,IAAC,KAAK,EAAC,gBAAgB,EAAC,SAAS,EAAE,KAAK,GAAI,IAChD,EACb,KAAC,IAAI,CAAC,OAAO,KAAG,EAChB,KAAC,IAAI,CAAC,KAAK,cACT,KAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,mBAAmB,GAAG,GAC5B,IACR,GACkB,IACV,EACnB,MAAC,WAAW,CAAC,IAAI,eACf,KAAC,WAAW,CAAC,MAAM,IAAC,cAAc,EAAE,KAAC,eAAe,KAAG,0BAElC,EACrB,KAAC,WAAW,CAAC,YAAY,IAAC,SAAS,EAAC,mBAAmB,GAA4B,IAClE,IACP,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Breadcrumbs, Menu } from '@neo4j-ndl/react';\nimport {\n BuildingOffice2IconOutline,\n CubeIconOutline,\n Neo4JIconColorIcon,\n} from '@neo4j-ndl/react/icons';\nimport { useRef, useState } from 'react';\n\nconst Component = () => {\n const [isOrganizationMenuOpen, setIsOrganizationMenuOpen] = useState(false);\n const organizationMenuRef = useRef<HTMLButtonElement>(null);\n\n return (\n <Breadcrumbs shouldWrap={false}>\n <Breadcrumbs.Item className=\"mr-token-8\">\n <button\n type=\"button\"\n aria-label=\"Home\"\n className=\"rounded-sm focus-visible:outline-2 focus-visible:outline-offset-[3px] focus-visible:outline-primary-focus shrink-0\"\n >\n <Neo4JIconColorIcon className=\"h-6 w-[26px]\" />\n </button>\n </Breadcrumbs.Item>\n <Breadcrumbs.Item>\n <Breadcrumbs.Button leadingElement={<BuildingOffice2IconOutline />}>\n Organization 1\n </Breadcrumbs.Button>\n <Breadcrumbs.SelectButton\n ref={organizationMenuRef}\n ariaLabel=\"Open organization menu\"\n onClick={() => {\n setIsOrganizationMenuOpen((prev) => !prev);\n }}\n isActive={isOrganizationMenuOpen}\n >\n <Menu\n anchorRef={organizationMenuRef}\n isOpen={isOrganizationMenuOpen}\n onClose={() => setIsOrganizationMenuOpen(false)}\n >\n <Menu.Group>\n <Menu.RadioItem title=\"Organization 1\" isChecked={true} />\n <Menu.RadioItem title=\"Organization 2\" isChecked={false} />\n </Menu.Group>\n <Menu.Divider />\n <Menu.Group>\n <Menu.Item title=\"All Organizations\" />\n </Menu.Group>\n </Menu>\n </Breadcrumbs.SelectButton>\n </Breadcrumbs.Item>\n <Breadcrumbs.Item>\n <Breadcrumbs.Button leadingElement={<CubeIconOutline />}>\n Project 1\n </Breadcrumbs.Button>\n <Breadcrumbs.SelectButton ariaLabel=\"Open project menu\"></Breadcrumbs.SelectButton>\n </Breadcrumbs.Item>\n </Breadcrumbs>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -33,9 +33,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
33
33
|
import classNames from 'classnames';
|
|
34
34
|
import { ButtonSpinner } from '../_common/ButtonSpinner';
|
|
35
35
|
export const ButtonBase = (_a) => {
|
|
36
|
-
var { as, buttonFill = 'filled', children, className, variant = 'primary', htmlAttributes, isDisabled = false, isFloating = false, isFluid = false, isLoading = false, leadingVisual, onClick, ref, size = 'medium', style, type = 'button',
|
|
37
|
-
// TODO v5: maybe update default message to 'Loading'. This value is for backward compatibility with loading spinners old aria-label
|
|
38
|
-
loadingMessage = 'Loading content' } = _a, restProps = __rest(_a, ["as", "buttonFill", "children", "className", "variant", "htmlAttributes", "isDisabled", "isFloating", "isFluid", "isLoading", "leadingVisual", "onClick", "ref", "size", "style", "type", "loadingMessage"]);
|
|
36
|
+
var { as, buttonFill = 'filled', children, className, variant = 'primary', htmlAttributes, isDisabled = false, isFloating = false, isFluid = false, isLoading = false, leadingVisual, onClick, ref, size = 'medium', style, type = 'button', loadingMessage = 'Loading' } = _a, restProps = __rest(_a, ["as", "buttonFill", "children", "className", "variant", "htmlAttributes", "isDisabled", "isFloating", "isFluid", "isLoading", "leadingVisual", "onClick", "ref", "size", "style", "type", "loadingMessage"]);
|
|
39
37
|
const Component = as !== null && as !== void 0 ? as : 'button';
|
|
40
38
|
const isInteractable = !isDisabled && !isLoading;
|
|
41
39
|
const classes = classNames(className, 'ndl-btn', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonBase.js","sourceRoot":"","sources":["../../../src/button/ButtonBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAgEzD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAyC,
|
|
1
|
+
{"version":3,"file":"ButtonBase.js","sourceRoot":"","sources":["../../../src/button/ButtonBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAgEzD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAyC,EAmBtB,EAAE,EAAE;QAnBkB,EACjE,EAAE,EACF,UAAU,GAAG,QAAQ,EACrB,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,cAAc,EACd,UAAU,GAAG,KAAK,EAClB,UAAU,GAAG,KAAK,EAClB,OAAO,GAAG,KAAK,EACf,SAAS,GAAG,KAAK,EACjB,aAAa,EACb,OAAO,EACP,GAAG,EACH,IAAI,GAAG,QAAQ,EACf,KAAK,EACL,IAAI,GAAG,QAAQ,EACf,cAAc,GAAG,SAAS,OAEiB,EADxC,SAAS,cAlBqD,4MAmBlE,CADa;IAEZ,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,QAAQ,CAAC;IACpD,MAAM,cAAc,GAAG,CAAC,UAAU,IAAI,CAAC,SAAS,CAAC;IAEjD,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,EAAE,SAAS,EAAE;QAC/C,cAAc,EAAE,UAAU;QAC1B,cAAc,EAAE,UAAU;QAC1B,WAAW,EAAE,OAAO;QACpB,aAAa,EAAE,SAAS;QACxB,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,IAAI;QACrB,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,UAAU;QACxC,CAAC,OAAO,OAAO,EAAE,CAAC,EAAE,OAAO;KAC5B,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,CAClB,KAAsD,EACtD,EAAE;QACF,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,8EAA8E;YAC9E,yEAAyE;YACzE,iFAAiF;YACjF,4CAA4C;YAC5C,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,OAAO;QACT,CAAC;QAED,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,KAAK,CAAC,CAAC;QACjB,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,SAAS,kBACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,UAAU,mBACL,CAAC,cAAc,EAC9B,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,cAElB,eAAK,SAAS,EAAC,eAAe,aAC3B,OAAO,CAAC,aAAa,CAAC,IAAI,CACzB,cAAK,SAAS,EAAC,yBAAyB,YAAE,aAAa,GAAO,CAC/D,EACA,OAAO,CAAC,QAAQ,CAAC,IAAI,CACpB,eAAM,SAAS,EAAC,iBAAiB,YAAE,QAAQ,GAAQ,CACpD,EACA,SAAS,IAAI,CACZ,KAAC,aAAa,IAAC,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,GAAI,CAC9D,IACG,IACI,CACb,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport { ButtonSpinner } from '../_common/ButtonSpinner';\nimport {\n type HtmlAttributes,\n type PolymorphicCommonProps,\n} from '../_common/types';\n\n/**\n *\n * Types\n *\n */\n\ntype ButtonTypes = 'submit' | 'button' | 'reset';\nexport type ButtonSizes = 'small' | 'medium' | 'large';\nexport type ButtonVariants = 'primary' | 'danger' | 'neutral';\n\nexport type CommonButtonProps = {\n children?: React.ReactNode;\n /** Icon to display before the button content */\n leadingVisual?: React.ReactNode;\n /** If the button is doing something Async, it will display a loading spinner */\n isLoading?: boolean;\n /** If the button is in disabled state */\n isDisabled?: boolean;\n /** If the button is fluid, it will take the full width of its container */\n isFluid?: boolean;\n /** Type of button */\n type?: ButtonTypes;\n /** Size of button */\n size?: ButtonSizes;\n /** onClick callback */\n onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;\n /** onKeyDown callback */\n onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>) => void;\n /** Accessible message for screen readers when the button is in a loading state */\n loadingMessage?: string;\n} /**\n * If `as=\"a\"`, `href` is required and `target` is available.\n * For all other elements, these props are not present.\n */ & (\n | {\n as: 'a';\n /** The URL to link to. Only applies when `as=\"a\"` */\n href?: HtmlAttributes<'a'>['href'];\n /**\n * The target window for the link. Only applies when `as=\"a\"`.\n * Not present or required for other element types.\n */\n target?: HtmlAttributes<'a'>['target'];\n }\n | {\n as?: React.ElementType;\n }\n);\n\ntype ButtonBaseProps = CommonButtonProps & {\n /** If the button is in floating state */\n isFloating?: boolean;\n /** variant of the button */\n variant?: ButtonVariants;\n /** fill of the button */\n buttonFill?: 'filled' | 'outlined' | 'text';\n};\n\nexport const ButtonBase = <T extends React.ElementType = 'button'>({\n as,\n buttonFill = 'filled',\n children,\n className,\n variant = 'primary',\n htmlAttributes,\n isDisabled = false,\n isFloating = false,\n isFluid = false,\n isLoading = false,\n leadingVisual,\n onClick,\n ref,\n size = 'medium',\n style,\n type = 'button',\n loadingMessage = 'Loading',\n ...restProps\n}: PolymorphicCommonProps<T, ButtonBaseProps>) => {\n const Component: React.ElementType = as ?? 'button';\n const isInteractable = !isDisabled && !isLoading;\n\n const classes = classNames(className, 'ndl-btn', {\n 'ndl-disabled': isDisabled,\n 'ndl-floating': isFloating,\n 'ndl-fluid': isFluid,\n 'ndl-loading': isLoading,\n [`ndl-${size}`]: size,\n [`ndl-${buttonFill}-button`]: buttonFill,\n [`ndl-${variant}`]: variant,\n });\n\n const handleClick = (\n event: React.MouseEvent<HTMLButtonElement, MouseEvent>,\n ) => {\n if (!isInteractable) {\n // By default, a <button /> element with disabled set to true will not get its\n // on click handler called. To support the same behavior on <a /> tags we\n // swallow the event here when disabled, since the <a /> tag with disabled set to\n // true will have its onClick handler called\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n return (\n <Component\n type={type}\n onClick={handleClick}\n disabled={isDisabled}\n aria-disabled={!isInteractable}\n className={classes}\n style={style}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n <div className=\"ndl-btn-inner\">\n {Boolean(leadingVisual) && (\n <div className=\"ndl-btn-leading-element\">{leadingVisual}</div>\n )}\n {Boolean(children) && (\n <span className=\"ndl-btn-content\">{children}</span>\n )}\n {isLoading && (\n <ButtonSpinner loadingMessage={loadingMessage} size={size} />\n )}\n </div>\n </Component>\n );\n};\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { FilledButton } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex flex-row gap-token-8", children: [_jsx(FilledButton, { size: "small", children: "Small" }), _jsx(FilledButton, { size: "medium", children: "Medium" }), _jsx(FilledButton, { size: "large", children: "Large" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=button-sizes.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-sizes.story.js","sourceRoot":"","sources":["../../../../src/button/stories/button-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"button-sizes.story.js","sourceRoot":"","sources":["../../../../src/button/stories/button-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,KAAC,YAAY,IAAC,IAAI,EAAC,OAAO,sBAAqB,EAC/C,KAAC,YAAY,IAAC,IAAI,EAAC,QAAQ,uBAAsB,EACjD,KAAC,YAAY,IAAC,IAAI,EAAC,OAAO,sBAAqB,IAC3C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { FilledButton } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-row gap-token-8\">\n <FilledButton size=\"small\">Small</FilledButton>\n <FilledButton size=\"medium\">Medium</FilledButton>\n <FilledButton size=\"large\">Large</FilledButton>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { FilledButton, OutlinedButton, TextButton } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "grid grid-cols-3 gap-token-8 items-center", children: [_jsx(FilledButton, { variant: "primary", children: "Filled Primary" }), _jsx(FilledButton, { variant: "danger", children: "Filled Danger" }), _jsx("div", {}), _jsx(OutlinedButton, { variant: "primary", children: "Outlined Primary" }), _jsx(OutlinedButton, { variant: "danger", children: "Outlined Danger" }), _jsx(OutlinedButton, { variant: "neutral", children: "Outlined Neutral" }), _jsx(TextButton, { variant: "primary", children: "Text Primary" }), _jsx(TextButton, { variant: "danger", children: "Text Danger" }), _jsx(TextButton, { variant: "neutral", children: "Text Neutral" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=button-variants.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-variants.story.js","sourceRoot":"","sources":["../../../../src/button/stories/button-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"button-variants.story.js","sourceRoot":"","sources":["../../../../src/button/stories/button-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,2CAA2C,aACxD,KAAC,YAAY,IAAC,OAAO,EAAC,SAAS,+BAA8B,EAC7D,KAAC,YAAY,IAAC,OAAO,EAAC,QAAQ,8BAA6B,EAC3D,eAAO,EACP,KAAC,cAAc,IAAC,OAAO,EAAC,SAAS,iCAAkC,EACnE,KAAC,cAAc,IAAC,OAAO,EAAC,QAAQ,gCAAiC,EACjE,KAAC,cAAc,IAAC,OAAO,EAAC,SAAS,iCAAkC,EACnE,KAAC,UAAU,IAAC,OAAO,EAAC,SAAS,6BAA0B,EACvD,KAAC,UAAU,IAAC,OAAO,EAAC,QAAQ,4BAAyB,EACrD,KAAC,UAAU,IAAC,OAAO,EAAC,SAAS,6BAA0B,IACnD,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { FilledButton, OutlinedButton, TextButton } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"grid grid-cols-3 gap-token-8 items-center\">\n <FilledButton variant=\"primary\">Filled Primary</FilledButton>\n <FilledButton variant=\"danger\">Filled Danger</FilledButton>\n <div />\n <OutlinedButton variant=\"primary\">Outlined Primary</OutlinedButton>\n <OutlinedButton variant=\"danger\">Outlined Danger</OutlinedButton>\n <OutlinedButton variant=\"neutral\">Outlined Neutral</OutlinedButton>\n <TextButton variant=\"primary\">Text Primary</TextButton>\n <TextButton variant=\"danger\">Text Danger</TextButton>\n <TextButton variant=\"neutral\">Text Neutral</TextButton>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -44,9 +44,9 @@ const Component = () => {
|
|
|
44
44
|
const isParentChecked = Object.values(childCheckboxes).every((isChildChecked) => isChildChecked);
|
|
45
45
|
const isParentIndeterminate = Object.values(childCheckboxes).some((isChildChecked) => isChildChecked) &&
|
|
46
46
|
!isParentChecked;
|
|
47
|
-
return (_jsxs("div", { className: "
|
|
47
|
+
return (_jsxs("div", { className: "flex flex-col items-start gap-1", children: [_jsx(Checkbox, { isChecked: isParentChecked, isIndeterminate: isParentIndeterminate, label: "Parent checkbox", onChange: (event) => {
|
|
48
48
|
handleParentCheckboxChange(event);
|
|
49
|
-
} }), _jsx(Checkbox, { className: "
|
|
49
|
+
} }), _jsx(Checkbox, { className: "ml-7", isChecked: childCheckboxes.childOne, label: "Child checkbox 1", onChange: () => handleChildCheckboxChange('childOne') }), _jsx(Checkbox, { className: "ml-7", isChecked: childCheckboxes.childTwo, label: "Child checkbox 2", onChange: () => handleChildCheckboxChange('childTwo') }), _jsx(Checkbox, { className: "ml-7", isChecked: childCheckboxes.childThree, label: "Child checkbox 3", onChange: () => handleChildCheckboxChange('childThree') })] }));
|
|
50
50
|
};
|
|
51
51
|
export default Component;
|
|
52
52
|
//# sourceMappingURL=checkbox-full.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-full.story.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC;QACrD,QAAQ,EAAE,KAAK;QACf,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,KAAK;KAChB,CAAC,CAAC;IAEH,MAAM,0BAA0B,GAAG,CACjC,KAA0C,EAC1C,EAAE;QACF,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;QAEvC,0DAA0D;QAC1D,kBAAkB,CAAC;YACjB,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE,SAAS;YACrB,QAAQ,EAAE,SAAS;SACpB,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,yBAAyB,GAAG,CAChC,QAAsC,EACtC,EAAE;QACF,wCAAwC;QACxC,kBAAkB,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,iCAC7B,SAAS,KACZ,CAAC,QAAQ,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,IAChC,CAAC,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,KAAK,CAC1D,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CACnC,CAAC;IAEF,MAAM,qBAAqB,GACzB,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC;QACvE,CAAC,eAAe,CAAC;IAEnB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"checkbox-full.story.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC;QACrD,QAAQ,EAAE,KAAK;QACf,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,KAAK;KAChB,CAAC,CAAC;IAEH,MAAM,0BAA0B,GAAG,CACjC,KAA0C,EAC1C,EAAE;QACF,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;QAEvC,0DAA0D;QAC1D,kBAAkB,CAAC;YACjB,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE,SAAS;YACrB,QAAQ,EAAE,SAAS;SACpB,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,yBAAyB,GAAG,CAChC,QAAsC,EACtC,EAAE;QACF,wCAAwC;QACxC,kBAAkB,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,iCAC7B,SAAS,KACZ,CAAC,QAAQ,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,IAChC,CAAC,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,KAAK,CAC1D,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CACnC,CAAC;IAEF,MAAM,qBAAqB,GACzB,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC;QACvE,CAAC,eAAe,CAAC;IAEnB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,QAAQ,IACP,SAAS,EAAE,eAAe,EAC1B,eAAe,EAAE,qBAAqB,EACtC,KAAK,EAAC,iBAAiB,EACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;oBAClB,0BAA0B,CAAC,KAAK,CAAC,CAAC;gBACpC,CAAC,GACD,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,SAAS,EAAE,eAAe,CAAC,QAAQ,EACnC,KAAK,EAAC,kBAAkB,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,UAAU,CAAC,GACrD,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,SAAS,EAAE,eAAe,CAAC,QAAQ,EACnC,KAAK,EAAC,kBAAkB,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,UAAU,CAAC,GACrD,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,SAAS,EAAE,eAAe,CAAC,UAAU,EACrC,KAAK,EAAC,kBAAkB,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,YAAY,CAAC,GACvD,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Checkbox } from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [childCheckboxes, setChildCheckboxes] = useState({\n childOne: false,\n childThree: true,\n childTwo: false,\n });\n\n const handleParentCheckboxChange = (\n event: React.ChangeEvent<HTMLInputElement>,\n ) => {\n const isChecked = event.target.checked;\n\n // Update child checkboxes based on parent checkbox state.\n setChildCheckboxes({\n childOne: isChecked,\n childThree: isChecked,\n childTwo: isChecked,\n });\n };\n\n const handleChildCheckboxChange = (\n childKey: keyof typeof childCheckboxes,\n ) => {\n // Set currently clicked child checkbox.\n setChildCheckboxes((prevState) => ({\n ...prevState,\n [childKey]: !prevState[childKey],\n }));\n };\n\n const isParentChecked = Object.values(childCheckboxes).every(\n (isChildChecked) => isChildChecked,\n );\n\n const isParentIndeterminate =\n Object.values(childCheckboxes).some((isChildChecked) => isChildChecked) &&\n !isParentChecked;\n\n return (\n <div className=\"flex flex-col items-start gap-1\">\n <Checkbox\n isChecked={isParentChecked}\n isIndeterminate={isParentIndeterminate}\n label=\"Parent checkbox\"\n onChange={(event) => {\n handleParentCheckboxChange(event);\n }}\n />\n <Checkbox\n className=\"ml-7\"\n isChecked={childCheckboxes.childOne}\n label=\"Child checkbox 1\"\n onChange={() => handleChildCheckboxChange('childOne')}\n />\n <Checkbox\n className=\"ml-7\"\n isChecked={childCheckboxes.childTwo}\n label=\"Child checkbox 2\"\n onChange={() => handleChildCheckboxChange('childTwo')}\n />\n <Checkbox\n className=\"ml-7\"\n isChecked={childCheckboxes.childThree}\n label=\"Child checkbox 3\"\n onChange={() => handleChildCheckboxChange('childThree')}\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -23,7 +23,7 @@ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
|
23
23
|
import { CleanIconButton } from '@neo4j-ndl/react';
|
|
24
24
|
import { MagnifyingGlassIconOutline } from '@neo4j-ndl/react/icons';
|
|
25
25
|
const Component = () => {
|
|
26
|
-
return (_jsx("div", { className: "
|
|
26
|
+
return (_jsx("div", { className: "flex flex-col gap-token-16", children: _jsx("div", { className: "flex flex-row gap-token-16 items-center", children: _jsx(CleanIconButton, { description: "Search", descriptionKbdProps: { keys: ['B'], modifierKeys: ['meta'] }, variant: "neutral", children: _jsx(MagnifyingGlassIconOutline, {}) }) }) }));
|
|
27
27
|
};
|
|
28
28
|
export default Component;
|
|
29
29
|
//# sourceMappingURL=clean-icon-button-keyboard-display.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-icon-button-keyboard-display.story.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button-keyboard-display.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,cAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"clean-icon-button-keyboard-display.story.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button-keyboard-display.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,cAAK,SAAS,EAAC,4BAA4B,YACzC,cAAK,SAAS,EAAC,yCAAyC,YACtD,KAAC,eAAe,IACd,WAAW,EAAC,QAAQ,EACpB,mBAAmB,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,EAC5D,OAAO,EAAC,SAAS,YAEjB,KAAC,0BAA0B,KAAG,GACd,GACd,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { CleanIconButton } from '@neo4j-ndl/react';\nimport { MagnifyingGlassIconOutline } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-16\">\n <div className=\"flex flex-row gap-token-16 items-center\">\n <CleanIconButton\n description=\"Search\"\n descriptionKbdProps={{ keys: ['B'], modifierKeys: ['meta'] }}\n variant=\"neutral\"\n >\n <MagnifyingGlassIconOutline />\n </CleanIconButton>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -23,7 +23,7 @@ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
|
23
23
|
import { CleanIconButton, Typography } from '@neo4j-ndl/react';
|
|
24
24
|
import { MagnifyingGlassIconOutline } from '@neo4j-ndl/react/icons';
|
|
25
25
|
const Component = () => {
|
|
26
|
-
return (_jsxs("div", { className: "
|
|
26
|
+
return (_jsxs("div", { className: "flex flex-col gap-token-16", children: [_jsxs("div", { className: "flex flex-row gap-token-16 items-center", children: [_jsx(CleanIconButton, { description: "Search", size: "small", children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(Typography, { variant: "label", children: " Small" })] }), _jsxs("div", { className: "flex flex-row gap-token-16 items-center", children: [_jsx(CleanIconButton, { description: "Search", size: "medium", children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(Typography, { variant: "label", children: " Medium" })] }), _jsxs("div", { className: "flex flex-row gap-token-16 items-center", children: [_jsx(CleanIconButton, { description: "Search", size: "large", children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(Typography, { variant: "label", children: " Large" })] })] }));
|
|
27
27
|
};
|
|
28
28
|
export default Component;
|
|
29
29
|
//# sourceMappingURL=clean-icon-button-sizes.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-icon-button-sizes.story.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"clean-icon-button-sizes.story.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,4BAA4B,aACzC,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,eAAe,IAAC,WAAW,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,YAChD,KAAC,0BAA0B,KAAG,GACd,EAClB,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,uBAAoB,IAC3C,EACN,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,eAAe,IAAC,WAAW,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,YACjD,KAAC,0BAA0B,KAAG,GACd,EAClB,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,wBAAqB,IAC5C,EACN,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,eAAe,IAAC,WAAW,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,YAChD,KAAC,0BAA0B,KAAG,GACd,EAClB,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,uBAAoB,IAC3C,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { CleanIconButton, Typography } from '@neo4j-ndl/react';\nimport { MagnifyingGlassIconOutline } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-16\">\n <div className=\"flex flex-row gap-token-16 items-center\">\n <CleanIconButton description=\"Search\" size=\"small\">\n <MagnifyingGlassIconOutline />\n </CleanIconButton>\n <Typography variant=\"label\"> Small</Typography>\n </div>\n <div className=\"flex flex-row gap-token-16 items-center\">\n <CleanIconButton description=\"Search\" size=\"medium\">\n <MagnifyingGlassIconOutline />\n </CleanIconButton>\n <Typography variant=\"label\"> Medium</Typography>\n </div>\n <div className=\"flex flex-row gap-token-16 items-center\">\n <CleanIconButton description=\"Search\" size=\"large\">\n <MagnifyingGlassIconOutline />\n </CleanIconButton>\n <Typography variant=\"label\"> Large</Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -23,7 +23,7 @@ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
|
23
23
|
import { CleanIconButton, Typography } from '@neo4j-ndl/react';
|
|
24
24
|
import { MagnifyingGlassIconOutline } from '@neo4j-ndl/react/icons';
|
|
25
25
|
const Component = () => {
|
|
26
|
-
return (_jsxs("div", { className: "
|
|
26
|
+
return (_jsxs("div", { className: "flex flex-col gap-token-16", children: [_jsxs("div", { className: "flex flex-row gap-token-16 items-center", children: [_jsx(CleanIconButton, { description: "Search", variant: "neutral", children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(Typography, { variant: "label", children: "Default" })] }), _jsxs("div", { className: "flex flex-row gap-token-16 items-center", children: [_jsx(CleanIconButton, { description: "Search", variant: "danger", children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(Typography, { variant: "label", children: "Danger" })] })] }));
|
|
27
27
|
};
|
|
28
28
|
export default Component;
|
|
29
29
|
//# sourceMappingURL=clean-icon-button-tone.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-icon-button-tone.story.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button-tone.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"clean-icon-button-tone.story.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button-tone.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,4BAA4B,aACzC,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,eAAe,IAAC,WAAW,EAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,YACrD,KAAC,0BAA0B,KAAG,GACd,EAClB,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,wBAAqB,IAC5C,EACN,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,eAAe,IAAC,WAAW,EAAC,QAAQ,EAAC,OAAO,EAAC,QAAQ,YACpD,KAAC,0BAA0B,KAAG,GACd,EAClB,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,uBAAoB,IAC3C,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { CleanIconButton, Typography } from '@neo4j-ndl/react';\nimport { MagnifyingGlassIconOutline } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-16\">\n <div className=\"flex flex-row gap-token-16 items-center\">\n <CleanIconButton description=\"Search\" variant=\"neutral\">\n <MagnifyingGlassIconOutline />\n </CleanIconButton>\n <Typography variant=\"label\">Default</Typography>\n </div>\n <div className=\"flex flex-row gap-token-16 items-center\">\n <CleanIconButton description=\"Search\" variant=\"danger\">\n <MagnifyingGlassIconOutline />\n </CleanIconButton>\n <Typography variant=\"label\">Danger</Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { ClipboardButton } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "
|
|
25
|
+
return (_jsxs("div", { className: "flex gap-token-16", children: [_jsx(ClipboardButton, { textToCopy: "This is the text to copy", size: "small" }), _jsx(ClipboardButton, { textToCopy: "This is the text to copy", size: "medium" }), _jsx(ClipboardButton, { textToCopy: "This is the text to copy", size: "large" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=clipboard-button-sizes.story.js.map
|