@thecb/components 12.0.6-beta.0 → 12.0.7
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 +5 -24
- package/dist/index.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -2
- package/src/components/atoms/icons/ForgotPasswordIcon.js +1 -0
- package/src/components/atoms/nav-footer/NavFooter.js +2 -2
package/README.md
CHANGED
|
@@ -140,32 +140,13 @@ Publishing to NPM is automated. When a PR is merged to master, the package will
|
|
|
140
140
|
- Run `yarn add @thecb/components`.
|
|
141
141
|
- To verify it installed successfully, make sure it is in the applicaton's `package.json` file.
|
|
142
142
|
|
|
143
|
-
###
|
|
143
|
+
### Testing changes locally
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
Open the `@thecb/components`, and in the command line
|
|
145
|
+
See **[TESTING.md](./TESTING.md)** for a complete guide to testing your changes. In short, you have three options:
|
|
147
146
|
|
|
148
|
-
|
|
149
|
-
|
|
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.
|
|
165
|
-
|
|
166
|
-
### Yalc
|
|
167
|
-
|
|
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.
|
|
147
|
+
1. **Storybook** (`yarn storybook`) — fastest, for self-contained component changes
|
|
148
|
+
2. **Live Sync** (`yarn sync <path-to-project>`) — test inside a real running app without publishing
|
|
149
|
+
3. **Beta Publish** (`yarn publish-beta`) — publish to npm for CI/CD, QA, or sharing with teammates
|
|
169
150
|
|
|
170
151
|
### Importing and using components
|
|
171
152
|
|
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 ? "
|
|
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, {
|