@synerise/ds-icon 1.14.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.15.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon@1.14.1...@synerise/ds-icon@1.15.0) (2026-03-20)
7
+
8
+ ### Features
9
+
10
+ - **icon:** add ai icon ([18fb755](https://github.com/Synerise/synerise-design/commit/18fb755bbda81baf438abfac141c3c9f5512c29e))
11
+
12
+ ## [1.14.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon@1.14.0...@synerise/ds-icon@1.14.1) (2026-02-19)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **icon:** iconName type changed to literal string union ([0d73571](https://github.com/Synerise/synerise-design/commit/0d735719bf44bed1c0ed6844a2d3eb069a40aab5))
17
+
6
18
  # [1.14.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon@1.13.1...@synerise/ds-icon@1.14.0) (2026-02-12)
7
19
 
8
20
  ### Features
package/README.md CHANGED
@@ -36,13 +36,14 @@ import Icon, { AngleLeftM } from '@synerise/ds-icon'
36
36
 
37
37
  ## API
38
38
 
39
- | Property | Description | Type | Default |
40
- | --------- | ---------------------------------------------------------- | ---------------- | ------- |
41
- | iconName | Icon name as string (recommended) | IconName | |
42
- | color | Define the color used | string | inherit |
43
- | title | Name icon | string | |
44
- | size | Define size icon | string or number | 24 |
45
- | onClick | The callback function that is triggered when click on icon | function | |
46
- | component | ⚠️ Deprecated - use `iconName` instead | ReactNode | |
47
- | className | icon className | string | |
48
- | style | Style properties of icon, like color etc. | CSSProperties | |
39
+ | Property | Description | Type | Default |
40
+ | --------- | ---------------------------------------------------------------------------------------- | ---------------- | ------- |
41
+ | iconName | Icon name as string (recommended). Takes precedence over `component` | IconName | |
42
+ | color | Sets CSS `color` on SVG. Inherits parent colour if omitted (L/XL icons default to grey-800) | string | inherit |
43
+ | name | Sets the `title` HTML attribute on the container div (tooltip on hover) | string | |
44
+ | size | Width and height of container and SVG in px | string or number | 24 |
45
+ | stroke | Also applies `color` value to CSS `stroke` property | boolean | |
46
+ | onClick | Callback triggered when clicking the icon. Adds `cursor: pointer` CSS | function | |
47
+ | component | ⚠️ Deprecated - use `iconName` instead | ReactNode | |
48
+ | className | icon className (appended to `'ds-icon'`) | string | |
49
+ | style | Style properties of icon, like color etc. | CSSProperties | |
@@ -1,5 +1,16 @@
1
1
  import { type ComponentType, type SVGProps } from 'react';
2
+ import * as large from '../icons/L';
3
+ import * as medium from '../icons/M';
4
+ import * as xlarge from '../icons/XL';
5
+ import * as additional from '../icons/additional';
6
+ import * as color from '../icons/colorIcons';
2
7
  type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
3
8
  type IconModule = Record<string, IconComponent>;
9
+ type MediumIconNames = keyof typeof medium;
10
+ type LargeIconNames = keyof typeof large;
11
+ type XLargeIconNames = keyof typeof xlarge;
12
+ type AdditionalIconNames = keyof typeof additional;
13
+ type ColorIconNames = keyof typeof color;
14
+ export type AllIconNames = MediumIconNames | LargeIconNames | XLargeIconNames | AdditionalIconNames | ColorIconNames;
4
15
  export declare const iconManifest: Record<string, IconModule>;
5
16
  export {};
@@ -3,6 +3,11 @@ import * as medium from '../icons/M';
3
3
  import * as xlarge from '../icons/XL';
4
4
  import * as additional from '../icons/additional';
5
5
  import * as color from '../icons/colorIcons';
6
+
7
+ // Extract icon names from all modules as literal types
8
+
9
+ // Combine all icon names into a single union type
10
+
6
11
  var iconSources = [{
7
12
  module: medium
8
13
  }, {
@@ -1,70 +1,70 @@
1
+ export { default as VideoL } from './VideoL';
1
2
  export { default as WarningL } from './WarningL';
2
3
  export { default as TooltipL } from './TooltipL';
3
4
  export { default as TextareaL } from './TextareaL';
4
5
  export { default as TextL } from './TextL';
6
+ export { default as SpinnerL } from './SpinnerL';
5
7
  export { default as TableL } from './TableL';
6
- export { default as TimeL } from './TimeL';
7
- export { default as StackedL } from './StackedL';
8
- export { default as ShowL } from './ShowL';
9
8
  export { default as SliderL } from './SliderL';
9
+ export { default as StackedL } from './StackedL';
10
+ export { default as TimeL } from './TimeL';
10
11
  export { default as SectionL } from './SectionL';
11
12
  export { default as SelectL } from './SelectL';
12
13
  export { default as Section37L } from './Section37L';
13
- export { default as SearchNoResultsL } from './SearchNoResultsL';
14
14
  export { default as Section13L } from './Section13L';
15
15
  export { default as Section12L } from './Section12L';
16
- export { default as RelationOneManyL } from './RelationOneManyL';
17
- export { default as VideoL } from './VideoL';
18
- export { default as SpinnerL } from './SpinnerL';
16
+ export { default as SearchNoResultsL } from './SearchNoResultsL';
19
17
  export { default as RelationOneOneL } from './RelationOneOneL';
20
- export { default as RelationManyOneL } from './RelationManyOneL';
21
18
  export { default as RelationManyManyL } from './RelationManyManyL';
22
- export { default as RadioL } from './RadioL';
23
- export { default as PieL } from './PieL';
24
19
  export { default as QuoteL } from './QuoteL';
20
+ export { default as RelationManyOneL } from './RelationManyOneL';
21
+ export { default as PieL } from './PieL';
25
22
  export { default as NavbarL } from './NavbarL';
26
- export { default as MobileUrlL } from './MobileUrlL';
27
- export { default as MobileLinkL } from './MobileLinkL';
28
- export { default as MobileLayout4L } from './MobileLayout4L';
23
+ export { default as NoPermissionL } from './NoPermissionL';
29
24
  export { default as NoData } from './NoData';
25
+ export { default as RadioL } from './RadioL';
26
+ export { default as RelationOneManyL } from './RelationOneManyL';
27
+ export { default as MultilineL } from './MultilineL';
30
28
  export { default as MobileLayout3L } from './MobileLayout3L';
31
- export { default as NoPermissionL } from './NoPermissionL';
32
- export { default as MobileLayout2L } from './MobileLayout2L';
29
+ export { default as MobileLayout4L } from './MobileLayout4L';
30
+ export { default as MobileLinkL } from './MobileLinkL';
31
+ export { default as MobileUrlL } from './MobileUrlL';
33
32
  export { default as MobileLayout1L } from './MobileLayout1L';
34
33
  export { default as MobileClickL } from './MobileClickL';
35
- export { default as LocationL } from './LocationL';
34
+ export { default as LinkL } from './LinkL';
35
+ export { default as MobileLayout2L } from './MobileLayout2L';
36
36
  export { default as MobileBlockL } from './MobileBlockL';
37
+ export { default as LocationL } from './LocationL';
37
38
  export { default as LineL } from './LineL';
38
- export { default as MultilineL } from './MultilineL';
39
- export { default as LinkL } from './LinkL';
40
39
  export { default as LandingPageL } from './LandingPageL';
41
- export { default as InformationNoSearchResultL } from './InformationNoSearchResultL';
42
- export { default as LabelL } from './LabelL';
43
40
  export { default as InputL } from './InputL';
44
41
  export { default as InfoL } from './InfoL';
45
- export { default as InboxNoResultsL } from './InboxNoResultsL';
42
+ export { default as LabelL } from './LabelL';
43
+ export { default as InformationNoSearchResultL } from './InformationNoSearchResultL';
46
44
  export { default as ImageUrlL } from './ImageUrlL';
47
- export { default as ImageL } from './ImageL';
48
45
  export { default as ImagePotraitL } from './ImagePotraitL';
49
46
  export { default as ImageLandscapeL } from './ImageLandscapeL';
47
+ export { default as InboxNoResultsL } from './InboxNoResultsL';
50
48
  export { default as HideL } from './HideL';
49
+ export { default as ImageL } from './ImageL';
51
50
  export { default as HashL } from './HashL';
51
+ export { default as FormGroupL } from './FormGroupL';
52
52
  export { default as FormL } from './FormL';
53
+ export { default as FolderPredefinedL } from './FolderPredefinedL';
53
54
  export { default as FolderPlainL } from './FolderPlainL';
54
- export { default as FormGroupL } from './FormGroupL';
55
55
  export { default as FormEditL } from './FormEditL';
56
- export { default as FolderPredefinedL } from './FolderPredefinedL';
57
- export { default as FolderL } from './FolderL';
58
56
  export { default as FolderFavouriteFlatL } from './FolderFavouriteFlatL';
59
- export { default as FileTypePictureL } from './FileTypePictureL';
60
- export { default as ComboL } from './ComboL';
61
57
  export { default as DividerL } from './DividerL';
62
- export { default as CountdownL } from './CountdownL';
58
+ export { default as FileTypePictureL } from './FileTypePictureL';
59
+ export { default as FolderL } from './FolderL';
63
60
  export { default as CloseL } from './CloseL';
64
- export { default as CheckboxL } from './CheckboxL';
61
+ export { default as CountdownL } from './CountdownL';
62
+ export { default as ComboL } from './ComboL';
65
63
  export { default as ColumnL } from './ColumnL';
66
64
  export { default as CheckL } from './CheckL';
67
- export { default as ButtonL } from './ButtonL';
68
- export { default as ButtonSubmitL } from './ButtonSubmitL';
65
+ export { default as CheckboxL } from './CheckboxL';
69
66
  export { default as BrowserL } from './BrowserL';
67
+ export { default as ButtonL } from './ButtonL';
70
68
  export { default as AddL } from './AddL';
69
+ export { default as ButtonSubmitL } from './ButtonSubmitL';
70
+ export { default as ShowL } from './ShowL';
@@ -1,70 +1,70 @@
1
+ export { default as VideoL } from './VideoL';
1
2
  export { default as WarningL } from './WarningL';
2
3
  export { default as TooltipL } from './TooltipL';
3
4
  export { default as TextareaL } from './TextareaL';
4
5
  export { default as TextL } from './TextL';
6
+ export { default as SpinnerL } from './SpinnerL';
5
7
  export { default as TableL } from './TableL';
6
- export { default as TimeL } from './TimeL';
7
- export { default as StackedL } from './StackedL';
8
- export { default as ShowL } from './ShowL';
9
8
  export { default as SliderL } from './SliderL';
9
+ export { default as StackedL } from './StackedL';
10
+ export { default as TimeL } from './TimeL';
10
11
  export { default as SectionL } from './SectionL';
11
12
  export { default as SelectL } from './SelectL';
12
13
  export { default as Section37L } from './Section37L';
13
- export { default as SearchNoResultsL } from './SearchNoResultsL';
14
14
  export { default as Section13L } from './Section13L';
15
15
  export { default as Section12L } from './Section12L';
16
- export { default as RelationOneManyL } from './RelationOneManyL';
17
- export { default as VideoL } from './VideoL';
18
- export { default as SpinnerL } from './SpinnerL';
16
+ export { default as SearchNoResultsL } from './SearchNoResultsL';
19
17
  export { default as RelationOneOneL } from './RelationOneOneL';
20
- export { default as RelationManyOneL } from './RelationManyOneL';
21
18
  export { default as RelationManyManyL } from './RelationManyManyL';
22
- export { default as RadioL } from './RadioL';
23
- export { default as PieL } from './PieL';
24
19
  export { default as QuoteL } from './QuoteL';
20
+ export { default as RelationManyOneL } from './RelationManyOneL';
21
+ export { default as PieL } from './PieL';
25
22
  export { default as NavbarL } from './NavbarL';
26
- export { default as MobileUrlL } from './MobileUrlL';
27
- export { default as MobileLinkL } from './MobileLinkL';
28
- export { default as MobileLayout4L } from './MobileLayout4L';
23
+ export { default as NoPermissionL } from './NoPermissionL';
29
24
  export { default as NoData } from './NoData';
25
+ export { default as RadioL } from './RadioL';
26
+ export { default as RelationOneManyL } from './RelationOneManyL';
27
+ export { default as MultilineL } from './MultilineL';
30
28
  export { default as MobileLayout3L } from './MobileLayout3L';
31
- export { default as NoPermissionL } from './NoPermissionL';
32
- export { default as MobileLayout2L } from './MobileLayout2L';
29
+ export { default as MobileLayout4L } from './MobileLayout4L';
30
+ export { default as MobileLinkL } from './MobileLinkL';
31
+ export { default as MobileUrlL } from './MobileUrlL';
33
32
  export { default as MobileLayout1L } from './MobileLayout1L';
34
33
  export { default as MobileClickL } from './MobileClickL';
35
- export { default as LocationL } from './LocationL';
34
+ export { default as LinkL } from './LinkL';
35
+ export { default as MobileLayout2L } from './MobileLayout2L';
36
36
  export { default as MobileBlockL } from './MobileBlockL';
37
+ export { default as LocationL } from './LocationL';
37
38
  export { default as LineL } from './LineL';
38
- export { default as MultilineL } from './MultilineL';
39
- export { default as LinkL } from './LinkL';
40
39
  export { default as LandingPageL } from './LandingPageL';
41
- export { default as InformationNoSearchResultL } from './InformationNoSearchResultL';
42
- export { default as LabelL } from './LabelL';
43
40
  export { default as InputL } from './InputL';
44
41
  export { default as InfoL } from './InfoL';
45
- export { default as InboxNoResultsL } from './InboxNoResultsL';
42
+ export { default as LabelL } from './LabelL';
43
+ export { default as InformationNoSearchResultL } from './InformationNoSearchResultL';
46
44
  export { default as ImageUrlL } from './ImageUrlL';
47
- export { default as ImageL } from './ImageL';
48
45
  export { default as ImagePotraitL } from './ImagePotraitL';
49
46
  export { default as ImageLandscapeL } from './ImageLandscapeL';
47
+ export { default as InboxNoResultsL } from './InboxNoResultsL';
50
48
  export { default as HideL } from './HideL';
49
+ export { default as ImageL } from './ImageL';
51
50
  export { default as HashL } from './HashL';
51
+ export { default as FormGroupL } from './FormGroupL';
52
52
  export { default as FormL } from './FormL';
53
+ export { default as FolderPredefinedL } from './FolderPredefinedL';
53
54
  export { default as FolderPlainL } from './FolderPlainL';
54
- export { default as FormGroupL } from './FormGroupL';
55
55
  export { default as FormEditL } from './FormEditL';
56
- export { default as FolderPredefinedL } from './FolderPredefinedL';
57
- export { default as FolderL } from './FolderL';
58
56
  export { default as FolderFavouriteFlatL } from './FolderFavouriteFlatL';
59
- export { default as FileTypePictureL } from './FileTypePictureL';
60
- export { default as ComboL } from './ComboL';
61
57
  export { default as DividerL } from './DividerL';
62
- export { default as CountdownL } from './CountdownL';
58
+ export { default as FileTypePictureL } from './FileTypePictureL';
59
+ export { default as FolderL } from './FolderL';
63
60
  export { default as CloseL } from './CloseL';
64
- export { default as CheckboxL } from './CheckboxL';
61
+ export { default as CountdownL } from './CountdownL';
62
+ export { default as ComboL } from './ComboL';
65
63
  export { default as ColumnL } from './ColumnL';
66
64
  export { default as CheckL } from './CheckL';
65
+ export { default as CheckboxL } from './CheckboxL';
66
+ export { default as BrowserL } from './BrowserL';
67
67
  export { default as ButtonL } from './ButtonL';
68
+ export { default as AddL } from './AddL';
68
69
  export { default as ButtonSubmitL } from './ButtonSubmitL';
69
- export { default as BrowserL } from './BrowserL';
70
- export { default as AddL } from './AddL';
70
+ export { default as ShowL } from './ShowL';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const AiStarM: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default AiStarM;
@@ -0,0 +1,19 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import React from 'react';
3
+ var AiStarM = function AiStarM(props) {
4
+ return /*#__PURE__*/React.createElement("svg", _extends({
5
+ viewBox: "0 0 24 24",
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ "data-testid": "ds-icon-ai-star-m",
9
+ className: "ai-star-m ds-icon-set-medium"
10
+ }, props), /*#__PURE__*/React.createElement("path", {
11
+ d: "M12 4C12 8.41828 15.5817 12 20 12C15.5817 12 12 15.5817 12 20C12 15.5817 8.41828 12 4 12C8.41828 12 12 8.41828 12 4Z",
12
+ fill: "currentColor",
13
+ stroke: "currentColor",
14
+ strokeWidth: 1.5,
15
+ strokeLinecap: "round",
16
+ strokeLinejoin: "round"
17
+ }));
18
+ };
19
+ export default AiStarM;