bonprix-design-system 0.61.0 → 0.61.2

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/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  [![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@main/badge/badge-storybook.svg)](https://storybook.bonprix.net/)
2
- [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
3
2
 
4
3
  # Design System
5
4
 
@@ -27,12 +26,12 @@ The required Node.js version is specified in the `.nvmrc` file. Use a version ma
27
26
 
28
27
  1. **Install dependencies:**
29
28
  ```bash
30
- npm install
29
+ pnpm i
31
30
  ```
32
31
  2. **Initialize Git hooks:**
33
32
  This command sets up hooks to ensure code consistency and quality.
34
33
  ```bash
35
- npm run setup
34
+ pnpm setup
36
35
  ```
37
36
 
38
37
  ### Local Development
@@ -43,7 +42,7 @@ There are two environments available for developing and testing components.
43
42
  For developing components in isolation. This is the primary development environment.
44
43
 
45
44
  ```bash
46
- npm run storybook
45
+ pnpm storybook
47
46
  ```
48
47
 
49
48
  Storybook will be running at `http://localhost:6006`.
@@ -51,6 +50,6 @@ There are two environments available for developing and testing components.
51
50
  - **Vite Playground:**
52
51
  For testing components in a plain Vite application.
53
52
  ```bash
54
- npm run dev
53
+ pnpm dev
55
54
  ```
56
55
  The playground will be running at `http://localhost:5173`.
package/dist/index.d.ts CHANGED
@@ -1227,6 +1227,8 @@ declare interface SheetSubcomponents_2 {
1227
1227
  declare interface SheetTitleProps {
1228
1228
  /** The text content. */
1229
1229
  children: string;
1230
+ /** An optional subline that is displayed right below the title. */
1231
+ subline?: string;
1230
1232
  /** The heading level for the title. */
1231
1233
  level?: "h2" | "h3" | "h4";
1232
1234
  }
@@ -1234,6 +1236,8 @@ declare interface SheetTitleProps {
1234
1236
  declare interface SheetTitleProps_2 {
1235
1237
  /** The text content. */
1236
1238
  children: string;
1239
+ /** An optional subline that is displayed right below the title. */
1240
+ subline?: string;
1237
1241
  /** The heading level for the title. */
1238
1242
  level?: "h2" | "h3" | "h4";
1239
1243
  }
@@ -1663,11 +1667,11 @@ export declare interface ThemeForcerProps {
1663
1667
  inline?: boolean;
1664
1668
  }
1665
1669
 
1666
- declare const Title: ({ children, level }: SheetTitleProps) => default_2.JSX.Element;
1670
+ declare const Title: ({ children, subline, level }: SheetTitleProps) => default_2.JSX.Element;
1667
1671
 
1668
1672
  declare const Title_2: FC<TitleProps>;
1669
1673
 
1670
- declare const Title_3: ({ children, level }: SheetTitleProps_2) => default_2.JSX.Element;
1674
+ declare const Title_3: ({ children, subline, level }: SheetTitleProps_2) => default_2.JSX.Element;
1671
1675
 
1672
1676
  declare interface TitleProps {
1673
1677
  /** The title to display in the dialog */
@@ -1804,3 +1808,51 @@ declare const values: readonly ["primary", "secondary"];
1804
1808
  declare type VariantValue = (typeof values)[number];
1805
1809
 
1806
1810
  export { }
1811
+
1812
+
1813
+ declare global {
1814
+ interface HTMLElementTagNameMap {
1815
+ "bpds-benefit-tag": BenefitTag;
1816
+ }
1817
+ }
1818
+
1819
+
1820
+ declare namespace config {
1821
+ let plugins: (string | (string | {
1822
+ preset: string;
1823
+ releaseRules: ({
1824
+ breaking: boolean;
1825
+ release: string;
1826
+ type?: undefined;
1827
+ } | {
1828
+ type: string;
1829
+ release: string;
1830
+ breaking?: undefined;
1831
+ })[];
1832
+ })[] | (string | {
1833
+ preset: string;
1834
+ presetConfig: {
1835
+ types: ({
1836
+ type: string;
1837
+ section: string;
1838
+ hidden?: undefined;
1839
+ } | {
1840
+ type: string;
1841
+ section: string;
1842
+ hidden: boolean;
1843
+ })[];
1844
+ };
1845
+ })[] | (string | {
1846
+ successComment: boolean;
1847
+ failTitle: boolean;
1848
+ })[])[];
1849
+ }
1850
+
1851
+ declare namespace _default {
1852
+ let plugins: {
1853
+ "postcss-import": {};
1854
+ "@tailwindcss/nesting": {};
1855
+ tailwindcss: {};
1856
+ autoprefixer: {};
1857
+ };
1858
+ }