@kaizen/components 1.54.4 → 1.55.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/Brand/Brand.cjs +3 -2
- package/dist/cjs/Filter/FilterBar/context/FilterBarContext.cjs +13 -1
- package/dist/cjs/Filter/FilterBar/context/reducer/filterBarStateReducer.cjs +13 -0
- package/dist/cjs/Filter/FilterBar/context/utils/createFiltersHash.cjs +13 -0
- package/dist/cjs/Icon/AddLinkIcon.cjs +1 -1
- package/dist/cjs/Icon/ArchivedIcon.cjs +1 -1
- package/dist/cjs/Icon/ArchivedWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/AssignmentIcon.cjs +22 -0
- package/dist/cjs/Icon/BlankIcon.cjs +1 -1
- package/dist/cjs/Icon/BoldIcon.cjs +1 -1
- package/dist/cjs/Icon/BullettedListIcon.cjs +1 -1
- package/dist/cjs/Icon/CaMonogramIcon.cjs +1 -1
- package/dist/cjs/Icon/CameraIcon.cjs +1 -1
- package/dist/cjs/Icon/ClearIcon.cjs +1 -1
- package/dist/cjs/Icon/ClearWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/ClosedIcon.cjs +1 -1
- package/dist/cjs/Icon/ClosedWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/CommentBankIcon.cjs +1 -1
- package/dist/cjs/Icon/CompetencyLibraryIcon.cjs +2 -2
- package/dist/cjs/Icon/ConnectLineIcon.cjs +1 -1
- package/dist/cjs/Icon/DateEndIcon.cjs +1 -1
- package/dist/cjs/Icon/DepartmentIcon.cjs +1 -1
- package/dist/cjs/Icon/DraftIcon.cjs +1 -1
- package/dist/cjs/Icon/DraftWhiteIcon.cjs +2 -2
- package/dist/cjs/Icon/EditIcon.cjs +1 -1
- package/dist/cjs/Icon/EmptyIcon.cjs +1 -1
- package/dist/cjs/Icon/EmptyWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/EngagementIcon.cjs +1 -1
- package/dist/cjs/Icon/EngagementWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/ExclamationOctagonIcon.cjs +1 -1
- package/dist/cjs/Icon/ExclamationOctagonWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/ExportIcon.cjs +1 -1
- package/dist/cjs/Icon/ExportWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceDissatisfiedIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceDissatisfiedWhiteIcon.cjs +3 -3
- package/dist/cjs/Icon/FaceNeutralIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceNeutralWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceSatisfiedIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceSatisfiedWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceVeryDissatisfiedIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceVeryDissatisfiedWhiteIcon.cjs +3 -3
- package/dist/cjs/Icon/FaceVerySatisfiedIcon.cjs +1 -1
- package/dist/cjs/Icon/FaceVerySatisfiedWhiteIcon.cjs +3 -3
- package/dist/cjs/Icon/FactorsIcon.cjs +1 -1
- package/dist/cjs/Icon/FavoriteOffIcon.cjs +1 -1
- package/dist/cjs/Icon/FavoriteOnIcon.cjs +1 -1
- package/dist/cjs/Icon/FullIcon.cjs +1 -1
- package/dist/cjs/Icon/GuidanceIcon.cjs +1 -1
- package/dist/cjs/Icon/HeatmapIcon.cjs +1 -1
- package/dist/cjs/Icon/HeatmapWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/ImportIcon.cjs +1 -1
- package/dist/cjs/Icon/ImportWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/InsightIcon.cjs +1 -1
- package/dist/cjs/Icon/InsightsIcon.cjs +1 -1
- package/dist/cjs/Icon/InvisibleIcon.cjs +1 -1
- package/dist/cjs/Icon/KioskIcon.cjs +1 -1
- package/dist/cjs/Icon/KioskWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/LockIcon.cjs +1 -1
- package/dist/cjs/Icon/LockWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/NotificationIcon.cjs +1 -1
- package/dist/cjs/Icon/OpenIcon.cjs +1 -1
- package/dist/cjs/Icon/OpenWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/ParticipationIcon.cjs +1 -1
- package/dist/cjs/Icon/ParticipationWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/PermissionsIcon.cjs +1 -1
- package/dist/cjs/Icon/PhotoUploadIcon.cjs +1 -1
- package/dist/cjs/Icon/PowerIcon.cjs +1 -1
- package/dist/cjs/Icon/PrintIcon.cjs +1 -1
- package/dist/cjs/Icon/PrintWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/QuestionIcon.cjs +1 -1
- package/dist/cjs/Icon/QuestionWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/RedoIcon.cjs +1 -1
- package/dist/cjs/Icon/RefreshIcon.cjs +1 -1
- package/dist/cjs/Icon/RemoveLinkIcon.cjs +1 -1
- package/dist/cjs/Icon/RestoreIcon.cjs +1 -1
- package/dist/cjs/Icon/SearchIcon.cjs +1 -1
- package/dist/cjs/Icon/SearchWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/SettingsIcon.cjs +1 -1
- package/dist/cjs/Icon/SettingsWhiteIcon.cjs +2 -2
- package/dist/cjs/Icon/ShareIcon.cjs +1 -1
- package/dist/cjs/Icon/SupportIcon.cjs +1 -1
- package/dist/cjs/Icon/SurveysIcon.cjs +1 -1
- package/dist/cjs/Icon/SyncIcon.cjs +1 -1
- package/dist/cjs/Icon/TagIcon.cjs +1 -1
- package/dist/cjs/Icon/TemplateIcon.cjs +1 -1
- package/dist/cjs/Icon/TemplateWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/TranslationIcon.cjs +1 -1
- package/dist/cjs/Icon/UnattributedIcon.cjs +1 -1
- package/dist/cjs/Icon/UnattributedWhiteIcon.cjs +1 -1
- package/dist/cjs/Icon/UnderlineIcon.cjs +1 -1
- package/dist/cjs/Icon/UndoIcon.cjs +1 -1
- package/dist/cjs/Icon/UserAddIcon.cjs +1 -1
- package/dist/cjs/Icon/UserSettingsIcon.cjs +1 -1
- package/dist/cjs/Icon/UserUpdateIcon.cjs +1 -1
- package/dist/cjs/Icon/VisibleIcon.cjs +1 -1
- package/dist/cjs/Icon/WritingIcon.cjs +1 -1
- package/dist/cjs/index.cjs +2 -0
- package/dist/esm/Brand/Brand.mjs +3 -2
- package/dist/esm/Filter/FilterBar/context/FilterBarContext.mjs +14 -2
- package/dist/esm/Filter/FilterBar/context/reducer/filterBarStateReducer.mjs +13 -0
- package/dist/esm/Filter/FilterBar/context/utils/createFiltersHash.mjs +11 -0
- package/dist/esm/Icon/AddLinkIcon.mjs +1 -1
- package/dist/esm/Icon/ArchivedIcon.mjs +1 -1
- package/dist/esm/Icon/ArchivedWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/AssignmentIcon.mjs +14 -0
- package/dist/esm/Icon/BlankIcon.mjs +1 -1
- package/dist/esm/Icon/BoldIcon.mjs +1 -1
- package/dist/esm/Icon/BullettedListIcon.mjs +1 -1
- package/dist/esm/Icon/CaMonogramIcon.mjs +1 -1
- package/dist/esm/Icon/CameraIcon.mjs +1 -1
- package/dist/esm/Icon/ClearIcon.mjs +1 -1
- package/dist/esm/Icon/ClearWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/ClosedIcon.mjs +1 -1
- package/dist/esm/Icon/ClosedWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/CommentBankIcon.mjs +1 -1
- package/dist/esm/Icon/CompetencyLibraryIcon.mjs +2 -2
- package/dist/esm/Icon/ConnectLineIcon.mjs +1 -1
- package/dist/esm/Icon/DateEndIcon.mjs +1 -1
- package/dist/esm/Icon/DepartmentIcon.mjs +1 -1
- package/dist/esm/Icon/DraftIcon.mjs +1 -1
- package/dist/esm/Icon/DraftWhiteIcon.mjs +2 -2
- package/dist/esm/Icon/EditIcon.mjs +1 -1
- package/dist/esm/Icon/EmptyIcon.mjs +1 -1
- package/dist/esm/Icon/EmptyWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/EngagementIcon.mjs +1 -1
- package/dist/esm/Icon/EngagementWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/ExclamationOctagonIcon.mjs +1 -1
- package/dist/esm/Icon/ExclamationOctagonWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/ExportIcon.mjs +1 -1
- package/dist/esm/Icon/ExportWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/FaceDissatisfiedIcon.mjs +1 -1
- package/dist/esm/Icon/FaceDissatisfiedWhiteIcon.mjs +3 -3
- package/dist/esm/Icon/FaceNeutralIcon.mjs +1 -1
- package/dist/esm/Icon/FaceNeutralWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/FaceSatisfiedIcon.mjs +1 -1
- package/dist/esm/Icon/FaceSatisfiedWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/FaceVeryDissatisfiedIcon.mjs +1 -1
- package/dist/esm/Icon/FaceVeryDissatisfiedWhiteIcon.mjs +3 -3
- package/dist/esm/Icon/FaceVerySatisfiedIcon.mjs +1 -1
- package/dist/esm/Icon/FaceVerySatisfiedWhiteIcon.mjs +3 -3
- package/dist/esm/Icon/FactorsIcon.mjs +1 -1
- package/dist/esm/Icon/FavoriteOffIcon.mjs +1 -1
- package/dist/esm/Icon/FavoriteOnIcon.mjs +1 -1
- package/dist/esm/Icon/FullIcon.mjs +1 -1
- package/dist/esm/Icon/GuidanceIcon.mjs +1 -1
- package/dist/esm/Icon/HeatmapIcon.mjs +1 -1
- package/dist/esm/Icon/HeatmapWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/ImportIcon.mjs +1 -1
- package/dist/esm/Icon/ImportWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/InsightIcon.mjs +1 -1
- package/dist/esm/Icon/InsightsIcon.mjs +1 -1
- package/dist/esm/Icon/InvisibleIcon.mjs +1 -1
- package/dist/esm/Icon/KioskIcon.mjs +1 -1
- package/dist/esm/Icon/KioskWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/LockIcon.mjs +1 -1
- package/dist/esm/Icon/LockWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/NotificationIcon.mjs +1 -1
- package/dist/esm/Icon/OpenIcon.mjs +1 -1
- package/dist/esm/Icon/OpenWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/ParticipationIcon.mjs +1 -1
- package/dist/esm/Icon/ParticipationWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/PermissionsIcon.mjs +1 -1
- package/dist/esm/Icon/PhotoUploadIcon.mjs +1 -1
- package/dist/esm/Icon/PowerIcon.mjs +1 -1
- package/dist/esm/Icon/PrintIcon.mjs +1 -1
- package/dist/esm/Icon/PrintWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/QuestionIcon.mjs +1 -1
- package/dist/esm/Icon/QuestionWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/RedoIcon.mjs +1 -1
- package/dist/esm/Icon/RefreshIcon.mjs +1 -1
- package/dist/esm/Icon/RemoveLinkIcon.mjs +1 -1
- package/dist/esm/Icon/RestoreIcon.mjs +1 -1
- package/dist/esm/Icon/SearchIcon.mjs +1 -1
- package/dist/esm/Icon/SearchWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/SettingsIcon.mjs +1 -1
- package/dist/esm/Icon/SettingsWhiteIcon.mjs +2 -2
- package/dist/esm/Icon/ShareIcon.mjs +1 -1
- package/dist/esm/Icon/SupportIcon.mjs +1 -1
- package/dist/esm/Icon/SurveysIcon.mjs +1 -1
- package/dist/esm/Icon/SyncIcon.mjs +1 -1
- package/dist/esm/Icon/TagIcon.mjs +1 -1
- package/dist/esm/Icon/TemplateIcon.mjs +1 -1
- package/dist/esm/Icon/TemplateWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/TranslationIcon.mjs +1 -1
- package/dist/esm/Icon/UnattributedIcon.mjs +1 -1
- package/dist/esm/Icon/UnattributedWhiteIcon.mjs +1 -1
- package/dist/esm/Icon/UnderlineIcon.mjs +1 -1
- package/dist/esm/Icon/UndoIcon.mjs +1 -1
- package/dist/esm/Icon/UserAddIcon.mjs +1 -1
- package/dist/esm/Icon/UserSettingsIcon.mjs +1 -1
- package/dist/esm/Icon/UserUpdateIcon.mjs +1 -1
- package/dist/esm/Icon/VisibleIcon.mjs +1 -1
- package/dist/esm/Icon/WritingIcon.mjs +1 -1
- package/dist/esm/index.mjs +1 -0
- package/dist/styles.css +2 -2
- package/dist/types/Calendar/utils/isValidWeekStartsOn.d.ts +2 -1
- package/dist/types/Container/Container.d.ts +2 -2
- package/dist/types/Content/Content.d.ts +2 -2
- package/dist/types/DateInput/DateInput/DateInput.d.ts +1 -1
- package/dist/types/DatePicker/subcomponents/DateInputField/DateInputField.d.ts +2 -2
- package/dist/types/Filter/FilterBar/context/reducer/filterBarStateReducer.d.ts +4 -1
- package/dist/types/Filter/FilterBar/context/utils/createFiltersHash.d.ts +2 -0
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.d.ts +2 -2
- package/dist/types/Filter/FilterButton/FilterButton/FilterButton.d.ts +2 -2
- package/dist/types/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.d.ts +3 -3
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.d.ts +3 -3
- package/dist/types/Filter/FilterMultiSelect/FilterMultiSelect.d.ts +1 -1
- package/dist/types/Filter/FilterSelect/FilterSelect.d.ts +3 -3
- package/dist/types/Icon/AssignmentIcon.d.ts +2 -0
- package/dist/types/Icon/index.d.ts +1 -0
- package/dist/types/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.d.ts +2 -2
- package/dist/types/Popover/Popover.d.ts +1 -4
- package/dist/types/ProgressBar/subcomponents/Label/Label.d.ts +0 -6
- package/dist/types/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.d.ts +3 -3
- package/dist/types/RichTextEditor/utils/commands/listIsActive.d.ts +1 -1
- package/dist/types/Select/Select.d.ts +5 -5
- package/dist/types/__future__/Select/Select.d.ts +10 -10
- package/dist/types/__future__/Select/subcomponents/SelectToggle/SelectToggle.d.ts +6 -6
- package/dist/types/__overlays__/Tooltip/v1/utils/isSemanticElement.d.ts +1 -1
- package/dist/types/__overlays__/Tooltip/v3/Tooltip.d.ts +2 -2
- package/dist/types/utils/isRefObject.d.ts +1 -1
- package/dist/types/utils/mergeClassNames.d.ts +1 -1
- package/package.json +14 -14
- package/src/Brand/Brand.tsx +2 -2
- package/src/Filter/FilterBar/_docs/FilterBar.stories.tsx +93 -1
- package/src/Filter/FilterBar/context/FilterBarContext.tsx +21 -2
- package/src/Filter/FilterBar/context/reducer/filterBarStateReducer.ts +16 -1
- package/src/Filter/FilterBar/context/utils/createFiltersHash.ts +7 -0
- package/src/Icon/AddLinkIcon.tsx +1 -1
- package/src/Icon/ArchivedIcon.tsx +1 -1
- package/src/Icon/ArchivedWhiteIcon.tsx +1 -1
- package/src/Icon/AssignmentIcon.tsx +18 -0
- package/src/Icon/BlankIcon.tsx +1 -1
- package/src/Icon/BoldIcon.tsx +1 -1
- package/src/Icon/BullettedListIcon.tsx +1 -1
- package/src/Icon/CaMonogramIcon.tsx +1 -1
- package/src/Icon/CameraIcon.tsx +1 -1
- package/src/Icon/ClearIcon.tsx +1 -1
- package/src/Icon/ClearWhiteIcon.tsx +1 -1
- package/src/Icon/ClosedIcon.tsx +1 -1
- package/src/Icon/ClosedWhiteIcon.tsx +1 -1
- package/src/Icon/CommentBankIcon.tsx +1 -1
- package/src/Icon/CompetencyLibraryIcon.tsx +2 -2
- package/src/Icon/ConnectLineIcon.tsx +1 -1
- package/src/Icon/DateEndIcon.tsx +1 -1
- package/src/Icon/DepartmentIcon.tsx +1 -1
- package/src/Icon/DraftIcon.tsx +1 -1
- package/src/Icon/DraftWhiteIcon.tsx +2 -2
- package/src/Icon/EditIcon.tsx +1 -1
- package/src/Icon/EmptyIcon.tsx +1 -1
- package/src/Icon/EmptyWhiteIcon.tsx +1 -1
- package/src/Icon/EngagementIcon.tsx +1 -1
- package/src/Icon/EngagementWhiteIcon.tsx +1 -1
- package/src/Icon/ExclamationOctagonIcon.tsx +1 -1
- package/src/Icon/ExclamationOctagonWhiteIcon.tsx +1 -1
- package/src/Icon/ExportIcon.tsx +1 -1
- package/src/Icon/ExportWhiteIcon.tsx +1 -1
- package/src/Icon/FaceDissatisfiedIcon.tsx +1 -1
- package/src/Icon/FaceDissatisfiedWhiteIcon.tsx +3 -3
- package/src/Icon/FaceNeutralIcon.tsx +1 -1
- package/src/Icon/FaceNeutralWhiteIcon.tsx +1 -1
- package/src/Icon/FaceSatisfiedIcon.tsx +1 -1
- package/src/Icon/FaceSatisfiedWhiteIcon.tsx +1 -1
- package/src/Icon/FaceVeryDissatisfiedIcon.tsx +1 -1
- package/src/Icon/FaceVeryDissatisfiedWhiteIcon.tsx +3 -3
- package/src/Icon/FaceVerySatisfiedIcon.tsx +1 -1
- package/src/Icon/FaceVerySatisfiedWhiteIcon.tsx +3 -3
- package/src/Icon/FactorsIcon.tsx +1 -1
- package/src/Icon/FavoriteOffIcon.tsx +1 -1
- package/src/Icon/FavoriteOnIcon.tsx +1 -1
- package/src/Icon/FullIcon.tsx +1 -1
- package/src/Icon/GuidanceIcon.tsx +1 -1
- package/src/Icon/HeatmapIcon.tsx +1 -1
- package/src/Icon/HeatmapWhiteIcon.tsx +1 -1
- package/src/Icon/ImportIcon.tsx +1 -1
- package/src/Icon/ImportWhiteIcon.tsx +1 -1
- package/src/Icon/InsightIcon.tsx +1 -1
- package/src/Icon/InsightsIcon.tsx +1 -1
- package/src/Icon/InvisibleIcon.tsx +1 -1
- package/src/Icon/KioskIcon.tsx +1 -1
- package/src/Icon/KioskWhiteIcon.tsx +1 -1
- package/src/Icon/LockIcon.tsx +1 -1
- package/src/Icon/LockWhiteIcon.tsx +1 -1
- package/src/Icon/NotificationIcon.tsx +1 -1
- package/src/Icon/OpenIcon.tsx +1 -1
- package/src/Icon/OpenWhiteIcon.tsx +1 -1
- package/src/Icon/ParticipationIcon.tsx +1 -1
- package/src/Icon/ParticipationWhiteIcon.tsx +1 -1
- package/src/Icon/PermissionsIcon.tsx +1 -1
- package/src/Icon/PhotoUploadIcon.tsx +1 -1
- package/src/Icon/PowerIcon.tsx +1 -1
- package/src/Icon/PrintIcon.tsx +1 -1
- package/src/Icon/PrintWhiteIcon.tsx +1 -1
- package/src/Icon/QuestionIcon.tsx +1 -1
- package/src/Icon/QuestionWhiteIcon.tsx +1 -1
- package/src/Icon/RedoIcon.tsx +1 -1
- package/src/Icon/RefreshIcon.tsx +1 -1
- package/src/Icon/RemoveLinkIcon.tsx +1 -1
- package/src/Icon/RestoreIcon.tsx +1 -1
- package/src/Icon/SearchIcon.tsx +1 -1
- package/src/Icon/SearchWhiteIcon.tsx +1 -1
- package/src/Icon/SettingsIcon.tsx +1 -1
- package/src/Icon/SettingsWhiteIcon.tsx +2 -2
- package/src/Icon/ShareIcon.tsx +1 -1
- package/src/Icon/SupportIcon.tsx +1 -1
- package/src/Icon/SurveysIcon.tsx +1 -1
- package/src/Icon/SyncIcon.tsx +1 -1
- package/src/Icon/TagIcon.tsx +1 -1
- package/src/Icon/TemplateIcon.tsx +1 -1
- package/src/Icon/TemplateWhiteIcon.tsx +1 -1
- package/src/Icon/TranslationIcon.tsx +1 -1
- package/src/Icon/UnattributedIcon.tsx +1 -1
- package/src/Icon/UnattributedWhiteIcon.tsx +1 -1
- package/src/Icon/UnderlineIcon.tsx +1 -1
- package/src/Icon/UndoIcon.tsx +1 -1
- package/src/Icon/UserAddIcon.tsx +1 -1
- package/src/Icon/UserSettingsIcon.tsx +1 -1
- package/src/Icon/UserUpdateIcon.tsx +1 -1
- package/src/Icon/VisibleIcon.tsx +1 -1
- package/src/Icon/WritingIcon.tsx +1 -1
- package/src/Icon/bin/update-icons.sh +1 -1
- package/src/Icon/index.ts +1 -0
- package/src/Modal/ContextModal/ContextModal.module.scss +1 -1
|
@@ -54,7 +54,7 @@ export declare const Select: {
|
|
|
54
54
|
<Option extends SelectOption = SelectOption>({ label, items, id: propsId, trigger, children, status, validationMessage, isReversed, isFullWidth, disabledValues, classNameOverride, selectedKey, description, placeholder, isDisabled, portalContainerId, ...restProps }: SelectProps<Option>): JSX.Element;
|
|
55
55
|
displayName: string;
|
|
56
56
|
Section: {
|
|
57
|
-
<
|
|
57
|
+
<Option extends SelectOption = SelectOption>({ section, }: import("./subcomponents").ListBoxSectionProps<Option>): JSX.Element;
|
|
58
58
|
displayName: string;
|
|
59
59
|
};
|
|
60
60
|
SectionDivider: {
|
|
@@ -62,11 +62,11 @@ export declare const Select: {
|
|
|
62
62
|
displayName: string;
|
|
63
63
|
};
|
|
64
64
|
Option: {
|
|
65
|
-
<
|
|
65
|
+
<Option extends SelectOption = SelectOption>({ item, classNameOverride, ...props }: import("./subcomponents").OptionProps<Option>): JSX.Element;
|
|
66
66
|
displayName: string;
|
|
67
67
|
};
|
|
68
68
|
ItemDefaultRender: {
|
|
69
|
-
<
|
|
69
|
+
<Option extends SelectOption = SelectOption>({ item, }: import("./subcomponents").ListItemProps<Option>): JSX.Element;
|
|
70
70
|
displayName: string;
|
|
71
71
|
};
|
|
72
72
|
TriggerButton: React.ForwardRefExoticComponent<{
|
|
@@ -74,16 +74,16 @@ export declare const Select: {
|
|
|
74
74
|
labelProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement>;
|
|
75
75
|
value: React.ReactNode;
|
|
76
76
|
valueProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement>;
|
|
77
|
-
isOpen?: boolean
|
|
78
|
-
placeholder?: string
|
|
79
|
-
status?: "error" | "caution"
|
|
80
|
-
isDisabled?: boolean
|
|
81
|
-
isReversed?: boolean
|
|
77
|
+
isOpen?: boolean;
|
|
78
|
+
placeholder?: string;
|
|
79
|
+
status?: "error" | "caution";
|
|
80
|
+
isDisabled?: boolean;
|
|
81
|
+
isReversed?: boolean;
|
|
82
82
|
} & Omit<React.HTMLAttributes<HTMLButtonElement>, "className"> & {
|
|
83
|
-
classNameOverride?: string
|
|
83
|
+
classNameOverride?: string;
|
|
84
84
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
85
85
|
ListBox: {
|
|
86
|
-
<
|
|
86
|
+
<Option extends SelectOption>({ children, menuProps, classNameOverride, ...restProps }: import("./subcomponents").SingleListBoxProps<Option>): JSX.Element;
|
|
87
87
|
displayName: string;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
@@ -25,17 +25,17 @@ export declare const SelectToggle: React.ForwardRefExoticComponent<{
|
|
|
25
25
|
value: React.ReactNode;
|
|
26
26
|
/** Props for the element representing the selected value. */
|
|
27
27
|
valueProps: DOMAttributes<FocusableElement>;
|
|
28
|
-
isOpen?: boolean
|
|
28
|
+
isOpen?: boolean;
|
|
29
29
|
/**
|
|
30
30
|
* @deprecated Use of placeholder text goes against our a11y standards.
|
|
31
31
|
* Use the `labelText` prop to provide a concise name, and the `description` prop for any help text.
|
|
32
32
|
*/
|
|
33
|
-
placeholder?: string
|
|
33
|
+
placeholder?: string;
|
|
34
34
|
/** Updates the styling of the validation. */
|
|
35
|
-
status?: "error" | "caution"
|
|
36
|
-
isDisabled?: boolean
|
|
35
|
+
status?: "error" | "caution";
|
|
36
|
+
isDisabled?: boolean;
|
|
37
37
|
/** Use the `reversed` styles. */
|
|
38
|
-
isReversed?: boolean
|
|
38
|
+
isReversed?: boolean;
|
|
39
39
|
} & Omit<React.HTMLAttributes<HTMLButtonElement>, "className"> & {
|
|
40
|
-
classNameOverride?: string
|
|
40
|
+
classNameOverride?: string;
|
|
41
41
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3,4 +3,4 @@ export declare function extractDisplayName(type: React.FunctionComponent): strin
|
|
|
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: ReactNode) => element is React.ReactElement
|
|
6
|
+
export declare const isSemanticElement: (element: ReactNode) => element is React.ReactElement;
|
|
@@ -23,10 +23,10 @@ export declare const Tooltip: React.ForwardRefExoticComponent<Omit<RACTooltipPro
|
|
|
23
23
|
* anchor element.
|
|
24
24
|
* @default 8
|
|
25
25
|
*/
|
|
26
|
-
offset?: number
|
|
26
|
+
offset?: number;
|
|
27
27
|
/**
|
|
28
28
|
* The placement of the tooltip relative to the trigger.
|
|
29
29
|
* + we're intentionally limiting the placement options to rtl friendly ones (start, end, top, bottom)
|
|
30
30
|
*/
|
|
31
|
-
placement?: "
|
|
31
|
+
placement?: "bottom" | "bottom start" | "bottom end" | "top" | "top start" | "top end" | "start" | "start top" | "start bottom" | "end" | "end top" | "end bottom";
|
|
32
32
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isRefObject: (ref: React.ForwardedRef<any>) => ref is
|
|
1
|
+
export declare const isRefObject: (ref: React.ForwardedRef<any>) => ref is React.MutableRefObject<any>;
|
|
@@ -4,5 +4,5 @@ type ClassNameValue = string | number | boolean | undefined | null;
|
|
|
4
4
|
* This is useful when working with react-aria-components which have a feature where you can pass a function that receives state and returns a classname.
|
|
5
5
|
* https://react-spectrum.adobe.com/react-aria/styling.html#render-props
|
|
6
6
|
*/
|
|
7
|
-
export declare const mergeClassNames: <ClassNameTypes extends
|
|
7
|
+
export declare const mergeClassNames: <ClassNameTypes extends Array<ClassNameValue | ((state: any) => string)>>(...classNames: ClassNameTypes) => (() => string) extends ClassNameTypes[number] ? (state: any) => string : string;
|
|
8
8
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.55.1",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"styles.css"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@floating-ui/react-dom": "^2.1.
|
|
32
|
+
"@floating-ui/react-dom": "^2.1.1",
|
|
33
33
|
"@headlessui/react": "<=1.5.0",
|
|
34
34
|
"@internationalized/date": "^3.5.4",
|
|
35
35
|
"@popperjs/core": "^2.11.8",
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"lodash.debounce": "^4.0.8",
|
|
55
55
|
"nanobus": "^4.5.0",
|
|
56
56
|
"prosemirror-commands": "^1.5.2",
|
|
57
|
-
"prosemirror-history": "^1.4.
|
|
57
|
+
"prosemirror-history": "^1.4.1",
|
|
58
58
|
"prosemirror-inputrules": "^1.4.0",
|
|
59
59
|
"prosemirror-keymap": "^1.2.2",
|
|
60
|
-
"prosemirror-model": "^1.
|
|
61
|
-
"prosemirror-schema-basic": "^1.2.
|
|
62
|
-
"prosemirror-schema-list": "^1.4.
|
|
60
|
+
"prosemirror-model": "^1.22.1",
|
|
61
|
+
"prosemirror-schema-basic": "^1.2.3",
|
|
62
|
+
"prosemirror-schema-list": "^1.4.1",
|
|
63
63
|
"prosemirror-state": "^1.4.3",
|
|
64
64
|
"prosemirror-transform": "^1.9.0",
|
|
65
65
|
"prosemirror-utils": "^1.2.2",
|
|
66
|
-
"prosemirror-view": "^1.33.
|
|
66
|
+
"prosemirror-view": "^1.33.8",
|
|
67
67
|
"react-animate-height": "^3.2.3",
|
|
68
68
|
"react-aria": "^3.33.1",
|
|
69
69
|
"react-aria-components": "^1.2.1",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"react-day-picker": "Version locked until a11y gets fixed (https://github.com/gpbl/react-day-picker/pull/1708)"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@cultureamp/frontend-apis": "^9.
|
|
86
|
+
"@cultureamp/frontend-apis": "^9.6.0",
|
|
87
87
|
"@cultureamp/i18n-react-intl": "^2.5.8",
|
|
88
88
|
"@types/lodash.debounce": "^4.0.9",
|
|
89
89
|
"@types/react-dom": "^18.3.0",
|
|
@@ -93,15 +93,15 @@
|
|
|
93
93
|
"concat-cli": "^4.0.0",
|
|
94
94
|
"query-string": "^9.0.0",
|
|
95
95
|
"react-intl": "^6.6.8",
|
|
96
|
-
"rollup": "^4.18.
|
|
97
|
-
"sass": "^1.77.
|
|
96
|
+
"rollup": "^4.18.1",
|
|
97
|
+
"sass": "^1.77.8",
|
|
98
98
|
"serialize-query-params": "^2.0.2",
|
|
99
99
|
"svgo": "^3.3.2",
|
|
100
|
-
"ts-jest": "^29.
|
|
100
|
+
"ts-jest": "^29.2.2",
|
|
101
101
|
"tslib": "^2.6.3",
|
|
102
|
-
"tsx": "^4.
|
|
103
|
-
"@kaizen/
|
|
104
|
-
"@kaizen/
|
|
102
|
+
"tsx": "^4.16.2",
|
|
103
|
+
"@kaizen/package-bundler": "1.1.2",
|
|
104
|
+
"@kaizen/design-tokens": "10.5.0"
|
|
105
105
|
},
|
|
106
106
|
"devDependenciesComments": {
|
|
107
107
|
"postcss": "Installed in root",
|
package/src/Brand/Brand.tsx
CHANGED
|
@@ -58,11 +58,11 @@ export const Brand = ({
|
|
|
58
58
|
)
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
const { alt, classNameOverride } = restProps
|
|
61
|
+
const { alt, classNameOverride, ...otherProps } = restProps
|
|
62
62
|
const brandTheme = reversed ? "-reversed" : "-default"
|
|
63
63
|
|
|
64
64
|
return (
|
|
65
|
-
<picture className={classNameOverride} {...
|
|
65
|
+
<picture className={classNameOverride} {...otherProps}>
|
|
66
66
|
<source
|
|
67
67
|
srcSet={assetUrl(`brand/${variant}-reversed.svg`)}
|
|
68
68
|
media="(forced-colors: active) and (prefers-color-scheme: dark)"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react"
|
|
2
2
|
import { Meta, StoryObj } from "@storybook/react"
|
|
3
|
-
import { fn } from "@storybook/test"
|
|
3
|
+
import { expect, fn, userEvent, within, waitFor } from "@storybook/test"
|
|
4
4
|
import queryString from "query-string"
|
|
5
5
|
import Highlight from "react-highlight"
|
|
6
6
|
import {
|
|
@@ -759,3 +759,95 @@ export const ExternalEventOpenFilter: Story = {
|
|
|
759
759
|
)
|
|
760
760
|
},
|
|
761
761
|
}
|
|
762
|
+
|
|
763
|
+
const emptyLabelFilters = [
|
|
764
|
+
{
|
|
765
|
+
id: "cycle",
|
|
766
|
+
name: "",
|
|
767
|
+
Component: <CycleFilter />,
|
|
768
|
+
isRemovable: true,
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
id: "customRange",
|
|
772
|
+
name: "",
|
|
773
|
+
Component: <FilterBar.DateRangePicker />,
|
|
774
|
+
isRemovable: true,
|
|
775
|
+
},
|
|
776
|
+
] satisfies Filters<CycleFilterValues>
|
|
777
|
+
|
|
778
|
+
export const UpdatesLabels: Story = {
|
|
779
|
+
parameters: {
|
|
780
|
+
chromatic: {
|
|
781
|
+
delay: 2500,
|
|
782
|
+
},
|
|
783
|
+
},
|
|
784
|
+
render: () => {
|
|
785
|
+
const [values, setValues] = useState<Partial<CycleFilterValues>>({})
|
|
786
|
+
|
|
787
|
+
const [f, setF] = useState(emptyLabelFilters)
|
|
788
|
+
|
|
789
|
+
useEffect(() => {
|
|
790
|
+
const timer = setTimeout(() => {
|
|
791
|
+
setF([
|
|
792
|
+
{
|
|
793
|
+
id: "cycle",
|
|
794
|
+
name: "Cycle",
|
|
795
|
+
Component: <CycleFilter />,
|
|
796
|
+
isRemovable: true,
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
id: "customRange",
|
|
800
|
+
name: "Custom Range",
|
|
801
|
+
Component: <FilterBar.DateRangePicker />,
|
|
802
|
+
isRemovable: true,
|
|
803
|
+
},
|
|
804
|
+
])
|
|
805
|
+
}, 2000)
|
|
806
|
+
return () => clearTimeout(timer)
|
|
807
|
+
}, [])
|
|
808
|
+
|
|
809
|
+
return (
|
|
810
|
+
<>
|
|
811
|
+
<FilterBar<CycleFilterValues>
|
|
812
|
+
filters={f}
|
|
813
|
+
values={values}
|
|
814
|
+
onValuesChange={setValues}
|
|
815
|
+
/>
|
|
816
|
+
<div className="mt-16">
|
|
817
|
+
<code>Filters:</code>
|
|
818
|
+
<Highlight className="json">
|
|
819
|
+
{JSON.stringify(
|
|
820
|
+
f.map(({ id, name }) => ({ id, name })),
|
|
821
|
+
null,
|
|
822
|
+
4
|
|
823
|
+
)}
|
|
824
|
+
</Highlight>
|
|
825
|
+
</div>
|
|
826
|
+
<div className="mt-16">
|
|
827
|
+
<code>Values:</code>
|
|
828
|
+
<Highlight className="json">
|
|
829
|
+
{JSON.stringify(values, null, 4)}
|
|
830
|
+
</Highlight>
|
|
831
|
+
</div>
|
|
832
|
+
</>
|
|
833
|
+
)
|
|
834
|
+
},
|
|
835
|
+
play: async ({ canvasElement, step }) => {
|
|
836
|
+
const canvas = within(canvasElement)
|
|
837
|
+
|
|
838
|
+
await step("Initial render complete", async () => {
|
|
839
|
+
await waitFor(() => canvas.getByRole("button", { name: "Add Filters" }))
|
|
840
|
+
})
|
|
841
|
+
|
|
842
|
+
await userEvent.click(canvas.getByRole("button", { name: "Add Filters" }))
|
|
843
|
+
|
|
844
|
+
expect(canvas.queryByText("Custom Range")).not.toBeInTheDocument()
|
|
845
|
+
|
|
846
|
+
await step("Labels have updated", async () => {
|
|
847
|
+
await waitFor(
|
|
848
|
+
() => expect(canvas.queryByText("Custom Range")).toBeInTheDocument(),
|
|
849
|
+
{ timeout: 2100 }
|
|
850
|
+
)
|
|
851
|
+
})
|
|
852
|
+
},
|
|
853
|
+
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, {
|
|
2
|
+
useContext,
|
|
3
|
+
useEffect,
|
|
4
|
+
useMemo,
|
|
5
|
+
useReducer,
|
|
6
|
+
useRef,
|
|
7
|
+
} from "react"
|
|
2
8
|
import { FilterAttributes, FilterState, Filters, FiltersValues } from "../types"
|
|
3
9
|
import { filterBarStateReducer } from "./reducer/filterBarStateReducer"
|
|
4
10
|
import { setupFilterBarState } from "./reducer/setupFilterBarState"
|
|
5
11
|
import { ActiveFiltersArray } from "./types"
|
|
6
12
|
import { checkShouldUpdateValues } from "./utils/checkShouldUpdateValues"
|
|
13
|
+
import { createFiltersHash } from "./utils/createFiltersHash"
|
|
7
14
|
import { getInactiveFilters } from "./utils/getInactiveFilters"
|
|
8
15
|
import { getMappedFilters } from "./utils/getMappedFilters"
|
|
9
16
|
import { getValidValue } from "./utils/getValidValue"
|
|
@@ -70,7 +77,11 @@ export const FilterBarProvider = <ValuesMap extends FiltersValues>({
|
|
|
70
77
|
values,
|
|
71
78
|
onValuesChange,
|
|
72
79
|
}: FilterBarProviderProps<ValuesMap>): JSX.Element => {
|
|
73
|
-
const
|
|
80
|
+
const filtersHash = useRef<string>(createFiltersHash(filters))
|
|
81
|
+
const mappedFilters = useMemo(
|
|
82
|
+
() => getMappedFilters(filters),
|
|
83
|
+
[filtersHash.current]
|
|
84
|
+
)
|
|
74
85
|
|
|
75
86
|
const [state, dispatch] = useReducer(
|
|
76
87
|
filterBarStateReducer<ValuesMap>,
|
|
@@ -135,6 +146,14 @@ export const FilterBarProvider = <ValuesMap extends FiltersValues>({
|
|
|
135
146
|
}
|
|
136
147
|
}, [state])
|
|
137
148
|
|
|
149
|
+
useEffect(() => {
|
|
150
|
+
const newFiltersHash = createFiltersHash(filters)
|
|
151
|
+
if (newFiltersHash !== filtersHash.current) {
|
|
152
|
+
filtersHash.current = newFiltersHash
|
|
153
|
+
dispatch({ type: "update_filter_labels", data: filters })
|
|
154
|
+
}
|
|
155
|
+
}, [filters])
|
|
156
|
+
|
|
138
157
|
const activeFilters = Array.from(
|
|
139
158
|
state.activeFilterIds,
|
|
140
159
|
id => mappedFilters[id]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FiltersValues } from "../../types"
|
|
1
|
+
import { Filters, FiltersValues } from "../../types"
|
|
2
2
|
import { FilterBarState, FilterStateEditableAttributes } from "../types"
|
|
3
3
|
import { updateDependentFilters } from "../utils/updateDependentFilters"
|
|
4
4
|
import { updateSingleFilter } from "./updateSingleFilter"
|
|
@@ -14,6 +14,7 @@ type Actions<ValuesMap extends FiltersValues> =
|
|
|
14
14
|
}
|
|
15
15
|
| { type: "activate_filter"; id: keyof ValuesMap }
|
|
16
16
|
| { type: "deactivate_filter"; id: keyof ValuesMap }
|
|
17
|
+
| { type: "update_filter_labels"; data: Filters<ValuesMap> }
|
|
17
18
|
|
|
18
19
|
export const filterBarStateReducer = <ValuesMap extends FiltersValues>(
|
|
19
20
|
state: FilterBarState<ValuesMap>,
|
|
@@ -46,5 +47,19 @@ export const filterBarStateReducer = <ValuesMap extends FiltersValues>(
|
|
|
46
47
|
...updateDependentFilters(state),
|
|
47
48
|
hasUpdatedValues: true,
|
|
48
49
|
}
|
|
50
|
+
|
|
51
|
+
case "update_filter_labels":
|
|
52
|
+
return {
|
|
53
|
+
...state,
|
|
54
|
+
filters: Object.values(state.filters).reduce((acc, filter) => {
|
|
55
|
+
acc[filter.id] = {
|
|
56
|
+
...filter,
|
|
57
|
+
name:
|
|
58
|
+
action.data.find(({ id }) => id === filter.id)?.name ??
|
|
59
|
+
filter.name,
|
|
60
|
+
}
|
|
61
|
+
return acc
|
|
62
|
+
}, {}),
|
|
63
|
+
}
|
|
49
64
|
}
|
|
50
65
|
}
|
package/src/Icon/AddLinkIcon.tsx
CHANGED
|
@@ -10,7 +10,7 @@ export const AddLinkIcon = (props: IconProps): JSX.Element => {
|
|
|
10
10
|
<>
|
|
11
11
|
<path
|
|
12
12
|
fill="currentColor"
|
|
13
|
-
d="M9.125 14.167H5.
|
|
13
|
+
d="M9.125 14.167H5.833q-1.729 0-2.948-1.219T1.667 10t1.218-2.948q1.219-1.22 2.948-1.219h3.292v1.75H5.833q-1.04 0-1.729.688-.687.687-.687 1.729t.687 1.729q.688.688 1.729.688h3.292zm-2.458-3.292v-1.75h6.666v1.75zm4.208 3.292v-1.75h3.292q1.04 0 1.729-.688.687-.687.687-1.729t-.687-1.729q-.688-.688-1.729-.688h-3.292v-1.75h3.292q1.729 0 2.948 1.219T18.333 10t-1.218 2.948q-1.219 1.22-2.948 1.219z"
|
|
14
14
|
/>
|
|
15
15
|
</>
|
|
16
16
|
)
|
|
@@ -12,7 +12,7 @@ export const ArchivedIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M12.307 2.636A2.
|
|
15
|
+
d="M12.307 2.636A2.46 2.46 0 0 0 10 1a2.46 2.46 0 0 0-2.307 1.636h-3.06c-.9 0-1.636.737-1.636 1.637v13.09c0 .9.736 1.637 1.636 1.637h10.73c.9 0 1.636-.736 1.636-1.636V4.273c0-.9-.736-1.637-1.636-1.637zm-1.489.819a.82.82 0 0 1-.818.818.82.82 0 0 1-.818-.818.82.82 0 0 1 .818-.819.82.82 0 0 1 .818.819M10 14.909l-4.09-4.09h2.454V7.544h3.272v3.273h2.455z"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
|
@@ -12,7 +12,7 @@ export const ArchivedWhiteIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M12.307 2.636A2.
|
|
15
|
+
d="M12.307 2.636A2.46 2.46 0 0 0 10 1a2.46 2.46 0 0 0-2.307 1.636h-3.06c-.9 0-1.636.737-1.636 1.637v13.09c0 .9.736 1.637 1.636 1.637h10.73c.9 0 1.636-.736 1.636-1.636V4.273c0-.9-.736-1.637-1.636-1.637zm-1.489.819a.82.82 0 0 1-.818.818.82.82 0 0 1-.818-.818.82.82 0 0 1 .818-.819.82.82 0 0 1 .818.819"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<g fill="none" fillRule="evenodd">
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// This file is autogenerated by wrapSVGs.ts
|
|
2
|
+
// Changes to this file will be overwritten
|
|
3
|
+
|
|
4
|
+
import React from "react"
|
|
5
|
+
import { SVG } from "~components/Icon/subcomponents/SVG"
|
|
6
|
+
import type { IconProps } from "~components/Icon/types"
|
|
7
|
+
|
|
8
|
+
export const AssignmentIcon = (props: IconProps): JSX.Element => {
|
|
9
|
+
const svgContent = (
|
|
10
|
+
<>
|
|
11
|
+
<path
|
|
12
|
+
fill="currentColor"
|
|
13
|
+
d="M9 4a.486.486 0 0 0 .5-.5A.486.486 0 0 0 9 3a.486.486 0 0 0-.5.5.486.486 0 0 0 .5.5m4.995 15q-1.662 0-2.828-1.172Q10 16.658 10 14.995q0-1.662 1.172-2.828Q12.342 11 14.005 11q1.662 0 2.828 1.172Q18 13.342 18 15.005q0 1.662-1.172 2.828Q15.658 19 13.995 19m-.495-2h1v-1.5H16v-1h-1.5V13h-1v1.5H12v1h1.5zM5 7.5h8V6H5zM8.854 17H3.5q-.62 0-1.06-.44A1.45 1.45 0 0 1 2 15.5v-11q0-.618.44-1.06Q2.883 3 3.5 3h3.563a1.98 1.98 0 0 1 .697-1.073A1.92 1.92 0 0 1 9 1.5q.708 0 1.24.427.53.427.697 1.073H14.5q.619 0 1.06.44.44.442.44 1.06v5.375a6.4 6.4 0 0 0-.997-.25 6.1 6.1 0 0 0-2.003 0V9.25H5v1.5h5.542q-.459.354-.834.792-.375.436-.646.958H5V14h3.542a6 6 0 0 0-.063.5 3 3 0 0 0 0 .5q.02.48.115 1.01.094.532.26.99"
|
|
14
|
+
/>
|
|
15
|
+
</>
|
|
16
|
+
)
|
|
17
|
+
return <SVG {...props}>{svgContent}</SVG>
|
|
18
|
+
}
|
package/src/Icon/BlankIcon.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const BlankIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M12.303 2.636A2.
|
|
15
|
+
d="M12.303 2.636A2.45 2.45 0 0 0 10 1a2.45 2.45 0 0 0-2.303 1.636H4.635c-.904 0-1.637.733-1.637 1.637v13.09c0 .905.733 1.637 1.637 1.637H15.36c.904 0 1.636-.732 1.636-1.636V4.273c0-.904-.732-1.637-1.636-1.637zm-1.485.819a.818.818 0 1 1-1.636 0 .818.818 0 0 1 1.636 0"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
package/src/Icon/BoldIcon.tsx
CHANGED
|
@@ -10,7 +10,7 @@ export const BoldIcon = (props: IconProps): JSX.Element => {
|
|
|
10
10
|
<>
|
|
11
11
|
<path
|
|
12
12
|
fill="currentColor"
|
|
13
|
-
d="M6 16V4h4.
|
|
13
|
+
d="M6 16V4h4.786q1.513 0 2.644.846 1.13.848 1.13 2.283 0 1.028-.492 1.64-.495.61-1.153.931v.172q.965.321 1.526 1.007.559.686.559 1.778 0 1.607-1.207 2.475T10.917 16zm2.415-7.157h2.174q.701 0 1.173-.397.472-.396.472-.975 0-.556-.472-.963-.472-.408-1.174-.408H8.416zm0 5.015h2.348q.857 0 1.34-.42.482-.416.482-1.081t-.482-1.082q-.482-.418-1.34-.418H8.415z"
|
|
14
14
|
/>
|
|
15
15
|
</>
|
|
16
16
|
)
|
|
@@ -10,7 +10,7 @@ export const BullettedListIcon = (props: IconProps): JSX.Element => {
|
|
|
10
10
|
<>
|
|
11
11
|
<path
|
|
12
12
|
fill="currentColor"
|
|
13
|
-
d="M3.812 11.
|
|
13
|
+
d="M3.812 11.292q-.54 0-.916-.375A1.25 1.25 0 0 1 2.521 10q0-.542.375-.917t.916-.375q.542 0 .917.375t.375.917-.375.917-.917.375m0-4.98q-.54 0-.916-.374a1.25 1.25 0 0 1-.375-.917q0-.542.375-.917t.916-.375q.542 0 .917.375t.375.917q0 .54-.375.917-.375.375-.917.374m0 9.938q-.54 0-.916-.375a1.25 1.25 0 0 1-.375-.917q0-.54.375-.916.375-.375.916-.375.542 0 .917.375t.375.916-.375.917-.917.375m2.834-.417v-1.75H17.5v1.75zm0-4.958v-1.75H17.5v1.75zm0-4.979v-1.75H17.5v1.75z"
|
|
14
14
|
/>
|
|
15
15
|
</>
|
|
16
16
|
)
|
|
@@ -12,7 +12,7 @@ export const CaMonogramIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M17.673 9.041c-.133.049-.217.368-.197.629.064.855.136 1.824-.485 3.303-.295.704-.828 1.438-1.538 2.122-.895.861-1.646 1.055-1.839 1.
|
|
15
|
+
d="M17.673 9.041c-.133.049-.217.368-.197.629.064.855.136 1.824-.485 3.303-.295.704-.828 1.438-1.538 2.122-.895.861-1.646 1.055-1.839 1.055q-.1 0-.12-.064c-.005-.014-.015-.062.041-.102l.159-.116c.379-.272.481-.345.89-.702.649-.566 1.576-1.928 1.725-2.368.18-.533.338-1.339.28-1.935-.036-.377-.115-.495-.132-.505-.065.01-.205.205-.29.532-.076.288-.177.63-.276.957-.277.917-.556 1.253-.825 1.579q-.082.1-.166.205c-.48.622-1.095.957-1.24.957-.065 0-.085-.043-.09-.056-.022-.06.025-.118.103-.184.197-.167.861-.795 1.158-1.855.05-.18.001-.367-.03-.383 0 0-.065.015-.163.258-.208.513-.242.564-.57 1.045-.406.594-1.142 1.192-1.491 1.36a4 4 0 0 1-1.764.396c-.372 0-.763-.048-1.161-.141-.886-.209-1.935-1.087-2.001-1.158-.288-.312-.58-.647-.768-.98-.49-.874-.7-1.72-.623-2.513.079-.82.24-1.458.794-2.109.55-.643 1.037-1.074 1.902-1.379a4.7 4.7 0 0 1 1.523-.236c.77 0 1.458.164 1.892.448.754.495 1.024.752 1.693 1.422.303.305.772.487 1.252.487a2 2 0 0 0 1.026-.289c.646-.383 1.016-.878 1.099-1.473.179-1.282-.998-2.542-1.01-2.555-.28-.296-.549-.55-.809-.774-.002-.316-.357-.561-.357-.561-1.96-1.406-3.797-1.383-4.546-1.348-.89.041-1.725.137-2.552.369-2.08.477-3.73 1.652-4.915 3.497-.836.988-1.146 2.5-1.239 3.736-.102 1.335.417 3.336.701 3.604.266.25.5.284.53.288.163.345.335.704.407.807l.162.235c.335.49.681.995 1.144 1.396.763.663 1.448 1.029 2.373 1.435.917.403 1.623.573 2.517.606.316.012.534.017.73.017.713 0 1.227-.072 1.963-.278a8.9 8.9 0 0 0 2.268-1.006c.289-.184 1.178-.987 1.487-1.343.318-.367.899-1.22 1.195-2.073.66-1.894.524-2.93.433-3.623-.056-.439-.166-.636-.25-.636"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
package/src/Icon/CameraIcon.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const CameraIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M2.25 2.25V0h1.5v2.25H6v1.5H3.75V6h-1.5V3.75H0v-1.5zm2.25 4.5V4.5h2.25V2.25H12l1.373 1.5h2.377c.825 0 1.5.675 1.5 1.5v9c0 .825-.675 1.5-1.5 1.5h-12c-.825 0-1.5-.675-1.5-1.5v-7.5zm5.25 6.75c2.07 0 3.75-1.68 3.75-3.
|
|
15
|
+
d="M2.25 2.25V0h1.5v2.25H6v1.5H3.75V6h-1.5V3.75H0v-1.5zm2.25 4.5V4.5h2.25V2.25H12l1.373 1.5h2.377c.825 0 1.5.675 1.5 1.5v9c0 .825-.675 1.5-1.5 1.5h-12c-.825 0-1.5-.675-1.5-1.5v-7.5zm5.25 6.75c2.07 0 3.75-1.68 3.75-3.75S11.82 6 9.75 6 6 7.68 6 9.75s1.68 3.75 3.75 3.75m-2.4-3.75c0 1.328 1.072 2.4 2.4 2.4s2.4-1.072 2.4-2.4-1.072-2.4-2.4-2.4a2.397 2.397 0 0 0-2.4 2.4"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use
|
package/src/Icon/ClearIcon.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const ClearIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M10 2c-4.424 0-8 3.576-8
|
|
15
|
+
d="M10 2c-4.424 0-8 3.576-8 8s3.576 8 8 8 8-3.576 8-8-3.576-8-8-8m4 10.872L12.872 14 10 11.128 7.128 14 6 12.872 8.872 10 6 7.128 7.128 6 10 8.872 12.872 6 14 7.128 11.128 10z"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
|
@@ -12,7 +12,7 @@ export const ClearWhiteIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M10 2c-4.424 0-8 3.576-8
|
|
15
|
+
d="M10 2c-4.424 0-8 3.576-8 8s3.576 8 8 8 8-3.576 8-8-3.576-8-8-8"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<g fill="none" fillRule="evenodd">
|
package/src/Icon/ClosedIcon.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const ClosedIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M12.307 2.636A2.
|
|
15
|
+
d="M12.307 2.636A2.46 2.46 0 0 0 10 1a2.46 2.46 0 0 0-2.308 1.636H4.636c-.9 0-1.637.737-1.637 1.637v13.09c0 .9.737 1.637 1.637 1.637H15.36c.9 0 1.637-.736 1.637-1.636V4.273c0-.9-.738-1.637-1.637-1.637zm-1.489.819c0 .45-.369.818-.818.818a.82.82 0 0 1-.818-.818.82.82 0 0 1 .818-.819c.45 0 .818.369.818.819m-5.727 8.181 1.154-1.153 2.119 2.11 5.391-5.391 1.154 1.162-6.545 6.545z"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
|
@@ -12,7 +12,7 @@ export const ClosedWhiteIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M12.307 2.636A2.
|
|
15
|
+
d="M12.307 2.636A2.46 2.46 0 0 0 10 1a2.46 2.46 0 0 0-2.308 1.636H4.636c-.9 0-1.637.737-1.637 1.637v13.09c0 .9.737 1.637 1.637 1.637H15.36c.9 0 1.637-.736 1.637-1.636V4.273c0-.9-.738-1.637-1.637-1.637zm-1.489.819c0 .45-.369.818-.818.818a.82.82 0 0 1-.818-.818.82.82 0 0 1 .818-.819c.45 0 .818.369.818.819"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<g fill="none" fillRule="evenodd">
|
|
@@ -12,7 +12,7 @@ export const CommentBankIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M.667 17.333V1.
|
|
15
|
+
d="M.667 17.333V1.917q0-.48.375-.865.374-.385.875-.385h14.166q.48 0 .865.385t.385.865V12.75q0 .48-.385.865-.385.384-.865.385H4zm9.229-9.729 2.02-1.042 2 1.042V1.917h-4.02z"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
|
@@ -10,11 +10,11 @@ export const CompetencyLibraryIcon = (props: IconProps): JSX.Element => {
|
|
|
10
10
|
<>
|
|
11
11
|
<path
|
|
12
12
|
fill="currentColor"
|
|
13
|
-
d="M7.094 11.18a2.
|
|
13
|
+
d="M7.094 11.18a2.5 2.5 0 0 1-1.826-.745 2.43 2.43 0 0 1-.756-1.798q0-1.055.756-1.799a2.5 2.5 0 0 1 1.826-.745q1.07 0 1.826.745.756.744.756 1.799 0 1.053-.756 1.798a2.5 2.5 0 0 1-1.826.745"
|
|
14
14
|
/>
|
|
15
15
|
<path
|
|
16
16
|
fill="currentColor"
|
|
17
|
-
d="M2.186
|
|
17
|
+
d="M2.186 17q-.906 0-1.546-.63A2.06 2.06 0 0 1 0 14.846v-9.67q0-.893.64-1.534A2.1 2.1 0 0 1 2.186 3h9.604q.908 0 1.559.642.651.64.651 1.535v9.67q0 .893-.651 1.523T11.79 17zM2 14.401C3.27 12.92 5.041 12 7 12s3.73.92 5 2.401V5H2z"
|
|
18
18
|
fillRule="evenodd"
|
|
19
19
|
clipRule="evenodd"
|
|
20
20
|
/>
|
|
@@ -8,7 +8,7 @@ import type { IconProps } from "~components/Icon/types"
|
|
|
8
8
|
export const ConnectLineIcon = (props: IconProps): JSX.Element => {
|
|
9
9
|
const svgContent = (
|
|
10
10
|
<>
|
|
11
|
-
<path d="M9.05 17.5h1.9v-2.05l3.55-3.9V6.775h-9v4.775l3.55 3.893zM7.55 19v-2.95L4 12.15V6.
|
|
11
|
+
<path d="M9.05 17.5h1.9v-2.05l3.55-3.9V6.775h-9v4.775l3.55 3.893zM7.55 19v-2.95L4 12.15V6.775q0-.62.44-1.06.442-.44 1.06-.44h1.8l-.75.75V1h1.5v4.275h3.9V1h1.5v5.025l-.75-.75h1.8q.619 0 1.06.44.44.441.44 1.06v5.375l-3.55 3.9V19z" />
|
|
12
12
|
</>
|
|
13
13
|
)
|
|
14
14
|
return <SVG {...props}>{svgContent}</SVG>
|
package/src/Icon/DateEndIcon.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const DateEndIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M13.557 1.111h1.778V2.89h.889c.982 0 1.778.796 1.778 1.778v12.446c0 .982-.796 1.778-1.778 1.778H3.778A1.
|
|
15
|
+
d="M13.557 1.111h1.778V2.89h.889c.982 0 1.778.796 1.778 1.778v12.446c0 .982-.796 1.778-1.778 1.778H3.778A1.78 1.78 0 0 1 2 17.113l.009-12.446A1.77 1.77 0 0 1 3.778 2.89h.889V1.111h1.778V2.89h7.112zm2.667 16.002V7.334H3.778v9.78zm-1.778-6.223h-4.445v4.445h4.445z"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|
|
@@ -10,7 +10,7 @@ export const DepartmentIcon = (props: IconProps): JSX.Element => {
|
|
|
10
10
|
<>
|
|
11
11
|
<path
|
|
12
12
|
fill="currentColor"
|
|
13
|
-
d="M10 8.4c1.902 0 3.203.372 3.547.525A3.
|
|
13
|
+
d="M10 8.4c1.902 0 3.203.372 3.547.525A3.48 3.48 0 0 1 15.6 12.11V14H4.4v-1.878c0-1.377.793-2.637 2.053-3.185.25-.11 1.645-.537 3.547-.537m6.533-.233a2.34 2.34 0 0 0 2.334-2.334A2.34 2.34 0 0 0 16.533 3.5 2.34 2.34 0 0 0 14.2 5.833a2.34 2.34 0 0 0 2.333 2.334m3.267 4.001c0-.945-.7-1.668-1.423-2.158-.885-.56-1.43-.612-1.844-.677-.45-.07-.886.047-1.318.117.467.793.849 1.692.849 2.66v1.878L19.8 14zM10 0c1.937 0 3.5 1.563 3.5 3.5S11.937 7 10 7a3.495 3.495 0 0 1-3.5-3.5C6.5 1.563 8.063 0 10 0M1.133 5.833a2.34 2.34 0 0 0 2.334 2.334A2.34 2.34 0 0 0 5.8 5.833 2.34 2.34 0 0 0 3.467 3.5a2.34 2.34 0 0 0-2.334 2.333"
|
|
14
14
|
/>
|
|
15
15
|
<path
|
|
16
16
|
fill="currentColor"
|
package/src/Icon/DraftIcon.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const DraftIcon = (props: IconProps): JSX.Element => {
|
|
|
12
12
|
<defs>
|
|
13
13
|
<path
|
|
14
14
|
id={uniqueId}
|
|
15
|
-
d="M15.376 2.636c.9 0 1.637.737 1.637 1.637v13.09c0 .9-.737 1.637-1.637 1.637H4.631c-.9 0-1.636-.736-1.636-1.636V4.273c0-.9.736-1.637 1.636-1.637h3.062A2.
|
|
15
|
+
d="M15.376 2.636c.9 0 1.637.737 1.637 1.637v13.09c0 .9-.737 1.637-1.637 1.637H4.631c-.9 0-1.636-.736-1.636-1.636V4.273c0-.9.736-1.637 1.636-1.637h3.062A2.46 2.46 0 0 1 10 1c1.064 0 1.964.687 2.307 1.636zM11.15 8.801l-4.813 4.442v1.666h1.805l4.813-4.443zm2.105-1.314a.51.51 0 0 0-.682 0l-.942.87 1.806 1.665.941-.869a.42.42 0 0 0 0-.628zm-2.437-4.032A.82.82 0 0 0 10 2.636a.82.82 0 0 0-.818.819c0 .45.368.818.818.818a.82.82 0 0 0 .818-.818"
|
|
16
16
|
/>
|
|
17
17
|
</defs>
|
|
18
18
|
<use fill="currentColor" href={`#${uniqueId}`} fillRule="evenodd" />
|