ekm-ui 0.3.39 → 0.3.41

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.
@@ -10,7 +10,7 @@ Browserslist: caniuse-lite is outdated. Please run:
10
10
  npx update-browserslist-db@latest
11
11
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 59096ms
13
+ DTS ⚡️ Build success in 37709ms
14
14
  DTS dist/index.d.ts 2.51 KB
15
15
  DTS dist/ekm-logo.d.ts 104.00 B
16
16
  DTS dist/footer-heart-icon.d.ts 70.00 B
@@ -84,13 +84,13 @@ Browserslist: caniuse-lite is outdated. Please run:
84
84
  ESM dist/sort/sort.mjs 180.00 B
85
85
  ESM dist/table-header/table-header.mjs 195.00 B
86
86
  ESM dist/toast/index.mjs 192.00 B
87
- ESM dist/tooltip/tooltip.mjs 154.00 B
88
87
  ESM dist/video-dashboard-notification.mjs 192.00 B
88
+ ESM dist/tooltip/tooltip.mjs 154.00 B
89
89
  ESM dist/video-modal.mjs 159.00 B
90
90
  ESM dist/file-picker/file-listing.mjs 223.00 B
91
91
  ESM dist/file-picker/file-picker.mjs 1.72 KB
92
- ESM dist/layout/layout.mjs 1.71 KB
93
92
  ESM dist/navbar/navbar.mjs 184.00 B
93
+ ESM dist/layout/layout.mjs 1.71 KB
94
94
  ESM dist/pagination/pagination.mjs 160.00 B
95
95
  ESM dist/rich-text-editor/index.mjs 159.00 B
96
96
  ESM dist/progress-bar.mjs 192.00 B
@@ -157,7 +157,7 @@ Browserslist: caniuse-lite is outdated. Please run:
157
157
  ESM dist/chunk-D6H235SZ.mjs 486.00 B
158
158
  ESM dist/chunk-PJMH47GY.mjs 1004.00 B
159
159
  ESM dist/chunk-KAQJAKQH.mjs 589.00 B
160
- ESM dist/chunk-CVNRLWG6.mjs 1.03 KB
160
+ ESM dist/chunk-DZABAR36.mjs 1.05 KB
161
161
  ESM dist/chunk-7Q4BF7BT.mjs 953.00 B
162
162
  ESM dist/chunk-F6ZWBNIM.mjs 1.16 KB
163
163
  ESM dist/chunk-PT4DPY4L.mjs 591.00 B
@@ -190,13 +190,13 @@ Browserslist: caniuse-lite is outdated. Please run:
190
190
  ESM dist/sort/sort.mjs.map 51.00 B
191
191
  ESM dist/table-header/table-header.mjs.map 51.00 B
192
192
  ESM dist/toast/index.mjs.map 51.00 B
193
- ESM dist/tooltip/tooltip.mjs.map 51.00 B
194
193
  ESM dist/video-dashboard-notification.mjs.map 51.00 B
194
+ ESM dist/tooltip/tooltip.mjs.map 51.00 B
195
195
  ESM dist/video-modal.mjs.map 51.00 B
196
196
  ESM dist/file-picker/file-listing.mjs.map 51.00 B
197
197
  ESM dist/file-picker/file-picker.mjs.map 51.00 B
198
- ESM dist/layout/layout.mjs.map 51.00 B
199
198
  ESM dist/navbar/navbar.mjs.map 51.00 B
199
+ ESM dist/layout/layout.mjs.map 51.00 B
200
200
  ESM dist/pagination/pagination.mjs.map 51.00 B
201
201
  ESM dist/rich-text-editor/index.mjs.map 51.00 B
202
202
  ESM dist/progress-bar.mjs.map 51.00 B
@@ -262,7 +262,7 @@ Browserslist: caniuse-lite is outdated. Please run:
262
262
  ESM dist/chunk-D6H235SZ.mjs.map 804.00 B
263
263
  ESM dist/chunk-PJMH47GY.mjs.map 1.90 KB
264
264
  ESM dist/chunk-KAQJAKQH.mjs.map 1.17 KB
265
- ESM dist/chunk-CVNRLWG6.mjs.map 2.09 KB
265
+ ESM dist/chunk-DZABAR36.mjs.map 2.13 KB
266
266
  ESM dist/chunk-7Q4BF7BT.mjs.map 3.15 KB
267
267
  ESM dist/chunk-F6ZWBNIM.mjs.map 2.59 KB
268
268
  ESM dist/chunk-PT4DPY4L.mjs.map 998.00 B
@@ -290,4 +290,4 @@ Browserslist: caniuse-lite is outdated. Please run:
290
290
  ESM dist/chunk-GBY2NNWZ.mjs.map 117.04 KB
291
291
  ESM dist/chunk-PUJZGK7Y.mjs.map 62.53 KB
292
292
  ESM dist/chunk-45QX7OUO.mjs.map 711.34 KB
293
- ESM ⚡️ Build success in 70661ms
293
+ ESM ⚡️ Build success in 48680ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ekm-ui
2
2
 
3
+ ## 0.3.41
4
+
5
+ ### Patch Changes
6
+
7
+ - 69848cf2: Chackbox component fix
8
+
3
9
  ## 0.3.39
4
10
 
5
11
  ### Patch Changes
@@ -32,7 +32,7 @@ import './chunk-QOVVHEU2.mjs';
32
32
  import './chunk-D6H235SZ.mjs';
33
33
  import './chunk-PJMH47GY.mjs';
34
34
  import './chunk-KAQJAKQH.mjs';
35
- import './chunk-CVNRLWG6.mjs';
35
+ import './chunk-DZABAR36.mjs';
36
36
  import './chunk-7Q4BF7BT.mjs';
37
37
  import './chunk-F6ZWBNIM.mjs';
38
38
  import './chunk-PT4DPY4L.mjs';
package/dist/checkbox.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { a as Checkbox } from './chunk-CVNRLWG6.mjs';
1
+ export { a as Checkbox } from './chunk-DZABAR36.mjs';
2
2
  import './chunk-GBY2NNWZ.mjs';
3
3
  import './chunk-PUJZGK7Y.mjs';
4
4
  import './chunk-23SJGKDR.mjs';
@@ -0,0 +1,11 @@
1
+ import { a as a$2 } from './chunk-GBY2NNWZ.mjs';
2
+ import { a as a$1 } from './chunk-PUJZGK7Y.mjs';
3
+ import { e } from './chunk-23SJGKDR.mjs';
4
+ import { forwardRef } from 'react';
5
+ import { jsxs, jsx } from 'react/jsx-runtime';
6
+
7
+ var a=e(a$1());var l=forwardRef(function(e,i){return jsxs("div",{className:"flex items-center",children:[jsx("input",{id:e.id,name:e.name,onChange:e.onChange,ref:i,type:"checkbox",checked:e.checked,className:a$2(e.disabled&&"opacity-40",e.className&&e.className,"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600")}),e.label&&jsx("label",{id:`${e.id}-lbl`,htmlFor:e.id,className:"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300",children:e.label})]})});l.propTypes={id:a.default.string.isRequired,label:a.default.string,checked:a.default.bool,disabled:a.default.bool,onChange:a.default.func};l.displayName="Checkbox";
8
+
9
+ export { l as a };
10
+ //# sourceMappingURL=out.js.map
11
+ //# sourceMappingURL=chunk-DZABAR36.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/checkbox.tsx"],"names":["import_prop_types","forwardRef","jsx","jsxs","Checkbox","props","ref","twMerge","PropTypes"],"mappings":"2HAEA,IAAAA,EAAsB,OADtB,OAAS,cAAAC,MAAkB,QAMvB,OACE,OAAAC,EADF,QAAAC,MAAA,oBAFG,IAAMC,EAAWH,EAAW,SAAkBI,EAAOC,EAAK,CAC/D,OACEH,EAAC,OAAI,UAAU,oBACb,UAAAD,EAAC,SACC,GAAIG,EAAM,GACV,KAAMA,EAAM,KACZ,SAAUA,EAAM,SAChB,IAAKC,EACL,KAAK,WACL,QAASD,EAAM,QACf,UAAWE,EAAQF,EAAM,UAAY,aAAcA,EAAM,WAAaA,EAAM,UAAW,qLAAqL,EAC5Q,EACDA,EAAM,OACLH,EAAC,SAAM,GAAI,GAAGG,EAAM,SAAU,QAASA,EAAM,GAAI,UAAU,4DACxD,SAAAA,EAAM,MACT,GAEJ,CAEJ,CAAC,EAEDD,EAAS,UAAY,CAEjB,GAAI,EAAAI,QAAU,OAAO,WAErB,MAAO,EAAAA,QAAU,OAEjB,QAAS,EAAAA,QAAU,KAEnB,SAAU,EAAAA,QAAU,KAEpB,SAAU,EAAAA,QAAU,IACxB,EAEAJ,EAAS,YAAc","sourcesContent":["//@ts-nocheck\nimport { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport { twMerge } from 'tailwind-merge'\n\nexport const Checkbox = forwardRef(function Checkbox(props, ref) {\n return (\n <div className=\"flex items-center\">\n <input\n id={props.id}\n name={props.name}\n onChange={props.onChange}\n ref={ref}\n type=\"checkbox\"\n checked={props.checked}\n className={twMerge(props.disabled && \"opacity-40\", props.className && props.className, \"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\")}\n />\n {props.label && (\n <label id={`${props.id}-lbl`} htmlFor={props.id} className=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">\n {props.label}\n </label>\n )}\n </div>\n )\n})\n\nCheckbox.propTypes = {\n /** String for id of checkbox */\n id: PropTypes.string.isRequired,\n /** String for label placed after checkbox */\n label: PropTypes.string,\n /** Bool to determine if checkbox has been checked */\n checked: PropTypes.bool,\n /** Bool for disabled state of checkbox */\n disabled: PropTypes.bool,\n /** function to handle checked value */\n onChange: PropTypes.func,\n}\n\nCheckbox.displayName = \"Checkbox\";"]}
@@ -32,7 +32,7 @@ import './chunk-QOVVHEU2.mjs';
32
32
  import './chunk-D6H235SZ.mjs';
33
33
  import './chunk-PJMH47GY.mjs';
34
34
  import './chunk-KAQJAKQH.mjs';
35
- import './chunk-CVNRLWG6.mjs';
35
+ import './chunk-DZABAR36.mjs';
36
36
  import './chunk-7Q4BF7BT.mjs';
37
37
  import './chunk-F6ZWBNIM.mjs';
38
38
  import './chunk-PT4DPY4L.mjs';
@@ -32,7 +32,7 @@ import '../chunk-QOVVHEU2.mjs';
32
32
  import '../chunk-D6H235SZ.mjs';
33
33
  import '../chunk-PJMH47GY.mjs';
34
34
  import '../chunk-KAQJAKQH.mjs';
35
- import '../chunk-CVNRLWG6.mjs';
35
+ import '../chunk-DZABAR36.mjs';
36
36
  import '../chunk-7Q4BF7BT.mjs';
37
37
  import '../chunk-F6ZWBNIM.mjs';
38
38
  import '../chunk-PT4DPY4L.mjs';
package/dist/index.mjs CHANGED
@@ -32,7 +32,7 @@ export { a as FormRow } from './chunk-QOVVHEU2.mjs';
32
32
  export { a as Label } from './chunk-D6H235SZ.mjs';
33
33
  export { a as ImageThumbnail } from './chunk-PJMH47GY.mjs';
34
34
  export { a as InputAddon } from './chunk-KAQJAKQH.mjs';
35
- export { a as Checkbox } from './chunk-CVNRLWG6.mjs';
35
+ export { a as Checkbox } from './chunk-DZABAR36.mjs';
36
36
  export { a as ColorPicker } from './chunk-7Q4BF7BT.mjs';
37
37
  export { a as DashboardNotification } from './chunk-F6ZWBNIM.mjs';
38
38
  export { a as Card } from './chunk-PT4DPY4L.mjs';
@@ -32,7 +32,7 @@ import '../chunk-QOVVHEU2.mjs';
32
32
  import '../chunk-D6H235SZ.mjs';
33
33
  import '../chunk-PJMH47GY.mjs';
34
34
  import '../chunk-KAQJAKQH.mjs';
35
- import '../chunk-CVNRLWG6.mjs';
35
+ import '../chunk-DZABAR36.mjs';
36
36
  import '../chunk-7Q4BF7BT.mjs';
37
37
  import '../chunk-F6ZWBNIM.mjs';
38
38
  import '../chunk-PT4DPY4L.mjs';
@@ -32,7 +32,7 @@ import './chunk-QOVVHEU2.mjs';
32
32
  import './chunk-D6H235SZ.mjs';
33
33
  import './chunk-PJMH47GY.mjs';
34
34
  import './chunk-KAQJAKQH.mjs';
35
- import './chunk-CVNRLWG6.mjs';
35
+ import './chunk-DZABAR36.mjs';
36
36
  import './chunk-7Q4BF7BT.mjs';
37
37
  import './chunk-F6ZWBNIM.mjs';
38
38
  import './chunk-PT4DPY4L.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ekm-ui",
3
- "version": "0.3.39",
3
+ "version": "0.3.41",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
package/src/checkbox.tsx CHANGED
@@ -9,10 +9,11 @@ export const Checkbox = forwardRef(function Checkbox(props, ref) {
9
9
  <input
10
10
  id={props.id}
11
11
  name={props.name}
12
+ onChange={props.onChange}
12
13
  ref={ref}
13
14
  type="checkbox"
15
+ checked={props.checked}
14
16
  className={twMerge(props.disabled && "opacity-40", props.className && props.className, "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600")}
15
- {...props}
16
17
  />
17
18
  {props.label && (
18
19
  <label id={`${props.id}-lbl`} htmlFor={props.id} className="ms-2 text-sm font-medium text-gray-900 dark:text-gray-300">
@@ -1,11 +0,0 @@
1
- import { a as a$3 } from './chunk-GBY2NNWZ.mjs';
2
- import { a as a$1 } from './chunk-PUJZGK7Y.mjs';
3
- import { e, a as a$2 } from './chunk-23SJGKDR.mjs';
4
- import { forwardRef } from 'react';
5
- import { jsxs, jsx } from 'react/jsx-runtime';
6
-
7
- var a=e(a$1());var i=forwardRef(function(e,t){return jsxs("div",{className:"flex items-center",children:[jsx("input",a$2({id:e.id,name:e.name,ref:t,type:"checkbox",className:a$3(e.disabled&&"opacity-40",e.className&&e.className,"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600")},e)),e.label&&jsx("label",{id:`${e.id}-lbl`,htmlFor:e.id,className:"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300",children:e.label})]})});i.propTypes={id:a.default.string.isRequired,label:a.default.string,checked:a.default.bool,disabled:a.default.bool,onChange:a.default.func};i.displayName="Checkbox";
8
-
9
- export { i as a };
10
- //# sourceMappingURL=out.js.map
11
- //# sourceMappingURL=chunk-CVNRLWG6.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/checkbox.tsx"],"names":["import_prop_types","forwardRef","jsx","jsxs","Checkbox","props","ref","__spreadValues","twMerge","PropTypes"],"mappings":"kIAEA,IAAAA,EAAsB,OADtB,OAAS,cAAAC,MAAkB,QAMvB,OACE,OAAAC,EADF,QAAAC,MAAA,oBAFG,IAAMC,EAAWH,EAAW,SAAkBI,EAAOC,EAAK,CAC/D,OACEH,EAAC,OAAI,UAAU,oBACb,UAAAD,EAAC,QAAAK,EAAA,CACC,GAAIF,EAAM,GACV,KAAMA,EAAM,KACZ,IAAKC,EACL,KAAK,WACL,UAAWE,EAAQH,EAAM,UAAY,aAAcA,EAAM,WAAaA,EAAM,UAAW,qLAAqL,GACxQA,EACJ,EACDA,EAAM,OACLH,EAAC,SAAM,GAAI,GAAGG,EAAM,SAAU,QAASA,EAAM,GAAI,UAAU,4DACxD,SAAAA,EAAM,MACT,GAEJ,CAEJ,CAAC,EAEDD,EAAS,UAAY,CAEjB,GAAI,EAAAK,QAAU,OAAO,WAErB,MAAO,EAAAA,QAAU,OAEjB,QAAS,EAAAA,QAAU,KAEnB,SAAU,EAAAA,QAAU,KAEpB,SAAU,EAAAA,QAAU,IACxB,EAEAL,EAAS,YAAc","sourcesContent":["//@ts-nocheck\nimport { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport { twMerge } from 'tailwind-merge'\n\nexport const Checkbox = forwardRef(function Checkbox(props, ref) {\n return (\n <div className=\"flex items-center\">\n <input\n id={props.id}\n name={props.name}\n ref={ref}\n type=\"checkbox\"\n className={twMerge(props.disabled && \"opacity-40\", props.className && props.className, \"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\")}\n {...props}\n />\n {props.label && (\n <label id={`${props.id}-lbl`} htmlFor={props.id} className=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">\n {props.label}\n </label>\n )}\n </div>\n )\n})\n\nCheckbox.propTypes = {\n /** String for id of checkbox */\n id: PropTypes.string.isRequired,\n /** String for label placed after checkbox */\n label: PropTypes.string,\n /** Bool to determine if checkbox has been checked */\n checked: PropTypes.bool,\n /** Bool for disabled state of checkbox */\n disabled: PropTypes.bool,\n /** function to handle checked value */\n onChange: PropTypes.func,\n}\n\nCheckbox.displayName = \"Checkbox\";"]}