@thecb/components 12.0.6-beta.0 → 12.0.7-beta.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
@@ -2,6 +2,8 @@
2
2
 
3
3
  This library contains CityBase React components for use across all current and future CB applications (NFE, RMD, POS).
4
4
 
5
+ > See [CONTRIBUTING.md](./CONTRIBUTING.md) for PR guidelines, dev tasks checklist, integration testing, and deployment/versioning.
6
+
5
7
  <!-- TOC -->
6
8
 
7
9
  - [Development setup](#development-setup)
@@ -140,32 +142,13 @@ Publishing to NPM is automated. When a PR is merged to master, the package will
140
142
  - Run `yarn add @thecb/components`.
141
143
  - To verify it installed successfully, make sure it is in the applicaton's `package.json` file.
142
144
 
143
- ### Local import and development
144
-
145
- If you are developing locally, you can add or make changes to components in the `@thecb/components` package and see those changes in the application running locally by linking the `@thecb/components` package to your application.
146
- Open the `@thecb/components`, and in the command line
147
-
148
- - Run `yarn build`
149
- - Run `yarn link`
150
-
151
- You should see a success message, and directions on how to link this package into an application. In the application you’d like the components, navigate to that application and in the command line
152
-
153
- - Run `yarn link @thecb/components`
154
-
155
- Now the package is linked locally and you can make changes to the `@thecb/components` and you’ll see the changes in the application running `@thecb/components`. To unlink the package, in the application running `@thecb/components` and in the command line
156
-
157
- - Run `yarn unlink @thecb/components`
158
- - Run `yarn install` ` --``force `
159
-
160
- Next go to the `@thecb/components` and in the command line
161
-
162
- - Run `yarn unlink`
163
-
164
- Now the package is unlinked, and you’re using the version on NPM.
145
+ ### Testing changes locally
165
146
 
166
- ### Yalc
147
+ See **[TESTING.md](./TESTING.md)** for a complete guide to testing your changes. In short, you have three options:
167
148
 
168
- If you encounter issues using `yarn link`, a nice alternative is `yalc`. See [https://github.com/wclr/yalc](https://github.com/wclr/yalc) for usage instructions.
149
+ 1. **Storybook** (`yarn storybook`) fastest, for self-contained component changes
150
+ 2. **Live Sync** (`yarn sync <path-to-project>`) — test inside a real running app without publishing
151
+ 3. **Beta Publish** (`yarn publish-beta`) — publish to npm for CI/CD, QA, or sharing with teammates
169
152
 
170
153
  ### Importing and using components
171
154
 
package/dist/index.cjs.js CHANGED
@@ -13938,7 +13938,8 @@ var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
13938
13938
  xmlnsXlink: "http://www.w3.org/1999/xlink",
13939
13939
  width: "100",
13940
13940
  height: "100",
13941
- viewBox: "0 0 100 100"
13941
+ viewBox: "0 0 100 100",
13942
+ "aria-hidden": "true"
13942
13943
  }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
13943
13944
  id: "prefix__a",
13944
13945
  d: "M0 0h100v100H0z"
@@ -27028,7 +27029,7 @@ var NavFooter = function NavFooter(_ref) {
27028
27029
  background: backgroundColor,
27029
27030
  minHeight: footerMinHeight,
27030
27031
  minWidth: "100%",
27031
- extraStyles: isMobile ? "overflow: hidden;" : "height: ".concat(footerMinHeight, "; > * { height: 100%; };")
27032
+ extraStyles: isMobile ? "" : "min-height: ".concat(footerMinHeight, "; > * { min-height: 100%; };")
27032
27033
  }, rest), /*#__PURE__*/React__default.createElement(Center, {
27033
27034
  maxWidth: footerWidth || "76.5rem"
27034
27035
  }, /*#__PURE__*/React__default.createElement(Cover, {
@@ -47886,7 +47887,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47886
47887
  }
47887
47888
  }, /*#__PURE__*/React__default.createElement(Title$1, {
47888
47889
  weight: FONT_WEIGHT_REGULAR,
47889
- as: "h3",
47890
+ as: "p",
47890
47891
  extraStyles: "font-size: 1rem;"
47891
47892
  }, agencyDisplayName), (lineItems === null || lineItems === void 0 ? void 0 : lineItems.length) && /*#__PURE__*/React__default.createElement(Text$1, {
47892
47893
  variant: "pS",
@@ -47937,7 +47938,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47937
47938
  }, /*#__PURE__*/React__default.createElement(Title$1, {
47938
47939
  weight: FONT_WEIGHT_SEMIBOLD,
47939
47940
  as: "h2",
47940
- extraStyles: "font-size: 1.5rem; line-height: ".concat(isMobile ? "2.2857rem" : "2.25rem", ";"),
47941
+ extraStyles: "font-size: 1.375rem; line-height: ".concat(isMobile ? "2.2857rem" : "2.25rem", ";"),
47941
47942
  id: "payment-details-title"
47942
47943
  }, titleText), /*#__PURE__*/React__default.createElement(Title$1, {
47943
47944
  weight: FONT_WEIGHT_BOLD,
@@ -47947,7 +47948,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47947
47948
  as: "h2",
47948
47949
  weight: FONT_WEIGHT_SEMIBOLD,
47949
47950
  margin: "1rem 0 0 0",
47950
- extraStyles: "font-size: 1.5rem; line-height: ".concat(isMobile ? "2.2857rem" : "2.25rem", ";"),
47951
+ extraStyles: "font-size: 1.375rem; line-height: ".concat(isMobile ? "2.2857rem" : "2.25rem", ";"),
47951
47952
  id: "payment-details-title"
47952
47953
  }, titleText), agencySubheading);
47953
47954
  return isCollapsible ? /*#__PURE__*/React__default.createElement(Collapsible, {