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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/card-payment-block.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-DZABAR36.mjs +11 -0
- package/dist/chunk-DZABAR36.mjs.map +1 -0
- package/dist/drag-and-drop.mjs +1 -1
- package/dist/file-picker/file-picker.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/layout/layout.mjs +1 -1
- package/dist/stacked-list-item.mjs +1 -1
- package/package.json +1 -1
- package/src/checkbox.tsx +2 -1
- package/dist/chunk-CVNRLWG6.mjs +0 -11
- package/dist/chunk-CVNRLWG6.mjs.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -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
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 37709ms
|
|
14
14
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.51 KB[39m
|
|
15
15
|
[32mDTS[39m [1mdist/ekm-logo.d.ts [22m[32m104.00 B[39m
|
|
16
16
|
[32mDTS[39m [1mdist/footer-heart-icon.d.ts [22m[32m70.00 B[39m
|
|
@@ -84,13 +84,13 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
84
84
|
[32mESM[39m [1mdist/sort/sort.mjs [22m[32m180.00 B[39m
|
|
85
85
|
[32mESM[39m [1mdist/table-header/table-header.mjs [22m[32m195.00 B[39m
|
|
86
86
|
[32mESM[39m [1mdist/toast/index.mjs [22m[32m192.00 B[39m
|
|
87
|
-
[32mESM[39m [1mdist/tooltip/tooltip.mjs [22m[32m154.00 B[39m
|
|
88
87
|
[32mESM[39m [1mdist/video-dashboard-notification.mjs [22m[32m192.00 B[39m
|
|
88
|
+
[32mESM[39m [1mdist/tooltip/tooltip.mjs [22m[32m154.00 B[39m
|
|
89
89
|
[32mESM[39m [1mdist/video-modal.mjs [22m[32m159.00 B[39m
|
|
90
90
|
[32mESM[39m [1mdist/file-picker/file-listing.mjs [22m[32m223.00 B[39m
|
|
91
91
|
[32mESM[39m [1mdist/file-picker/file-picker.mjs [22m[32m1.72 KB[39m
|
|
92
|
-
[32mESM[39m [1mdist/layout/layout.mjs [22m[32m1.71 KB[39m
|
|
93
92
|
[32mESM[39m [1mdist/navbar/navbar.mjs [22m[32m184.00 B[39m
|
|
93
|
+
[32mESM[39m [1mdist/layout/layout.mjs [22m[32m1.71 KB[39m
|
|
94
94
|
[32mESM[39m [1mdist/pagination/pagination.mjs [22m[32m160.00 B[39m
|
|
95
95
|
[32mESM[39m [1mdist/rich-text-editor/index.mjs [22m[32m159.00 B[39m
|
|
96
96
|
[32mESM[39m [1mdist/progress-bar.mjs [22m[32m192.00 B[39m
|
|
@@ -157,7 +157,7 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
157
157
|
[32mESM[39m [1mdist/chunk-D6H235SZ.mjs [22m[32m486.00 B[39m
|
|
158
158
|
[32mESM[39m [1mdist/chunk-PJMH47GY.mjs [22m[32m1004.00 B[39m
|
|
159
159
|
[32mESM[39m [1mdist/chunk-KAQJAKQH.mjs [22m[32m589.00 B[39m
|
|
160
|
-
[32mESM[39m [1mdist/chunk-
|
|
160
|
+
[32mESM[39m [1mdist/chunk-DZABAR36.mjs [22m[32m1.05 KB[39m
|
|
161
161
|
[32mESM[39m [1mdist/chunk-7Q4BF7BT.mjs [22m[32m953.00 B[39m
|
|
162
162
|
[32mESM[39m [1mdist/chunk-F6ZWBNIM.mjs [22m[32m1.16 KB[39m
|
|
163
163
|
[32mESM[39m [1mdist/chunk-PT4DPY4L.mjs [22m[32m591.00 B[39m
|
|
@@ -190,13 +190,13 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
190
190
|
[32mESM[39m [1mdist/sort/sort.mjs.map [22m[32m51.00 B[39m
|
|
191
191
|
[32mESM[39m [1mdist/table-header/table-header.mjs.map [22m[32m51.00 B[39m
|
|
192
192
|
[32mESM[39m [1mdist/toast/index.mjs.map [22m[32m51.00 B[39m
|
|
193
|
-
[32mESM[39m [1mdist/tooltip/tooltip.mjs.map [22m[32m51.00 B[39m
|
|
194
193
|
[32mESM[39m [1mdist/video-dashboard-notification.mjs.map [22m[32m51.00 B[39m
|
|
194
|
+
[32mESM[39m [1mdist/tooltip/tooltip.mjs.map [22m[32m51.00 B[39m
|
|
195
195
|
[32mESM[39m [1mdist/video-modal.mjs.map [22m[32m51.00 B[39m
|
|
196
196
|
[32mESM[39m [1mdist/file-picker/file-listing.mjs.map [22m[32m51.00 B[39m
|
|
197
197
|
[32mESM[39m [1mdist/file-picker/file-picker.mjs.map [22m[32m51.00 B[39m
|
|
198
|
-
[32mESM[39m [1mdist/layout/layout.mjs.map [22m[32m51.00 B[39m
|
|
199
198
|
[32mESM[39m [1mdist/navbar/navbar.mjs.map [22m[32m51.00 B[39m
|
|
199
|
+
[32mESM[39m [1mdist/layout/layout.mjs.map [22m[32m51.00 B[39m
|
|
200
200
|
[32mESM[39m [1mdist/pagination/pagination.mjs.map [22m[32m51.00 B[39m
|
|
201
201
|
[32mESM[39m [1mdist/rich-text-editor/index.mjs.map [22m[32m51.00 B[39m
|
|
202
202
|
[32mESM[39m [1mdist/progress-bar.mjs.map [22m[32m51.00 B[39m
|
|
@@ -262,7 +262,7 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
262
262
|
[32mESM[39m [1mdist/chunk-D6H235SZ.mjs.map [22m[32m804.00 B[39m
|
|
263
263
|
[32mESM[39m [1mdist/chunk-PJMH47GY.mjs.map [22m[32m1.90 KB[39m
|
|
264
264
|
[32mESM[39m [1mdist/chunk-KAQJAKQH.mjs.map [22m[32m1.17 KB[39m
|
|
265
|
-
[32mESM[39m [1mdist/chunk-
|
|
265
|
+
[32mESM[39m [1mdist/chunk-DZABAR36.mjs.map [22m[32m2.13 KB[39m
|
|
266
266
|
[32mESM[39m [1mdist/chunk-7Q4BF7BT.mjs.map [22m[32m3.15 KB[39m
|
|
267
267
|
[32mESM[39m [1mdist/chunk-F6ZWBNIM.mjs.map [22m[32m2.59 KB[39m
|
|
268
268
|
[32mESM[39m [1mdist/chunk-PT4DPY4L.mjs.map [22m[32m998.00 B[39m
|
|
@@ -290,4 +290,4 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
290
290
|
[32mESM[39m [1mdist/chunk-GBY2NNWZ.mjs.map [22m[32m117.04 KB[39m
|
|
291
291
|
[32mESM[39m [1mdist/chunk-PUJZGK7Y.mjs.map [22m[32m62.53 KB[39m
|
|
292
292
|
[32mESM[39m [1mdist/chunk-45QX7OUO.mjs.map [22m[32m711.34 KB[39m
|
|
293
|
-
[32mESM[39m ⚡️ Build success in
|
|
293
|
+
[32mESM[39m ⚡️ Build success in 48680ms
|
package/CHANGELOG.md
CHANGED
|
@@ -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-
|
|
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
|
@@ -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\";"]}
|
package/dist/drag-and-drop.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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';
|
package/dist/layout/layout.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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
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">
|
package/dist/chunk-CVNRLWG6.mjs
DELETED
|
@@ -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\";"]}
|