asma-core-ui 1.6.3 → 1.6.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.
- package/dist/asma-core-ui.es.js +27 -20
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/asma-core-ui.es.js
CHANGED
|
@@ -36169,20 +36169,27 @@ const F$ = {
|
|
|
36169
36169
|
// aggregationFunctionLabelMax: 'max',
|
|
36170
36170
|
// aggregationFunctionLabelSize: 'size',
|
|
36171
36171
|
}, HL = ot(_1, i1), zL = le((e) => /* @__PURE__ */ S($$, { ...e, classes: {
|
|
36172
|
-
root: "bg-white border-0
|
|
36173
|
-
|
|
36174
|
-
|
|
36175
|
-
columnHeader: "border-r-0
|
|
36176
|
-
|
|
36172
|
+
root: "bg-white border-0 border-t border-[#bdc4cf] rounded-none",
|
|
36173
|
+
cell: "border-b border-[#bdc4cf] min-h-[45px] max-h-[45px] focus:outline-none focus-within:outline-none",
|
|
36174
|
+
cellContent: "text-[#0b0c0f] text-base",
|
|
36175
|
+
columnHeader: "border-r-0 h-[30px] focus:outline-none focus-within:outline-none",
|
|
36176
|
+
columnHeaderTitle: "text-[#626e7e] text-xs font-semibold uppercase",
|
|
36177
|
+
columnHeaders: "bg-[#f9fafb] border-b border-[#bdc4cf] min-h-[30px] rounded-none",
|
|
36178
|
+
footerContainer: "border-[#bdc4cf]",
|
|
36177
36179
|
iconSeparator: "hidden",
|
|
36178
|
-
row: "hover:bg-primary-50",
|
|
36180
|
+
row: "min-h-[45px] max-h-[45px] hover:bg-primary-50 hover:cursor-pointer",
|
|
36179
36181
|
virtualScrollerContent: "border-b-0"
|
|
36180
|
-
}, sx: {
|
|
36181
|
-
|
|
36182
|
+
}, sx: (t) => ({
|
|
36183
|
+
//TODO: fix sx props, right now you can't use sx props with the DataGrid
|
|
36184
|
+
// ...props.sx,
|
|
36185
|
+
".MuiDataGrid-actionsCell .MuiSvgIcon-root": {
|
|
36186
|
+
color: "black",
|
|
36187
|
+
fontSize: "1.5rem"
|
|
36188
|
+
},
|
|
36182
36189
|
".MuiDataGrid-row.Mui-selected": {
|
|
36183
|
-
backgroundColor:
|
|
36190
|
+
backgroundColor: t.palette.primary[50]
|
|
36184
36191
|
}
|
|
36185
|
-
}, slotProps: {
|
|
36192
|
+
}), slotProps: {
|
|
36186
36193
|
...e.slotProps,
|
|
36187
36194
|
baseCheckbox: {
|
|
36188
36195
|
disableRipple: !0,
|
|
@@ -37429,21 +37436,21 @@ const VF = le((e) => /* @__PURE__ */ S(ig, { variant: e.variant || "contained",
|
|
|
37429
37436
|
`, KL = le(({ FormControlProps: e, InputLabelProps: t, label: o, size: r = "small", ...l }) => /* @__PURE__ */ Pe(fg, { ...e, children: [
|
|
37430
37437
|
/* @__PURE__ */ S(HF, { id: `${l.id}-label`, ...t, children: o }),
|
|
37431
37438
|
/* @__PURE__ */ S(mg, { "aria-labelledby": `${l.id}-label`, ...l, size: r })
|
|
37432
|
-
] }))``, YL = le(({ onCloseText: e, children: t, onClose: o, showCloseIcon: r = !0, ...l }) => /* @__PURE__ */
|
|
37439
|
+
] }))``, YL = le(({ onCloseText: e, children: t, onClose: o, showCloseIcon: r = !0, ...l }) => /* @__PURE__ */ Pe(gg, { ...l, onClose: o, style: {
|
|
37433
37440
|
zIndex: 999
|
|
37434
|
-
}, children:
|
|
37435
|
-
r
|
|
37441
|
+
}, children: [
|
|
37442
|
+
r && /* @__PURE__ */ S("div", { className: "mr-2 mt-2 flex justify-end", children: /* @__PURE__ */ S(VF, { variant: "text", endIcon: /* @__PURE__ */ S(_F, { icon: "ic:baseline-close", className: "text-2xl" }), onClick: (i) => {
|
|
37436
37443
|
o && o(i, "escapeKeyDown");
|
|
37437
|
-
}, className: "text-gray-800", children: e }) })
|
|
37438
|
-
|
|
37439
|
-
] })
|
|
37444
|
+
}, className: "text-gray-800", children: e }) }),
|
|
37445
|
+
t
|
|
37446
|
+
] }))``, QL = le((e) => /* @__PURE__ */ S(bg, { classes: {
|
|
37440
37447
|
root: "p-0 m-0 justify-center"
|
|
37441
|
-
}, children: /* @__PURE__ */ S("div", { className: ae("
|
|
37448
|
+
}, children: /* @__PURE__ */ S("div", { className: ae("flex w-full justify-end space-x-4 p-4", e.className), children: e.children }) }))``, ZL = le(({ children: e, classes: t, className: o, ...r }) => /* @__PURE__ */ S(hg, { ...r, classes: {
|
|
37442
37449
|
...t,
|
|
37443
|
-
root: "p-0 mx-0 mt-0
|
|
37444
|
-
}, className: ae("w-full", o), children: e }))``, XL = le(({ children: e, ...t }) => /* @__PURE__ */ S(vg, { ...t, classes: {
|
|
37450
|
+
root: "p-0 mx-0 mt-0"
|
|
37451
|
+
}, className: ae("w-full p-4", o), children: e }))``, XL = le(({ children: e, ...t }) => e ? /* @__PURE__ */ S(vg, { ...t, classes: {
|
|
37445
37452
|
root: "p-0 m-0"
|
|
37446
|
-
}, children: /* @__PURE__ */ S("div", { className: "
|
|
37453
|
+
}, children: /* @__PURE__ */ S("div", { className: "flex items-baseline justify-between space-x-3 p-4 text-xl font-semibold leading-tight", children: e }) }) : null)``, JL = Eo((e) => /* @__PURE__ */ S(yg, { ...e }))``, eD = Eo((e) => /* @__PURE__ */ S(Cg, { ...e }))``, tD = Eo(({ children: e, ...t }) => /* @__PURE__ */ S(wg, { autoHideDuration: t.autoHideDuration ?? 6e3, ...t, children: e && /* @__PURE__ */ S("div", { children: e }) }))``, oD = Eo((e) => /* @__PURE__ */ S(xg, { ...e, children: e.children }))``, nD = (e) => /* @__PURE__ */ S(Sg, { ...e, children: e.children });
|
|
37447
37454
|
function Is(e) {
|
|
37448
37455
|
const t = {};
|
|
37449
37456
|
for (const [o, r] of Object.entries(e))
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--colors-teal-50: #e9fcfc;--colors-teal-100: #dffafa;--colors-teal-200: #bef4f4;--colors-teal-300: #78e8e8;--colors-teal-400: #32dcdc;--colors-teal-500: #1ca1a1;--colors-teal-600: #157a7a;--colors-teal-700: #105c5c;--colors-teal-800: #0b4141;--colors-teal-900: #093434;--colors-blue-50: #e6f2f8;--colors-blue-100: #cce6f1;--colors-blue-200: #99cce4;--colors-blue-300: #66b3d6;--colors-blue-400: #3399c9;--colors-blue-500: #0080bb;--colors-blue-600: #0073a8;--colors-blue-700: #005a83;--colors-blue-800: #00405e;--colors-blue-900: #002638;--colors-xanadu-50: #eff4f2;--colors-xanadu-100: #dee8e4;--colors-xanadu-200: #ceddd7;--colors-xanadu-300: #bdd1c9;--colors-xanadu-400: #adc6bc;--colors-xanadu-500: #9cb2a9;--colors-xanadu-600: #8a9e96;--colors-xanadu-700: #798b84;--colors-xanadu-800: #4e5955;--colors-xanadu-900: #2f3533;--colors-primary-50: #e6f2f8;--colors-primary-100: #cce6f1;--colors-primary-200: #99cce4;--colors-primary-300: #66b3d6;--colors-primary-400: #3399c9;--colors-primary-500: #0080bb;--colors-primary-600: #0073a8;--colors-primary-700: #005a83;--colors-primary-800: #00405e;--colors-primary-900: #002638}[data-theme=fretex]{--colors-primary-50: #eff4f2;--colors-primary-100: #dee8e4;--colors-primary-200: #ceddd7;--colors-primary-300: #bdd1c9;--colors-primary-400: #adc6bc;--colors-primary-500: #9cb2a9;--colors-primary-600: #8a9e96;--colors-primary-700: #798b84;--colors-primary-800: #4e5955;--colors-primary-900: #2f3533}[data-theme=greenish]{--colors-primary-50: #e9fcfc;--colors-primary-100: #dffafa;--colors-primary-200: #bef4f4;--colors-primary-300: #78e8e8;--colors-primary-400: #32dcdc;--colors-primary-500: #1ca1a1;--colors-primary-600: #157a7a;--colors-primary-700: #105c5c;--colors-primary-800: #0b4141;--colors-primary-900: #093434}:root{--text-h1: 1.5rem;--text-h2: 1.125rem;--text-pageTitle: 1.5rem;--text-sectionTitle: 1.125rem;--text-medium: 1rem;--text-base: .875rem;--text-small: .75rem;--text-xSmall: .625rem}.m-0{margin:0!important}.mx-0{margin-left:0!important;margin-right:0!important}.
|
|
1
|
+
:root{--colors-teal-50: #e9fcfc;--colors-teal-100: #dffafa;--colors-teal-200: #bef4f4;--colors-teal-300: #78e8e8;--colors-teal-400: #32dcdc;--colors-teal-500: #1ca1a1;--colors-teal-600: #157a7a;--colors-teal-700: #105c5c;--colors-teal-800: #0b4141;--colors-teal-900: #093434;--colors-blue-50: #e6f2f8;--colors-blue-100: #cce6f1;--colors-blue-200: #99cce4;--colors-blue-300: #66b3d6;--colors-blue-400: #3399c9;--colors-blue-500: #0080bb;--colors-blue-600: #0073a8;--colors-blue-700: #005a83;--colors-blue-800: #00405e;--colors-blue-900: #002638;--colors-xanadu-50: #eff4f2;--colors-xanadu-100: #dee8e4;--colors-xanadu-200: #ceddd7;--colors-xanadu-300: #bdd1c9;--colors-xanadu-400: #adc6bc;--colors-xanadu-500: #9cb2a9;--colors-xanadu-600: #8a9e96;--colors-xanadu-700: #798b84;--colors-xanadu-800: #4e5955;--colors-xanadu-900: #2f3533;--colors-primary-50: #e6f2f8;--colors-primary-100: #cce6f1;--colors-primary-200: #99cce4;--colors-primary-300: #66b3d6;--colors-primary-400: #3399c9;--colors-primary-500: #0080bb;--colors-primary-600: #0073a8;--colors-primary-700: #005a83;--colors-primary-800: #00405e;--colors-primary-900: #002638}[data-theme=fretex]{--colors-primary-50: #eff4f2;--colors-primary-100: #dee8e4;--colors-primary-200: #ceddd7;--colors-primary-300: #bdd1c9;--colors-primary-400: #adc6bc;--colors-primary-500: #9cb2a9;--colors-primary-600: #8a9e96;--colors-primary-700: #798b84;--colors-primary-800: #4e5955;--colors-primary-900: #2f3533}[data-theme=greenish]{--colors-primary-50: #e9fcfc;--colors-primary-100: #dffafa;--colors-primary-200: #bef4f4;--colors-primary-300: #78e8e8;--colors-primary-400: #32dcdc;--colors-primary-500: #1ca1a1;--colors-primary-600: #157a7a;--colors-primary-700: #105c5c;--colors-primary-800: #0b4141;--colors-primary-900: #093434}:root{--text-h1: 1.5rem;--text-h2: 1.125rem;--text-pageTitle: 1.5rem;--text-sectionTitle: 1.125rem;--text-medium: 1rem;--text-base: .875rem;--text-small: .75rem;--text-xSmall: .625rem}.m-0{margin:0!important}.mx-0{margin-left:0!important;margin-right:0!important}.mr-2{margin-right:.5rem!important}.mt-0{margin-top:0!important}.mt-2{margin-top:.5rem!important}.flex{display:flex!important}.hidden{display:none!important}.h-\[30px\]{height:30px!important}.max-h-\[45px\]{max-height:45px!important}.min-h-\[30px\]{min-height:30px!important}.min-h-\[45px\]{min-height:45px!important}.w-full{width:100%!important}.items-baseline{align-items:baseline!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.75rem * var(--tw-space-x-reverse))!important;margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1rem * var(--tw-space-x-reverse))!important;margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))!important}.rounded-none{border-radius:0!important}.border-0{border-width:0px!important}.border-b{border-bottom-width:1px!important}.border-b-0{border-bottom-width:0px!important}.border-r-0{border-right-width:0px!important}.border-t{border-top-width:1px!important}.border-\[\#bdc4cf\]{--tw-border-opacity: 1 !important;border-color:rgb(189 196 207 / var(--tw-border-opacity))!important}.border-primary-main{border-color:var(--colors-primary-600)!important}.bg-\[\#f9fafb\]{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity))!important}.bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.bg-primary-100{background-color:var(--colors-primary-100)!important}.bg-primary-700{background-color:var(--colors-primary-700)!important}.bg-primary-main{background-color:var(--colors-primary-600)!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.p-0{padding:0!important}.p-4{padding:1rem!important}.text-2xl{font-size:1.563rem!important}.text-base{font-size:var(--text-base)!important}.text-h1{font-size:var(--text-h1)!important}.text-h2{font-size:var(--text-h2)!important}.text-small{font-size:var(--text-small)!important}.text-xSmall{font-size:var(--text-xSmall)!important}.text-xl{font-size:1.25rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.normal-case{text-transform:none!important}.leading-tight{line-height:1.25!important}.text-\[\#0b0c0f\]{--tw-text-opacity: 1 !important;color:rgb(11 12 15 / var(--tw-text-opacity))!important}.text-\[\#626e7e\]{--tw-text-opacity: 1 !important;color:rgb(98 110 126 / var(--tw-text-opacity))!important}.text-\[\#b5bec9\]{--tw-text-opacity: 1 !important;color:rgb(181 190 201 / var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.text-primary-700{color:var(--colors-primary-700)!important}.text-primary-dark{color:var(--colors-primary-900)!important}.overline{text-decoration-line:overline!important}.shadow-\[0_0_0_3px\]{--tw-shadow: 0 0 0 3px !important;--tw-shadow-colored: 0 0 0 3px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-primary-400{--tw-shadow-color: var(--colors-primary-400) !important;--tw-shadow: var(--tw-shadow-colored) !important}.focus-within\:outline-none:focus-within{outline:2px solid transparent!important;outline-offset:2px!important}.hover\:cursor-pointer:hover{cursor:pointer!important}.hover\:border-primary-500:hover{border-color:var(--colors-primary-500)!important}.hover\:bg-primary-50:hover{background-color:var(--colors-primary-50)!important}.hover\:bg-primary-500:hover{background-color:var(--colors-primary-500)!important}.hover\:bg-primary-700:hover{background-color:var(--colors-primary-700)!important}.hover\:text-gray-50:hover{--tw-text-opacity: 1 !important;color:rgb(249 250 251 / var(--tw-text-opacity))!important}.hover\:text-primary-600:hover{color:var(--colors-primary-600)!important}.hover\:text-primary-700:hover{color:var(--colors-primary-700)!important}.focus\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}.active\:bg-primary-dark:active{background-color:var(--colors-primary-900)!important}.\[\&\>svg\]\:h-5>svg{height:1.25rem!important}.\[\&\>svg\]\:w-5>svg{width:1.25rem!important}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.5",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/**/*",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"prettier": "prettier --write src//**/*.{ts,tsx,scss} --config ./.prettierrc",
|
|
26
26
|
"storybook": "start-storybook -p 6006",
|
|
27
27
|
"storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && start-storybook -p 6006",
|
|
28
|
+
"storybook:node18:win": "set NODE_OPTIONS=--openssl-legacy-provider && start-storybook -p 6006",
|
|
28
29
|
"build-storybook": "build-storybook",
|
|
29
30
|
"create-index": "ctix create -p ./tsconfig.json -w -a ./src",
|
|
30
31
|
"changeset:version": "changeset version",
|