@kaizen/components 1.52.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/DatePicker/DatePicker.cjs +8 -1
- package/dist/cjs/DatePicker/utils/getLocale.cjs +2 -0
- package/dist/cjs/DatePicker/utils/validateDate.cjs +28 -2
- package/dist/cjs/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.cjs +8 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.cjs +14 -2
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.cjs +1 -0
- package/dist/cjs/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.cjs +10 -1
- package/dist/cjs/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.cjs +8 -1
- package/dist/cjs/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.cjs +5 -1
- package/dist/cjs/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/useEndDateValidation.cjs +1 -0
- package/dist/cjs/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/useStartDateValidation.cjs +1 -0
- package/dist/cjs/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/utils/validateEndDateBeforeStartDate.cjs +16 -1
- package/dist/cjs/__future__/Workflow/subcomponents/Header/Header.cjs +1 -1
- package/dist/esm/DatePicker/DatePicker.mjs +8 -1
- package/dist/esm/DatePicker/utils/getLocale.mjs +3 -1
- package/dist/esm/DatePicker/utils/validateDate.mjs +22 -2
- package/dist/esm/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.mjs +8 -1
- package/dist/esm/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.mjs +14 -2
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.mjs +1 -0
- package/dist/esm/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.mjs +10 -1
- package/dist/esm/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.mjs +8 -1
- package/dist/esm/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.mjs +5 -1
- package/dist/esm/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/useEndDateValidation.mjs +1 -0
- package/dist/esm/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/useStartDateValidation.mjs +1 -0
- package/dist/esm/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/utils/validateEndDateBeforeStartDate.mjs +10 -1
- package/dist/esm/__future__/Workflow/subcomponents/Header/Header.mjs +1 -1
- package/dist/types/AvatarGroup/_docs/example-data.d.ts +8 -0
- package/dist/types/BrandMoment/_docs/ExampleHeaders.d.ts +3 -0
- package/dist/types/Calendar/_docs/controls/defaultMonthControls.d.ts +2 -0
- package/dist/types/Calendar/_docs/controls/weekStartsOnControls.d.ts +2 -0
- package/dist/types/Container/Container.d.ts +1 -1
- package/dist/types/Content/Content.d.ts +1 -1
- package/dist/types/DateInput/DateInput/DateInput.d.ts +1 -1
- package/dist/types/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/DatePicker/_docs/controls/datePickerLocaleControls.d.ts +2 -0
- package/dist/types/DatePicker/_docs/controls/disabledDayMatchersControls.d.ts +2 -0
- package/dist/types/DatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -1
- package/dist/types/DatePicker/types.d.ts +2 -1
- package/dist/types/DatePicker/utils/getLocale.d.ts +1 -1
- package/dist/types/Filter/FilterBar/context/types.d.ts +28 -0
- package/dist/types/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/_docs/controls/disabledDaysControls.d.ts +2 -0
- package/dist/types/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +2 -0
- package/dist/types/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/_docs/controls/disabledDaysControls.d.ts +2 -0
- package/dist/types/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +2 -0
- package/dist/types/Filter/FilterMultiSelect/_docs/MockData.d.ts +10 -0
- package/dist/types/Filter/FilterSelect/_docs/mockData.d.ts +6 -0
- package/dist/types/Filter/_docs/controls/renderTriggerControls.d.ts +2 -0
- package/dist/types/Menu/_docs/MenuContentExample.d.ts +8 -0
- package/dist/types/Menu/_docs/examples.d.ts +11 -0
- package/dist/types/Modal/_docs/controls.d.ts +11 -0
- package/dist/types/MultiSelect/MultiSelect.d.ts +23 -0
- package/dist/types/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.d.ts +13 -0
- package/dist/types/Select/Select.d.ts +3 -3
- package/dist/types/Workflow/_docs/controls/controls.d.ts +2 -0
- package/dist/types/Workflow/_docs/controls/index.d.ts +1 -0
- package/dist/types/__future__/Select/Select.d.ts +2 -2
- package/dist/types/__future__/Select/_docs/mockData.d.ts +6 -0
- package/dist/types/__future__/Select/subcomponents/SelectToggle/SelectToggle.d.ts +2 -2
- package/dist/types/__future__/Select/types.d.ts +22 -0
- package/dist/types/__future__/Workflow/_docs/controls/controls.d.ts +2 -0
- package/dist/types/__future__/Workflow/_docs/controls/index.d.ts +1 -0
- package/dist/types/__overlays__/Tooltip/v1/utils/isSemanticElement.d.ts +2 -2
- package/dist/types/utils/getNodeText.d.ts +2 -1
- package/locales/en.json +40 -0
- package/package.json +3 -3
- package/src/Avatar/_docs/Avatar.mdx +1 -1
- package/src/AvatarGroup/_docs/AvatarGroup.mdx +1 -1
- package/src/Badge/_docs/Badge.mdx +1 -1
- package/src/Brand/_docs/Brand.mdx +1 -1
- package/src/BrandMoment/_docs/BrandMoment.mdx +1 -1
- package/src/Button/Button/_docs/Button.mdx +1 -1
- package/src/Button/IconButton/_docs/IconButton.mdx +1 -1
- package/src/ButtonGroup/_docs/ButtonGroup.mdx +1 -1
- package/src/Calendar/CalendarRange/_docs/CalendarRange.mdx +1 -1
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.mdx +1 -1
- package/src/Card/_docs/Card.mdx +1 -1
- package/src/Checkbox/Checkbox/_docs/Checkbox.mdx +1 -1
- package/src/Checkbox/CheckboxField/_docs/CheckboxField.mdx +1 -1
- package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.mdx +1 -1
- package/src/Collapsible/Collapsible/_docs/Collapsible.mdx +1 -1
- package/src/Collapsible/CollapsibleGroup/_docs/CollapsibleGroup.mdx +1 -1
- package/src/Collapsible/ExpertAdviceCollapsible/_docs/ExpertAdviceCollapsible.mdx +1 -1
- package/src/Container/_docs/Container.mdx +1 -1
- package/src/Content/_docs/Content.mdx +1 -1
- package/src/DateInput/DateInputDescription/DateInputDescription.spec.tsx +26 -18
- package/src/DatePicker/DatePicker.spec.tsx +100 -69
- package/src/DatePicker/DatePicker.tsx +13 -5
- package/src/DatePicker/_docs/DatePicker.mdx +1 -1
- package/src/DatePicker/_docs/DatePicker.stickersheet.stories.tsx +57 -21
- package/src/DatePicker/_docs/DatePicker.stories.tsx +2 -3
- package/src/DatePicker/_docs/controls/datePickerLocaleControls.ts +1 -1
- package/src/DatePicker/subcomponents/DateInputField/DateInputField.spec.tsx +49 -36
- package/src/DatePicker/types.ts +2 -1
- package/src/DatePicker/utils/getLocale.ts +6 -2
- package/src/DatePicker/utils/validateDate.spec.ts +40 -16
- package/src/DatePicker/utils/{validateDate.ts → validateDate.tsx} +24 -4
- package/src/DateRangePicker/_docs/DateRangePicker.mdx +1 -1
- package/src/Divider/_docs/Divider.mdx +1 -1
- package/src/EmptyState/_docs/EmptyState.mdx +1 -1
- package/src/ErrorPage/_docs/ErrorPage.mdx +1 -1
- package/src/FieldGroup/_docs/FieldGroup.mdx +1 -1
- package/src/FieldMessage/_docs/FieldMessage.mdx +1 -1
- package/src/Filter/Filter/_docs/Filter.mdx +1 -1
- package/src/Filter/FilterBar/FilterBar.spec.tsx +56 -25
- package/src/Filter/FilterBar/_docs/FilterBar.mdx +1 -1
- package/src/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.spec.tsx +21 -13
- package/src/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.tsx +11 -1
- package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.tsx +17 -2
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.spec.tsx +17 -8
- package/src/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.spec.tsx +37 -23
- package/src/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.spec.tsx +35 -23
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.spec.tsx +42 -26
- package/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.spec.tsx +37 -24
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.spec.tsx +12 -12
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.tsx +15 -2
- package/src/Filter/FilterButton/_docs/filter-buttons.mdx +1 -1
- package/src/Filter/FilterDatePicker/FilterDatePicker.spec.tsx +21 -16
- package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.mdx +1 -1
- package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.stickersheet.stories.tsx +50 -1
- package/src/Filter/FilterDatePicker/hooks/useDateInputHandlers.spec.ts +3 -3
- package/src/Filter/FilterDatePicker/hooks/{useDateValidation.spec.tsx → useDateValidation.spec.ts} +13 -12
- package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.tsx +10 -1
- package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.spec.tsx +57 -36
- package/src/Filter/FilterDatePicker/utils/validateDate.spec.ts +52 -28
- package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.spec.tsx +3 -2
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.mdx +1 -1
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.stickersheet.stories.tsx +55 -24
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.spec.tsx +43 -28
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.spec.tsx +82 -48
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.tsx +6 -1
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/{useEndDateValidation.spec.tsx → useEndDateValidation.spec.ts} +23 -20
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/{useStartDateValidation.spec.tsx → useStartDateValidation.spec.ts} +13 -11
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/utils/validateEndDateBeforeStartDate.spec.ts +17 -6
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/utils/{validateEndDateBeforeStartDate.ts → validateEndDateBeforeStartDate.tsx} +9 -3
- package/src/Filter/FilterMultiSelect/FilterMultiSelect.spec.tsx +10 -14
- package/src/Filter/FilterMultiSelect/_docs/FilterMultiSelect.mdx +1 -1
- package/src/Filter/FilterMultiSelect/context/SelectionProvider/SelectionProvider.spec.tsx +392 -372
- package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.spec.tsx +9 -6
- package/src/Filter/FilterSelect/_docs/FilterSelect.mdx +1 -1
- package/src/GuidanceBlock/_docs/GuidanceBlock.mdx +1 -1
- package/src/Heading/_docs/Heading.mdx +1 -1
- package/src/Icon/_docs/Icon.mdx +1 -1
- package/src/Illustration/Scene/BrandMomentCaptureIntro/_docs/BrandMomentCaptureIntro.mdx +1 -1
- package/src/Illustration/Scene/_docs/Scene.mdx +1 -1
- package/src/Illustration/Spot/_docs/Spot.mdx +1 -1
- package/src/Input/Input/_docs/Input.mdx +1 -1
- package/src/Input/InputRange/_docs/InputRange.mdx +1 -1
- package/src/Input/InputSearch/InputSearch.spec.tsx +15 -14
- package/src/Input/InputSearch/_docs/InputSearch.mdx +1 -1
- package/src/Label/_docs/Label.mdx +1 -1
- package/src/LabelledMessage/_docs/LabelledMessage.mdx +1 -1
- package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.mdx +1 -1
- package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.mdx +1 -1
- package/src/Loading/LoadingHeading/_docs/LoadingHeading.mdx +1 -1
- package/src/Loading/LoadingInput/_docs/LoadingInput.mdx +1 -1
- package/src/Loading/LoadingParagraph/_docs/LoadingParagraph.mdx +1 -1
- package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.mdx +1 -1
- package/src/Menu/_docs/Menu.mdx +1 -1
- package/src/Modal/ConfirmationModal/_docs/ConfirmationModal.mdx +1 -1
- package/src/Modal/ContextModal/_docs/ContextModal.mdx +1 -1
- package/src/Modal/GenericModal/_docs/GenericModal.mdx +1 -1
- package/src/Modal/InputEditModal/_docs/InputEditModal.mdx +1 -1
- package/src/MultiSelect/_docs/MultiSelect.mdx +1 -1
- package/src/Notification/GlobalNotification/_docs/GlobalNotification.mdx +1 -1
- package/src/Notification/InlineNotification/_docs/InlineNotification.mdx +1 -1
- package/src/Notification/ToastNotification/_docs/ToastNotification.mdx +1 -1
- package/src/Pagination/_docs/Pagination.mdx +1 -1
- package/src/Pagination/subcomponents/DirectionalLink/_docs/DirectionalLink.mdx +1 -1
- package/src/Pagination/subcomponents/PaginationLink/_docs/PaginationLink.mdx +1 -1
- package/src/Popover/_docs/Popover.mdx +1 -1
- package/src/ProgressBar/_docs/ProgressBar.mdx +1 -1
- package/src/Radio/Radio/_docs/Radio.mdx +1 -1
- package/src/Radio/RadioField/_docs/RadioField.mdx +1 -1
- package/src/Radio/RadioGroup/_docs/RadioGroup.mdx +1 -1
- package/src/RichTextEditor/EditableRichTextContent/_docs/EditableRichTextContent.mdx +1 -1
- package/src/RichTextEditor/RichTextContent/_docs/RichTextContent.mdx +1 -1
- package/src/RichTextEditor/RichTextEditor/_docs/RichTextEditor.mdx +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.mdx +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/_docs/Toolbar.mdx +1 -1
- package/src/SearchField/_docs/SearchField.mdx +1 -1
- package/src/Select/_docs/Select.mdx +1 -1
- package/src/Skirt/_docs/Skirt.mdx +1 -1
- package/src/Slider/_docs/Slider.mdx +1 -1
- package/src/SplitButton/SplitButton.spec.tsx +11 -6
- package/src/SplitButton/_docs/SplitButton.mdx +1 -1
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.spec.tsx +15 -10
- package/src/Table/_docs/Table.mdx +1 -1
- package/src/Tabs/_docs/Tabs.mdx +1 -1
- package/src/Tag/_docs/Tag.mdx +1 -1
- package/src/Text/_docs/Text.mdx +1 -1
- package/src/TextArea/_docs/TextArea.mdx +1 -1
- package/src/TextAreaField/_docs/TextAreaField.mdx +1 -1
- package/src/TextField/_docs/TextField.mdx +1 -1
- package/src/Tile/InformationTile/_docs/InformationTile.mdx +1 -1
- package/src/Tile/MultiActionTile/_docs/MultiActionTile.mdx +1 -1
- package/src/Tile/TileGrid/_docs/TileGrid.mdx +1 -1
- package/src/TimeField/_docs/TimeField.mdx +1 -1
- package/src/TitleBlockZen/_docs/TitleBlockZen.mdx +1 -1
- package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.mdx +1 -1
- package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.mdx +1 -1
- package/src/VisuallyHidden/_docs/VisuallyHidden.mdx +1 -1
- package/src/Well/_docs/Well.mdx +1 -1
- package/src/Workflow/_docs/ProgressStepper.mdx +1 -1
- package/src/Workflow/_docs/Workflow.mdx +1 -1
- package/src/Workflow/_docs/WorkflowFooter.mdx +1 -1
- package/src/Workflow/_docs/WorkflowHeader.mdx +1 -1
- package/src/__future__/Select/_docs/Select.mdx +1 -1
- package/src/__future__/Tag/Tag/_docs/Tag.mdx +1 -1
- package/src/__future__/Workflow/_docs/ProgressStepper.mdx +1 -1
- package/src/__future__/Workflow/_docs/Workflow.mdx +1 -1
- package/src/__future__/Workflow/_docs/WorkflowFooter.mdx +1 -1
- package/src/__future__/Workflow/_docs/WorkflowHeader.mdx +1 -1
- package/src/__future__/Workflow/subcomponents/Header/Header.tsx +1 -1
- package/src/__overlays__/Tooltip/v1/_docs/Tooltip.mdx +1 -1
- package/src/__overlays__/Tooltip/v3/_docs/ApiSpecification.mdx +0 -1
- package/src/__overlays__/Tooltip/v3/_docs/Tooltip.docs.stories.tsx +52 -0
- package/src/__overlays__/Tooltip/v3/_docs/Tooltip.mdx +40 -61
- package/src/__overlays__/Tooltip/v3/_docs/assets/tooltip_spec.png +0 -0
|
@@ -12,7 +12,7 @@ export type ContentProps = {
|
|
|
12
12
|
* {@link https://cultureamp.design/?path=/docs/components-content--docs Storybook}
|
|
13
13
|
*/
|
|
14
14
|
export declare const Content: React.ForwardRefExoticComponent<{
|
|
15
|
-
children?:
|
|
15
|
+
children?: React.ReactNode;
|
|
16
16
|
/**
|
|
17
17
|
* Not recommended. A short-circuit for dynamically overriding layout in a pinch
|
|
18
18
|
*/
|
|
@@ -6,7 +6,7 @@ export type DateInputProps = {
|
|
|
6
6
|
isReversed?: boolean;
|
|
7
7
|
} & Omit<InputProps, OmittedInputProps>;
|
|
8
8
|
export declare const DateInput: React.ForwardRefExoticComponent<{
|
|
9
|
-
labelText:
|
|
9
|
+
labelText: React.ReactNode;
|
|
10
10
|
isReversed?: boolean | undefined;
|
|
11
11
|
} & Omit<InputProps, OmittedInputProps> & React.RefAttributes<HTMLInputElement>>;
|
|
12
12
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefObject } from "react";
|
|
2
2
|
import { CalendarSingleProps, DisabledDayMatchers } from "../Calendar";
|
|
3
3
|
import { DateInputFieldProps } from "./subcomponents/DateInputField";
|
|
4
|
-
import { ValidationResponse } from "./types";
|
|
4
|
+
import type { ValidationResponse } from "./types";
|
|
5
5
|
import { DatePickerSupportedLocales } from "./utils/getLocale";
|
|
6
6
|
type OmittedDateInputFieldProps = "onClick" | "onFocus" | "onChange" | "onBlur" | "onButtonClick" | "value" | "locale" | "id";
|
|
7
7
|
export type DatePickerProps = {
|
|
@@ -29,7 +29,7 @@ export declare const DateInputField: React.ForwardRefExoticComponent<{
|
|
|
29
29
|
/**
|
|
30
30
|
* A descriptive message for `status` states
|
|
31
31
|
*/
|
|
32
|
-
validationMessage?:
|
|
32
|
+
validationMessage?: React.ReactNode;
|
|
33
33
|
locale?: Locale | undefined;
|
|
34
34
|
} & {
|
|
35
35
|
onButtonClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
1
2
|
import { FieldMessageStatus } from "../FieldMessage";
|
|
2
3
|
export type ValidationResponse = {
|
|
3
4
|
date: Date | undefined;
|
|
4
5
|
inputValue: string | undefined;
|
|
5
6
|
status: FieldMessageStatus | undefined;
|
|
6
|
-
validationMessage: string | undefined;
|
|
7
|
+
validationMessage: string | ReactElement | undefined;
|
|
7
8
|
isDisabled: boolean;
|
|
8
9
|
isInvalid: boolean;
|
|
9
10
|
isEmpty: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Locale } from "date-fns";
|
|
2
2
|
import { StringSuggestions } from "../../types/StringSuggestions";
|
|
3
|
-
export type DatePickerSupportedLocales = StringSuggestions<"en-US" | "en-AU">;
|
|
3
|
+
export type DatePickerSupportedLocales = StringSuggestions<"en-US" | "en-AU" | "fr-CA">;
|
|
4
4
|
export declare const getLocale: (locale: DatePickerSupportedLocales) => Locale;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FilterAttributes, FilterIsUsableWhen, FiltersValues } from "../types";
|
|
2
|
+
export type MappedFilters<ValuesMap extends FiltersValues> = {
|
|
3
|
+
[K in keyof ValuesMap]: FilterAttributes<ValuesMap, K>;
|
|
4
|
+
};
|
|
5
|
+
export type FilterStateEditableAttributes = {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type InternalFilterState<ValuesMap extends FiltersValues, Id extends keyof ValuesMap> = {
|
|
9
|
+
id: Id;
|
|
10
|
+
name: string;
|
|
11
|
+
isRemovable: boolean;
|
|
12
|
+
isUsableWhen?: FilterIsUsableWhen<ValuesMap>;
|
|
13
|
+
isUsable: boolean;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
value?: never;
|
|
16
|
+
isActive?: never;
|
|
17
|
+
};
|
|
18
|
+
export type FilterBarStateFilters<ValuesMap extends FiltersValues> = {
|
|
19
|
+
[K in keyof ValuesMap]: InternalFilterState<ValuesMap, K>;
|
|
20
|
+
};
|
|
21
|
+
export type FilterBarState<ValuesMap extends FiltersValues> = {
|
|
22
|
+
hasUpdatedValues: boolean;
|
|
23
|
+
filters: FilterBarStateFilters<ValuesMap>;
|
|
24
|
+
activeFilterIds: Set<keyof ValuesMap>;
|
|
25
|
+
values: Partial<ValuesMap>;
|
|
26
|
+
dependentFilterIds: Set<keyof ValuesMap>;
|
|
27
|
+
};
|
|
28
|
+
export type ActiveFiltersArray<ValuesMap extends FiltersValues> = Array<FilterAttributes<ValuesMap>>;
|
|
@@ -4,7 +4,7 @@ export type FilterButtonBaseProps = {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
} & OverrideClassName<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
6
6
|
export declare const FilterButtonBase: React.ForwardRefExoticComponent<{
|
|
7
|
-
children:
|
|
7
|
+
children: React.ReactNode;
|
|
8
8
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className"> & {
|
|
9
9
|
classNameOverride?: string | undefined;
|
|
10
10
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -24,5 +24,5 @@ export declare const DateInputField: React.ForwardRefExoticComponent<{
|
|
|
24
24
|
isReversed?: boolean | undefined;
|
|
25
25
|
validationMessage?: ValidationMessage | undefined;
|
|
26
26
|
disabled?: boolean | undefined;
|
|
27
|
-
labelText?:
|
|
27
|
+
labelText?: DateInputProps["labelText"];
|
|
28
28
|
} & Omit<DateInputProps, "id" | "labelText"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ItemType } from "../types";
|
|
2
|
+
export declare const mockItems: ItemType[];
|
|
3
|
+
export declare const departmentDemographicValues: {
|
|
4
|
+
demographicValueId: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const locationDemographicValues: {
|
|
8
|
+
demographicValueId: string;
|
|
9
|
+
label: string;
|
|
10
|
+
}[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SelectItem } from "../types";
|
|
2
|
+
export declare const singleMockItems: SelectItem[];
|
|
3
|
+
export declare const groupedMockItems: SelectItem[];
|
|
4
|
+
export declare const mixedMockItemsDisabled: SelectItem[];
|
|
5
|
+
export declare const mixedMockItemsUngroupedFirst: SelectItem[];
|
|
6
|
+
export declare const mixedMockItemsUnordered: SelectItem[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type MenuContentExampleProps = {
|
|
2
|
+
isShortList?: boolean;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* This is an mocked example of a Menu's children using all of the subcomponents.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MenuContentExample: ({ isShortList, }: MenuContentExampleProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const exampleActionButtonPropsButton: {
|
|
3
|
+
label: string;
|
|
4
|
+
onClick: import("@storybook/addon-actions/*").HandlerFunction;
|
|
5
|
+
};
|
|
6
|
+
export declare const exampleActionButtonPropsAnchor: {
|
|
7
|
+
label: string;
|
|
8
|
+
href: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const exampleDropdownContentEnabled: React.JSX.Element;
|
|
11
|
+
export declare const exampleDropdownContentOneDisabled: React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import { FieldMessageProps } from "../FieldMessage";
|
|
3
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
4
|
+
import { MultiSelectOptionsProps } from "./subcomponents/MultiSelectOptions";
|
|
5
|
+
import { MultiSelectOption, ValidationMessage } from "./types";
|
|
6
|
+
export type MultiSelectProps = {
|
|
7
|
+
label: string;
|
|
8
|
+
items: MultiSelectOptionsProps["options"];
|
|
9
|
+
selectedValues: Set<MultiSelectOption["value"]>;
|
|
10
|
+
/**
|
|
11
|
+
* A description that provides context for the field
|
|
12
|
+
*/
|
|
13
|
+
description?: FieldMessageProps["message"];
|
|
14
|
+
onSelectedValuesChange: MultiSelectOptionsProps["onChange"];
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
onOpenChange: (isOpen: boolean) => void;
|
|
17
|
+
/** A status and message to provide context to the validation issue */
|
|
18
|
+
validationMessage?: ValidationMessage;
|
|
19
|
+
} & OverrideClassName<HTMLAttributes<HTMLDivElement>>;
|
|
20
|
+
export declare const MultiSelect: {
|
|
21
|
+
({ id: propsId, label, items, selectedValues, description, onSelectedValuesChange, isOpen, onOpenChange, classNameOverride, validationMessage, ...restProps }: MultiSelectProps): JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import { OverrideClassName } from "../../../types/OverrideClassName";
|
|
3
|
+
import { MultiSelectOption } from "../../types";
|
|
4
|
+
export type MultiSelectOptionsProps = {
|
|
5
|
+
id: string;
|
|
6
|
+
options: MultiSelectOption[];
|
|
7
|
+
selectedValues: Set<MultiSelectOption["value"]>;
|
|
8
|
+
onChange: (selectedValues: Set<MultiSelectOption["value"]>) => void;
|
|
9
|
+
} & OverrideClassName<Omit<HTMLAttributes<HTMLFieldSetElement>, "onChange">>;
|
|
10
|
+
export declare const MultiSelectOptions: {
|
|
11
|
+
({ id, options, selectedValues, onChange, classNameOverride, ...restProps }: MultiSelectOptionsProps): JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
@@ -42,9 +42,9 @@ export declare const Select: React.ForwardRefExoticComponent<{
|
|
|
42
42
|
*/
|
|
43
43
|
variant?: "default" | "secondary" | "secondary-small" | undefined;
|
|
44
44
|
status?: "error" | "default" | undefined;
|
|
45
|
-
label?:
|
|
46
|
-
validationMessage?:
|
|
47
|
-
description?:
|
|
45
|
+
label?: React.ReactNode;
|
|
46
|
+
validationMessage?: React.ReactNode;
|
|
47
|
+
description?: React.ReactNode;
|
|
48
48
|
/**
|
|
49
49
|
* Use a reversed colour scheme
|
|
50
50
|
* @default false
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./controls";
|
|
@@ -70,9 +70,9 @@ export declare const Select: {
|
|
|
70
70
|
displayName: string;
|
|
71
71
|
};
|
|
72
72
|
TriggerButton: React.ForwardRefExoticComponent<{
|
|
73
|
-
label:
|
|
73
|
+
label: React.ReactNode;
|
|
74
74
|
labelProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement>;
|
|
75
|
-
value:
|
|
75
|
+
value: React.ReactNode;
|
|
76
76
|
valueProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement>;
|
|
77
77
|
isOpen?: boolean | undefined;
|
|
78
78
|
placeholder?: string | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SelectItem } from "../types";
|
|
2
|
+
export declare const singleMockItems: SelectItem[];
|
|
3
|
+
export declare const groupedMockItems: SelectItem[];
|
|
4
|
+
export declare const mixedMockItemsDisabled: SelectItem[];
|
|
5
|
+
export declare const mixedMockItemsUngroupedFirst: SelectItem[];
|
|
6
|
+
export declare const mixedMockItemsUnordered: SelectItem[];
|
|
@@ -20,9 +20,9 @@ export type SelectToggleProps = {
|
|
|
20
20
|
isReversed?: boolean;
|
|
21
21
|
} & OverrideClassName<HTMLAttributes<HTMLButtonElement>>;
|
|
22
22
|
export declare const SelectToggle: React.ForwardRefExoticComponent<{
|
|
23
|
-
label:
|
|
23
|
+
label: React.ReactNode;
|
|
24
24
|
labelProps: DOMAttributes<FocusableElement>;
|
|
25
|
-
value:
|
|
25
|
+
value: React.ReactNode;
|
|
26
26
|
/** Props for the element representing the selected value. */
|
|
27
27
|
valueProps: DOMAttributes<FocusableElement>;
|
|
28
28
|
isOpen?: boolean | undefined;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Node, Key } from "@react-types/shared";
|
|
2
|
+
export type SelectOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: Key;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
options?: never;
|
|
7
|
+
};
|
|
8
|
+
export type SelectOptionGroup<Option extends SelectOption> = {
|
|
9
|
+
label: string;
|
|
10
|
+
options: Iterable<Option>;
|
|
11
|
+
};
|
|
12
|
+
export type SelectItem<Option extends SelectOption = SelectOption> = Option | SelectOptionGroup<Option>;
|
|
13
|
+
export type SelectOptionNode<Option extends SelectOption = SelectOption> = Node<Option> & {
|
|
14
|
+
type: "item";
|
|
15
|
+
hasChildNodes: false;
|
|
16
|
+
};
|
|
17
|
+
export type SelectOptionGroupNode<Option extends SelectOption = SelectOption> = Omit<Node<SelectOptionGroup<Option>>, "childNodes"> & {
|
|
18
|
+
type: "section";
|
|
19
|
+
hasChildNodes: true;
|
|
20
|
+
childNodes: Array<SelectOptionNode<Option>>;
|
|
21
|
+
};
|
|
22
|
+
export type SelectItemNode<Option extends SelectOption = SelectOption> = SelectOptionNode<Option> | SelectOptionGroupNode<Option>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./controls";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
export declare function extractDisplayName(type: React.FunctionComponent): string;
|
|
3
3
|
/**
|
|
4
4
|
* Validates implicit or explicitly semantic roles required to make `aria-describedby` announce predictably with screen readers
|
|
5
5
|
*/
|
|
6
|
-
export declare const isSemanticElement: (element:
|
|
6
|
+
export declare const isSemanticElement: (element: ReactNode) => element is React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const getNodeText: (node: React.ReactNode) => string | number;
|
package/locales/en.json
CHANGED
|
@@ -10,10 +10,50 @@
|
|
|
10
10
|
],
|
|
11
11
|
"variants_enabled": true
|
|
12
12
|
},
|
|
13
|
+
"date.validation.invalidDate": {
|
|
14
|
+
"description": "Error message when the user enters an invalid date and we do not know their input value",
|
|
15
|
+
"message": "Date is invalid"
|
|
16
|
+
},
|
|
17
|
+
"date.validation.invalidDateWithValue": {
|
|
18
|
+
"description": "Error message when the user enters an invalid date and we know their input value",
|
|
19
|
+
"message": "{inputValue} is an invalid date"
|
|
20
|
+
},
|
|
21
|
+
"date.validation.rangeEndBeforeRangeStart": {
|
|
22
|
+
"description": "Error message when the user tries to select an end date earlier than the start date",
|
|
23
|
+
"message": "Cannot be earlier than the selection in \"{startDateFieldLabel}\""
|
|
24
|
+
},
|
|
25
|
+
"date.validation.unavailableDate": {
|
|
26
|
+
"description": "Error message when the user tries to select a date that is unavailable",
|
|
27
|
+
"message": "{inputValue} is not available, try another date"
|
|
28
|
+
},
|
|
13
29
|
"dateInputDescription.inputFormat": {
|
|
14
30
|
"description": "Label for the 'Input format' field",
|
|
15
31
|
"message": "Input format"
|
|
16
32
|
},
|
|
33
|
+
"datePicker.calendarLabelDescription": {
|
|
34
|
+
"description": "Label for the search input",
|
|
35
|
+
"message": "Select date from calendar for:"
|
|
36
|
+
},
|
|
37
|
+
"filterBar.addFiltersMenu.buttonLabel": {
|
|
38
|
+
"description": "Menu button label to show additional available filter options",
|
|
39
|
+
"message": "Add Filters"
|
|
40
|
+
},
|
|
41
|
+
"filterBar.clearAllButton.ariaLabel": {
|
|
42
|
+
"description": "Button aria-label to clear all values within the filter bar",
|
|
43
|
+
"message": "Clear all filters"
|
|
44
|
+
},
|
|
45
|
+
"filterBar.clearAllButton.label": {
|
|
46
|
+
"description": "Button label to clear all values within the filter bar",
|
|
47
|
+
"message": "Clear all"
|
|
48
|
+
},
|
|
49
|
+
"filterButton.removable.removeButtonLabel": {
|
|
50
|
+
"description": "Button label to remove a single filter from the filter bar",
|
|
51
|
+
"message": "Remove filter - {filterLabel}"
|
|
52
|
+
},
|
|
53
|
+
"filterDatePickerDateInputField.dateInputLabelFallback": {
|
|
54
|
+
"description": "Default label for date input field",
|
|
55
|
+
"message": "Date"
|
|
56
|
+
},
|
|
17
57
|
"filterDateRangePicker.dateFrom": {
|
|
18
58
|
"description": "Label for the 'Date from' field",
|
|
19
59
|
"message": "Date from"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.53.0",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"ts-jest": "^29.1.4",
|
|
101
101
|
"tslib": "^2.6.3",
|
|
102
102
|
"tsx": "^4.15.1",
|
|
103
|
-
"@kaizen/
|
|
104
|
-
"@kaizen/
|
|
103
|
+
"@kaizen/design-tokens": "10.4.1",
|
|
104
|
+
"@kaizen/package-bundler": "1.1.2"
|
|
105
105
|
},
|
|
106
106
|
"devDependenciesComments": {
|
|
107
107
|
"postcss": "Installed in root",
|
|
@@ -10,7 +10,7 @@ import * as AvatarStories from "./Avatar.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Avatar"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=0-1&mode=design&t=ITSkv2Fu67xK6kBC-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3064857475/Avatar"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ import * as AvatarGroupStories from "./AvatarGroup.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/AvatarGroup"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=0-1&mode=design&t=ITSkv2Fu67xK6kBC-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3065021264/Avatar+Group"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="AvatarGroup" />
|
|
@@ -10,7 +10,7 @@ import * as BadgeStories from "./Badge.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Badge"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=5-242&mode=design&t=ITSkv2Fu67xK6kBC-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3064857333/Badge"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="Badge" />
|
|
@@ -10,7 +10,7 @@ import * as BrandStories from "./Brand.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Brand"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=5-353&mode=design&t=VzrsL0wR4yiimjBa-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3065021567/Brand"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
|
|
@@ -11,7 +11,7 @@ import * as BrandMoment from "./BrandMoment.stories"
|
|
|
11
11
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/BrandMoment"
|
|
12
12
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=9-132873&mode=design&t=ITSkv2Fu67xK6kBC-0"
|
|
13
13
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082061589/Brand+Moment"
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
17
|
<KAIOInstallation exportNames="BrandMoment" />
|
|
@@ -10,7 +10,7 @@ import * as ButtonStories from "./Button.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Button/Button"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3062890984/Button"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ import * as IconButtonStories from "./IconButton.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Button/IconButton"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=5-539&mode=design&t=HKGcnRVyIDipQ2OI-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3062890984/Button"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="IconButton" />
|
|
@@ -10,7 +10,7 @@ import * as ButtonGroupStories from "./ButtonGroup.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/ButtonGroup"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=6-28579&t=bowQ0LWOQKOd0UYS-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093959/Filters"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="ButtonGroup" />
|
|
@@ -10,7 +10,7 @@ import * as CalendarRangeStories from "./CalendarRange.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Calendar/CalendarRange"
|
|
11
11
|
figma="https://www.figma.com/file/eZKEE5kXbEMY3lx84oz8iN/%F0%9F%92%9C-UI-Kit%3A-Heart?type=design&node-id=10458%3A45652&mode=design&t=WD0ZquIVDw92Hu2N-1"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094237/Date+Range+Picker"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="CalendarRange" />
|
|
@@ -10,7 +10,7 @@ import * as CalendarSingleStories from "./CalendarSingle.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Calendar/CalendarSingle"
|
|
11
11
|
figma="https://www.figma.com/file/eZKEE5kXbEMY3lx84oz8iN/%F0%9F%92%9C-UI-Kit%3A-Heart?type=design&node-id=10458%3A45652&mode=design&t=WD0ZquIVDw92Hu2N-1"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082061174/Date+Picker"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="CalendarSingle" />
|
package/src/Card/_docs/Card.mdx
CHANGED
|
@@ -9,7 +9,7 @@ import * as CheckboxStories from "./Checkbox.stories"
|
|
|
9
9
|
|
|
10
10
|
<ResourceLinks
|
|
11
11
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Checkbox/Checkbox"
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
15
|
<KAIOInstallation exportNames="Checkbox" />
|
|
@@ -10,7 +10,7 @@ import * as CheckboxFieldStories from "./CheckboxField.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/CheckboxField"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=5%3A4170&t=P1w10jr2cpPuaayw-1"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094661/Checkbox+Field"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="CheckboxField" />
|
|
@@ -10,7 +10,7 @@ import * as CheckboxGroupStories from "./CheckboxGroup.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/CheckboxGroup"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=6%3A4586&t=P1w10jr2cpPuaayw-1"
|
|
12
12
|
designGuidelines="@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094522/Checkbox+Group Guidance"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="CheckboxGroup" />
|
|
@@ -10,7 +10,7 @@ import * as CollapsibleStories from "./Collapsible.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Collapsible"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=6%3A5001&t=P1w10jr2cpPuaayw-1"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094383/Collapsible"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="Collapsible" />
|
|
@@ -10,7 +10,7 @@ import * as CollapsibleGroupStories from "./CollapsibleGroup.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/CollapsibleGroup"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=6%3A5001&t=P1w10jr2cpPuaayw-1"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094383/Collapsible"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="CollapsibleGroup" />
|
|
@@ -10,7 +10,7 @@ import * as ExpertAdviceCollapsibleStories from "./ExpertAdviceCollapsible.stori
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/ExpertAdviceCollapsible"
|
|
11
11
|
figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?type=design&node-id=6-5001&mode=design&t=VzrsL0wR4yiimjBa-0"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094383/Collapsible"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="ExpertAdviceCollapsible" />
|
|
@@ -10,7 +10,7 @@ import * as ContainerStories from "./Container.stories"
|
|
|
10
10
|
<ResourceLinks
|
|
11
11
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Container"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3086156812/Layout"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="Container" />
|
|
@@ -10,7 +10,7 @@ import * as ContentStories from "./Content.stories"
|
|
|
10
10
|
<ResourceLinks
|
|
11
11
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Content"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3086156812/Layout"
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<KAIOInstallation exportNames="Content" />
|