@appquality/unguess-design-system 4.0.29 → 4.0.31

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.
@@ -0,0 +1,27 @@
1
+
2
+ name: Build
3
+
4
+ on:
5
+ pull_request:
6
+ branches: [develop]
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 0
18
+ - name: Use Node.js 18.x
19
+ uses: actions/setup-node@v2
20
+ with:
21
+ node-version: "18"
22
+
23
+ - name: Build
24
+ id: build
25
+ run: |
26
+ yarn --frozen-lockfile
27
+ yarn run build
@@ -1,13 +1,9 @@
1
- # This is a basic workflow to help you get started with Actions
2
-
3
1
  name: Publish storybook
4
2
 
5
3
  # The event that will trigger the action
6
4
  on:
7
5
  push:
8
6
  branches: [develop]
9
- # pull_request:
10
- # branches: [master]
11
7
  # Allows you to run this workflow manually from the Actions tab
12
8
  workflow_dispatch:
13
9
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
1
+ # v4.0.31 (Thu Mar 27 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Add planTag and other fixes [#507](https://github.com/AppQuality/unguess-design-system/pull/507) ([@iacopolea](https://github.com/iacopolea) [@cannarocks](https://github.com/cannarocks))
6
+ - fix build problem [#505](https://github.com/AppQuality/unguess-design-system/pull/505) ([@iacopolea](https://github.com/iacopolea))
7
+ - Add PlanTag component for plan status display [#506](https://github.com/AppQuality/unguess-design-system/pull/506) ([@cannarocks](https://github.com/cannarocks))
8
+ - feat: add Meta component to TemplateCard [#504](https://github.com/AppQuality/unguess-design-system/pull/504) ([@iacopolea](https://github.com/iacopolea))
9
+
10
+ #### Authors: 2
11
+
12
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
13
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
14
+
15
+ ---
16
+
17
+ # v4.0.30 (Fri Mar 21 2025)
18
+
19
+ #### 🐛 Bug Fix
20
+
21
+ - Add TemplateCard 📝 [#503](https://github.com/AppQuality/unguess-design-system/pull/503) ([@iacopolea](https://github.com/iacopolea) [@cannarocks](https://github.com/cannarocks))
22
+ - UN-981-template-card [#502](https://github.com/AppQuality/unguess-design-system/pull/502) ([@iacopolea](https://github.com/iacopolea))
23
+
24
+ #### Authors: 2
25
+
26
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
27
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
28
+
29
+ ---
30
+
1
31
  # v4.0.29 (Fri Mar 14 2025)
2
32
 
3
33
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -3498,7 +3498,12 @@ export declare interface IOption extends IOptionProps {
3498
3498
  label: string;
3499
3499
  }
3500
3500
 
3501
- declare type IPlanStatus = "draft" | "submitted" | "pending_quote_review";
3501
+ declare type IPlanStatus = "draft" | "submitted" | "pending_quote_review" | "approved";
3502
+
3503
+ declare interface IPlanTagProps {
3504
+ status: IPlanStatus;
3505
+ statusLabel: string;
3506
+ }
3502
3507
 
3503
3508
  declare interface IRow {
3504
3509
  id?: number | string;
@@ -7362,6 +7367,8 @@ declare interface PlanCardsProps extends SpecialCardProps {
7362
7367
  isLoading?: boolean;
7363
7368
  }
7364
7369
 
7370
+ export declare const PlanTag: ({ status, statusLabel }: IPlanTagProps) => JSX_2.Element;
7371
+
7365
7372
  /**
7366
7373
  * The Player is a styled media tag with custom controls
7367
7374
  * <hr>
@@ -9417,6 +9424,9 @@ export declare const SpecialCard: {
9417
9424
  }>> & ForwardRefExoticComponent<ISMProps & RefAttributes<HTMLDivElement>>;
9418
9425
  };
9419
9426
  Footer: (props: CardFooterProps) => JSX_2.Element;
9427
+ Body: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9428
+ lines?: number | undefined;
9429
+ }>>;
9420
9430
  };
9421
9431
 
9422
9432
  declare interface SpecialCardProps extends IWellProps {
@@ -11258,6 +11268,37 @@ declare interface TagArgs extends ITagProps {
11258
11268
  isRegular?: boolean;
11259
11269
  }
11260
11270
 
11271
+ export declare const TemplateCard: {
11272
+ ({ title, superTitle, description, isFast, isTailored, lineClamp, children, i18n, ...props }: TemplateCardsProps): JSX_2.Element;
11273
+ Footer: ({ children }: {
11274
+ children: default_2.ReactNode;
11275
+ }) => JSX_2.Element;
11276
+ PriceTag: ({ text }: {
11277
+ text: string;
11278
+ }) => JSX_2.Element;
11279
+ UserTag: ({ text }: {
11280
+ text: string;
11281
+ }) => JSX_2.Element;
11282
+ Meta: ({ isTailored, i18n }: {
11283
+ isTailored?: boolean | undefined;
11284
+ i18n: TemplateCardsProps['i18n'];
11285
+ }) => JSX_2.Element;
11286
+ };
11287
+
11288
+ declare interface TemplateCardsProps extends default_2.ComponentProps<typeof SpecialCard> {
11289
+ isFast?: boolean;
11290
+ isTailored?: boolean;
11291
+ lineClamp?: number;
11292
+ thumbUrl?: string;
11293
+ title: string;
11294
+ superTitle?: string;
11295
+ description: string;
11296
+ i18n: {
11297
+ tailoredHeader: string;
11298
+ unguessHeader: string;
11299
+ };
11300
+ }
11301
+
11261
11302
  /**
11262
11303
  * A Textarea is a form control for multi-line text.
11263
11304
  * <hr>