@kaizen/components 2.1.0 → 2.1.1
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/dist/cjs/src/SingleSelect/SingleSelect.cjs +0 -2
- package/dist/esm/src/SingleSelect/SingleSelect.mjs +0 -2
- package/dist/types/SingleSelect/SingleSelect.d.ts +0 -2
- package/package.json +1 -1
- package/src/SingleSelect/SingleSelect.tsx +0 -2
- package/src/SingleSelect/_docs/SingleSelect--api-specification.mdx +1 -3
- package/src/SingleSelect/_docs/SingleSelect--usage-guidelines.mdx +1 -3
- package/src/SingleSelect/_docs/SingleSelect.stickersheet.stories.tsx +1 -1
- package/src/SingleSelect/_docs/SingleSelect.stories.tsx +1 -1
|
@@ -31,8 +31,6 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
31
31
|
var classnames__default = /*#__PURE__*/_interopDefault(classnames);
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* @deprecated SingleSelect is deprecated in v3 and will be replaced in v4.
|
|
35
|
-
*
|
|
36
34
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3081896474/Select Guidance} |
|
|
37
35
|
* {@link https://cultureamp.design/?path=/docs/components-select--docs Storybook}
|
|
38
36
|
*/
|
|
@@ -22,8 +22,6 @@ import { transformSelectItemToCollectionElement } from './utils/transformSelectI
|
|
|
22
22
|
import styles from './SingleSelect.module.scss.mjs';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* @deprecated SingleSelect is deprecated in v3 and will be replaced in v4.
|
|
26
|
-
*
|
|
27
25
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3081896474/Select Guidance} |
|
|
28
26
|
* {@link https://cultureamp.design/?path=/docs/components-select--docs Storybook}
|
|
29
27
|
*/
|
|
@@ -57,8 +57,6 @@ export type SingleSelectProps<Option extends SingleSelectOption = SingleSelectOp
|
|
|
57
57
|
onSelectionChange?: (key: Key) => void;
|
|
58
58
|
} & OverrideClassName<Omit<AriaSelectProps<Option>, OmittedAriaSelectProps>>;
|
|
59
59
|
/**
|
|
60
|
-
* @deprecated SingleSelect is deprecated in v3 and will be replaced in v4.
|
|
61
|
-
*
|
|
62
60
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3081896474/Select Guidance} |
|
|
63
61
|
* {@link https://cultureamp.design/?path=/docs/components-select--docs Storybook}
|
|
64
62
|
*/
|
package/package.json
CHANGED
|
@@ -81,8 +81,6 @@ export type SingleSelectProps<Option extends SingleSelectOption = SingleSelectOp
|
|
|
81
81
|
} & OverrideClassName<Omit<AriaSelectProps<Option>, OmittedAriaSelectProps>>
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* @deprecated SingleSelect is deprecated in v3 and will be replaced in v4.
|
|
85
|
-
*
|
|
86
84
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3081896474/Select Guidance} |
|
|
87
85
|
* {@link https://cultureamp.design/?path=/docs/components-select--docs Storybook}
|
|
88
86
|
*/
|
|
@@ -2,12 +2,10 @@ import { Canvas, Meta, Controls, ArgTypes, DocsStory } from '@storybook/blocks'
|
|
|
2
2
|
import { ResourceLinks, KAIOInstallation, LinkTo, ReplacementNotice } from '~storybook/components'
|
|
3
3
|
import * as SingleSelectStories from './SingleSelect.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="Components/SingleSelect
|
|
5
|
+
<Meta title="Components/SingleSelect/API Specification" />
|
|
6
6
|
|
|
7
7
|
# SingleSelect
|
|
8
8
|
|
|
9
|
-
<ReplacementNotice isFuture={true} />
|
|
10
|
-
|
|
11
9
|
<ResourceLinks
|
|
12
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/SingleSelect"
|
|
13
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A37837&mode=dev"
|
|
@@ -8,12 +8,10 @@ import {
|
|
|
8
8
|
} from '~storybook/components'
|
|
9
9
|
import * as SingleSelectStories from './SingleSelect.stories'
|
|
10
10
|
|
|
11
|
-
<Meta title="Components/SingleSelect
|
|
11
|
+
<Meta title="Components/SingleSelect/Usage Guidelines" />
|
|
12
12
|
|
|
13
13
|
# SingleSelect
|
|
14
14
|
|
|
15
|
-
<ReplacementNotice isFuture={true} />
|
|
16
|
-
|
|
17
15
|
<ResourceLinks
|
|
18
16
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/SingleSelect"
|
|
19
17
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A37837&mode=dev"
|
|
@@ -10,7 +10,7 @@ import { type SingleSelectOption } from '../types'
|
|
|
10
10
|
import { groupedMockItems, mixedMockItemsDisabled, singleMockItems } from './mockData'
|
|
11
11
|
|
|
12
12
|
const meta = {
|
|
13
|
-
title: 'Components/SingleSelect
|
|
13
|
+
title: 'Components/SingleSelect',
|
|
14
14
|
component: SingleSelect,
|
|
15
15
|
argTypes: {
|
|
16
16
|
items: {
|