@cypress-design/react-checkbox 0.3.2 → 0.3.3

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.
@@ -2,5 +2,5 @@ $ yarn build:module && yarn build:types
2
2
  $ rollup -c ./rollup.config.mjs
3
3
  
4
4
  ./index.ts → ./dist/index.umd.js, ./dist/index.es.mjs...
5
- created ./dist/index.umd.js, ./dist/index.es.mjs in 20.5s
5
+ created ./dist/index.umd.js, ./dist/index.es.mjs in 15.8s
6
6
  $ tsc --project ./tsconfig.build.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @cypress-design/react-checkbox
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#245](https://github.com/cypress-io/cypress-design/pull/245) [`d52d023`](https://github.com/cypress-io/cypress-design/commit/d52d02301bb851d514661a8c258d0c4ae5baf171) Thanks [@elevatebart](https://github.com/elevatebart)! - use tailwind to rollup classes in the final package
8
+
9
+ - Updated dependencies [[`d52d023`](https://github.com/cypress-io/cypress-design/commit/d52d02301bb851d514661a8c258d0c4ae5baf171)]:
10
+ - @cypress-design/react-icon@0.22.1
11
+
3
12
  ## 0.3.2
4
13
 
5
14
  ### Patch Changes
package/dist/index.es.mjs CHANGED
@@ -17,6 +17,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
17
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
18
  PERFORMANCE OF THIS SOFTWARE.
19
19
  ***************************************************************************** */
20
+ /* global Reflect, Promise */
21
+
20
22
 
21
23
  var __assign$1 = function() {
22
24
  __assign$1 = Object.assign || function __assign(t) {
@@ -55,6 +57,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
55
57
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
56
58
  PERFORMANCE OF THIS SOFTWARE.
57
59
  ***************************************************************************** */
60
+ /* global Reflect, Promise */
61
+
58
62
 
59
63
  var __assign = function() {
60
64
  __assign = Object.assign || function __assign(t) {
@@ -82,7 +86,10 @@ function __rest(s, e) {
82
86
  var compileReactIconProperties = function (_a) {
83
87
  var body = _a.body, compiledClasses = _a.compiledClasses, size = _a.size, attributes = __rest(_a, ["body", "compiledClasses", "size"]);
84
88
  var filteredAttributes = Object.keys(attributes).reduce(function (newAttributes, attrName) {
85
- if (!ICON_COLOR_PROP_NAMES.includes(attrName) && attrName !== 'name') {
89
+ if (!ICON_COLOR_PROP_NAMES.includes(attrName) &&
90
+ attrName !== 'name') {
91
+ // @ts-expect-error the ky of React's SVGProps is too broad and
92
+ // breaks here. Since we do not need to check for it. We keep the expect error
86
93
  newAttributes[attrName] =
87
94
  attributes[attrName];
88
95
  }
@@ -90,7 +97,7 @@ var compileReactIconProperties = function (_a) {
90
97
  }, {});
91
98
  var componentProps = __assign({ width: size, height: size, viewBox: "0 0 ".concat(size, " ").concat(size), fill: 'none', dangerouslySetInnerHTML: {
92
99
  __html: body,
93
- } }, filteredAttributes);
100
+ }, className: undefined }, filteredAttributes);
94
101
  if (attributes.className) {
95
102
  compiledClasses.push(attributes.className);
96
103
  }
@@ -112,7 +119,7 @@ var IconCheckmarkSmall = function (props) {
112
119
  };
113
120
 
114
121
 
115
- /* <wind-keep class=""> */
122
+ /* <wind-keep class="filter"> */
116
123
 
117
124
  const Classes = {
118
125
  wrapper: 'relative flex items-center',
@@ -162,4 +169,4 @@ var Checkbox = function (_a) {
162
169
  export { Checkbox as default };
163
170
  //# sourceMappingURL=index.es.mjs.map
164
171
 
165
- /* <wind-keep class="absolute text-gray-500 text-gray-800 dark:text-gray-200 icon-dark-white relative flex items-center inset-0 w-0 h-0 opacity-0 border border-solid rounded h-[16px] w-[16px] flex-shrink-0 text-white block ml-[8px] text-[16px] leading-[24px] font-light select-none border-indigo-500 bg-indigo-400 border-jade-500 bg-jade-400 border-red-500 bg-red-400 border-gray-200 bg-gray-100 bg-white"> */
172
+ /* <wind-keep class="absolute text-gray-500 text-gray-800 dark:text-gray-200 relative flex items-center inset-0 w-0 h-0 opacity-0 border border-solid rounded h-[16px] w-[16px] flex-shrink-0 text-white block ml-[8px] text-[16px] leading-[24px] font-light select-none border-indigo-500 bg-indigo-400 border-red-500 bg-red-400 border-gray-200 bg-gray-100 bg-white"> */