@grantbii/design-system 1.28.4 → 2.0.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/README.md CHANGED
@@ -35,6 +35,12 @@ The pages auto-update as you edit the files.
35
35
 
36
36
  ## Develop
37
37
 
38
+ ### Structure
39
+
40
+ The actual UI components live in `core/`.
41
+
42
+ Storybook stories live in `stories/`.
43
+
38
44
  ### Versioning
39
45
 
40
46
  Bump version number in `package.json`
@@ -55,10 +61,17 @@ cwebp -exact -lossless -progress your_image.png -o your_image.webp
55
61
 
56
62
  Bump version in `package.json`
57
63
 
58
- Check which files would be published with `npm publish --dry-run`
64
+ Check which files would be published:
59
65
 
60
- The package is published to npm automatically with [GitHub Actions](.github/workflows/continuous-delivery.yaml).
66
+ ```bash
67
+ npm run build
68
+ cd dist/
69
+ npm publish --dry-run
70
+ ```
61
71
 
62
- The corresponding documentation is published to GitHub pages automatically with [GitHub Actions](.github/workflows/continuous-delivery.yaml).
72
+ When a commit is pushed to the `prod` branch, the GitHub Actions workflow `deploy-prod.yaml` will automatically:
63
73
 
64
- Once a commit has been made on the `prod` branch, a build would be triggered.
74
+ - build the package with `npm run build`
75
+ - publish the package to npm from `dist/`
76
+ - build Storybook with `npm run build-storybook`
77
+ - publish Storybook to GitHub Pages
@@ -1,4 +1,3 @@
1
1
  export { default as LocationIcon } from "./LocationIcon";
2
2
  export { default as RadioButtons, type RadioOption } from "./RadioButtons";
3
- export { default as TallyModal } from "./TallyModal";
4
3
  export { default as YesNoOptions } from "./YesNoOptions";
@@ -1,5 +1,4 @@
1
1
  export { default as LocationIcon } from "./LocationIcon";
2
2
  export { default as RadioButtons } from "./RadioButtons";
3
- export { default as TallyModal } from "./TallyModal";
4
3
  export { default as YesNoOptions } from "./YesNoOptions";
5
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../core/archive/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAoB,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { default as LocationIcon } from \"./LocationIcon\";\nexport { default as RadioButtons, type RadioOption } from \"./RadioButtons\";\nexport { default as TallyModal } from \"./TallyModal\";\nexport { default as YesNoOptions } from \"./YesNoOptions\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../core/archive/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAoB,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { default as LocationIcon } from \"./LocationIcon\";\nexport { default as RadioButtons, type RadioOption } from \"./RadioButtons\";\nexport { default as YesNoOptions } from \"./YesNoOptions\";\n"]}
@@ -1,6 +1,6 @@
1
1
  export { default as BrandLogo } from "./BrandLogo";
2
2
  export * as Color from "./Color";
3
- export * as Loaders from "./Loader";
3
+ export * as Loader from "./Loader";
4
4
  export * as Responsive from "./Responsive";
5
5
  export * as Flags from "./RichIcon";
6
6
  export * as SystemIcon from "./SystemIcon";
@@ -1,6 +1,6 @@
1
1
  export { default as BrandLogo } from "./BrandLogo";
2
2
  export * as Color from "./Color";
3
- export * as Loaders from "./Loader";
3
+ export * as Loader from "./Loader";
4
4
  export * as Responsive from "./Responsive";
5
5
  export * as Flags from "./RichIcon";
6
6
  export * as SystemIcon from "./SystemIcon";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../core/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,UAAU,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC","sourcesContent":["export { default as BrandLogo } from \"./BrandLogo\";\nexport * as Color from \"./Color\";\nexport * as Loaders from \"./Loader\";\nexport * as Responsive from \"./Responsive\";\nexport * as Flags from \"./RichIcon\";\nexport * as SystemIcon from \"./SystemIcon\";\nexport * as Spacing from \"./Spacing\";\nexport * as Typography from \"./Typography\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../core/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC","sourcesContent":["export { default as BrandLogo } from \"./BrandLogo\";\nexport * as Color from \"./Color\";\nexport * as Loader from \"./Loader\";\nexport * as Responsive from \"./Responsive\";\nexport * as Flags from \"./RichIcon\";\nexport * as SystemIcon from \"./SystemIcon\";\nexport * as Spacing from \"./Spacing\";\nexport * as Typography from \"./Typography\";\n"]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@grantbii/design-system",
3
3
  "author": "Grantbii",
4
4
  "license": "UNLICENSED",
5
- "version": "1.28.4",
5
+ "version": "2.0.0",
6
6
  "description": "Grantbii's Design System",
7
7
  "homepage": "https://design.grantbii.com",
8
8
  "repository": {