@synerise/ds-section-message 1.0.6 → 1.0.7

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,14 @@
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.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.6...@synerise/ds-section-message@1.0.7) (2025-09-16)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-section-message
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.5...@synerise/ds-section-message@1.0.6) (2025-09-05)
7
15
 
8
16
 
@@ -2,4 +2,4 @@ import React, { type ReactNode } from 'react';
2
2
  import { type SectionType } from './SectionMessage.types';
3
3
  export declare const ICONS: Record<SectionType, ReactNode>;
4
4
  export declare const DEFAULT_ICON: React.JSX.Element;
5
- export declare const SECTION_TYPES: readonly ["positive", "notice", "negative", "neutral", "supply", "service", "entity"];
5
+ export declare const SECTION_TYPES: SectionType[];
@@ -1,10 +1,9 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
2
  import type { WithHTMLAttributes } from '@synerise/ds-utils';
3
- import { type SECTION_TYPES } from './SectionMessage.const';
4
3
  export type CustomColorType = 'blue' | 'grey' | 'red' | 'green' | 'yellow' | 'pink' | 'mars' | 'orange' | 'fern' | 'cyan' | 'purple' | 'violet';
5
4
  /** @deprecated */
6
5
  export type ColorType = 'grey' | 'red' | 'green' | 'yellow' | 'violet' | 'purple' | 'cyan';
7
- export type SectionType = (typeof SECTION_TYPES)[number];
6
+ export type SectionType = 'positive' | 'notice' | 'negative' | 'neutral' | 'supply' | 'service' | 'entity';
8
7
  export type SectionMessageProps = WithHTMLAttributes<HTMLDivElement, {
9
8
  message?: ReactNode;
10
9
  type: SectionType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-section-message",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "SectionMessage UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -26,6 +26,7 @@
26
26
  "pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
27
27
  "test": "jest",
28
28
  "test:watch": "npm run test -- --watchAll",
29
+ "check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
29
30
  "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
30
31
  },
31
32
  "sideEffects": [
@@ -34,13 +35,13 @@
34
35
  ],
35
36
  "types": "dist/index.d.ts",
36
37
  "dependencies": {
37
- "@synerise/ds-icon": "^1.7.1",
38
- "@synerise/ds-utils": "^1.4.1"
38
+ "@synerise/ds-icon": "^1.7.2",
39
+ "@synerise/ds-utils": "^1.4.2"
39
40
  },
40
41
  "peerDependencies": {
41
42
  "@synerise/ds-core": "*",
42
43
  "react": ">=16.9.0 <= 18.3.1",
43
44
  "styled-components": "^5.3.3"
44
45
  },
45
- "gitHead": "7f119fa17e645f1d800aea95c313fe22f348439c"
46
+ "gitHead": "5beb6ab5f2d77b9e98e04caab7dff20b8436078b"
46
47
  }