quirk-ui 0.1.73 → 0.1.76
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/AccordionItem.css.d.ts +13 -0
- package/dist/{CategoryFilters-CIWwf9VY.js → CategoryFilters-Dvx_tFs9.js} +1 -1
- package/dist/{CategoryFilters-CvmFCE3e.cjs → CategoryFilters-jaBdSByQ.cjs} +1 -1
- package/dist/CategoryFilters.css.d.ts +31 -0
- package/dist/FormField-BO1hKjUb.js +228 -0
- package/dist/FormField-wfYSN1Vd.cjs +1 -0
- package/dist/FormField.css +1 -0
- package/dist/FormField.css.d.ts +22 -0
- package/dist/HeroSubComponents.css.d.ts +30 -0
- package/dist/NavLink.css.d.ts +72 -0
- package/dist/core/components/Accordion/Accordion.test.cjs +1 -1
- package/dist/core/components/Accordion/Accordion.test.mjs +1 -1
- package/dist/core/components/Accordion/AccordionItem.test.cjs +1 -1
- package/dist/core/components/Accordion/AccordionItem.test.mjs +1 -1
- package/dist/core/components/Avatar/Avatar.test.cjs +1 -1
- package/dist/core/components/Avatar/Avatar.test.mjs +1 -1
- package/dist/core/components/Badge/Badge.test.cjs +1 -1
- package/dist/core/components/Badge/Badge.test.mjs +1 -1
- package/dist/core/components/Badge/index.cjs +1 -1
- package/dist/core/components/Badge/index.mjs +1 -1
- package/dist/core/components/Box/Box.test.cjs +1 -1
- package/dist/core/components/Box/Box.test.mjs +1 -1
- package/dist/core/components/Box/index.cjs +1 -1
- package/dist/core/components/Box/index.mjs +1 -1
- package/dist/core/components/Breadcrumbs/Breadcrumbs.test.cjs +1 -1
- package/dist/core/components/Breadcrumbs/Breadcrumbs.test.mjs +1 -1
- package/dist/core/components/Breadcrumbs/index.cjs +1 -1
- package/dist/core/components/Breadcrumbs/index.mjs +1 -1
- package/dist/core/components/Button/Button.test.cjs +1 -1
- package/dist/core/components/Button/Button.test.mjs +2 -2
- package/dist/core/components/Button/index.cjs +1 -1
- package/dist/core/components/Button/index.mjs +1 -1
- package/dist/core/components/ButtonGroup/ButtonGroup.test.cjs +1 -1
- package/dist/core/components/ButtonGroup/ButtonGroup.test.mjs +1 -1
- package/dist/core/components/Calendar/Calendar.test.cjs +1 -1
- package/dist/core/components/Calendar/Calendar.test.mjs +2 -2
- package/dist/core/components/Calendar/index.cjs +1 -1
- package/dist/core/components/Calendar/index.mjs +1 -1
- package/dist/core/components/Card/Card.test.cjs +1 -1
- package/dist/core/components/Card/Card.test.mjs +1 -1
- package/dist/core/components/Card/index.cjs +1 -1
- package/dist/core/components/Card/index.mjs +1 -1
- package/dist/core/components/Carousel/Carousel.test.cjs +1 -1
- package/dist/core/components/Carousel/Carousel.test.mjs +1 -1
- package/dist/core/components/Checkbox/Checkbox.test.cjs +1 -1
- package/dist/core/components/Checkbox/Checkbox.test.mjs +1 -1
- package/dist/core/components/Container/Container.test.cjs +1 -1
- package/dist/core/components/Container/Container.test.mjs +1 -1
- package/dist/core/components/Container/index.cjs +1 -1
- package/dist/core/components/Container/index.mjs +1 -1
- package/dist/core/components/DatePicker/DatePicker.test.cjs +1 -1
- package/dist/core/components/DatePicker/DatePicker.test.mjs +2 -2
- package/dist/core/components/DatePicker/index.cjs +1 -1
- package/dist/core/components/DatePicker/index.mjs +2 -2
- package/dist/core/components/Divider/Divider.test.cjs +1 -1
- package/dist/core/components/Divider/Divider.test.mjs +1 -1
- package/dist/core/components/Divider/index.cjs +1 -1
- package/dist/core/components/Divider/index.mjs +1 -1
- package/dist/core/components/Drawer/Drawer.test.cjs +1 -1
- package/dist/core/components/Drawer/Drawer.test.mjs +1 -1
- package/dist/core/components/Drawer/index.cjs +1 -1
- package/dist/core/components/Drawer/index.mjs +1 -1
- package/dist/core/components/Fieldset/Fieldset.test.cjs +1 -1
- package/dist/core/components/Fieldset/Fieldset.test.mjs +1 -1
- package/dist/core/components/Fieldset/index.cjs +1 -1
- package/dist/core/components/Fieldset/index.mjs +1 -1
- package/dist/core/components/FileUpload/FileUpload.test.cjs +1 -1
- package/dist/core/components/FileUpload/FileUpload.test.mjs +1 -1
- package/dist/core/components/FileUpload/index.cjs +1 -1
- package/dist/core/components/FileUpload/index.mjs +1 -1
- package/dist/core/components/FloatingActionButton/FloatingActionButton.test.cjs +1 -1
- package/dist/core/components/FloatingActionButton/FloatingActionButton.test.mjs +1 -1
- package/dist/core/components/FloatingActionButton/index.cjs +1 -1
- package/dist/core/components/FloatingActionButton/index.mjs +1 -1
- package/dist/core/components/Footer/Footer.test.cjs +1 -1
- package/dist/core/components/Footer/Footer.test.mjs +1 -1
- package/dist/core/components/Footer/index.cjs +1 -1
- package/dist/core/components/Footer/index.mjs +2 -2
- package/dist/core/components/Form/Form.test.cjs +1 -1
- package/dist/core/components/Form/Form.test.mjs +1 -1
- package/dist/core/components/Form/index.cjs +1 -1
- package/dist/core/components/Form/index.mjs +1 -1
- package/dist/core/components/Grid/Grid.test.cjs +1 -1
- package/dist/core/components/Grid/Grid.test.mjs +1 -1
- package/dist/core/components/Heading/Heading.test.cjs +1 -1
- package/dist/core/components/Heading/Heading.test.mjs +1 -1
- package/dist/core/components/Input/Input.test.cjs +1 -1
- package/dist/core/components/Input/Input.test.mjs +1 -1
- package/dist/core/components/Input/index.cjs +1 -1
- package/dist/core/components/Input/index.mjs +25 -31
- package/dist/core/components/Label/Label.test.cjs +1 -1
- package/dist/core/components/Label/Label.test.mjs +1 -1
- package/dist/core/components/Label/index.cjs +1 -1
- package/dist/core/components/Label/index.mjs +1 -1
- package/dist/core/components/List/List.test.cjs +1 -1
- package/dist/core/components/List/List.test.mjs +1 -1
- package/dist/core/components/List/index.cjs +1 -1
- package/dist/core/components/List/index.mjs +1 -1
- package/dist/core/components/Modal/Modal.test.cjs +1 -1
- package/dist/core/components/Modal/Modal.test.mjs +1 -1
- package/dist/core/components/Modal/index.cjs +1 -1
- package/dist/core/components/Modal/index.mjs +1 -1
- package/dist/core/components/NavBar/NavBar.test.cjs +1 -1
- package/dist/core/components/NavBar/NavBar.test.mjs +1 -1
- package/dist/core/components/NavBar/index.cjs +1 -1
- package/dist/core/components/NavBar/index.mjs +1 -1
- package/dist/core/components/Notification/Notification.test.cjs +1 -1
- package/dist/core/components/Notification/Notification.test.mjs +1 -1
- package/dist/core/components/Notification/index.cjs +1 -1
- package/dist/core/components/Notification/index.mjs +1 -1
- package/dist/core/components/NotificationContainer/NotificationContainer.test.cjs +1 -1
- package/dist/core/components/NotificationContainer/NotificationContainer.test.mjs +1 -1
- package/dist/core/components/NotificationContainer/index.cjs +1 -1
- package/dist/core/components/NotificationContainer/index.mjs +1 -1
- package/dist/core/components/ProgressBar/ProgressBar.test.cjs +1 -1
- package/dist/core/components/ProgressBar/ProgressBar.test.mjs +1 -1
- package/dist/core/components/ProgressBar/index.cjs +1 -1
- package/dist/core/components/ProgressBar/index.mjs +1 -1
- package/dist/core/components/Radio/Radio.test.cjs +1 -1
- package/dist/core/components/Radio/Radio.test.mjs +1 -1
- package/dist/core/components/Radio/index.cjs +1 -1
- package/dist/core/components/Radio/index.mjs +1 -1
- package/dist/core/components/Range/Range.test.cjs +1 -1
- package/dist/core/components/Range/Range.test.mjs +1 -1
- package/dist/core/components/Range/index.cjs +1 -1
- package/dist/core/components/Range/index.mjs +1 -1
- package/dist/core/components/Select/Select.test.cjs +1 -1
- package/dist/core/components/Select/Select.test.mjs +176 -106
- package/dist/core/components/Select/index.cjs +1 -1
- package/dist/core/components/Select/index.mjs +100 -80
- package/dist/core/components/Sidebar/Sidebar.test.cjs +1 -1
- package/dist/core/components/Sidebar/Sidebar.test.mjs +1 -1
- package/dist/core/components/Sidebar/index.cjs +1 -1
- package/dist/core/components/Sidebar/index.mjs +1 -1
- package/dist/core/components/Skeleton/Skeleton.test.cjs +1 -1
- package/dist/core/components/Skeleton/Skeleton.test.mjs +1 -1
- package/dist/core/components/Spacer/Spacer.test.cjs +1 -1
- package/dist/core/components/Spacer/Spacer.test.mjs +1 -1
- package/dist/core/components/Spinner/Spinner.test.cjs +1 -1
- package/dist/core/components/Spinner/Spinner.test.mjs +1 -1
- package/dist/core/components/Stack/Stack.test.cjs +1 -1
- package/dist/core/components/Stack/Stack.test.mjs +1 -1
- package/dist/core/components/Switch/Switch.test.cjs +1 -1
- package/dist/core/components/Switch/Switch.test.mjs +1 -1
- package/dist/core/components/Table/Table.test.cjs +1 -1
- package/dist/core/components/Table/Table.test.mjs +1 -1
- package/dist/core/components/Tabs/Tabs.test.cjs +1 -1
- package/dist/core/components/Tabs/Tabs.test.mjs +1 -1
- package/dist/core/components/Text/Text.test.cjs +1 -1
- package/dist/core/components/Text/Text.test.mjs +1 -1
- package/dist/core/components/Textarea/Textarea.test.cjs +1 -1
- package/dist/core/components/Textarea/Textarea.test.mjs +1 -1
- package/dist/core/components/Textarea/index.cjs +1 -1
- package/dist/core/components/Textarea/index.mjs +1 -1
- package/dist/core/components/Tooltip/Tooltip.test.cjs +1 -1
- package/dist/core/components/Tooltip/Tooltip.test.mjs +1 -1
- package/dist/core/components/Tooltip/index.cjs +1 -1
- package/dist/core/components/Tooltip/index.mjs +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +30 -43
- package/dist/core.mjs +42 -44
- package/dist/{index-BQV8LRFm.js → index-Ck6GdALV.js} +0 -1
- package/dist/{index-DITXfOUM.cjs → index-CvpbNrYS.cjs} +16 -16
- package/dist/{index-2ZLA4POI.js → index-DTDGFsW8.js} +1 -1
- package/dist/{index-D0ylyll7.cjs → index-hPJqlEOh.cjs} +1 -1
- package/dist/{index-CnlJ2RgH.js → index-paelIj6o.js} +1 -1
- package/dist/{index-odc0vuSq.cjs → index-rFLvzU5A.cjs} +1 -1
- package/dist/index.css.d.ts +1 -0
- package/dist/index10.css.d.ts +7 -0
- package/dist/index11.css.d.ts +26 -0
- package/dist/index12.css.d.ts +24 -0
- package/dist/index13.css.d.ts +33 -0
- package/dist/index14.css.d.ts +10 -0
- package/dist/index15.css.d.ts +18 -0
- package/dist/index16.css.d.ts +38 -0
- package/dist/index17.css.d.ts +16 -0
- package/dist/index18.css.d.ts +14 -0
- package/dist/index19.css.d.ts +17 -0
- package/dist/index2.css.d.ts +9 -0
- package/dist/index20.css.d.ts +13 -0
- package/dist/index21.css.d.ts +25 -0
- package/dist/index22.css.d.ts +5 -0
- package/dist/index23.css.d.ts +19 -0
- package/dist/index24.css.d.ts +21 -0
- package/dist/index25.css +1 -1
- package/dist/index25.css.d.ts +16 -0
- package/dist/index26.css.d.ts +10 -0
- package/dist/index27.css.d.ts +18 -0
- package/dist/index28.css.d.ts +16 -0
- package/dist/index29.css.d.ts +10 -0
- package/dist/index3.css.d.ts +12 -0
- package/dist/index30.css.d.ts +19 -0
- package/dist/index31.css.d.ts +15 -0
- package/dist/index32.css.d.ts +22 -0
- package/dist/index33.css.d.ts +15 -0
- package/dist/index34.css +1 -1
- package/dist/index34.css.d.ts +14 -0
- package/dist/index35.css +1 -1
- package/dist/index35.css.d.ts +23 -0
- package/dist/index36.css +1 -1
- package/dist/index36.css.d.ts +14 -0
- package/dist/index37.css +1 -1
- package/dist/index37.css.d.ts +18 -0
- package/dist/index38.css +1 -1
- package/dist/index38.css.d.ts +21 -0
- package/dist/index39.css +1 -1
- package/dist/index39.css.d.ts +20 -0
- package/dist/index4.css.d.ts +10 -0
- package/dist/index40.css +1 -1
- package/dist/index40.css.d.ts +17 -0
- package/dist/index41.css +1 -1
- package/dist/index41.css.d.ts +14 -0
- package/dist/index42.css +1 -1
- package/dist/index42.css.d.ts +22 -0
- package/dist/index43.css +1 -1
- package/dist/index43.css.d.ts +35 -0
- package/dist/index44.css +1 -1
- package/dist/index44.css.d.ts +13 -0
- package/dist/index45.css +1 -1
- package/dist/index45.css.d.ts +23 -0
- package/dist/index46.css +1 -1
- package/dist/index46.css.d.ts +12 -0
- package/dist/index47.css +1 -1
- package/dist/index47.css.d.ts +19 -0
- package/dist/index48.css +1 -1
- package/dist/index48.css.d.ts +20 -0
- package/dist/index49.css +1 -1
- package/dist/index49.css.d.ts +20 -0
- package/dist/index5.css.d.ts +22 -0
- package/dist/index50.css +1 -1
- package/dist/index50.css.d.ts +27 -0
- package/dist/index51.css +1 -1
- package/dist/index51.css.d.ts +17 -0
- package/dist/index52.css +1 -1
- package/dist/index52.css.d.ts +11 -0
- package/dist/index53.css.d.ts +12 -0
- package/dist/index54.css.d.ts +14 -0
- package/dist/index55.css.d.ts +20 -0
- package/dist/index56.css.d.ts +25 -0
- package/dist/index57.css.d.ts +13 -0
- package/dist/index58.css +1 -1
- package/dist/index58.css.d.ts +12 -0
- package/dist/index59.css +1 -1
- package/dist/index59.css.d.ts +20 -0
- package/dist/index6.css.d.ts +19 -0
- package/dist/index60.css +1 -1
- package/dist/index60.css.d.ts +20 -0
- package/dist/index61.css +1 -1
- package/dist/index61.css.d.ts +18 -0
- package/dist/index62.css +1 -1
- package/dist/index62.css.d.ts +22 -0
- package/dist/index63.css +1 -1
- package/dist/index63.css.d.ts +28 -0
- package/dist/index64.css +1 -1
- package/dist/index64.css.d.ts +26 -0
- package/dist/index65.css +1 -1
- package/dist/index65.css.d.ts +19 -0
- package/dist/index7.css.d.ts +40 -0
- package/dist/index8.css.d.ts +32 -0
- package/dist/index9.css.d.ts +9 -0
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +48 -43
- package/dist/main.mjs +94 -94
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.mjs +2 -2
- package/dist/next/blocks/DocumentListBlock/index.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/index.mjs +2 -2
- package/dist/next/blocks/FormBlock/FormField.cjs +1 -0
- package/dist/next/blocks/FormBlock/FormField.mjs +13 -0
- package/dist/next/blocks/FormBlock/index.cjs +1 -0
- package/dist/next/blocks/FormBlock/index.mjs +192 -0
- package/dist/next/blocks/FormBlock/validate.cjs +1 -0
- package/dist/next/blocks/FormBlock/validate.mjs +76 -0
- package/dist/next/blocks/TabsBlock/index.cjs +1 -1
- package/dist/next/blocks/TabsBlock/index.mjs +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.cjs +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.mjs +1 -1
- package/dist/next/cards/BlogArticleCard/index.cjs +1 -1
- package/dist/next/cards/BlogArticleCard/index.mjs +1 -1
- package/dist/next/cards/SpotlightCard/index.cjs +1 -1
- package/dist/next/cards/SpotlightCard/index.mjs +1 -1
- package/dist/next/ui/CallToAction/index.cjs +1 -1
- package/dist/next/ui/CallToAction/index.mjs +1 -1
- package/dist/next.cjs +1 -1
- package/dist/next.d.ts +18 -0
- package/dist/next.mjs +45 -43
- package/dist/styles.css.d.ts +1 -0
- package/dist/tokens.css.d.ts +1 -0
- package/package.json +1 -1
- package/dist/core/components/MultiSelect/MultiSelect.test.cjs +0 -6
- package/dist/core/components/MultiSelect/MultiSelect.test.mjs +0 -3518
- package/dist/core/components/MultiSelect/__mocks__/styles.module.css.cjs +0 -1
- package/dist/core/components/MultiSelect/__mocks__/styles.module.css.mjs +0 -14
- package/dist/core/components/MultiSelect/index.cjs +0 -1
- package/dist/core/components/MultiSelect/index.mjs +0 -94
- package/dist/index66.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e={select:"select",wrapper:"wrapper",sm:"sm",md:"md",lg:"lg",error:"error",errorText:"errorText",helperText:"helperText",selectedCount:"selectedCount"};module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index48.css');const t=require("react/jsx-runtime"),M=require("../Label/index.cjs"),N="_wrapper_mywe6_1",C="_select_mywe6_9",q="_sm_mywe6_42",L="_md_mywe6_48",O="_lg_mywe6_54",A="_error_mywe6_71",E="_helperText_mywe6_81",F="_errorText_mywe6_87",I="_selectedCount_mywe6_92",e={wrapper:N,select:C,sm:q,md:L,lg:O,error:A,helperText:E,errorText:F,selectedCount:I};function P({id:x,name:$,label:m,value:r,options:g,placeholder:_,required:u=!1,disabled:n=!1,error:o=!1,helperText:i,size:p="md",minHeight:y,maxHeight:w,className:h,onChange:d,...v}){const b=s=>{const T=Array.from(s.target.selectedOptions).map(S=>S.value);d==null||d(T)},l=x??`multiselect-${Math.random().toString(36).slice(2)}`,c=!!o,a=typeof o=="string"?o:void 0,f={sm:e.sm,md:e.md,lg:e.lg}[p],j={...y&&{minHeight:y},...w&&{maxHeight:w}};return t.jsxs("div",{className:`${h??""} ${e.wrapper}`.trim(),children:[m&&t.jsx(M.Label,{htmlFor:l,size:p,intent:c?"error":n?"disabled":"default",required:u,disabled:n,children:m}),t.jsxs("select",{id:l,name:$,multiple:!0,value:r,required:u,disabled:n,onChange:b,className:`${e.select} ${f} ${c?e.error:""}`.trim(),style:j,"aria-invalid":c,"aria-describedby":a||i?`${l}-description`:void 0,...v,children:[_&&t.jsx("option",{value:"",disabled:!0,children:_}),g.map(s=>t.jsx("option",{value:s.value,disabled:s.disabled,children:s.label},s.value))]}),(a||i)&&t.jsx("div",{id:`${l}-description`,className:`${e.helperText} ${c?e.errorText:""}`.trim(),children:a||i}),r.length>0&&t.jsxs("div",{className:e.selectedCount,children:[r.length," ",r.length===1?"item":"items"," selected"]})]})}exports.MultiSelect=P;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { Label as S } from "../Label/index.mjs";
|
|
3
|
-
import '../../../index48.css';const j = "_wrapper_mywe6_1", A = "_select_mywe6_9", E = "_sm_mywe6_42", F = "_md_mywe6_48", I = "_lg_mywe6_54", L = "_error_mywe6_71", O = "_helperText_mywe6_81", k = "_errorText_mywe6_87", z = "_selectedCount_mywe6_92", e = {
|
|
4
|
-
wrapper: j,
|
|
5
|
-
select: A,
|
|
6
|
-
sm: E,
|
|
7
|
-
md: F,
|
|
8
|
-
lg: I,
|
|
9
|
-
error: L,
|
|
10
|
-
helperText: O,
|
|
11
|
-
errorText: k,
|
|
12
|
-
selectedCount: z
|
|
13
|
-
};
|
|
14
|
-
function G({
|
|
15
|
-
id: $,
|
|
16
|
-
name: f,
|
|
17
|
-
label: _,
|
|
18
|
-
value: r,
|
|
19
|
-
options: g,
|
|
20
|
-
placeholder: p,
|
|
21
|
-
required: y = !1,
|
|
22
|
-
disabled: o = !1,
|
|
23
|
-
error: n = !1,
|
|
24
|
-
helperText: d,
|
|
25
|
-
size: u = "md",
|
|
26
|
-
minHeight: w,
|
|
27
|
-
maxHeight: h,
|
|
28
|
-
className: v,
|
|
29
|
-
onChange: i,
|
|
30
|
-
...x
|
|
31
|
-
}) {
|
|
32
|
-
const T = (t) => {
|
|
33
|
-
const C = Array.from(t.target.selectedOptions).map((M) => M.value);
|
|
34
|
-
i == null || i(C);
|
|
35
|
-
}, s = $ ?? `multiselect-${Math.random().toString(36).slice(2)}`, l = !!n, m = typeof n == "string" ? n : void 0, b = {
|
|
36
|
-
sm: e.sm,
|
|
37
|
-
md: e.md,
|
|
38
|
-
lg: e.lg
|
|
39
|
-
}[u], N = {
|
|
40
|
-
...w && { minHeight: w },
|
|
41
|
-
...h && { maxHeight: h }
|
|
42
|
-
};
|
|
43
|
-
return /* @__PURE__ */ a("div", { className: `${v ?? ""} ${e.wrapper}`.trim(), children: [
|
|
44
|
-
_ && /* @__PURE__ */ c(
|
|
45
|
-
S,
|
|
46
|
-
{
|
|
47
|
-
htmlFor: s,
|
|
48
|
-
size: u,
|
|
49
|
-
intent: l ? "error" : o ? "disabled" : "default",
|
|
50
|
-
required: y,
|
|
51
|
-
disabled: o,
|
|
52
|
-
children: _
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
/* @__PURE__ */ a(
|
|
56
|
-
"select",
|
|
57
|
-
{
|
|
58
|
-
id: s,
|
|
59
|
-
name: f,
|
|
60
|
-
multiple: !0,
|
|
61
|
-
value: r,
|
|
62
|
-
required: y,
|
|
63
|
-
disabled: o,
|
|
64
|
-
onChange: T,
|
|
65
|
-
className: `${e.select} ${b} ${l ? e.error : ""}`.trim(),
|
|
66
|
-
style: N,
|
|
67
|
-
"aria-invalid": l,
|
|
68
|
-
"aria-describedby": m || d ? `${s}-description` : void 0,
|
|
69
|
-
...x,
|
|
70
|
-
children: [
|
|
71
|
-
p && /* @__PURE__ */ c("option", { value: "", disabled: !0, children: p }),
|
|
72
|
-
g.map((t) => /* @__PURE__ */ c("option", { value: t.value, disabled: t.disabled, children: t.label }, t.value))
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
(m || d) && /* @__PURE__ */ c(
|
|
77
|
-
"div",
|
|
78
|
-
{
|
|
79
|
-
id: `${s}-description`,
|
|
80
|
-
className: `${e.helperText} ${l ? e.errorText : ""}`.trim(),
|
|
81
|
-
children: m || d
|
|
82
|
-
}
|
|
83
|
-
),
|
|
84
|
-
r.length > 0 && /* @__PURE__ */ a("div", { className: e.selectedCount, children: [
|
|
85
|
-
r.length,
|
|
86
|
-
" ",
|
|
87
|
-
r.length === 1 ? "item" : "items",
|
|
88
|
-
" selected"
|
|
89
|
-
] })
|
|
90
|
-
] });
|
|
91
|
-
}
|
|
92
|
-
export {
|
|
93
|
-
G as MultiSelect
|
|
94
|
-
};
|
package/dist/index66.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._calendar_1eniq_1{padding:var(--spacing-md);border-radius:var(--radius-lg);background-color:var(--color-foreground);border:1px solid var(--color-border);min-width:280px;max-width:350px;font-family:var(--font-family-primary)}._header_1eniq_11{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-md)}._navButton_1eniq_18{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background-color:transparent;color:var(--color-text-primary);cursor:pointer;border-radius:var(--radius-sm);transition:background-color .2s ease}._navButton_1eniq_18:hover:not(:disabled){background-color:var(--color-secondary-10)}._navButton_1eniq_18:disabled{opacity:.3;cursor:not-allowed}._navButton_1eniq_18:focus-visible{outline:2px solid var(--color-primary-100);outline-offset:2px}._monthName_1eniq_47{font-weight:var(--font-weight-bold);font-size:var(--font-size-md);color:var(--color-heading)}._daysRow_1eniq_53{display:grid;grid-template-columns:repeat(7,1fr);gap:0;margin-bottom:var(--spacing-xs)}._dayName_1eniq_60{font-weight:var(--font-weight-semibold);font-size:var(--font-size-xs);color:var(--color-secondary-50);text-align:center;padding:var(--spacing-xs) 0;text-transform:uppercase;letter-spacing:.05em}._cells_1eniq_70{display:flex;flex-direction:column;gap:2px}._week_1eniq_76{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}._cell_1eniq_70{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--color-text-primary);border:none;cursor:pointer;border-radius:var(--radius-sm);font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);transition:all .2s ease;padding:0}._cellContent_1eniq_99{display:flex;align-items:center;justify-content:center;width:100%;height:100%}._cell_1eniq_70:hover:not(:disabled):not(._selected_1eniq_107){background-color:var(--color-secondary-10)}._cell_1eniq_70:focus-visible{outline:2px solid var(--color-primary-100);outline-offset:-2px;z-index:1}._outside_1eniq_117{color:var(--color-secondary-25)}._outside_1eniq_117:hover:not(:disabled){color:var(--color-text-primary)}._today_1eniq_125{font-weight:var(--font-weight-bold);color:var(--color-primary-100)}._today_1eniq_125:not(._selected_1eniq_107):after{content:"";position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:4px;height:4px;border-radius:50%;background-color:var(--color-primary-100)}._selected_1eniq_107{background-color:var(--color-primary-100);color:var(--color-primary-foreground);font-weight:var(--font-weight-semibold)}._selected_1eniq_107:hover:not(:disabled){background-color:var(--color-button-primary-hover)}._disabled_1eniq_152{color:var(--color-secondary-25);cursor:not-allowed;text-decoration:line-through;opacity:.5}._disabled_1eniq_152:hover{background-color:transparent}._emptyCell_1eniq_163{aspect-ratio:1}@media (max-width: 480px){._calendar_1eniq_1{min-width:100%;max-width:100%}._cell_1eniq_70{font-size:var(--font-size-xs)}}
|