@fluidattacks/design 3.1.11 → 3.1.12
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/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/components/@core/index.js +18 -1
- package/dist/components/accordion/accordion-content/index.js +9 -1
- package/dist/components/accordion/index.js +21 -1
- package/dist/components/alert/index.js +111 -4
- package/dist/components/button/index.js +18 -1
- package/dist/components/card/card-header/index.js +14 -1
- package/dist/components/card/card-with-image/index.js +18 -1
- package/dist/components/card/card-with-input/index.js +57 -3
- package/dist/components/card/card-with-selector/index.js +16 -1
- package/dist/components/card/card-with-switch/index.js +12 -1
- package/dist/components/card/index.js +12 -1
- package/dist/components/carousel/index.js +36 -10
- package/dist/components/checkbox/index.js +84 -3
- package/dist/components/cloud-image/index.js +8 -1
- package/dist/components/code-snippet/index.js +27 -1
- package/dist/components/code-snippet/location-code/index.js +125 -1
- package/dist/components/colors/index.js +9 -1
- package/dist/components/confirm-dialog/index.js +23 -1
- package/dist/components/container/index.js +27 -3
- package/dist/components/content-card/category-tag/index.js +13 -1
- package/dist/components/content-card/event-date/index.js +18 -1
- package/dist/components/content-card/index.js +63 -3
- package/dist/components/content-card-carousel/index.js +15 -1
- package/dist/components/content-card-carousel/scroll-buttons/index.js +9 -1
- package/dist/components/divider/index.js +10 -1
- package/dist/components/empty-state/empty-button/index.js +6 -1
- package/dist/components/empty-state/index.js +21 -8
- package/dist/components/file-preview/index.js +15 -3
- package/dist/components/form/index.js +26 -3
- package/dist/components/grid-container/index.js +26 -5
- package/dist/components/group-selector/index.js +26 -1
- package/dist/components/group-selector/option-container/index.js +12 -1
- package/dist/components/icon/index.js +42 -4
- package/dist/components/icon-button/index.js +27 -3
- package/dist/components/indicator-card/index.js +15 -1
- package/dist/components/info-sidebar/index.js +16 -1
- package/dist/components/inputs/fields/combobox/index.js +26 -1
- package/dist/components/inputs/fields/combobox/option/index.js +8 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +16 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +15 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +16 -1
- package/dist/components/inputs/fields/date/calendar/index.js +15 -1
- package/dist/components/inputs/fields/date/index.js +18 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +16 -1
- package/dist/components/inputs/fields/date-range/index.js +28 -3
- package/dist/components/inputs/fields/date-time/calendar/index.js +31 -5
- package/dist/components/inputs/fields/date-time/index.js +18 -1
- package/dist/components/inputs/fields/editable/index.js +16 -1
- package/dist/components/inputs/fields/input/index.js +13 -1
- package/dist/components/inputs/fields/input-file/index.js +24 -4
- package/dist/components/inputs/fields/input-tags/index.js +14 -2
- package/dist/components/inputs/fields/number/index.js +10 -1
- package/dist/components/inputs/fields/number-range/index.js +11 -1
- package/dist/components/inputs/fields/phone/index.js +414 -11
- package/dist/components/inputs/fields/text-area/index.js +13 -1
- package/dist/components/inputs/index.js +28 -1
- package/dist/components/inputs/label/index.js +12 -1
- package/dist/components/inputs/outline-container/index.js +18 -1
- package/dist/components/inputs/utils/action-button/index.js +10 -1
- package/dist/components/inputs/utils/calendar-button/index.js +13 -1
- package/dist/components/inputs/utils/date-selector/index.js +8 -1
- package/dist/components/inputs/utils/date-time-field/index.js +32 -1
- package/dist/components/inputs/utils/dialog/index.js +11 -1
- package/dist/components/inputs/utils/number-field/index.js +13 -1
- package/dist/components/inputs/utils/popover/index.js +13 -1
- package/dist/components/interactive-card/icon/index.js +7 -1
- package/dist/components/interactive-card/index.js +15 -1
- package/dist/components/language-selector/index.js +13 -1
- package/dist/components/language-selector/item-list/index.js +8 -1
- package/dist/components/link/index.js +52 -7
- package/dist/components/list-item/index.js +16 -1
- package/dist/components/little-flag/index.js +15 -3
- package/dist/components/loading/index.js +28 -14
- package/dist/components/logo/index.js +7 -1
- package/dist/components/logo-carousel/index.js +10 -4
- package/dist/components/lottie/index.js +15 -3
- package/dist/components/menu/index.js +23 -1
- package/dist/components/message-banner/index.js +21 -4
- package/dist/components/modal/index.js +19 -1
- package/dist/components/modal/modal-confirm/index.js +10 -1
- package/dist/components/modal/modal-footer/index.js +16 -1
- package/dist/components/modal/modal-header/index.js +25 -1
- package/dist/components/notification/index.js +68 -5
- package/dist/components/notification-sign/index.js +26 -6
- package/dist/components/number-input/index.js +25 -7
- package/dist/components/oauth-selector/index.js +26 -1
- package/dist/components/oauth-selector/option-container/index.js +15 -1
- package/dist/components/plan-card/index.js +84 -5
- package/dist/components/plan-card/recommended-tag/index.js +10 -1
- package/dist/components/pop-up/description/index.js +13 -1
- package/dist/components/pop-up/index.js +23 -1
- package/dist/components/premium-feature/index.js +45 -3
- package/dist/components/priority-score/index.js +14 -1
- package/dist/components/progress/index.js +23 -3
- package/dist/components/progress-bar/index.js +95 -5
- package/dist/components/radio-button/index.js +88 -3
- package/dist/components/scroll-button/index.js +20 -2
- package/dist/components/search/index.js +63 -7
- package/dist/components/search-bar/index.js +32 -1
- package/dist/components/search-bar/item-searching/index.js +10 -1
- package/dist/components/severity-badge/index.js +14 -1
- package/dist/components/severity-overview/badge/index.js +18 -1
- package/dist/components/severity-overview/index.js +7 -1
- package/dist/components/show-on-hover/index.js +25 -3
- package/dist/components/slide-out-menu/index.js +2009 -3
- package/dist/components/slide-out-menu/menu-item/index.js +15 -1
- package/dist/components/slider/index.js +93 -7
- package/dist/components/slider/thumb/index.js +10 -1
- package/dist/components/step-lapse/index.js +95 -9
- package/dist/components/table-button/index.js +56 -3
- package/dist/components/tabs/fixed-tabs/index.js +9 -1
- package/dist/components/tabs/index.js +14 -1
- package/dist/components/tabs/tab/index.js +8 -1
- package/dist/components/tag/index.js +116 -3
- package/dist/components/timeline/card/index.js +9 -1
- package/dist/components/timeline/index.js +7 -1
- package/dist/components/toggle/index.js +45 -14
- package/dist/components/toggle-buttons/index.js +74 -5
- package/dist/components/tooltip/index.js +13 -1
- package/dist/components/tour/index.js +2481 -4
- package/dist/components/typography/heading/index.js +9 -1
- package/dist/components/typography/index.js +8 -1
- package/dist/components/typography/span/index.js +9 -1
- package/dist/components/typography/text/index.js +9 -1
- package/dist/components/web-form/index.js +59 -7
- package/dist/hooks/index.js +13 -1
- package/dist/index-38JqtnAI.mjs +122 -0
- package/dist/index-B5yoGFs6.mjs +54 -0
- package/dist/index-BLbKylyw.mjs +209 -0
- package/dist/{index-C0_LPuYU.mjs → index-Bu448Tz2.mjs} +22 -22
- package/dist/index-BwFnfaRh.mjs +2310 -0
- package/dist/index-Co_k0WFk.mjs +75 -0
- package/dist/index-Cu7uUMlx.mjs +82 -0
- package/dist/index-D-lcuEHY.mjs +1018 -0
- package/dist/index-DrfjITyT.mjs +61 -0
- package/dist/index.js +206 -1
- package/dist/styles-7_q7nHce.mjs +110 -0
- package/dist/styles-BA0WIQL-.mjs +74 -0
- package/dist/styles-C3cZmKVJ.mjs +131 -0
- package/dist/styles-CI-I6joH.mjs +144 -0
- package/dist/styles-Cx93EcVo.mjs +76 -0
- package/dist/styles-D85YYIjM.mjs +131 -0
- package/dist/styles-EIbGRPlk.mjs +106 -0
- package/dist/styles-Q1VXuWI7.mjs +65 -0
- package/dist/styles-fH2c4cfc.mjs +77 -0
- package/dist/{styles-BAhpqi6C.mjs → styles-lSVV9kjn.mjs} +28 -28
- package/dist/use-carousel-CvRxi2FI.mjs +17 -0
- package/dist/use-click-outside-BtZLIoU1.mjs +18 -0
- package/dist/use-cloudinary-image-fG7ODNgr.mjs +611 -0
- package/dist/use-modal-CkrZ-_-M.mjs +14 -0
- package/dist/use-search-DpLNvt7Q.mjs +12 -0
- package/dist/utils-CQvBF-wY.mjs +4 -0
- package/package.json +1 -1
- package/dist/_commonjsHelpers-C37NGDzP.js +0 -1
- package/dist/_commonjsHelpers-D6CrkqQz.mjs +0 -6
- package/dist/index-BH27NQKA.mjs +0 -2311
- package/dist/index-Bcw2vW_n.mjs +0 -75
- package/dist/index-C8zdgAVH.mjs +0 -82
- package/dist/index-CA_9DXWd.js +0 -5
- package/dist/index-CmylnDrF.js +0 -14
- package/dist/index-DUMgwAbO.js +0 -26
- package/dist/index-DpQYiwGu.js +0 -5
- package/dist/index-Dy8ZUIYs.js +0 -5
- package/dist/index-JPf5Yzg6.js +0 -17
- package/dist/index-OBZtKZuT.mjs +0 -1021
- package/dist/index-SsXlDjK4.mjs +0 -122
- package/dist/index-TKLFHcRp.js +0 -18
- package/dist/index-TnyKqJHo.mjs +0 -61
- package/dist/index-Yr95Cb7Z.mjs +0 -54
- package/dist/index-h9-U5wxq.mjs +0 -209
- package/dist/index-qCiUU4sZ.js +0 -9
- package/dist/index-qe0nJwzl.js +0 -15
- package/dist/styles--Elze-LV.js +0 -3
- package/dist/styles-3pR4Xdvy.js +0 -33
- package/dist/styles-59h91S9m.mjs +0 -65
- package/dist/styles-BCwLWpC3.mjs +0 -126
- package/dist/styles-BJ7-0I5X.mjs +0 -74
- package/dist/styles-BKObp9bh.mjs +0 -76
- package/dist/styles-BWVdbvFu.js +0 -5
- package/dist/styles-Bl-CstrT.js +0 -5
- package/dist/styles-Bn42XCW5.js +0 -7
- package/dist/styles-C2CoGJl7.js +0 -33
- package/dist/styles-CNzziAXG.js +0 -5
- package/dist/styles-CdD9waPD.js +0 -29
- package/dist/styles-CnKTwnFk.mjs +0 -110
- package/dist/styles-D4R-eerv.mjs +0 -77
- package/dist/styles-DNIIhyRC.mjs +0 -144
- package/dist/styles-DV8yOaqV.mjs +0 -131
- package/dist/styles-DYoftbd3.js +0 -42
- package/dist/styles-DlmKLhPh.js +0 -7
- package/dist/styles-be8gOdgy.mjs +0 -106
- package/dist/use-carousel-64dKFW4E.js +0 -1
- package/dist/use-carousel-D7xeL3YZ.mjs +0 -17
- package/dist/use-click-outside-BqkLISED.js +0 -1
- package/dist/use-click-outside-C4Z4pdiW.mjs +0 -18
- package/dist/use-cloudinary-image-DKMl7jbx.mjs +0 -612
- package/dist/use-cloudinary-image-YMMafagv.js +0 -1
- package/dist/use-modal-CNbLSSQb.mjs +0 -14
- package/dist/use-modal-_bYY6M_n.js +0 -1
- package/dist/use-search-75ip5xR-.mjs +0 -12
- package/dist/use-search-DeL4UDMh.js +0 -1
- package/dist/utils-C2whpEd3.js +0 -1
- package/dist/utils-Da0qL35u.mjs +0 -4
package/dist/index-qe0nJwzl.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),e=require("styled-components"),t=require("./components/colors/index.js"),a=require("./components/icon/index.js");require("./components/typography/heading/index.js"),require("./components/typography/span/index.js");const i=require("./components/typography/text/index.js"),r=e.styled.a`
|
|
2
|
-
${({theme:n})=>`\n align-items: center;\n display: flex;\n background: ${n.palette.white};\n border-radius: ${n.spacing[.5]};\n cursor: pointer;\n gap: ${n.spacing[1]};\n padding:\n ${n.spacing[.5]}\n ${n.spacing[1]}\n ${n.spacing[.5]}\n ${n.spacing[.5]};\n width: 1143px;\n\n &:hover {\n background: ${n.palette.gray[100]};\n\n > div.icon-wrap {\n background: ${n.palette.gradients["01"]};\n\n path {\n fill: ${n.palette.white};\n }\n }\n }\n\n @media screen\n and (min-width: ${n.breakpoints.sm})\n and (max-width: ${n.breakpoints.md})\n {\n width: 905px;\n }\n\n @media screen\n and (min-width: 40em)\n and (max-width: ${n.breakpoints.sm})\n {\n width: 475px;\n }\n\n @media screen and (max-width: 40em) {\n width: 270px;\n }\n `}
|
|
3
|
-
`,s=e.styled.div.attrs({className:"icon-wrap"})`
|
|
4
|
-
${({theme:n})=>`\n align-items: center;\n background: ${n.palette.primary[25]};\n border-radius: ${n.spacing[.25]};\n display: flex;\n justify-content: center;\n min-width: ${n.spacing[2.5]};\n height: ${n.spacing[2.5]};\n padding: ${n.spacing[.5]};\n\n span {\n font-size: 20px;\n }\n `}
|
|
5
|
-
`,o=e.styled.div`
|
|
6
|
-
${({theme:n})=>`\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: ${n.spacing[1.5]};\n width: 1193px;\n\n > :is(form, .dropdown) {\n border-radius: ${n.spacing[.5]};\n border: 1px solid ${n.palette.gray[200]};\n background-color: ${n.palette.white};\n }\n\n @media screen\n and (min-width: ${n.breakpoints.sm})\n and (max-width: ${n.breakpoints.md})\n {\n width: 954px;\n }\n\n @media screen\n and (min-width: 40em)\n and (max-width: ${n.breakpoints.sm})\n {\n width: 526px;\n }\n\n @media screen and (max-width: 40em) {\n width: 320px;\n }\n `}
|
|
7
|
-
`,p=e.styled.form`
|
|
8
|
-
${({theme:n})=>`\n align-items: center;\n display: flex;\n gap: ${n.spacing[.5]};\n justify-content: space-between;\n padding: ${n.spacing[1]} ${n.spacing[1.5]};\n width: 100%;\n `}
|
|
9
|
-
`,d=e.styled.input`
|
|
10
|
-
${({theme:n})=>`\n flex: 1 0 0;\n border: none;\n color: ${n.palette.gray[600]};\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.md};\n font-weight: ${n.typography.weight.regular};\n line-height: ${n.spacing[1.5]};\n outline: none;\n\n &::placeholder {\n color: ${n.palette.gray[400]};\n }\n\n &::-webkit-search-decoration,\n &::-webkit-search-cancel-button,\n &::-webkit-search-results-button,\n &::-webkit-search-results-decoration {\n -webkit-appearance:none;\n }\n\n @media screen and (max-width: ${n.breakpoints.mobile}) {\n font-size: ${n.typography.text.sm};\n }\n `}
|
|
11
|
-
`,c=e.styled.button`
|
|
12
|
-
${({theme:n})=>`\n align-items: center;\n border-radius: ${n.spacing[.5]};\n display: flex;\n width: ${n.spacing[2.5]};\n height: ${n.spacing[2.5]};\n padding: ${n.spacing[.625]} ${n.spacing[1]};\n justify-content: center;\n gap: ${n.spacing[.5]};\n flex-shrink: 0;\n\n span {\n color: ${n.palette.gray[400]};\n }\n\n &:hover {\n background-color: ${n.palette.gray[100]};\n }\n `}
|
|
13
|
-
`,l=e.styled.div.attrs({className:"dropdown"})`
|
|
14
|
-
${({theme:n,$empty:e=!1,$showHits:t=!1})=>`\n align-items: flex-start;\n align-self: stretch;\n background-repeat: no-repeat;\n background-size: 100% 100%;\n display: flex;\n flex-direction: column;\n gap: ${n.spacing[.5]};\n max-height: ${t?"270px":"500px"};\n overflow: hidden auto;\n padding: ${n.spacing[1.5]};\n scrollbar-color: ${n.palette.gray[600]} ${n.palette.gray[100]};\n scroll-padding: ${n.spacing[.5]};\n scrollbar-width: thin;\n\n @media screen and (max-width: ${n.breakpoints.sm}) and (${!e}) {\n max-height: 410px;\n }\n ${e&&`\n @media screen and (min-width: ${n.breakpoints.mobile}) {\n border: none !important;\n background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729784164/airs/search-bar/empty_state_bg.webp);\n }\n @media screen and (max-width: ${n.breakpoints.mobile}) {\n border: none !important;\n background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729783908/airs/search-bar/empty_state_bg_mobile.webp);\n }\n `}\n\n &::-webkit-scrollbar {\n height: ${n.spacing[.5]};\n width: ${n.spacing[.5]};\n }\n &::-webkit-scrollbar-track {\n background: ${n.palette.gray[100]};\n }\n &::-webkit-scrollbar-thumb {\n background-color: ${n.palette.gray[600]};\n border-radius: ${n.spacing[5]};\n height: ${n.spacing[.5]};\n }\n `}
|
|
15
|
-
`;exports.ItemSearching=({hit:e,icon:o="infinity",showIcon:p=!1})=>{const{slug:d,title:c}=e,l=String(d).startsWith("/pages/")?String(d).replace("/pages/","/"):String(d);return n.jsxs(r,{href:l,rel:"nofollow noopener noreferrer",children:[p&&n.jsx(s,{children:n.jsx(a.Icon,{icon:o,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),n.jsx(i.Text,{color:t.theme.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(c)})]})},exports.StyledDropdownItems=l,exports.StyledSearchBar=p,exports.StyledSearchBox=o,exports.StyledSearchInput=d,exports.StyledSearchReset=c;
|
package/dist/styles--Elze-LV.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("styled-components"),e=require("./utils-C2whpEd3.js"),t=require("./styles-C2CoGJl7.js");require("react/jsx-runtime");const{getVariant:a}=e.variantBuilder((n=>({ghost:`\n background: transparent;\n border: none;\n color: ${n.palette.gray[800]};\n --btn-padding-x: ${n.spacing[.5]};\n --btn-padding-y: ${n.spacing[.625]};\n --btn-spacing: ${n.spacing[.25]};\n\n &:disabled {\n color: ${n.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${n.palette.gray[100]};\n color: ${n.palette.gray[800]};\n }\n `,link:`\n --btn-padding-x: 0;\n --btn-padding-y: 0;\n color: ${n.palette.gray[800]};\n\n &:hover {\n color: ${n.palette.gray[500]};\n }\n `,primary:`\n background: ${n.palette.primary[500]};\n border: none;\n color: ${n.palette.white};\n --btn-spacing: ${n.spacing[.25]};\n\n &:disabled {\n background: ${n.palette.gray[200]};\n color: ${n.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${n.palette.primary[700]};\n color: ${n.palette.white};\n }\n `,secondary:`\n background: ${n.palette.gray[800]};\n border: none;\n color: ${n.palette.white};\n --btn-spacing: ${n.spacing[.25]};\n\n &:disabled {\n background: ${n.palette.gray[200]};\n color: ${n.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${n.palette.gray[600]};\n color: ${n.palette.white};\n }\n `,tertiary:`\n background: transparent;\n border: 1px solid ${n.palette.primary[500]};\n color: ${n.palette.primary[500]};\n --btn-spacing: ${n.spacing[.25]};\n\n &:disabled {\n background: transparent;\n border: 1px solid ${n.palette.gray[200]};\n color: ${n.palette.gray[300]};\n cursor: not-allowed;\n }\n\n &:hover:not([disabled]) {\n background-color: ${n.palette.primary[500]};\n color: ${n.palette.white};\n }\n `}))),r=n.styled(t.BaseButtonComponent)`
|
|
2
|
-
${({theme:n,$variant:e})=>`\n align-items: center;\n border-radius: var(--btn-spacing);\n cursor: pointer;\n display: inline-flex;\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.sm};\n font-weight: ${n.typography.weight.regular};\n gap: var(--btn-spacing);\n justify-content: center;\n line-height: ${n.spacing[1.25]};\n padding: var(--btn-padding-y) var(--btn-padding-x);\n position: relative;\n text-align: start;\n transition: all 0.5s ease;\n white-space: nowrap;\n\n @media screen and (max-width: ${n.breakpoints.mobile}) {\n ${"link"!==e?`--btn-padding-y: ${n.spacing[1]}`:""};\n }\n\n ${a(n,e??"primary")}\n `}
|
|
3
|
-
`;exports.StyledButton=r;
|
package/dist/styles-3pR4Xdvy.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("styled-components"),e=require("./styles-C2CoGJl7.js");require("react/jsx-runtime");const t=n.styled(e.BaseButtonComponent)`
|
|
2
|
-
align-items: center;
|
|
3
|
-
background-color: inherit;
|
|
4
|
-
border-color: inherit;
|
|
5
|
-
display: flex;
|
|
6
|
-
height: 38px;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
width: 40px;
|
|
9
|
-
margin: ${({$margin:e="0"})=>n.css`
|
|
10
|
-
${e}
|
|
11
|
-
`};
|
|
12
|
-
|
|
13
|
-
&:hover:not(:disabled) {
|
|
14
|
-
background-color: ${({theme:n})=>n.palette.gray[100]};
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
`,i=n.styled.div`
|
|
18
|
-
${({theme:n})=>`\n align-items: flex-start;\n background: ${n.palette.white};\n border: 1px solid ${n.palette.gray[200]};\n border-radius: ${n.spacing[.5]};\n box-shadow: ${n.shadows.md};\n display: inline-flex;\n flex-direction: column;\n gap: ${n.spacing[.25]};\n height: auto;\n padding: ${n.spacing[.25]};\n width: 292px;\n `}
|
|
19
|
-
`,r=n.styled.button`
|
|
20
|
-
${({theme:n,$disabled:e,$focus:t,$header:i})=>{const r=t?"34px":"40px";return`\n align-items: center;\n border-radius: ${i?`0 ${n.spacing[.5]} ${n.spacing[.5]} 0`:"4px"};\n border-left: inherit;\n display: flex;\n height: ${i?"38px":r};\n justify-content: center;\n outline: none;\n width: ${i?"38px":"40px"};\n\n &:hover {\n background-color: ${n.palette.gray[e?500:100]};\n }\n `}}
|
|
21
|
-
`,o=n.styled.div`
|
|
22
|
-
${({theme:n})=>`\n align-items: center;\n background: transparent;\n border-radius: ${n.spacing[.5]} 0 0 ${n.spacing[.5]};\n border-color: inherit;\n display: flex;\n height: 100%;\n justify-content: space-between;\n width: calc(100% - 40px);\n `}
|
|
23
|
-
`,a=n.styled.div`
|
|
24
|
-
align-items: center;
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-end;
|
|
27
|
-
gap: ${({theme:n})=>n.spacing[.5]};
|
|
28
|
-
flex: 1 0 0;
|
|
29
|
-
`,s=n.styled.div`
|
|
30
|
-
${({theme:n})=>`\n align-items: center;\n align-self: stretch;\n background-color: ${n.palette.gray[200]};\n border-radius: ${n.spacing[.25]};\n display: flex;\n font-family: ${n.typography.type.primary};\n gap: ${n.spacing[.25]};\n line-height: ${n.spacing[1.5]};\n padding: 2px ${n.spacing[.25]};\n `}
|
|
31
|
-
`,p=n.styled.button`
|
|
32
|
-
${({theme:n})=>`\n align-items: center;\n background-color: inherit;\n border: 0.5px solid ${n.palette.gray[200]};\n border-radius: 7px;\n color: ${n.palette.gray[800]};\n cursor: pointer;\n display: flex;\n font-weight: ${n.typography.weight.regular};\n justify-content: center;\n gap: 10px;\n padding: 2px 10px;\n\n &#active {\n background-color: ${n.palette.white};\n box-shadow: ${n.shadows.md};\n font-weight: ${n.typography.weight.bold};\n }\n `}
|
|
33
|
-
`;exports.CalendarButtonAction=r,exports.DayPeriodButton=p,exports.DialogContainer=i,exports.InputDateBox=o,exports.StyledButtonAction=t,exports.TimeOutlineContainer=a,exports.TimePickerContainer=s;
|
package/dist/styles-59h91S9m.mjs
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { styled as n } from "styled-components";
|
|
2
|
-
const e = n.li`
|
|
3
|
-
${({ theme: n2 }) => `
|
|
4
|
-
align-items: center;
|
|
5
|
-
background-color: ${n2.palette.white};
|
|
6
|
-
color: ${n2.palette.gray[800]};
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
display: flex;
|
|
9
|
-
font-size: ${n2.typography.text.sm};
|
|
10
|
-
font-weight: ${n2.typography.weight.regular};
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
gap: ${n2.spacing[0.625]};
|
|
13
|
-
line-height: ${n2.spacing[1.25]};
|
|
14
|
-
list-style-type: none;
|
|
15
|
-
min-height: 40px;
|
|
16
|
-
min-width: 240px;
|
|
17
|
-
padding: ${n2.spacing[0.625]} ${n2.spacing[1]};
|
|
18
|
-
pointer-events: auto;
|
|
19
|
-
|
|
20
|
-
p,
|
|
21
|
-
a {
|
|
22
|
-
word-break: break-word;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& > label {
|
|
26
|
-
margin: unset;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
a {
|
|
30
|
-
color: ${n2.palette.gray[500]};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&[aria-disabled="true"] {
|
|
34
|
-
color: ${n2.palette.gray[300]};
|
|
35
|
-
pointer-events: none;
|
|
36
|
-
|
|
37
|
-
a {
|
|
38
|
-
color: ${n2.palette.gray[300]};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&[aria-selected="true"] {
|
|
43
|
-
background-color: ${n2.palette.gray[200]};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:hover:not([aria-selected="true"]) {
|
|
47
|
-
background-color: ${n2.palette.gray[100]};
|
|
48
|
-
}
|
|
49
|
-
`}
|
|
50
|
-
`, t = n.ul`
|
|
51
|
-
${({ theme: n2 }) => `
|
|
52
|
-
background-color: ${n2.palette.white};
|
|
53
|
-
border: 1px solid ${n2.palette.gray[200]};
|
|
54
|
-
border-radius: ${n2.spacing[0.25]};
|
|
55
|
-
box-shadow: ${n2.shadows.md};
|
|
56
|
-
display: inline-block;
|
|
57
|
-
margin: unset;
|
|
58
|
-
min-width: 240px;
|
|
59
|
-
padding: ${n2.spacing[0.25]} 0 ${n2.spacing[0.25]} 0;
|
|
60
|
-
`}
|
|
61
|
-
`;
|
|
62
|
-
export {
|
|
63
|
-
e as L,
|
|
64
|
-
t as a
|
|
65
|
-
};
|
package/dist/styles-BCwLWpC3.mjs
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { styled as n } from "styled-components";
|
|
2
|
-
import { v as i } from "./utils-Da0qL35u.mjs";
|
|
3
|
-
import "./styles-DV8yOaqV.mjs";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
const { getVariant: e } = i((n2) => ({ lg: `
|
|
6
|
-
@media screen and (min-width: ${n2.breakpoints.sm}) {
|
|
7
|
-
width: 72%;
|
|
8
|
-
}
|
|
9
|
-
@media screen and (max-width: ${n2.breakpoints.sm}) {
|
|
10
|
-
width: 80%;
|
|
11
|
-
}
|
|
12
|
-
`, md: `
|
|
13
|
-
@media screen and (min-width: ${n2.breakpoints.sm}) {
|
|
14
|
-
width: 48%;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: ${n2.breakpoints.sm}) {
|
|
17
|
-
width: 60%;
|
|
18
|
-
}
|
|
19
|
-
`, sm: `
|
|
20
|
-
@media screen and (min-width: ${n2.breakpoints.sm}) {
|
|
21
|
-
width: 32%;
|
|
22
|
-
}
|
|
23
|
-
@media screen and (max-width: ${n2.breakpoints.sm}) {
|
|
24
|
-
width: 40%;
|
|
25
|
-
}
|
|
26
|
-
` })), t = n.div.attrs({ className: "comp-modal fixed inset-0 overflow-auto" })`
|
|
27
|
-
align-items: center;
|
|
28
|
-
background-color: rgb(52 64 84 / 70%);
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
z-index: 99999;
|
|
32
|
-
`, a = n.div`
|
|
33
|
-
${({ theme: n2, $size: i2 }) => `
|
|
34
|
-
background-color: ${n2.palette.white};
|
|
35
|
-
border: 1px solid ${n2.palette.gray[200]};
|
|
36
|
-
border-radius: ${n2.spacing[0.25]};
|
|
37
|
-
color: ${n2.palette.gray[800]};
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
font-family: ${n2.typography.type.primary};
|
|
41
|
-
font-size: ${n2.typography.text.sm};
|
|
42
|
-
max-height: 80%;
|
|
43
|
-
min-height: minmax(max-content, 32%);
|
|
44
|
-
overflow: hidden auto;
|
|
45
|
-
padding: ${n2.spacing[1.5]};
|
|
46
|
-
box-shadow: ${n2.shadows.lg};
|
|
47
|
-
margin: auto;
|
|
48
|
-
white-space: pre-line;
|
|
49
|
-
|
|
50
|
-
> *:not(img) {
|
|
51
|
-
margin-bottom: ${n2.spacing[1.5]};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
> *:last-child {
|
|
55
|
-
margin-bottom: 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&#table-column-toggle {
|
|
59
|
-
@media screen and (min-width: ${n2.breakpoints.sm}) {
|
|
60
|
-
width: 24%;
|
|
61
|
-
}
|
|
62
|
-
@media screen and (max-width: ${n2.breakpoints.sm}) {
|
|
63
|
-
width: 32%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
${e(n2, i2)}
|
|
68
|
-
`}
|
|
69
|
-
`, s = n.div`
|
|
70
|
-
display: block;
|
|
71
|
-
overflow: unset;
|
|
72
|
-
height: max-content;
|
|
73
|
-
max-height: 100%;
|
|
74
|
-
max-width: 100%;
|
|
75
|
-
position: static;
|
|
76
|
-
`, m = n.div.attrs({ className: "flex items-center justify-between mb-1.5" })``, r = n.div`
|
|
77
|
-
${({ theme: n2 }) => `
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
gap: ${n2.spacing[0.75]};
|
|
81
|
-
justify-content: space-between;
|
|
82
|
-
margin: 0;
|
|
83
|
-
max-width: 392px;
|
|
84
|
-
|
|
85
|
-
> label {
|
|
86
|
-
margin: 0;
|
|
87
|
-
flex: 1 1 auto;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
> div {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: row;
|
|
93
|
-
flex: 1 1 auto;
|
|
94
|
-
gap: ${n2.spacing[0.75]};
|
|
95
|
-
margin-right: ${n2.spacing[0.75]};
|
|
96
|
-
|
|
97
|
-
> button {
|
|
98
|
-
justify-content: center;
|
|
99
|
-
max-width: 190px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
> div:last-child {
|
|
104
|
-
margin-right: 0;
|
|
105
|
-
}
|
|
106
|
-
`}
|
|
107
|
-
`, d = n.div`
|
|
108
|
-
img {
|
|
109
|
-
margin: 0 calc(-${({ theme: n2 }) => n2.spacing[1.5]} - 1px)
|
|
110
|
-
${({ theme: n2 }) => n2.spacing[1.5]};
|
|
111
|
-
|
|
112
|
-
min-width: calc(100% + 2px + ${({ theme: n2 }) => n2.spacing[3]});
|
|
113
|
-
height: 185px;
|
|
114
|
-
object-fit: cover;
|
|
115
|
-
|
|
116
|
-
${({ $framed: n2 = false }) => n2 ? "\n border-radius: 8px;\n min-width: 100%;\n margin-left: 0;\n margin-right: 0;\n " : ""}
|
|
117
|
-
}
|
|
118
|
-
`;
|
|
119
|
-
export {
|
|
120
|
-
r as F,
|
|
121
|
-
s as H,
|
|
122
|
-
d as I,
|
|
123
|
-
t as M,
|
|
124
|
-
m as T,
|
|
125
|
-
a
|
|
126
|
-
};
|
package/dist/styles-BJ7-0I5X.mjs
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { NavLink as n } from "react-router-dom";
|
|
2
|
-
import { styled as t } from "styled-components";
|
|
3
|
-
const e = t.button`
|
|
4
|
-
${({ theme: n2 }) => `
|
|
5
|
-
align-items: center;
|
|
6
|
-
color: ${n2.palette.gray[500]};
|
|
7
|
-
display: flex;
|
|
8
|
-
gap: ${n2.spacing[0.625]};
|
|
9
|
-
justify-content: center;
|
|
10
|
-
padding: ${n2.spacing[0.75]};
|
|
11
|
-
text-align: center;
|
|
12
|
-
width: 151px;
|
|
13
|
-
|
|
14
|
-
&.active {
|
|
15
|
-
color: ${n2.palette.gray[800]};
|
|
16
|
-
border-bottom: 3px solid ${n2.palette.primary[400]};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
color: ${n2.palette.gray[800]};
|
|
21
|
-
}
|
|
22
|
-
`}
|
|
23
|
-
`, a = t.div`
|
|
24
|
-
${({ theme: n2 }) => `
|
|
25
|
-
align-items: center;
|
|
26
|
-
border-bottom: 2px solid ${n2.palette.gray[200]};
|
|
27
|
-
display: flex;
|
|
28
|
-
gap: ${n2.spacing[3]};
|
|
29
|
-
height: ${n2.spacing[3]};
|
|
30
|
-
width: max-content;
|
|
31
|
-
`}
|
|
32
|
-
`, o = t(n)`
|
|
33
|
-
${({ theme: n2 }) => `
|
|
34
|
-
align-items: center;
|
|
35
|
-
background: transparent;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
color: ${n2.palette.gray[800]};
|
|
38
|
-
font-family: ${n2.typography.type.primary};
|
|
39
|
-
font-size: ${n2.typography.text.sm};
|
|
40
|
-
display: flex;
|
|
41
|
-
font-weight: ${n2.typography.weight.regular};
|
|
42
|
-
padding: ${n2.spacing[0.625]} ${n2.spacing[0.5]};
|
|
43
|
-
position: relative;
|
|
44
|
-
text-align: center;
|
|
45
|
-
text-decoration: unset;
|
|
46
|
-
|
|
47
|
-
&:disabled {
|
|
48
|
-
cursor: not-allowed;
|
|
49
|
-
background-color: ${n2.palette.gray[300]};
|
|
50
|
-
color: ${n2.palette.gray[300]};
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:hover:not([disabled]) {
|
|
54
|
-
background-color: ${n2.palette.gray[100]};
|
|
55
|
-
color: ${n2.palette.gray[800]};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.active {
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
border-bottom: solid 4px ${n2.palette.primary[500]};
|
|
61
|
-
padding-bottom: calc(${n2.spacing[0.625]} - 4px);
|
|
62
|
-
|
|
63
|
-
&:hover {
|
|
64
|
-
background-color: transparent;
|
|
65
|
-
border-bottom: solid 4px ${n2.palette.primary[500]};
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
`}
|
|
69
|
-
`;
|
|
70
|
-
export {
|
|
71
|
-
a as S,
|
|
72
|
-
o as T,
|
|
73
|
-
e as a
|
|
74
|
-
};
|
package/dist/styles-BKObp9bh.mjs
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { styled as n } from "styled-components";
|
|
2
|
-
const t = n.div`
|
|
3
|
-
${({ theme: n2 }) => `
|
|
4
|
-
background-color: ${n2.palette.gray[100]};
|
|
5
|
-
border-radius: ${n2.spacing[0.25]};
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
padding: ${n2.spacing[1]};
|
|
8
|
-
position: relative;
|
|
9
|
-
width: fit-content;
|
|
10
|
-
|
|
11
|
-
.line-highlight.language-none {
|
|
12
|
-
background: ${n2.palette.gray[100]};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.line-highlight {
|
|
16
|
-
background: hsl(354deg 88% 93% / 50%);
|
|
17
|
-
font-family: ${n2.typography.type.mono};
|
|
18
|
-
font-size: ${n2.typography.text.xs};
|
|
19
|
-
line-height: ${n2.spacing[1]};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.line-highlight::before,
|
|
23
|
-
.line-highlight[data-end]::after {
|
|
24
|
-
background: ${n2.palette.primary[300]};
|
|
25
|
-
background-color: hsl(355deg 89% 36%);
|
|
26
|
-
color: ${n2.palette.white};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
pre code {
|
|
30
|
-
color: #161616;
|
|
31
|
-
font-family: ${n2.typography.type.mono};
|
|
32
|
-
font-size: ${n2.typography.text.xs};
|
|
33
|
-
line-height: ${n2.spacing[1]};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
pre:not(.line-highlight) {
|
|
37
|
-
margin-top: unset;
|
|
38
|
-
margin-bottom: unset;
|
|
39
|
-
padding: unset;
|
|
40
|
-
width: 100%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
span:hover {
|
|
44
|
-
background-color: ${n2.palette.gray[200]};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.no-data,
|
|
48
|
-
pre.line-highlight {
|
|
49
|
-
background-color: ${n2.palette.gray[100]};
|
|
50
|
-
padding-top: unset;
|
|
51
|
-
padding-bottom: unset;
|
|
52
|
-
}
|
|
53
|
-
`}
|
|
54
|
-
`, e = n.div`
|
|
55
|
-
${({ theme: n2 }) => `
|
|
56
|
-
align-items: end;
|
|
57
|
-
background-color: ${n2.palette.gray[100]};
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
justify-content: space-between;
|
|
61
|
-
min-width: 103px;
|
|
62
|
-
margin-right: ${n2.spacing[1]};
|
|
63
|
-
padding-top: ${n2.spacing[1]};
|
|
64
|
-
padding-bottom: ${n2.spacing[1]};
|
|
65
|
-
position: relative;
|
|
66
|
-
padding-left: unset;
|
|
67
|
-
|
|
68
|
-
button:hover:not([disabled]) {
|
|
69
|
-
background-color: ${n2.palette.gray[200]};
|
|
70
|
-
}
|
|
71
|
-
`}
|
|
72
|
-
`;
|
|
73
|
-
export {
|
|
74
|
-
e as B,
|
|
75
|
-
t as C
|
|
76
|
-
};
|
package/dist/styles-BWVdbvFu.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("styled-components"),e=n.styled.li`
|
|
2
|
-
${({theme:n})=>`\n align-items: center;\n background-color: ${n.palette.white};\n color: ${n.palette.gray[800]};\n cursor: pointer;\n display: flex;\n font-size: ${n.typography.text.sm};\n font-weight: ${n.typography.weight.regular};\n justify-content: space-between;\n gap: ${n.spacing[.625]};\n line-height: ${n.spacing[1.25]};\n list-style-type: none;\n min-height: 40px;\n min-width: 240px;\n padding: ${n.spacing[.625]} ${n.spacing[1]};\n pointer-events: auto;\n\n p,\n a {\n word-break: break-word;\n }\n\n & > label {\n margin: unset;\n }\n\n a {\n color: ${n.palette.gray[500]};\n }\n\n &[aria-disabled="true"] {\n color: ${n.palette.gray[300]};\n pointer-events: none;\n\n a {\n color: ${n.palette.gray[300]};\n }\n }\n\n &[aria-selected="true"] {\n background-color: ${n.palette.gray[200]};\n }\n\n &:hover:not([aria-selected="true"]) {\n background-color: ${n.palette.gray[100]};\n }\n `}
|
|
3
|
-
`,t=n.styled.ul`
|
|
4
|
-
${({theme:n})=>`\n background-color: ${n.palette.white};\n border: 1px solid ${n.palette.gray[200]};\n border-radius: ${n.spacing[.25]};\n box-shadow: ${n.shadows.md};\n display: inline-block;\n margin: unset;\n min-width: 240px;\n padding: ${n.spacing[.25]} 0 ${n.spacing[.25]} 0;\n `}
|
|
5
|
-
`;exports.Li=e,exports.ListItemsWrapper=t;
|
package/dist/styles-Bl-CstrT.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("styled-components"),e=n.styled.div`
|
|
2
|
-
${({theme:n})=>`\n align-items: flex-start;\n display: inline-flex;\n flex-direction: column;\n gap: ${n.spacing[.25]};\n position: relative;\n width: 100%;\n\n label {\n color: ${n.palette.gray[800]};\n }\n\n &:has(input.date-input) {\n div {\n padding-right: 0;\n }\n }\n\n &:has(input[type="file"]) {\n div {\n border-right: unset;\n padding-right: 0;\n\n &:hover, &:focus-within {\n border-right: unset;\n }\n }\n }\n\n > *:not(.error-msg) {\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.sm};\n font-style: normal;\n font-weight: ${n.typography.weight.regular};\n line-height: ${n.spacing[1.25]};\n }\n `}
|
|
3
|
-
`,t=n.styled.div`
|
|
4
|
-
${({theme:n})=>`\n align-items: center;\n display: flex;\n border-radius: ${n.spacing[.5]};\n border: 1px solid;\n border-color: ${n.palette.gray[300]};\n color: ${n.palette.gray[600]};\n gap: ${n.spacing[.625]};\n justify-content: space-between;\n height: 40px;\n padding: ${n.spacing[.625]} ${n.spacing[.75]};\n width: 100%;\n white-space: nowrap;\n\n input, textarea {\n background: inherit;\n color: ${n.palette.gray[800]};\n cursor: inherit;\n outline: none;\n resize: none;\n width: 100%;\n\n &::placeholder {\n color: ${n.palette.gray[400]};\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &[type="number"] {\n appearance: textfield;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n appearance: none;\n margin: 0;\n }\n }\n\n input.date-input {\n display: none;\n width: 0;\n }\n\n &:has(textarea) {\n align-items: start;\n height: auto;\n }\n\n &:has(input[type="number"]) {\n padding-right: 0;\n }\n\n textarea {\n min-height: ${n.spacing[6]};\n }\n\n span:not(.action) {\n font-size: 14px;\n }\n\n &.disabled {\n background: ${n.palette.gray[100]};\n color: ${n.palette.gray[400]};\n cursor: not-allowed;\n }\n\n &.error:not(.disabled) {\n border: 1px solid ${n.palette.error[500]};\n }\n\n &:focus-within:not(.disabled, .error) {\n background: ${n.palette.white};\n border: 2px solid ${n.palette.black};\n\n button.action-btn {\n height: 36px;\n width: 40px;\n }\n }\n\n &:hover:not(:focus-within, .disabled, .error) {\n background: ${n.palette.white};\n border: 1px solid ${n.palette.gray[600]};\n }\n `}
|
|
5
|
-
`;exports.StyledOutlineContainer=e,exports.StyledTextInputContainer=t;
|
package/dist/styles-Bn42XCW5.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("react-router-dom"),t=require("styled-components"),e=t.styled.button`
|
|
2
|
-
${({theme:n})=>`\n align-items: center;\n color: ${n.palette.gray[500]};\n display: flex;\n gap: ${n.spacing[.625]};\n justify-content: center;\n padding: ${n.spacing[.75]};\n text-align: center;\n width: 151px;\n\n &.active {\n color: ${n.palette.gray[800]};\n border-bottom: 3px solid ${n.palette.primary[400]};\n }\n\n &:hover {\n color: ${n.palette.gray[800]};\n }\n `}
|
|
3
|
-
`,r=t.styled.div`
|
|
4
|
-
${({theme:n})=>`\n align-items: center;\n border-bottom: 2px solid ${n.palette.gray[200]};\n display: flex;\n gap: ${n.spacing[3]};\n height: ${n.spacing[3]};\n width: max-content;\n `}
|
|
5
|
-
`,a=t.styled(n.NavLink)`
|
|
6
|
-
${({theme:n})=>`\n align-items: center;\n background: transparent;\n cursor: pointer;\n color: ${n.palette.gray[800]};\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.sm};\n display: flex;\n font-weight: ${n.typography.weight.regular};\n padding: ${n.spacing[.625]} ${n.spacing[.5]};\n position: relative;\n text-align: center;\n text-decoration: unset;\n\n &:disabled {\n cursor: not-allowed;\n background-color: ${n.palette.gray[300]};\n color: ${n.palette.gray[300]};\n }\n\n &:hover:not([disabled]) {\n background-color: ${n.palette.gray[100]};\n color: ${n.palette.gray[800]};\n }\n\n &.active {\n background-color: transparent;\n border-bottom: solid 4px ${n.palette.primary[500]};\n padding-bottom: calc(${n.spacing[.625]} - 4px);\n\n &:hover {\n background-color: transparent;\n border-bottom: solid 4px ${n.palette.primary[500]};\n }\n }\n `}
|
|
7
|
-
`;exports.StyledFixedTab=e,exports.StyledFixedTabs=r,exports.TabLink=a;
|
package/dist/styles-C2CoGJl7.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("styled-components"),o=require("./components/colors/index.js"),t=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"],n=(e,o)=>void 0===o?"":`${e}: ${o};`,r=e=>{const t=e.py??e.pt??0,n=e.px??e.pr??0,r=e.py??e.pb??0,i=e.px??e.pl??0;if(e.padding){const[t,n,r,i]=e.padding;return`padding: ${o.theme.spacing[t]} ${o.theme.spacing[n]} ${o.theme.spacing[r]} ${o.theme.spacing[i]};`}return`padding: ${o.theme.spacing[t]} ${o.theme.spacing[n]} ${o.theme.spacing[r]} ${o.theme.spacing[i]};`},i=e=>{const t=e.my??e.mt??0,n=e.mx??e.mr??0,r=e.my??e.mb??0,i=e.mx??e.ml??0;if(e.margin){const[t,n,r,i]=e.margin;return`margin: ${o.theme.spacing[t]} ${o.theme.spacing[n]} ${o.theme.spacing[r]} ${o.theme.spacing[i]};`}return`margin: ${o.theme.spacing[t]} ${o.theme.spacing[n]} ${o.theme.spacing[r]} ${o.theme.spacing[i]};`},s=e=>`\n ${n("position",e.position)}\n ${n("top",e.top)}\n ${n("right",e.right)}\n ${n("bottom",e.bottom)}\n ${n("left",e.left)}\n ${n("z-index",e.zIndex)}\n `,a=e=>`\n ${n("border",e.border)}\n ${n("border-top",e.borderTop)}\n ${n("border-right",e.borderRight)}\n ${n("border-bottom",e.borderBottom)}\n ${n("border-left",e.borderLeft)}\n ${n("border-color",e.borderColor)}\n ${n("border-radius",e.borderRadius)}\n `,d=e=>{const t=e.scroll?`\n ${m=e.scroll,m.includes("x")?"overflow-x: auto;":""}\n ${(e=>e.includes("y")?"overflow-y: auto;":"")(e.scroll)}\n `:"",r=n("visibility",e.visibility),i=n("display",e.display),s=n("height",e.height),a=n("width",e.width),d=n("max-height",e.maxHeight),$=n("max-width",e.maxWidth),p=n("min-height",e.minHeight),l=n("min-width",e.minWidth),g=n("box-shadow",e.shadow?o.theme.shadows[e.shadow]:void 0),h=n("gap",void 0===e.gap?void 0:o.theme.spacing[e.gap]);var m;return`\n ${t}\n ${r}\n ${i}\n ${s}\n ${a}\n ${d}\n ${$}\n ${p}\n ${l}\n ${g}\n ${n("background-color",e.bgColor)}\n ${n("background",e.bgGradient)}\n ${h}\n ${n("flex-direction",e.flexDirection)}\n ${n("flex-grow",e.flexGrow)}\n ${n("justify-content",e.justify)}\n ${n("justify-self",e.justifySelf)}\n ${n("align-items",e.alignItems)}\n ${n("align-self",e.alignSelf)}\n ${n("flex-wrap",e.wrap)}\n `},$=e=>`\n ${n("color",e.color)}\n ${n("font-family",e.fontFamily)}\n ${n("font-size",e.fontSize)}\n ${n("font-weight",e.fontWeight)}\n ${n("line-spacing",e.letterSpacing)}\n ${n("line-height",e.lineSpacing)}\n ${n("text-align",e.textAlign)}\n ${n("text-decoration",e.textDecoration)}\n ${n("text-overflow",e.textOverflow)}\n ${n("white-space",e.whiteSpace)}\n ${n("word-break",e.wordBreak)}\n ${n("word-wrap",e.wordWrap)}\n `,p=e=>{const t=n("cursor",e.cursor),r=n("border-color",e.borderColorHover),i=n("background-color",e.bgColorHover),s=n("box-shadow",void 0===e.shadowHover?void 0:o.theme.shadows[e.shadowHover]);return`\n ${t}\n\n &:hover {\n ${n("transition",e.transition)||"transition: all 0.2s;"}\n ${r}\n ${i}\n ${s}\n }\n `},l=()=>({shouldForwardProp:e=>!t.includes(e)}),g=e.styled.div.withConfig(l())`
|
|
2
|
-
${r}
|
|
3
|
-
${i}
|
|
4
|
-
${s}
|
|
5
|
-
${d}
|
|
6
|
-
${$}
|
|
7
|
-
${a}
|
|
8
|
-
${p}
|
|
9
|
-
`,h=e.styled.button.withConfig(l())`
|
|
10
|
-
${r}
|
|
11
|
-
${i}
|
|
12
|
-
${s}
|
|
13
|
-
${d}
|
|
14
|
-
${$}
|
|
15
|
-
${a}
|
|
16
|
-
${p}
|
|
17
|
-
`,m=e.styled.p.withConfig(l())`
|
|
18
|
-
${r}
|
|
19
|
-
${i}
|
|
20
|
-
${s}
|
|
21
|
-
${d}
|
|
22
|
-
${$}
|
|
23
|
-
${a}
|
|
24
|
-
${p}
|
|
25
|
-
`,c=e.styled.span.withConfig(l())`
|
|
26
|
-
${r}
|
|
27
|
-
${i}
|
|
28
|
-
${s}
|
|
29
|
-
${d}
|
|
30
|
-
${$}
|
|
31
|
-
${a}
|
|
32
|
-
${p}
|
|
33
|
-
`;exports.BaseButtonComponent=h,exports.BaseComponent=g,exports.BaseSpanComponent=c,exports.BaseTextComponent=m,exports.getStyledConfig=l,exports.hiddenProps=t,exports.setBorder=a,exports.setDisplay=d,exports.setInteraction=p,exports.setMargin=i,exports.setPadding=r,exports.setPosition=s,exports.setText=$;
|
package/dist/styles-CNzziAXG.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("styled-components"),t=n.styled.div`
|
|
2
|
-
${({theme:n})=>`\n background-color: ${n.palette.gray[100]};\n border-radius: ${n.spacing[.25]};\n display: inline-flex;\n padding: ${n.spacing[1]};\n position: relative;\n width: fit-content;\n\n .line-highlight.language-none {\n background: ${n.palette.gray[100]};\n }\n\n .line-highlight {\n background: hsl(354deg 88% 93% / 50%);\n font-family: ${n.typography.type.mono};\n font-size: ${n.typography.text.xs};\n line-height: ${n.spacing[1]};\n }\n\n .line-highlight::before,\n .line-highlight[data-end]::after {\n background: ${n.palette.primary[300]};\n background-color: hsl(355deg 89% 36%);\n color: ${n.palette.white};\n }\n\n pre code {\n color: #161616;\n font-family: ${n.typography.type.mono};\n font-size: ${n.typography.text.xs};\n line-height: ${n.spacing[1]};\n }\n\n pre:not(.line-highlight) {\n margin-top: unset;\n margin-bottom: unset;\n padding: unset;\n width: 100%;\n }\n\n span:hover {\n background-color: ${n.palette.gray[200]};\n }\n\n .no-data,\n pre.line-highlight {\n background-color: ${n.palette.gray[100]};\n padding-top: unset;\n padding-bottom: unset;\n }\n `}
|
|
3
|
-
`,e=n.styled.div`
|
|
4
|
-
${({theme:n})=>`\n align-items: end;\n background-color: ${n.palette.gray[100]};\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 103px;\n margin-right: ${n.spacing[1]};\n padding-top: ${n.spacing[1]};\n padding-bottom: ${n.spacing[1]};\n position: relative;\n padding-left: unset;\n\n button:hover:not([disabled]) {\n background-color: ${n.palette.gray[200]};\n }\n `}
|
|
5
|
-
`;exports.ButtonsContainer=e,exports.CodeContainer=t;
|
package/dist/styles-CdD9waPD.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("styled-components"),e=require("./utils-C2whpEd3.js");require("./styles-C2CoGJl7.js"),require("react/jsx-runtime");const{getVariant:t}=e.variantBuilder((n=>({lg:`\n @media screen and (min-width: ${n.breakpoints.sm}) {\n width: 72%;\n }\n @media screen and (max-width: ${n.breakpoints.sm}) {\n width: 80%;\n }\n `,md:`\n @media screen and (min-width: ${n.breakpoints.sm}) {\n width: 48%;\n }\n @media screen and (max-width: ${n.breakpoints.sm}) {\n width: 60%;\n }\n `,sm:`\n @media screen and (min-width: ${n.breakpoints.sm}) {\n width: 32%;\n }\n @media screen and (max-width: ${n.breakpoints.sm}) {\n width: 40%;\n }\n `}))),i=n.styled.div.attrs({className:"comp-modal fixed inset-0 overflow-auto"})`
|
|
2
|
-
align-items: center;
|
|
3
|
-
background-color: rgb(52 64 84 / 70%);
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
z-index: 99999;
|
|
7
|
-
`,a=n.styled.div`
|
|
8
|
-
${({theme:n,$size:e})=>`\n background-color: ${n.palette.white};\n border: 1px solid ${n.palette.gray[200]};\n border-radius: ${n.spacing[.25]};\n color: ${n.palette.gray[800]};\n display: flex;\n flex-direction: column;\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.sm};\n max-height: 80%;\n min-height: minmax(max-content, 32%);\n overflow: hidden auto;\n padding: ${n.spacing[1.5]};\n box-shadow: ${n.shadows.lg};\n margin: auto;\n white-space: pre-line;\n\n > *:not(img) {\n margin-bottom: ${n.spacing[1.5]};\n }\n\n > *:last-child {\n margin-bottom: 0;\n }\n\n &#table-column-toggle {\n @media screen and (min-width: ${n.breakpoints.sm}) {\n width: 24%;\n }\n @media screen and (max-width: ${n.breakpoints.sm}) {\n width: 32%;\n }\n }\n\n ${t(n,e)}\n `}
|
|
9
|
-
`,r=n.styled.div`
|
|
10
|
-
display: block;
|
|
11
|
-
overflow: unset;
|
|
12
|
-
height: max-content;
|
|
13
|
-
max-height: 100%;
|
|
14
|
-
max-width: 100%;
|
|
15
|
-
position: static;
|
|
16
|
-
`,s=n.styled.div.attrs({className:"flex items-center justify-between mb-1.5"})``,d=n.styled.div`
|
|
17
|
-
${({theme:n})=>`\n display: flex;\n flex-direction: row;\n gap: ${n.spacing[.75]};\n justify-content: space-between;\n margin: 0;\n max-width: 392px;\n\n > label {\n margin: 0;\n flex: 1 1 auto;\n }\n\n > div {\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n gap: ${n.spacing[.75]};\n margin-right: ${n.spacing[.75]};\n\n > button {\n justify-content: center;\n max-width: 190px;\n }\n }\n\n > div:last-child {\n margin-right: 0;\n }\n `}
|
|
18
|
-
`,o=n.styled.div`
|
|
19
|
-
img {
|
|
20
|
-
margin: 0 calc(-${({theme:n})=>n.spacing[1.5]} - 1px)
|
|
21
|
-
${({theme:n})=>n.spacing[1.5]};
|
|
22
|
-
|
|
23
|
-
min-width: calc(100% + 2px + ${({theme:n})=>n.spacing[3]});
|
|
24
|
-
height: 185px;
|
|
25
|
-
object-fit: cover;
|
|
26
|
-
|
|
27
|
-
${({$framed:n=!1})=>n?"\n border-radius: 8px;\n min-width: 100%;\n margin-left: 0;\n margin-right: 0;\n ":""}
|
|
28
|
-
}
|
|
29
|
-
`;exports.Footer=d,exports.Header=r,exports.ImageContainer=o,exports.ModalContainer=a,exports.ModalWrapper=i,exports.Title=s;
|
package/dist/styles-CnKTwnFk.mjs
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { styled as n, css as e } from "styled-components";
|
|
2
|
-
import { a as t } from "./styles-DV8yOaqV.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
const i = n(t)`
|
|
5
|
-
align-items: center;
|
|
6
|
-
background-color: inherit;
|
|
7
|
-
border-color: inherit;
|
|
8
|
-
display: flex;
|
|
9
|
-
height: 38px;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
width: 40px;
|
|
12
|
-
margin: ${({ $margin: n2 = "0" }) => e`
|
|
13
|
-
${n2}
|
|
14
|
-
`};
|
|
15
|
-
|
|
16
|
-
&:hover:not(:disabled) {
|
|
17
|
-
background-color: ${({ theme: n2 }) => n2.palette.gray[100]};
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
`, r = n.div`
|
|
21
|
-
${({ theme: n2 }) => `
|
|
22
|
-
align-items: flex-start;
|
|
23
|
-
background: ${n2.palette.white};
|
|
24
|
-
border: 1px solid ${n2.palette.gray[200]};
|
|
25
|
-
border-radius: ${n2.spacing[0.5]};
|
|
26
|
-
box-shadow: ${n2.shadows.md};
|
|
27
|
-
display: inline-flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
gap: ${n2.spacing[0.25]};
|
|
30
|
-
height: auto;
|
|
31
|
-
padding: ${n2.spacing[0.25]};
|
|
32
|
-
width: 292px;
|
|
33
|
-
`}
|
|
34
|
-
`, a = n.button`
|
|
35
|
-
${({ theme: n2, $disabled: e2, $focus: t2, $header: i2 }) => {
|
|
36
|
-
const r2 = t2 ? "34px" : "40px";
|
|
37
|
-
return `
|
|
38
|
-
align-items: center;
|
|
39
|
-
border-radius: ${i2 ? `0 ${n2.spacing[0.5]} ${n2.spacing[0.5]} 0` : "4px"};
|
|
40
|
-
border-left: inherit;
|
|
41
|
-
display: flex;
|
|
42
|
-
height: ${i2 ? "38px" : r2};
|
|
43
|
-
justify-content: center;
|
|
44
|
-
outline: none;
|
|
45
|
-
width: ${i2 ? "38px" : "40px"};
|
|
46
|
-
|
|
47
|
-
&:hover {
|
|
48
|
-
background-color: ${n2.palette.gray[e2 ? 500 : 100]};
|
|
49
|
-
}
|
|
50
|
-
`;
|
|
51
|
-
}}
|
|
52
|
-
`, o = n.div`
|
|
53
|
-
${({ theme: n2 }) => `
|
|
54
|
-
align-items: center;
|
|
55
|
-
background: transparent;
|
|
56
|
-
border-radius: ${n2.spacing[0.5]} 0 0 ${n2.spacing[0.5]};
|
|
57
|
-
border-color: inherit;
|
|
58
|
-
display: flex;
|
|
59
|
-
height: 100%;
|
|
60
|
-
justify-content: space-between;
|
|
61
|
-
width: calc(100% - 40px);
|
|
62
|
-
`}
|
|
63
|
-
`, s = n.div`
|
|
64
|
-
align-items: center;
|
|
65
|
-
display: flex;
|
|
66
|
-
justify-content: flex-end;
|
|
67
|
-
gap: ${({ theme: n2 }) => n2.spacing[0.5]};
|
|
68
|
-
flex: 1 0 0;
|
|
69
|
-
`, p = n.div`
|
|
70
|
-
${({ theme: n2 }) => `
|
|
71
|
-
align-items: center;
|
|
72
|
-
align-self: stretch;
|
|
73
|
-
background-color: ${n2.palette.gray[200]};
|
|
74
|
-
border-radius: ${n2.spacing[0.25]};
|
|
75
|
-
display: flex;
|
|
76
|
-
font-family: ${n2.typography.type.primary};
|
|
77
|
-
gap: ${n2.spacing[0.25]};
|
|
78
|
-
line-height: ${n2.spacing[1.5]};
|
|
79
|
-
padding: 2px ${n2.spacing[0.25]};
|
|
80
|
-
`}
|
|
81
|
-
`, d = n.button`
|
|
82
|
-
${({ theme: n2 }) => `
|
|
83
|
-
align-items: center;
|
|
84
|
-
background-color: inherit;
|
|
85
|
-
border: 0.5px solid ${n2.palette.gray[200]};
|
|
86
|
-
border-radius: 7px;
|
|
87
|
-
color: ${n2.palette.gray[800]};
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
display: flex;
|
|
90
|
-
font-weight: ${n2.typography.weight.regular};
|
|
91
|
-
justify-content: center;
|
|
92
|
-
gap: 10px;
|
|
93
|
-
padding: 2px 10px;
|
|
94
|
-
|
|
95
|
-
&#active {
|
|
96
|
-
background-color: ${n2.palette.white};
|
|
97
|
-
box-shadow: ${n2.shadows.md};
|
|
98
|
-
font-weight: ${n2.typography.weight.bold};
|
|
99
|
-
}
|
|
100
|
-
`}
|
|
101
|
-
`;
|
|
102
|
-
export {
|
|
103
|
-
a as C,
|
|
104
|
-
r as D,
|
|
105
|
-
o as I,
|
|
106
|
-
i as S,
|
|
107
|
-
s as T,
|
|
108
|
-
p as a,
|
|
109
|
-
d as b
|
|
110
|
-
};
|