@kaizen/components 1.68.7 → 1.68.9
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/codemods/README.md +2 -1
- package/dist/cjs/__overlays__/Tooltip/v3/Tooltip.cjs +1 -1
- package/dist/esm/Calendar/CalendarPopover/CalendarPopover.mjs +1 -1
- package/dist/esm/EmptyState/EmptyState.mjs +1 -1
- package/dist/esm/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.mjs +1 -1
- package/dist/esm/MultiSelect/subcomponents/Popover/Popover.mjs +1 -1
- package/dist/esm/RichTextEditor/RichTextEditor/RichTextEditor.mjs +1 -1
- package/dist/esm/RichTextEditor/RichTextEditor/schema.mjs +1 -1
- package/dist/esm/RichTextEditor/utils/schema/nodes.mjs +1 -1
- package/dist/esm/TimeField/TimeField.mjs +1 -1
- package/dist/esm/__overlays__/Tooltip/v1/Tooltip.mjs +1 -1
- package/dist/esm/__overlays__/Tooltip/v3/Tooltip.mjs +1 -1
- package/dist/styles.css +50 -50
- package/dist/types/__overlays__/Tooltip/v3/Tooltip.d.ts +1 -1
- package/package.json +30 -30
- package/src/Avatar/_docs/Avatar.mdx +3 -4
- package/src/AvatarGroup/_docs/AvatarGroup.mdx +3 -3
- package/src/Badge/_docs/Badge.mdx +3 -3
- package/src/Brand/_docs/Brand.mdx +3 -4
- package/src/BrandMoment/_docs/BrandMoment.mdx +3 -3
- package/src/ButtonGroup/_docs/ButtonGroup.mdx +3 -3
- package/src/Calendar/CalendarRange/_docs/CalendarRange.mdx +3 -3
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.mdx +3 -3
- package/src/Card/_docs/Card.mdx +5 -4
- package/src/Checkbox/Checkbox/_docs/Checkbox.mdx +4 -5
- package/src/Checkbox/CheckboxField/_docs/CheckboxField.mdx +5 -3
- package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.mdx +4 -3
- package/src/Collapsible/Collapsible/_docs/Collapsible.mdx +3 -3
- package/src/Collapsible/CollapsibleGroup/_docs/CollapsibleGroup.mdx +8 -7
- package/src/Collapsible/ExpertAdviceCollapsible/_docs/ExpertAdviceCollapsible.mdx +3 -3
- package/src/Container/_docs/Container.mdx +6 -4
- package/src/Content/_docs/Content.mdx +6 -4
- package/src/DatePicker/_docs/DatePicker.mdx +3 -3
- package/src/DateRangePicker/_docs/DateRangePicker.mdx +3 -4
- package/src/Divider/_docs/Divider.mdx +3 -3
- package/src/EmptyState/_docs/EmptyState.mdx +3 -3
- package/src/ErrorPage/_docs/ErrorPage.mdx +3 -3
- package/src/FieldGroup/_docs/FieldGroup.mdx +6 -4
- package/src/FieldMessage/_docs/FieldMessage.mdx +3 -4
- package/src/Filter/Filter/_docs/Filter.mdx +13 -14
- package/src/Filter/FilterBar/_docs/FilterBar.mdx +49 -48
- package/src/Filter/FilterButton/_docs/filter-buttons.mdx +5 -5
- package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.mdx +8 -3
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.mdx +9 -3
- package/src/Filter/FilterMultiSelect/_docs/FilterMultiSelect.mdx +90 -39
- package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.spec.tsx +1 -0
- package/src/Filter/FilterSelect/_docs/FilterSelect.mdx +4 -4
- package/src/GuidanceBlock/_docs/GuidanceBlock.mdx +3 -3
- package/src/Heading/_docs/Heading.mdx +4 -4
- package/src/Icon/_docs/Icon.mdx +5 -7
- package/src/Illustration/Scene/BrandMomentCaptureIntro/_docs/BrandMomentCaptureIntro.mdx +10 -3
- package/src/Illustration/Scene/_docs/Scene.mdx +5 -8
- package/src/Illustration/Spot/_docs/Spot.mdx +4 -4
- package/src/Input/Input/_docs/Input.mdx +8 -4
- package/src/Input/InputRange/_docs/InputRange.mdx +3 -3
- package/src/Input/InputSearch/_docs/InputSearch.mdx +4 -3
- package/src/KaizenProvider/_docs/KaizenProvider.mdx +9 -9
- package/src/KaizenProvider/_docs/internationalization-in-kaizen.mdx +10 -11
- package/src/Label/_docs/Label.mdx +9 -3
- package/src/LabelledMessage/_docs/LabelledMessage.mdx +3 -3
- package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.mdx +3 -3
- package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.mdx +5 -5
- package/src/Loading/LoadingHeading/_docs/LoadingHeading.mdx +3 -3
- package/src/Loading/LoadingInput/_docs/LoadingInput.mdx +3 -3
- package/src/Loading/LoadingParagraph/_docs/LoadingParagraph.mdx +3 -3
- package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.mdx +3 -4
- package/src/Modal/ConfirmationModal/_docs/ConfirmationModal.mdx +3 -3
- package/src/Modal/ContextModal/_docs/ContextModal.mdx +6 -3
- package/src/Modal/GenericModal/_docs/GenericModal.mdx +5 -4
- package/src/Modal/InputEditModal/_docs/InputEditModal.mdx +3 -4
- package/src/MultiSelect/_docs/MultiSelect.mdx +3 -4
- package/src/Notification/GlobalNotification/_docs/GlobalNotification.mdx +3 -3
- package/src/Notification/InlineNotification/_docs/InlineNotification.mdx +3 -4
- package/src/Notification/ToastNotification/_docs/ToastNotification.mdx +3 -3
- package/src/Pagination/_docs/Pagination.mdx +3 -3
- package/src/Pagination/subcomponents/DirectionalLink/_docs/DirectionalLink.mdx +3 -3
- package/src/Pagination/subcomponents/PaginationLink/_docs/PaginationLink.mdx +3 -3
- package/src/Popover/_docs/Popover.mdx +12 -10
- package/src/ProgressBar/_docs/ProgressBar.mdx +3 -4
- package/src/Radio/Radio/_docs/Radio.mdx +4 -4
- package/src/Radio/RadioField/_docs/RadioField.mdx +3 -3
- package/src/Radio/RadioGroup/_docs/RadioGroup.mdx +3 -3
- package/src/RichTextEditor/EditableRichTextContent/_docs/EditableRichTextContent.mdx +7 -10
- package/src/RichTextEditor/RichTextContent/_docs/RichTextContent.mdx +3 -5
- package/src/RichTextEditor/RichTextEditor/_docs/RichTextEditor.mdx +7 -9
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.mdx +3 -3
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/_docs/Toolbar.mdx +3 -3
- package/src/SearchField/_docs/SearchField.mdx +3 -3
- package/src/Select/_docs/Select.mdx +7 -3
- package/src/Skirt/_docs/Skirt.mdx +4 -4
- package/src/Slider/_docs/Slider.mdx +3 -3
- package/src/SplitButton/_docs/SplitButton.mdx +4 -3
- package/src/Table/_docs/Table.mdx +19 -6
- package/src/Tabs/_docs/Tabs.mdx +4 -7
- package/src/Tag/_docs/Tag.mdx +16 -5
- package/src/Text/_docs/Text.mdx +3 -3
- package/src/TextArea/_docs/TextArea.mdx +5 -4
- package/src/TextAreaField/_docs/TextAreaField.mdx +9 -4
- package/src/TextField/_docs/TextField.mdx +9 -4
- package/src/Tile/InformationTile/_docs/InformationTile.mdx +5 -4
- package/src/Tile/MultiActionTile/_docs/MultiActionTile.mdx +5 -3
- package/src/Tile/TileGrid/_docs/TileGrid.mdx +3 -3
- package/src/TimeField/_docs/TimeField.mdx +3 -3
- package/src/TitleBlockZen/_docs/TitleBlockZen.mdx +5 -3
- package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.mdx +3 -3
- package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.mdx +3 -3
- package/src/VisuallyHidden/_docs/VisuallyHidden.mdx +6 -4
- package/src/Well/_docs/Well.mdx +5 -5
- package/src/Workflow/_docs/ProgressStepper.mdx +3 -3
- package/src/Workflow/_docs/Workflow.mdx +25 -19
- package/src/Workflow/_docs/WorkflowFooter.mdx +3 -3
- package/src/Workflow/_docs/WorkflowHeader.mdx +3 -3
- package/src/__actions__/Button/v1/Button/_docs/Button.mdx +4 -4
- package/src/__actions__/Button/v1/IconButton/_docs/IconButton.mdx +3 -3
- package/src/__actions__/Button/v2/Button/_docs/Button.mdx +4 -4
- package/src/__actions__/Button/v2/IconButton/_docs/IconButton.mdx +3 -3
- package/src/__actions__/Button/v3/_docs/Button--api-specification.mdx +49 -17
- package/src/__actions__/Button/v3/_docs/Button--usage-guidelines.mdx +8 -6
- package/src/__actions__/Menu/v1/_docs/Menu.mdx +3 -4
- package/src/__actions__/Menu/v2/_docs/Menu.mdx +8 -4
- package/src/__actions__/Menu/v3/_docs/ApiSpecification.mdx +35 -24
- package/src/__actions__/Menu/v3/_docs/Menu.mdx +52 -39
- package/src/__future__/Icon/_docs/Icon--api-specification.mdx +17 -10
- package/src/__future__/Icon/_docs/Icon--usage-guidelines.mdx +5 -4
- package/src/__future__/Select/_docs/Select.mdx +9 -5
- package/src/__future__/Tabs/_docs/Tabs--api-specification.mdx +4 -8
- package/src/__future__/Tabs/_docs/Tabs--migration-guide.mdx +11 -4
- package/src/__future__/Tag/RemovableTag/_docs/RemovableTag.mdx +4 -6
- package/src/__future__/Tag/Tag/_docs/Tag-migration-guide.mdx +12 -20
- package/src/__future__/Tag/Tag/_docs/Tag.mdx +3 -4
- package/src/__overlays__/Focusable/v3/_docs/ApiSpecification.mdx +14 -13
- package/src/__overlays__/Tooltip/v1/_docs/Tooltip.mdx +5 -7
- package/src/__overlays__/Tooltip/v2/_docs/Tooltip.mdx +5 -6
- package/src/__overlays__/Tooltip/v3/Tooltip.tsx +3 -2
- package/src/__overlays__/Tooltip/v3/_docs/ApiSpecification.mdx +50 -46
- package/src/__overlays__/Tooltip/v3/_docs/Tooltip.mdx +63 -48
package/codemods/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
1
|
# Kaizen codemods
|
|
2
|
+
|
|
3
3
|
This directory is a collection of codemods that can be executed via CLI with the `kaizen-codemod` command.
|
|
4
4
|
|
|
5
5
|
## Prerequisites
|
|
@@ -18,6 +18,7 @@ DIR - the directory to run the codemod for. Note that node_modules are excluded.
|
|
|
18
18
|
CODEMOD_NAME - the name of the codemod (refer to list below).
|
|
19
19
|
|
|
20
20
|
Example:
|
|
21
|
+
|
|
21
22
|
```
|
|
22
23
|
pnpm kaizen-codemod src migrateWellVariantToColor
|
|
23
24
|
```
|
|
@@ -42,7 +42,7 @@ var Tooltip = React.forwardRef(function (_a, ref) {
|
|
|
42
42
|
className: mergeClassNames.mergeClassNames(Tooltip_module.tooltip, className, reverseColors && Tooltip_module.reversed)
|
|
43
43
|
}), function (renderProps) {
|
|
44
44
|
return React__default.default.createElement(React__default.default.Fragment, null, React__default.default.createElement(OverlayArrow.OverlayArrow, null), typeof children === 'function' ? children(renderProps) : children);
|
|
45
|
-
}), shouldInlineHiddenContent ? React__default.default.createElement(VisuallyHidden.VisuallyHidden, null, typeof children === 'function' ? children({
|
|
45
|
+
}), shouldInlineHiddenContent ? React__default.default.createElement(VisuallyHidden.VisuallyHidden, null, typeof children === 'function' ? contextState && children({
|
|
46
46
|
placement: 'center',
|
|
47
47
|
isEntering: false,
|
|
48
48
|
isExiting: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { useFloating,
|
|
3
|
+
import { useFloating, size, offset, autoPlacement, autoUpdate } from '@floating-ui/react-dom';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import styles from './CalendarPopover.module.scss.mjs';
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { Heading } from '../Heading/Heading.mjs';
|
|
5
5
|
import '../Illustration/subcomponents/Base/Base.mjs';
|
|
6
6
|
import '../Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.mjs';
|
|
7
|
-
import {
|
|
7
|
+
import { EmptyStatesPositive, EmptyStatesNegative, EmptyStatesInformative, EmptyStatesNeutral } from '../Illustration/Scene/Scene.mjs';
|
|
8
8
|
import { Text } from '../Text/Text.mjs';
|
|
9
9
|
import styles from './EmptyState.module.css.mjs';
|
|
10
10
|
var ILLUSTRATIONS = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __assign, __spreadArray } from 'tslib';
|
|
2
2
|
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { useSelectionContext } from '../../context/SelectionProvider/SelectionProvider.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
|
-
import { useFloating,
|
|
4
|
+
import { useFloating, offset, flip, size, autoUpdate } from '@floating-ui/react-dom';
|
|
5
5
|
import classnames from 'classnames';
|
|
6
6
|
import { FocusOn } from 'react-focus-on';
|
|
7
7
|
import styles from './Popover.module.scss.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest,
|
|
1
|
+
import { __rest, __assign, __spreadArray } from 'tslib';
|
|
2
2
|
import React, { useId, useState, useEffect } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { FieldMessage } from '../../FieldMessage/FieldMessage.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import { nodes } from 'prosemirror-schema-basic';
|
|
3
|
-
import {
|
|
3
|
+
import { orderedList, bulletList, listItem } from 'prosemirror-schema-list';
|
|
4
4
|
var getNodes = function () {
|
|
5
5
|
// We use camel case names instead of ProseMirror's snake case, so we remove any snake case properties here before spreading
|
|
6
6
|
var hardBreak = nodes.hard_break,
|
|
@@ -3,7 +3,7 @@ import React, { useState, useId, useRef, useEffect, cloneElement } from 'react';
|
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { usePopper } from 'react-popper';
|
|
6
|
-
import {
|
|
6
|
+
import { AnimationProvider, useAnimation } from './subcomponents/AppearanceAnim.mjs';
|
|
7
7
|
import { isSemanticElement } from './utils/isSemanticElement.mjs';
|
|
8
8
|
import styles from './Tooltip.module.scss.mjs';
|
|
9
9
|
var positionToPlacement = new Map([['above', 'top'], ['below', 'bottom'], ['left', 'left'], ['right', 'right']]);
|
|
@@ -36,7 +36,7 @@ const Tooltip = /*#__PURE__*/function () {
|
|
|
36
36
|
className: mergeClassNames(styles.tooltip, className, reverseColors && styles.reversed)
|
|
37
37
|
}), function (renderProps) {
|
|
38
38
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OverlayArrow, null), typeof children === 'function' ? children(renderProps) : children);
|
|
39
|
-
}), shouldInlineHiddenContent ? ( /*#__PURE__*/React.createElement(VisuallyHidden, null, typeof children === 'function' ? children({
|
|
39
|
+
}), shouldInlineHiddenContent ? ( /*#__PURE__*/React.createElement(VisuallyHidden, null, typeof children === 'function' ? contextState && children({
|
|
40
40
|
placement: 'center',
|
|
41
41
|
isEntering: false,
|
|
42
42
|
isExiting: false,
|
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
@layer tokens, normalize, reset;@layer tokens{:root{--theme-key:heart;--animation-easing-function-ease-in-out:cubic-bezier(0.455,0.03,0.515,0.955);--animation-easing-function-ease-in:cubic-bezier(0.55,0.085,0.68,0.53);--animation-easing-function-ease-out:cubic-bezier(0.25,0.46,0.45,0.94);--animation-easing-function-linear:linear;--animation-easing-function-bounce-in:cubic-bezier(0.485,0.155,0.24,1.245);--animation-easing-function-bounce-out:cubic-bezier(0.485,0.155,0.515,0.845);--animation-easing-function-bounce-in-out:cubic-bezier(0.76,-0.245,0.24,1.245);--animation-duration-instant:0ms;--animation-duration-immediate:100ms;--animation-duration-rapid:200ms;--animation-duration-fast:300ms;--animation-duration-slow:400ms;--animation-duration-deliberate:700ms;--border-solid-border-width:2px;--border-solid-border-radius:7px;--border-solid-border-style:solid;--border-solid-border-color:#e1e2ea;--border-solid-border-color-rgb:225,226,234;--border-dashed-border-width:2px;--border-dashed-border-radius:7px;--border-dashed-border-style:dashed;--border-borderless-border-width:2px;--border-borderless-border-radius:7px;--border-borderless-border-style:solid;--border-borderless-border-color:transparent;--border-borderless-border-color-rgb:0,0,0;--border-focus-ring-border-width:2px;--border-focus-ring-border-radius:10px;--border-focus-ring-border-style:solid;--border-width-1:1px;--color-purple-100:#f4edf8;--color-purple-100-rgb:244,237,248;--color-purple-200:#dfc9ea;--color-purple-200-rgb:223,201,234;--color-purple-300:#c9a5dd;--color-purple-300-rgb:201,165,221;--color-purple-400:#ae67b1;--color-purple-400-rgb:174,103,177;--color-purple-500:#844587;--color-purple-500-rgb:132,69,135;--color-purple-600:#5f3361;--color-purple-600-rgb:95,51,97;--color-purple-700:#4a234d;--color-purple-700-rgb:74,35,77;--color-purple-800:#2f2438;--color-purple-800-rgb:47,36,56;--color-blue-100:#e6f6ff;--color-blue-100-rgb:230,246,255;--color-blue-200:#bde2f5;--color-blue-200-rgb:189,226,245;--color-blue-300:#73c0e8;--color-blue-300-rgb:115,192,232;--color-blue-400:#008bd6;--color-blue-400-rgb:0,139,214;--color-blue-500:#0168b3;--color-blue-500-rgb:1,104,179;--color-blue-600:#004970;--color-blue-600-rgb:0,73,112;--color-blue-700:#003157;--color-blue-700-rgb:0,49,87;--color-green-100:#e8f8f4;--color-green-100-rgb:232,248,244;--color-green-200:#c4ede2;--color-green-200-rgb:196,237,226;--color-green-300:#8fdbc7;--color-green-300-rgb:143,219,199;--color-green-400:#5dcaad;--color-green-400-rgb:93,202,173;--color-green-500:#3f9a86;--color-green-500-rgb:63,154,134;--color-green-600:#2c7d67;--color-green-600-rgb:44,125,103;--color-green-700:#22594a;--color-green-700-rgb:34,89,74;--color-yellow-100:#fff9e4;--color-yellow-100-rgb:255,249,228;--color-yellow-200:#ffeeb3;--color-yellow-200-rgb:255,238,179;--color-yellow-300:#ffe36e;--color-yellow-300-rgb:255,227,110;--color-yellow-400:#ffca4d;--color-yellow-400-rgb:255,202,77;--color-yellow-500:#ffb600;--color-yellow-500-rgb:255,182,0;--color-yellow-600:#c68600;--color-yellow-600-rgb:198,134,0;--color-yellow-700:#876400;--color-yellow-700-rgb:135,100,0;--color-red-100:#fdeaee;--color-red-100-rgb:253,234,238;--color-red-200:#f9c2cb;--color-red-200-rgb:249,194,203;--color-red-300:#f597a8;--color-red-300-rgb:245,151,168;--color-red-400:#e0707d;--color-red-400-rgb:224,112,125;--color-red-500:#c93b55;--color-red-500-rgb:201,59,85;--color-red-600:#a82433;--color-red-600-rgb:168,36,51;--color-red-700:#6c1e20;--color-red-700-rgb:108,30,32;--color-orange-100:#fff0e8;--color-orange-100-rgb:255,240,232;--color-orange-200:#ffd1b9;--color-orange-200-rgb:255,209,185;--color-orange-300:#ffb08a;--color-orange-300-rgb:255,176,138;--color-orange-400:#ff9461;--color-orange-400-rgb:255,148,97;--color-orange-500:#e96c2f;--color-orange-500-rgb:233,108,47;--color-orange-600:#b74302;--color-orange-600-rgb:183,67,2;--color-orange-700:#903c00;--color-orange-700-rgb:144,60,0;--color-gray-100:#f9f9f9;--color-gray-100-rgb:249,249,249;--color-gray-200:#f4f4f5;--color-gray-200-rgb:244,244,245;--color-gray-300:#eaeaec;--color-gray-300-rgb:234,234,236;--color-gray-400:#cdcdd0;--color-gray-400-rgb:205,205,208;--color-gray-500:#878792;--color-gray-500-rgb:135,135,146;--color-gray-600:#524e56;--color-gray-600-rgb:82,78,86;--color-white:#fff;--color-white-rgb:255,255,255;--color-black:#000;--color-black-rgb:0,0,0;--data-viz-favorable:#7dd5bd;--data-viz-favorable-rgb:125,213,189;--data-viz-unfavorable:#e68d97;--data-viz-unfavorable-rgb:230,141,151;--layout-content-max-width:1392px;--layout-content-max-width-with-sidebar:1080px;--layout-content-side-margin:72px;--layout-mobile-actions-drawer-height:60px;--layout-navigation-bar-height:72px;--layout-breakpoints-medium:768px;--layout-breakpoints-large:1080px;--shadow-small-box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 3px 16px 0 rgba(0,0,0,.06);--shadow-large-box-shadow:0 3px 9px 0 rgba(0,0,0,.1),0 8px 40px 0 rgba(0,0,0,.08);--spacing-0:0;--spacing-1:.0625rem;--spacing-2:.125rem;--spacing-4:.25rem;--spacing-6:.375rem;--spacing-8:.5rem;--spacing-12:.75rem;--spacing-16:1rem;--spacing-20:1.25rem;--spacing-24:1.5rem;--spacing-32:2rem;--spacing-40:2.5rem;--spacing-48:3rem;--spacing-56:3.5rem;--spacing-64:4rem;--spacing-72:4.5rem;--spacing-80:5rem;--spacing-96:6rem;--spacing-112:7rem;--spacing-128:8rem;--spacing-160:10rem;--spacing-200:12.5rem;--spacing-240:15rem;--spacing-280:17.5rem;--spacing-320:20rem;--spacing-xs:0.375rem;--spacing-sm:0.75rem;--spacing-md:1.5rem;--spacing-lg:2.25rem;--spacing-xl:3rem;--spacing-xxl:3.75rem;--spacing-xxxl:4.5rem;--spacing-xxxxl:5.25rem;--spacing-xxxxxl:6rem;--typography-data-large-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-font-weight:700;--typography-data-large-font-size:5.25rem;--typography-data-large-line-height:5.25rem;--typography-data-large-letter-spacing:normal;--typography-data-large-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-units-font-weight:700;--typography-data-large-units-font-size:2.625rem;--typography-data-large-units-line-height:5.25rem;--typography-data-large-units-letter-spacing:normal;--typography-data-medium-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-font-weight:700;--typography-data-medium-font-size:3rem;--typography-data-medium-line-height:5rem;--typography-data-medium-letter-spacing:normal;--typography-data-medium-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-units-font-weight:700;--typography-data-medium-units-font-size:1.5rem;--typography-data-medium-units-line-height:5rem;--typography-data-medium-units-letter-spacing:normal;--typography-data-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-font-weight:700;--typography-data-small-font-size:1.5rem;--typography-data-small-line-height:1.5rem;--typography-data-small-letter-spacing:normal;--typography-data-small-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-units-font-weight:700;--typography-data-small-units-font-size:1.125rem;--typography-data-small-units-line-height:1.5rem;--typography-data-small-units-letter-spacing:normal;--typography-display-0-font-family:"Tiempos Headline",Georgia,serif;--typography-display-0-font-weight:800;--typography-display-0-font-size:4.5rem;--typography-display-0-line-height:5.25rem;--typography-display-0-letter-spacing:0em;--typography-heading-1-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-1-font-weight:500;--typography-heading-1-font-size:2.125rem;--typography-heading-1-line-height:2.625rem;--typography-heading-1-letter-spacing:normal;--typography-heading-2-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-2-font-weight:600;--typography-heading-2-font-size:1.75rem;--typography-heading-2-line-height:2.25rem;--typography-heading-2-letter-spacing:normal;--typography-heading-3-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-3-font-weight:600;--typography-heading-3-font-size:1.375rem;--typography-heading-3-line-height:1.875rem;--typography-heading-3-letter-spacing:normal;--typography-heading-4-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-4-font-weight:600;--typography-heading-4-font-size:1.125rem;--typography-heading-4-line-height:1.5rem;--typography-heading-4-letter-spacing:normal;--typography-heading-5-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-5-font-weight:600;--typography-heading-5-font-size:1rem;--typography-heading-5-line-height:1.5rem;--typography-heading-5-letter-spacing:normal;--typography-heading-6-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-6-font-weight:600;--typography-heading-6-font-size:0.875rem;--typography-heading-6-line-height:1.5rem;--typography-heading-6-letter-spacing:normal;--typography-paragraph-intro-lede-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-intro-lede-font-weight:400;--typography-paragraph-intro-lede-font-size:1.25rem;--typography-paragraph-intro-lede-line-height:1.875rem;--typography-paragraph-intro-lede-letter-spacing:0;--typography-paragraph-intro-lede-max-width:975px;--typography-paragraph-body-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-body-font-weight:400;--typography-paragraph-body-font-size:1rem;--typography-paragraph-body-line-height:1.5rem;--typography-paragraph-body-letter-spacing:normal;--typography-paragraph-body-max-width:780px;--typography-paragraph-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-small-font-weight:400;--typography-paragraph-small-font-size:0.875rem;--typography-paragraph-small-line-height:1.125rem;--typography-paragraph-small-letter-spacing:normal;--typography-paragraph-small-max-width:680px;--typography-paragraph-extra-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-extra-small-font-weight:400;--typography-paragraph-extra-small-font-size:0.75rem;--typography-paragraph-extra-small-line-height:1.125rem;--typography-paragraph-extra-small-letter-spacing:normal;--typography-paragraph-extra-small-max-width:600px;--typography-paragraph-bold-font-weight:600;--typography-button-primary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-primary-font-weight:500;--typography-button-primary-font-size:1.125rem;--typography-button-primary-line-height:1.5rem;--typography-button-primary-letter-spacing:normal;--typography-button-secondary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-secondary-font-weight:500;--typography-button-secondary-font-size:1rem;--typography-button-secondary-line-height:1.5rem;--typography-button-secondary-letter-spacing:normal}}@layer normalize{html{text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}}@layer reset{@font-face{font-family:Tiempos Headline;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff)}@font-face{font-family:Tiempos Headline;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff)}@font-face{font-family:Greycliff CF;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-light.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-regular.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-medium.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-demi-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-extra-bold.woff) format("woff")}@font-face{font-family:Inter;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff)}@font-face{font-family:Inter;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff)}@font-face{font-family:Inter;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff)}@font-face{font-family:Inter;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff)}@font-face{font-family:Inter;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff)}@font-face{font-family:Inter;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff)}@font-face{font-family:IBM Plex Mono;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff)}}@layer reset{*,:after,:before{border-color:var(--border-solid-border-color,"currentColor");border-style:solid;border-width:0}}
|
|
2
|
+
.Menu-module_menu__AowD8 {
|
|
3
|
+
background-color: var(--color-white);
|
|
4
|
+
color: var(--color-purple-800);
|
|
5
|
+
width: 248px;
|
|
6
|
+
max-height: 22rem;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
padding-block: var(--spacing-6);
|
|
9
|
+
outline: none;
|
|
10
|
+
border-radius: var(--border-solid-border-radius);
|
|
11
|
+
box-shadow: var(--shadow-large-box-shadow);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.Menu-module_menu__AowD8 .react-aria-Header {
|
|
15
|
+
font-family: var(--typography-heading-6-font-family);
|
|
16
|
+
font-size: var(--typography-heading-6-font-size);
|
|
17
|
+
letter-spacing: var(--typography-heading-6-letter-spacing);
|
|
18
|
+
font-weight: var(--typography-heading-6-font-weight);
|
|
19
|
+
line-height: var(--typography-heading-6-line-height);
|
|
20
|
+
padding: var(--spacing-6) 10px;
|
|
21
|
+
margin-inline: var(--spacing-6);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.Menu-module_menu__AowD8 section:not(:last-of-type) {
|
|
25
|
+
&::after {
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 1px;
|
|
28
|
+
background-color: var(--border-solid-border-color);
|
|
29
|
+
content: '';
|
|
30
|
+
display: block;
|
|
31
|
+
margin-block: var(--spacing-6);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
2
35
|
.MenuItem-module_item__uImZI {
|
|
3
36
|
display: block;
|
|
4
37
|
font-family: var(--typography-paragraph-body-font-family);
|
|
@@ -279,37 +312,24 @@
|
|
|
279
312
|
visibility: hidden;
|
|
280
313
|
}
|
|
281
314
|
|
|
282
|
-
.
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
max-height: 22rem;
|
|
287
|
-
overflow: auto;
|
|
288
|
-
padding-block: var(--spacing-6);
|
|
289
|
-
outline: none;
|
|
290
|
-
border-radius: var(--border-solid-border-radius);
|
|
291
|
-
box-shadow: var(--shadow-large-box-shadow);
|
|
315
|
+
.ButtonContent-module_buttonContent__v5mHZ {
|
|
316
|
+
display: inline-flex;
|
|
317
|
+
align-items: center;
|
|
318
|
+
gap: var(--button-icon-gap, var(--spacing-6));
|
|
292
319
|
}
|
|
293
320
|
|
|
294
|
-
.
|
|
295
|
-
|
|
296
|
-
font-size: var(--typography-heading-6-font-size);
|
|
297
|
-
letter-spacing: var(--typography-heading-6-letter-spacing);
|
|
298
|
-
font-weight: var(--typography-heading-6-font-weight);
|
|
299
|
-
line-height: var(--typography-heading-6-line-height);
|
|
300
|
-
padding: var(--spacing-6) 10px;
|
|
301
|
-
margin-inline: var(--spacing-6);
|
|
321
|
+
.ButtonContent-module_large__mLOdb {
|
|
322
|
+
--button-icon-gap: var(--spacing-8);
|
|
302
323
|
}
|
|
303
324
|
|
|
304
|
-
.
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
325
|
+
.ButtonContent-module_buttonLabel__T5XAq {
|
|
326
|
+
display: inline-flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.ButtonContent-module_buttonIcon__qkAX- {
|
|
331
|
+
display: inline-flex;
|
|
332
|
+
align-items: center;
|
|
313
333
|
}
|
|
314
334
|
|
|
315
335
|
.PendingContent-module_pendingContent__c4IFS {
|
|
@@ -329,26 +349,6 @@
|
|
|
329
349
|
transform: translate(-50%, -50%);
|
|
330
350
|
}
|
|
331
351
|
|
|
332
|
-
.ButtonContent-module_buttonContent__v5mHZ {
|
|
333
|
-
display: inline-flex;
|
|
334
|
-
align-items: center;
|
|
335
|
-
gap: var(--button-icon-gap, var(--spacing-6));
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.ButtonContent-module_large__mLOdb {
|
|
339
|
-
--button-icon-gap: var(--spacing-8);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.ButtonContent-module_buttonLabel__T5XAq {
|
|
343
|
-
display: inline-flex;
|
|
344
|
-
align-items: center;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.ButtonContent-module_buttonIcon__qkAX- {
|
|
348
|
-
display: inline-flex;
|
|
349
|
-
align-items: center;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
352
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
353
353
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
354
354
|
.OverlayArrow-module_overlayArrow__hoDyK {
|
|
@@ -377,6 +377,9 @@
|
|
|
377
377
|
.OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
|
|
378
378
|
fill: var(--color-white, #ffffff);
|
|
379
379
|
}
|
|
380
|
+
.Focusable-module_focusableWrapper__NfuIi {
|
|
381
|
+
display: inline-flex;
|
|
382
|
+
}
|
|
380
383
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
381
384
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
382
385
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
@@ -433,9 +436,6 @@
|
|
|
433
436
|
opacity: 1;
|
|
434
437
|
}
|
|
435
438
|
}
|
|
436
|
-
.Focusable-module_focusableWrapper__NfuIi {
|
|
437
|
-
display: inline-flex;
|
|
438
|
-
}
|
|
439
439
|
/*
|
|
440
440
|
* This is taken from the Material Symbols CDN
|
|
441
441
|
* font-weight & font-size removed as overridden in .icon
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TooltipContext, TooltipProps as RACTooltipProps } from 'react-aria-components';
|
|
2
|
+
import { TooltipContext, type TooltipProps as RACTooltipProps } from 'react-aria-components';
|
|
3
3
|
export { TooltipContext };
|
|
4
4
|
export type TooltipProps = Omit<RACTooltipProps, 'offset'> & {
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.68.
|
|
3
|
+
"version": "1.68.9",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@floating-ui/react-dom": "^2.1.2",
|
|
38
38
|
"@headlessui/react": "<=1.5.0",
|
|
39
|
-
"@internationalized/date": "^3.
|
|
39
|
+
"@internationalized/date": "^3.6.0",
|
|
40
40
|
"@popperjs/core": "^2.11.8",
|
|
41
41
|
"@reach/tabs": "^0.18.0",
|
|
42
|
-
"@react-aria/button": "^3.
|
|
43
|
-
"@react-aria/datepicker": "^3.
|
|
44
|
-
"@react-aria/focus": "^3.
|
|
45
|
-
"@react-aria/i18n": "^3.12.
|
|
46
|
-
"@react-aria/listbox": "^3.13.
|
|
47
|
-
"@react-aria/menu": "^3.
|
|
48
|
-
"@react-aria/overlays": "^3.
|
|
49
|
-
"@react-aria/select": "^3.
|
|
50
|
-
"@react-aria/utils": "^3.
|
|
51
|
-
"@react-stately/collections": "^3.
|
|
52
|
-
"@react-stately/datepicker": "^3.
|
|
53
|
-
"@react-stately/list": "^3.11.
|
|
54
|
-
"@react-stately/menu": "^3.
|
|
55
|
-
"@react-stately/select": "^3.6.
|
|
56
|
-
"@react-types/shared": "^3.
|
|
42
|
+
"@react-aria/button": "^3.11.0",
|
|
43
|
+
"@react-aria/datepicker": "^3.12.0",
|
|
44
|
+
"@react-aria/focus": "^3.19.0",
|
|
45
|
+
"@react-aria/i18n": "^3.12.4",
|
|
46
|
+
"@react-aria/listbox": "^3.13.6",
|
|
47
|
+
"@react-aria/menu": "^3.16.0",
|
|
48
|
+
"@react-aria/overlays": "^3.24.0",
|
|
49
|
+
"@react-aria/select": "^3.15.0",
|
|
50
|
+
"@react-aria/utils": "^3.26.0",
|
|
51
|
+
"@react-stately/collections": "^3.12.0",
|
|
52
|
+
"@react-stately/datepicker": "^3.11.0",
|
|
53
|
+
"@react-stately/list": "^3.11.1",
|
|
54
|
+
"@react-stately/menu": "^3.9.0",
|
|
55
|
+
"@react-stately/select": "^3.6.9",
|
|
56
|
+
"@react-types/shared": "^3.26.0",
|
|
57
57
|
"classnames": "^2.5.1",
|
|
58
58
|
"date-fns": "^4.1.0",
|
|
59
59
|
"lodash.debounce": "^4.0.8",
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
"prosemirror-history": "^1.4.1",
|
|
63
63
|
"prosemirror-inputrules": "^1.4.0",
|
|
64
64
|
"prosemirror-keymap": "^1.2.2",
|
|
65
|
-
"prosemirror-model": "^1.
|
|
65
|
+
"prosemirror-model": "^1.24.0",
|
|
66
66
|
"prosemirror-schema-basic": "^1.2.3",
|
|
67
|
-
"prosemirror-schema-list": "^1.
|
|
67
|
+
"prosemirror-schema-list": "^1.5.0",
|
|
68
68
|
"prosemirror-state": "^1.4.3",
|
|
69
69
|
"prosemirror-transform": "^1.10.2",
|
|
70
70
|
"prosemirror-utils": "^1.2.2",
|
|
71
|
-
"prosemirror-view": "^1.
|
|
71
|
+
"prosemirror-view": "^1.37.0",
|
|
72
72
|
"react-animate-height": "^3.2.3",
|
|
73
|
-
"react-aria": "^3.
|
|
74
|
-
"react-aria-components": "^1.
|
|
73
|
+
"react-aria": "^3.36.0",
|
|
74
|
+
"react-aria-components": "^1.5.0",
|
|
75
75
|
"react-day-picker": "8.10.1",
|
|
76
76
|
"react-focus-lock": "^2.13.2",
|
|
77
77
|
"react-focus-on": "^3.9.4",
|
|
@@ -81,13 +81,13 @@
|
|
|
81
81
|
"react-textfit": "^1.1.1",
|
|
82
82
|
"resize-observer-polyfill": "^1.5.1",
|
|
83
83
|
"use-debounce": "^10.0.4",
|
|
84
|
-
"uuid": "^
|
|
84
|
+
"uuid": "^11.0.3"
|
|
85
85
|
},
|
|
86
86
|
"dependenciesComments": {
|
|
87
87
|
"react-day-picker": "Version locked until a11y gets fixed (https://github.com/gpbl/react-day-picker/pull/1708)"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@cultureamp/frontend-apis": "^11.
|
|
90
|
+
"@cultureamp/frontend-apis": "^11.1.0",
|
|
91
91
|
"@cultureamp/i18n-react-intl": "^2.7.1",
|
|
92
92
|
"@testing-library/dom": "^10.4.0",
|
|
93
93
|
"@types/jest-axe": "^3.5.9",
|
|
@@ -104,21 +104,21 @@
|
|
|
104
104
|
"postcss": "^8.4.49",
|
|
105
105
|
"postcss-cli": "^11.0.0",
|
|
106
106
|
"postcss-import": "^16.1.0",
|
|
107
|
-
"postcss-preset-env": "^10.
|
|
107
|
+
"postcss-preset-env": "^10.1.1",
|
|
108
108
|
"postcss-scss": "^4.0.9",
|
|
109
109
|
"query-string": "^9.1.1",
|
|
110
110
|
"react": "^18.3.1",
|
|
111
111
|
"react-dom": "^18.3.1",
|
|
112
112
|
"react-highlight": "^0.15.0",
|
|
113
|
-
"react-intl": "^6.8.
|
|
114
|
-
"rollup": "^4.
|
|
113
|
+
"react-intl": "^6.8.9",
|
|
114
|
+
"rollup": "^4.28.0",
|
|
115
115
|
"sass": "1.79.6",
|
|
116
116
|
"serialize-query-params": "^2.0.2",
|
|
117
117
|
"svgo": "^3.3.2",
|
|
118
|
-
"tslib": "^2.8.
|
|
118
|
+
"tslib": "^2.8.1",
|
|
119
119
|
"tsx": "^4.19.2",
|
|
120
|
-
"@kaizen/design-tokens": "10.8.
|
|
121
|
-
"@kaizen/package-bundler": "2.0.
|
|
120
|
+
"@kaizen/design-tokens": "10.8.6",
|
|
121
|
+
"@kaizen/package-bundler": "2.0.3"
|
|
122
122
|
},
|
|
123
123
|
"devDependenciesComments": {
|
|
124
124
|
"sass": "Prevent deprecation warnings introduced in 1.80 as we plan to move away from sass",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as AvatarStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as AvatarStories from './Avatar.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={AvatarStories} />
|
|
6
6
|
|
|
@@ -13,7 +13,6 @@ import * as AvatarStories from "./Avatar.stories"
|
|
|
13
13
|
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
<KAIOInstallation exportNames="Avatar" />
|
|
18
17
|
|
|
19
18
|
## Overview
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as AvatarGroupStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as AvatarGroupStories from './AvatarGroup.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={AvatarGroupStories} />
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as BadgeStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as BadgeStories from './Badge.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={BadgeStories} />
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, DocsStory, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as BrandStories from
|
|
1
|
+
import { Canvas, Controls, DocsStory, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as BrandStories from './Brand.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={BrandStories} />
|
|
6
6
|
|
|
@@ -13,7 +13,6 @@ import * as BrandStories from "./Brand.stories"
|
|
|
13
13
|
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
<KAIOInstallation exportNames="Brand" />
|
|
18
17
|
|
|
19
18
|
## Overview
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as BrandMoment from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as BrandMoment from './BrandMoment.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={BrandMoment} />
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as ButtonGroupStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as ButtonGroupStories from './ButtonGroup.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={ButtonGroupStories} />
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CalendarRangeStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CalendarRangeStories from './CalendarRange.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CalendarRangeStories} />
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CalendarSingleStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CalendarSingleStories from './CalendarSingle.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CalendarSingleStories} />
|
|
6
6
|
|
package/src/Card/_docs/Card.mdx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CardStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CardStories from './Card.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CardStories} />
|
|
6
6
|
|
|
@@ -23,8 +23,9 @@ The `Card` component is a flexible container used to wrap primary content. It ha
|
|
|
23
23
|
## API
|
|
24
24
|
|
|
25
25
|
### Colors
|
|
26
|
+
|
|
26
27
|
<Canvas of={CardStories.Colors} />
|
|
27
28
|
|
|
28
29
|
### Elevation
|
|
29
|
-
<Canvas of={CardStories.Elevation} />
|
|
30
30
|
|
|
31
|
+
<Canvas of={CardStories.Elevation} />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import { LinkTo } from
|
|
4
|
-
import * as CheckboxStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import { LinkTo } from '~storybook/components/LinkTo'
|
|
4
|
+
import * as CheckboxStories from './Checkbox.stories'
|
|
5
5
|
|
|
6
6
|
<Meta of={CheckboxStories} />
|
|
7
7
|
|
|
@@ -20,6 +20,5 @@ A primitive, not to be used alone.
|
|
|
20
20
|
|
|
21
21
|
Commonly used via <LinkTo pageId="components-checkbox-controls-checkboxfield">CheckboxField</LinkTo> or <LinkTo pageId="components-checkbox-controls-checkboxgroup">CheckboxGroup</LinkTo>.
|
|
22
22
|
|
|
23
|
-
|
|
24
23
|
<Canvas of={CheckboxStories.Playground} />
|
|
25
24
|
<Controls of={CheckboxStories.Playground} />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CheckboxFieldStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CheckboxFieldStories from './CheckboxField.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CheckboxFieldStories} />
|
|
6
6
|
|
|
@@ -25,7 +25,9 @@ A checkbox field includes a checkable input and its label. Checkbox fields are u
|
|
|
25
25
|
## API
|
|
26
26
|
|
|
27
27
|
### No Bottom Margin
|
|
28
|
+
|
|
28
29
|
Removes the margin from below the Checkbox Field.
|
|
29
30
|
|
|
30
31
|
**Note** This is a bit of an antiquated pattern, we advise you to keep this on by default and use flex containers to apply spacing
|
|
32
|
+
|
|
31
33
|
<Canvas of={CheckboxFieldStories.NoBottomMargin} />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CheckboxGroupStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CheckboxGroupStories from './CheckboxGroup.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CheckboxGroupStories} />
|
|
6
6
|
|
|
@@ -25,6 +25,7 @@ A checkbox group contains checkbox fields that let people select zero or more op
|
|
|
25
25
|
## API
|
|
26
26
|
|
|
27
27
|
### No Bottom Margin
|
|
28
|
+
|
|
28
29
|
Removes the margin from below the Checkbox Field.
|
|
29
30
|
|
|
30
31
|
**Note** This is a bit of an antiquated pattern, we advise you to keep this on by default and use flex containers to apply spacing
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, DocsStory, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CollapsibleStories from
|
|
1
|
+
import { Canvas, Controls, DocsStory, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CollapsibleStories from './Collapsible.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CollapsibleStories} />
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta } from
|
|
2
|
-
import { ResourceLinks, KAIOInstallation } from
|
|
3
|
-
import * as CollapsibleGroupStories from
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
|
+
import * as CollapsibleGroupStories from './CollapsibleGroup.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={CollapsibleGroupStories} />
|
|
6
6
|
|
|
@@ -28,10 +28,11 @@ Collapsibles are used to collapse and expand content inline on a page. This lets
|
|
|
28
28
|
|
|
29
29
|
The `CollapsibleGroup` exposes some of the top level `Collapsible` props so you can apply them to all Collapsibles within the Group.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
- `sticky`
|
|
32
|
+
- `noSectionPadding`
|
|
33
|
+
- `lazyLoad`
|
|
34
|
+
- `onToggle`
|
|
35
35
|
|
|
36
36
|
### Separated
|
|
37
|
+
|
|
37
38
|
<Canvas of={CollapsibleGroupStories.Separated} />
|