@solibo/solibo-ui 0.3.8 → 0.3.11
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/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index34.css +1 -0
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -0
- package/dist/assets/index9.css +0 -1
- package/dist/components/_avatar/index.cjs +1 -1
- package/dist/components/_avatar/index.js +1 -1
- package/dist/components/_card/index.cjs +1 -1
- package/dist/components/_card/index.js +5 -5
- package/dist/components/_collapsible/index.cjs +1 -1
- package/dist/components/_collapsible/index.js +1 -1
- package/dist/components/_dropzone/index.cjs +1 -1
- package/dist/components/_dropzone/index.js +1 -1
- package/dist/components/_editor/index.cjs +1 -1
- package/dist/components/_editor/index.js +1 -1
- package/dist/components/_messages/index.cjs +1 -1
- package/dist/components/_messages/index.js +1 -1
- package/dist/components/_portal/index.cjs +1 -1
- package/dist/components/_portal/index.js +15 -15
- package/dist/components/_toasts/index.cjs +1 -1
- package/dist/components/_toasts/index.js +1 -1
- package/dist/components/accordion/index.cjs +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/app-link/index.cjs +1 -1
- package/dist/components/app-link/index.js +1 -1
- package/dist/components/aside/index.cjs +1 -1
- package/dist/components/aside/index.js +1 -1
- package/dist/components/banner/index.cjs +1 -1
- package/dist/components/banner/index.js +1 -1
- package/dist/components/branding/index.cjs +1 -1
- package/dist/components/branding/index.js +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/file/index.cjs +1 -1
- package/dist/components/file/index.js +1 -1
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/group/index.cjs +1 -1
- package/dist/components/group/index.js +1 -1
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/image/index.cjs +2 -0
- package/dist/components/image/index.cjs.map +1 -0
- package/dist/components/image/index.js +35 -0
- package/dist/components/image/index.js.map +1 -0
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +5 -5
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/message/index.cjs +1 -1
- package/dist/components/message/index.js +1 -1
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +1 -1
- package/dist/components/toast/index.cjs +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +28 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import { t } from "../../classix-DG18itHa.js";
|
|
3
3
|
import { Link as a } from "../link/index.js";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/index15.css';const g = "data:image/svg+xml,%3csvg%20width='20'%20height='24'%20viewBox='0%200%2020%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.7045%2012.7631C16.7166%2011.8432%2016.9669%2010.9413%2017.4321%2010.1412C17.8972%209.34108%2018.5621%208.66885%2019.3648%208.18702C18.8548%207.47597%2018.1821%206.89081%2017.4%206.478C16.6178%206.0652%2015.7479%205.83613%2014.8592%205.80898C12.9635%205.61471%2011.1258%206.91644%2010.1598%206.91644C9.17506%206.91644%207.68776%205.82827%206.08616%205.86044C5.05021%205.89311%204.04059%206.18722%203.15568%206.7141C2.27077%207.24099%201.54075%207.98268%201.03674%208.86691C-1.14648%2012.5573%200.482005%2017.9809%202.57338%2020.964C3.61975%2022.4247%204.84264%2024.0564%206.44279%2023.9985C8.00863%2023.9351%208.59344%2023.0237%2010.4835%2023.0237C12.3561%2023.0237%2012.9048%2023.9985%2014.5374%2023.9617C16.2176%2023.9351%2017.2762%2022.4945%2018.2859%2021.02C19.0377%2019.9792%2019.6162%2018.8288%2020%2017.6116C19.0238%2017.2085%2018.1908%2016.5338%2017.6048%2015.6716C17.0187%2014.8094%2016.7056%2013.7979%2016.7045%2012.7631Z'%20fill='black'/%3e%3cpath%20d='M13.6208%203.84713C14.5369%202.77343%2014.9883%201.39335%2014.879%200C13.4793%200.143519%2012.1865%200.796596%2011.258%201.82911C10.804%202.33351%2010.4563%202.92033%2010.2348%203.55601C10.0132%204.19168%209.92219%204.86375%209.96686%205.5338C10.6669%205.54084%2011.3595%205.3927%2011.9924%205.10054C12.6253%204.80838%2013.1821%204.37982%2013.6208%203.84713Z'%20fill='black'/%3e%3c/svg%3e", i = "data:image/svg+xml,%3csvg%20height='15'%20viewBox='0%200%2074%2015'%20width='74'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M57.5181%2011.4097H59.1469V0.398144H57.5181V11.4097ZM72.1888%204.36461L70.3217%209.13882H70.2658L68.328%204.36461H66.5735L69.4793%2011.0371L67.8234%2014.749H69.5212L74%204.36461H72.1888ZM62.9519%2010.1588C62.4176%2010.1588%2061.6739%209.89019%2061.6739%209.22338C61.6739%208.37424%2062.6001%208.04833%2063.4005%208.04833C64.1163%208.04833%2064.4541%208.20424%2064.8888%208.41652C64.7622%209.43655%2063.892%2010.1588%2062.9519%2010.1588ZM63.1483%204.12414C61.969%204.12414%2060.7469%204.64825%2060.2424%205.81009L61.6879%206.41876C61.9969%205.81009%2062.5721%205.61102%2063.1762%205.61102C64.0185%205.61102%2064.8748%206.12103%2064.8888%207.0283V7.14105C64.5938%206.97105%2063.9627%206.71648%2063.1902%206.71648C61.632%206.71648%2060.0451%207.5806%2060.0451%209.1952C60.0451%2010.6689%2061.323%2011.6184%2062.7546%2011.6184C63.8501%2011.6184%2064.4541%2011.1225%2064.8329%2010.5411H64.8888V11.3912H66.4609V7.16924C66.4609%205.21463%2065.0154%204.12414%2063.1483%204.12414ZM53.0821%205.70527H50.7655V1.93082H53.0821C54.2998%201.93082%2054.9911%202.9482%2054.9911%203.81761C54.9911%204.67115%2054.2998%205.70527%2053.0821%205.70527ZM53.0402%200.398144H49.1375V11.4097H50.7655V7.23795H53.0402C54.8453%207.23795%2056.6199%205.91843%2056.6199%203.81761C56.6199%201.71678%2054.8453%200.398144%2053.0402%200.398144ZM31.7583%2010.1606C30.6332%2010.1606%2029.6913%209.21017%2029.6913%207.90475C29.6913%206.58524%2030.6332%205.61982%2031.7583%205.61982C32.8695%205.61982%2033.7406%206.58524%2033.7406%207.90475C33.7406%209.21017%2032.8695%2010.1606%2031.7583%2010.1606ZM33.6289%204.98121H33.5722C33.2064%204.54166%2032.5038%204.1444%2031.6178%204.1444C29.7611%204.1444%2028.0599%205.78983%2028.0599%207.90475C28.0599%2010.0047%2029.7611%2011.6369%2031.6178%2011.6369C32.5038%2011.6369%2033.2064%2011.2396%2033.5722%2010.7851H33.6289V11.3251C33.6289%2012.7582%2032.8695%2013.5246%2031.6457%2013.5246C30.6471%2013.5246%2030.0282%2012.8005%2029.7751%2012.1901L28.3549%2012.7864C28.7626%2013.78%2029.8458%2015%2031.6457%2015C33.5582%2015%2035.1757%2013.8646%2035.1757%2011.0978V4.37078H33.6289V4.98121ZM36.3008%2011.4097H37.9323V0.397264H36.3008V11.4097ZM40.3362%207.77703C40.2943%206.32979%2041.4474%205.59164%2042.2766%205.59164C42.9243%205.59164%2043.4725%205.91755%2043.6549%206.38616L40.3362%207.77703ZM45.3989%206.52798C45.0899%205.69117%2044.1472%204.1444%2042.2208%204.1444C40.3083%204.1444%2038.7196%205.6621%2038.7196%207.89066C38.7196%209.9906%2040.2943%2011.6369%2042.4032%2011.6369C44.1053%2011.6369%2045.0899%2010.5869%2045.4976%209.97651L44.2319%209.12473C43.8103%209.74925%2043.2333%2010.1606%2042.4032%2010.1606C41.5739%2010.1606%2040.983%209.77744%2040.6033%209.02607L45.5674%206.95343L45.3989%206.52798ZM5.8501%205.29391V6.88296H9.61836C9.50576%207.77703%209.21072%208.42974%208.76118%208.88337C8.21214%209.43743%207.35409%2010.0479%205.8501%2010.0479C3.52909%2010.0479%201.71523%208.1602%201.71523%205.8189C1.71523%203.47672%203.52909%201.58993%205.8501%201.58993C7.10182%201.58993%208.01574%202.08673%208.69048%202.72535L9.80167%201.60403C8.85895%200.69587%207.6081%200%205.8501%200C2.67191%200%200%202.61172%200%205.8189C0%209.02607%202.67191%2011.6369%205.8501%2011.6369C7.56533%2011.6369%208.85895%2011.0688%209.8715%2010.0047C10.9129%208.95472%2011.2358%207.4793%2011.2358%206.28663C11.2358%205.91755%2011.2079%205.57754%2011.1512%205.29391H5.8501ZM15.5208%2010.1606C14.3957%2010.1606%2013.425%209.22426%2013.425%207.89066C13.425%206.54207%2014.3957%205.61982%2015.5208%205.61982C16.6451%205.61982%2017.6158%206.54207%2017.6158%207.89066C17.6158%209.22426%2016.6451%2010.1606%2015.5208%2010.1606ZM15.5208%204.1444C13.4669%204.1444%2011.7936%205.71936%2011.7936%207.89066C11.7936%2010.0479%2013.4669%2011.6369%2015.5208%2011.6369C17.5739%2011.6369%2019.2472%2010.0479%2019.2472%207.89066C19.2472%205.71936%2017.5739%204.1444%2015.5208%204.1444ZM23.65%2010.1606C22.5249%2010.1606%2021.5542%209.22426%2021.5542%207.89066C21.5542%206.54207%2022.5249%205.61982%2023.65%205.61982C24.7752%205.61982%2025.745%206.54207%2025.745%207.89066C25.745%209.22426%2024.7752%2010.1606%2023.65%2010.1606ZM23.65%204.1444C21.597%204.1444%2019.9237%205.71936%2019.9237%207.89066C19.9237%2010.0479%2021.597%2011.6369%2023.65%2011.6369C25.7031%2011.6369%2027.3764%2010.0479%2027.3764%207.89066C27.3764%205.71936%2025.7031%204.1444%2023.65%204.1444Z'%20/%3e%3c/svg%3e", s = "data:image/svg+xml,%3csvg%20width='21'%20height='24'%20viewBox='0%200%2021%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.80482%2011.4617L0.0895996%2022.0059C0.0905121%2022.0078%200.090512%2022.0106%200.0914244%2022.0125C0.389807%2023.1574%201.41179%2024%202.62539%2024C3.11083%2024%203.56616%2023.8656%203.95671%2023.6305L3.98773%2023.6118L14.9229%2017.1593L9.80482%2011.4617Z'%20fill='%23EA4335'/%3e%3cpath%20d='M19.6331%209.66619L19.624%209.65966L14.9028%206.86123L9.58392%2011.7013L14.9219%2017.1582L19.6176%2014.3878C20.4406%2013.9324%2021%2013.045%2021%2012.0223C21%2011.0052%2020.4489%2010.1225%2019.6331%209.66619Z'%20fill='%23FBBC04'/%3e%3cpath%20d='M0.0894234%201.99331C0.0310244%202.21353%200%202.44494%200%202.68382V21.3163C0%2021.5552%200.0310245%2021.7866%200.0903359%2022.0059L10.1386%2011.7313L0.0894234%201.99331Z'%20fill='%234285F4'/%3e%3cpath%20d='M9.87657%2011.9999L14.9044%206.85935L3.98192%200.383507C3.58499%200.139962%203.12145%20-4.76837e-06%202.62597%20-4.76837e-06C1.41237%20-4.76837e-06%200.388558%200.844468%200.0901759%201.99034C0.0901759%201.99127%200.0892639%201.9922%200.0892639%201.99314L9.87657%2011.9999Z'%20fill='%2334A853'/%3e%3c/svg%3e", c = "_apple_1m7d3_17", L = "_google_1m7d3_49", e = {
|
|
5
5
|
"app-link": "_app-link_1m7d3_1",
|
|
6
6
|
apple: c,
|
|
7
7
|
google: L
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index22.css');const c=require("react/jsx-runtime"),d=require("../../classix-5H4IWnMA.cjs"),r="_aside_1g39r_1",n="_meta_1g39r_9",o="_sticky_1g39r_23",t={aside:r,meta:n,sticky:o},u={default:t.default,meta:t.meta},l=({children:s,className:e,sticky:a=!1,variant:i="default"})=>c.jsx("aside",{className:d.t(e&&e,t.aside,a&&t.sticky,u[i]),"data-cy":"Aside",children:s});exports.Aside=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { t as d } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index22.css';const o = "_aside_1g39r_1", r = "_meta_1g39r_9", m = "_sticky_1g39r_23", t = {
|
|
4
4
|
aside: o,
|
|
5
5
|
meta: r,
|
|
6
6
|
sticky: m
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index14.css');const r=require("react/jsx-runtime"),l=require("../../classix-5H4IWnMA.cjs"),b=require("../button/index.cjs"),u="_banner_rnk31_13",o="_visible_rnk31_33",t={banner:u,visible:o},d=({button:a,message:s,onClick:e,onDismiss:n,visible:c=!1})=>{const i=()=>{e==null||e(),n==null||n()};return r.jsxs("div",{"aria-live":"assertive",className:l.t(t.banner,c&&t.visible),"data-cy":"Banner",children:[s,r.jsx(b.Button,{onClick:i,children:a})]})};exports.Banner=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { t as s } from "../../classix-DG18itHa.js";
|
|
3
3
|
import { Button as v } from "../button/index.js";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/index14.css';const o = "_banner_rnk31_13", _ = "_visible_rnk31_33", n = {
|
|
5
5
|
banner: o,
|
|
6
6
|
visible: _
|
|
7
7
|
}, h = ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index21.css');const e=require("react/jsx-runtime"),h=require("../../classix-5H4IWnMA.cjs");function l(c){return`url("data:image/svg+xml, ${encodeURI(c)}")`}const v={logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="212.84 265.6 645.02 573.4"><g><path d="m212.84 681.26 8.86-19.64c9.5 6.92 23.67 11.75 37.19 11.75 15.46 0 21.74-5.15 21.74-12.07 0-21.1-65.54-6.6-65.54-48.47 0-19.16 15.46-35.11 47.51-35.11 14.17 0 28.66 3.39 39.13 10l-8.06 19.81c-10.46-6-21.25-8.86-31.24-8.86-15.45 0-21.41 5.8-21.41 12.88 0 20.77 65.54 6.44 65.54 47.82 0 18.84-15.62 34.95-47.83 34.95-17.87 0-35.91-5.32-45.89-13M317.33 636c0-33.5 26.09-58.3 61.68-58.3 35.42 0 61.67 24.64 61.67 58.3s-26.25 58.31-61.68 58.31c-35.59 0-61.68-24.8-61.68-58.29m96.94 0C414.27 614.6 399.14 600 379 600s-35.26 14.6-35.26 36 15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07m46.04-56.34h26.09v91.46h56.52v21.26h-82.61zm105.3 0h26.09v112.72h-26.09zm156.19 81.96c0 19.48-15.46 30.75-45.08 30.75h-58.3V579.65h55.08c28.18 0 42.67 11.76 42.67 29.31a27.1 27.1 0 0 1-15 24.8c12.56 4 20.61 13.69 20.61 27.86m-77.43-62.32v26.57h25.93c12.72 0 19.64-4.51 19.64-13.36S683 599.3 670.28 599.3Zm51.21 59.58c0-9.5-7.25-14-20.78-14h-30.43v27.86h30.43c13.53 0 20.78-4.19 20.78-13.85M734.51 636c0-33.5 26.09-58.3 61.68-58.3 35.43 0 61.67 24.64 61.67 58.3s-26.24 58.29-61.67 58.29c-35.59 0-61.68-24.8-61.68-58.29m96.94 0c0-21.42-15.13-36.07-35.26-36.07S760.92 614.6 760.92 636s15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07M535.93 406.9a30.06 30.06 0 1 0-30-30 30.05 30.05 0 0 0 30 30m41.29 72.66v-24.08a41.29 41.29 0 0 0-82.58 0v94.22l28.83-42.58h53.78Z" class="cls-1"/><path d="M675.26 507.22H519.83c-4.07 0 2.55-3.3 2.55-7.36l20-16.14a7.36 7.36 0 0 1 7.36-7.36h94.66a7.37 7.37 0 0 0 7.36-7.36V363.24a7.36 7.36 0 0 0-4-6.55L539 301.09a7.34 7.34 0 0 0-6.72 0L423.74 357a7.37 7.37 0 0 0-4 6.54V469a7.37 7.37 0 0 0 7.37 7.36h29.22v30.86h-60.09a7.37 7.37 0 0 1-7.36-7.36V344.68a7.38 7.38 0 0 1 4-6.55l139.35-71.72a7.37 7.37 0 0 1 6.72 0l139.67 71.4a7.37 7.37 0 0 1 4 6.56v155.5a7.37 7.37 0 0 1-7.36 7.36M380.2 789.7h-53.93v42.19c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59v-89.7c0-4.75 3.35-5.59 5-5.59s5 .84 5 5.59v38.29h53.93v-38.29c0-4.75 3.36-5.59 5-5.59s5 .84 5 5.59v89.7c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59Zm82.58 49.3c-29.48 0-51.56-21.94-51.56-52s22.08-52 51.56-52 51.56 21.93 51.56 52-22.08 52-51.56 52m0-95.15c-25.43 0-40.94 20.12-40.94 43.17s15.51 43 40.94 43 40.94-20 40.94-43-15.51-43.15-40.94-43.15Zm165.01 93.63c-1.67 0-5-.83-5-5.59v-72.51h-.28l-32.27 73.77a6.53 6.53 0 0 1-12.3 0l-32.3-73.35h-.28v72.09c0 4.76-3.36 5.59-5 5.59s-5-.83-5-5.59v-88.44c0-5.73 4.05-6.85 6.14-6.85s4.75.7 6.85 5.45l35.91 82h.14l35.49-82c2.1-4.75 4.75-5.45 6.85-5.45s6.14 1.12 6.14 6.85v88.44c-.06 4.76-3.41 5.59-5.09 5.59m41.36-48.06v38.14h49c4.2 0 4.89 3.08 4.89 4.48s-.69 4.47-4.89 4.47H665.1c-4.05 0-6-2-6-6v-86.92c0-4.05 2-6 6-6h51.42c4.19 0 4.89 3.07 4.89 4.47s-.7 4.47-4.89 4.47h-47.37v34.1h44c4.2 0 4.89 3.07 4.89 4.33s-.69 4.47-4.89 4.47Z"/></g></svg>'},g="_branding_gm1tj_1",i="_white_gm1tj_11",a={branding:g,default:"_default_gm1tj_7",white:i},m={default:a.default,white:a.white},r=({name:c="logo",size:t=128,variant:s="default"})=>{const n={height:t,maskImage:l(v[c].toString()),width:t};return e.jsx("span",{className:h.t(a.branding,m[s]),style:n,"data-cy":"Branding"})};exports.Branding=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { t as m } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index21.css';function v(a) {
|
|
4
4
|
return `url("data:image/svg+xml, ${encodeURI(a)}")`;
|
|
5
5
|
}
|
|
6
6
|
const l = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index27.css');const i=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),s="_button_dddzu_1",c="_danger_dddzu_21",m="_minimal_dddzu_34",l="_cta_dddzu_46",_="_primary_dddzu_51",t={button:s,danger:c,minimal:m,cta:l,primary:_},y={cta:t.cta,danger:t.danger,default:t.default,minimal:t.minimal,primary:t.primary},b=({children:n,className:a,disabled:d=!1,onClick:r,variant:e="default",...u})=>i.jsx("button",{className:o.t(a,t.button,y[e]),disabled:d,onClick:r,type:"button",...u,"data-cy":"Button",children:n});exports.Button=b;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { t as u } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index27.css';const c = "_button_dddzu_1", s = "_danger_dddzu_21", _ = "_minimal_dddzu_34", e = "_cta_dddzu_46", l = "_primary_dddzu_51", t = {
|
|
4
4
|
button: c,
|
|
5
5
|
danger: s,
|
|
6
6
|
minimal: _,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index13.css');const e=require("react/jsx-runtime"),r=require("../../classix-5H4IWnMA.cjs"),x="_checkbox_rz5v8_1",a={checkbox:x},b=({checked:s,disabled:t,isLoading:c,label:o,onChange:l,...n})=>e.jsxs("label",{className:a.checkbox,"data-cy":"Checkbox",children:[e.jsx("input",{checked:s,className:r.t(c&&"loading"),disabled:t||c,onChange:l,type:"checkbox",...n}),e.jsx("span",{children:o})]});exports.Checkbox=b;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { t as b } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index13.css';const h = "_checkbox_rz5v8_1", l = {
|
|
4
4
|
checkbox: h
|
|
5
5
|
}, m = ({
|
|
6
6
|
checked: o,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index12.css');const o=require("react/jsx-runtime"),s="_dialog_40v7y_1",t="_wrapper_40v7y_26",e={dialog:s,wrapper:t},c=({children:i,setOpen:a,...l})=>o.jsx("div",{className:e.wrapper,onClick:()=>a?a(!1):{},"data-cy":"Dialog",children:o.jsx("dialog",{className:e.dialog,onClick:r=>r.stopPropagation(),...l,children:i})});exports.Dialog=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/
|
|
2
|
+
import '../../assets/index12.css';const p = "_dialog_40v7y_1", c = "_wrapper_40v7y_26", r = {
|
|
3
3
|
dialog: p,
|
|
4
4
|
wrapper: c
|
|
5
5
|
}, e = ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index11.css');const r=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),o=require("../icon/index.cjs"),u="_file_187ul_1",a="_danger_187ul_28",s={file:u,danger:a},d=({name:t,onClick:n,url:i="#",variant:e="primary"})=>r.jsxs("a",{className:c.t(s.file,s[e]),href:i,onClick:l=>{n&&(l.preventDefault(),n())},role:"document",title:t,"data-cy":"File",children:[r.jsx(o.Icon,{name:e==="danger"?"trash":"document",variant:e}),t]});exports.File=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { t as c } from "../../classix-DG18itHa.js";
|
|
3
3
|
import { Icon as f } from "../icon/index.js";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/index11.css';const m = "_file_187ul_1", a = "_danger_187ul_28", o = {
|
|
5
5
|
file: m,
|
|
6
6
|
danger: a
|
|
7
7
|
}, _ = ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.css');const t=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),c="_form_1by0q_1",l="_inline_1by0q_17",o={form:c,inline:l},m=({animation:e,children:r,inline:s=!1,...n})=>t.jsx("form",{className:i.t(e&&e,s&&o.inline,o.form),...n,"data-cy":"Form",children:r&&r});exports.Form=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { t as e } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index10.css';const f = "_form_1by0q_1", i = "_inline_1by0q_17", m = {
|
|
4
4
|
form: f,
|
|
5
5
|
inline: i
|
|
6
6
|
}, _ = ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index9.css');const s=require("react/jsx-runtime"),t=require("../../classix-5H4IWnMA.cjs"),u="_group_g6ddz_1",c={group:u},p=({animation:r,children:e,className:o})=>s.jsx("div",{className:t.t(r&&r,o,c.group),"data-cy":"Group",children:e});exports.Group=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { t as s } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index9.css';const u = "_group_g6ddz_1", c = {
|
|
4
4
|
group: u
|
|
5
5
|
}, e = ({
|
|
6
6
|
animation: o,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const r=require("react/jsx-runtime"),a="_header_8ajnw_1",t={header:a},s=({children:e})=>r.jsx("header",{className:t.header,"data-cy":"Header",children:e});exports.Header=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index7.css');const d=require("react/jsx-runtime"),c=require("react"),o="_image_nnuov_1",y={image:o};function S({fadeDurationMs:n=250,showOnError:r=!0,onLoad:a,onError:u,style:l,...t}){const i=c.useRef(null),[f,s]=c.useState(!1);c.useEffect(()=>{s(!1)},[t.src,t.srcSet]),c.useEffect(()=>{const e=i.current;e&&e.complete&&e.naturalWidth>0&&s(!0)},[t.src,t.srcSet]);const m=e=>{s(!0),a==null||a(e)},g=e=>{r&&s(!0),u==null||u(e)};return d.jsx("img",{...t,className:y.image,onLoad:m,onError:g,ref:i,style:{...l,opacity:f?1:0,"--duration-override":`${n}ms`},"data-cy":"Image"})}exports.Image=S;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/image/index.tsx"],"sourcesContent":["import { ImgHTMLAttributes, useEffect, useRef, useState } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type ImageProps = ImgHTMLAttributes<HTMLImageElement> & {\n fadeDurationMs?: number;\n showOnError?: boolean;\n};\n\ntype ImageStyle = React.CSSProperties & {\n '--duration-override'?: string;\n};\n\nexport function Image({\n fadeDurationMs = 250,\n showOnError = true,\n onLoad,\n onError,\n style,\n ...props\n}: ImageProps) {\n const imgRef = useRef<HTMLImageElement | null>(null);\n const [loaded, setLoaded] = useState(false);\n\n useEffect(() => {\n setLoaded(false);\n }, [props.src, props.srcSet]);\n\n useEffect(() => {\n const el = imgRef.current;\n if (!el) return;\n if (el.complete && el.naturalWidth > 0) setLoaded(true);\n }, [props.src, props.srcSet]);\n\n const handleLoad: ImgHTMLAttributes<HTMLImageElement>['onLoad'] = (e) => {\n setLoaded(true);\n onLoad?.(e);\n };\n\n const handleError: ImgHTMLAttributes<HTMLImageElement>['onError'] = (e) => {\n if (showOnError) setLoaded(true);\n onError?.(e);\n };\n\n return (\n <img\n {...props}\n className={styles.image}\n onLoad={handleLoad}\n onError={handleError}\n ref={imgRef}\n style={\n {\n ...style,\n opacity: loaded ? 1 : 0,\n '--duration-override': `${fadeDurationMs}ms`,\n } as ImageStyle\n }\n />\n );\n}\n"],"names":["Image","fadeDurationMs","showOnError","onLoad","onError","style","props","imgRef","useRef","loaded","setLoaded","useState","useEffect","src","srcSet","el","current","complete","naturalWidth","handleLoad","e","handleError","jsx","styles","image","opacity"],"mappings":"uKAaO,SAASA,EAAM,CACpBC,eAAAA,EAAiB,IACjBC,YAAAA,EAAc,GACdC,OAAAA,EACAC,QAAAA,EACAC,MAAAA,EACA,GAAGC,CACO,EAAG,CACb,MAAMC,EAASC,EAAAA,OAAgC,IAAI,EAC7C,CAACC,EAAQC,CAAS,EAAIC,EAAAA,SAAS,EAAK,EAE1CC,EAAAA,UAAU,IAAM,CACdF,EAAU,EAAK,CACjB,EAAG,CAACJ,EAAMO,IAAKP,EAAMQ,MAAM,CAAC,EAE5BF,EAAAA,UAAU,IAAM,CACd,MAAMG,EAAKR,EAAOS,QACbD,GACDA,EAAGE,UAAYF,EAAGG,aAAe,KAAa,EAAI,CACxD,EAAG,CAACZ,EAAMO,IAAKP,EAAMQ,MAAM,CAAC,EAE5B,MAAMK,EAA6DC,GAAM,CACvEV,EAAU,EAAI,EACdP,GAAAA,MAAAA,EAASiB,EACX,EAEMC,EAA+DD,GAAM,CACrElB,KAAuB,EAAI,EAC/BE,GAAAA,MAAAA,EAAUgB,EACZ,EAEA,OACEE,EAAAA,IAAC,MAAA,CACC,GAAIhB,EACJ,UAAWiB,EAAOC,MAClB,OAAQL,EACR,QAASE,EACT,IAAKd,EACL,MACE,CACE,GAAGF,EACHoB,QAAShB,EAAS,EAAI,EACtB,sBAAuB,GAAGR,CAAc,IAAA,EAE3C,UAAA,QAAA,CAGP"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as o, useState as y, useEffect as m } from "react";
|
|
3
|
+
import '../../assets/index7.css';const h = "_image_nnuov_1", S = {
|
|
4
|
+
image: h
|
|
5
|
+
};
|
|
6
|
+
function x({
|
|
7
|
+
fadeDurationMs: u = 250,
|
|
8
|
+
showOnError: r = !0,
|
|
9
|
+
onLoad: a,
|
|
10
|
+
onError: c,
|
|
11
|
+
style: f,
|
|
12
|
+
...t
|
|
13
|
+
}) {
|
|
14
|
+
const i = o(null), [l, s] = y(!1);
|
|
15
|
+
m(() => {
|
|
16
|
+
s(!1);
|
|
17
|
+
}, [t.src, t.srcSet]), m(() => {
|
|
18
|
+
const e = i.current;
|
|
19
|
+
e && e.complete && e.naturalWidth > 0 && s(!0);
|
|
20
|
+
}, [t.src, t.srcSet]);
|
|
21
|
+
const n = (e) => {
|
|
22
|
+
s(!0), a == null || a(e);
|
|
23
|
+
}, d = (e) => {
|
|
24
|
+
r && s(!0), c == null || c(e);
|
|
25
|
+
};
|
|
26
|
+
return /* @__PURE__ */ g("img", { ...t, className: S.image, onLoad: n, onError: d, ref: i, style: {
|
|
27
|
+
...f,
|
|
28
|
+
opacity: l ? 1 : 0,
|
|
29
|
+
"--duration-override": `${u}ms`
|
|
30
|
+
}, "data-cy": "Image" });
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
x as Image
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/image/index.tsx"],"sourcesContent":["import { ImgHTMLAttributes, useEffect, useRef, useState } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type ImageProps = ImgHTMLAttributes<HTMLImageElement> & {\n fadeDurationMs?: number;\n showOnError?: boolean;\n};\n\ntype ImageStyle = React.CSSProperties & {\n '--duration-override'?: string;\n};\n\nexport function Image({\n fadeDurationMs = 250,\n showOnError = true,\n onLoad,\n onError,\n style,\n ...props\n}: ImageProps) {\n const imgRef = useRef<HTMLImageElement | null>(null);\n const [loaded, setLoaded] = useState(false);\n\n useEffect(() => {\n setLoaded(false);\n }, [props.src, props.srcSet]);\n\n useEffect(() => {\n const el = imgRef.current;\n if (!el) return;\n if (el.complete && el.naturalWidth > 0) setLoaded(true);\n }, [props.src, props.srcSet]);\n\n const handleLoad: ImgHTMLAttributes<HTMLImageElement>['onLoad'] = (e) => {\n setLoaded(true);\n onLoad?.(e);\n };\n\n const handleError: ImgHTMLAttributes<HTMLImageElement>['onError'] = (e) => {\n if (showOnError) setLoaded(true);\n onError?.(e);\n };\n\n return (\n <img\n {...props}\n className={styles.image}\n onLoad={handleLoad}\n onError={handleError}\n ref={imgRef}\n style={\n {\n ...style,\n opacity: loaded ? 1 : 0,\n '--duration-override': `${fadeDurationMs}ms`,\n } as ImageStyle\n }\n />\n );\n}\n"],"names":["Image","fadeDurationMs","showOnError","onLoad","onError","style","props","imgRef","useRef","loaded","setLoaded","useState","useEffect","src","srcSet","el","current","complete","naturalWidth","handleLoad","e","handleError","jsx","styles","image","opacity"],"mappings":";;;;;AAaO,SAASA,EAAM;AAAA,EACpBC,gBAAAA,IAAiB;AAAA,EACjBC,aAAAA,IAAc;AAAA,EACdC,QAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,OAAAA;AAAAA,EACA,GAAGC;AACO,GAAG;AACb,QAAMC,IAASC,EAAgC,IAAI,GAC7C,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAK;AAE1CC,EAAAA,EAAU,MAAM;AACdF,IAAAA,EAAU,EAAK;AAAA,EACjB,GAAG,CAACJ,EAAMO,KAAKP,EAAMQ,MAAM,CAAC,GAE5BF,EAAU,MAAM;AACd,UAAMG,IAAKR,EAAOS;AAClB,IAAKD,KACDA,EAAGE,YAAYF,EAAGG,eAAe,OAAa,EAAI;AAAA,EACxD,GAAG,CAACZ,EAAMO,KAAKP,EAAMQ,MAAM,CAAC;AAE5B,QAAMK,IAA6DC,CAAAA,MAAM;AACvEV,IAAAA,EAAU,EAAI,GACdP,KAAAA,QAAAA,EAASiB;AAAAA,EACX,GAEMC,IAA+DD,CAAAA,MAAM;AACzE,IAAIlB,OAAuB,EAAI,GAC/BE,KAAAA,QAAAA,EAAUgB;AAAAA,EACZ;AAEA,SACE,gBAAAE,EAAC,OAAA,EACC,GAAIhB,GACJ,WAAWiB,EAAOC,OAClB,QAAQL,GACR,SAASE,GACT,KAAKd,GACL,OACE;AAAA,IACE,GAAGF;AAAAA,IACHoB,SAAShB,IAAS,IAAI;AAAA,IACtB,uBAAuB,GAAGR,CAAc;AAAA,EAAA,GAE3C,WAAA,SAAA;AAGP;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const u=require("react/jsx-runtime"),y=require("../../classix-5H4IWnMA.cjs"),l="_layout_14kyj_12",n="_home_14kyj_25",t={layout:l,home:n},c=({children:o,isLoading:e=!1,feature:s="home",...a})=>u.jsx("main",{className:y.t(t.layout,t[s],e&&"is-loading"),...a,"data-cy":"Layout",children:o});exports.Layout=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { t as e } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index6.css';const
|
|
4
|
-
layout:
|
|
3
|
+
import '../../assets/index6.css';const l = "_layout_14kyj_12", n = "_home_14kyj_25", o = {
|
|
4
|
+
layout: l,
|
|
5
5
|
home: n
|
|
6
6
|
}, c = ({
|
|
7
7
|
children: t,
|
|
8
8
|
isLoading: a = !1,
|
|
9
9
|
feature: s = "home",
|
|
10
|
-
...
|
|
11
|
-
}) => /* @__PURE__ */
|
|
10
|
+
...m
|
|
11
|
+
}) => /* @__PURE__ */ y("main", { className: e(o.layout, o[s], a && "is-loading"), ...m, "data-cy": "Layout", children: t });
|
|
12
12
|
export {
|
|
13
13
|
c as Layout
|
|
14
14
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index34.css');const i=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),e=require("react"),c="_list_nqfdq_1",u={list:c},m=({children:r,className:n})=>{const a=e.Children.toArray(r).map((t,s)=>{if(e.isValidElement(t)&&t.type==="li")return t;const l=e.isValidElement(t)?t.key:s;return i.jsx("li",{"data-cy":"List",children:t},l??s)});return i.jsx("ul",{className:o.t(n,u.list),"data-cy":"List",children:a})};exports.List=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { t as m } from "../../classix-DG18itHa.js";
|
|
3
3
|
import s from "react";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/index34.css';const l = "_list_nqfdq_1", p = {
|
|
5
5
|
list: l
|
|
6
6
|
}, _ = ({
|
|
7
7
|
children: i,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index24.css');const s=require("react/jsx-runtime"),n=require("../icon/index.cjs"),o="_message_dpsmr_1",c={message:o},i=({content:t,id:a,type:e="default"})=>s.jsxs("div",{className:c.message,"data-id":a,"data-type":e,"data-cy":"Message",children:[e=="system"&&s.jsx(n.Icon,{name:"info"}),t]});exports.Message=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as o } from "../icon/index.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index24.css';const r = "_message_dpsmr_1", d = {
|
|
4
4
|
message: r
|
|
5
5
|
}, g = ({
|
|
6
6
|
content: e,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index20.css');const o=require("react/jsx-runtime"),e=require("../../classix-5H4IWnMA.cjs"),i="_nav_ud2ah_1",r="_horizontal_ud2ah_7",c="_tabs_ud2ah_17",u="_pills_ud2ah_38",a={nav:i,horizontal:r,tabs:c,pills:u},_={default:a.default,pills:a.pills,tabs:a.tabs},d=({animation:t,children:l,horizontal:s=!1,variant:n="default"})=>o.jsx("nav",{className:e.t(t&&t,s&&a.horizontal,a.nav,_[n]),"data-orientation":s?"horizontal":"vertical","data-cy":"Nav",children:l});exports.Nav=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { t as r } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
3
|
+
import '../../assets/index20.css';const i = "_nav_ud2ah_1", _ = "_horizontal_ud2ah_7", c = "_tabs_ud2ah_17", e = "_pills_ud2ah_38", a = {
|
|
4
4
|
nav: i,
|
|
5
5
|
horizontal: _,
|
|
6
6
|
tabs: c,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index18.css');const a=require("react/jsx-runtime"),f=require("../../classix-5H4IWnMA.cjs"),n=require("react"),j=require("../icon/index.cjs"),h="_toast_h2jok_1",l="_active_h2jok_18",d="_error_h2jok_24",m="_info_h2jok_28",v="_success_h2jok_33",c={toast:h,active:l,error:d,info:m,success:v},T=({label:i,type:t="success",onClick:u,onExitComplete:e,open:r=!0})=>{const[_,o]=n.useState(!1);return n.useEffect(()=>{if(!r)return o(!1);const s=requestAnimationFrame(()=>o(!0));return()=>cancelAnimationFrame(s)},[r]),a.jsxs("div",{"aria-live":t==="error"?"assertive":"polite",className:f.t(c.toast,c[t],_&&c.active),onClick:u,onTransitionEnd:s=>{r||s.propertyName!=="opacity"||s.currentTarget!==s.target||e==null||e()},"data-cy":"Toast",children:[a.jsx(j.Icon,{name:t}),i]})};exports.Toast=T;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as _, jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { t as f } from "../../classix-DG18itHa.js";
|
|
3
3
|
import { useState as m, useEffect as h } from "react";
|
|
4
4
|
import { Icon as j } from "../icon/index.js";
|
|
5
|
-
import '../../assets/
|
|
5
|
+
import '../../assets/index18.css';const k = "_toast_h2jok_1", v = "_active_h2jok_18", d = "_error_h2jok_24", l = "_info_h2jok_28", T = "_success_h2jok_33", a = {
|
|
6
6
|
toast: k,
|
|
7
7
|
active: v,
|
|
8
8
|
error: d,
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const e=require("./components/_avatar/index.cjs"),n=require("./components/_card/index.cjs"),o=require("./components/_collapsible/index.cjs"),t=require("./components/_dropzone/index.cjs"),r=require("./components/_editor/index.cjs"),i=require("./components/_messages/index.cjs"),s=require("./components/_portal/index.cjs"),c=require("./components/_toasts/index.cjs"),_=require("./components/accordion/index.cjs"),a=require("./components/app-link/index.cjs"),d=require("./components/aside/index.cjs"),p=require("./components/banner/index.cjs"),u=require("./components/branding/index.cjs"),m=require("./components/button/index.cjs"),x=require("./components/checkbox/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const e=require("./components/_avatar/index.cjs"),n=require("./components/_card/index.cjs"),o=require("./components/_collapsible/index.cjs"),t=require("./components/_dropzone/index.cjs"),r=require("./components/_editor/index.cjs"),i=require("./components/_messages/index.cjs"),s=require("./components/_portal/index.cjs"),c=require("./components/_toasts/index.cjs"),_=require("./components/accordion/index.cjs"),a=require("./components/app-link/index.cjs"),d=require("./components/aside/index.cjs"),p=require("./components/banner/index.cjs"),u=require("./components/branding/index.cjs"),m=require("./components/button/index.cjs"),x=require("./components/checkbox/index.cjs"),q=require("./components/dialog/index.cjs"),l=require("./components/figure/index.cjs"),g=require("./components/file/index.cjs"),b=require("./components/form/index.cjs"),k=require("./components/group/index.cjs"),L=require("./components/header/index.cjs"),T=require("./components/icon/index.cjs"),A=require("./components/image/index.cjs"),v=require("./components/input/index.cjs"),B=require("./components/layout/index.cjs"),C=require("./components/link/index.cjs"),F=require("./components/list/index.cjs"),I=require("./components/message/index.cjs"),S=require("./components/nav/index.cjs"),y=require("./components/select/index.cjs"),M=require("./components/sortable/index.cjs"),f=require("./components/textarea/index.cjs"),h=require("./components/toast/index.cjs"),D=require("./components/toggle/index.cjs");exports.Avatar=e.Avatar;exports.Card=n.Card;exports.Collapsible=o.Collapsible;exports.Dropzone=t.Dropzone;exports.Editor=r.Editor;exports.Messages=i.Messages;exports.Portal=s.Portal;exports.Toasts=c.Toasts;exports.Accordion=_.Accordion;exports.AppLink=a.AppLink;exports.Aside=d.Aside;exports.Banner=p.Banner;exports.Branding=u.Branding;exports.Button=m.Button;exports.Checkbox=x.Checkbox;exports.Dialog=q.Dialog;exports.Figure=l.Figure;exports.File=g.File;exports.Form=b.Form;exports.Group=k.Group;exports.Header=L.Header;exports.Icon=T.Icon;exports.Image=A.Image;exports.Input=v.Input;exports.Layout=B.Layout;exports.Link=C.Link;exports.List=F.List;exports.Message=I.Message;exports.Nav=S.Nav;exports.Select=y.Select;exports.Sortable=M.Sortable;exports.Textarea=f.Textarea;exports.Toast=h.Toast;exports.Toggle=D.Toggle;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { DetailedHTMLProps } from 'react';
|
|
3
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
4
|
+
import { ImgHTMLAttributes } from 'react';
|
|
4
5
|
import { InputHTMLAttributes } from 'react';
|
|
5
6
|
import { JSX } from 'react/jsx-runtime';
|
|
6
7
|
import { RefAttributes } from 'react';
|
|
@@ -208,6 +209,14 @@ declare type IconProps = {
|
|
|
208
209
|
loading?: boolean;
|
|
209
210
|
};
|
|
210
211
|
|
|
212
|
+
declare function Image_2({ fadeDurationMs, showOnError, onLoad, onError, style, ...props }: ImageProps): JSX.Element;
|
|
213
|
+
export { Image_2 as Image }
|
|
214
|
+
|
|
215
|
+
declare type ImageProps = ImgHTMLAttributes<HTMLImageElement> & {
|
|
216
|
+
fadeDurationMs?: number;
|
|
217
|
+
showOnError?: boolean;
|
|
218
|
+
};
|
|
219
|
+
|
|
211
220
|
export declare const Input: ForwardRefExoticComponent<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
212
221
|
defaultCountryCode?: string;
|
|
213
222
|
disabled?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Avatar as e } from "./components/_avatar/index.js";
|
|
2
2
|
import { Card as p } from "./components/_card/index.js";
|
|
3
|
-
import { Collapsible as
|
|
3
|
+
import { Collapsible as x } from "./components/_collapsible/index.js";
|
|
4
4
|
import { Dropzone as a } from "./components/_dropzone/index.js";
|
|
5
5
|
import { Editor as n } from "./components/_editor/index.js";
|
|
6
6
|
import { Messages as l } from "./components/_messages/index.js";
|
|
@@ -10,7 +10,7 @@ import { Accordion as L } from "./components/accordion/index.js";
|
|
|
10
10
|
import { AppLink as b } from "./components/app-link/index.js";
|
|
11
11
|
import { Aside as B } from "./components/aside/index.js";
|
|
12
12
|
import { Banner as F } from "./components/banner/index.js";
|
|
13
|
-
import { Branding as
|
|
13
|
+
import { Branding as v } from "./components/branding/index.js";
|
|
14
14
|
import { Button as M } from "./components/button/index.js";
|
|
15
15
|
import { Checkbox as h } from "./components/checkbox/index.js";
|
|
16
16
|
import { Dialog as z } from "./components/dialog/index.js";
|
|
@@ -20,28 +20,29 @@ import { Form as j } from "./components/form/index.js";
|
|
|
20
20
|
import { Group as w } from "./components/group/index.js";
|
|
21
21
|
import { Header as K } from "./components/header/index.js";
|
|
22
22
|
import { Icon as Q } from "./components/icon/index.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
23
|
+
import { Image as U } from "./components/image/index.js";
|
|
24
|
+
import { Input as W } from "./components/input/index.js";
|
|
25
|
+
import { Layout as Y } from "./components/layout/index.js";
|
|
26
|
+
import { Link as _ } from "./components/link/index.js";
|
|
27
|
+
import { List as oo } from "./components/list/index.js";
|
|
28
|
+
import { Message as eo } from "./components/message/index.js";
|
|
29
|
+
import { Nav as po } from "./components/nav/index.js";
|
|
30
|
+
import { Select as xo } from "./components/select/index.js";
|
|
31
|
+
import { Sortable as ao } from "./components/sortable/index.js";
|
|
32
|
+
import { Textarea as no } from "./components/textarea/index.js";
|
|
33
|
+
import { Toast as lo } from "./components/toast/index.js";
|
|
34
|
+
import { Toggle as co } from "./components/toggle/index.js";
|
|
34
35
|
import './assets/index.css';export {
|
|
35
36
|
L as Accordion,
|
|
36
37
|
b as AppLink,
|
|
37
38
|
B as Aside,
|
|
38
39
|
e as Avatar,
|
|
39
40
|
F as Banner,
|
|
40
|
-
|
|
41
|
+
v as Branding,
|
|
41
42
|
M as Button,
|
|
42
43
|
p as Card,
|
|
43
44
|
h as Checkbox,
|
|
44
|
-
|
|
45
|
+
x as Collapsible,
|
|
45
46
|
z as Dialog,
|
|
46
47
|
a as Dropzone,
|
|
47
48
|
n as Editor,
|
|
@@ -51,19 +52,20 @@ import './assets/index.css';export {
|
|
|
51
52
|
w as Group,
|
|
52
53
|
K as Header,
|
|
53
54
|
Q as Icon,
|
|
54
|
-
U as
|
|
55
|
-
W as
|
|
56
|
-
Y as
|
|
57
|
-
_ as
|
|
58
|
-
oo as
|
|
55
|
+
U as Image,
|
|
56
|
+
W as Input,
|
|
57
|
+
Y as Layout,
|
|
58
|
+
_ as Link,
|
|
59
|
+
oo as List,
|
|
60
|
+
eo as Message,
|
|
59
61
|
l as Messages,
|
|
60
|
-
|
|
62
|
+
po as Nav,
|
|
61
63
|
d as Portal,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
xo as Select,
|
|
65
|
+
ao as Sortable,
|
|
66
|
+
no as Textarea,
|
|
67
|
+
lo as Toast,
|
|
66
68
|
u as Toasts,
|
|
67
|
-
|
|
69
|
+
co as Toggle
|
|
68
70
|
};
|
|
69
71
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|