1mpacto-react-ui 2.0.27 → 2.0.29
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/assets/_typography.scss +16 -16
- package/dist/assets/core.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.mjs +55 -51
- package/dist/components/Alert/style.module.scss.cjs +1 -1
- package/dist/components/Alert/style.module.scss.mjs +12 -11
- package/dist/components/Badges/Badges.config.cjs +1 -1
- package/dist/components/Badges/Badges.config.mjs +18 -3
- package/dist/components/Badges/style.module.scss.cjs +1 -1
- package/dist/components/Badges/style.module.scss.mjs +46 -35
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.mjs +38 -36
- package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -1
- package/dist/components/Breadcrumbs/style.module.scss.mjs +16 -16
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +64 -64
- package/dist/components/ButtonIcon/style.module.scss.cjs +1 -1
- package/dist/components/ButtonIcon/style.module.scss.mjs +55 -55
- package/dist/components/Modal/ModalDialog.cjs +11 -1
- package/dist/components/Modal/ModalDialog.config.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.mjs +16 -9
- package/dist/components/Modal/ModalDialog.mjs +59 -33
- package/dist/components/Modal/style.module.scss.cjs +1 -1
- package/dist/components/Modal/style.module.scss.mjs +17 -13
- package/dist/components/Pagination/Pagination.cjs +2 -2
- package/dist/components/Pagination/Pagination.config.cjs +1 -1
- package/dist/components/Pagination/Pagination.config.mjs +4 -3
- package/dist/components/Pagination/Pagination.mjs +90 -90
- package/dist/components/Pagination/style.module.scss.cjs +1 -1
- package/dist/components/Pagination/style.module.scss.mjs +18 -16
- package/dist/components/Popover/Popover.config.cjs +1 -1
- package/dist/components/Popover/Popover.config.mjs +3 -2
- package/dist/components/Popover/style.module.scss.cjs +1 -1
- package/dist/components/Popover/style.module.scss.mjs +8 -7
- package/dist/components/RadioCheckbox/RadioCheckbox.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.config.mjs +24 -22
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.mjs +25 -23
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.mjs +5 -4
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.mjs +8 -7
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.mjs +19 -10
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.mjs +95 -80
- package/dist/components/SelectDropdownContainer/styleConfig.cjs +1 -1
- package/dist/components/SelectDropdownContainer/styleConfig.mjs +151 -11
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.module.scss.mjs +25 -25
- package/dist/components/Step/StepIndicator.cjs +6 -4
- package/dist/components/Step/StepIndicator.config.cjs +1 -0
- package/dist/components/Step/StepIndicator.config.mjs +12 -0
- package/dist/components/Step/StepIndicator.mjs +31 -26
- package/dist/components/Step/StepIndicator.module.scss.cjs +1 -1
- package/dist/components/Step/StepIndicator.module.scss.mjs +12 -11
- package/dist/components/Switch/Switch.config.cjs +1 -1
- package/dist/components/Switch/Switch.config.mjs +6 -3
- package/dist/components/Switch/style.module.scss.cjs +1 -1
- package/dist/components/Switch/style.module.scss.mjs +18 -15
- package/dist/components/Tabs/Tabs.config.cjs +1 -1
- package/dist/components/Tabs/Tabs.config.mjs +13 -6
- package/dist/components/Tabs/style.module.scss.cjs +1 -1
- package/dist/components/Tabs/style.module.scss.mjs +29 -23
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +12 -12
- package/dist/components/fin/Chat/BubbleChat.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChat.mjs +20 -0
- package/dist/components/fin/Chat/BubbleChatOption.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatOption.mjs +70 -0
- package/dist/components/fin/Chat/BubbleChatUser.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatUser.mjs +15 -0
- package/dist/components/fin/Chat/Icons.cjs +1 -0
- package/dist/components/fin/Chat/Icons.mjs +44 -0
- package/dist/components/fin/Chat/style.module.scss.cjs +1 -0
- package/dist/components/fin/Chat/style.module.scss.mjs +27 -0
- package/dist/config/components/typography.cjs +1 -1
- package/dist/config/components/typography.mjs +40 -6
- package/dist/config/tailwind/typography.cjs +1 -1
- package/dist/config/tailwind/typography.mjs +20 -20
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +86 -80
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/components/Badges/Badges.config.d.ts +15 -0
- package/dist/src/components/Modal/ModalDialog.config.d.ts +8 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +17 -1
- package/dist/src/components/Pagination/Pagination.config.d.ts +1 -0
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +14 -1
- package/dist/src/components/Popover/Popover.config.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +2 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +1 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +10 -0
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +2 -0
- package/dist/src/components/Step/StepIndicator.config.d.ts +18 -0
- package/dist/src/components/Step/StepIndicator.d.ts +1 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +30 -1
- package/dist/src/components/Switch/Switch.config.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +7 -1
- package/dist/src/components/fin/Chat/BubbleChat.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatOption.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatUser.d.ts +3 -0
- package/dist/src/components/fin/Chat/Icons.d.ts +5 -0
- package/dist/src/components/fin/index.d.ts +4 -0
- package/dist/src/components/index.d.ts +4 -2
- package/dist/src/config/components/typography.d.ts +1 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +6 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +5 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +6 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +7 -1
- package/dist/src/interfaces/components/Step/index.d.ts +13 -2
- package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -2
- package/dist/src/interfaces/components/fin/Chat/index.d.ts +39 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react-toastify"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react-toastify"),i=require("./style.module.scss.cjs"),d=({closeToast:s})=>e.jsx("button",{onClick:s,className:i.default["icon-close"],children:"✕"}),a=(s,c,o)=>{const r=o?.variant??"outline",t={position:"top-center",autoClose:2e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0},n={icon:{solid:{success:e.jsx(u,{}),warning:e.jsx(f,{}),error:e.jsx(j,{}),info:e.jsx(h,{})},outline:{success:e.jsx(C,{}),warning:e.jsx(w,{}),error:e.jsx(x,{}),info:e.jsx(g,{})}},variant:{solid:{success:i.default["alert-success-filled"],error:i.default["alert-error-filled"],warning:i.default["alert-warning-filled"],info:i.default["alert-info-filled"]},outline:{success:i.default["alert-success-outlined"],error:i.default["alert-error-outlined"],warning:i.default["alert-warning-outlined"],info:i.default["alert-info-outlined"]}}};return c==="error"?l.toast.error(e.jsxs("div",{children:[["solid"].includes(r)&&e.jsx("p",{className:i.default["text-header"],children:"Error"}),s]}),{closeButton:d,icon:n.icon[r].error,className:n.variant[r].error,...t,...o}):c==="info"?l.toast.info(e.jsxs("div",{children:[["solid"].includes(r)&&e.jsx("p",{className:i.default["text-header"],children:"Info"}),s]}),{closeButton:d,icon:n.icon[r].info,className:n.variant[r].info,...t,...o}):c==="warning"?l.toast.warning(e.jsxs("div",{children:[["solid"].includes(r)&&e.jsx("p",{className:i.default["text-header"],children:"Warning"}),s]}),{closeButton:d,icon:n.icon[r].warning,className:n.variant[r].warning,...t,...o}):l.toast(e.jsxs("div",{children:[["solid"].includes(r)&&e.jsx("p",{className:i.default["text-header"],children:"Success"}),s]}),{closeButton:d,icon:n.icon[r].success,className:n.variant[r].success,...t,...o})},C=()=>e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-5 iru-w-5",children:e.jsx("g",{id:"check-circle",children:e.jsx("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M10 18.5C12.1217 18.5 14.1566 17.6571 15.6569 16.1569C17.1571 14.6566 18 12.6217 18 10.5C18 8.37827 17.1571 6.34344 15.6569 4.84315C14.1566 3.34285 12.1217 2.5 10 2.5C7.87827 2.5 5.84344 3.34285 4.34315 4.84315C2.84285 6.34344 2 8.37827 2 10.5C2 12.6217 2.84285 14.6566 4.34315 16.1569C5.84344 17.6571 7.87827 18.5 10 18.5ZM13.707 9.207C13.8892 9.0184 13.99 8.7658 13.9877 8.5036C13.9854 8.2414 13.8802 7.99059 13.6948 7.80518C13.5094 7.61977 13.2586 7.5146 12.9964 7.51233C12.7342 7.51005 12.4816 7.61084 12.293 7.793L9 11.086L7.707 9.793C7.5184 9.61084 7.2658 9.51005 7.0036 9.51233C6.7414 9.5146 6.49059 9.61977 6.30518 9.80518C6.11977 9.99059 6.0146 10.2414 6.01233 10.5036C6.01005 10.7658 6.11084 11.0184 6.293 11.207L8.293 13.207C8.48053 13.3945 8.73484 13.4998 9 13.4998C9.26516 13.4998 9.51947 13.3945 9.707 13.207L13.707 9.207Z",fill:"#388E3C"})})}),u=()=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-6 iru-w-6",children:e.jsxs("g",{id:"circle",children:[e.jsx("path",{id:"Vector",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",stroke:"#038C67",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{id:"Vector_2",d:"M9 12L11 14L15 10",stroke:"#038C67",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),x=()=>e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-5 iru-w-5",children:e.jsx("g",{id:"exclamation-circle",children:e.jsx("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M18 10.5C18 12.6217 17.1571 14.6566 15.6569 16.1569C14.1566 17.6571 12.1217 18.5 10 18.5C7.87827 18.5 5.84344 17.6571 4.34315 16.1569C2.84285 14.6566 2 12.6217 2 10.5C2 8.37827 2.84285 6.34344 4.34315 4.84315C5.84344 3.34285 7.87827 2.5 10 2.5C12.1217 2.5 14.1566 3.34285 15.6569 4.84315C17.1571 6.34344 18 8.37827 18 10.5ZM11 14.5C11 14.7652 10.8946 15.0196 10.7071 15.2071C10.5196 15.3946 10.2652 15.5 10 15.5C9.73478 15.5 9.48043 15.3946 9.29289 15.2071C9.10536 15.0196 9 14.7652 9 14.5C9 14.2348 9.10536 13.9804 9.29289 13.7929C9.48043 13.6054 9.73478 13.5 10 13.5C10.2652 13.5 10.5196 13.6054 10.7071 13.7929C10.8946 13.9804 11 14.2348 11 14.5ZM10 5.5C9.73478 5.5 9.48043 5.60536 9.29289 5.79289C9.10536 5.98043 9 6.23478 9 6.5V10.5C9 10.7652 9.10536 11.0196 9.29289 11.2071C9.48043 11.3946 9.73478 11.5 10 11.5C10.2652 11.5 10.5196 11.3946 10.7071 11.2071C10.8946 11.0196 11 10.7652 11 10.5V6.5C11 6.23478 10.8946 5.98043 10.7071 5.79289C10.5196 5.60536 10.2652 5.5 10 5.5Z",fill:"#F44336"})})}),h=()=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-6 iru-w-6",children:e.jsxs("g",{id:"alert",children:[e.jsx("path",{id:"Vector",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",stroke:"#006DFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{id:"Vector_2",d:"M12 8V12",stroke:"#006DFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{id:"Vector_3",d:"M12 16H12.01",stroke:"#006DFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),j=()=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-6 iru-w-6",children:e.jsxs("g",{id:"alert",children:[e.jsx("path",{id:"Vector",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",stroke:"#ED0019",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{id:"Vector_2",d:"M12 8V12",stroke:"#ED0019",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{id:"Vector_3",d:"M12 16H12.01",stroke:"#ED0019",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),w=()=>e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-5 iru-w-5",children:e.jsx("g",{id:"exclamation",children:e.jsx("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M8.25697 3.59898C9.02197 2.23898 10.979 2.23898 11.743 3.59898L17.323 13.519C18.073 14.853 17.11 16.499 15.581 16.499H4.41997C2.88997 16.499 1.92697 14.853 2.67697 13.519L8.25697 3.59898ZM11 13.5C11 13.7652 10.8946 14.0196 10.7071 14.2071C10.5195 14.3946 10.2652 14.5 9.99997 14.5C9.73475 14.5 9.4804 14.3946 9.29286 14.2071C9.10533 14.0196 8.99997 13.7652 8.99997 13.5C8.99997 13.2348 9.10533 12.9804 9.29286 12.7929C9.4804 12.6053 9.73475 12.5 9.99997 12.5C10.2652 12.5 10.5195 12.6053 10.7071 12.7929C10.8946 12.9804 11 13.2348 11 13.5ZM9.99997 5.49998C9.73475 5.49998 9.4804 5.60534 9.29286 5.79287C9.10533 5.98041 8.99997 6.23476 8.99997 6.49998V9.49998C8.99997 9.7652 9.10533 10.0195 9.29286 10.2071C9.4804 10.3946 9.73475 10.5 9.99997 10.5C10.2652 10.5 10.5195 10.3946 10.7071 10.2071C10.8946 10.0195 11 9.7652 11 9.49998V6.49998C11 6.23476 10.8946 5.98041 10.7071 5.79287C10.5195 5.60534 10.2652 5.49998 9.99997 5.49998Z",fill:"#F9A825"})})}),f=()=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-6 iru-w-6",children:e.jsxs("g",{id:"alert",children:[e.jsx("path",{id:"Vector",d:"M12 15V15.01M12 9V11V9Z",stroke:"#FF7200",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{id:"Vector_2",d:"M5 19H19C19.3263 18.9977 19.6471 18.9156 19.9344 18.7609C20.2217 18.6061 20.4667 18.3835 20.6482 18.1123C20.8297 17.841 20.942 17.5296 20.9754 17.205C21.0089 16.8804 20.9624 16.5525 20.84 16.25L13.74 4.00002C13.567 3.68741 13.3135 3.42685 13.0058 3.2454C12.698 3.06396 12.3473 2.96826 11.99 2.96826C11.6327 2.96826 11.282 3.06396 10.9742 3.2454C10.6665 3.42685 10.413 3.68741 10.24 4.00002L3.14 16.25C3.01994 16.5456 2.97233 16.8656 3.00115 17.1833C3.02997 17.501 3.13437 17.8073 3.30565 18.0764C3.47693 18.3456 3.71011 18.5698 3.98573 18.7305C4.26134 18.8912 4.57139 18.9836 4.89 19",stroke:"#FF7200",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),g=()=>e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"iru-h-5 iru-w-5",children:e.jsx("g",{id:"information-circle",children:e.jsx("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M18 10.5C18 12.6217 17.1571 14.6566 15.6569 16.1569C14.1566 17.6571 12.1217 18.5 10 18.5C7.87827 18.5 5.84344 17.6571 4.34315 16.1569C2.84285 14.6566 2 12.6217 2 10.5C2 8.37827 2.84285 6.34344 4.34315 4.84315C5.84344 3.34285 7.87827 2.5 10 2.5C12.1217 2.5 14.1566 3.34285 15.6569 4.84315C17.1571 6.34344 18 8.37827 18 10.5ZM11 6.5C11 6.76522 10.8946 7.01957 10.7071 7.20711C10.5196 7.39464 10.2652 7.5 10 7.5C9.73478 7.5 9.48043 7.39464 9.29289 7.20711C9.10536 7.01957 9 6.76522 9 6.5C9 6.23478 9.10536 5.98043 9.29289 5.79289C9.48043 5.60536 9.73478 5.5 10 5.5C10.2652 5.5 10.5196 5.60536 10.7071 5.79289C10.8946 5.98043 11 6.23478 11 6.5ZM9 9.5C8.73478 9.5 8.48043 9.60536 8.29289 9.79289C8.10536 9.98043 8 10.2348 8 10.5C8 10.7652 8.10536 11.0196 8.29289 11.2071C8.48043 11.3946 8.73478 11.5 9 11.5V14.5C9 14.7652 9.10536 15.0196 9.29289 15.2071C9.48043 15.3946 9.73478 15.5 10 15.5H11C11.2652 15.5 11.5196 15.3946 11.7071 15.2071C11.8946 15.0196 12 14.7652 12 14.5C12 14.2348 11.8946 13.9804 11.7071 13.7929C11.5196 13.6054 11.2652 13.5 11 13.5V10.5C11 10.2348 10.8946 9.98043 10.7071 9.79289C10.5196 9.60536 10.2652 9.5 10 9.5H9Z",fill:"#0288D1"})})});exports.openAlert=a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { toast as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
const
|
|
2
|
+
import { toast as c } from "react-toastify";
|
|
3
|
+
import i from "./style.module.scss.mjs";
|
|
4
|
+
const d = ({ closeToast: t }) => /* @__PURE__ */ e("button", { onClick: t, className: i["icon-close"], children: "✕" }), L = (t, C, l) => {
|
|
5
|
+
const r = l?.variant ?? "outline", s = {
|
|
6
6
|
position: "top-center",
|
|
7
7
|
autoClose: 2e3,
|
|
8
8
|
hideProgressBar: !0,
|
|
@@ -12,79 +12,83 @@ const x = (l, c, t) => {
|
|
|
12
12
|
}, n = {
|
|
13
13
|
icon: {
|
|
14
14
|
solid: {
|
|
15
|
-
success: /* @__PURE__ */ e(
|
|
16
|
-
warning: /* @__PURE__ */ e(
|
|
17
|
-
error: /* @__PURE__ */ e(
|
|
18
|
-
info: /* @__PURE__ */ e(
|
|
15
|
+
success: /* @__PURE__ */ e(u, {}),
|
|
16
|
+
warning: /* @__PURE__ */ e(v, {}),
|
|
17
|
+
error: /* @__PURE__ */ e(k, {}),
|
|
18
|
+
info: /* @__PURE__ */ e(w, {})
|
|
19
19
|
},
|
|
20
20
|
outline: {
|
|
21
|
-
success: /* @__PURE__ */ e(
|
|
21
|
+
success: /* @__PURE__ */ e(a, {}),
|
|
22
22
|
warning: /* @__PURE__ */ e(g, {}),
|
|
23
|
-
error: /* @__PURE__ */ e(
|
|
24
|
-
info: /* @__PURE__ */ e(
|
|
23
|
+
error: /* @__PURE__ */ e(h, {}),
|
|
24
|
+
info: /* @__PURE__ */ e(p, {})
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
variant: {
|
|
28
28
|
solid: {
|
|
29
|
-
success:
|
|
30
|
-
error:
|
|
31
|
-
warning:
|
|
32
|
-
info:
|
|
29
|
+
success: i["alert-success-filled"],
|
|
30
|
+
error: i["alert-error-filled"],
|
|
31
|
+
warning: i["alert-warning-filled"],
|
|
32
|
+
info: i["alert-info-filled"]
|
|
33
33
|
},
|
|
34
34
|
outline: {
|
|
35
|
-
success:
|
|
36
|
-
error:
|
|
37
|
-
warning:
|
|
38
|
-
info:
|
|
35
|
+
success: i["alert-success-outlined"],
|
|
36
|
+
error: i["alert-error-outlined"],
|
|
37
|
+
warning: i["alert-warning-outlined"],
|
|
38
|
+
info: i["alert-info-outlined"]
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
return
|
|
42
|
+
return C === "error" ? c.error(
|
|
43
43
|
/* @__PURE__ */ o("div", { children: [
|
|
44
|
-
["solid"].includes(
|
|
45
|
-
|
|
44
|
+
["solid"].includes(r) && /* @__PURE__ */ e("p", { className: i["text-header"], children: "Error" }),
|
|
45
|
+
t
|
|
46
46
|
] }),
|
|
47
47
|
{
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
closeButton: d,
|
|
49
|
+
icon: n.icon[r].error,
|
|
50
|
+
className: n.variant[r].error,
|
|
50
51
|
...s,
|
|
51
|
-
...
|
|
52
|
+
...l
|
|
52
53
|
}
|
|
53
|
-
) :
|
|
54
|
+
) : C === "info" ? c.info(
|
|
54
55
|
/* @__PURE__ */ o("div", { children: [
|
|
55
|
-
["solid"].includes(
|
|
56
|
-
|
|
56
|
+
["solid"].includes(r) && /* @__PURE__ */ e("p", { className: i["text-header"], children: "Info" }),
|
|
57
|
+
t
|
|
57
58
|
] }),
|
|
58
59
|
{
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
closeButton: d,
|
|
61
|
+
icon: n.icon[r].info,
|
|
62
|
+
className: n.variant[r].info,
|
|
61
63
|
...s,
|
|
62
|
-
...
|
|
64
|
+
...l
|
|
63
65
|
}
|
|
64
|
-
) :
|
|
66
|
+
) : C === "warning" ? c.warning(
|
|
65
67
|
/* @__PURE__ */ o("div", { children: [
|
|
66
|
-
["solid"].includes(
|
|
67
|
-
|
|
68
|
+
["solid"].includes(r) && /* @__PURE__ */ e("p", { className: i["text-header"], children: "Warning" }),
|
|
69
|
+
t
|
|
68
70
|
] }),
|
|
69
71
|
{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
closeButton: d,
|
|
73
|
+
icon: n.icon[r].warning,
|
|
74
|
+
className: n.variant[r].warning,
|
|
72
75
|
...s,
|
|
73
|
-
...
|
|
76
|
+
...l
|
|
74
77
|
}
|
|
75
|
-
) :
|
|
78
|
+
) : c(
|
|
76
79
|
/* @__PURE__ */ o("div", { children: [
|
|
77
|
-
["solid"].includes(
|
|
78
|
-
|
|
80
|
+
["solid"].includes(r) && /* @__PURE__ */ e("p", { className: i["text-header"], children: "Success" }),
|
|
81
|
+
t
|
|
79
82
|
] }),
|
|
80
83
|
{
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
closeButton: d,
|
|
85
|
+
icon: n.icon[r].success,
|
|
86
|
+
className: n.variant[r].success,
|
|
83
87
|
...s,
|
|
84
|
-
...
|
|
88
|
+
...l
|
|
85
89
|
}
|
|
86
90
|
);
|
|
87
|
-
},
|
|
91
|
+
}, a = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-5 iru-w-5", children: /* @__PURE__ */ e("g", { id: "check-circle", children: /* @__PURE__ */ e(
|
|
88
92
|
"path",
|
|
89
93
|
{
|
|
90
94
|
id: "Vector",
|
|
@@ -93,7 +97,7 @@ const x = (l, c, t) => {
|
|
|
93
97
|
d: "M10 18.5C12.1217 18.5 14.1566 17.6571 15.6569 16.1569C17.1571 14.6566 18 12.6217 18 10.5C18 8.37827 17.1571 6.34344 15.6569 4.84315C14.1566 3.34285 12.1217 2.5 10 2.5C7.87827 2.5 5.84344 3.34285 4.34315 4.84315C2.84285 6.34344 2 8.37827 2 10.5C2 12.6217 2.84285 14.6566 4.34315 16.1569C5.84344 17.6571 7.87827 18.5 10 18.5ZM13.707 9.207C13.8892 9.0184 13.99 8.7658 13.9877 8.5036C13.9854 8.2414 13.8802 7.99059 13.6948 7.80518C13.5094 7.61977 13.2586 7.5146 12.9964 7.51233C12.7342 7.51005 12.4816 7.61084 12.293 7.793L9 11.086L7.707 9.793C7.5184 9.61084 7.2658 9.51005 7.0036 9.51233C6.7414 9.5146 6.49059 9.61977 6.30518 9.80518C6.11977 9.99059 6.0146 10.2414 6.01233 10.5036C6.01005 10.7658 6.11084 11.0184 6.293 11.207L8.293 13.207C8.48053 13.3945 8.73484 13.4998 9 13.4998C9.26516 13.4998 9.51947 13.3945 9.707 13.207L13.707 9.207Z",
|
|
94
98
|
fill: "#388E3C"
|
|
95
99
|
}
|
|
96
|
-
) }) }),
|
|
100
|
+
) }) }), u = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-6 iru-w-6", children: /* @__PURE__ */ o("g", { id: "circle", children: [
|
|
97
101
|
/* @__PURE__ */ e(
|
|
98
102
|
"path",
|
|
99
103
|
{
|
|
@@ -116,7 +120,7 @@ const x = (l, c, t) => {
|
|
|
116
120
|
strokeLinejoin: "round"
|
|
117
121
|
}
|
|
118
122
|
)
|
|
119
|
-
] }) }),
|
|
123
|
+
] }) }), h = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-5 iru-w-5", children: /* @__PURE__ */ e("g", { id: "exclamation-circle", children: /* @__PURE__ */ e(
|
|
120
124
|
"path",
|
|
121
125
|
{
|
|
122
126
|
id: "Vector",
|
|
@@ -125,7 +129,7 @@ const x = (l, c, t) => {
|
|
|
125
129
|
d: "M18 10.5C18 12.6217 17.1571 14.6566 15.6569 16.1569C14.1566 17.6571 12.1217 18.5 10 18.5C7.87827 18.5 5.84344 17.6571 4.34315 16.1569C2.84285 14.6566 2 12.6217 2 10.5C2 8.37827 2.84285 6.34344 4.34315 4.84315C5.84344 3.34285 7.87827 2.5 10 2.5C12.1217 2.5 14.1566 3.34285 15.6569 4.84315C17.1571 6.34344 18 8.37827 18 10.5ZM11 14.5C11 14.7652 10.8946 15.0196 10.7071 15.2071C10.5196 15.3946 10.2652 15.5 10 15.5C9.73478 15.5 9.48043 15.3946 9.29289 15.2071C9.10536 15.0196 9 14.7652 9 14.5C9 14.2348 9.10536 13.9804 9.29289 13.7929C9.48043 13.6054 9.73478 13.5 10 13.5C10.2652 13.5 10.5196 13.6054 10.7071 13.7929C10.8946 13.9804 11 14.2348 11 14.5ZM10 5.5C9.73478 5.5 9.48043 5.60536 9.29289 5.79289C9.10536 5.98043 9 6.23478 9 6.5V10.5C9 10.7652 9.10536 11.0196 9.29289 11.2071C9.48043 11.3946 9.73478 11.5 10 11.5C10.2652 11.5 10.5196 11.3946 10.7071 11.2071C10.8946 11.0196 11 10.7652 11 10.5V6.5C11 6.23478 10.8946 5.98043 10.7071 5.79289C10.5196 5.60536 10.2652 5.5 10 5.5Z",
|
|
126
130
|
fill: "#F44336"
|
|
127
131
|
}
|
|
128
|
-
) }) }),
|
|
132
|
+
) }) }), w = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-6 iru-w-6", children: /* @__PURE__ */ o("g", { id: "alert", children: [
|
|
129
133
|
/* @__PURE__ */ e(
|
|
130
134
|
"path",
|
|
131
135
|
{
|
|
@@ -149,7 +153,7 @@ const x = (l, c, t) => {
|
|
|
149
153
|
strokeLinejoin: "round"
|
|
150
154
|
}
|
|
151
155
|
)
|
|
152
|
-
] }) }),
|
|
156
|
+
] }) }), k = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-6 iru-w-6", children: /* @__PURE__ */ o("g", { id: "alert", children: [
|
|
153
157
|
/* @__PURE__ */ e(
|
|
154
158
|
"path",
|
|
155
159
|
{
|
|
@@ -182,7 +186,7 @@ const x = (l, c, t) => {
|
|
|
182
186
|
d: "M8.25697 3.59898C9.02197 2.23898 10.979 2.23898 11.743 3.59898L17.323 13.519C18.073 14.853 17.11 16.499 15.581 16.499H4.41997C2.88997 16.499 1.92697 14.853 2.67697 13.519L8.25697 3.59898ZM11 13.5C11 13.7652 10.8946 14.0196 10.7071 14.2071C10.5195 14.3946 10.2652 14.5 9.99997 14.5C9.73475 14.5 9.4804 14.3946 9.29286 14.2071C9.10533 14.0196 8.99997 13.7652 8.99997 13.5C8.99997 13.2348 9.10533 12.9804 9.29286 12.7929C9.4804 12.6053 9.73475 12.5 9.99997 12.5C10.2652 12.5 10.5195 12.6053 10.7071 12.7929C10.8946 12.9804 11 13.2348 11 13.5ZM9.99997 5.49998C9.73475 5.49998 9.4804 5.60534 9.29286 5.79287C9.10533 5.98041 8.99997 6.23476 8.99997 6.49998V9.49998C8.99997 9.7652 9.10533 10.0195 9.29286 10.2071C9.4804 10.3946 9.73475 10.5 9.99997 10.5C10.2652 10.5 10.5195 10.3946 10.7071 10.2071C10.8946 10.0195 11 9.7652 11 9.49998V6.49998C11 6.23476 10.8946 5.98041 10.7071 5.79287C10.5195 5.60534 10.2652 5.49998 9.99997 5.49998Z",
|
|
183
187
|
fill: "#F9A825"
|
|
184
188
|
}
|
|
185
|
-
) }) }),
|
|
189
|
+
) }) }), v = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-6 iru-w-6", children: /* @__PURE__ */ o("g", { id: "alert", children: [
|
|
186
190
|
/* @__PURE__ */ e(
|
|
187
191
|
"path",
|
|
188
192
|
{
|
|
@@ -205,7 +209,7 @@ const x = (l, c, t) => {
|
|
|
205
209
|
strokeLinejoin: "round"
|
|
206
210
|
}
|
|
207
211
|
)
|
|
208
|
-
] }) }),
|
|
212
|
+
] }) }), p = () => /* @__PURE__ */ e("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "iru-h-5 iru-w-5", children: /* @__PURE__ */ e("g", { id: "information-circle", children: /* @__PURE__ */ e(
|
|
209
213
|
"path",
|
|
210
214
|
{
|
|
211
215
|
id: "Vector",
|
|
@@ -216,5 +220,5 @@ const x = (l, c, t) => {
|
|
|
216
220
|
}
|
|
217
221
|
) }) });
|
|
218
222
|
export {
|
|
219
|
-
|
|
223
|
+
L as openAlert
|
|
220
224
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={"alert-info-filled":"_alert-info-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={"alert-info-filled":"_alert-info-filled_w7xoi_1","alert-warning-filled":"_alert-warning-filled_w7xoi_1","alert-error-filled":"_alert-error-filled_w7xoi_1","alert-success-filled":"_alert-success-filled_w7xoi_1","alert-info-outlined":"_alert-info-outlined_w7xoi_1","alert-warning-outlined":"_alert-warning-outlined_w7xoi_1","alert-error-outlined":"_alert-error-outlined_w7xoi_1","alert-success-outlined":"_alert-success-outlined_w7xoi_1","text-header":"_text-header_w7xoi_95","icon-close":"_icon-close_w7xoi_104"};exports.default=e;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
"alert-info-filled": "_alert-info-
|
|
3
|
-
"alert-warning-filled": "_alert-warning-
|
|
4
|
-
"alert-error-filled": "_alert-error-
|
|
5
|
-
"alert-success-filled": "_alert-success-
|
|
6
|
-
"alert-info-outlined": "_alert-info-
|
|
7
|
-
"alert-warning-outlined": "_alert-warning-
|
|
8
|
-
"alert-error-outlined": "_alert-error-
|
|
9
|
-
"alert-success-outlined": "_alert-success-
|
|
10
|
-
"text-header": "_text-
|
|
1
|
+
const e = {
|
|
2
|
+
"alert-info-filled": "_alert-info-filled_w7xoi_1",
|
|
3
|
+
"alert-warning-filled": "_alert-warning-filled_w7xoi_1",
|
|
4
|
+
"alert-error-filled": "_alert-error-filled_w7xoi_1",
|
|
5
|
+
"alert-success-filled": "_alert-success-filled_w7xoi_1",
|
|
6
|
+
"alert-info-outlined": "_alert-info-outlined_w7xoi_1",
|
|
7
|
+
"alert-warning-outlined": "_alert-warning-outlined_w7xoi_1",
|
|
8
|
+
"alert-error-outlined": "_alert-error-outlined_w7xoi_1",
|
|
9
|
+
"alert-success-outlined": "_alert-success-outlined_w7xoi_1",
|
|
10
|
+
"text-header": "_text-header_w7xoi_95",
|
|
11
|
+
"icon-close": "_icon-close_w7xoi_104"
|
|
11
12
|
};
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
e as default
|
|
14
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./style.module.scss.cjs"),l=require("../../config/components/typography.cjs"),a=require("../../config/components/font.cjs"),t={variants:{"filled-gray-600":e.default["filled-gray-600"],"filled-green-600":e.default["filled-green-600"],"filled-red-500":e.default["filled-red-500"],"filled-blue-600":e.default["filled-blue-600"],"filled-amber-800":e.default["filled-amber-800"],"filled-pink-600":e.default["filled-pink-600"],"filled-lime-700":e.default["filled-lime-700"],"filled-lime-900-bg_lime-100":e.default["filled-lime-900-bg_lime-100"],"filled-red-900":e.default["filled-red-900"],"filled-laba-green-10":e.default["filled-laba-green-10"],"filled-green-50":e.default["filled-green-50"],"filled-blue-gray-50":e.default["filled-blue-gray-50"],"filled-cyan-800-bg_cyan-100":e.default["filled-cyan-800-bg_cyan-100"],"ghost-laba-orange-01":e.default["ghost-laba-orange-01"],"ghost-laba-green-01":e.default["ghost-laba-green-01"],"ghost-laba-green-02":e.default["ghost-laba-green-02"],"ghost-laba-blue-02":e.default["ghost-laba-blue-02"],"ghost-laba-blue-01":e.default["ghost-laba-blue-01"],"ghost-gray-200":e.default["ghost-gray-200"],"ghost-green-100":e.default["ghost-green-100"],"ghost-red-100":e.default["ghost-red-100"],"ghost-blue-100":e.default["ghost-blue-100"],"ghost-amber-100":e.default["ghost-amber-100"],"ghost-laba-grey-05":e.default["ghost-laba-grey-05"],"ghost-laba-red-01":e.default["ghost-laba-red-01"],"outline-gray-600":e.default["outline-gray-600"],"outline-green-600":e.default["outline-green-600"],"outline-red-500":e.default["outline-red-500"],"outline-blue-600":e.default["outline-blue-600"],"outline-amber-800":e.default["outline-amber-800"],"outline-laba-blue-01":e.default["outline-laba-blue-01"],"outline-laba-orange-06":e.default["outline-laba-orange-06"],"outline-laba-orange-06-bg_laba-orange-01":e.default["outline-laba-orange-06-bg_laba-orange-01"],"outline-laba-green-06":e.default["outline-laba-green-06"],"outline-laba-red-06":e.default["outline-laba-red-06"]},fonts:a.configFont,typography:l.configtypography};exports.configBadges=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./style.module.scss.cjs"),l=require("../../config/components/typography.cjs"),a=require("../../config/components/font.cjs"),t={variants:{"filled-gray-600":e.default["filled-gray-600"],"filled-green-600":e.default["filled-green-600"],"filled-red-500":e.default["filled-red-500"],"filled-blue-600":e.default["filled-blue-600"],"filled-amber-800":e.default["filled-amber-800"],"filled-pink-600":e.default["filled-pink-600"],"filled-lime-700":e.default["filled-lime-700"],"filled-lime-900-bg_lime-100":e.default["filled-lime-900-bg_lime-100"],"filled-red-900":e.default["filled-red-900"],"filled-laba-green-10":e.default["filled-laba-green-10"],"filled-green-50":e.default["filled-green-50"],"filled-blue-gray-50":e.default["filled-blue-gray-50"],"filled-cyan-800-bg_cyan-100":e.default["filled-cyan-800-bg_cyan-100"],"filled-blue-gray-800":e.default["filled-blue-gray-800"],"filled-green-700":e.default["filled-blue-gray-800"],"filled-red-800":e.default["filled-blue-gray-800"],"filled-light-blue-800":e.default["filled-blue-gray-800"],"filled-orange-400":e.default["filled-blue-gray-800"],"ghost-laba-orange-01":e.default["ghost-laba-orange-01"],"ghost-laba-green-01":e.default["ghost-laba-green-01"],"ghost-laba-green-02":e.default["ghost-laba-green-02"],"ghost-laba-blue-02":e.default["ghost-laba-blue-02"],"ghost-laba-blue-01":e.default["ghost-laba-blue-01"],"ghost-gray-200":e.default["ghost-gray-200"],"ghost-green-100":e.default["ghost-green-100"],"ghost-red-100":e.default["ghost-red-100"],"ghost-blue-100":e.default["ghost-blue-100"],"ghost-amber-100":e.default["ghost-amber-100"],"ghost-laba-grey-05":e.default["ghost-laba-grey-05"],"ghost-laba-red-01":e.default["ghost-laba-red-01"],"ghost-blue-gray-600":e.default["ghost-blue-gray-600"],"ghost-green-700":e.default["ghost-green-700"],"ghost-red-600":e.default["ghost-red-600"],"ghost-light-blue-800":e.default["ghost-light-blue-800"],"ghost-orange-600":e.default["ghost-orange-600"],"outline-gray-600":e.default["outline-gray-600"],"outline-green-600":e.default["outline-green-600"],"outline-red-500":e.default["outline-red-500"],"outline-blue-600":e.default["outline-blue-600"],"outline-amber-800":e.default["outline-amber-800"],"outline-laba-blue-01":e.default["outline-laba-blue-01"],"outline-laba-orange-06":e.default["outline-laba-orange-06"],"outline-laba-orange-06-bg_laba-orange-01":e.default["outline-laba-orange-06-bg_laba-orange-01"],"outline-laba-green-06":e.default["outline-laba-green-06"],"outline-laba-red-06":e.default["outline-laba-red-06"],"outline-blue-gray-600":e.default["outline-blue-gray-600"],"outline-green-700":e.default["outline-green-700"],"outline-red-600":e.default["outline-red-600"],"outline-light-blue-800":e.default["outline-light-blue-800"],"outline-orange-600":e.default["outline-orange-600"]},fonts:a.configFont,typography:l.configtypography};exports.configBadges=t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "./style.module.scss.mjs";
|
|
2
2
|
import { configtypography as l } from "../../config/components/typography.mjs";
|
|
3
|
-
import { configFont as
|
|
3
|
+
import { configFont as g } from "../../config/components/font.mjs";
|
|
4
4
|
const i = {
|
|
5
5
|
variants: {
|
|
6
6
|
"filled-gray-600": e["filled-gray-600"],
|
|
@@ -16,6 +16,11 @@ const i = {
|
|
|
16
16
|
"filled-green-50": e["filled-green-50"],
|
|
17
17
|
"filled-blue-gray-50": e["filled-blue-gray-50"],
|
|
18
18
|
"filled-cyan-800-bg_cyan-100": e["filled-cyan-800-bg_cyan-100"],
|
|
19
|
+
"filled-blue-gray-800": e["filled-blue-gray-800"],
|
|
20
|
+
"filled-green-700": e["filled-blue-gray-800"],
|
|
21
|
+
"filled-red-800": e["filled-blue-gray-800"],
|
|
22
|
+
"filled-light-blue-800": e["filled-blue-gray-800"],
|
|
23
|
+
"filled-orange-400": e["filled-blue-gray-800"],
|
|
19
24
|
"ghost-laba-orange-01": e["ghost-laba-orange-01"],
|
|
20
25
|
"ghost-laba-green-01": e["ghost-laba-green-01"],
|
|
21
26
|
"ghost-laba-green-02": e["ghost-laba-green-02"],
|
|
@@ -28,6 +33,11 @@ const i = {
|
|
|
28
33
|
"ghost-amber-100": e["ghost-amber-100"],
|
|
29
34
|
"ghost-laba-grey-05": e["ghost-laba-grey-05"],
|
|
30
35
|
"ghost-laba-red-01": e["ghost-laba-red-01"],
|
|
36
|
+
"ghost-blue-gray-600": e["ghost-blue-gray-600"],
|
|
37
|
+
"ghost-green-700": e["ghost-green-700"],
|
|
38
|
+
"ghost-red-600": e["ghost-red-600"],
|
|
39
|
+
"ghost-light-blue-800": e["ghost-light-blue-800"],
|
|
40
|
+
"ghost-orange-600": e["ghost-orange-600"],
|
|
31
41
|
"outline-gray-600": e["outline-gray-600"],
|
|
32
42
|
"outline-green-600": e["outline-green-600"],
|
|
33
43
|
"outline-red-500": e["outline-red-500"],
|
|
@@ -37,9 +47,14 @@ const i = {
|
|
|
37
47
|
"outline-laba-orange-06": e["outline-laba-orange-06"],
|
|
38
48
|
"outline-laba-orange-06-bg_laba-orange-01": e["outline-laba-orange-06-bg_laba-orange-01"],
|
|
39
49
|
"outline-laba-green-06": e["outline-laba-green-06"],
|
|
40
|
-
"outline-laba-red-06": e["outline-laba-red-06"]
|
|
50
|
+
"outline-laba-red-06": e["outline-laba-red-06"],
|
|
51
|
+
"outline-blue-gray-600": e["outline-blue-gray-600"],
|
|
52
|
+
"outline-green-700": e["outline-green-700"],
|
|
53
|
+
"outline-red-600": e["outline-red-600"],
|
|
54
|
+
"outline-light-blue-800": e["outline-light-blue-800"],
|
|
55
|
+
"outline-orange-600": e["outline-orange-600"]
|
|
41
56
|
},
|
|
42
|
-
fonts:
|
|
57
|
+
fonts: g,
|
|
43
58
|
typography: l
|
|
44
59
|
};
|
|
45
60
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={"outline-laba-red-06":"_outline-laba-red-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={"outline-orange-600":"_outline-orange-600_704ua_1","outline-light-blue-800":"_outline-light-blue-800_704ua_1","outline-red-600":"_outline-red-600_704ua_1","outline-green-700":"_outline-green-700_704ua_1","outline-blue-gray-600":"_outline-blue-gray-600_704ua_1","outline-laba-red-06":"_outline-laba-red-06_704ua_1","outline-laba-green-06":"_outline-laba-green-06_704ua_1","outline-laba-orange-06-bg_laba-orange-01":"_outline-laba-orange-06-bg_laba-orange-01_704ua_1","outline-laba-orange-06":"_outline-laba-orange-06_704ua_1","outline-laba-blue-01":"_outline-laba-blue-01_704ua_1","outline-amber-800":"_outline-amber-800_704ua_1","outline-blue-600":"_outline-blue-600_704ua_1","outline-red-500":"_outline-red-500_704ua_1","outline-green-600":"_outline-green-600_704ua_1","outline-gray-600":"_outline-gray-600_704ua_1","ghost-orange-600":"_ghost-orange-600_704ua_1","ghost-light-blue-800":"_ghost-light-blue-800_704ua_1","ghost-red-600":"_ghost-red-600_704ua_1","ghost-green-700":"_ghost-green-700_704ua_1","ghost-blue-gray-600":"_ghost-blue-gray-600_704ua_1","ghost-laba-red-01":"_ghost-laba-red-01_704ua_1","ghost-laba-grey-05":"_ghost-laba-grey-05_704ua_1","ghost-laba-blue-01":"_ghost-laba-blue-01_704ua_1","ghost-laba-blue-02":"_ghost-laba-blue-02_704ua_1","ghost-laba-green-02":"_ghost-laba-green-02_704ua_1","ghost-laba-green-01":"_ghost-laba-green-01_704ua_1","ghost-laba-orange-01":"_ghost-laba-orange-01_704ua_1","ghost-amber-100":"_ghost-amber-100_704ua_1","ghost-blue-100":"_ghost-blue-100_704ua_1","ghost-red-100":"_ghost-red-100_704ua_1","ghost-green-100":"_ghost-green-100_704ua_1","ghost-gray-200":"_ghost-gray-200_704ua_1","filled-blue-gray-800":"_filled-blue-gray-800_704ua_1","filled-cyan-800-bg_cyan-100":"_filled-cyan-800-bg_cyan-100_704ua_1","filled-laba-green-10":"_filled-laba-green-10_704ua_1","filled-blue-gray-50":"_filled-blue-gray-50_704ua_1","filled-green-50":"_filled-green-50_704ua_1","filled-red-900":"_filled-red-900_704ua_1","filled-lime-900-bg_lime-100":"_filled-lime-900-bg_lime-100_704ua_1","filled-lime-700":"_filled-lime-700_704ua_1","filled-amber-800":"_filled-amber-800_704ua_1","filled-pink-600":"_filled-pink-600_704ua_1","filled-blue-600":"_filled-blue-600_704ua_1","filled-red-500":"_filled-red-500_704ua_1","filled-green-600":"_filled-green-600_704ua_1","filled-gray-600":"_filled-gray-600_704ua_1"};exports.default=e;
|
|
@@ -1,39 +1,50 @@
|
|
|
1
1
|
const e = {
|
|
2
|
-
"outline-
|
|
3
|
-
"outline-
|
|
4
|
-
"outline-
|
|
5
|
-
"outline-
|
|
6
|
-
"outline-
|
|
7
|
-
"outline-
|
|
8
|
-
"outline-
|
|
9
|
-
"outline-
|
|
10
|
-
"outline-
|
|
11
|
-
"outline-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"ghost-
|
|
18
|
-
"ghost-
|
|
19
|
-
"ghost-
|
|
20
|
-
"ghost-
|
|
21
|
-
"ghost-
|
|
22
|
-
"ghost-
|
|
23
|
-
"ghost-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"filled-
|
|
35
|
-
"filled-
|
|
36
|
-
"filled-
|
|
2
|
+
"outline-orange-600": "_outline-orange-600_704ua_1",
|
|
3
|
+
"outline-light-blue-800": "_outline-light-blue-800_704ua_1",
|
|
4
|
+
"outline-red-600": "_outline-red-600_704ua_1",
|
|
5
|
+
"outline-green-700": "_outline-green-700_704ua_1",
|
|
6
|
+
"outline-blue-gray-600": "_outline-blue-gray-600_704ua_1",
|
|
7
|
+
"outline-laba-red-06": "_outline-laba-red-06_704ua_1",
|
|
8
|
+
"outline-laba-green-06": "_outline-laba-green-06_704ua_1",
|
|
9
|
+
"outline-laba-orange-06-bg_laba-orange-01": "_outline-laba-orange-06-bg_laba-orange-01_704ua_1",
|
|
10
|
+
"outline-laba-orange-06": "_outline-laba-orange-06_704ua_1",
|
|
11
|
+
"outline-laba-blue-01": "_outline-laba-blue-01_704ua_1",
|
|
12
|
+
"outline-amber-800": "_outline-amber-800_704ua_1",
|
|
13
|
+
"outline-blue-600": "_outline-blue-600_704ua_1",
|
|
14
|
+
"outline-red-500": "_outline-red-500_704ua_1",
|
|
15
|
+
"outline-green-600": "_outline-green-600_704ua_1",
|
|
16
|
+
"outline-gray-600": "_outline-gray-600_704ua_1",
|
|
17
|
+
"ghost-orange-600": "_ghost-orange-600_704ua_1",
|
|
18
|
+
"ghost-light-blue-800": "_ghost-light-blue-800_704ua_1",
|
|
19
|
+
"ghost-red-600": "_ghost-red-600_704ua_1",
|
|
20
|
+
"ghost-green-700": "_ghost-green-700_704ua_1",
|
|
21
|
+
"ghost-blue-gray-600": "_ghost-blue-gray-600_704ua_1",
|
|
22
|
+
"ghost-laba-red-01": "_ghost-laba-red-01_704ua_1",
|
|
23
|
+
"ghost-laba-grey-05": "_ghost-laba-grey-05_704ua_1",
|
|
24
|
+
"ghost-laba-blue-01": "_ghost-laba-blue-01_704ua_1",
|
|
25
|
+
"ghost-laba-blue-02": "_ghost-laba-blue-02_704ua_1",
|
|
26
|
+
"ghost-laba-green-02": "_ghost-laba-green-02_704ua_1",
|
|
27
|
+
"ghost-laba-green-01": "_ghost-laba-green-01_704ua_1",
|
|
28
|
+
"ghost-laba-orange-01": "_ghost-laba-orange-01_704ua_1",
|
|
29
|
+
"ghost-amber-100": "_ghost-amber-100_704ua_1",
|
|
30
|
+
"ghost-blue-100": "_ghost-blue-100_704ua_1",
|
|
31
|
+
"ghost-red-100": "_ghost-red-100_704ua_1",
|
|
32
|
+
"ghost-green-100": "_ghost-green-100_704ua_1",
|
|
33
|
+
"ghost-gray-200": "_ghost-gray-200_704ua_1",
|
|
34
|
+
"filled-blue-gray-800": "_filled-blue-gray-800_704ua_1",
|
|
35
|
+
"filled-cyan-800-bg_cyan-100": "_filled-cyan-800-bg_cyan-100_704ua_1",
|
|
36
|
+
"filled-laba-green-10": "_filled-laba-green-10_704ua_1",
|
|
37
|
+
"filled-blue-gray-50": "_filled-blue-gray-50_704ua_1",
|
|
38
|
+
"filled-green-50": "_filled-green-50_704ua_1",
|
|
39
|
+
"filled-red-900": "_filled-red-900_704ua_1",
|
|
40
|
+
"filled-lime-900-bg_lime-100": "_filled-lime-900-bg_lime-100_704ua_1",
|
|
41
|
+
"filled-lime-700": "_filled-lime-700_704ua_1",
|
|
42
|
+
"filled-amber-800": "_filled-amber-800_704ua_1",
|
|
43
|
+
"filled-pink-600": "_filled-pink-600_704ua_1",
|
|
44
|
+
"filled-blue-600": "_filled-blue-600_704ua_1",
|
|
45
|
+
"filled-red-500": "_filled-red-500_704ua_1",
|
|
46
|
+
"filled-green-600": "_filled-green-600_704ua_1",
|
|
47
|
+
"filled-gray-600": "_filled-gray-600_704ua_1"
|
|
37
48
|
};
|
|
38
49
|
export {
|
|
39
50
|
e as default
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),
|
|
2
|
-
${
|
|
3
|
-
${l?c.configBreadcrumbs.gapAction[l]:""}`,children:[y
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),P=require("react"),r=require("./style.module.scss.cjs"),c=require("./Breadcrumbs.config.cjs"),R=({as:g,variants:b="laba-blue-10",fonts:v="lato",urls:a=[],textBreadcrumbs:h=[],onClickBreadcrumbs:i=[],gapAction:l,gapUrls:f,className:j,textAction:y="Kembali",iconAction:N,onClickAction:n,onClickUrls:o,separator:q=">",propsLink:d,classNameAction:B,classNameUrl:_,renderAction:m,...u})=>{const M=g??"div",$=s=>!!(Array.isArray(a)&&a.length>0&&a.length-1===s);return t.jsxs("div",{className:`${c.configBreadcrumbs.fonts[v]} ${c.configBreadcrumbs.variants[b]}
|
|
2
|
+
${j??""}`,...u,children:[n&&t.jsxs("div",{id:`${u?.id}-back`,onClick:n,className:`${r.default.action} ${B??""}
|
|
3
|
+
${l?c.configBreadcrumbs.gapAction[l]:""}`,children:[N,y]}),typeof m=="function"&&m(),t.jsx("div",{className:`${r.default.urls} ${f?c.configBreadcrumbs.gapUrls[f]:""}`,children:a?.map((s,e)=>t.jsxs(P.Fragment,{children:[t.jsx(M,{id:`${u?.id}-item-${e}`,className:`${r.default.url} ${$(e)?r.default.active:""} ${_??""}`,onClick:()=>{i?.[e]!==void 0&&typeof i[e]=="function"?i[e]():typeof o=="function"&&o(s)},...d?d(s,e,a):{},children:h[e]}),!$(e)&&t.jsx("div",{className:r.default.sparator,children:q})]},e))})]})};exports.default=R;
|
|
@@ -1,62 +1,64 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as m, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as q } from "react";
|
|
3
3
|
import r from "./style.module.scss.mjs";
|
|
4
|
-
import { configBreadcrumbs as
|
|
4
|
+
import { configBreadcrumbs as i } from "./Breadcrumbs.config.mjs";
|
|
5
5
|
const D = ({
|
|
6
|
-
as:
|
|
7
|
-
variants:
|
|
8
|
-
fonts:
|
|
6
|
+
as: v,
|
|
7
|
+
variants: g = "laba-blue-10",
|
|
8
|
+
fonts: y = "lato",
|
|
9
9
|
urls: t = [],
|
|
10
|
-
textBreadcrumbs:
|
|
11
|
-
onClickBreadcrumbs:
|
|
12
|
-
gapAction:
|
|
13
|
-
gapUrls:
|
|
14
|
-
className:
|
|
15
|
-
textAction:
|
|
16
|
-
iconAction:
|
|
17
|
-
onClickAction:
|
|
10
|
+
textBreadcrumbs: N = [],
|
|
11
|
+
onClickBreadcrumbs: c = [],
|
|
12
|
+
gapAction: s,
|
|
13
|
+
gapUrls: l,
|
|
14
|
+
className: b,
|
|
15
|
+
textAction: p = "Kembali",
|
|
16
|
+
iconAction: j,
|
|
17
|
+
onClickAction: $,
|
|
18
18
|
onClickUrls: n,
|
|
19
|
-
separator:
|
|
20
|
-
propsLink:
|
|
21
|
-
classNameAction:
|
|
22
|
-
classNameUrl:
|
|
19
|
+
separator: F = ">",
|
|
20
|
+
propsLink: d,
|
|
21
|
+
classNameAction: K,
|
|
22
|
+
classNameUrl: P,
|
|
23
23
|
renderAction: h,
|
|
24
|
-
...
|
|
24
|
+
...f
|
|
25
25
|
}) => {
|
|
26
|
-
const T =
|
|
27
|
-
return /* @__PURE__ */
|
|
26
|
+
const T = v ?? "div", u = (e) => !!(Array.isArray(t) && t.length > 0 && t.length - 1 === e);
|
|
27
|
+
return /* @__PURE__ */ m(
|
|
28
28
|
"div",
|
|
29
29
|
{
|
|
30
|
-
className: `${
|
|
31
|
-
${
|
|
32
|
-
...
|
|
30
|
+
className: `${i.fonts[y]} ${i.variants[g]}
|
|
31
|
+
${b ?? ""}`,
|
|
32
|
+
...f,
|
|
33
33
|
children: [
|
|
34
|
-
|
|
34
|
+
$ && /* @__PURE__ */ m(
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
id: `${f?.id}-back`,
|
|
38
|
+
onClick: $,
|
|
39
|
+
className: `${r.action} ${K ?? ""}
|
|
40
|
+
${s ? i.gapAction[s] : ""}`,
|
|
40
41
|
children: [
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
j,
|
|
43
|
+
p
|
|
43
44
|
]
|
|
44
45
|
}
|
|
45
46
|
),
|
|
46
47
|
typeof h == "function" && h(),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ o("div", { className: `${r.urls} ${l ? i.gapUrls[l] : ""}`, children: t?.map((e, a) => /* @__PURE__ */ m(q, { children: [
|
|
49
|
+
/* @__PURE__ */ o(
|
|
49
50
|
T,
|
|
50
51
|
{
|
|
51
|
-
|
|
52
|
+
id: `${f?.id}-item-${a}`,
|
|
53
|
+
className: `${r.url} ${u(a) ? r.active : ""} ${P ?? ""}`,
|
|
52
54
|
onClick: () => {
|
|
53
|
-
|
|
55
|
+
c?.[a] !== void 0 && typeof c[a] == "function" ? c[a]() : typeof n == "function" && n(e);
|
|
54
56
|
},
|
|
55
|
-
|
|
56
|
-
children:
|
|
57
|
+
...d ? d(e, a, t) : {},
|
|
58
|
+
children: N[a]
|
|
57
59
|
}
|
|
58
60
|
),
|
|
59
|
-
!
|
|
61
|
+
!u(a) && /* @__PURE__ */ o("div", { className: r.sparator, children: F })
|
|
60
62
|
] }, a)) })
|
|
61
63
|
]
|
|
62
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_action_bna0h_10",_="_urls_bna0h_31",l="_url_bna0h_31",t="_active_bna0h_49",e="_sparator_bna0h_223",n={"fin-blue-gray-500":"_fin-blue-gray-500_bna0h_1","bill-secondary-800":"_bill-secondary-800_bna0h_1","laba-blue-10":"_laba-blue-10_bna0h_1","blue-700":"_blue-700_bna0h_1",action:a,urls:_,url:l,active:t,sparator:e};exports.action=a;exports.active=t;exports.default=n;exports.sparator=e;exports.url=l;exports.urls=_;
|