akeneo-design-system 0.1.223 → 0.1.225
Sign up to get free protection for your applications and to get access to all the features.
- package/example/package.json +2 -2
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/lib/components/Dropdown/Dropdown.d.ts +2 -2
- package/lib/components/Field/Field.js +3 -0
- package/lib/components/Field/Field.js.map +1 -1
- package/lib/components/Input/MultiSelectInput/MultiSelectInput.d.ts +2 -2
- package/lib/components/Input/SelectInput/SelectInput.d.ts +1 -1
- package/lib/components/Input/TableInput/TableInput.d.ts +4 -4
- package/lib/components/Input/TableInput/TableInputCellContent/TableInputCellContent.d.ts +1 -1
- package/lib/components/Input/TableInput/TableInputNumber/TableInputNumber.d.ts +1 -1
- package/lib/components/Input/TableInput/TableInputText/TableInputText.d.ts +1 -1
- package/lib/components/Input/TextAreaInput/RichTextEditor.d.ts +2 -1
- package/lib/components/KeyFigure/KeyFigure.d.ts +3 -3
- package/lib/components/List/List.d.ts +5 -5
- package/lib/components/MessageBar/MessageBar.d.ts +3 -3
- package/lib/components/Preview/Preview.d.ts +3 -3
- package/lib/components/ProgressIndicator/ProgressIndicator.d.ts +1 -1
- package/lib/components/Search/Search.d.ts +2 -2
- package/lib/components/Search/Search.js +1 -1
- package/lib/components/Search/Search.js.map +1 -1
- package/lib/components/SectionTitle/SectionTitle.d.ts +3 -3
- package/lib/components/TabBar/TabBar.d.ts +2 -2
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/components/Tags/Tags.d.ts +1 -1
- package/lib/components/Tags/Tags.js +8 -27
- package/lib/components/Tags/Tags.js.map +1 -1
- package/lib/components/Toolbar/Toolbar.d.ts +1 -1
- package/lib/components/Tree/Tree.d.ts +1 -1
- package/lib/icons/ActivityIcon.d.ts +2 -1
- package/lib/icons/AddAttributeIcon.d.ts +2 -1
- package/lib/icons/AkeneoIcon.d.ts +2 -1
- package/lib/icons/ArrowDownIcon.d.ts +2 -1
- package/lib/icons/ArrowIcon.d.ts +2 -1
- package/lib/icons/ArrowLeftIcon.d.ts +2 -1
- package/lib/icons/ArrowRightIcon.d.ts +2 -1
- package/lib/icons/ArrowSimpleUpIcon.d.ts +2 -1
- package/lib/icons/ArrowUpIcon.d.ts +2 -1
- package/lib/icons/AssetCollectionIcon.d.ts +2 -1
- package/lib/icons/AssetsIcon.d.ts +2 -1
- package/lib/icons/AssociateIcon.d.ts +2 -1
- package/lib/icons/AttributeBooleanIcon.d.ts +2 -1
- package/lib/icons/AttributeFileIcon.d.ts +2 -1
- package/lib/icons/AttributeLinkIcon.d.ts +2 -1
- package/lib/icons/AttributeMultiSelectIcon.d.ts +2 -1
- package/lib/icons/AttributeNumberIcon.d.ts +2 -1
- package/lib/icons/AttributePriceIcon.d.ts +2 -1
- package/lib/icons/AttributeSelectIcon.d.ts +2 -1
- package/lib/icons/AttributeTextIcon.d.ts +2 -1
- package/lib/icons/AttributeTextareaIcon.d.ts +2 -1
- package/lib/icons/BarChartsIcon.d.ts +2 -1
- package/lib/icons/BookIcon.d.ts +2 -1
- package/lib/icons/BoxIcon.d.ts +2 -1
- package/lib/icons/BrokenLinkIcon.d.ts +2 -1
- package/lib/icons/CaddyAddIcon.d.ts +2 -1
- package/lib/icons/CaddyCheckoutIcon.d.ts +2 -1
- package/lib/icons/CaddyIcon.d.ts +2 -1
- package/lib/icons/CardIcon.d.ts +2 -1
- package/lib/icons/CategoryIcon.d.ts +2 -1
- package/lib/icons/CheckIcon.d.ts +2 -1
- package/lib/icons/CheckPartialIcon.d.ts +2 -1
- package/lib/icons/CheckRoundIcon.d.ts +2 -1
- package/lib/icons/ClockIcon.d.ts +2 -1
- package/lib/icons/CloseIcon.d.ts +2 -1
- package/lib/icons/CodeIcon.d.ts +2 -1
- package/lib/icons/ColumnIcon.d.ts +2 -1
- package/lib/icons/CompareIcon.d.ts +2 -1
- package/lib/icons/ComponentIcon.d.ts +2 -1
- package/lib/icons/CompositionIcon.d.ts +2 -1
- package/lib/icons/ConnectIcon.d.ts +2 -1
- package/lib/icons/CopyIcon.d.ts +2 -1
- package/lib/icons/CreditsIcon.d.ts +2 -1
- package/lib/icons/DangerIcon.d.ts +2 -1
- package/lib/icons/DangerPlainIcon.d.ts +2 -1
- package/lib/icons/DateIcon.d.ts +2 -1
- package/lib/icons/DeleteIcon.d.ts +2 -1
- package/lib/icons/DialogIcon.d.ts +2 -1
- package/lib/icons/DimensionsIcon.d.ts +2 -1
- package/lib/icons/DownloadIcon.d.ts +2 -1
- package/lib/icons/DragDropIcon.d.ts +2 -1
- package/lib/icons/EditIcon.d.ts +2 -1
- package/lib/icons/EntityIcon.d.ts +2 -1
- package/lib/icons/EntityMultiIcon.d.ts +2 -1
- package/lib/icons/EraseIcon.d.ts +2 -1
- package/lib/icons/ExpandIcon.d.ts +2 -1
- package/lib/icons/ExplanationPointIcon.d.ts +2 -1
- package/lib/icons/ExternalLinkIcon.d.ts +2 -1
- package/lib/icons/FactoryIcon.d.ts +2 -1
- package/lib/icons/FileCsvIcon.d.ts +2 -1
- package/lib/icons/FileIcon.d.ts +2 -1
- package/lib/icons/FileXlsxIcon.d.ts +2 -1
- package/lib/icons/FiltersIcon.d.ts +2 -1
- package/lib/icons/FolderIcon.d.ts +2 -1
- package/lib/icons/FolderInIcon.d.ts +2 -1
- package/lib/icons/FolderMovedIcon.d.ts +2 -1
- package/lib/icons/FolderOutIcon.d.ts +2 -1
- package/lib/icons/FolderPlainIcon.d.ts +2 -1
- package/lib/icons/FoldersIcon.d.ts +2 -1
- package/lib/icons/FoldersPlainIcon.d.ts +2 -1
- package/lib/icons/FoodIcon.d.ts +2 -1
- package/lib/icons/FullscreenIcon.d.ts +2 -1
- package/lib/icons/GiftIcon.d.ts +2 -1
- package/lib/icons/GroupsIcon.d.ts +2 -1
- package/lib/icons/HelpIcon.d.ts +2 -1
- package/lib/icons/HelpPlainIcon.d.ts +2 -1
- package/lib/icons/IdIcon.d.ts +2 -1
- package/lib/icons/InfoIcon.d.ts +2 -1
- package/lib/icons/InfoRoundIcon.d.ts +2 -1
- package/lib/icons/KeyIcon.d.ts +2 -1
- package/lib/icons/KeyboardIcon.d.ts +2 -1
- package/lib/icons/LightIcon.d.ts +2 -1
- package/lib/icons/LinkIcon.d.ts +2 -1
- package/lib/icons/ListIcon.d.ts +2 -1
- package/lib/icons/LoaderIcon.d.ts +2 -1
- package/lib/icons/LocaleIcon.d.ts +2 -1
- package/lib/icons/LockIcon.d.ts +2 -1
- package/lib/icons/MailIcon.d.ts +2 -1
- package/lib/icons/MediaLinkIcon.d.ts +2 -1
- package/lib/icons/MegaphoneIcon.d.ts +2 -1
- package/lib/icons/MetricIcon.d.ts +2 -1
- package/lib/icons/MinifyIcon.d.ts +2 -1
- package/lib/icons/MoreIcon.d.ts +2 -1
- package/lib/icons/MoreVerticalIcon.d.ts +2 -1
- package/lib/icons/NotificationIcon.d.ts +2 -1
- package/lib/icons/PanelCloseIcon.d.ts +2 -1
- package/lib/icons/PanelOpenIcon.d.ts +2 -1
- package/lib/icons/PlayIcon.d.ts +2 -1
- package/lib/icons/PlusIcon.d.ts +2 -1
- package/lib/icons/ProductDimensionsIcon.d.ts +2 -1
- package/lib/icons/ProductIcon.d.ts +2 -1
- package/lib/icons/ProductModelIcon.d.ts +2 -1
- package/lib/icons/PublishIcon.d.ts +2 -1
- package/lib/icons/RefreshIcon.d.ts +2 -1
- package/lib/icons/RowIcon.d.ts +2 -1
- package/lib/icons/SearchIcon.d.ts +2 -1
- package/lib/icons/SectionIcon.d.ts +2 -1
- package/lib/icons/SettingsIcon.d.ts +2 -1
- package/lib/icons/ShopIcon.d.ts +2 -1
- package/lib/icons/SupplierIcon.d.ts +2 -1
- package/lib/icons/SystemIcon.d.ts +2 -1
- package/lib/icons/TableIcon.d.ts +2 -1
- package/lib/icons/TagIcon.d.ts +2 -1
- package/lib/icons/UnpublishIcon.d.ts +2 -1
- package/lib/icons/UnviewIcon.d.ts +2 -1
- package/lib/icons/UploadIcon.d.ts +2 -1
- package/lib/icons/UserIcon.d.ts +2 -1
- package/lib/icons/ValueIcon.d.ts +2 -1
- package/lib/icons/ViewIcon.d.ts +2 -1
- package/lib/icons/WaveIcon.d.ts +2 -1
- package/lib/illustrations/AddingValueIllustration.d.ts +2 -1
- package/lib/illustrations/AkeneoCloudEditionIllustration.d.ts +2 -1
- package/lib/illustrations/ApiIllustration.d.ts +2 -1
- package/lib/illustrations/AppIllustration.d.ts +2 -1
- package/lib/illustrations/AssetCategoriesIllustration.d.ts +2 -1
- package/lib/illustrations/AssetsIllustration.d.ts +2 -1
- package/lib/illustrations/AssociationTypesIllustration.d.ts +2 -1
- package/lib/illustrations/AttributeGroupsIllustration.d.ts +2 -1
- package/lib/illustrations/AttributesIllustration.d.ts +2 -1
- package/lib/illustrations/CatalogsIllustration.d.ts +2 -1
- package/lib/illustrations/ChannelsIllustration.d.ts +2 -1
- package/lib/illustrations/CityIllustration.d.ts +2 -1
- package/lib/illustrations/ClientErrorIllustration.d.ts +2 -1
- package/lib/illustrations/CodingIllustration.d.ts +2 -1
- package/lib/illustrations/CurrenciesIllustration.d.ts +2 -1
- package/lib/illustrations/DefaultPictureIllustration.d.ts +2 -1
- package/lib/illustrations/DeleteFamilyVariantIllustration.d.ts +2 -1
- package/lib/illustrations/DeleteIllustration.d.ts +2 -1
- package/lib/illustrations/DraftIllustration.d.ts +2 -1
- package/lib/illustrations/EntitiesIllustration.d.ts +2 -1
- package/lib/illustrations/EntitiesRecordIllustration.d.ts +2 -1
- package/lib/illustrations/ExportBuilderIllustration.d.ts +2 -1
- package/lib/illustrations/ExportCsvIllustration.d.ts +2 -1
- package/lib/illustrations/ExportIllustration.d.ts +2 -1
- package/lib/illustrations/ExportXlsxIllustration.d.ts +2 -1
- package/lib/illustrations/ExportYmlIllustration.d.ts +2 -1
- package/lib/illustrations/FamilyIllustration.d.ts +2 -1
- package/lib/illustrations/FamilyVariantIllustration.d.ts +2 -1
- package/lib/illustrations/GraphIllustration.d.ts +2 -1
- package/lib/illustrations/GroupsIllustration.d.ts +2 -1
- package/lib/illustrations/ImportCsvIllustration.d.ts +2 -1
- package/lib/illustrations/ImportIllustration.d.ts +2 -1
- package/lib/illustrations/ImportXlsxIllustration.d.ts +2 -1
- package/lib/illustrations/ImportYmlIllustration.d.ts +2 -1
- package/lib/illustrations/JuliaIllustration.d.ts +2 -1
- package/lib/illustrations/LocaleIllustration.d.ts +2 -1
- package/lib/illustrations/MarketplaceIllustration.d.ts +2 -1
- package/lib/illustrations/MeasurementIllustration.d.ts +2 -1
- package/lib/illustrations/MediaFileIllustration.d.ts +2 -1
- package/lib/illustrations/MoneyIllustration.d.ts +2 -1
- package/lib/illustrations/NewsIllustration.d.ts +2 -1
- package/lib/illustrations/NoResultsIllustration.d.ts +2 -1
- package/lib/illustrations/ProductCategoryIllustration.d.ts +2 -1
- package/lib/illustrations/ProductModelIllustration.d.ts +2 -1
- package/lib/illustrations/ProductPublishedIllustration.d.ts +2 -1
- package/lib/illustrations/ProductsIllustration.d.ts +2 -1
- package/lib/illustrations/ProjectIllustration.d.ts +2 -1
- package/lib/illustrations/ProposalsIllustration.d.ts +2 -1
- package/lib/illustrations/RulesIllustration.d.ts +2 -1
- package/lib/illustrations/ServerErrorIllustration.d.ts +2 -1
- package/lib/illustrations/ServerIllustration.d.ts +2 -1
- package/lib/illustrations/SettingsIllustration.d.ts +2 -1
- package/lib/illustrations/StatusIllustration.d.ts +2 -1
- package/lib/illustrations/SurveyIllustration.d.ts +2 -1
- package/lib/illustrations/TimezoneIllustration.d.ts +2 -1
- package/lib/illustrations/UserGroupsIllustration.d.ts +2 -1
- package/lib/illustrations/UserRolesIllustration.d.ts +2 -1
- package/lib/illustrations/UsersIllustration.d.ts +2 -1
- package/lib/illustrations/UsingIllustration.d.ts +2 -1
- package/lib/illustrations/ViewsIllustration.d.ts +2 -1
- package/lib/illustrations/WarningIllustration.d.ts +4 -0
- package/lib/illustrations/WarningIllustration.js +38 -0
- package/lib/illustrations/WarningIllustration.js.map +1 -0
- package/lib/illustrations/index.d.ts +1 -0
- package/lib/illustrations/index.js +1 -0
- package/lib/illustrations/index.js.map +1 -1
- package/lib/storybook/components/FullscreenPreview.d.ts +2 -2
- package/lib/theme/common.d.ts +3 -2
- package/lib/theme/common.js +46 -1
- package/lib/theme/common.js.map +1 -1
- package/lib/theme/connector/index.js +1 -0
- package/lib/theme/connector/index.js.map +1 -1
- package/lib/theme/onboarder/index.js +1 -0
- package/lib/theme/onboarder/index.js.map +1 -1
- package/lib/theme/pim/index.js +1 -0
- package/lib/theme/pim/index.js.map +1 -1
- package/lib/theme/shared-catalogs/index.js +1 -0
- package/lib/theme/shared-catalogs/index.js.map +1 -1
- package/lib/theme/theme.d.ts +48 -2
- package/lib/theme/theme.js +8 -1
- package/lib/theme/theme.js.map +1 -1
- package/package.json +5 -5
- package/src/__image_snapshots__/all-visual-tsx-visual-tests-renders-components-field-block-correctly-1-snap.png +0 -0
- package/src/__image_snapshots__/all-visual-tsx-visual-tests-renders-components-tags-standard-correctly-1-snap.png +0 -0
- package/src/components/Field/Field.stories.mdx +19 -1
- package/src/components/Field/Field.tsx +5 -1
- package/src/components/Field/Field.unit.tsx +12 -1
- package/src/components/Search/Search.tsx +1 -1
- package/src/components/Tags/Tags.stories.mdx +8 -2
- package/src/components/Tags/Tags.tsx +27 -32
- package/src/components/Tags/Tags.unit.tsx +2 -2
- package/src/guidelines/Colors.stories.mdx +30 -0
- package/src/illustrations/WarningIllustration.tsx +12 -0
- package/src/illustrations/index.ts +1 -0
- package/src/theme/common.ts +57 -2
- package/src/theme/connector/index.ts +2 -1
- package/src/theme/onboarder/index.ts +2 -1
- package/src/theme/pim/index.ts +2 -1
- package/src/theme/shared-catalogs/index.ts +2 -1
- package/src/theme/theme.ts +53 -2
- package/static/illustrations/Warning.svg +203 -0
package/example/package.json
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
"@testing-library/user-event": "^7.1.2",
|
9
9
|
"babel-jest": "^24.9.0",
|
10
10
|
"akeneo-design-system": "file:../lib",
|
11
|
-
"react": "^
|
12
|
-
"react-dom": "^
|
11
|
+
"react": "^17.0.2",
|
12
|
+
"react-dom": "^17.0.2",
|
13
13
|
"react-scripts": "3.4.3",
|
14
14
|
"styled-components": "^5.2.0"
|
15
15
|
},
|
@@ -5,7 +5,7 @@ declare type BreadcrumbProps = {
|
|
5
5
|
children: BreadcrumbChild;
|
6
6
|
};
|
7
7
|
declare const Breadcrumb: {
|
8
|
-
({ children, ...rest }: BreadcrumbProps): JSX.Element;
|
8
|
+
({ children, ...rest }: BreadcrumbProps): React.JSX.Element;
|
9
9
|
Step: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
10
10
|
disabled?: boolean | undefined;
|
11
11
|
decorated?: boolean | undefined;
|
@@ -4,9 +4,9 @@ declare type DropdownProps = Override<HTMLAttributes<HTMLDivElement>, {
|
|
4
4
|
children?: ReactNode;
|
5
5
|
}>;
|
6
6
|
declare const Dropdown: {
|
7
|
-
({ children, ...rest }: DropdownProps): JSX.Element;
|
7
|
+
({ children, ...rest }: DropdownProps): React.JSX.Element;
|
8
8
|
Overlay: {
|
9
|
-
({ verticalPosition, horizontalPosition, dropdownOpenerVisible, fullWidth, parentRef, onClose, children, ...rest }: Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "
|
9
|
+
({ verticalPosition, horizontalPosition, dropdownOpenerVisible, fullWidth, parentRef, onClose, children, ...rest }: Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onClose" | "verticalPosition" | "horizontalPosition" | "dropdownOpenerVisible" | "fullWidth" | "parentRef"> & {
|
10
10
|
verticalPosition?: import("../../hooks/usePosition").VerticalPosition | undefined;
|
11
11
|
horizontalPosition?: import("../../hooks/usePosition").HorizontalPosition | undefined;
|
12
12
|
dropdownOpenerVisible?: boolean | undefined;
|
@@ -50,6 +50,9 @@ var Field = react_1.default.forwardRef(function (_a, forwardedRef) {
|
|
50
50
|
if (react_1.default.isValidElement(child) && child.type === components_1.Helper) {
|
51
51
|
return react_1.default.createElement(HelperContainer, null, react_1.default.cloneElement(child, { inline: true }));
|
52
52
|
}
|
53
|
+
if (react_1.default.isValidElement(child) && child.type === components_1.Block) {
|
54
|
+
return react_1.default.cloneElement(child, { id: inputId, ariaLabelledBy: labelId });
|
55
|
+
}
|
53
56
|
if (react_1.default.isValidElement(child)) {
|
54
57
|
return react_1.default.cloneElement(child, { id: inputId, 'aria-labelledby': labelId });
|
55
58
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0D;AAC1D,wEAAuC;AACvC,+
|
1
|
+
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"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"}
|
@@ -26,9 +26,9 @@ declare type MultiMultiSelectInputProps = Override<Override<React.InputHTMLAttri
|
|
26
26
|
onSearchChange?: (searchValue: string) => void;
|
27
27
|
}>;
|
28
28
|
declare const MultiSelectInput: {
|
29
|
-
({ id, placeholder, invalid, value, invalidValue, emptyResultLabel, children, onChange, removeLabel, onSubmit, openLabel, readOnly, verticalPosition, onNextPage, onSearchChange, "aria-labelledby": ariaLabelledby, ...rest }: MultiMultiSelectInputProps): JSX.Element;
|
29
|
+
({ id, placeholder, invalid, value, invalidValue, emptyResultLabel, children, onChange, removeLabel, onSubmit, openLabel, readOnly, verticalPosition, onNextPage, onSearchChange, "aria-labelledby": ariaLabelledby, ...rest }: MultiMultiSelectInputProps): React.JSX.Element;
|
30
30
|
Option: {
|
31
|
-
({ children, ...rest }: OptionProps): JSX.Element;
|
31
|
+
({ children, ...rest }: OptionProps): React.JSX.Element;
|
32
32
|
displayName: string;
|
33
33
|
};
|
34
34
|
};
|
@@ -28,7 +28,7 @@ declare type SelectInputProps = Override<Override<React.InputHTMLAttributes<HTML
|
|
28
28
|
onSearchChange?: (searchValue: string) => void;
|
29
29
|
}>;
|
30
30
|
declare const SelectInput: {
|
31
|
-
({ id, placeholder, invalid, value, emptyResultLabel, children, onChange, clearable, clearLabel, openLabel, readOnly, verticalPosition, onNextPage, onSearchChange, "aria-labelledby": ariaLabelledby, ...rest }: SelectInputProps): JSX.Element;
|
31
|
+
({ id, placeholder, invalid, value, emptyResultLabel, children, onChange, clearable, clearLabel, openLabel, readOnly, verticalPosition, onNextPage, onSearchChange, "aria-labelledby": ariaLabelledby, ...rest }: SelectInputProps): React.JSX.Element;
|
32
32
|
Option: import("styled-components").StyledComponent<"span", any, {
|
33
33
|
value: string;
|
34
34
|
}, never>;
|
@@ -7,7 +7,7 @@ declare type TableInputProps = Override<React.HTMLAttributes<HTMLTableElement>,
|
|
7
7
|
onReorder?: (updatedIndices: number[]) => void | undefined;
|
8
8
|
}>;
|
9
9
|
declare const TableInput: {
|
10
|
-
({ children, readOnly, isDragAndDroppable, onReorder, ...rest }: TableInputProps): JSX.Element;
|
10
|
+
({ children, readOnly, isDragAndDroppable, onReorder, ...rest }: TableInputProps): React.JSX.Element;
|
11
11
|
Header: React.ForwardRefExoticComponent<{
|
12
12
|
children?: React.ReactNode;
|
13
13
|
} & React.RefAttributes<HTMLTableSectionElement>>;
|
@@ -29,17 +29,17 @@ declare const TableInput: {
|
|
29
29
|
highlighted?: boolean | undefined;
|
30
30
|
inError?: boolean | undefined;
|
31
31
|
children?: React.ReactNode;
|
32
|
-
}): JSX.Element;
|
32
|
+
}): React.JSX.Element;
|
33
33
|
displayName: string;
|
34
34
|
};
|
35
35
|
Text: ({ children, value, ...rest }: Omit<Override<React.InputHTMLAttributes<HTMLInputElement>, import("../common/InputProps").InputProps<string>>, "highlighted" | "inError"> & {
|
36
36
|
highlighted?: boolean | undefined;
|
37
37
|
inError?: boolean | undefined;
|
38
|
-
}) => JSX.Element;
|
38
|
+
}) => React.JSX.Element;
|
39
39
|
Number: ({ children, value, ...rest }: Omit<Override<React.InputHTMLAttributes<HTMLInputElement>, import("../common/InputProps").InputProps<string>>, "highlighted" | "inError"> & {
|
40
40
|
highlighted?: boolean | undefined;
|
41
41
|
inError?: boolean | undefined;
|
42
|
-
}) => JSX.Element;
|
42
|
+
}) => React.JSX.Element;
|
43
43
|
Boolean: React.FC<Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "value" | "clearLabel" | "yesLabel" | "noLabel" | "highlighted" | "inError" | "openDropdownLabel"> & {
|
44
44
|
value: boolean | null;
|
45
45
|
onChange: (value: boolean | null) => void;
|
@@ -7,7 +7,7 @@ declare type TableInputCellContentProps = Override<React.DetailedHTMLProps<React
|
|
7
7
|
children?: ReactNode;
|
8
8
|
}>;
|
9
9
|
declare const TableInputCellContent: {
|
10
|
-
({ children, rowTitle, highlighted, inError, ...rest }: TableInputCellContentProps): JSX.Element;
|
10
|
+
({ children, rowTitle, highlighted, inError, ...rest }: TableInputCellContentProps): React.JSX.Element;
|
11
11
|
displayName: string;
|
12
12
|
};
|
13
13
|
export { TableInputCellContent };
|
@@ -5,5 +5,5 @@ declare type TableInputNumberProps = Override<Override<React.InputHTMLAttributes
|
|
5
5
|
highlighted?: boolean;
|
6
6
|
inError?: boolean;
|
7
7
|
}>;
|
8
|
-
declare const TableInputNumber: ({ children, value, ...rest }: TableInputNumberProps) => JSX.Element;
|
8
|
+
declare const TableInputNumber: ({ children, value, ...rest }: TableInputNumberProps) => React.JSX.Element;
|
9
9
|
export { TableInputNumber };
|
@@ -5,5 +5,5 @@ declare type TableInputTextProps = Override<Override<React.InputHTMLAttributes<H
|
|
5
5
|
highlighted?: boolean;
|
6
6
|
inError?: boolean;
|
7
7
|
}>;
|
8
|
-
declare const TableInputText: ({ children, value, ...rest }: TableInputTextProps) => JSX.Element;
|
8
|
+
declare const TableInputText: ({ children, value, ...rest }: TableInputTextProps) => React.JSX.Element;
|
9
9
|
export { TableInputText };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { EditorProps } from 'react-draft-wysiwyg';
|
2
3
|
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
|
3
4
|
import { Override } from '../../../shared';
|
@@ -6,6 +7,6 @@ declare type RichTextEditorProps = Override<EditorProps, {
|
|
6
7
|
readOnly?: boolean;
|
7
8
|
onChange: (value: string) => void;
|
8
9
|
}>;
|
9
|
-
declare const RichTextEditor: ({ value, readOnly, onChange, ...rest }: RichTextEditorProps) => JSX.Element;
|
10
|
+
declare const RichTextEditor: ({ value, readOnly, onChange, ...rest }: RichTextEditorProps) => React.JSX.Element;
|
10
11
|
export { RichTextEditor };
|
11
12
|
export type { EditorProps };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
1
|
+
import React, { ReactElement, ReactNode } from 'react';
|
2
2
|
import { IconProps } from '../../icons';
|
3
3
|
declare type FigureProps = {
|
4
4
|
label?: string;
|
@@ -10,8 +10,8 @@ declare type KeyFigureProps = {
|
|
10
10
|
children?: ReactNode;
|
11
11
|
};
|
12
12
|
declare const KeyFigure: {
|
13
|
-
({ icon, title, children, ...props }: KeyFigureProps): JSX.Element;
|
14
|
-
Figure: ({ label, children }: FigureProps) => JSX.Element;
|
13
|
+
({ icon, title, children, ...props }: KeyFigureProps): React.JSX.Element;
|
14
|
+
Figure: ({ label, children }: FigureProps) => React.JSX.Element;
|
15
15
|
};
|
16
16
|
declare const KeyFigureGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
17
17
|
export { KeyFigure, KeyFigureGrid };
|
@@ -13,24 +13,24 @@ declare type ListProps = {
|
|
13
13
|
children?: ReactNode;
|
14
14
|
};
|
15
15
|
declare const List: {
|
16
|
-
({ children, ...rest }: ListProps): JSX.Element;
|
16
|
+
({ children, ...rest }: ListProps): React.JSX.Element;
|
17
17
|
Row: {
|
18
|
-
({ children, isMultiline, isSelected, ...rest }: RowProps): JSX.Element;
|
18
|
+
({ children, isMultiline, isSelected, ...rest }: RowProps): React.JSX.Element;
|
19
19
|
displayName: string;
|
20
20
|
};
|
21
21
|
Cell: {
|
22
|
-
({ title, width, children, ...rest }: CellProps): JSX.Element;
|
22
|
+
({ title, width, children, ...rest }: CellProps): React.JSX.Element;
|
23
23
|
displayName: string;
|
24
24
|
};
|
25
25
|
TitleCell: import("styled-components").StyledComponent<"div", any, {
|
26
26
|
width: 'auto' | number;
|
27
27
|
} & Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
28
28
|
ActionCell: {
|
29
|
-
({ children, ...rest }: ActionCellProps): JSX.Element;
|
29
|
+
({ children, ...rest }: ActionCellProps): React.JSX.Element;
|
30
30
|
displayName: string;
|
31
31
|
};
|
32
32
|
RemoveCell: {
|
33
|
-
({ children, ...rest }: RemoveCellProps): JSX.Element;
|
33
|
+
({ children, ...rest }: RemoveCellProps): React.JSX.Element;
|
34
34
|
displayName: string;
|
35
35
|
};
|
36
36
|
RowHelpers: import("styled-components").StyledComponent<"div", any, {}, never>;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ReactNode, ReactElement } from 'react';
|
1
|
+
import React, { ReactNode, ReactElement } from 'react';
|
2
2
|
import { IconProps } from '../../icons';
|
3
3
|
declare type MessageBarLevel = 'info' | 'success' | 'warning' | 'error';
|
4
4
|
declare const AnimateMessageBar: ({ children }: {
|
5
5
|
children: ReactElement<MessageBarProps>;
|
6
|
-
}) => JSX.Element;
|
6
|
+
}) => React.JSX.Element;
|
7
7
|
declare type FlashMessage = {
|
8
8
|
level?: MessageBarLevel;
|
9
9
|
title: string;
|
@@ -14,6 +14,6 @@ declare type MessageBarProps = FlashMessage & {
|
|
14
14
|
dismissTitle: string;
|
15
15
|
onClose: () => void;
|
16
16
|
};
|
17
|
-
declare const MessageBar: ({ level, title, icon, dismissTitle, onClose, children }: MessageBarProps) => JSX.Element;
|
17
|
+
declare const MessageBar: ({ level, title, icon, dismissTitle, onClose, children }: MessageBarProps) => React.JSX.Element;
|
18
18
|
export { MessageBar, AnimateMessageBar };
|
19
19
|
export type { MessageBarLevel, FlashMessage };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ReactNode, HTMLAttributes, ReactElement } from 'react';
|
1
|
+
import React, { ReactNode, HTMLAttributes, ReactElement } from 'react';
|
2
2
|
import { Override } from '../../shared';
|
3
3
|
import { IconButtonProps } from '../IconButton/IconButton';
|
4
4
|
declare type RowProps = Override<HTMLAttributes<HTMLDivElement>, {
|
@@ -18,10 +18,10 @@ declare type PreviewProps = Override<HTMLAttributes<HTMLDivElement>, {
|
|
18
18
|
onCollapse?: undefined;
|
19
19
|
})>;
|
20
20
|
declare const Preview: {
|
21
|
-
({ title, isOpen, collapseButtonLabel, onCollapse, children, ...rest }: PreviewProps): JSX.Element;
|
21
|
+
({ title, isOpen, collapseButtonLabel, onCollapse, children, ...rest }: PreviewProps): React.JSX.Element;
|
22
22
|
Highlight: import("styled-components").StyledComponent<"span", any, Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
23
23
|
Row: {
|
24
|
-
({ action, children }: RowProps): JSX.Element;
|
24
|
+
({ action, children }: RowProps): React.JSX.Element;
|
25
25
|
displayName: string;
|
26
26
|
};
|
27
27
|
};
|
@@ -5,7 +5,7 @@ declare type ProgressIndicatorProps = Override<HTMLAttributes<HTMLUListElement>,
|
|
5
5
|
children?: ReactNode;
|
6
6
|
}>;
|
7
7
|
declare const ProgressIndicator: {
|
8
|
-
({ children, ...rest }: ProgressIndicatorProps): JSX.Element;
|
8
|
+
({ children, ...rest }: ProgressIndicatorProps): React.JSX.Element;
|
9
9
|
Step: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLLIElement>, "disabled" | "children" | "current" | "state" | "index"> & {
|
10
10
|
current?: boolean | undefined;
|
11
11
|
state?: StepState | undefined;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HTMLAttributes, ReactNode, RefObject } from 'react';
|
1
|
+
import React, { HTMLAttributes, ReactNode, RefObject } from 'react';
|
2
2
|
import { Override } from '../../shared';
|
3
3
|
declare type SearchProps = Override<HTMLAttributes<HTMLDivElement>, {
|
4
4
|
children?: ReactNode;
|
@@ -10,7 +10,7 @@ declare type SearchProps = Override<HTMLAttributes<HTMLDivElement>, {
|
|
10
10
|
onSearchChange: (searchValue: string) => void;
|
11
11
|
}>;
|
12
12
|
declare const Search: {
|
13
|
-
({ children, placeholder, title, searchValue, inputRef, onSearchChange, ...rest }: SearchProps): JSX.Element;
|
13
|
+
({ children, placeholder, title, searchValue, inputRef, onSearchChange, ...rest }: SearchProps): React.JSX.Element;
|
14
14
|
ResultCount: import("styled-components").StyledComponent<"span", any, Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
15
15
|
Separator: import("styled-components").StyledComponent<"div", any, Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
16
16
|
};
|
@@ -53,7 +53,7 @@ var react_1 = __importDefault(require("react"));
|
|
53
53
|
var styled_components_1 = __importStar(require("styled-components"));
|
54
54
|
var theme_1 = require("../../theme");
|
55
55
|
var icons_1 = require("../../icons");
|
56
|
-
var Container = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid ", ";\n background: ", ";\n height: 44px;\n box-sizing: border-box;\n gap: 10px;\n\n
|
56
|
+
var Container = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid ", ";\n background: ", ";\n height: 44px;\n box-sizing: border-box;\n gap: 10px;\n\n &:focus-within {\n border-bottom: 1px solid ", ";\n }\n\n ", "\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid ", ";\n background: ", ";\n height: 44px;\n box-sizing: border-box;\n gap: 10px;\n\n &:focus-within {\n border-bottom: 1px solid ", ";\n }\n\n ", "\n"])), (0, theme_1.getColor)('grey', 100), (0, theme_1.getColor)('white'), (0, theme_1.getColor)('brand', 100), function (_a) {
|
57
57
|
var sticky = _a.sticky;
|
58
58
|
return undefined !== sticky && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: sticky;\n top: ", "px;\n z-index: 9;\n "], ["\n position: sticky;\n top: ", "px;\n z-index: 9;\n "])), sticky);
|
59
59
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA+E;AAC/E,qEAA8C;AAC9C,qCAAwD;AACxD,qCAAuC;AAGvC,IAAM,SAAS,GAAG,2BAAM,CAAC,GAAG,
|
1
|
+
{"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA+E;AAC/E,qEAA8C;AAC9C,qCAAwD;AACxD,qCAAuC;AAGvC,IAAM,SAAS,GAAG,2BAAM,CAAC,GAAG,8UAAuC,4GAItC,EAAqB,mBAClC,EAAiB,kHAMF,EAAsB,cAGjD,EAMC,IACJ,KAjB4B,IAAA,gBAAQ,EAAC,MAAM,EAAE,GAAG,CAAC,EAClC,IAAA,gBAAQ,EAAC,OAAO,CAAC,EAMF,IAAA,gBAAQ,EAAC,OAAO,EAAE,GAAG,CAAC,EAGjD,UAAC,EAAQ;QAAP,MAAM,YAAA;IACR,OAAA,SAAS,KAAK,MAAM,QACpB,uBAAG,4IAAA,wCAEM,EAAM,8BAEd,KAFQ,MAAM,CAEd;AALD,CAKC,CACJ,CAAC;AAEF,IAAM,eAAe,GAAG,2BAAM,CAAC,GAAG,6HAAA,0DAIjC,IAAA,CAAC;AAEF,IAAM,WAAW,GAAG,2BAAM,CAAC,KAAK,uMAAA,+DAIrB,EAAqB,uDAInB,EAAqB,UAEjC,KANU,IAAA,gBAAQ,EAAC,MAAM,EAAE,GAAG,CAAC,EAInB,IAAA,gBAAQ,EAAC,MAAM,EAAE,GAAG,CAAC,CAEjC,CAAC;AAEF,IAAM,SAAS,GAAG,2BAAM,CAAC,GAAG,uLAAA,6CAEP,EAAqB,qEAIzC,KAJoB,IAAA,gBAAQ,EAAC,MAAM,EAAE,GAAG,CAAC,CAIzC,CAAC;AAEF,IAAM,WAAW,GAAG,2BAAM,CAAC,IAAI,oLAAA,qCAEpB,EAAsB,0EAIhC,KAJU,IAAA,gBAAQ,EAAC,OAAO,EAAE,GAAG,CAAC,CAIhC,CAAC;AA0CF,IAAM,MAAM,GAAG,UAAC,EAA2F;IAA1F,IAAA,QAAQ,cAAA,EAAE,WAAW,iBAAA,EAAE,KAAK,WAAA,EAAE,WAAW,iBAAA,EAAE,QAAQ,cAAA,EAAE,cAAc,oBAAA,EAAK,IAAI,cAA7E,iFAA8E,CAAD;IAC3F,OAAO,CACL,8BAAC,SAAS,eAAK,IAAI;QACjB,8BAAC,eAAe;YACd,8BAAC,kBAAU,IAAC,IAAI,EAAE,EAAE,GAAI;YACxB,8BAAC,WAAW,IACV,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,UAAC,KAAoC,IAAK,OAAA,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAlC,CAAkC,GACtF,CACc;QACjB,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC;AAKM,wBAAM;AAHd,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;AACjC,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
2
2
|
import { Override } from '../../shared';
|
3
3
|
declare type TitleProps = Override<HTMLAttributes<HTMLHeadingElement>, {
|
4
4
|
level?: 'primary' | 'secondary';
|
@@ -8,8 +8,8 @@ declare type SectionTitleProps = Override<HTMLAttributes<HTMLDivElement>, {
|
|
8
8
|
children?: ReactNode;
|
9
9
|
}>;
|
10
10
|
declare const SectionTitle: {
|
11
|
-
({ children, ...rest }: SectionTitleProps): JSX.Element;
|
12
|
-
Title: ({ level, ...rest }: TitleProps) => JSX.Element;
|
11
|
+
({ children, ...rest }: SectionTitleProps): React.JSX.Element;
|
12
|
+
Title: ({ level, ...rest }: TitleProps) => React.JSX.Element;
|
13
13
|
Spacer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
14
14
|
Separator: import("styled-components").StyledComponent<"div", any, Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
15
15
|
Information: import("styled-components").StyledComponent<"div", any, Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
@@ -13,7 +13,7 @@ declare type TabBarProps = {
|
|
13
13
|
children?: ReactNode;
|
14
14
|
} & HTMLAttributes<HTMLDivElement>;
|
15
15
|
declare const TabBar: {
|
16
|
-
({ moreButtonTitle, children, ...rest }: TabBarProps): JSX.Element;
|
17
|
-
Tab: ({ children, onClick, isActive, parentRef, onVisibilityChange, ...rest }: TabProps) => JSX.Element;
|
16
|
+
({ moreButtonTitle, children, ...rest }: TabBarProps): React.JSX.Element;
|
17
|
+
Tab: ({ children, onClick, isActive, parentRef, onVisibilityChange, ...rest }: TabProps) => React.JSX.Element;
|
18
18
|
};
|
19
19
|
export { TabBar };
|
@@ -13,7 +13,7 @@ declare type TableProps = Override<React.HTMLAttributes<HTMLTableElement>, {
|
|
13
13
|
onReorder: (updatedIndices: number[]) => void;
|
14
14
|
})>;
|
15
15
|
declare const Table: {
|
16
|
-
({ isSelectable, hasWarningRows, displayCheckbox, isDragAndDroppable, onReorder, children, ...rest }: TableProps): JSX.Element;
|
16
|
+
({ isSelectable, hasWarningRows, displayCheckbox, isDragAndDroppable, onReorder, children, ...rest }: TableProps): React.JSX.Element;
|
17
17
|
Header: React.ForwardRefExoticComponent<import("./TableHeader/TableHeader").TableHeaderProps & React.RefAttributes<HTMLTableSectionElement>>;
|
18
18
|
HeaderCell: React.ForwardRefExoticComponent<{
|
19
19
|
isSortable?: boolean | undefined;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
declare type Tint = 'green' | 'blue' | 'dark_blue' | 'purple' | 'dark_purple' | 'yellow' | 'red';
|
2
|
+
declare type Tint = 'green' | 'blue' | 'dark_blue' | 'purple' | 'dark_purple' | 'yellow' | 'red' | 'dark_cyan' | 'forest_green' | 'olive_green' | 'hot_pink' | 'coral_red' | 'orange' | 'chocolate';
|
3
3
|
declare const Tag: import("styled-components").StyledComponent<"li", any, {
|
4
4
|
tint: Tint;
|
5
5
|
} & React.HTMLAttributes<HTMLLIElement> & Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
@@ -52,39 +52,20 @@ exports.Tag = exports.Tags = void 0;
|
|
52
52
|
var react_1 = __importStar(require("react"));
|
53
53
|
var styled_components_1 = __importDefault(require("styled-components"));
|
54
54
|
var theme_1 = require("../../theme");
|
55
|
+
var convertTintToColorCode = function (str) {
|
56
|
+
return str.replace(/_([a-z])/g, function (g) {
|
57
|
+
return g[1].toUpperCase();
|
58
|
+
});
|
59
|
+
};
|
55
60
|
var Tag = styled_components_1.default.li(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: 1px solid;\n border-color: ", ";\n color: ", ";\n background-color: ", ";\n height: 16px;\n line-height: 16px;\n padding: 0 6px;\n display: inline-block;\n border-radius: 2px;\n font-size: ", ";\n text-transform: uppercase;\n overflow: hidden;\n max-width: 200px;\n white-space: nowrap;\n text-overflow: ellipsis;\n"], ["\n border: 1px solid;\n border-color: ", ";\n color: ", ";\n background-color: ", ";\n height: 16px;\n line-height: 16px;\n padding: 0 6px;\n display: inline-block;\n border-radius: 2px;\n font-size: ", ";\n text-transform: uppercase;\n overflow: hidden;\n max-width: 200px;\n white-space: nowrap;\n text-overflow: ellipsis;\n"])), function (_a) {
|
56
61
|
var tint = _a.tint;
|
57
|
-
return (
|
58
|
-
green: '#81cccc',
|
59
|
-
blue: '#4ca8e0',
|
60
|
-
dark_blue: '#5e63b6',
|
61
|
-
purple: '#9452ba',
|
62
|
-
dark_purple: '#52267d',
|
63
|
-
yellow: '#fcce76',
|
64
|
-
red: '#f74b64',
|
65
|
-
}[tint]);
|
62
|
+
return (0, theme_1.getColorAlternative)(convertTintToColorCode(tint), 100);
|
66
63
|
}, function (_a) {
|
67
64
|
var tint = _a.tint;
|
68
|
-
return (
|
69
|
-
green: '#5da8a6',
|
70
|
-
blue: '#3278b7',
|
71
|
-
dark_blue: '#3b438c',
|
72
|
-
purple: '#763e9e',
|
73
|
-
dark_purple: '#36145e',
|
74
|
-
yellow: '#ca8411',
|
75
|
-
red: '#c92343',
|
76
|
-
}[tint]);
|
65
|
+
return (0, theme_1.getColorAlternative)(convertTintToColorCode(tint), 120);
|
77
66
|
}, function (_a) {
|
78
67
|
var tint = _a.tint;
|
79
|
-
return (
|
80
|
-
green: '#f5fafa',
|
81
|
-
blue: '#f0f7fc',
|
82
|
-
dark_blue: '#efeff8',
|
83
|
-
purple: '#f3eef9',
|
84
|
-
dark_purple: '#eeeaf2',
|
85
|
-
yellow: '#fefbf2',
|
86
|
-
red: '#fdedf0',
|
87
|
-
}[tint]);
|
68
|
+
return (0, theme_1.getColorAlternative)(convertTintToColorCode(tint), 10);
|
88
69
|
}, (0, theme_1.getFontSize)('small'));
|
89
70
|
exports.Tag = Tag;
|
90
71
|
var TagsContainer = styled_components_1.default.ul(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n padding-inline-start: 0;\n margin-block-end: 0;\n margin-block-start: 0;\n list-style-type: none;\n gap: 10px;\n"], ["\n display: flex;\n flex-wrap: wrap;\n padding-inline-start: 0;\n margin-block-end: 0;\n margin-block-start: 0;\n list-style-type: none;\n gap: 10px;\n"])));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/components/Tags/Tags.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA4D;AAC5D,wEAAuC;AACvC,
|
1
|
+
{"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/components/Tags/Tags.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA4D;AAC5D,wEAAuC;AACvC,qCAAgF;AAyBhF,IAAM,sBAAsB,GAAG,UAAC,GAAW;IACzC,OAAO,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAKF,IAAM,GAAG,GAAG,2BAAM,CAAC,EAAE,0ZAA8B,0CAEjC,EAAkE,cACzE,EAAkE,yBACvD,EAAiE,6HAMxE,EAAoB,iIAMlC,KAdiB,UAAC,EAAM;QAAL,IAAI,UAAA;IAAM,OAAA,IAAA,2BAAmB,EAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC;AAAtD,CAAsD,EACzE,UAAC,EAAM;QAAL,IAAI,UAAA;IAAM,OAAA,IAAA,2BAAmB,EAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC;AAAtD,CAAsD,EACvD,UAAC,EAAM;QAAL,IAAI,UAAA;IAAM,OAAA,IAAA,2BAAmB,EAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;AAArD,CAAqD,EAMxE,IAAA,mBAAW,EAAC,OAAO,CAAC,CAMlC,CAAC;AAmDY,kBAAG;AAlDjB,IAAM,aAAa,GAAG,2BAAM,CAAC,EAAE,mOAAA,gKAQ9B,IAAA,CAAC;AAYF,IAAM,IAAI,GAAG,eAAK,CAAC,UAAU,CAC3B,UAAC,EAA8B,EAAE,YAAmC;IAAlE,IAAA,QAAQ,cAAA,EAAK,IAAI,cAAlB,YAAmB,CAAD;IACjB,IAAM,QAAQ,GAAG,UAAC,QAAoB;QACpC,IAAI,KAAK,GAAG,EAAE,CAAC;QAEf,eAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAA,KAAK;YAChC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;gBAC7B,KAAK,IAAI,KAAK,CAAC;aAChB;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAEF,OAAO,CACL,8BAAC,aAAa,aAAC,GAAG,EAAE,YAAY,IAAM,IAAI,GACvC,eAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAA,KAAK;;QACjC,IAAI,IAAA,sBAAc,EAAW,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,GAAG,EAAE;YAEzD,OAAO,eAAK,CAAC,YAAY,CAAC,KAAK,EAAE;gBAC/B,KAAK,EAAE,CAAA,MAAA,KAAK,CAAC,KAAK,0CAAE,KAAK,KAAI,QAAQ,CAAC,MAAA,KAAK,CAAC,KAAK,0CAAE,QAAQ,CAAC;aAC7D,CAAC,CAAC;SACJ;QACD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC,CAAC,CACY,CACjB,CAAC;AACJ,CAAC,CACF,CAAC;AAEM,oBAAI"}
|
@@ -5,7 +5,7 @@ declare type ToolbarProps = Override<React.HTMLAttributes<HTMLDivElement>, {
|
|
5
5
|
children?: ReactNode;
|
6
6
|
}>;
|
7
7
|
declare const Toolbar: {
|
8
|
-
({ isVisible, children, ...rest }: ToolbarProps): JSX.Element;
|
8
|
+
({ isVisible, children, ...rest }: ToolbarProps): React.JSX.Element;
|
9
9
|
LabelContainer: import("styled-components").StyledComponent<"div", any, Record<string, unknown> & import("styled-components").ThemeProps<import("../../theme/theme").Theme>, never>;
|
10
10
|
SelectionContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
11
11
|
ActionsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
@@ -15,7 +15,7 @@ declare type TreeProps<T = string> = {
|
|
15
15
|
children?: ReactNode;
|
16
16
|
};
|
17
17
|
declare const Tree: {
|
18
|
-
<T>({ label, value, children, isLeaf, selected, isLoading, selectable, readOnly, onChange, onOpen, onClose, onClick, _isRoot, ...rest }: React.PropsWithChildren<TreeProps<T>>): JSX.Element;
|
18
|
+
<T>({ label, value, children, isLeaf, selected, isLoading, selectable, readOnly, onChange, onOpen, onClose, onClick, _isRoot, ...rest }: React.PropsWithChildren<TreeProps<T>>): React.JSX.Element;
|
19
19
|
displayName: string;
|
20
20
|
};
|
21
21
|
export { Tree };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const ActivityIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const ActivityIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { ActivityIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AddAttributeIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AddAttributeIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AddAttributeIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AkeneoIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AkeneoIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AkeneoIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const ArrowDownIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const ArrowDownIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { ArrowDownIcon };
|
package/lib/icons/ArrowIcon.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const ArrowIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const ArrowIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { ArrowIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const ArrowLeftIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const ArrowLeftIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { ArrowLeftIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const ArrowRightIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const ArrowRightIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { ArrowRightIcon };
|
@@ -1,2 +1,3 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
export declare const ArrowSimpleUpIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
export declare const ArrowSimpleUpIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const ArrowUpIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const ArrowUpIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { ArrowUpIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AssetCollectionIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AssetCollectionIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AssetCollectionIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AssetsIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AssetsIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AssetsIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AssociateIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AssociateIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AssociateIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeBooleanIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeBooleanIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeBooleanIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeFileIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeFileIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeFileIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeLinkIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeLinkIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeLinkIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeMultiSelectIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeMultiSelectIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeMultiSelectIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeNumberIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeNumberIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeNumberIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributePriceIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributePriceIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributePriceIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeSelectIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeSelectIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeSelectIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeTextIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeTextIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeTextIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const AttributeTextareaIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const AttributeTextareaIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { AttributeTextareaIcon };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const BarChartsIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const BarChartsIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { BarChartsIcon };
|
package/lib/icons/BookIcon.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { IconProps } from './IconProps';
|
2
|
-
declare const BookIcon: ({ title, size, color, ...props }: IconProps) => JSX.Element;
|
3
|
+
declare const BookIcon: ({ title, size, color, ...props }: IconProps) => React.JSX.Element;
|
3
4
|
export { BookIcon };
|
package/lib/icons/BoxIcon.d.ts
CHANGED