@nimbus-ds/label 2.3.0-rc.4 → 2.3.0-rc.5

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,76 @@
1
+ # Changelog
2
+
3
+ Labels are mainly used to accompany form controls such as inputs, checkboxes, selects, etc. and describe the information that is required inside of each control. They can be visually hidden for UI requirements but can still be read by assistive technologies. They can also include icons or other components to support the relaying of content.
4
+
5
+ ## 2023-02-23 `2.2.0`
6
+
7
+ ### 🎉 New features
8
+
9
+ - Added server side-rendering support to component. ([#105](https://github.com/TiendaNube/nimbus-design-system/pull/105) by [@juniorconquista](https://github.com/juniorconquista))
10
+
11
+ ## 2023-02-16 `2.1.0`
12
+
13
+ ### 🎉 New features
14
+
15
+ - Removed external dependency from `@tiendanube/icons` package to now use internal `@nimbus-ds/icons` package. ([#94](https://github.com/TiendaNube/nimbus-design-system/pull/#94) by [@juniorconquista](https://github.com/juniorconquista))
16
+
17
+ ### 📚 3rd party library updates
18
+
19
+ - Removed `@tiendanube/icons@0.3.1`. ([#94](https://github.com/TiendaNube/nimbus-design-system/pull/#94) by [@juniorconquista](https://github.com/juniorconquista))
20
+
21
+ ## 2022-12-22 `2.0.0`
22
+
23
+ ### 💡 Others
24
+
25
+ - Removed direct dependency on `nimbus-ds/styles` package from component build. ([#69](https://github.com/TiendaNube/nimbus-design-system/pull/69) by [@juniorconquista](https://github.com/juniorconquista))
26
+
27
+ ## 2022-12-07 `1.5.0`
28
+
29
+ ### 🎉 New features
30
+
31
+ - Changed build build to consume inner package `@nimbus-ds/webpack`. ([#63](https://github.com/TiendaNube/nimbus-design-system/pull/63) by [@juniorconquista](https://github.com/juniorconquista))
32
+
33
+ ### 📚 3rd party library updates
34
+
35
+ - Removed `terser-webpack-plugin@5.3.5`. ([#63](https://github.com/TiendaNube/nimbus-design-system/pull/63) by [@juniorconquista](https://github.com/juniorconquista))
36
+ - Removed `ts-loader@9.3.1`. ([#63](https://github.com/TiendaNube/nimbus-design-system/pull/63) by [@juniorconquista](https://github.com/juniorconquista))
37
+ - Removed `webpack-cli@4.10.0`. ([#63](https://github.com/TiendaNube/nimbus-design-system/pull/63) by [@juniorconquista](https://github.com/juniorconquista))
38
+ - Removed `webpack@5.74.0`. ([#63](https://github.com/TiendaNube/nimbus-design-system/pull/63) by [@juniorconquista](https://github.com/juniorconquista))
39
+ - Removed `typescript@4.7.4`. ([#63](https://github.com/TiendaNube/nimbus-design-system/pull/63) by [@juniorconquista](https://github.com/juniorconquista))
40
+
41
+ ## 2022-12-01 `1.4.0`
42
+
43
+ ### 💡 Others
44
+
45
+ - Adjusted component dependencies and build construction. ([#61](https://github.com/TiendaNube/nimbus-design-system/pull/61) by [@juniorconquista](https://github.com/juniorconquista))
46
+
47
+ ## 2022-11-18 `1.3.0`
48
+
49
+ ### 📚 3rd party library updates
50
+
51
+ - Updated `@tiendanube/icons@0.3.1`. ([#57](https://github.com/TiendaNube/nimbus-design-system/pull/#57) by [@juniorconquista](https://github.com/juniorconquista))
52
+
53
+ ## 2022-10-01 `1.2.0`
54
+
55
+ ### 🎉 New features
56
+
57
+ - Added displayName to component `Label`. ([#34](https://github.com/TiendaNube/nimbus-design-system/pull/34) by [@juniorconquista](https://github.com/juniorconquista))
58
+ - Added displayName to component `Label.Skeleton`. ([#34](https://github.com/TiendaNube/nimbus-design-system/pull/34) by [@juniorconquista](https://github.com/juniorconquista))
59
+
60
+ ## 2022-09-16 `1.0.0`
61
+
62
+ ### 📚 3rd party library updates
63
+
64
+ - Added `terser-webpack-plugin@5.3.5`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
65
+ - Added `ts-loader@9.3.1`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
66
+ - Added `typescript@4.7.4`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
67
+ - Added `webpack@5.74.0`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
68
+ - Added `webpack-cli@4.10.0`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
69
+
70
+ ### 🎉 New features
71
+
72
+ - Added `children`, `htmlFor` and `hidden` properties to the Component. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
73
+ - Added stories on Component. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
74
+ - Created new `Label.Skeleton` subcomponent. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
75
+ - Added `width`, `height` and `data-testid` properties to the Component `Label.Skeleton`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
76
+ - Added stories on Component `Label.Skeleton`. ([#26](https://github.com/TiendaNube/nimbus-design-system/pull/26) by [@juanchigallego](https://github.com/juanchigallego))
package/dist/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # `@nimbus-ds/label`
2
+
3
+ [![@nimbus-ds/label](https://img.shields.io/npm/v/@nimbus-ds/label?label=%40nimbus-ds%2Flabel)](https://www.npmjs.com/package/@nimbus-ds/label)
4
+
5
+ The label component allows us to name elements within a form.
6
+
7
+ ## Installation
8
+
9
+ ```sh
10
+ $ yarn add @nimbus-ds/label
11
+ # or
12
+ $ npm install @nimbus-ds/label
13
+ ```
14
+
15
+ ### Component Anatomy
16
+
17
+ The component consists of styled base text, which consumes our typography and color tokens.
18
+
19
+ ## Guidelines
20
+
21
+ We use this component as a slot that can receive text and icons with tooltips, which help the user to understand what information is required when filling out forms.
22
+
23
+ ### Label is recommended for:
24
+
25
+ - Naming fields of Input text
26
+ - Naming options in a Select
27
+ - Naming options in a Radio Button list
28
+ - Name options in a list of Checkboxes
29
+
30
+ ## Usage
31
+
32
+ View docs [here](https://nimbus.nuvemshop.com.br/documentation/atomic-components/label).
33
+
34
+ <img alt="Nimbus" style="margin-bottom: 30px;" src="https://tiendanube.github.io/design-system-nimbus/static/media/nimbus-logo.ab60bd79.png" height="30" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/label",
3
- "version": "2.3.0-rc.4",
3
+ "version": "2.3.0-rc.5",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "version": "yarn version"
15
15
  },
16
16
  "dependencies": {
17
- "@nimbus-ds/skeleton": "^3.1.0-rc.4"
17
+ "@nimbus-ds/skeleton": "^3.1.0-rc.5"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": "^16.8 || ^17.0 || ^18.0",
@@ -29,9 +29,9 @@
29
29
  "url": "https://github.com/TiendaNube/nimbus-design-system/issues"
30
30
  },
31
31
  "devDependencies": {
32
- "@nimbus-ds/icon": "^3.1.0-rc.4",
33
- "@nimbus-ds/icons": "^1.7.0-rc.1",
34
- "@nimbus-ds/webpack": "^1.4.1-rc.1"
32
+ "@nimbus-ds/icon": "^3.1.0-rc.5",
33
+ "@nimbus-ds/icons": "^1.7.0-rc.2",
34
+ "@nimbus-ds/webpack": "^1.5.0-rc.1"
35
35
  },
36
36
  "stableVersion": "2.2.0"
37
37
  }