tide-design-system 2.0.45 → 2.0.47

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/index.ts CHANGED
@@ -34,6 +34,7 @@ import type { Alert } from '@/types/Alert';
34
34
  import type { Badge, BadgePremium, BadgeTrustedYears } from '@/types/Badge';
35
35
  import type { BreadCrumb } from '@/types/BreadCrumb';
36
36
  import type { Breakpoint, Media } from '@/types/Breakpoint';
37
+ import type { CardIconPosition, CardType } from '@/types/Card';
37
38
  import type { Detail } from '@/types/Detail';
38
39
  import type { Element, ElementTextAsIcon } from '@/types/Element';
39
40
  import type { FacetComponentIdRange, RangeData } from '@/types/FacetRange';
@@ -83,9 +84,10 @@ import { BREAKPOINT, MEDIA } from '@/types/Breakpoint';
83
84
  import { CSS } from '@/types/Styles';
84
85
  import { ELEMENT, ELEMENT_TEXT_AS_ICON } from '@/types/Element';
85
86
  import { FORMAT, FORMAT_REGEX } from '@/types/Formatted';
86
- import { ICON } from '@/types/Icon';
87
+ import { ICON, ICON_REALM } from '@/types/Icon';
87
88
  import { MEDIA_SLIDE_TYPES } from '@/types/ListingMedia';
88
89
  import { ORIENTATION } from '@/types/Orientation';
90
+ import { POSITION_CARD_ICON, TYPE_CARD } from '@/types/Card';
89
91
  import { PRIORITY } from '@/types/Priority';
90
92
  import { REALM } from '@/types/Realm';
91
93
  import { SIZE } from '@/types/Size';
@@ -105,6 +107,8 @@ export type {
105
107
  BooleanValue,
106
108
  BreadCrumb,
107
109
  Breakpoint,
110
+ CardType,
111
+ CardIconPosition,
108
112
  CheckboxField,
109
113
  CheckboxInput,
110
114
  CssUtility,
@@ -159,12 +163,14 @@ export {
159
163
  BADGE_PREMIUM,
160
164
  BADGE_TRUSTED,
161
165
  BREAKPOINT,
166
+ POSITION_CARD_ICON,
162
167
  CSS,
163
168
  ELEMENT,
164
169
  ELEMENT_TEXT_AS_ICON,
165
170
  FORMAT,
166
171
  FORMAT_REGEX,
167
172
  ICON,
173
+ ICON_REALM,
168
174
  MEDIA,
169
175
  MEDIA_SLIDE_TYPES,
170
176
  ORIENTATION,
@@ -173,6 +179,7 @@ export {
173
179
  SIZE,
174
180
  TARGET,
175
181
  TEXT_INPUT_TYPE,
182
+ TYPE_CARD,
176
183
  VALIDATOR,
177
184
  };
178
185
 
package/package.json CHANGED
@@ -37,11 +37,12 @@
37
37
  "license": "MIT",
38
38
  "name": "tide-design-system",
39
39
  "scripts": {
40
- "build": "npm run lint && npm run type-check && npm run build-only",
41
- "build-only": "vite build && cp -r src/assets/css/ dist/css/ && cp -r src/utilities/ dist/utilities/",
42
- "build-storybook": "storybook build && cp -r src/assets/css/realm/ storybook-static/public/",
40
+ "build": "npm run enforce && npm run build-vite",
41
+ "build-storybook": "npm run build-vite && storybook build && cp -r src/assets/css/realm/ storybook-static/public/",
42
+ "build-vite": "vite build && cp -r src/assets/css/ dist/css/ && cp -r src/utilities/ dist/utilities/",
43
43
  "coverage": "vitest run --coverage",
44
44
  "dev": "vite",
45
+ "enforce": "npm run lint && npm run type-check",
45
46
  "lint": "eslint . --ext .js,.ts,.vue --ignore-path .gitignore",
46
47
  "lint:fix": "eslint . --ext .js,.ts,.vue --ignore-path .gitignore --fix",
47
48
  "precommit": "npm run lint:fix && npm run type-check",
@@ -54,5 +55,5 @@
54
55
  "main": "dist/tide-design-system.cjs",
55
56
  "module": "dist/tide-design-system.esm.js",
56
57
  "types": "dist/tide-design-system.esm.d.ts",
57
- "version": "2.0.45"
58
+ "version": "2.0.47"
58
59
  }