@ngrok/mantle 0.1.25 → 0.1.26
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/chunk-GTKZKU43.js +2 -0
- package/dist/chunk-GTKZKU43.js.map +1 -0
- package/dist/input.d.ts +8 -8
- package/dist/input.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/select.d.ts +3 -3
- package/dist/select.js +1 -1
- package/dist/select.js.map +1 -1
- package/dist/tailwind-preset.cjs +1 -1
- package/dist/tailwind-preset.cjs.map +1 -1
- package/dist/tailwind-preset.d.cts +3 -0
- package/dist/tailwind-preset.d.ts +3 -0
- package/dist/tailwind-preset.js +1 -1
- package/dist/tailwind-preset.js.map +1 -1
- package/dist/text-area.d.ts +13 -14
- package/dist/text-area.js +1 -1
- package/dist/text-area.js.map +1 -1
- package/dist/{types-nznA3HrJ.d.ts → types-DcL7_eQM.d.ts} +7 -4
- package/package.json +1 -1
- package/dist/chunk-MFBS3YLE.js +0 -2
- package/dist/chunk-MFBS3YLE.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as w}from"./chunk-NREABJ6Y.js";import{a as h}from"./chunk-A5H52ODC.js";import{CheckCircle as R}from"@phosphor-icons/react/CheckCircle";import{Warning as E}from"@phosphor-icons/react/Warning";import{WarningDiamond as L}from"@phosphor-icons/react/WarningDiamond";import W from"clsx";import{createContext as A,forwardRef as C,useContext as N,useRef as V}from"react";import{jsx as e,jsxs as P}from"react/jsx-runtime";var I=C(({children:t,className:n,...i},a)=>{let o=!!t,p=V(null);return o?e(x,{className:n,forwardedRef:a,innerRef:p,...i,children:t}):e(x,{...i,className:n,forwardedRef:a,innerRef:p,children:e(f,{...i})})});I.displayName="Input";var f=C(({"aria-invalid":t,className:n,validation:i,...a},o)=>{let{"aria-invalid":p,forwardedRef:u,innerRef:r,validation:d,...c}=N(g),l=d??i,m=p??t??l==="error",s={...c,...a,type:a.type??c.type??"text"};return e("div",{className:"min-w-0 flex-1 text-left",children:e("input",{"aria-invalid":m,"data-validation":l||void 0,className:h("w-full bg-form placeholder:text-placeholder focus:outline-none",n),ref:w(o,u,r),...s})})});f.displayName="InputCapture";var g=A({validation:void 0,innerRef:{current:null}}),x=({"aria-invalid":t,"aria-disabled":n,children:i,className:a,disabled:o,forwardedRef:p,innerRef:u,style:r,type:d,validation:c,...l})=>{let s=t!=null&&t!=="false"?"error":c,b=t??s==="error";return e(g.Provider,{value:{"aria-invalid":t,"aria-disabled":n,disabled:o,type:d,validation:s,...l,forwardedRef:p,innerRef:u},children:P("div",{"aria-invalid":b,"aria-disabled":o??n,"data-validation":s||void 0,className:h("relative flex h-11 w-full items-center gap-1.5 rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-within:outline-none focus-within:ring-4 focus-visible:outline-none focus-visible:ring-4 sm:h-9 sm:text-sm","aria-disabled:opacity-50","has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-6 sm:[&_svg]:size-5","border-form text-strong has-[:focus-visible]:border-accent-600 has-[:focus-visible]:ring-focus-accent","data-validation-success:border-success-600 has-[:focus-visible]:data-validation-success:border-success-600 has-[:focus-visible]:data-validation-success:ring-focus-success","data-validation-warning:border-warning-600 has-[:focus-visible]:data-validation-warning:border-warning-600 has-[:focus-visible]:data-validation-warning:ring-focus-warning","data-validation-error:border-danger-600 has-[:focus-visible]:data-validation-error:border-danger-600 has-[:focus-visible]:data-validation-error:ring-focus-danger",a),onClick:()=>{u?.current?.focus()},style:r,children:[i,e(k,{name:l.name,validation:s})]})})};var k=({name:t,validation:n})=>{switch(n){case"error":return P("div",{className:"pointer-events-none order-last select-none text-danger-600",children:[e("span",{className:"sr-only",children:W("The value entered for the",t,"input has failed validation.")}),e(E,{"aria-hidden":!0,weight:"fill"})]});case"success":return e("div",{className:"pointer-events-none order-last select-none text-success-600",children:e(R,{weight:"fill"})});case"warning":return e("div",{className:"pointer-events-none order-last select-none text-warning-600",children:e(L,{weight:"fill"})});default:return null}};import{Eye as F}from"@phosphor-icons/react/Eye";import{EyeClosed as B}from"@phosphor-icons/react/EyeClosed";import O from"clsx";import{forwardRef as z,useEffect as S,useState as T}from"react";import{jsx as M,jsxs as y}from"react/jsx-runtime";var H=z(({maskHiddenValue:t=!1,onBlur:n,onFocus:i,onValueVisibilityChange:a,showValue:o=!1,...p},u)=>{let[r,d]=T(o),c=r?"text":"password",l=r?F:B;S(()=>{d(o)},[o]);let[m,s]=T(!1);return y(I,{onBlur:v=>{s(!1),n?.(v)},onFocus:v=>{s(!0),i?.(v)},type:c,ref:u,...p,children:[M(f,{className:O(t&&!r&&!m&&"max-w-6")}),y("button",{type:"button",tabIndex:-1,className:"ml-1 cursor-pointer bg-inherit p-0 text-body hover:text-strong",onClick:()=>{d(!r),a?.(!r)},children:[y("span",{className:"sr-only",children:["Turn password visibility ",r?"off":"on"]}),M(l,{"aria-hidden":!0})]})]})});H.displayName="PasswordInput";function j(t){return t!=null&&t instanceof HTMLInputElement}export{I as a,f as b,H as c,j as d};
|
|
2
|
+
//# sourceMappingURL=chunk-GTKZKU43.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../packages/input/src/input.tsx","../packages/input/src/password-input.tsx","../packages/input/src/is-input.ts"],"sourcesContent":["import { CheckCircle } from \"@phosphor-icons/react/CheckCircle\";\nimport { Warning } from \"@phosphor-icons/react/Warning\";\nimport { WarningDiamond } from \"@phosphor-icons/react/WarningDiamond\";\nimport clsx from \"clsx\";\nimport type { ElementRef, ForwardedRef, InputHTMLAttributes, MutableRefObject, PropsWithChildren } from \"react\";\nimport { createContext, forwardRef, useContext, useRef } from \"react\";\nimport { composeRefs } from \"../../compose-refs\";\nimport { cx } from \"../../cx\";\nimport type { WithAutoComplete, WithInputType, WithValidation } from \"./types\";\n\ntype BaseProps = WithAutoComplete & WithInputType & WithValidation;\n\n/**\n * The props for the `Input` component.\n */\ntype InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> & BaseProps & PropsWithChildren;\n\n/**\n * Used to create interactive controls for web-based forms in order to accept data from the user\n */\nconst Input = forwardRef<HTMLInputElement, InputProps>(({ children, className, ...props }, forwardedRef) => {\n\tconst hasChildren = Boolean(children);\n\tconst innerRef = useRef<ElementRef<\"input\">>(null);\n\n\tif (hasChildren) {\n\t\treturn (\n\t\t\t<InputContainer className={className} forwardedRef={forwardedRef} innerRef={innerRef} {...props}>\n\t\t\t\t{children}\n\t\t\t</InputContainer>\n\t\t);\n\t}\n\n\treturn (\n\t\t<InputContainer {...props} className={className} forwardedRef={forwardedRef} innerRef={innerRef}>\n\t\t\t<InputCapture {...props} />\n\t\t</InputContainer>\n\t);\n});\nInput.displayName = \"Input\";\n\ntype InputCaptureProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> & BaseProps;\n\n/**\n * The actual <input /> element that captures user input.\n */\nconst InputCapture = forwardRef<HTMLInputElement, InputCaptureProps>(\n\t({ \"aria-invalid\": _ariaInvalid, className, validation: _validation, ...restProps }, ref) => {\n\t\tconst {\n\t\t\t\"aria-invalid\": ctxAriaInvalid,\n\t\t\tforwardedRef: ctxForwardedRef,\n\t\t\tinnerRef: ctxInnerRef,\n\t\t\tvalidation: ctxValidation,\n\t\t\t...ctx\n\t\t} = useContext(InputContext);\n\n\t\tconst validation = ctxValidation ?? _validation;\n\t\tconst ariaInvalid = ctxAriaInvalid ?? _ariaInvalid ?? validation === \"error\";\n\t\tconst props = { ...ctx, ...restProps, type: restProps.type ?? ctx.type ?? \"text\" };\n\n\t\treturn (\n\t\t\t<div className=\"min-w-0 flex-1 text-left\">\n\t\t\t\t<input\n\t\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\t\tdata-validation={validation || undefined} // eslint-disable-line @typescript-eslint/prefer-nullish-coalescing\n\t\t\t\t\tclassName={cx(\"w-full bg-form placeholder:text-placeholder focus:outline-none\", className)}\n\t\t\t\t\tref={composeRefs(ref, ctxForwardedRef, ctxInnerRef)}\n\t\t\t\t\t{...props}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t},\n);\nInputCapture.displayName = \"InputCapture\";\n\ntype InputContextType = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> &\n\tBaseProps & {\n\t\t/**\n\t\t * inner ref for the input element, controlled by `Input`\n\t\t */\n\t\tinnerRef: MutableRefObject<HTMLInputElement | null>;\n\t\t/**\n\t\t * forwarded ref to the input element, forwarded from `Input` to `InputCapture`\n\t\t */\n\t\tforwardedRef?: ForwardedRef<HTMLInputElement>;\n\t};\n\nconst InputContext = createContext<InputContextType>({ validation: undefined, innerRef: { current: null } });\n\ntype InputContainerProps = InputHTMLAttributes<HTMLInputElement> &\n\tBaseProps & {\n\t\t/**\n\t\t * @private inner ref for the input element, controlled by `Input`\n\t\t */\n\t\tinnerRef: MutableRefObject<HTMLInputElement | null>;\n\t\t/**\n\t\t * @private ref to the input element, forwarded from `Input` to `InputCapture`\n\t\t */\n\t\tforwardedRef: ForwardedRef<HTMLInputElement>;\n\t};\n\n/**\n * The container for the input element.\n */\nconst InputContainer = ({\n\t\"aria-invalid\": _ariaInvalid,\n\t\"aria-disabled\": _ariaDisabled,\n\tchildren,\n\tclassName,\n\tdisabled,\n\tforwardedRef,\n\tinnerRef,\n\tstyle,\n\ttype,\n\tvalidation: _validation,\n\t...props\n}: InputContainerProps) => {\n\tconst isInvalid = _ariaInvalid != null && _ariaInvalid !== \"false\";\n\tconst validation = isInvalid ? \"error\" : _validation;\n\tconst ariaInvalid = _ariaInvalid ?? validation === \"error\";\n\n\treturn (\n\t\t<InputContext.Provider\n\t\t\tvalue={{\n\t\t\t\t\"aria-invalid\": _ariaInvalid,\n\t\t\t\t\"aria-disabled\": _ariaDisabled,\n\t\t\t\tdisabled,\n\t\t\t\ttype,\n\t\t\t\tvalidation,\n\t\t\t\t...props,\n\t\t\t\tforwardedRef,\n\t\t\t\tinnerRef,\n\t\t\t}}\n\t\t>\n\t\t\t<div\n\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\taria-disabled={disabled ?? _ariaDisabled}\n\t\t\t\tdata-validation={validation || undefined} // eslint-disable-line @typescript-eslint/prefer-nullish-coalescing\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"relative flex h-11 w-full items-center gap-1.5 rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-within:outline-none focus-within:ring-4 focus-visible:outline-none focus-visible:ring-4 sm:h-9 sm:text-sm\",\n\t\t\t\t\t\"aria-disabled:opacity-50\",\n\t\t\t\t\t\"has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-6 sm:[&_svg]:size-5\",\n\t\t\t\t\t\"border-form text-strong has-[:focus-visible]:border-accent-600 has-[:focus-visible]:ring-focus-accent\",\n\t\t\t\t\t\"data-validation-success:border-success-600 has-[:focus-visible]:data-validation-success:border-success-600 has-[:focus-visible]:data-validation-success:ring-focus-success\",\n\t\t\t\t\t\"data-validation-warning:border-warning-600 has-[:focus-visible]:data-validation-warning:border-warning-600 has-[:focus-visible]:data-validation-warning:ring-focus-warning\",\n\t\t\t\t\t\"data-validation-error:border-danger-600 has-[:focus-visible]:data-validation-error:border-danger-600 has-[:focus-visible]:data-validation-error:ring-focus-danger\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tinnerRef?.current?.focus();\n\t\t\t\t}}\n\t\t\t\tstyle={style}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t<ValidationFeedback name={props.name} validation={validation} />\n\t\t\t</div>\n\t\t</InputContext.Provider>\n\t);\n};\n\nexport { Input, InputCapture };\nexport type { InputProps, InputCaptureProps };\n\nconst ValidationFeedback = ({ name, validation }: WithValidation & { name?: string }) => {\n\tswitch (validation) {\n\t\tcase \"error\":\n\t\t\treturn (\n\t\t\t\t<div className=\"pointer-events-none order-last select-none text-danger-600\">\n\t\t\t\t\t<span className=\"sr-only\">{clsx(\"The value entered for the\", name, \"input has failed validation.\")}</span>\n\t\t\t\t\t<Warning aria-hidden weight=\"fill\" />\n\t\t\t\t</div>\n\t\t\t);\n\t\tcase \"success\":\n\t\t\treturn (\n\t\t\t\t<div className=\"pointer-events-none order-last select-none text-success-600\">\n\t\t\t\t\t<CheckCircle weight=\"fill\" />\n\t\t\t\t</div>\n\t\t\t);\n\t\tcase \"warning\":\n\t\t\treturn (\n\t\t\t\t<div className=\"pointer-events-none order-last select-none text-warning-600\">\n\t\t\t\t\t<WarningDiamond weight=\"fill\" />\n\t\t\t\t</div>\n\t\t\t);\n\t\tdefault:\n\t\t\treturn null;\n\t}\n};\n","import { Eye } from \"@phosphor-icons/react/Eye\";\nimport { EyeClosed } from \"@phosphor-icons/react/EyeClosed\";\nimport clsx from \"clsx\";\nimport { forwardRef, useEffect, useState } from \"react\";\nimport type { InputHTMLAttributes } from \"react\";\nimport { Input, InputCapture } from \"./input\";\nimport type { InputType, WithAutoComplete, WithValidation } from \"./types\";\n\ntype PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> &\n\tWithValidation &\n\tWithAutoComplete & {\n\t\t/**\n\t\t * Mask the true length of the password input with a fixed width when the value is hidden and the input is not focused.\n\t\t * @default false\n\t\t */\n\t\tmaskHiddenValue?: boolean;\n\t\t/**\n\t\t * Callback for when the visibility of the password value changes.\n\t\t */\n\t\tonValueVisibilityChange?: (visible: boolean) => void;\n\t\t/**\n\t\t * Show/hide the password value as a controlled state.\n\t\t * @default false\n\t\t */\n\t\tshowValue?: boolean;\n\t};\n\ntype PasswordInputType = Extract<InputType, \"text\" | \"password\">;\n\nconst PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>(\n\t({ maskHiddenValue = false, onBlur, onFocus, onValueVisibilityChange, showValue = false, ...props }, ref) => {\n\t\tconst [showPassword, setShowPassword] = useState<boolean>(showValue);\n\t\tconst type: PasswordInputType = showPassword ? \"text\" : \"password\";\n\t\tconst EyeCon = showPassword ? Eye : EyeClosed;\n\n\t\tuseEffect(() => {\n\t\t\tsetShowPassword(showValue);\n\t\t}, [showValue]);\n\n\t\tconst [isFocused, setIsFocused] = useState(false);\n\t\tconst shouldMaskHiddenValue = maskHiddenValue && !showPassword && !isFocused;\n\n\t\treturn (\n\t\t\t<Input\n\t\t\t\tonBlur={(event) => {\n\t\t\t\t\tsetIsFocused(false);\n\t\t\t\t\tonBlur?.(event);\n\t\t\t\t}}\n\t\t\t\tonFocus={(event) => {\n\t\t\t\t\tsetIsFocused(true);\n\t\t\t\t\tonFocus?.(event);\n\t\t\t\t}}\n\t\t\t\ttype={type}\n\t\t\t\tref={ref}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<InputCapture className={clsx(shouldMaskHiddenValue && \"max-w-6\")} />\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\ttabIndex={-1}\n\t\t\t\t\tclassName=\"ml-1 cursor-pointer bg-inherit p-0 text-body hover:text-strong\"\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tsetShowPassword(!showPassword);\n\t\t\t\t\t\tonValueVisibilityChange?.(!showPassword);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<span className=\"sr-only\">Turn password visibility {showPassword ? \"off\" : \"on\"}</span>\n\t\t\t\t\t<EyeCon aria-hidden />\n\t\t\t\t</button>\n\t\t\t</Input>\n\t\t);\n\t},\n);\nPasswordInput.displayName = \"PasswordInput\";\n\nexport { PasswordInput };\nexport type { PasswordInputProps };\n","/**\n * Type guard for an HTMLInputElement.\n */\nexport function isInput(value: unknown): value is HTMLInputElement {\n\treturn value != null && value instanceof HTMLInputElement;\n}\n"],"mappings":"gFAAA,OAAS,eAAAA,MAAmB,oCAC5B,OAAS,WAAAC,MAAe,gCACxB,OAAS,kBAAAC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AAiB,kCAC1B,OAAOC,MAAU,OACjB,OAAS,cAAAC,EAAY,aAAAC,EAAW,YAAAC,MAAgB,QAqD5C,cAAAC,EAUC,QAAAC,MAVD,oBA3BJ,IAAMC,EAAgBC,EACrB,CAAC,CAAE,gBAAAC,EAAkB,GAAO,OAAAC,EAAQ,QAAAC,EAAS,wBAAAC,EAAyB,UAAAC,EAAY,GAAO,GAAGC,CAAM,EAAGC,IAAQ,CAC5G,GAAM,CAACC,EAAcC,CAAe,EAAIC,EAAkBL,CAAS,EAC7DM,EAA0BH,EAAe,OAAS,WAClDI,EAASJ,EAAeK,EAAMC,EAEpCC,EAAU,IAAM,CACfN,EAAgBJ,CAAS,CAC1B,EAAG,CAACA,CAAS,CAAC,EAEd,GAAM,CAACW,EAAWC,CAAY,EAAIP,EAAS,EAAK,EAGhD,OACCZ,EAACoB,EAAA,CACA,OAASC,GAAU,CAClBF,EAAa,EAAK,EAClBf,IAASiB,CAAK,CACf,EACA,QAAUA,GAAU,CACnBF,EAAa,EAAI,EACjBd,IAAUgB,CAAK,CAChB,EACA,KAAMR,EACN,IAAKJ,EACJ,GAAGD,EAEJ,UAAAT,EAACuB,EAAA,CAAa,UAAWC,EAhBGpB,GAAmB,CAACO,GAAgB,CAACQ,GAgBV,SAAS,EAAG,EACnElB,EAAC,UACA,KAAK,SACL,SAAU,GACV,UAAU,iEACV,QAAS,IAAM,CACdW,EAAgB,CAACD,CAAY,EAC7BJ,IAA0B,CAACI,CAAY,CACxC,EAEA,UAAAV,EAAC,QAAK,UAAU,UAAU,sCAA0BU,EAAe,MAAQ,MAAK,EAChFX,EAACe,EAAA,CAAO,cAAW,GAAC,GACrB,GACD,CAEF,CACD,EACAb,EAAc,YAAc,gBCtErB,SAASuB,EAAQC,EAA2C,CAClE,OAAOA,GAAS,MAAQA,aAAiB,gBAC1C","names":["CheckCircle","Warning","WarningDiamond","clsx","createContext","forwardRef","useContext","useRef","jsx","jsxs","Input","forwardRef","children","className","props","forwardedRef","hasChildren","innerRef","useRef","InputContainer","InputCapture","_ariaInvalid","_validation","restProps","ref","ctxAriaInvalid","ctxForwardedRef","ctxInnerRef","ctxValidation","ctx","useContext","InputContext","validation","ariaInvalid","cx","composeRefs","createContext","_ariaDisabled","disabled","style","type","ValidationFeedback","ValidationFeedback","name","validation","jsxs","jsx","clsx","Warning","CheckCircle","WarningDiamond","Eye","EyeClosed","clsx","forwardRef","useEffect","useState","jsx","jsxs","PasswordInput","forwardRef","maskHiddenValue","onBlur","onFocus","onValueVisibilityChange","showValue","props","ref","showPassword","setShowPassword","useState","type","EyeCon","Eye","EyeClosed","useEffect","isFocused","setIsFocused","Input","event","InputCapture","clsx","isInput","value"]}
|
package/dist/input.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { InputHTMLAttributes, PropsWithChildren } from 'react';
|
|
3
|
-
import { a as WithAutoComplete, b as WithInputType, W as
|
|
4
|
-
export { A as AutoComplete, I as InputType } from './types-
|
|
3
|
+
import { a as WithAutoComplete, b as WithInputType, W as WithValidation } from './types-DcL7_eQM.js';
|
|
4
|
+
export { A as AutoComplete, I as InputType } from './types-DcL7_eQM.js';
|
|
5
5
|
|
|
6
|
-
type BaseProps = WithAutoComplete & WithInputType &
|
|
6
|
+
type BaseProps = WithAutoComplete & WithInputType & WithValidation;
|
|
7
7
|
/**
|
|
8
8
|
* The props for the `Input` component.
|
|
9
9
|
*/
|
|
@@ -11,16 +11,16 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "
|
|
|
11
11
|
/**
|
|
12
12
|
* Used to create interactive controls for web-based forms in order to accept data from the user
|
|
13
13
|
*/
|
|
14
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & WithAutoComplete & WithInputType &
|
|
14
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & WithAutoComplete & WithInputType & WithValidation & {
|
|
15
15
|
children?: react.ReactNode;
|
|
16
16
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
type InputCaptureProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & BaseProps;
|
|
18
18
|
/**
|
|
19
19
|
* The actual <input /> element that captures user input.
|
|
20
20
|
*/
|
|
21
|
-
declare const InputCapture: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & WithAutoComplete & WithInputType &
|
|
21
|
+
declare const InputCapture: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & WithAutoComplete & WithInputType & WithValidation & react.RefAttributes<HTMLInputElement>>;
|
|
22
22
|
|
|
23
|
-
type PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> &
|
|
23
|
+
type PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & WithValidation & WithAutoComplete & {
|
|
24
24
|
/**
|
|
25
25
|
* Mask the true length of the password input with a fixed width when the value is hidden and the input is not focused.
|
|
26
26
|
* @default false
|
|
@@ -36,7 +36,7 @@ type PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoCompl
|
|
|
36
36
|
*/
|
|
37
37
|
showValue?: boolean;
|
|
38
38
|
};
|
|
39
|
-
declare const PasswordInput: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> &
|
|
39
|
+
declare const PasswordInput: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & WithValidation & WithAutoComplete & {
|
|
40
40
|
/**
|
|
41
41
|
* Mask the true length of the password input with a fixed width when the value is hidden and the input is not focused.
|
|
42
42
|
* @default false
|
|
@@ -58,4 +58,4 @@ declare const PasswordInput: react.ForwardRefExoticComponent<Omit<InputHTMLAttri
|
|
|
58
58
|
*/
|
|
59
59
|
declare function isInput(value: unknown): value is HTMLInputElement;
|
|
60
60
|
|
|
61
|
-
export { Input, InputCapture, type InputCaptureProps, type InputProps, PasswordInput, type PasswordInputProps, WithAutoComplete, WithInputType,
|
|
61
|
+
export { Input, InputCapture, type InputCaptureProps, type InputProps, PasswordInput, type PasswordInputProps, WithAutoComplete, WithInputType, WithValidation, isInput };
|
package/dist/input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"./chunk-
|
|
1
|
+
import{a,b,c,d}from"./chunk-GTKZKU43.js";import"./chunk-NREABJ6Y.js";import"./chunk-A5H52ODC.js";export{a as Input,b as InputCapture,c as PasswordInput,d as isInput};
|
|
2
2
|
//# sourceMappingURL=input.js.map
|
package/dist/radio-group.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as y}from"./chunk-
|
|
1
|
+
import{d as y}from"./chunk-GTKZKU43.js";import"./chunk-NREABJ6Y.js";import{a as c}from"./chunk-A5H52ODC.js";import{Radio as u,RadioGroup as H}from"@headlessui/react";import{Slot as N}from"@radix-ui/react-slot";import m from"clsx";import{Children as k,cloneElement as L,createContext as E,forwardRef as n,isValidElement as S,useContext as R,useRef as T}from"react";import{Fragment as b,jsx as a}from"react/jsx-runtime";var f=n((e,o)=>a(H,{...e,ref:o}));f.displayName="RadioGroup";var l=E({autofocus:!1,checked:!1,disabled:!1,focus:!1,hover:!1}),x=n(({children:e,className:o,...t},r)=>a(u,{className:c("group/radio flex cursor-default gap-2 py-1 text-base focus:outline-none aria-enabled:cursor-pointer sm:text-sm [&_label]:cursor-inherit",o),as:"div",...t,ref:r,children:d=>a(l.Provider,{value:d,children:e})}));x.displayName="RadioItem";var z=({checked:e,disabled:o,focus:t,hover:r})=>a("span",{className:c("flex size-4 items-center justify-center rounded-full border border-form",o&&"cursor-default opacity-50",e&&"border-accent-500 bg-accent-500",t&&!o&&"border-accent-600 ring-4 ring-focus-accent",r&&"border-accent-600"),children:e&&a("span",{className:"size-2 rounded-full bg-[#fff]"})}),M=({children:e,className:o,...t})=>{let r=R(l);return a("div",{className:c("radio-indicator inline-flex size-6 select-none items-center justify-center sm:size-5",o),...t,children:e==null?a(z,{...r}):typeof e=="function"?e(r):e})},P=n(({className:e,...o},t)=>a(f,{className:m("-space-y-px",e),...o,ref:t}));P.displayName="RadioGroupList";var v=n(({children:e,className:o,...t},r)=>a(u,{as:"div",className:c("group/radio relative flex select-none gap-2 border border-form px-3 py-2 text-base sm:text-sm [&_label]:cursor-inherit","focus:outline-none aria-enabled:cursor-pointer","first-of-type:rounded-tl-md first-of-type:rounded-tr-md last-of-type:rounded-bl-md last-of-type:rounded-br-md","aria-disabled:border-form/50 aria-enabled:hover:z-1 aria-enabled:hover:border-accent-600","aria-checked:z-1 aria-checked:border-accent-500/40 aria-checked:bg-accent-500/10 not-disabled:hover:aria-checked:border-accent-600","has-[.radio-indicator:first-child]:pl-2 has-[.radio-indicator:last-child]:pr-2",o),ref:r,...t,children:d=>a(b,{children:a(l.Provider,{value:d,children:e})})}));v.displayName="RadioListItem";var C=n(({children:e,className:o,...t},r)=>a(u,{as:"div",className:m("group/radio relative rounded-md border border-card bg-card p-4 text-base sm:text-sm [&_label]:cursor-inherit","focus:outline-none aria-enabled:cursor-pointer","first-of-type:rounded-tl-md first-of-type:rounded-tr-md last-of-type:rounded-bl-md last-of-type:rounded-br-md","aria-disabled:border-form/50 aria-enabled:hover:z-1 aria-enabled:hover:border-accent-600","aria-checked:z-1 aria-checked:border-accent-500/40 aria-checked:bg-accent-500/10 aria-enabled:hover:aria-checked:border-accent-600",o),...t,ref:r,children:d=>a(b,{children:a(l.Provider,{value:d,children:e})})}));C.displayName="RadioCard";var w=({asChild:e=!1,children:o,className:t,...r})=>{let d=R(l);return a(e?N:"div",{className:m("min-w-0 flex-1",d.disabled&&"opacity-50",t),...r,children:o})},I=n(({className:e,...o},t)=>a(f,{className:m("flex flex-row flex-nowrap -space-x-px",e),...o,ref:t}));I.displayName="RadioButtonGroup";var g=n(({children:e,className:o,...t},r)=>a(u,{as:"div",className:c("group/radio relative flex flex-1 select-none items-center justify-center gap-2 border border-form px-3 py-2 text-base sm:text-sm [&_label]:cursor-inherit","focus:outline-none aria-enabled:cursor-pointer","first-of-type:rounded-bl-md first-of-type:rounded-tl-md last-of-type:rounded-br-md last-of-type:rounded-tr-md","aria-disabled:opacity-50 aria-enabled:hover:z-1 aria-enabled:hover:border-accent-600","aria-checked:z-1 aria-checked:border-accent-500/40 aria-checked:bg-accent-500/10 not-disabled:hover:aria-checked:border-accent-600","has-[.radio-indicator:first-child]:pl-2 has-[.radio-indicator:last-child]:pr-2",o),ref:r,...t,children:d=>a(b,{children:a(l.Provider,{value:d,children:e})})}));g.displayName="RadioButton";var B=({children:e,onClick:o,onKeyDown:t,...r})=>{let d=T(null),s=R(l),p=k.only(e),G=s.disabled||!s.checked;return a("div",{ref:d,"aria-disabled":s.disabled,onKeyDown:i=>{if(s.disabled){i.stopPropagation(),i.preventDefault();return}switch(i.key){case"Enter":case"Tab":break;default:i.stopPropagation()}t?.(i)},onClick:i=>{if(s.disabled){i.stopPropagation(),i.preventDefault();return}let h=i.target;y(h)&&window.requestAnimationFrame(()=>{h.focus()}),o?.(i)},...r,children:S(p)?L(p,{disabled:s.disabled||p.props.disabled,tabIndex:G?-1:p.props.tabIndex}):null})};export{g as RadioButton,I as RadioButtonGroup,C as RadioCard,f as RadioGroup,P as RadioGroupList,M as RadioIndicator,B as RadioInputSandbox,x as RadioItem,w as RadioItemContent,v as RadioListItem};
|
|
2
2
|
//# sourceMappingURL=radio-group.js.map
|
package/dist/select.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as _radix_ui_react_separator from '@radix-ui/react-separator';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { FocusEvent, SelectHTMLAttributes } from 'react';
|
|
4
4
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
5
|
-
import { W as
|
|
5
|
+
import { W as WithValidation } from './types-DcL7_eQM.js';
|
|
6
6
|
|
|
7
7
|
type WithAriaInvalid = Pick<SelectHTMLAttributes<HTMLSelectElement>, "aria-invalid">;
|
|
8
8
|
/**
|
|
9
9
|
* Displays a list of options for the user to pick from—triggered by a button.
|
|
10
10
|
*/
|
|
11
|
-
declare const Select: react.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectProps, "onValueChange"> &
|
|
11
|
+
declare const Select: react.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectProps, "onValueChange"> & WithValidation & WithAriaInvalid & {
|
|
12
12
|
/**
|
|
13
13
|
* Event handler called when the value changes.
|
|
14
14
|
*/
|
|
@@ -31,7 +31,7 @@ declare const SelectValue: react.ForwardRefExoticComponent<SelectPrimitive.Selec
|
|
|
31
31
|
/**
|
|
32
32
|
* The button that toggles the select. The Select.Content will position itself adjacent to the trigger.
|
|
33
33
|
*/
|
|
34
|
-
declare const SelectTrigger: react.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & WithAriaInvalid &
|
|
34
|
+
declare const SelectTrigger: react.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & WithAriaInvalid & WithValidation & react.RefAttributes<HTMLButtonElement>>;
|
|
35
35
|
/**
|
|
36
36
|
* The component that pops out when the select is open as a portal adjacent to the trigger button.
|
|
37
37
|
* It contains a scrolling viewport of the select items.
|
package/dist/select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as f}from"./chunk-NREABJ6Y.js";import{b as
|
|
1
|
+
import{a as f}from"./chunk-NREABJ6Y.js";import{b as u}from"./chunk-R3JOSY7M.js";import{a as o}from"./chunk-A5H52ODC.js";import{CaretDown as S}from"@phosphor-icons/react/CaretDown";import{CaretUp as R}from"@phosphor-icons/react/CaretUp";import{Check as N}from"@phosphor-icons/react/Check";import*as e from"@radix-ui/react-select";import{createContext as T,forwardRef as l,useContext as B}from"react";import{jsx as i,jsxs as p}from"react/jsx-runtime";var g=T({}),h=l(({"aria-invalid":a,children:r,validation:t,onBlur:n,onChange:c,...s},d)=>i(e.Root,{...s,onValueChange:c,children:i(g.Provider,{value:{"aria-invalid":a,validation:t,onBlur:n,ref:d},children:r})}));h.displayName="Select";var W=e.Group,E=e.Value,P=l(({"aria-invalid":a,className:r,children:t,validation:n,...c},s)=>{let d=B(g),m=d["aria-invalid"]??a,v=m!=null&&m!=="false"?"error":d.validation??n;return p(e.Trigger,{"aria-invalid":m??v==="error","data-validation":v||void 0,className:o("flex h-11 w-full items-center justify-between rounded-md border border-form bg-form px-3 py-2 text-strong placeholder:text-placeholder hover:border-neutral-400 hover:bg-form-hover hover:text-strong disabled:pointer-events-none disabled:opacity-50 sm:h-9 sm:text-sm [&>span]:line-clamp-1 [&>span]:text-left","focus:outline-none focus-visible:ring-4 aria-expanded:ring-4","focus-visible:border-accent-600 focus-visible:ring-focus-accent aria-expanded:border-accent-600 aria-expanded:ring-focus-accent","data-validation-success:border-success-600 data-validation-success:focus-visible:border-success-600 data-validation-success:focus-visible:ring-focus-success data-validation-success:aria-expanded:border-success-600 data-validation-success:aria-expanded:ring-focus-success","data-validation-warning:border-warning-600 data-validation-warning:focus-visible:border-warning-600 data-validation-warning:focus-visible:ring-focus-warning data-validation-warning:aria-expanded:border-warning-600 data-validation-warning:aria-expanded:ring-focus-warning","data-validation-error:border-danger-600 data-validation-error:focus-visible:border-danger-600 data-validation-error:focus-visible:ring-focus-danger data-validation-error:aria-expanded:border-danger-600 data-validation-error:aria-expanded:ring-focus-danger",r),ref:f(s,d.ref),...c,children:[t,i(e.Icon,{asChild:!0,children:i(S,{className:"size-4 shrink-0",weight:"bold"})})]})});P.displayName="SelectTrigger";var b=l(({className:a,...r},t)=>i(e.ScrollUpButton,{ref:t,className:o("flex cursor-default items-center justify-center py-1",a),...r,children:i(R,{className:"size-4 shrink-0",weight:"bold"})}));b.displayName="SelectScrollUpButton";var y=l(({className:a,...r},t)=>i(e.ScrollDownButton,{ref:t,className:o("flex cursor-default items-center justify-center py-1",a),...r,children:i(S,{className:"size-4 shrink-0",weight:"bold"})}));y.displayName="SelectScrollDownButton";var x=l(({className:a,children:r,position:t="popper",width:n,...c},s)=>i(e.Portal,{children:p(e.Content,{ref:s,className:o("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-popover shadow-md data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95","bg-popover",t==="popper"&&"max-h-[var(--radix-select-content-available-height)] data-side-bottom:translate-y-2 data-side-left:-translate-x-2 data-side-right:translate-x-2 data-side-top:-translate-y-2",n==="trigger"&&"w-[var(--radix-select-trigger-width)]",a),position:t,...c,children:[i(b,{}),i(e.Viewport,{className:o("p-1",t==="popper"&&"h-[var(--radix-select-trigger-height)] w-full"),children:r}),i(y,{})]})}));x.displayName="SelectContent";var w=l(({className:a,...r},t)=>i(e.Label,{ref:t,className:o("px-2 py-1.5 text-sm font-semibold",a),...r}));w.displayName="SelectLabel";var C=l(({className:a,children:r,...t},n)=>p(e.Item,{ref:n,className:o("relative flex w-full cursor-pointer select-none items-center rounded py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-popover-hover data-disabled:pointer-events-none data-disabled:opacity-50 data-state-checked:bg-filled-accent data-state-checked:text-on-filled",a),...t,children:[i(e.ItemText,{children:r}),i(e.ItemIndicator,{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:i(N,{className:"size-4 shrink-0",weight:"bold"})})]}));C.displayName="SelectItem";var I=l(({className:a,...r},t)=>i(u,{ref:t,className:o("-mx-1 my-1 h-px w-auto",a),...r}));I.displayName="SelectSeparator";export{h as Select,x as SelectContent,W as SelectGroup,C as SelectItem,w as SelectLabel,I as SelectSeparator,P as SelectTrigger,E as SelectValue};
|
|
2
2
|
//# sourceMappingURL=select.js.map
|
package/dist/select.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../packages/select/src/select.tsx"],"sourcesContent":["import { CaretDown } from \"@phosphor-icons/react/CaretDown\";\nimport { CaretUp } from \"@phosphor-icons/react/CaretUp\";\nimport { Check } from \"@phosphor-icons/react/Check\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport type { ComponentPropsWithoutRef, ElementRef, FocusEvent, Ref, SelectHTMLAttributes } from \"react\";\nimport { createContext, forwardRef, useContext } from \"react\";\nimport { composeRefs } from \"../../compose-refs\";\nimport { cx } from \"../../cx\";\nimport type { WithInvalid } from \"../../input\";\nimport { Separator } from \"../../separator\";\n\ntype WithAriaInvalid = Pick<SelectHTMLAttributes<HTMLSelectElement>, \"aria-invalid\">;\ntype SelectContextType = WithInvalid &\n\tWithAriaInvalid & {\n\t\t/**\n\t\t * Ref for the trigger button.\n\t\t */\n\t\tref?: Ref<HTMLButtonElement>;\n\t\t/**\n\t\t * Event handler called when Select blurs.\n\t\t * @note this is a no-op for now until we can guarantee that it works identically to a native select onBlur\n\t\t */\n\t\tonBlur?: (event: FocusEvent<HTMLButtonElement>) => void;\n\t};\n\nconst SelectContext = createContext<SelectContextType>({});\n\ntype SelectProps = Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, \"onValueChange\"> &\n\tWithInvalid &\n\tWithAriaInvalid & {\n\t\t/**\n\t\t * Event handler called when the value changes.\n\t\t */\n\t\tonChange?: (value: string) => void;\n\t\t/**\n\t\t * Event handler called when Select blurs.\n\t\t * @note this is a no-op for now until we can guarantee that it works identically to a native select onBlur\n\t\t */\n\t\tonBlur?: (event: FocusEvent<HTMLButtonElement>) => void;\n\t};\n\n/**\n * Displays a list of options for the user to pick from—triggered by a button.\n */\nconst Select = forwardRef<HTMLButtonElement, SelectProps>(\n\t({ \"aria-invalid\": _ariaInvalid, children, invalid, onBlur, onChange, ...props }, ref) => {\n\t\treturn (\n\t\t\t<SelectPrimitive.Root {...props} onValueChange={onChange}>\n\t\t\t\t<SelectContext.Provider value={{ \"aria-invalid\": _ariaInvalid, invalid, onBlur, ref }}>\n\t\t\t\t\t{children}\n\t\t\t\t</SelectContext.Provider>\n\t\t\t</SelectPrimitive.Root>\n\t\t);\n\t},\n);\nSelect.displayName = \"Select\";\n\n/**\n * A group of related options within a select menu. Similar to an html `<optgroup>` element.\n * Use in conjunction with Select.Label to ensure good accessibility via automatic labelling.\n */\nconst SelectGroup = SelectPrimitive.Group;\n\n/**\n * The part that reflects the selected value. By default the selected item's text will be rendered. if you require more control, you can instead control the select and pass your own children. It should not be styled to ensure correct positioning. An optional placeholder prop is also available for when the select has no value.\n */\nconst SelectValue = SelectPrimitive.Value;\n\ntype SelectTriggerProps = ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> & WithAriaInvalid & WithInvalid;\n\n/**\n * The button that toggles the select. The Select.Content will position itself adjacent to the trigger.\n */\nconst SelectTrigger = forwardRef<ElementRef<typeof SelectPrimitive.Trigger>, SelectTriggerProps>(\n\t({ \"aria-invalid\": _ariaInvalid, className, children, invalid: _invalid, ...props }, ref) => {\n\t\tconst ctx = useContext(SelectContext);\n\t\tconst invalid = ctx[\"aria-invalid\"] ?? ctx.invalid ?? _ariaInvalid ?? _invalid;\n\n\t\treturn (\n\t\t\t<SelectPrimitive.Trigger\n\t\t\t\taria-invalid={invalid}\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"flex h-11 w-full items-center justify-between rounded-md border border-form bg-form px-3 py-2 text-strong placeholder:text-placeholder hover:border-neutral-400 hover:bg-form-hover hover:text-strong focus:border-accent-600 focus:outline-none focus:ring-4 focus:ring-focus-accent focus-visible:border-accent-600 focus-visible:ring-focus-accent active:border-neutral-400 active:bg-neutral-500/10 active:text-strong focus-visible:active:border-accent-600 disabled:pointer-events-none disabled:opacity-50 aria-expanded:border-accent-600 aria-expanded:ring-4 aria-expanded:ring-focus-accent sm:h-9 sm:text-sm [&>span]:line-clamp-1 [&>span]:text-left\",\n\t\t\t\t\tinvalid &&\n\t\t\t\t\t\t\"border-danger-600 focus:border-danger-600 focus:ring-focus-danger aria-expanded:border-danger-600 aria-expanded:ring-focus-danger\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tref={composeRefs(ref, ctx.ref)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t<SelectPrimitive.Icon asChild>\n\t\t\t\t\t<CaretDown className=\"size-4 shrink-0\" weight=\"bold\" />\n\t\t\t\t</SelectPrimitive.Icon>\n\t\t\t</SelectPrimitive.Trigger>\n\t\t);\n\t},\n);\nSelectTrigger.displayName = \"SelectTrigger\";\n\nconst SelectScrollUpButton = forwardRef<\n\tElementRef<typeof SelectPrimitive.ScrollUpButton>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>\n>(({ className, ...props }, ref) => (\n\t<SelectPrimitive.ScrollUpButton\n\t\tref={ref}\n\t\tclassName={cx(\"flex cursor-default items-center justify-center py-1\", className)}\n\t\t{...props}\n\t>\n\t\t<CaretUp className=\"size-4 shrink-0\" weight=\"bold\" />\n\t</SelectPrimitive.ScrollUpButton>\n));\nSelectScrollUpButton.displayName = \"SelectScrollUpButton\";\n\nconst SelectScrollDownButton = forwardRef<\n\tElementRef<typeof SelectPrimitive.ScrollDownButton>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>\n>(({ className, ...props }, ref) => (\n\t<SelectPrimitive.ScrollDownButton\n\t\tref={ref}\n\t\tclassName={cx(\"flex cursor-default items-center justify-center py-1\", className)}\n\t\t{...props}\n\t>\n\t\t<CaretDown className=\"size-4 shrink-0\" weight=\"bold\" />\n\t</SelectPrimitive.ScrollDownButton>\n));\nSelectScrollDownButton.displayName = \"SelectScrollDownButton\";\n\ntype SelectContentProps = ComponentPropsWithoutRef<typeof SelectPrimitive.Content> & {\n\twidth?: \"trigger\" | \"content\";\n};\n\n/**\n * The component that pops out when the select is open as a portal adjacent to the trigger button.\n * It contains a scrolling viewport of the select items.\n */\nconst SelectContent = forwardRef<ElementRef<typeof SelectPrimitive.Content>, SelectContentProps>(\n\t({ className, children, position = \"popper\", width, ...props }, ref) => (\n\t\t<SelectPrimitive.Portal>\n\t\t\t<SelectPrimitive.Content\n\t\t\t\tref={ref}\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-popover shadow-md data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95\",\n\t\t\t\t\t\"bg-popover\",\n\t\t\t\t\tposition === \"popper\" &&\n\t\t\t\t\t\t\"max-h-[var(--radix-select-content-available-height)] data-side-bottom:translate-y-2 data-side-left:-translate-x-2 data-side-right:translate-x-2 data-side-top:-translate-y-2\",\n\t\t\t\t\twidth === \"trigger\" && \"w-[var(--radix-select-trigger-width)]\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tposition={position}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<SelectScrollUpButton />\n\t\t\t\t<SelectPrimitive.Viewport\n\t\t\t\t\tclassName={cx(\"p-1\", position === \"popper\" && \"h-[var(--radix-select-trigger-height)] w-full\")}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</SelectPrimitive.Viewport>\n\t\t\t\t<SelectScrollDownButton />\n\t\t\t</SelectPrimitive.Content>\n\t\t</SelectPrimitive.Portal>\n\t),\n);\nSelectContent.displayName = \"SelectContent\";\n\n/**\n * Used to render the label of a group. It won't be focusable using arrow keys.\n */\nconst SelectLabel = forwardRef<\n\tElementRef<typeof SelectPrimitive.Label>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.Label>\n>(({ className, ...props }, ref) => (\n\t<SelectPrimitive.Label ref={ref} className={cx(\"px-2 py-1.5 text-sm font-semibold\", className)} {...props} />\n));\nSelectLabel.displayName = \"SelectLabel\";\n\n/**\n * An option within a select menu. Similar to an html `<option>` element.\n * Contains a `value` prop that will be passed to the `onChange` handler of the `Select` component when selected.\n * Displays the children as the option's text.\n */\nconst SelectItem = forwardRef<\n\tElementRef<typeof SelectPrimitive.Item>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.Item>\n>(({ className, children, ...props }, ref) => (\n\t<SelectPrimitive.Item\n\t\tref={ref}\n\t\tclassName={cx(\n\t\t\t\"relative flex w-full cursor-pointer select-none items-center rounded py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-popover-hover data-disabled:pointer-events-none data-disabled:opacity-50 data-state-checked:bg-filled-accent data-state-checked:text-on-filled\",\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t>\n\t\t<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n\t\t<SelectPrimitive.ItemIndicator className=\"absolute right-2 flex h-3.5 w-3.5 items-center justify-center\">\n\t\t\t<Check className=\"size-4 shrink-0\" weight=\"bold\" />\n\t\t</SelectPrimitive.ItemIndicator>\n\t</SelectPrimitive.Item>\n));\nSelectItem.displayName = \"SelectItem\";\n\n/**\n * Used to visually separate items in the select.\n */\nconst SelectSeparator = forwardRef<ElementRef<typeof Separator>, ComponentPropsWithoutRef<typeof Separator>>(\n\t({ className, ...props }, ref) => (\n\t\t<Separator ref={ref} className={cx(\"-mx-1 my-1 h-px w-auto\", className)} {...props} />\n\t),\n);\nSelectSeparator.displayName = \"SelectSeparator\";\n\nexport {\n\tSelect,\n\tSelectGroup,\n\tSelectValue,\n\tSelectTrigger,\n\tSelectContent,\n\tSelectLabel,\n\tSelectItem,\n\tSelectSeparator,\n\tSelectScrollUpButton,\n\tSelectScrollDownButton,\n};\n"],"mappings":"wHAAA,OAAS,aA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,CAA0B,SAAAO,EAAS,EACpCP,EAAiB,gBAAhB,CAA8B,UAAU,gEACxC,SAAAA,EAAC+B,EAAA,CAAM,UAAU,kBAAkB,OAAO,OAAO,EAClD,GACD,CACA,EACDD,EAAW,YAAc,aAKzB,IAAME,EAAkB3B,EACvB,CAAC,CAAE,UAAAW,EAAW,GAAGL,CAAM,EAAGC,IACzBZ,EAACiC,EAAA,CAAU,IAAKrB,EAAK,UAAWQ,EAAG,yBAA0BJ,CAAS,EAAI,GAAGL,EAAO,CAEtF,EACAqB,EAAgB,YAAc","names":["CaretDown","CaretUp","Check","SelectPrimitive","createContext","forwardRef","useContext","jsx","jsxs","SelectContext","createContext","Select","forwardRef","_ariaInvalid","children","invalid","onBlur","onChange","props","ref","SelectGroup","SelectValue","SelectTrigger","className","_invalid","ctx","useContext","cx","composeRefs","CaretDown","SelectScrollUpButton","CaretUp","SelectScrollDownButton","SelectContent","position","width","SelectLabel","SelectItem","Check","SelectSeparator","Separator"]}
|
|
1
|
+
{"version":3,"sources":["../packages/select/src/select.tsx"],"sourcesContent":["import { CaretDown } from \"@phosphor-icons/react/CaretDown\";\nimport { CaretUp } from \"@phosphor-icons/react/CaretUp\";\nimport { Check } from \"@phosphor-icons/react/Check\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport type { ComponentPropsWithoutRef, ElementRef, FocusEvent, Ref, SelectHTMLAttributes } from \"react\";\nimport { createContext, forwardRef, useContext } from \"react\";\nimport { composeRefs } from \"../../compose-refs\";\nimport { cx } from \"../../cx\";\nimport type { WithValidation } from \"../../input\";\nimport { Separator } from \"../../separator\";\n\ntype WithAriaInvalid = Pick<SelectHTMLAttributes<HTMLSelectElement>, \"aria-invalid\">;\ntype SelectContextType = WithValidation &\n\tWithAriaInvalid & {\n\t\t/**\n\t\t * Ref for the trigger button.\n\t\t */\n\t\tref?: Ref<HTMLButtonElement>;\n\t\t/**\n\t\t * Event handler called when Select blurs.\n\t\t * @note this is a no-op for now until we can guarantee that it works identically to a native select onBlur\n\t\t */\n\t\tonBlur?: (event: FocusEvent<HTMLButtonElement>) => void;\n\t};\n\nconst SelectContext = createContext<SelectContextType>({});\n\ntype SelectProps = Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, \"onValueChange\"> &\n\tWithValidation &\n\tWithAriaInvalid & {\n\t\t/**\n\t\t * Event handler called when the value changes.\n\t\t */\n\t\tonChange?: (value: string) => void;\n\t\t/**\n\t\t * Event handler called when Select blurs.\n\t\t * @note this is a no-op for now until we can guarantee that it works identically to a native select onBlur\n\t\t */\n\t\tonBlur?: (event: FocusEvent<HTMLButtonElement>) => void;\n\t};\n\n/**\n * Displays a list of options for the user to pick from—triggered by a button.\n */\nconst Select = forwardRef<HTMLButtonElement, SelectProps>(\n\t({ \"aria-invalid\": _ariaInvalid, children, validation, onBlur, onChange, ...props }, ref) => {\n\t\treturn (\n\t\t\t<SelectPrimitive.Root {...props} onValueChange={onChange}>\n\t\t\t\t<SelectContext.Provider value={{ \"aria-invalid\": _ariaInvalid, validation, onBlur, ref }}>\n\t\t\t\t\t{children}\n\t\t\t\t</SelectContext.Provider>\n\t\t\t</SelectPrimitive.Root>\n\t\t);\n\t},\n);\nSelect.displayName = \"Select\";\n\n/**\n * A group of related options within a select menu. Similar to an html `<optgroup>` element.\n * Use in conjunction with Select.Label to ensure good accessibility via automatic labelling.\n */\nconst SelectGroup = SelectPrimitive.Group;\n\n/**\n * The part that reflects the selected value. By default the selected item's text will be rendered. if you require more control, you can instead control the select and pass your own children. It should not be styled to ensure correct positioning. An optional placeholder prop is also available for when the select has no value.\n */\nconst SelectValue = SelectPrimitive.Value;\n\ntype SelectTriggerProps = ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> & WithAriaInvalid & WithValidation;\n\n/**\n * The button that toggles the select. The Select.Content will position itself adjacent to the trigger.\n */\nconst SelectTrigger = forwardRef<ElementRef<typeof SelectPrimitive.Trigger>, SelectTriggerProps>(\n\t({ \"aria-invalid\": ariaInValidProp, className, children, validation: _validation, ...props }, ref) => {\n\t\tconst ctx = useContext(SelectContext);\n\t\tconst _ariaInvalid = ctx[\"aria-invalid\"] ?? ariaInValidProp;\n\t\tconst isInvalid = _ariaInvalid != null && _ariaInvalid !== \"false\";\n\t\tconst validation = isInvalid ? \"error\" : ctx.validation ?? _validation;\n\t\tconst ariaInvalid = _ariaInvalid ?? validation === \"error\";\n\n\t\treturn (\n\t\t\t<SelectPrimitive.Trigger\n\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\tdata-validation={validation || undefined} // eslint-disable-line @typescript-eslint/prefer-nullish-coalescing\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"flex h-11 w-full items-center justify-between rounded-md border border-form bg-form px-3 py-2 text-strong placeholder:text-placeholder hover:border-neutral-400 hover:bg-form-hover hover:text-strong disabled:pointer-events-none disabled:opacity-50 sm:h-9 sm:text-sm [&>span]:line-clamp-1 [&>span]:text-left\",\n\t\t\t\t\t\"focus:outline-none focus-visible:ring-4 aria-expanded:ring-4\",\n\t\t\t\t\t\"focus-visible:border-accent-600 focus-visible:ring-focus-accent aria-expanded:border-accent-600 aria-expanded:ring-focus-accent\",\n\t\t\t\t\t\"data-validation-success:border-success-600 data-validation-success:focus-visible:border-success-600 data-validation-success:focus-visible:ring-focus-success data-validation-success:aria-expanded:border-success-600 data-validation-success:aria-expanded:ring-focus-success\",\n\t\t\t\t\t\"data-validation-warning:border-warning-600 data-validation-warning:focus-visible:border-warning-600 data-validation-warning:focus-visible:ring-focus-warning data-validation-warning:aria-expanded:border-warning-600 data-validation-warning:aria-expanded:ring-focus-warning\",\n\t\t\t\t\t\"data-validation-error:border-danger-600 data-validation-error:focus-visible:border-danger-600 data-validation-error:focus-visible:ring-focus-danger data-validation-error:aria-expanded:border-danger-600 data-validation-error:aria-expanded:ring-focus-danger\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tref={composeRefs(ref, ctx.ref)}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t<SelectPrimitive.Icon asChild>\n\t\t\t\t\t<CaretDown className=\"size-4 shrink-0\" weight=\"bold\" />\n\t\t\t\t</SelectPrimitive.Icon>\n\t\t\t</SelectPrimitive.Trigger>\n\t\t);\n\t},\n);\nSelectTrigger.displayName = \"SelectTrigger\";\n\nconst SelectScrollUpButton = forwardRef<\n\tElementRef<typeof SelectPrimitive.ScrollUpButton>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>\n>(({ className, ...props }, ref) => (\n\t<SelectPrimitive.ScrollUpButton\n\t\tref={ref}\n\t\tclassName={cx(\"flex cursor-default items-center justify-center py-1\", className)}\n\t\t{...props}\n\t>\n\t\t<CaretUp className=\"size-4 shrink-0\" weight=\"bold\" />\n\t</SelectPrimitive.ScrollUpButton>\n));\nSelectScrollUpButton.displayName = \"SelectScrollUpButton\";\n\nconst SelectScrollDownButton = forwardRef<\n\tElementRef<typeof SelectPrimitive.ScrollDownButton>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>\n>(({ className, ...props }, ref) => (\n\t<SelectPrimitive.ScrollDownButton\n\t\tref={ref}\n\t\tclassName={cx(\"flex cursor-default items-center justify-center py-1\", className)}\n\t\t{...props}\n\t>\n\t\t<CaretDown className=\"size-4 shrink-0\" weight=\"bold\" />\n\t</SelectPrimitive.ScrollDownButton>\n));\nSelectScrollDownButton.displayName = \"SelectScrollDownButton\";\n\ntype SelectContentProps = ComponentPropsWithoutRef<typeof SelectPrimitive.Content> & {\n\twidth?: \"trigger\" | \"content\";\n};\n\n/**\n * The component that pops out when the select is open as a portal adjacent to the trigger button.\n * It contains a scrolling viewport of the select items.\n */\nconst SelectContent = forwardRef<ElementRef<typeof SelectPrimitive.Content>, SelectContentProps>(\n\t({ className, children, position = \"popper\", width, ...props }, ref) => (\n\t\t<SelectPrimitive.Portal>\n\t\t\t<SelectPrimitive.Content\n\t\t\t\tref={ref}\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-popover shadow-md data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95\",\n\t\t\t\t\t\"bg-popover\",\n\t\t\t\t\tposition === \"popper\" &&\n\t\t\t\t\t\t\"max-h-[var(--radix-select-content-available-height)] data-side-bottom:translate-y-2 data-side-left:-translate-x-2 data-side-right:translate-x-2 data-side-top:-translate-y-2\",\n\t\t\t\t\twidth === \"trigger\" && \"w-[var(--radix-select-trigger-width)]\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tposition={position}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<SelectScrollUpButton />\n\t\t\t\t<SelectPrimitive.Viewport\n\t\t\t\t\tclassName={cx(\"p-1\", position === \"popper\" && \"h-[var(--radix-select-trigger-height)] w-full\")}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</SelectPrimitive.Viewport>\n\t\t\t\t<SelectScrollDownButton />\n\t\t\t</SelectPrimitive.Content>\n\t\t</SelectPrimitive.Portal>\n\t),\n);\nSelectContent.displayName = \"SelectContent\";\n\n/**\n * Used to render the label of a group. It won't be focusable using arrow keys.\n */\nconst SelectLabel = forwardRef<\n\tElementRef<typeof SelectPrimitive.Label>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.Label>\n>(({ className, ...props }, ref) => (\n\t<SelectPrimitive.Label ref={ref} className={cx(\"px-2 py-1.5 text-sm font-semibold\", className)} {...props} />\n));\nSelectLabel.displayName = \"SelectLabel\";\n\n/**\n * An option within a select menu. Similar to an html `<option>` element.\n * Contains a `value` prop that will be passed to the `onChange` handler of the `Select` component when selected.\n * Displays the children as the option's text.\n */\nconst SelectItem = forwardRef<\n\tElementRef<typeof SelectPrimitive.Item>,\n\tComponentPropsWithoutRef<typeof SelectPrimitive.Item>\n>(({ className, children, ...props }, ref) => (\n\t<SelectPrimitive.Item\n\t\tref={ref}\n\t\tclassName={cx(\n\t\t\t\"relative flex w-full cursor-pointer select-none items-center rounded py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-popover-hover data-disabled:pointer-events-none data-disabled:opacity-50 data-state-checked:bg-filled-accent data-state-checked:text-on-filled\",\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t>\n\t\t<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n\t\t<SelectPrimitive.ItemIndicator className=\"absolute right-2 flex h-3.5 w-3.5 items-center justify-center\">\n\t\t\t<Check className=\"size-4 shrink-0\" weight=\"bold\" />\n\t\t</SelectPrimitive.ItemIndicator>\n\t</SelectPrimitive.Item>\n));\nSelectItem.displayName = \"SelectItem\";\n\n/**\n * Used to visually separate items in the select.\n */\nconst SelectSeparator = forwardRef<ElementRef<typeof Separator>, ComponentPropsWithoutRef<typeof Separator>>(\n\t({ className, ...props }, ref) => (\n\t\t<Separator ref={ref} className={cx(\"-mx-1 my-1 h-px w-auto\", className)} {...props} />\n\t),\n);\nSelectSeparator.displayName = \"SelectSeparator\";\n\nexport {\n\tSelect,\n\tSelectGroup,\n\tSelectValue,\n\tSelectTrigger,\n\tSelectContent,\n\tSelectLabel,\n\tSelectItem,\n\tSelectSeparator,\n\tSelectScrollUpButton,\n\tSelectScrollDownButton,\n};\n"],"mappings":"wHAAA,OAAS,aAAAA,MAAiB,kCAC1B,OAAS,WAAAC,MAAe,gCACxB,OAAS,SAAAC,MAAa,8BACtB,UAAYC,MAAqB,yBAEjC,OAAS,iBAAAC,EAAe,cAAAC,EAAY,cAAAC,MAAkB,QA2ClD,cAAAC,EAkCD,QAAAC,MAlCC,oBAvBJ,IAAMC,EAAgBC,EAAiC,CAAC,CAAC,EAmBnDC,EAASC,EACd,CAAC,CAAE,eAAgBC,EAAc,SAAAC,EAAU,WAA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AY,EAAW,GAAGN,CAAM,EAAGC,IACzBZ,EAACkC,EAAA,CAAU,IAAKtB,EAAK,UAAWS,EAAG,yBAA0BJ,CAAS,EAAI,GAAGN,EAAO,CAEtF,EACAsB,EAAgB,YAAc","names":["CaretDown","CaretUp","Check","SelectPrimitive","createContext","forwardRef","useContext","jsx","jsxs","SelectContext","createContext","Select","forwardRef","_ariaInvalid","children","validation","onBlur","onChange","props","ref","SelectGroup","SelectValue","SelectTrigger","ariaInValidProp","className","_validation","ctx","useContext","cx","composeRefs","CaretDown","SelectScrollUpButton","CaretUp","SelectScrollDownButton","SelectContent","position","width","SelectLabel","SelectItem","Check","SelectSeparator","Separator"]}
|
package/dist/tailwind-preset.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);var _defaultTheme = require('tailwindcss/defaultTheme'); var _defaultTheme2 = _interopRequireDefault(_defaultTheme);var _plugin = require('tailwindcss/plugin'); var _plugin2 = _interopRequireDefault(_plugin);var s=_plugin2.default.call(void 0, a=>{a.addVariant("aria-enabled",({modifySelectors:e,separator:h})=>{e(({className:l})=>`:not([aria-disabled]).${a.e(`aria-enabled${h}${l}`)}`)})});var v=_plugin2.default.call(void 0, a=>{a.addVariant("firefox",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"supports",params:"(-moz-appearance:none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`firefox${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var p=_plugin2.default.call(void 0, a=>{a.addVariant("pointer-coarse",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: coarse)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-coarse${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-fine",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: fine)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-fine${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-hover",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: hover)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-hover${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var d={inherit:"inherit",current:"currentColor",transparent:"transparent",white:"hsl(var(--white) / <alpha-value>)",black:"hsl(var(--black) / <alpha-value>)",gray:{50:"hsl(var(--gray-50) / <alpha-value>)",100:"hsl(var(--gray-100) / <alpha-value>)",200:"hsl(var(--gray-200) / <alpha-value>)",300:"hsl(var(--gray-300) / <alpha-value>)",400:"hsl(var(--gray-400) / <alpha-value>)",500:"hsl(var(--gray-500) / <alpha-value>)",600:"hsl(var(--gray-600) / <alpha-value>)",700:"hsl(var(--gray-700) / <alpha-value>)",800:"hsl(var(--gray-800) / <alpha-value>)",900:"hsl(var(--gray-900) / <alpha-value>)",950:"hsl(var(--gray-950) / <alpha-value>)"},red:{50:"hsl(var(--red-50) / <alpha-value>)",100:"hsl(var(--red-100) / <alpha-value>)",200:"hsl(var(--red-200) / <alpha-value>)",300:"hsl(var(--red-300) / <alpha-value>)",400:"hsl(var(--red-400) / <alpha-value>)",500:"hsl(var(--red-500) / <alpha-value>)",600:"hsl(var(--red-600) / <alpha-value>)",700:"hsl(var(--red-700) / <alpha-value>)",800:"hsl(var(--red-800) / <alpha-value>)",900:"hsl(var(--red-900) / <alpha-value>)",950:"hsl(var(--red-950) / <alpha-value>)"},orange:{50:"hsl(var(--orange-50) / <alpha-value>)",100:"hsl(var(--orange-100) / <alpha-value>)",200:"hsl(var(--orange-200) / <alpha-value>)",300:"hsl(var(--orange-300) / <alpha-value>)",400:"hsl(var(--orange-400) / <alpha-value>)",500:"hsl(var(--orange-500) / <alpha-value>)",600:"hsl(var(--orange-600) / <alpha-value>)",700:"hsl(var(--orange-700) / <alpha-value>)",800:"hsl(var(--orange-800) / <alpha-value>)",900:"hsl(var(--orange-900) / <alpha-value>)",950:"hsl(var(--orange-950) / <alpha-value>)"},amber:{50:"hsl(var(--amber-50) / <alpha-value>)",100:"hsl(var(--amber-100) / <alpha-value>)",200:"hsl(var(--amber-200) / <alpha-value>)",300:"hsl(var(--amber-300) / <alpha-value>)",400:"hsl(var(--amber-400) / <alpha-value>)",500:"hsl(var(--amber-500) / <alpha-value>)",600:"hsl(var(--amber-600) / <alpha-value>)",700:"hsl(var(--amber-700) / <alpha-value>)",800:"hsl(var(--amber-800) / <alpha-value>)",900:"hsl(var(--amber-900) / <alpha-value>)",950:"hsl(var(--amber-950) / <alpha-value>)"},yellow:{50:"hsl(var(--yellow-50) / <alpha-value>)",100:"hsl(var(--yellow-100) / <alpha-value>)",200:"hsl(var(--yellow-200) / <alpha-value>)",300:"hsl(var(--yellow-300) / <alpha-value>)",400:"hsl(var(--yellow-400) / <alpha-value>)",500:"hsl(var(--yellow-500) / <alpha-value>)",600:"hsl(var(--yellow-600) / <alpha-value>)",700:"hsl(var(--yellow-700) / <alpha-value>)",800:"hsl(var(--yellow-800) / <alpha-value>)",900:"hsl(var(--yellow-900) / <alpha-value>)",950:"hsl(var(--yellow-950) / <alpha-value>)"},lime:{50:"hsl(var(--lime-50) / <alpha-value>)",100:"hsl(var(--lime-100) / <alpha-value>)",200:"hsl(var(--lime-200) / <alpha-value>)",300:"hsl(var(--lime-300) / <alpha-value>)",400:"hsl(var(--lime-400) / <alpha-value>)",500:"hsl(var(--lime-500) / <alpha-value>)",600:"hsl(var(--lime-600) / <alpha-value>)",700:"hsl(var(--lime-700) / <alpha-value>)",800:"hsl(var(--lime-800) / <alpha-value>)",900:"hsl(var(--lime-900) / <alpha-value>)",950:"hsl(var(--lime-950) / <alpha-value>)"},green:{50:"hsl(var(--green-50) / <alpha-value>)",100:"hsl(var(--green-100) / <alpha-value>)",200:"hsl(var(--green-200) / <alpha-value>)",300:"hsl(var(--green-300) / <alpha-value>)",400:"hsl(var(--green-400) / <alpha-value>)",500:"hsl(var(--green-500) / <alpha-value>)",600:"hsl(var(--green-600) / <alpha-value>)",700:"hsl(var(--green-700) / <alpha-value>)",800:"hsl(var(--green-800) / <alpha-value>)",900:"hsl(var(--green-900) / <alpha-value>)",950:"hsl(var(--green-950) / <alpha-value>)"},emerald:{50:"hsl(var(--emerald-50) / <alpha-value>)",100:"hsl(var(--emerald-100) / <alpha-value>)",200:"hsl(var(--emerald-200) / <alpha-value>)",300:"hsl(var(--emerald-300) / <alpha-value>)",400:"hsl(var(--emerald-400) / <alpha-value>)",500:"hsl(var(--emerald-500) / <alpha-value>)",600:"hsl(var(--emerald-600) / <alpha-value>)",700:"hsl(var(--emerald-700) / <alpha-value>)",800:"hsl(var(--emerald-800) / <alpha-value>)",900:"hsl(var(--emerald-900) / <alpha-value>)",950:"hsl(var(--emerald-950) / <alpha-value>)"},teal:{50:"hsl(var(--teal-50) / <alpha-value>)",100:"hsl(var(--teal-100) / <alpha-value>)",200:"hsl(var(--teal-200) / <alpha-value>)",300:"hsl(var(--teal-300) / <alpha-value>)",400:"hsl(var(--teal-400) / <alpha-value>)",500:"hsl(var(--teal-500) / <alpha-value>)",600:"hsl(var(--teal-600) / <alpha-value>)",700:"hsl(var(--teal-700) / <alpha-value>)",800:"hsl(var(--teal-800) / <alpha-value>)",900:"hsl(var(--teal-900) / <alpha-value>)",950:"hsl(var(--teal-950) / <alpha-value>)"},cyan:{50:"hsl(var(--cyan-50) / <alpha-value>)",100:"hsl(var(--cyan-100) / <alpha-value>)",200:"hsl(var(--cyan-200) / <alpha-value>)",300:"hsl(var(--cyan-300) / <alpha-value>)",400:"hsl(var(--cyan-400) / <alpha-value>)",500:"hsl(var(--cyan-500) / <alpha-value>)",600:"hsl(var(--cyan-600) / <alpha-value>)",700:"hsl(var(--cyan-700) / <alpha-value>)",800:"hsl(var(--cyan-800) / <alpha-value>)",900:"hsl(var(--cyan-900) / <alpha-value>)",950:"hsl(var(--cyan-950) / <alpha-value>)"},sky:{50:"hsl(var(--sky-50) / <alpha-value>)",100:"hsl(var(--sky-100) / <alpha-value>)",200:"hsl(var(--sky-200) / <alpha-value>)",300:"hsl(var(--sky-300) / <alpha-value>)",400:"hsl(var(--sky-400) / <alpha-value>)",500:"hsl(var(--sky-500) / <alpha-value>)",600:"hsl(var(--sky-600) / <alpha-value>)",700:"hsl(var(--sky-700) / <alpha-value>)",800:"hsl(var(--sky-800) / <alpha-value>)",900:"hsl(var(--sky-900) / <alpha-value>)",950:"hsl(var(--sky-950) / <alpha-value>)"},blue:{50:"hsl(var(--blue-50) / <alpha-value>)",100:"hsl(var(--blue-100) / <alpha-value>)",200:"hsl(var(--blue-200) / <alpha-value>)",300:"hsl(var(--blue-300) / <alpha-value>)",400:"hsl(var(--blue-400) / <alpha-value>)",500:"hsl(var(--blue-500) / <alpha-value>)",600:"hsl(var(--blue-600) / <alpha-value>)",700:"hsl(var(--blue-700) / <alpha-value>)",800:"hsl(var(--blue-800) / <alpha-value>)",900:"hsl(var(--blue-900) / <alpha-value>)",950:"hsl(var(--blue-950) / <alpha-value>)"},indigo:{50:"hsl(var(--indigo-50) / <alpha-value>)",100:"hsl(var(--indigo-100) / <alpha-value>)",200:"hsl(var(--indigo-200) / <alpha-value>)",300:"hsl(var(--indigo-300) / <alpha-value>)",400:"hsl(var(--indigo-400) / <alpha-value>)",500:"hsl(var(--indigo-500) / <alpha-value>)",600:"hsl(var(--indigo-600) / <alpha-value>)",700:"hsl(var(--indigo-700) / <alpha-value>)",800:"hsl(var(--indigo-800) / <alpha-value>)",900:"hsl(var(--indigo-900) / <alpha-value>)",950:"hsl(var(--indigo-950) / <alpha-value>)"},violet:{50:"hsl(var(--violet-50) / <alpha-value>)",100:"hsl(var(--violet-100) / <alpha-value>)",200:"hsl(var(--violet-200) / <alpha-value>)",300:"hsl(var(--violet-300) / <alpha-value>)",400:"hsl(var(--violet-400) / <alpha-value>)",500:"hsl(var(--violet-500) / <alpha-value>)",600:"hsl(var(--violet-600) / <alpha-value>)",700:"hsl(var(--violet-700) / <alpha-value>)",800:"hsl(var(--violet-800) / <alpha-value>)",900:"hsl(var(--violet-900) / <alpha-value>)",950:"hsl(var(--violet-950) / <alpha-value>)"},purple:{50:"hsl(var(--purple-50) / <alpha-value>)",100:"hsl(var(--purple-100) / <alpha-value>)",200:"hsl(var(--purple-200) / <alpha-value>)",300:"hsl(var(--purple-300) / <alpha-value>)",400:"hsl(var(--purple-400) / <alpha-value>)",500:"hsl(var(--purple-500) / <alpha-value>)",600:"hsl(var(--purple-600) / <alpha-value>)",700:"hsl(var(--purple-700) / <alpha-value>)",800:"hsl(var(--purple-800) / <alpha-value>)",900:"hsl(var(--purple-900) / <alpha-value>)",950:"hsl(var(--purple-950) / <alpha-value>)"},fuchsia:{50:"hsl(var(--fuchsia-50) / <alpha-value>)",100:"hsl(var(--fuchsia-100) / <alpha-value>)",200:"hsl(var(--fuchsia-200) / <alpha-value>)",300:"hsl(var(--fuchsia-300) / <alpha-value>)",400:"hsl(var(--fuchsia-400) / <alpha-value>)",500:"hsl(var(--fuchsia-500) / <alpha-value>)",600:"hsl(var(--fuchsia-600) / <alpha-value>)",700:"hsl(var(--fuchsia-700) / <alpha-value>)",800:"hsl(var(--fuchsia-800) / <alpha-value>)",900:"hsl(var(--fuchsia-900) / <alpha-value>)",950:"hsl(var(--fuchsia-950) / <alpha-value>)"},pink:{50:"hsl(var(--pink-50) / <alpha-value>)",100:"hsl(var(--pink-100) / <alpha-value>)",200:"hsl(var(--pink-200) / <alpha-value>)",300:"hsl(var(--pink-300) / <alpha-value>)",400:"hsl(var(--pink-400) / <alpha-value>)",500:"hsl(var(--pink-500) / <alpha-value>)",600:"hsl(var(--pink-600) / <alpha-value>)",700:"hsl(var(--pink-700) / <alpha-value>)",800:"hsl(var(--pink-800) / <alpha-value>)",900:"hsl(var(--pink-900) / <alpha-value>)",950:"hsl(var(--pink-950) / <alpha-value>)"},rose:{50:"hsl(var(--rose-50) / <alpha-value>)",100:"hsl(var(--rose-100) / <alpha-value>)",200:"hsl(var(--rose-200) / <alpha-value>)",300:"hsl(var(--rose-300) / <alpha-value>)",400:"hsl(var(--rose-400) / <alpha-value>)",500:"hsl(var(--rose-500) / <alpha-value>)",600:"hsl(var(--rose-600) / <alpha-value>)",700:"hsl(var(--rose-700) / <alpha-value>)",800:"hsl(var(--rose-800) / <alpha-value>)",900:"hsl(var(--rose-900) / <alpha-value>)",950:"hsl(var(--rose-950) / <alpha-value>)"},neutral:{50:"hsl(var(--neutral-50) / <alpha-value>)",100:"hsl(var(--neutral-100) / <alpha-value>)",200:"hsl(var(--neutral-200) / <alpha-value>)",300:"hsl(var(--neutral-300) / <alpha-value>)",400:"hsl(var(--neutral-400) / <alpha-value>)",500:"hsl(var(--neutral-500) / <alpha-value>)",600:"hsl(var(--neutral-600) / <alpha-value>)",700:"hsl(var(--neutral-700) / <alpha-value>)",800:"hsl(var(--neutral-800) / <alpha-value>)",900:"hsl(var(--neutral-900) / <alpha-value>)",950:"hsl(var(--neutral-950) / <alpha-value>)"},accent:{50:"hsl(var(--accent-50) / <alpha-value>)",100:"hsl(var(--accent-100) / <alpha-value>)",200:"hsl(var(--accent-200) / <alpha-value>)",300:"hsl(var(--accent-300) / <alpha-value>)",400:"hsl(var(--accent-400) / <alpha-value>)",500:"hsl(var(--accent-500) / <alpha-value>)",600:"hsl(var(--accent-600) / <alpha-value>)",700:"hsl(var(--accent-700) / <alpha-value>)",800:"hsl(var(--accent-800) / <alpha-value>)",900:"hsl(var(--accent-900) / <alpha-value>)",950:"hsl(var(--accent-950) / <alpha-value>)"},danger:{50:"hsl(var(--danger-50) / <alpha-value>)",100:"hsl(var(--danger-100) / <alpha-value>)",200:"hsl(var(--danger-200) / <alpha-value>)",300:"hsl(var(--danger-300) / <alpha-value>)",400:"hsl(var(--danger-400) / <alpha-value>)",500:"hsl(var(--danger-500) / <alpha-value>)",600:"hsl(var(--danger-600) / <alpha-value>)",700:"hsl(var(--danger-700) / <alpha-value>)",800:"hsl(var(--danger-800) / <alpha-value>)",900:"hsl(var(--danger-900) / <alpha-value>)",950:"hsl(var(--danger-950) / <alpha-value>)"},warning:{50:"hsl(var(--warning-50) / <alpha-value>)",100:"hsl(var(--warning-100) / <alpha-value>)",200:"hsl(var(--warning-200) / <alpha-value>)",300:"hsl(var(--warning-300) / <alpha-value>)",400:"hsl(var(--warning-400) / <alpha-value>)",500:"hsl(var(--warning-500) / <alpha-value>)",600:"hsl(var(--warning-600) / <alpha-value>)",700:"hsl(var(--warning-700) / <alpha-value>)",800:"hsl(var(--warning-800) / <alpha-value>)",900:"hsl(var(--warning-900) / <alpha-value>)",950:"hsl(var(--warning-950) / <alpha-value>)"},success:{50:"hsl(var(--success-50) / <alpha-value>)",100:"hsl(var(--success-100) / <alpha-value>)",200:"hsl(var(--success-200) / <alpha-value>)",300:"hsl(var(--success-300) / <alpha-value>)",400:"hsl(var(--success-400) / <alpha-value>)",500:"hsl(var(--success-500) / <alpha-value>)",600:"hsl(var(--success-600) / <alpha-value>)",700:"hsl(var(--success-700) / <alpha-value>)",800:"hsl(var(--success-800) / <alpha-value>)",900:"hsl(var(--success-900) / <alpha-value>)",950:"hsl(var(--success-950) / <alpha-value>)"}},g= exports.mantlePreset ={content:[],darkMode:"class",theme:{colors:d,container:{center:!0,padding:"2rem",screens:{"2xl":"1400px"}},extend:{animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},aria:{collapsed:'expanded="false"',invalid:'invalid="true"',unchecked:'checked="false"'},boxShadow:{sm:"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))",DEFAULT:"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))",md:"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))",lg:"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))",xl:"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))","2xl":"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))",inner:"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))"},backgroundColor:{base:"hsl(var(--bg-base))",card:"hsl(var(--bg-card))",dialog:"hsl(var(--bg-dialog))",form:"hsl(var(--bg-form))",overlay:"hsl(var(--bg-overlay))",popover:"hsl(var(--bg-popover))",tooltip:"hsl(var(--bg-tooltip))","base-hover":"hsl(var(--bg-base-hover))","card-hover":"hsl(var(--bg-card-hover))","filled-accent-active":"hsl(var(--bg-filled-accent-active))","filled-accent-hover":"hsl(var(--bg-filled-accent-hover))","filled-accent":"hsl(var(--bg-filled-accent))","filled-danger-active":"hsl(var(--bg-filled-danger-active))","filled-danger-hover":"hsl(var(--bg-filled-danger-hover))","filled-danger":"hsl(var(--bg-filled-danger))","filled-neutral-active":"hsl(var(--bg-filled-neutral-active))","filled-neutral-hover":"hsl(var(--bg-filled-neutral-hover))","filled-neutral":"hsl(var(--bg-filled-neutral))","filled-success-active":"hsl(var(--bg-filled-success-active))","filled-success-hover":"hsl(var(--bg-filled-success-hover))","filled-success":"hsl(var(--bg-filled-success))","filled-warning-active":"hsl(var(--bg-filled-warning-active))","filled-warning-hover":"hsl(var(--bg-filled-warning-hover))","filled-warning":"hsl(var(--bg-filled-warning))","form-active":"hsl(var(--bg-form-active))","form-hover":"hsl(var(--bg-form-hover))","popover-hover":"hsl(var(--bg-popover-hover))"},textColor:{body:"hsl(var(--text-body))",muted:"hsl(var(--text-muted))",placeholder:"hsl(var(--text-placeholder))",strong:"hsl(var(--text-strong))",tooltip:"hsl(var(--text-tooltip))","on-filled":"hsl(var(--text-on-filled))"},borderColor:{base:"hsl(var(--border-base))",card:"hsl(var(--border-card))",dialog:"hsl(var(--border-dialog))",form:"hsl(var(--border-form))",popover:"hsl(var(--border-popover))","base-muted":"hsl(var(--border-base-muted))","card-muted":"hsl(var(--border-card-muted))","dialog-muted":"hsl(var(--border-dialog-muted))","popover-muted":"hsl(var(--border-popover-muted))"},ringColor:{"focus-accent":"hsl(var(--ring-focus-accent))","focus-danger":"hsl(var(--ring-focus-danger))","focus-neutral":"hsl(var(--ring-focus-neutral))","focus-success":"hsl(var(--ring-focus-success))","focus-warning":"hsl(var(--ring-focus-warning))"},cursor:{inherit:"inherit",initial:"initial"},data:{"active-item":"active-item","drag-over":'drag-over="true"',disabled:"disabled",highlighted:"highlighted","orientation-horizontal":'orientation="horizontal"',"orientation-vertical":'orientation="vertical"',"side-bottom":'side="bottom"',"side-left":'side="left"',"side-right":'side="right"',"side-top":'side="top"',"state-active":'state~="active"',"state-checked":'state~="checked"',"state-closed":'state~="closed"',"state-idle":'state~="idle"',"state-inactive":'state~="inactive"',"state-indeterminate":'state~="indeterminate"',"state-open":'state~="open"',"state-pending":'state~="pending"',"state-selected":'state~="selected"',"state-submitting":'state~="submitting"',"state-unchecked":'state~="unchecked"'},fontFamily:{sans:["EuclidSquare",..._defaultTheme2.default.fontFamily.sans],mono:["IBMPlexMono",..._defaultTheme2.default.fontFamily.mono]},fontSize:{"size-inherit":"inherit"},fontWeight:{initial:"initial"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},lineHeight:{0:"0",initial:"initial"},screens:{xs:"480px"},spacing:{"1.25":"0.3125rem"},transitionProperty:{"max-height":"max-height"},zIndex:{1:"1",max:"2147483647"}}},plugins:[_tailwindcssanimate2.default,v,p,_plugin2.default.call(void 0, function({addVariant:a}){a("dark-high-contrast",[":is(.dark-high-contrast &)"]),a("high-contrast",[":is(.light-high-contrast &)"])}),_plugin2.default.call(void 0, function({addVariant:a}){a("not-disabled",["&:not(:disabled)"])}),s]};exports.mantlePreset = g;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);var _defaultTheme = require('tailwindcss/defaultTheme'); var _defaultTheme2 = _interopRequireDefault(_defaultTheme);var _plugin = require('tailwindcss/plugin'); var _plugin2 = _interopRequireDefault(_plugin);var s=_plugin2.default.call(void 0, a=>{a.addVariant("aria-enabled",({modifySelectors:e,separator:h})=>{e(({className:l})=>`:not([aria-disabled]).${a.e(`aria-enabled${h}${l}`)}`)})});var v=_plugin2.default.call(void 0, a=>{a.addVariant("firefox",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"supports",params:"(-moz-appearance:none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`firefox${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var p=_plugin2.default.call(void 0, a=>{a.addVariant("pointer-coarse",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: coarse)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-coarse${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-fine",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: fine)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-fine${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-hover",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: hover)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-hover${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var d={inherit:"inherit",current:"currentColor",transparent:"transparent",white:"hsl(var(--white) / <alpha-value>)",black:"hsl(var(--black) / <alpha-value>)",gray:{50:"hsl(var(--gray-50) / <alpha-value>)",100:"hsl(var(--gray-100) / <alpha-value>)",200:"hsl(var(--gray-200) / <alpha-value>)",300:"hsl(var(--gray-300) / <alpha-value>)",400:"hsl(var(--gray-400) / <alpha-value>)",500:"hsl(var(--gray-500) / <alpha-value>)",600:"hsl(var(--gray-600) / <alpha-value>)",700:"hsl(var(--gray-700) / <alpha-value>)",800:"hsl(var(--gray-800) / <alpha-value>)",900:"hsl(var(--gray-900) / <alpha-value>)",950:"hsl(var(--gray-950) / <alpha-value>)"},red:{50:"hsl(var(--red-50) / <alpha-value>)",100:"hsl(var(--red-100) / <alpha-value>)",200:"hsl(var(--red-200) / <alpha-value>)",300:"hsl(var(--red-300) / <alpha-value>)",400:"hsl(var(--red-400) / <alpha-value>)",500:"hsl(var(--red-500) / <alpha-value>)",600:"hsl(var(--red-600) / <alpha-value>)",700:"hsl(var(--red-700) / <alpha-value>)",800:"hsl(var(--red-800) / <alpha-value>)",900:"hsl(var(--red-900) / <alpha-value>)",950:"hsl(var(--red-950) / <alpha-value>)"},orange:{50:"hsl(var(--orange-50) / <alpha-value>)",100:"hsl(var(--orange-100) / <alpha-value>)",200:"hsl(var(--orange-200) / <alpha-value>)",300:"hsl(var(--orange-300) / <alpha-value>)",400:"hsl(var(--orange-400) / <alpha-value>)",500:"hsl(var(--orange-500) / <alpha-value>)",600:"hsl(var(--orange-600) / <alpha-value>)",700:"hsl(var(--orange-700) / <alpha-value>)",800:"hsl(var(--orange-800) / <alpha-value>)",900:"hsl(var(--orange-900) / <alpha-value>)",950:"hsl(var(--orange-950) / <alpha-value>)"},amber:{50:"hsl(var(--amber-50) / <alpha-value>)",100:"hsl(var(--amber-100) / <alpha-value>)",200:"hsl(var(--amber-200) / <alpha-value>)",300:"hsl(var(--amber-300) / <alpha-value>)",400:"hsl(var(--amber-400) / <alpha-value>)",500:"hsl(var(--amber-500) / <alpha-value>)",600:"hsl(var(--amber-600) / <alpha-value>)",700:"hsl(var(--amber-700) / <alpha-value>)",800:"hsl(var(--amber-800) / <alpha-value>)",900:"hsl(var(--amber-900) / <alpha-value>)",950:"hsl(var(--amber-950) / <alpha-value>)"},yellow:{50:"hsl(var(--yellow-50) / <alpha-value>)",100:"hsl(var(--yellow-100) / <alpha-value>)",200:"hsl(var(--yellow-200) / <alpha-value>)",300:"hsl(var(--yellow-300) / <alpha-value>)",400:"hsl(var(--yellow-400) / <alpha-value>)",500:"hsl(var(--yellow-500) / <alpha-value>)",600:"hsl(var(--yellow-600) / <alpha-value>)",700:"hsl(var(--yellow-700) / <alpha-value>)",800:"hsl(var(--yellow-800) / <alpha-value>)",900:"hsl(var(--yellow-900) / <alpha-value>)",950:"hsl(var(--yellow-950) / <alpha-value>)"},lime:{50:"hsl(var(--lime-50) / <alpha-value>)",100:"hsl(var(--lime-100) / <alpha-value>)",200:"hsl(var(--lime-200) / <alpha-value>)",300:"hsl(var(--lime-300) / <alpha-value>)",400:"hsl(var(--lime-400) / <alpha-value>)",500:"hsl(var(--lime-500) / <alpha-value>)",600:"hsl(var(--lime-600) / <alpha-value>)",700:"hsl(var(--lime-700) / <alpha-value>)",800:"hsl(var(--lime-800) / <alpha-value>)",900:"hsl(var(--lime-900) / <alpha-value>)",950:"hsl(var(--lime-950) / <alpha-value>)"},green:{50:"hsl(var(--green-50) / <alpha-value>)",100:"hsl(var(--green-100) / <alpha-value>)",200:"hsl(var(--green-200) / <alpha-value>)",300:"hsl(var(--green-300) / <alpha-value>)",400:"hsl(var(--green-400) / <alpha-value>)",500:"hsl(var(--green-500) / <alpha-value>)",600:"hsl(var(--green-600) / <alpha-value>)",700:"hsl(var(--green-700) / <alpha-value>)",800:"hsl(var(--green-800) / <alpha-value>)",900:"hsl(var(--green-900) / <alpha-value>)",950:"hsl(var(--green-950) / <alpha-value>)"},emerald:{50:"hsl(var(--emerald-50) / <alpha-value>)",100:"hsl(var(--emerald-100) / <alpha-value>)",200:"hsl(var(--emerald-200) / <alpha-value>)",300:"hsl(var(--emerald-300) / <alpha-value>)",400:"hsl(var(--emerald-400) / <alpha-value>)",500:"hsl(var(--emerald-500) / <alpha-value>)",600:"hsl(var(--emerald-600) / <alpha-value>)",700:"hsl(var(--emerald-700) / <alpha-value>)",800:"hsl(var(--emerald-800) / <alpha-value>)",900:"hsl(var(--emerald-900) / <alpha-value>)",950:"hsl(var(--emerald-950) / <alpha-value>)"},teal:{50:"hsl(var(--teal-50) / <alpha-value>)",100:"hsl(var(--teal-100) / <alpha-value>)",200:"hsl(var(--teal-200) / <alpha-value>)",300:"hsl(var(--teal-300) / <alpha-value>)",400:"hsl(var(--teal-400) / <alpha-value>)",500:"hsl(var(--teal-500) / <alpha-value>)",600:"hsl(var(--teal-600) / <alpha-value>)",700:"hsl(var(--teal-700) / <alpha-value>)",800:"hsl(var(--teal-800) / <alpha-value>)",900:"hsl(var(--teal-900) / <alpha-value>)",950:"hsl(var(--teal-950) / <alpha-value>)"},cyan:{50:"hsl(var(--cyan-50) / <alpha-value>)",100:"hsl(var(--cyan-100) / <alpha-value>)",200:"hsl(var(--cyan-200) / <alpha-value>)",300:"hsl(var(--cyan-300) / <alpha-value>)",400:"hsl(var(--cyan-400) / <alpha-value>)",500:"hsl(var(--cyan-500) / <alpha-value>)",600:"hsl(var(--cyan-600) / <alpha-value>)",700:"hsl(var(--cyan-700) / <alpha-value>)",800:"hsl(var(--cyan-800) / <alpha-value>)",900:"hsl(var(--cyan-900) / <alpha-value>)",950:"hsl(var(--cyan-950) / <alpha-value>)"},sky:{50:"hsl(var(--sky-50) / <alpha-value>)",100:"hsl(var(--sky-100) / <alpha-value>)",200:"hsl(var(--sky-200) / <alpha-value>)",300:"hsl(var(--sky-300) / <alpha-value>)",400:"hsl(var(--sky-400) / <alpha-value>)",500:"hsl(var(--sky-500) / <alpha-value>)",600:"hsl(var(--sky-600) / <alpha-value>)",700:"hsl(var(--sky-700) / <alpha-value>)",800:"hsl(var(--sky-800) / <alpha-value>)",900:"hsl(var(--sky-900) / <alpha-value>)",950:"hsl(var(--sky-950) / <alpha-value>)"},blue:{50:"hsl(var(--blue-50) / <alpha-value>)",100:"hsl(var(--blue-100) / <alpha-value>)",200:"hsl(var(--blue-200) / <alpha-value>)",300:"hsl(var(--blue-300) / <alpha-value>)",400:"hsl(var(--blue-400) / <alpha-value>)",500:"hsl(var(--blue-500) / <alpha-value>)",600:"hsl(var(--blue-600) / <alpha-value>)",700:"hsl(var(--blue-700) / <alpha-value>)",800:"hsl(var(--blue-800) / <alpha-value>)",900:"hsl(var(--blue-900) / <alpha-value>)",950:"hsl(var(--blue-950) / <alpha-value>)"},indigo:{50:"hsl(var(--indigo-50) / <alpha-value>)",100:"hsl(var(--indigo-100) / <alpha-value>)",200:"hsl(var(--indigo-200) / <alpha-value>)",300:"hsl(var(--indigo-300) / <alpha-value>)",400:"hsl(var(--indigo-400) / <alpha-value>)",500:"hsl(var(--indigo-500) / <alpha-value>)",600:"hsl(var(--indigo-600) / <alpha-value>)",700:"hsl(var(--indigo-700) / <alpha-value>)",800:"hsl(var(--indigo-800) / <alpha-value>)",900:"hsl(var(--indigo-900) / <alpha-value>)",950:"hsl(var(--indigo-950) / <alpha-value>)"},violet:{50:"hsl(var(--violet-50) / <alpha-value>)",100:"hsl(var(--violet-100) / <alpha-value>)",200:"hsl(var(--violet-200) / <alpha-value>)",300:"hsl(var(--violet-300) / <alpha-value>)",400:"hsl(var(--violet-400) / <alpha-value>)",500:"hsl(var(--violet-500) / <alpha-value>)",600:"hsl(var(--violet-600) / <alpha-value>)",700:"hsl(var(--violet-700) / <alpha-value>)",800:"hsl(var(--violet-800) / <alpha-value>)",900:"hsl(var(--violet-900) / <alpha-value>)",950:"hsl(var(--violet-950) / <alpha-value>)"},purple:{50:"hsl(var(--purple-50) / <alpha-value>)",100:"hsl(var(--purple-100) / <alpha-value>)",200:"hsl(var(--purple-200) / <alpha-value>)",300:"hsl(var(--purple-300) / <alpha-value>)",400:"hsl(var(--purple-400) / <alpha-value>)",500:"hsl(var(--purple-500) / <alpha-value>)",600:"hsl(var(--purple-600) / <alpha-value>)",700:"hsl(var(--purple-700) / <alpha-value>)",800:"hsl(var(--purple-800) / <alpha-value>)",900:"hsl(var(--purple-900) / <alpha-value>)",950:"hsl(var(--purple-950) / <alpha-value>)"},fuchsia:{50:"hsl(var(--fuchsia-50) / <alpha-value>)",100:"hsl(var(--fuchsia-100) / <alpha-value>)",200:"hsl(var(--fuchsia-200) / <alpha-value>)",300:"hsl(var(--fuchsia-300) / <alpha-value>)",400:"hsl(var(--fuchsia-400) / <alpha-value>)",500:"hsl(var(--fuchsia-500) / <alpha-value>)",600:"hsl(var(--fuchsia-600) / <alpha-value>)",700:"hsl(var(--fuchsia-700) / <alpha-value>)",800:"hsl(var(--fuchsia-800) / <alpha-value>)",900:"hsl(var(--fuchsia-900) / <alpha-value>)",950:"hsl(var(--fuchsia-950) / <alpha-value>)"},pink:{50:"hsl(var(--pink-50) / <alpha-value>)",100:"hsl(var(--pink-100) / <alpha-value>)",200:"hsl(var(--pink-200) / <alpha-value>)",300:"hsl(var(--pink-300) / <alpha-value>)",400:"hsl(var(--pink-400) / <alpha-value>)",500:"hsl(var(--pink-500) / <alpha-value>)",600:"hsl(var(--pink-600) / <alpha-value>)",700:"hsl(var(--pink-700) / <alpha-value>)",800:"hsl(var(--pink-800) / <alpha-value>)",900:"hsl(var(--pink-900) / <alpha-value>)",950:"hsl(var(--pink-950) / <alpha-value>)"},rose:{50:"hsl(var(--rose-50) / <alpha-value>)",100:"hsl(var(--rose-100) / <alpha-value>)",200:"hsl(var(--rose-200) / <alpha-value>)",300:"hsl(var(--rose-300) / <alpha-value>)",400:"hsl(var(--rose-400) / <alpha-value>)",500:"hsl(var(--rose-500) / <alpha-value>)",600:"hsl(var(--rose-600) / <alpha-value>)",700:"hsl(var(--rose-700) / <alpha-value>)",800:"hsl(var(--rose-800) / <alpha-value>)",900:"hsl(var(--rose-900) / <alpha-value>)",950:"hsl(var(--rose-950) / <alpha-value>)"},neutral:{50:"hsl(var(--neutral-50) / <alpha-value>)",100:"hsl(var(--neutral-100) / <alpha-value>)",200:"hsl(var(--neutral-200) / <alpha-value>)",300:"hsl(var(--neutral-300) / <alpha-value>)",400:"hsl(var(--neutral-400) / <alpha-value>)",500:"hsl(var(--neutral-500) / <alpha-value>)",600:"hsl(var(--neutral-600) / <alpha-value>)",700:"hsl(var(--neutral-700) / <alpha-value>)",800:"hsl(var(--neutral-800) / <alpha-value>)",900:"hsl(var(--neutral-900) / <alpha-value>)",950:"hsl(var(--neutral-950) / <alpha-value>)"},accent:{50:"hsl(var(--accent-50) / <alpha-value>)",100:"hsl(var(--accent-100) / <alpha-value>)",200:"hsl(var(--accent-200) / <alpha-value>)",300:"hsl(var(--accent-300) / <alpha-value>)",400:"hsl(var(--accent-400) / <alpha-value>)",500:"hsl(var(--accent-500) / <alpha-value>)",600:"hsl(var(--accent-600) / <alpha-value>)",700:"hsl(var(--accent-700) / <alpha-value>)",800:"hsl(var(--accent-800) / <alpha-value>)",900:"hsl(var(--accent-900) / <alpha-value>)",950:"hsl(var(--accent-950) / <alpha-value>)"},danger:{50:"hsl(var(--danger-50) / <alpha-value>)",100:"hsl(var(--danger-100) / <alpha-value>)",200:"hsl(var(--danger-200) / <alpha-value>)",300:"hsl(var(--danger-300) / <alpha-value>)",400:"hsl(var(--danger-400) / <alpha-value>)",500:"hsl(var(--danger-500) / <alpha-value>)",600:"hsl(var(--danger-600) / <alpha-value>)",700:"hsl(var(--danger-700) / <alpha-value>)",800:"hsl(var(--danger-800) / <alpha-value>)",900:"hsl(var(--danger-900) / <alpha-value>)",950:"hsl(var(--danger-950) / <alpha-value>)"},warning:{50:"hsl(var(--warning-50) / <alpha-value>)",100:"hsl(var(--warning-100) / <alpha-value>)",200:"hsl(var(--warning-200) / <alpha-value>)",300:"hsl(var(--warning-300) / <alpha-value>)",400:"hsl(var(--warning-400) / <alpha-value>)",500:"hsl(var(--warning-500) / <alpha-value>)",600:"hsl(var(--warning-600) / <alpha-value>)",700:"hsl(var(--warning-700) / <alpha-value>)",800:"hsl(var(--warning-800) / <alpha-value>)",900:"hsl(var(--warning-900) / <alpha-value>)",950:"hsl(var(--warning-950) / <alpha-value>)"},success:{50:"hsl(var(--success-50) / <alpha-value>)",100:"hsl(var(--success-100) / <alpha-value>)",200:"hsl(var(--success-200) / <alpha-value>)",300:"hsl(var(--success-300) / <alpha-value>)",400:"hsl(var(--success-400) / <alpha-value>)",500:"hsl(var(--success-500) / <alpha-value>)",600:"hsl(var(--success-600) / <alpha-value>)",700:"hsl(var(--success-700) / <alpha-value>)",800:"hsl(var(--success-800) / <alpha-value>)",900:"hsl(var(--success-900) / <alpha-value>)",950:"hsl(var(--success-950) / <alpha-value>)"}},g= exports.mantlePreset ={content:[],darkMode:"class",theme:{colors:d,container:{center:!0,padding:"2rem",screens:{"2xl":"1400px"}},extend:{animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},aria:{collapsed:'expanded="false"',invalid:'invalid="true"',unchecked:'checked="false"'},boxShadow:{sm:"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))",DEFAULT:"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))",md:"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))",lg:"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))",xl:"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))","2xl":"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))",inner:"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))"},backgroundColor:{base:"hsl(var(--bg-base))",card:"hsl(var(--bg-card))",dialog:"hsl(var(--bg-dialog))",form:"hsl(var(--bg-form))",overlay:"hsl(var(--bg-overlay))",popover:"hsl(var(--bg-popover))",tooltip:"hsl(var(--bg-tooltip))","base-hover":"hsl(var(--bg-base-hover))","card-hover":"hsl(var(--bg-card-hover))","filled-accent-active":"hsl(var(--bg-filled-accent-active))","filled-accent-hover":"hsl(var(--bg-filled-accent-hover))","filled-accent":"hsl(var(--bg-filled-accent))","filled-danger-active":"hsl(var(--bg-filled-danger-active))","filled-danger-hover":"hsl(var(--bg-filled-danger-hover))","filled-danger":"hsl(var(--bg-filled-danger))","filled-neutral-active":"hsl(var(--bg-filled-neutral-active))","filled-neutral-hover":"hsl(var(--bg-filled-neutral-hover))","filled-neutral":"hsl(var(--bg-filled-neutral))","filled-success-active":"hsl(var(--bg-filled-success-active))","filled-success-hover":"hsl(var(--bg-filled-success-hover))","filled-success":"hsl(var(--bg-filled-success))","filled-warning-active":"hsl(var(--bg-filled-warning-active))","filled-warning-hover":"hsl(var(--bg-filled-warning-hover))","filled-warning":"hsl(var(--bg-filled-warning))","form-active":"hsl(var(--bg-form-active))","form-hover":"hsl(var(--bg-form-hover))","popover-hover":"hsl(var(--bg-popover-hover))"},textColor:{body:"hsl(var(--text-body))",muted:"hsl(var(--text-muted))",placeholder:"hsl(var(--text-placeholder))",strong:"hsl(var(--text-strong))",tooltip:"hsl(var(--text-tooltip))","on-filled":"hsl(var(--text-on-filled))"},borderColor:{base:"hsl(var(--border-base))",card:"hsl(var(--border-card))",dialog:"hsl(var(--border-dialog))",form:"hsl(var(--border-form))",popover:"hsl(var(--border-popover))","base-muted":"hsl(var(--border-base-muted))","card-muted":"hsl(var(--border-card-muted))","dialog-muted":"hsl(var(--border-dialog-muted))","popover-muted":"hsl(var(--border-popover-muted))"},ringColor:{"focus-accent":"hsl(var(--ring-focus-accent))","focus-danger":"hsl(var(--ring-focus-danger))","focus-neutral":"hsl(var(--ring-focus-neutral))","focus-success":"hsl(var(--ring-focus-success))","focus-warning":"hsl(var(--ring-focus-warning))"},cursor:{inherit:"inherit",initial:"initial"},data:{"active-item":"active-item","drag-over":'drag-over="true"',disabled:"disabled",highlighted:"highlighted","orientation-horizontal":'orientation="horizontal"',"orientation-vertical":'orientation="vertical"',"side-bottom":'side="bottom"',"side-left":'side="left"',"side-right":'side="right"',"side-top":'side="top"',"state-active":'state~="active"',"state-checked":'state~="checked"',"state-closed":'state~="closed"',"state-idle":'state~="idle"',"state-inactive":'state~="inactive"',"state-indeterminate":'state~="indeterminate"',"state-open":'state~="open"',"state-pending":'state~="pending"',"state-selected":'state~="selected"',"state-submitting":'state~="submitting"',"state-unchecked":'state~="unchecked"',"validation-error":'validation="error"',"validation-success":'validation="success"',"validation-warning":'validation="warning"'},fontFamily:{sans:["EuclidSquare",..._defaultTheme2.default.fontFamily.sans],mono:["IBMPlexMono",..._defaultTheme2.default.fontFamily.mono]},fontSize:{"size-inherit":"inherit"},fontWeight:{initial:"initial"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},lineHeight:{0:"0",initial:"initial"},screens:{xs:"480px"},spacing:{"1.25":"0.3125rem"},transitionProperty:{"max-height":"max-height"},zIndex:{1:"1",max:"2147483647"}}},plugins:[_tailwindcssanimate2.default,v,p,_plugin2.default.call(void 0, function({addVariant:a}){a("dark-high-contrast",[":is(.dark-high-contrast &)"]),a("high-contrast",[":is(.light-high-contrast &)"])}),_plugin2.default.call(void 0, function({addVariant:a}){a("not-disabled",["&:not(:disabled)"])}),s]};exports.mantlePreset = g;
|
|
2
2
|
//# sourceMappingURL=tailwind-preset.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../packages/tailwind-preset/src/tailwind.preset.ts","../packages/tailwind-preset/src/tailwind-plugin-aria-enabled.ts","../packages/tailwind-preset/src/tailwind-plugin-firefox-variant.ts","../packages/tailwind-preset/src/tailwind-plugin-pointing-variants.ts"],"names":["tailwindCssAnimatePlugin","defaultTheme","plugin","ariaEnabledVariantPlugin","api","modifySelectors","separator","className","firefoxVariantPlugin","container","isFirefoxRule","rule","pointingVari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{ Config } from \"tailwindcss\";\nimport tailwindCssAnimatePlugin from \"tailwindcss-animate\";\nimport defaultTheme from \"tailwindcss/defaultTheme\";\nimport plugin from \"tailwindcss/plugin\";\nimport { ariaEnabledVariantPlugin } from \"./tailwind-plugin-aria-enabled.js\";\nimport { firefoxVariantPlugin } from \"./tailwind-plugin-firefox-variant.js\";\nimport { pointingVariantsPlugin } from \"./tailwind-plugin-pointing-variants.js\";\n\nconst colors = {\n\tinherit: \"inherit\",\n\tcurrent: \"currentColor\",\n\ttransparent: \"transparent\",\n\twhite: \"hsl(var(--white) / <alpha-value>)\",\n\tblack: \"hsl(var(--black) / <alpha-value>)\",\n\tgray: {\n\t\t50: \"hsl(var(--gray-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--gray-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--gray-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--gray-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--gray-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--gray-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--gray-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--gray-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--gray-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--gray-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--gray-950) / <alpha-value>)\",\n\t},\n\tred: {\n\t\t50: \"hsl(var(--red-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--red-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--red-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--red-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--red-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--red-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--red-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--red-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--red-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--red-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--red-950) / <alpha-value>)\",\n\t},\n\torange: {\n\t\t50: \"hsl(var(--orange-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--orange-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--orange-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--orange-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--orange-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--orange-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--orange-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--orange-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--orange-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--orange-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--orange-950) / <alpha-value>)\",\n\t},\n\tamber: {\n\t\t50: \"hsl(var(--amber-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--amber-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--amber-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--amber-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--amber-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--amber-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--amber-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--amber-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--amber-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--amber-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--amber-950) / <alpha-value>)\",\n\t},\n\tyellow: {\n\t\t50: \"hsl(var(--yellow-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--yellow-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--yellow-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--yellow-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--yellow-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--yellow-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--yellow-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--yellow-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--yellow-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--yellow-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--yellow-950) / <alpha-value>)\",\n\t},\n\tlime: {\n\t\t50: \"hsl(var(--lime-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--lime-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--lime-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--lime-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--lime-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--lime-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--lime-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--lime-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--lime-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--lime-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--lime-950) / <alpha-value>)\",\n\t},\n\tgreen: {\n\t\t50: \"hsl(var(--green-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--green-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--green-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--green-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--green-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--green-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--green-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--green-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--green-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--green-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--green-950) / <alpha-value>)\",\n\t},\n\temerald: {\n\t\t50: \"hsl(var(--emerald-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--emerald-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--emerald-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--emerald-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--emerald-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--emerald-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--emerald-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--emerald-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--emerald-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--emerald-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--emerald-950) / <alpha-value>)\",\n\t},\n\tteal: {\n\t\t50: \"hsl(var(--teal-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--teal-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--teal-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--teal-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--teal-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--teal-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--teal-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--teal-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--teal-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--teal-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--teal-950) / <alpha-value>)\",\n\t},\n\tcyan: {\n\t\t50: \"hsl(var(--cyan-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--cyan-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--cyan-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--cyan-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--cyan-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--cyan-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--cyan-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--cyan-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--cyan-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--cyan-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--cyan-950) / <alpha-value>)\",\n\t},\n\tsky: {\n\t\t50: \"hsl(var(--sky-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--sky-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--sky-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--sky-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--sky-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--sky-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--sky-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--sky-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--sky-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--sky-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--sky-950) / <alpha-value>)\",\n\t},\n\tblue: {\n\t\t50: \"hsl(var(--blue-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--blue-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--blue-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--blue-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--blue-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--blue-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--blue-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--blue-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--blue-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--blue-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--blue-950) / <alpha-value>)\",\n\t},\n\tindigo: {\n\t\t50: \"hsl(var(--indigo-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--indigo-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--indigo-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--indigo-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--indigo-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--indigo-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--indigo-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--indigo-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--indigo-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--indigo-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--indigo-950) / <alpha-value>)\",\n\t},\n\tviolet: {\n\t\t50: \"hsl(var(--violet-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--violet-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--violet-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--violet-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--violet-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--violet-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--violet-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--violet-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--violet-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--violet-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--violet-950) / <alpha-value>)\",\n\t},\n\tpurple: {\n\t\t50: \"hsl(var(--purple-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--purple-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--purple-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--purple-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--purple-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--purple-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--purple-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--purple-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--purple-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--purple-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--purple-950) / <alpha-value>)\",\n\t},\n\tfuchsia: {\n\t\t50: \"hsl(var(--fuchsia-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--fuchsia-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--fuchsia-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--fuchsia-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--fuchsia-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--fuchsia-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--fuchsia-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--fuchsia-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--fuchsia-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--fuchsia-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--fuchsia-950) / <alpha-value>)\",\n\t},\n\tpink: {\n\t\t50: \"hsl(var(--pink-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--pink-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--pink-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--pink-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--pink-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--pink-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--pink-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--pink-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--pink-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--pink-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--pink-950) / <alpha-value>)\",\n\t},\n\trose: {\n\t\t50: \"hsl(var(--rose-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--rose-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--rose-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--rose-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--rose-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--rose-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--rose-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--rose-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--rose-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--rose-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--rose-950) / <alpha-value>)\",\n\t},\n\tneutral: {\n\t\t50: \"hsl(var(--neutral-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--neutral-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--neutral-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--neutral-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--neutral-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--neutral-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--neutral-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--neutral-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--neutral-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--neutral-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--neutral-950) / <alpha-value>)\",\n\t},\n\taccent: {\n\t\t50: \"hsl(var(--accent-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--accent-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--accent-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--accent-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--accent-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--accent-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--accent-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--accent-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--accent-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--accent-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--accent-950) / <alpha-value>)\",\n\t},\n\tdanger: {\n\t\t50: \"hsl(var(--danger-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--danger-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--danger-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--danger-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--danger-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--danger-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--danger-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--danger-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--danger-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--danger-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--danger-950) / <alpha-value>)\",\n\t},\n\twarning: {\n\t\t50: \"hsl(var(--warning-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--warning-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--warning-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--warning-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--warning-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--warning-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--warning-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--warning-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--warning-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--warning-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--warning-950) / <alpha-value>)\",\n\t},\n\tsuccess: {\n\t\t50: \"hsl(var(--success-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--success-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--success-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--success-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--success-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--success-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--success-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--success-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--success-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--success-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--success-950) / <alpha-value>)\",\n\t},\n};\n\nconst mantlePreset = {\n\tcontent: [],\n\tdarkMode: \"class\",\n\ttheme: {\n\t\tcolors,\n\t\tcontainer: {\n\t\t\tcenter: true,\n\t\t\tpadding: \"2rem\",\n\t\t\tscreens: {\n\t\t\t\t\"2xl\": \"1400px\",\n\t\t\t},\n\t\t},\n\t\textend: {\n\t\t\tanimation: {\n\t\t\t\t\"accordion-down\": \"accordion-down 0.2s ease-out\",\n\t\t\t\t\"accordion-up\": \"accordion-up 0.2s ease-out\",\n\t\t\t},\n\t\t\taria: {\n\t\t\t\tcollapsed: 'expanded=\"false\"',\n\t\t\t\tinvalid: 'invalid=\"true\"',\n\t\t\t\tunchecked: 'checked=\"false\"',\n\t\t\t},\n\t\t\tboxShadow: {\n\t\t\t\tsm: \"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t\tDEFAULT:\n\t\t\t\t\t\"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tmd: \"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tlg: \"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\txl: \"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\t\"2xl\":\n\t\t\t\t\t\"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tinner: \"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\tbase: \"hsl(var(--bg-base))\",\n\t\t\t\tcard: \"hsl(var(--bg-card))\",\n\t\t\t\tdialog: \"hsl(var(--bg-dialog))\",\n\t\t\t\tform: \"hsl(var(--bg-form))\",\n\t\t\t\toverlay: \"hsl(var(--bg-overlay))\",\n\t\t\t\tpopover: \"hsl(var(--bg-popover))\",\n\t\t\t\ttooltip: \"hsl(var(--bg-tooltip))\",\n\t\t\t\t\"base-hover\": \"hsl(var(--bg-base-hover))\",\n\t\t\t\t\"card-hover\": \"hsl(var(--bg-card-hover))\",\n\t\t\t\t\"filled-accent-active\": \"hsl(var(--bg-filled-accent-active))\",\n\t\t\t\t\"filled-accent-hover\": \"hsl(var(--bg-filled-accent-hover))\",\n\t\t\t\t\"filled-accent\": \"hsl(var(--bg-filled-accent))\",\n\t\t\t\t\"filled-danger-active\": \"hsl(var(--bg-filled-danger-active))\",\n\t\t\t\t\"filled-danger-hover\": \"hsl(var(--bg-filled-danger-hover))\",\n\t\t\t\t\"filled-danger\": \"hsl(var(--bg-filled-danger))\",\n\t\t\t\t\"filled-neutral-active\": \"hsl(var(--bg-filled-neutral-active))\",\n\t\t\t\t\"filled-neutral-hover\": \"hsl(var(--bg-filled-neutral-hover))\",\n\t\t\t\t\"filled-neutral\": \"hsl(var(--bg-filled-neutral))\",\n\t\t\t\t\"filled-success-active\": \"hsl(var(--bg-filled-success-active))\",\n\t\t\t\t\"filled-success-hover\": \"hsl(var(--bg-filled-success-hover))\",\n\t\t\t\t\"filled-success\": \"hsl(var(--bg-filled-success))\",\n\t\t\t\t\"filled-warning-active\": \"hsl(var(--bg-filled-warning-active))\",\n\t\t\t\t\"filled-warning-hover\": \"hsl(var(--bg-filled-warning-hover))\",\n\t\t\t\t\"filled-warning\": \"hsl(var(--bg-filled-warning))\",\n\t\t\t\t\"form-active\": \"hsl(var(--bg-form-active))\",\n\t\t\t\t\"form-hover\": \"hsl(var(--bg-form-hover))\",\n\t\t\t\t\"popover-hover\": \"hsl(var(--bg-popover-hover))\",\n\t\t\t},\n\t\t\ttextColor: {\n\t\t\t\tbody: \"hsl(var(--text-body))\",\n\t\t\t\tmuted: \"hsl(var(--text-muted))\",\n\t\t\t\tplaceholder: \"hsl(var(--text-placeholder))\",\n\t\t\t\tstrong: \"hsl(var(--text-strong))\",\n\t\t\t\ttooltip: \"hsl(var(--text-tooltip))\",\n\t\t\t\t\"on-filled\": \"hsl(var(--text-on-filled))\",\n\t\t\t},\n\t\t\tborderColor: {\n\t\t\t\tbase: \"hsl(var(--border-base))\",\n\t\t\t\tcard: \"hsl(var(--border-card))\",\n\t\t\t\tdialog: \"hsl(var(--border-dialog))\",\n\t\t\t\tform: \"hsl(var(--border-form))\",\n\t\t\t\tpopover: \"hsl(var(--border-popover))\",\n\t\t\t\t\"base-muted\": \"hsl(var(--border-base-muted))\",\n\t\t\t\t\"card-muted\": \"hsl(var(--border-card-muted))\",\n\t\t\t\t\"dialog-muted\": \"hsl(var(--border-dialog-muted))\",\n\t\t\t\t\"popover-muted\": \"hsl(var(--border-popover-muted))\",\n\t\t\t},\n\t\t\tringColor: {\n\t\t\t\t\"focus-accent\": \"hsl(var(--ring-focus-accent))\",\n\t\t\t\t\"focus-danger\": \"hsl(var(--ring-focus-danger))\",\n\t\t\t\t\"focus-neutral\": \"hsl(var(--ring-focus-neutral))\",\n\t\t\t\t\"focus-success\": \"hsl(var(--ring-focus-success))\",\n\t\t\t\t\"focus-warning\": \"hsl(var(--ring-focus-warning))\",\n\t\t\t},\n\t\t\tcursor: {\n\t\t\t\tinherit: \"inherit\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tdata: {\n\t\t\t\t\"active-item\": \"active-item\",\n\t\t\t\t\"drag-over\": 'drag-over=\"true\"',\n\t\t\t\tdisabled: \"disabled\",\n\t\t\t\thighlighted: \"highlighted\",\n\t\t\t\t\"orientation-horizontal\": 'orientation=\"horizontal\"',\n\t\t\t\t\"orientation-vertical\": 'orientation=\"vertical\"',\n\t\t\t\t\"side-bottom\": 'side=\"bottom\"',\n\t\t\t\t\"side-left\": 'side=\"left\"',\n\t\t\t\t\"side-right\": 'side=\"right\"',\n\t\t\t\t\"side-top\": 'side=\"top\"',\n\t\t\t\t\"state-active\": 'state~=\"active\"',\n\t\t\t\t\"state-checked\": 'state~=\"checked\"',\n\t\t\t\t\"state-closed\": 'state~=\"closed\"',\n\t\t\t\t\"state-idle\": 'state~=\"idle\"',\n\t\t\t\t\"state-inactive\": 'state~=\"inactive\"',\n\t\t\t\t\"state-indeterminate\": 'state~=\"indeterminate\"',\n\t\t\t\t\"state-open\": 'state~=\"open\"',\n\t\t\t\t\"state-pending\": 'state~=\"pending\"',\n\t\t\t\t\"state-selected\": 'state~=\"selected\"',\n\t\t\t\t\"state-submitting\": 'state~=\"submitting\"',\n\t\t\t\t\"state-unchecked\": 'state~=\"unchecked\"',\n\t\t\t},\n\t\t\tfontFamily: {\n\t\t\t\tsans: [\"EuclidSquare\", ...defaultTheme.fontFamily.sans],\n\t\t\t\tmono: [\"IBMPlexMono\", ...defaultTheme.fontFamily.mono],\n\t\t\t},\n\t\t\tfontSize: {\n\t\t\t\t\"size-inherit\": \"inherit\",\n\t\t\t},\n\t\t\tfontWeight: {\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tkeyframes: {\n\t\t\t\t\"accordion-down\": {\n\t\t\t\t\tfrom: { height: \"0\" },\n\t\t\t\t\tto: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t},\n\t\t\t\t\"accordion-up\": {\n\t\t\t\t\tfrom: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t\tto: { height: \"0\" },\n\t\t\t\t},\n\t\t\t},\n\t\t\tlineHeight: {\n\t\t\t\t0: \"0\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tscreens: {\n\t\t\t\txs: \"480px\",\n\t\t\t},\n\t\t\tspacing: {\n\t\t\t\t\"1.25\": \"0.3125rem\",\n\t\t\t},\n\t\t\ttransitionProperty: {\n\t\t\t\t\"max-height\": \"max-height\",\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\t1: \"1\",\n\t\t\t\tmax: \"2147483647\",\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ttailwindCssAnimatePlugin,\n\t\tfirefoxVariantPlugin,\n\t\tpointingVariantsPlugin,\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"dark-high-contrast\", [\":is(.dark-high-contrast &)\"]);\n\t\t\taddVariant(\"high-contrast\", [\":is(.light-high-contrast &)\"]);\n\t\t}),\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"not-disabled\", [\"&:not(:disabled)\"]);\n\t\t}),\n\t\tariaEnabledVariantPlugin,\n\t],\n} satisfies Config;\n\nexport type MantlePreset = typeof mantlePreset;\n\nexport { mantlePreset };\n","import plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variant: aria-enabled\n */\nconst ariaEnabledVariantPlugin = plugin((api: PluginAPI) => {\n\tapi.addVariant(\n\t\t\"aria-enabled\",\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\t({ modifySelectors, separator }: { modifySelectors: unknown; separator: string }) => {\n\t\t\t// @ts-expect-error modifySelectors is not typed correctly\n\t\t\tmodifySelectors(({ className }: { className: string }) => {\n\t\t\t\treturn `:not([aria-disabled]).${api.e(`aria-enabled${separator}${className}`)}`;\n\t\t\t});\n\t\t},\n\t);\n});\n\nexport { ariaEnabledVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds a `firefox` variant to TailwindCSS.\n *\n * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7\n */\nconst firefoxVariantPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"firefox\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst isFirefoxRule = api.postcss.atRule({\n\t\t\t\tname: \"supports\",\n\t\t\t\tparams: \"(-moz-appearance:none)\",\n\t\t\t});\n\t\t\tisFirefoxRule.append(container.nodes);\n\t\t\tcontainer.append(isFirefoxRule);\n\t\t\tisFirefoxRule.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`firefox${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { firefoxVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variants to TailwindCSS:\n * - `pointer-coarse`\n * - `pointer-fine`\n * - `pointer-none`\n * - `hover-hover`\n * - `hover-none`\n *\n * @see https://css-tricks.com/touch-devices-not-judged-size/\n */\nconst pointingVariantsPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-coarse\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerCoarse = api.postcss.atRule({ name: \"media\", params: \"(pointer: coarse)\" });\n\t\t\tpointerCoarse.append(container.nodes);\n\t\t\tcontainer.append(pointerCoarse);\n\t\t\tpointerCoarse.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-coarse${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-fine\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerFine = api.postcss.atRule({ name: \"media\", params: \"(pointer: fine)\" });\n\t\t\tpointerFine.append(container.nodes);\n\t\t\tcontainer.append(pointerFine);\n\t\t\tpointerFine.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-fine${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerNone = api.postcss.atRule({ name: \"media\", params: \"(pointer: none)\" });\n\t\t\tpointerNone.append(container.nodes);\n\t\t\tcontainer.append(pointerNone);\n\t\t\tpointerNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-hover\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverHover = api.postcss.atRule({ name: \"media\", params: \"(hover: hover)\" });\n\t\t\thoverHover.append(container.nodes);\n\t\t\tcontainer.append(hoverHover);\n\t\t\thoverHover.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-hover${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverNone = api.postcss.atRule({ name: \"media\", params: \"(hover: none)\" });\n\t\t\thoverNone.append(container.nodes);\n\t\t\tcontainer.append(hoverNone);\n\t\t\thoverNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { pointingVariantsPlugin };\n"]}
|
|
1
|
+
{"version":3,"sources":["../packages/tailwind-preset/src/tailwind.preset.ts","../packages/tailwind-preset/src/tailwind-plugin-aria-enabled.ts","../packages/tailwind-preset/src/tailwind-plugin-firefox-variant.ts","../packages/tailwind-preset/src/tailwind-plugin-pointing-variants.ts"],"names":["tailwindCssAnimatePlugin","defaultTheme","plugin","ariaEnabledVariantPlugin","api","modifySelectors","separator","className","firefoxVariantPlugin","container","isFirefoxRule","rule","pointingVariantsPlugin","pointerCoarse","pointerFine","pointerNone","hoverHover","hoverNone","colors","mantlePreset","addVariant"],"mappings":"AACA,OAAOA,MAA8B,sBACrC,OAAOC,MAAkB,2BACzB,OAAOC,MAAY,qBCHnB,OAAOA,MAAY,qBAMnB,IAAMC,EAA2BD,EAAQE,GAAmB,CAC3DA,EAAI,WACH,eAEA,CAAC,CAAE,gBAAAC,EAAiB,UAAAC,CAAU,IAAuD,CAEpFD,EAAgB,CAAC,CAAE,UAAAE,CAAU,IACrB,yBAAyBH,EAAI,EAAE,eAAeE,CAAS,GAAGC,CAAS,EAAE,CAAC,EAC7E,CACF,CACD,CACD,CAAC,EChBD,OAAOL,MAAY,qBAQnB,IAAMM,EAAuBN,EAE3BE,GAA0C,CAE1CA,EAAI,WAAW,UAAW,CAAC,CAAE,UAAAK,EAAW,UAAAH,CAAU,IAA8C,CAC/F,IAAMI,EAAgBN,EAAI,QAAQ,OAAO,CACxC,KAAM,WACN,OAAQ,wBACT,CAAC,EACDM,EAAc,OAAOD,EAAU,KAAK,EACpCA,EAAU,OAAOC,CAAa,EAC9BA,EAAc,UAAWC,GAAS,CACjCA,EAAK,SAAW,IAAIP,EAAI,EAAE,UAAUE,CAAS,GAAGK,EAAK,SAAS,MAAM,CAAC,EAAE,QAAQ,MAAO,EAAE,CAAC,EAAE,CAAC,EAC7F,CAAC,CACF,CAAC,CACF,CACD,ECxBA,OAAOT,MAAY,qBAanB,IAAMU,EAAyBV,EAE7BE,GAA0C,CAE1CA,EAAI,WAAW,iBAAkB,CAAC,CAAE,UAAAK,EAAW,UAAAH,CAAU,IAA8C,CACtG,IAAMO,EAAgBT,EAAI,QAAQ,OAAO,CAAE,KAAM,QAAS,OAAQ,mBAAoB,CAAC,EACvFS,EAAc,O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B,CAAC,EAC/DA,EAAW,gBAAiB,CAAC,6BAA6B,CAAC,CAC5D,CAAC,EACDlB,EAAO,SAAU,CAAE,WAAAkB,CAAW,EAAG,CAChCA,EAAW,eAAgB,CAAC,kBAAkB,CAAC,CAChD,CAAC,EACDjB,CACD,CACD","sourcesContent":["import type { Config } from \"tailwindcss\";\nimport tailwindCssAnimatePlugin from \"tailwindcss-animate\";\nimport defaultTheme from \"tailwindcss/defaultTheme\";\nimport plugin from \"tailwindcss/plugin\";\nimport { ariaEnabledVariantPlugin } from \"./tailwind-plugin-aria-enabled.js\";\nimport { firefoxVariantPlugin } from \"./tailwind-plugin-firefox-variant.js\";\nimport { pointingVariantsPlugin } from \"./tailwind-plugin-pointing-variants.js\";\n\nconst colors = {\n\tinherit: \"inherit\",\n\tcurrent: \"currentColor\",\n\ttransparent: \"transparent\",\n\twhite: \"hsl(var(--white) / <alpha-value>)\",\n\tblack: \"hsl(var(--black) / <alpha-value>)\",\n\tgray: {\n\t\t50: \"hsl(var(--gray-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--gray-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--gray-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--gray-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--gray-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--gray-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--gray-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--gray-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--gray-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--gray-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--gray-950) / <alpha-value>)\",\n\t},\n\tred: {\n\t\t50: \"hsl(var(--red-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--red-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--red-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--red-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--red-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--red-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--red-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--red-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--red-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--red-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--red-950) / <alpha-value>)\",\n\t},\n\torange: {\n\t\t50: \"hsl(var(--orange-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--orange-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--orange-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--orange-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--orange-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--orange-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--orange-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--orange-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--orange-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--orange-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--orange-950) / <alpha-value>)\",\n\t},\n\tamber: {\n\t\t50: \"hsl(var(--amber-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--amber-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--amber-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--amber-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--amber-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--amber-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--amber-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--amber-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--amber-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--amber-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--amber-950) / <alpha-value>)\",\n\t},\n\tyellow: {\n\t\t50: \"hsl(var(--yellow-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--yellow-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--yellow-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--yellow-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--yellow-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--yellow-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--yellow-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--yellow-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--yellow-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--yellow-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--yellow-950) / <alpha-value>)\",\n\t},\n\tlime: {\n\t\t50: \"hsl(var(--lime-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--lime-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--lime-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--lime-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--lime-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--lime-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--lime-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--lime-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--lime-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--lime-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--lime-950) / <alpha-value>)\",\n\t},\n\tgreen: {\n\t\t50: \"hsl(var(--green-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--green-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--green-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--green-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--green-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--green-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--green-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--green-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--green-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--green-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--green-950) / <alpha-value>)\",\n\t},\n\temerald: {\n\t\t50: \"hsl(var(--emerald-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--emerald-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--emerald-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--emerald-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--emerald-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--emerald-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--emerald-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--emerald-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--emerald-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--emerald-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--emerald-950) / <alpha-value>)\",\n\t},\n\tteal: {\n\t\t50: \"hsl(var(--teal-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--teal-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--teal-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--teal-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--teal-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--teal-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--teal-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--teal-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--teal-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--teal-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--teal-950) / <alpha-value>)\",\n\t},\n\tcyan: {\n\t\t50: \"hsl(var(--cyan-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--cyan-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--cyan-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--cyan-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--cyan-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--cyan-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--cyan-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--cyan-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--cyan-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--cyan-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--cyan-950) / <alpha-value>)\",\n\t},\n\tsky: {\n\t\t50: \"hsl(var(--sky-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--sky-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--sky-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--sky-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--sky-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--sky-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--sky-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--sky-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--sky-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--sky-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--sky-950) / <alpha-value>)\",\n\t},\n\tblue: {\n\t\t50: \"hsl(var(--blue-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--blue-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--blue-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--blue-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--blue-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--blue-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--blue-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--blue-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--blue-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--blue-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--blue-950) / <alpha-value>)\",\n\t},\n\tindigo: {\n\t\t50: \"hsl(var(--indigo-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--indigo-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--indigo-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--indigo-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--indigo-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--indigo-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--indigo-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--indigo-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--indigo-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--indigo-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--indigo-950) / <alpha-value>)\",\n\t},\n\tviolet: {\n\t\t50: \"hsl(var(--violet-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--violet-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--violet-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--violet-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--violet-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--violet-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--violet-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--violet-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--violet-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--violet-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--violet-950) / <alpha-value>)\",\n\t},\n\tpurple: {\n\t\t50: \"hsl(var(--purple-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--purple-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--purple-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--purple-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--purple-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--purple-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--purple-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--purple-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--purple-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--purple-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--purple-950) / <alpha-value>)\",\n\t},\n\tfuchsia: {\n\t\t50: \"hsl(var(--fuchsia-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--fuchsia-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--fuchsia-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--fuchsia-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--fuchsia-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--fuchsia-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--fuchsia-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--fuchsia-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--fuchsia-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--fuchsia-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--fuchsia-950) / <alpha-value>)\",\n\t},\n\tpink: {\n\t\t50: \"hsl(var(--pink-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--pink-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--pink-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--pink-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--pink-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--pink-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--pink-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--pink-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--pink-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--pink-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--pink-950) / <alpha-value>)\",\n\t},\n\trose: {\n\t\t50: \"hsl(var(--rose-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--rose-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--rose-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--rose-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--rose-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--rose-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--rose-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--rose-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--rose-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--rose-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--rose-950) / <alpha-value>)\",\n\t},\n\tneutral: {\n\t\t50: \"hsl(var(--neutral-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--neutral-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--neutral-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--neutral-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--neutral-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--neutral-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--neutral-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--neutral-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--neutral-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--neutral-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--neutral-950) / <alpha-value>)\",\n\t},\n\taccent: {\n\t\t50: \"hsl(var(--accent-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--accent-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--accent-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--accent-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--accent-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--accent-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--accent-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--accent-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--accent-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--accent-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--accent-950) / <alpha-value>)\",\n\t},\n\tdanger: {\n\t\t50: \"hsl(var(--danger-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--danger-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--danger-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--danger-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--danger-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--danger-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--danger-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--danger-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--danger-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--danger-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--danger-950) / <alpha-value>)\",\n\t},\n\twarning: {\n\t\t50: \"hsl(var(--warning-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--warning-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--warning-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--warning-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--warning-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--warning-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--warning-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--warning-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--warning-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--warning-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--warning-950) / <alpha-value>)\",\n\t},\n\tsuccess: {\n\t\t50: \"hsl(var(--success-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--success-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--success-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--success-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--success-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--success-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--success-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--success-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--success-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--success-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--success-950) / <alpha-value>)\",\n\t},\n};\n\nconst mantlePreset = {\n\tcontent: [],\n\tdarkMode: \"class\",\n\ttheme: {\n\t\tcolors,\n\t\tcontainer: {\n\t\t\tcenter: true,\n\t\t\tpadding: \"2rem\",\n\t\t\tscreens: {\n\t\t\t\t\"2xl\": \"1400px\",\n\t\t\t},\n\t\t},\n\t\textend: {\n\t\t\tanimation: {\n\t\t\t\t\"accordion-down\": \"accordion-down 0.2s ease-out\",\n\t\t\t\t\"accordion-up\": \"accordion-up 0.2s ease-out\",\n\t\t\t},\n\t\t\taria: {\n\t\t\t\tcollapsed: 'expanded=\"false\"',\n\t\t\t\tinvalid: 'invalid=\"true\"',\n\t\t\t\tunchecked: 'checked=\"false\"',\n\t\t\t},\n\t\t\tboxShadow: {\n\t\t\t\tsm: \"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t\tDEFAULT:\n\t\t\t\t\t\"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tmd: \"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tlg: \"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\txl: \"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\t\"2xl\":\n\t\t\t\t\t\"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tinner: \"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\tbase: \"hsl(var(--bg-base))\",\n\t\t\t\tcard: \"hsl(var(--bg-card))\",\n\t\t\t\tdialog: \"hsl(var(--bg-dialog))\",\n\t\t\t\tform: \"hsl(var(--bg-form))\",\n\t\t\t\toverlay: \"hsl(var(--bg-overlay))\",\n\t\t\t\tpopover: \"hsl(var(--bg-popover))\",\n\t\t\t\ttooltip: \"hsl(var(--bg-tooltip))\",\n\t\t\t\t\"base-hover\": \"hsl(var(--bg-base-hover))\",\n\t\t\t\t\"card-hover\": \"hsl(var(--bg-card-hover))\",\n\t\t\t\t\"filled-accent-active\": \"hsl(var(--bg-filled-accent-active))\",\n\t\t\t\t\"filled-accent-hover\": \"hsl(var(--bg-filled-accent-hover))\",\n\t\t\t\t\"filled-accent\": \"hsl(var(--bg-filled-accent))\",\n\t\t\t\t\"filled-danger-active\": \"hsl(var(--bg-filled-danger-active))\",\n\t\t\t\t\"filled-danger-hover\": \"hsl(var(--bg-filled-danger-hover))\",\n\t\t\t\t\"filled-danger\": \"hsl(var(--bg-filled-danger))\",\n\t\t\t\t\"filled-neutral-active\": \"hsl(var(--bg-filled-neutral-active))\",\n\t\t\t\t\"filled-neutral-hover\": \"hsl(var(--bg-filled-neutral-hover))\",\n\t\t\t\t\"filled-neutral\": \"hsl(var(--bg-filled-neutral))\",\n\t\t\t\t\"filled-success-active\": \"hsl(var(--bg-filled-success-active))\",\n\t\t\t\t\"filled-success-hover\": \"hsl(var(--bg-filled-success-hover))\",\n\t\t\t\t\"filled-success\": \"hsl(var(--bg-filled-success))\",\n\t\t\t\t\"filled-warning-active\": \"hsl(var(--bg-filled-warning-active))\",\n\t\t\t\t\"filled-warning-hover\": \"hsl(var(--bg-filled-warning-hover))\",\n\t\t\t\t\"filled-warning\": \"hsl(var(--bg-filled-warning))\",\n\t\t\t\t\"form-active\": \"hsl(var(--bg-form-active))\",\n\t\t\t\t\"form-hover\": \"hsl(var(--bg-form-hover))\",\n\t\t\t\t\"popover-hover\": \"hsl(var(--bg-popover-hover))\",\n\t\t\t},\n\t\t\ttextColor: {\n\t\t\t\tbody: \"hsl(var(--text-body))\",\n\t\t\t\tmuted: \"hsl(var(--text-muted))\",\n\t\t\t\tplaceholder: \"hsl(var(--text-placeholder))\",\n\t\t\t\tstrong: \"hsl(var(--text-strong))\",\n\t\t\t\ttooltip: \"hsl(var(--text-tooltip))\",\n\t\t\t\t\"on-filled\": \"hsl(var(--text-on-filled))\",\n\t\t\t},\n\t\t\tborderColor: {\n\t\t\t\tbase: \"hsl(var(--border-base))\",\n\t\t\t\tcard: \"hsl(var(--border-card))\",\n\t\t\t\tdialog: \"hsl(var(--border-dialog))\",\n\t\t\t\tform: \"hsl(var(--border-form))\",\n\t\t\t\tpopover: \"hsl(var(--border-popover))\",\n\t\t\t\t\"base-muted\": \"hsl(var(--border-base-muted))\",\n\t\t\t\t\"card-muted\": \"hsl(var(--border-card-muted))\",\n\t\t\t\t\"dialog-muted\": \"hsl(var(--border-dialog-muted))\",\n\t\t\t\t\"popover-muted\": \"hsl(var(--border-popover-muted))\",\n\t\t\t},\n\t\t\tringColor: {\n\t\t\t\t\"focus-accent\": \"hsl(var(--ring-focus-accent))\",\n\t\t\t\t\"focus-danger\": \"hsl(var(--ring-focus-danger))\",\n\t\t\t\t\"focus-neutral\": \"hsl(var(--ring-focus-neutral))\",\n\t\t\t\t\"focus-success\": \"hsl(var(--ring-focus-success))\",\n\t\t\t\t\"focus-warning\": \"hsl(var(--ring-focus-warning))\",\n\t\t\t},\n\t\t\tcursor: {\n\t\t\t\tinherit: \"inherit\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tdata: {\n\t\t\t\t\"active-item\": \"active-item\",\n\t\t\t\t\"drag-over\": 'drag-over=\"true\"',\n\t\t\t\tdisabled: \"disabled\",\n\t\t\t\thighlighted: \"highlighted\",\n\t\t\t\t\"orientation-horizontal\": 'orientation=\"horizontal\"',\n\t\t\t\t\"orientation-vertical\": 'orientation=\"vertical\"',\n\t\t\t\t\"side-bottom\": 'side=\"bottom\"',\n\t\t\t\t\"side-left\": 'side=\"left\"',\n\t\t\t\t\"side-right\": 'side=\"right\"',\n\t\t\t\t\"side-top\": 'side=\"top\"',\n\t\t\t\t\"state-active\": 'state~=\"active\"',\n\t\t\t\t\"state-checked\": 'state~=\"checked\"',\n\t\t\t\t\"state-closed\": 'state~=\"closed\"',\n\t\t\t\t\"state-idle\": 'state~=\"idle\"',\n\t\t\t\t\"state-inactive\": 'state~=\"inactive\"',\n\t\t\t\t\"state-indeterminate\": 'state~=\"indeterminate\"',\n\t\t\t\t\"state-open\": 'state~=\"open\"',\n\t\t\t\t\"state-pending\": 'state~=\"pending\"',\n\t\t\t\t\"state-selected\": 'state~=\"selected\"',\n\t\t\t\t\"state-submitting\": 'state~=\"submitting\"',\n\t\t\t\t\"state-unchecked\": 'state~=\"unchecked\"',\n\t\t\t\t\"validation-error\": 'validation=\"error\"',\n\t\t\t\t\"validation-success\": 'validation=\"success\"',\n\t\t\t\t\"validation-warning\": 'validation=\"warning\"',\n\t\t\t},\n\t\t\tfontFamily: {\n\t\t\t\tsans: [\"EuclidSquare\", ...defaultTheme.fontFamily.sans],\n\t\t\t\tmono: [\"IBMPlexMono\", ...defaultTheme.fontFamily.mono],\n\t\t\t},\n\t\t\tfontSize: {\n\t\t\t\t\"size-inherit\": \"inherit\",\n\t\t\t},\n\t\t\tfontWeight: {\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tkeyframes: {\n\t\t\t\t\"accordion-down\": {\n\t\t\t\t\tfrom: { height: \"0\" },\n\t\t\t\t\tto: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t},\n\t\t\t\t\"accordion-up\": {\n\t\t\t\t\tfrom: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t\tto: { height: \"0\" },\n\t\t\t\t},\n\t\t\t},\n\t\t\tlineHeight: {\n\t\t\t\t0: \"0\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tscreens: {\n\t\t\t\txs: \"480px\",\n\t\t\t},\n\t\t\tspacing: {\n\t\t\t\t\"1.25\": \"0.3125rem\",\n\t\t\t},\n\t\t\ttransitionProperty: {\n\t\t\t\t\"max-height\": \"max-height\",\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\t1: \"1\",\n\t\t\t\tmax: \"2147483647\",\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ttailwindCssAnimatePlugin,\n\t\tfirefoxVariantPlugin,\n\t\tpointingVariantsPlugin,\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"dark-high-contrast\", [\":is(.dark-high-contrast &)\"]);\n\t\t\taddVariant(\"high-contrast\", [\":is(.light-high-contrast &)\"]);\n\t\t}),\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"not-disabled\", [\"&:not(:disabled)\"]);\n\t\t}),\n\t\tariaEnabledVariantPlugin,\n\t],\n} satisfies Config;\n\nexport type MantlePreset = typeof mantlePreset;\n\nexport { mantlePreset };\n","import plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variant: aria-enabled\n */\nconst ariaEnabledVariantPlugin = plugin((api: PluginAPI) => {\n\tapi.addVariant(\n\t\t\"aria-enabled\",\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\t({ modifySelectors, separator }: { modifySelectors: unknown; separator: string }) => {\n\t\t\t// @ts-expect-error modifySelectors is not typed correctly\n\t\t\tmodifySelectors(({ className }: { className: string }) => {\n\t\t\t\treturn `:not([aria-disabled]).${api.e(`aria-enabled${separator}${className}`)}`;\n\t\t\t});\n\t\t},\n\t);\n});\n\nexport { ariaEnabledVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds a `firefox` variant to TailwindCSS.\n *\n * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7\n */\nconst firefoxVariantPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"firefox\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst isFirefoxRule = api.postcss.atRule({\n\t\t\t\tname: \"supports\",\n\t\t\t\tparams: \"(-moz-appearance:none)\",\n\t\t\t});\n\t\t\tisFirefoxRule.append(container.nodes);\n\t\t\tcontainer.append(isFirefoxRule);\n\t\t\tisFirefoxRule.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`firefox${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { firefoxVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variants to TailwindCSS:\n * - `pointer-coarse`\n * - `pointer-fine`\n * - `pointer-none`\n * - `hover-hover`\n * - `hover-none`\n *\n * @see https://css-tricks.com/touch-devices-not-judged-size/\n */\nconst pointingVariantsPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-coarse\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerCoarse = api.postcss.atRule({ name: \"media\", params: \"(pointer: coarse)\" });\n\t\t\tpointerCoarse.append(container.nodes);\n\t\t\tcontainer.append(pointerCoarse);\n\t\t\tpointerCoarse.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-coarse${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-fine\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerFine = api.postcss.atRule({ name: \"media\", params: \"(pointer: fine)\" });\n\t\t\tpointerFine.append(container.nodes);\n\t\t\tcontainer.append(pointerFine);\n\t\t\tpointerFine.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-fine${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerNone = api.postcss.atRule({ name: \"media\", params: \"(pointer: none)\" });\n\t\t\tpointerNone.append(container.nodes);\n\t\t\tcontainer.append(pointerNone);\n\t\t\tpointerNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-hover\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverHover = api.postcss.atRule({ name: \"media\", params: \"(hover: hover)\" });\n\t\t\thoverHover.append(container.nodes);\n\t\t\tcontainer.append(hoverHover);\n\t\t\thoverHover.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-hover${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverNone = api.postcss.atRule({ name: \"media\", params: \"(hover: none)\" });\n\t\t\thoverNone.append(container.nodes);\n\t\t\tcontainer.append(hoverNone);\n\t\t\thoverNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { pointingVariantsPlugin };\n"]}
|
|
@@ -417,6 +417,9 @@ declare const mantlePreset: {
|
|
|
417
417
|
"state-selected": string;
|
|
418
418
|
"state-submitting": string;
|
|
419
419
|
"state-unchecked": string;
|
|
420
|
+
"validation-error": string;
|
|
421
|
+
"validation-success": string;
|
|
422
|
+
"validation-warning": string;
|
|
420
423
|
};
|
|
421
424
|
fontFamily: {
|
|
422
425
|
sans: [string, ...string[]];
|
|
@@ -417,6 +417,9 @@ declare const mantlePreset: {
|
|
|
417
417
|
"state-selected": string;
|
|
418
418
|
"state-submitting": string;
|
|
419
419
|
"state-unchecked": string;
|
|
420
|
+
"validation-error": string;
|
|
421
|
+
"validation-success": string;
|
|
422
|
+
"validation-warning": string;
|
|
420
423
|
};
|
|
421
424
|
fontFamily: {
|
|
422
425
|
sans: [string, ...string[]];
|
package/dist/tailwind-preset.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import c from"tailwindcss-animate";import o from"tailwindcss/defaultTheme";import t from"tailwindcss/plugin";import n from"tailwindcss/plugin";var s=n(a=>{a.addVariant("aria-enabled",({modifySelectors:e,separator:h})=>{e(({className:l})=>`:not([aria-disabled]).${a.e(`aria-enabled${h}${l}`)}`)})});import u from"tailwindcss/plugin";var v=u(a=>{a.addVariant("firefox",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"supports",params:"(-moz-appearance:none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`firefox${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});import i from"tailwindcss/plugin";var p=i(a=>{a.addVariant("pointer-coarse",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: coarse)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-coarse${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-fine",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: fine)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-fine${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-hover",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: hover)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-hover${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var d={inherit:"inherit",current:"currentColor",transparent:"transparent",white:"hsl(var(--white) / <alpha-value>)",black:"hsl(var(--black) / <alpha-value>)",gray:{50:"hsl(var(--gray-50) / <alpha-value>)",100:"hsl(var(--gray-100) / <alpha-value>)",200:"hsl(var(--gray-200) / <alpha-value>)",300:"hsl(var(--gray-300) / <alpha-value>)",400:"hsl(var(--gray-400) / <alpha-value>)",500:"hsl(var(--gray-500) / <alpha-value>)",600:"hsl(var(--gray-600) / <alpha-value>)",700:"hsl(var(--gray-700) / <alpha-value>)",800:"hsl(var(--gray-800) / <alpha-value>)",900:"hsl(var(--gray-900) / <alpha-value>)",950:"hsl(var(--gray-950) / <alpha-value>)"},red:{50:"hsl(var(--red-50) / <alpha-value>)",100:"hsl(var(--red-100) / <alpha-value>)",200:"hsl(var(--red-200) / <alpha-value>)",300:"hsl(var(--red-300) / <alpha-value>)",400:"hsl(var(--red-400) / <alpha-value>)",500:"hsl(var(--red-500) / <alpha-value>)",600:"hsl(var(--red-600) / <alpha-value>)",700:"hsl(var(--red-700) / <alpha-value>)",800:"hsl(var(--red-800) / <alpha-value>)",900:"hsl(var(--red-900) / <alpha-value>)",950:"hsl(var(--red-950) / <alpha-value>)"},orange:{50:"hsl(var(--orange-50) / <alpha-value>)",100:"hsl(var(--orange-100) / <alpha-value>)",200:"hsl(var(--orange-200) / <alpha-value>)",300:"hsl(var(--orange-300) / <alpha-value>)",400:"hsl(var(--orange-400) / <alpha-value>)",500:"hsl(var(--orange-500) / <alpha-value>)",600:"hsl(var(--orange-600) / <alpha-value>)",700:"hsl(var(--orange-700) / <alpha-value>)",800:"hsl(var(--orange-800) / <alpha-value>)",900:"hsl(var(--orange-900) / <alpha-value>)",950:"hsl(var(--orange-950) / <alpha-value>)"},amber:{50:"hsl(var(--amber-50) / <alpha-value>)",100:"hsl(var(--amber-100) / <alpha-value>)",200:"hsl(var(--amber-200) / <alpha-value>)",300:"hsl(var(--amber-300) / <alpha-value>)",400:"hsl(var(--amber-400) / <alpha-value>)",500:"hsl(var(--amber-500) / <alpha-value>)",600:"hsl(var(--amber-600) / <alpha-value>)",700:"hsl(var(--amber-700) / <alpha-value>)",800:"hsl(var(--amber-800) / <alpha-value>)",900:"hsl(var(--amber-900) / <alpha-value>)",950:"hsl(var(--amber-950) / <alpha-value>)"},yellow:{50:"hsl(var(--yellow-50) / <alpha-value>)",100:"hsl(var(--yellow-100) / <alpha-value>)",200:"hsl(var(--yellow-200) / <alpha-value>)",300:"hsl(var(--yellow-300) / <alpha-value>)",400:"hsl(var(--yellow-400) / <alpha-value>)",500:"hsl(var(--yellow-500) / <alpha-value>)",600:"hsl(var(--yellow-600) / <alpha-value>)",700:"hsl(var(--yellow-700) / <alpha-value>)",800:"hsl(var(--yellow-800) / <alpha-value>)",900:"hsl(var(--yellow-900) / <alpha-value>)",950:"hsl(var(--yellow-950) / <alpha-value>)"},lime:{50:"hsl(var(--lime-50) / <alpha-value>)",100:"hsl(var(--lime-100) / <alpha-value>)",200:"hsl(var(--lime-200) / <alpha-value>)",300:"hsl(var(--lime-300) / <alpha-value>)",400:"hsl(var(--lime-400) / <alpha-value>)",500:"hsl(var(--lime-500) / <alpha-value>)",600:"hsl(var(--lime-600) / <alpha-value>)",700:"hsl(var(--lime-700) / <alpha-value>)",800:"hsl(var(--lime-800) / <alpha-value>)",900:"hsl(var(--lime-900) / <alpha-value>)",950:"hsl(var(--lime-950) / <alpha-value>)"},green:{50:"hsl(var(--green-50) / <alpha-value>)",100:"hsl(var(--green-100) / <alpha-value>)",200:"hsl(var(--green-200) / <alpha-value>)",300:"hsl(var(--green-300) / <alpha-value>)",400:"hsl(var(--green-400) / <alpha-value>)",500:"hsl(var(--green-500) / <alpha-value>)",600:"hsl(var(--green-600) / <alpha-value>)",700:"hsl(var(--green-700) / <alpha-value>)",800:"hsl(var(--green-800) / <alpha-value>)",900:"hsl(var(--green-900) / <alpha-value>)",950:"hsl(var(--green-950) / <alpha-value>)"},emerald:{50:"hsl(var(--emerald-50) / <alpha-value>)",100:"hsl(var(--emerald-100) / <alpha-value>)",200:"hsl(var(--emerald-200) / <alpha-value>)",300:"hsl(var(--emerald-300) / <alpha-value>)",400:"hsl(var(--emerald-400) / <alpha-value>)",500:"hsl(var(--emerald-500) / <alpha-value>)",600:"hsl(var(--emerald-600) / <alpha-value>)",700:"hsl(var(--emerald-700) / <alpha-value>)",800:"hsl(var(--emerald-800) / <alpha-value>)",900:"hsl(var(--emerald-900) / <alpha-value>)",950:"hsl(var(--emerald-950) / <alpha-value>)"},teal:{50:"hsl(var(--teal-50) / <alpha-value>)",100:"hsl(var(--teal-100) / <alpha-value>)",200:"hsl(var(--teal-200) / <alpha-value>)",300:"hsl(var(--teal-300) / <alpha-value>)",400:"hsl(var(--teal-400) / <alpha-value>)",500:"hsl(var(--teal-500) / <alpha-value>)",600:"hsl(var(--teal-600) / <alpha-value>)",700:"hsl(var(--teal-700) / <alpha-value>)",800:"hsl(var(--teal-800) / <alpha-value>)",900:"hsl(var(--teal-900) / <alpha-value>)",950:"hsl(var(--teal-950) / <alpha-value>)"},cyan:{50:"hsl(var(--cyan-50) / <alpha-value>)",100:"hsl(var(--cyan-100) / <alpha-value>)",200:"hsl(var(--cyan-200) / <alpha-value>)",300:"hsl(var(--cyan-300) / <alpha-value>)",400:"hsl(var(--cyan-400) / <alpha-value>)",500:"hsl(var(--cyan-500) / <alpha-value>)",600:"hsl(var(--cyan-600) / <alpha-value>)",700:"hsl(var(--cyan-700) / <alpha-value>)",800:"hsl(var(--cyan-800) / <alpha-value>)",900:"hsl(var(--cyan-900) / <alpha-value>)",950:"hsl(var(--cyan-950) / <alpha-value>)"},sky:{50:"hsl(var(--sky-50) / <alpha-value>)",100:"hsl(var(--sky-100) / <alpha-value>)",200:"hsl(var(--sky-200) / <alpha-value>)",300:"hsl(var(--sky-300) / <alpha-value>)",400:"hsl(var(--sky-400) / <alpha-value>)",500:"hsl(var(--sky-500) / <alpha-value>)",600:"hsl(var(--sky-600) / <alpha-value>)",700:"hsl(var(--sky-700) / <alpha-value>)",800:"hsl(var(--sky-800) / <alpha-value>)",900:"hsl(var(--sky-900) / <alpha-value>)",950:"hsl(var(--sky-950) / <alpha-value>)"},blue:{50:"hsl(var(--blue-50) / <alpha-value>)",100:"hsl(var(--blue-100) / <alpha-value>)",200:"hsl(var(--blue-200) / <alpha-value>)",300:"hsl(var(--blue-300) / <alpha-value>)",400:"hsl(var(--blue-400) / <alpha-value>)",500:"hsl(var(--blue-500) / <alpha-value>)",600:"hsl(var(--blue-600) / <alpha-value>)",700:"hsl(var(--blue-700) / <alpha-value>)",800:"hsl(var(--blue-800) / <alpha-value>)",900:"hsl(var(--blue-900) / <alpha-value>)",950:"hsl(var(--blue-950) / <alpha-value>)"},indigo:{50:"hsl(var(--indigo-50) / <alpha-value>)",100:"hsl(var(--indigo-100) / <alpha-value>)",200:"hsl(var(--indigo-200) / <alpha-value>)",300:"hsl(var(--indigo-300) / <alpha-value>)",400:"hsl(var(--indigo-400) / <alpha-value>)",500:"hsl(var(--indigo-500) / <alpha-value>)",600:"hsl(var(--indigo-600) / <alpha-value>)",700:"hsl(var(--indigo-700) / <alpha-value>)",800:"hsl(var(--indigo-800) / <alpha-value>)",900:"hsl(var(--indigo-900) / <alpha-value>)",950:"hsl(var(--indigo-950) / <alpha-value>)"},violet:{50:"hsl(var(--violet-50) / <alpha-value>)",100:"hsl(var(--violet-100) / <alpha-value>)",200:"hsl(var(--violet-200) / <alpha-value>)",300:"hsl(var(--violet-300) / <alpha-value>)",400:"hsl(var(--violet-400) / <alpha-value>)",500:"hsl(var(--violet-500) / <alpha-value>)",600:"hsl(var(--violet-600) / <alpha-value>)",700:"hsl(var(--violet-700) / <alpha-value>)",800:"hsl(var(--violet-800) / <alpha-value>)",900:"hsl(var(--violet-900) / <alpha-value>)",950:"hsl(var(--violet-950) / <alpha-value>)"},purple:{50:"hsl(var(--purple-50) / <alpha-value>)",100:"hsl(var(--purple-100) / <alpha-value>)",200:"hsl(var(--purple-200) / <alpha-value>)",300:"hsl(var(--purple-300) / <alpha-value>)",400:"hsl(var(--purple-400) / <alpha-value>)",500:"hsl(var(--purple-500) / <alpha-value>)",600:"hsl(var(--purple-600) / <alpha-value>)",700:"hsl(var(--purple-700) / <alpha-value>)",800:"hsl(var(--purple-800) / <alpha-value>)",900:"hsl(var(--purple-900) / <alpha-value>)",950:"hsl(var(--purple-950) / <alpha-value>)"},fuchsia:{50:"hsl(var(--fuchsia-50) / <alpha-value>)",100:"hsl(var(--fuchsia-100) / <alpha-value>)",200:"hsl(var(--fuchsia-200) / <alpha-value>)",300:"hsl(var(--fuchsia-300) / <alpha-value>)",400:"hsl(var(--fuchsia-400) / <alpha-value>)",500:"hsl(var(--fuchsia-500) / <alpha-value>)",600:"hsl(var(--fuchsia-600) / <alpha-value>)",700:"hsl(var(--fuchsia-700) / <alpha-value>)",800:"hsl(var(--fuchsia-800) / <alpha-value>)",900:"hsl(var(--fuchsia-900) / <alpha-value>)",950:"hsl(var(--fuchsia-950) / <alpha-value>)"},pink:{50:"hsl(var(--pink-50) / <alpha-value>)",100:"hsl(var(--pink-100) / <alpha-value>)",200:"hsl(var(--pink-200) / <alpha-value>)",300:"hsl(var(--pink-300) / <alpha-value>)",400:"hsl(var(--pink-400) / <alpha-value>)",500:"hsl(var(--pink-500) / <alpha-value>)",600:"hsl(var(--pink-600) / <alpha-value>)",700:"hsl(var(--pink-700) / <alpha-value>)",800:"hsl(var(--pink-800) / <alpha-value>)",900:"hsl(var(--pink-900) / <alpha-value>)",950:"hsl(var(--pink-950) / <alpha-value>)"},rose:{50:"hsl(var(--rose-50) / <alpha-value>)",100:"hsl(var(--rose-100) / <alpha-value>)",200:"hsl(var(--rose-200) / <alpha-value>)",300:"hsl(var(--rose-300) / <alpha-value>)",400:"hsl(var(--rose-400) / <alpha-value>)",500:"hsl(var(--rose-500) / <alpha-value>)",600:"hsl(var(--rose-600) / <alpha-value>)",700:"hsl(var(--rose-700) / <alpha-value>)",800:"hsl(var(--rose-800) / <alpha-value>)",900:"hsl(var(--rose-900) / <alpha-value>)",950:"hsl(var(--rose-950) / <alpha-value>)"},neutral:{50:"hsl(var(--neutral-50) / <alpha-value>)",100:"hsl(var(--neutral-100) / <alpha-value>)",200:"hsl(var(--neutral-200) / <alpha-value>)",300:"hsl(var(--neutral-300) / <alpha-value>)",400:"hsl(var(--neutral-400) / <alpha-value>)",500:"hsl(var(--neutral-500) / <alpha-value>)",600:"hsl(var(--neutral-600) / <alpha-value>)",700:"hsl(var(--neutral-700) / <alpha-value>)",800:"hsl(var(--neutral-800) / <alpha-value>)",900:"hsl(var(--neutral-900) / <alpha-value>)",950:"hsl(var(--neutral-950) / <alpha-value>)"},accent:{50:"hsl(var(--accent-50) / <alpha-value>)",100:"hsl(var(--accent-100) / <alpha-value>)",200:"hsl(var(--accent-200) / <alpha-value>)",300:"hsl(var(--accent-300) / <alpha-value>)",400:"hsl(var(--accent-400) / <alpha-value>)",500:"hsl(var(--accent-500) / <alpha-value>)",600:"hsl(var(--accent-600) / <alpha-value>)",700:"hsl(var(--accent-700) / <alpha-value>)",800:"hsl(var(--accent-800) / <alpha-value>)",900:"hsl(var(--accent-900) / <alpha-value>)",950:"hsl(var(--accent-950) / <alpha-value>)"},danger:{50:"hsl(var(--danger-50) / <alpha-value>)",100:"hsl(var(--danger-100) / <alpha-value>)",200:"hsl(var(--danger-200) / <alpha-value>)",300:"hsl(var(--danger-300) / <alpha-value>)",400:"hsl(var(--danger-400) / <alpha-value>)",500:"hsl(var(--danger-500) / <alpha-value>)",600:"hsl(var(--danger-600) / <alpha-value>)",700:"hsl(var(--danger-700) / <alpha-value>)",800:"hsl(var(--danger-800) / <alpha-value>)",900:"hsl(var(--danger-900) / <alpha-value>)",950:"hsl(var(--danger-950) / <alpha-value>)"},warning:{50:"hsl(var(--warning-50) / <alpha-value>)",100:"hsl(var(--warning-100) / <alpha-value>)",200:"hsl(var(--warning-200) / <alpha-value>)",300:"hsl(var(--warning-300) / <alpha-value>)",400:"hsl(var(--warning-400) / <alpha-value>)",500:"hsl(var(--warning-500) / <alpha-value>)",600:"hsl(var(--warning-600) / <alpha-value>)",700:"hsl(var(--warning-700) / <alpha-value>)",800:"hsl(var(--warning-800) / <alpha-value>)",900:"hsl(var(--warning-900) / <alpha-value>)",950:"hsl(var(--warning-950) / <alpha-value>)"},success:{50:"hsl(var(--success-50) / <alpha-value>)",100:"hsl(var(--success-100) / <alpha-value>)",200:"hsl(var(--success-200) / <alpha-value>)",300:"hsl(var(--success-300) / <alpha-value>)",400:"hsl(var(--success-400) / <alpha-value>)",500:"hsl(var(--success-500) / <alpha-value>)",600:"hsl(var(--success-600) / <alpha-value>)",700:"hsl(var(--success-700) / <alpha-value>)",800:"hsl(var(--success-800) / <alpha-value>)",900:"hsl(var(--success-900) / <alpha-value>)",950:"hsl(var(--success-950) / <alpha-value>)"}},g={content:[],darkMode:"class",theme:{colors:d,container:{center:!0,padding:"2rem",screens:{"2xl":"1400px"}},extend:{animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},aria:{collapsed:'expanded="false"',invalid:'invalid="true"',unchecked:'checked="false"'},boxShadow:{sm:"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))",DEFAULT:"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))",md:"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))",lg:"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))",xl:"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))","2xl":"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))",inner:"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))"},backgroundColor:{base:"hsl(var(--bg-base))",card:"hsl(var(--bg-card))",dialog:"hsl(var(--bg-dialog))",form:"hsl(var(--bg-form))",overlay:"hsl(var(--bg-overlay))",popover:"hsl(var(--bg-popover))",tooltip:"hsl(var(--bg-tooltip))","base-hover":"hsl(var(--bg-base-hover))","card-hover":"hsl(var(--bg-card-hover))","filled-accent-active":"hsl(var(--bg-filled-accent-active))","filled-accent-hover":"hsl(var(--bg-filled-accent-hover))","filled-accent":"hsl(var(--bg-filled-accent))","filled-danger-active":"hsl(var(--bg-filled-danger-active))","filled-danger-hover":"hsl(var(--bg-filled-danger-hover))","filled-danger":"hsl(var(--bg-filled-danger))","filled-neutral-active":"hsl(var(--bg-filled-neutral-active))","filled-neutral-hover":"hsl(var(--bg-filled-neutral-hover))","filled-neutral":"hsl(var(--bg-filled-neutral))","filled-success-active":"hsl(var(--bg-filled-success-active))","filled-success-hover":"hsl(var(--bg-filled-success-hover))","filled-success":"hsl(var(--bg-filled-success))","filled-warning-active":"hsl(var(--bg-filled-warning-active))","filled-warning-hover":"hsl(var(--bg-filled-warning-hover))","filled-warning":"hsl(var(--bg-filled-warning))","form-active":"hsl(var(--bg-form-active))","form-hover":"hsl(var(--bg-form-hover))","popover-hover":"hsl(var(--bg-popover-hover))"},textColor:{body:"hsl(var(--text-body))",muted:"hsl(var(--text-muted))",placeholder:"hsl(var(--text-placeholder))",strong:"hsl(var(--text-strong))",tooltip:"hsl(var(--text-tooltip))","on-filled":"hsl(var(--text-on-filled))"},borderColor:{base:"hsl(var(--border-base))",card:"hsl(var(--border-card))",dialog:"hsl(var(--border-dialog))",form:"hsl(var(--border-form))",popover:"hsl(var(--border-popover))","base-muted":"hsl(var(--border-base-muted))","card-muted":"hsl(var(--border-card-muted))","dialog-muted":"hsl(var(--border-dialog-muted))","popover-muted":"hsl(var(--border-popover-muted))"},ringColor:{"focus-accent":"hsl(var(--ring-focus-accent))","focus-danger":"hsl(var(--ring-focus-danger))","focus-neutral":"hsl(var(--ring-focus-neutral))","focus-success":"hsl(var(--ring-focus-success))","focus-warning":"hsl(var(--ring-focus-warning))"},cursor:{inherit:"inherit",initial:"initial"},data:{"active-item":"active-item","drag-over":'drag-over="true"',disabled:"disabled",highlighted:"highlighted","orientation-horizontal":'orientation="horizontal"',"orientation-vertical":'orientation="vertical"',"side-bottom":'side="bottom"',"side-left":'side="left"',"side-right":'side="right"',"side-top":'side="top"',"state-active":'state~="active"',"state-checked":'state~="checked"',"state-closed":'state~="closed"',"state-idle":'state~="idle"',"state-inactive":'state~="inactive"',"state-indeterminate":'state~="indeterminate"',"state-open":'state~="open"',"state-pending":'state~="pending"',"state-selected":'state~="selected"',"state-submitting":'state~="submitting"',"state-unchecked":'state~="unchecked"'},fontFamily:{sans:["EuclidSquare",...o.fontFamily.sans],mono:["IBMPlexMono",...o.fontFamily.mono]},fontSize:{"size-inherit":"inherit"},fontWeight:{initial:"initial"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},lineHeight:{0:"0",initial:"initial"},screens:{xs:"480px"},spacing:{"1.25":"0.3125rem"},transitionProperty:{"max-height":"max-height"},zIndex:{1:"1",max:"2147483647"}}},plugins:[c,v,p,t(function({addVariant:a}){a("dark-high-contrast",[":is(.dark-high-contrast &)"]),a("high-contrast",[":is(.light-high-contrast &)"])}),t(function({addVariant:a}){a("not-disabled",["&:not(:disabled)"])}),s]};export{g as mantlePreset};
|
|
1
|
+
import c from"tailwindcss-animate";import o from"tailwindcss/defaultTheme";import t from"tailwindcss/plugin";import n from"tailwindcss/plugin";var s=n(a=>{a.addVariant("aria-enabled",({modifySelectors:e,separator:h})=>{e(({className:l})=>`:not([aria-disabled]).${a.e(`aria-enabled${h}${l}`)}`)})});import i from"tailwindcss/plugin";var v=i(a=>{a.addVariant("firefox",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"supports",params:"(-moz-appearance:none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`firefox${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});import u from"tailwindcss/plugin";var p=u(a=>{a.addVariant("pointer-coarse",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: coarse)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-coarse${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-fine",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: fine)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-fine${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-hover",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: hover)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-hover${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var d={inherit:"inherit",current:"currentColor",transparent:"transparent",white:"hsl(var(--white) / <alpha-value>)",black:"hsl(var(--black) / <alpha-value>)",gray:{50:"hsl(var(--gray-50) / <alpha-value>)",100:"hsl(var(--gray-100) / <alpha-value>)",200:"hsl(var(--gray-200) / <alpha-value>)",300:"hsl(var(--gray-300) / <alpha-value>)",400:"hsl(var(--gray-400) / <alpha-value>)",500:"hsl(var(--gray-500) / <alpha-value>)",600:"hsl(var(--gray-600) / <alpha-value>)",700:"hsl(var(--gray-700) / <alpha-value>)",800:"hsl(var(--gray-800) / <alpha-value>)",900:"hsl(var(--gray-900) / <alpha-value>)",950:"hsl(var(--gray-950) / <alpha-value>)"},red:{50:"hsl(var(--red-50) / <alpha-value>)",100:"hsl(var(--red-100) / <alpha-value>)",200:"hsl(var(--red-200) / <alpha-value>)",300:"hsl(var(--red-300) / <alpha-value>)",400:"hsl(var(--red-400) / <alpha-value>)",500:"hsl(var(--red-500) / <alpha-value>)",600:"hsl(var(--red-600) / <alpha-value>)",700:"hsl(var(--red-700) / <alpha-value>)",800:"hsl(var(--red-800) / <alpha-value>)",900:"hsl(var(--red-900) / <alpha-value>)",950:"hsl(var(--red-950) / <alpha-value>)"},orange:{50:"hsl(var(--orange-50) / <alpha-value>)",100:"hsl(var(--orange-100) / <alpha-value>)",200:"hsl(var(--orange-200) / <alpha-value>)",300:"hsl(var(--orange-300) / <alpha-value>)",400:"hsl(var(--orange-400) / <alpha-value>)",500:"hsl(var(--orange-500) / <alpha-value>)",600:"hsl(var(--orange-600) / <alpha-value>)",700:"hsl(var(--orange-700) / <alpha-value>)",800:"hsl(var(--orange-800) / <alpha-value>)",900:"hsl(var(--orange-900) / <alpha-value>)",950:"hsl(var(--orange-950) / <alpha-value>)"},amber:{50:"hsl(var(--amber-50) / <alpha-value>)",100:"hsl(var(--amber-100) / <alpha-value>)",200:"hsl(var(--amber-200) / <alpha-value>)",300:"hsl(var(--amber-300) / <alpha-value>)",400:"hsl(var(--amber-400) / <alpha-value>)",500:"hsl(var(--amber-500) / <alpha-value>)",600:"hsl(var(--amber-600) / <alpha-value>)",700:"hsl(var(--amber-700) / <alpha-value>)",800:"hsl(var(--amber-800) / <alpha-value>)",900:"hsl(var(--amber-900) / <alpha-value>)",950:"hsl(var(--amber-950) / <alpha-value>)"},yellow:{50:"hsl(var(--yellow-50) / <alpha-value>)",100:"hsl(var(--yellow-100) / <alpha-value>)",200:"hsl(var(--yellow-200) / <alpha-value>)",300:"hsl(var(--yellow-300) / <alpha-value>)",400:"hsl(var(--yellow-400) / <alpha-value>)",500:"hsl(var(--yellow-500) / <alpha-value>)",600:"hsl(var(--yellow-600) / <alpha-value>)",700:"hsl(var(--yellow-700) / <alpha-value>)",800:"hsl(var(--yellow-800) / <alpha-value>)",900:"hsl(var(--yellow-900) / <alpha-value>)",950:"hsl(var(--yellow-950) / <alpha-value>)"},lime:{50:"hsl(var(--lime-50) / <alpha-value>)",100:"hsl(var(--lime-100) / <alpha-value>)",200:"hsl(var(--lime-200) / <alpha-value>)",300:"hsl(var(--lime-300) / <alpha-value>)",400:"hsl(var(--lime-400) / <alpha-value>)",500:"hsl(var(--lime-500) / <alpha-value>)",600:"hsl(var(--lime-600) / <alpha-value>)",700:"hsl(var(--lime-700) / <alpha-value>)",800:"hsl(var(--lime-800) / <alpha-value>)",900:"hsl(var(--lime-900) / <alpha-value>)",950:"hsl(var(--lime-950) / <alpha-value>)"},green:{50:"hsl(var(--green-50) / <alpha-value>)",100:"hsl(var(--green-100) / <alpha-value>)",200:"hsl(var(--green-200) / <alpha-value>)",300:"hsl(var(--green-300) / <alpha-value>)",400:"hsl(var(--green-400) / <alpha-value>)",500:"hsl(var(--green-500) / <alpha-value>)",600:"hsl(var(--green-600) / <alpha-value>)",700:"hsl(var(--green-700) / <alpha-value>)",800:"hsl(var(--green-800) / <alpha-value>)",900:"hsl(var(--green-900) / <alpha-value>)",950:"hsl(var(--green-950) / <alpha-value>)"},emerald:{50:"hsl(var(--emerald-50) / <alpha-value>)",100:"hsl(var(--emerald-100) / <alpha-value>)",200:"hsl(var(--emerald-200) / <alpha-value>)",300:"hsl(var(--emerald-300) / <alpha-value>)",400:"hsl(var(--emerald-400) / <alpha-value>)",500:"hsl(var(--emerald-500) / <alpha-value>)",600:"hsl(var(--emerald-600) / <alpha-value>)",700:"hsl(var(--emerald-700) / <alpha-value>)",800:"hsl(var(--emerald-800) / <alpha-value>)",900:"hsl(var(--emerald-900) / <alpha-value>)",950:"hsl(var(--emerald-950) / <alpha-value>)"},teal:{50:"hsl(var(--teal-50) / <alpha-value>)",100:"hsl(var(--teal-100) / <alpha-value>)",200:"hsl(var(--teal-200) / <alpha-value>)",300:"hsl(var(--teal-300) / <alpha-value>)",400:"hsl(var(--teal-400) / <alpha-value>)",500:"hsl(var(--teal-500) / <alpha-value>)",600:"hsl(var(--teal-600) / <alpha-value>)",700:"hsl(var(--teal-700) / <alpha-value>)",800:"hsl(var(--teal-800) / <alpha-value>)",900:"hsl(var(--teal-900) / <alpha-value>)",950:"hsl(var(--teal-950) / <alpha-value>)"},cyan:{50:"hsl(var(--cyan-50) / <alpha-value>)",100:"hsl(var(--cyan-100) / <alpha-value>)",200:"hsl(var(--cyan-200) / <alpha-value>)",300:"hsl(var(--cyan-300) / <alpha-value>)",400:"hsl(var(--cyan-400) / <alpha-value>)",500:"hsl(var(--cyan-500) / <alpha-value>)",600:"hsl(var(--cyan-600) / <alpha-value>)",700:"hsl(var(--cyan-700) / <alpha-value>)",800:"hsl(var(--cyan-800) / <alpha-value>)",900:"hsl(var(--cyan-900) / <alpha-value>)",950:"hsl(var(--cyan-950) / <alpha-value>)"},sky:{50:"hsl(var(--sky-50) / <alpha-value>)",100:"hsl(var(--sky-100) / <alpha-value>)",200:"hsl(var(--sky-200) / <alpha-value>)",300:"hsl(var(--sky-300) / <alpha-value>)",400:"hsl(var(--sky-400) / <alpha-value>)",500:"hsl(var(--sky-500) / <alpha-value>)",600:"hsl(var(--sky-600) / <alpha-value>)",700:"hsl(var(--sky-700) / <alpha-value>)",800:"hsl(var(--sky-800) / <alpha-value>)",900:"hsl(var(--sky-900) / <alpha-value>)",950:"hsl(var(--sky-950) / <alpha-value>)"},blue:{50:"hsl(var(--blue-50) / <alpha-value>)",100:"hsl(var(--blue-100) / <alpha-value>)",200:"hsl(var(--blue-200) / <alpha-value>)",300:"hsl(var(--blue-300) / <alpha-value>)",400:"hsl(var(--blue-400) / <alpha-value>)",500:"hsl(var(--blue-500) / <alpha-value>)",600:"hsl(var(--blue-600) / <alpha-value>)",700:"hsl(var(--blue-700) / <alpha-value>)",800:"hsl(var(--blue-800) / <alpha-value>)",900:"hsl(var(--blue-900) / <alpha-value>)",950:"hsl(var(--blue-950) / <alpha-value>)"},indigo:{50:"hsl(var(--indigo-50) / <alpha-value>)",100:"hsl(var(--indigo-100) / <alpha-value>)",200:"hsl(var(--indigo-200) / <alpha-value>)",300:"hsl(var(--indigo-300) / <alpha-value>)",400:"hsl(var(--indigo-400) / <alpha-value>)",500:"hsl(var(--indigo-500) / <alpha-value>)",600:"hsl(var(--indigo-600) / <alpha-value>)",700:"hsl(var(--indigo-700) / <alpha-value>)",800:"hsl(var(--indigo-800) / <alpha-value>)",900:"hsl(var(--indigo-900) / <alpha-value>)",950:"hsl(var(--indigo-950) / <alpha-value>)"},violet:{50:"hsl(var(--violet-50) / <alpha-value>)",100:"hsl(var(--violet-100) / <alpha-value>)",200:"hsl(var(--violet-200) / <alpha-value>)",300:"hsl(var(--violet-300) / <alpha-value>)",400:"hsl(var(--violet-400) / <alpha-value>)",500:"hsl(var(--violet-500) / <alpha-value>)",600:"hsl(var(--violet-600) / <alpha-value>)",700:"hsl(var(--violet-700) / <alpha-value>)",800:"hsl(var(--violet-800) / <alpha-value>)",900:"hsl(var(--violet-900) / <alpha-value>)",950:"hsl(var(--violet-950) / <alpha-value>)"},purple:{50:"hsl(var(--purple-50) / <alpha-value>)",100:"hsl(var(--purple-100) / <alpha-value>)",200:"hsl(var(--purple-200) / <alpha-value>)",300:"hsl(var(--purple-300) / <alpha-value>)",400:"hsl(var(--purple-400) / <alpha-value>)",500:"hsl(var(--purple-500) / <alpha-value>)",600:"hsl(var(--purple-600) / <alpha-value>)",700:"hsl(var(--purple-700) / <alpha-value>)",800:"hsl(var(--purple-800) / <alpha-value>)",900:"hsl(var(--purple-900) / <alpha-value>)",950:"hsl(var(--purple-950) / <alpha-value>)"},fuchsia:{50:"hsl(var(--fuchsia-50) / <alpha-value>)",100:"hsl(var(--fuchsia-100) / <alpha-value>)",200:"hsl(var(--fuchsia-200) / <alpha-value>)",300:"hsl(var(--fuchsia-300) / <alpha-value>)",400:"hsl(var(--fuchsia-400) / <alpha-value>)",500:"hsl(var(--fuchsia-500) / <alpha-value>)",600:"hsl(var(--fuchsia-600) / <alpha-value>)",700:"hsl(var(--fuchsia-700) / <alpha-value>)",800:"hsl(var(--fuchsia-800) / <alpha-value>)",900:"hsl(var(--fuchsia-900) / <alpha-value>)",950:"hsl(var(--fuchsia-950) / <alpha-value>)"},pink:{50:"hsl(var(--pink-50) / <alpha-value>)",100:"hsl(var(--pink-100) / <alpha-value>)",200:"hsl(var(--pink-200) / <alpha-value>)",300:"hsl(var(--pink-300) / <alpha-value>)",400:"hsl(var(--pink-400) / <alpha-value>)",500:"hsl(var(--pink-500) / <alpha-value>)",600:"hsl(var(--pink-600) / <alpha-value>)",700:"hsl(var(--pink-700) / <alpha-value>)",800:"hsl(var(--pink-800) / <alpha-value>)",900:"hsl(var(--pink-900) / <alpha-value>)",950:"hsl(var(--pink-950) / <alpha-value>)"},rose:{50:"hsl(var(--rose-50) / <alpha-value>)",100:"hsl(var(--rose-100) / <alpha-value>)",200:"hsl(var(--rose-200) / <alpha-value>)",300:"hsl(var(--rose-300) / <alpha-value>)",400:"hsl(var(--rose-400) / <alpha-value>)",500:"hsl(var(--rose-500) / <alpha-value>)",600:"hsl(var(--rose-600) / <alpha-value>)",700:"hsl(var(--rose-700) / <alpha-value>)",800:"hsl(var(--rose-800) / <alpha-value>)",900:"hsl(var(--rose-900) / <alpha-value>)",950:"hsl(var(--rose-950) / <alpha-value>)"},neutral:{50:"hsl(var(--neutral-50) / <alpha-value>)",100:"hsl(var(--neutral-100) / <alpha-value>)",200:"hsl(var(--neutral-200) / <alpha-value>)",300:"hsl(var(--neutral-300) / <alpha-value>)",400:"hsl(var(--neutral-400) / <alpha-value>)",500:"hsl(var(--neutral-500) / <alpha-value>)",600:"hsl(var(--neutral-600) / <alpha-value>)",700:"hsl(var(--neutral-700) / <alpha-value>)",800:"hsl(var(--neutral-800) / <alpha-value>)",900:"hsl(var(--neutral-900) / <alpha-value>)",950:"hsl(var(--neutral-950) / <alpha-value>)"},accent:{50:"hsl(var(--accent-50) / <alpha-value>)",100:"hsl(var(--accent-100) / <alpha-value>)",200:"hsl(var(--accent-200) / <alpha-value>)",300:"hsl(var(--accent-300) / <alpha-value>)",400:"hsl(var(--accent-400) / <alpha-value>)",500:"hsl(var(--accent-500) / <alpha-value>)",600:"hsl(var(--accent-600) / <alpha-value>)",700:"hsl(var(--accent-700) / <alpha-value>)",800:"hsl(var(--accent-800) / <alpha-value>)",900:"hsl(var(--accent-900) / <alpha-value>)",950:"hsl(var(--accent-950) / <alpha-value>)"},danger:{50:"hsl(var(--danger-50) / <alpha-value>)",100:"hsl(var(--danger-100) / <alpha-value>)",200:"hsl(var(--danger-200) / <alpha-value>)",300:"hsl(var(--danger-300) / <alpha-value>)",400:"hsl(var(--danger-400) / <alpha-value>)",500:"hsl(var(--danger-500) / <alpha-value>)",600:"hsl(var(--danger-600) / <alpha-value>)",700:"hsl(var(--danger-700) / <alpha-value>)",800:"hsl(var(--danger-800) / <alpha-value>)",900:"hsl(var(--danger-900) / <alpha-value>)",950:"hsl(var(--danger-950) / <alpha-value>)"},warning:{50:"hsl(var(--warning-50) / <alpha-value>)",100:"hsl(var(--warning-100) / <alpha-value>)",200:"hsl(var(--warning-200) / <alpha-value>)",300:"hsl(var(--warning-300) / <alpha-value>)",400:"hsl(var(--warning-400) / <alpha-value>)",500:"hsl(var(--warning-500) / <alpha-value>)",600:"hsl(var(--warning-600) / <alpha-value>)",700:"hsl(var(--warning-700) / <alpha-value>)",800:"hsl(var(--warning-800) / <alpha-value>)",900:"hsl(var(--warning-900) / <alpha-value>)",950:"hsl(var(--warning-950) / <alpha-value>)"},success:{50:"hsl(var(--success-50) / <alpha-value>)",100:"hsl(var(--success-100) / <alpha-value>)",200:"hsl(var(--success-200) / <alpha-value>)",300:"hsl(var(--success-300) / <alpha-value>)",400:"hsl(var(--success-400) / <alpha-value>)",500:"hsl(var(--success-500) / <alpha-value>)",600:"hsl(var(--success-600) / <alpha-value>)",700:"hsl(var(--success-700) / <alpha-value>)",800:"hsl(var(--success-800) / <alpha-value>)",900:"hsl(var(--success-900) / <alpha-value>)",950:"hsl(var(--success-950) / <alpha-value>)"}},g={content:[],darkMode:"class",theme:{colors:d,container:{center:!0,padding:"2rem",screens:{"2xl":"1400px"}},extend:{animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},aria:{collapsed:'expanded="false"',invalid:'invalid="true"',unchecked:'checked="false"'},boxShadow:{sm:"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))",DEFAULT:"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))",md:"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))",lg:"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))",xl:"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))","2xl":"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))",inner:"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))"},backgroundColor:{base:"hsl(var(--bg-base))",card:"hsl(var(--bg-card))",dialog:"hsl(var(--bg-dialog))",form:"hsl(var(--bg-form))",overlay:"hsl(var(--bg-overlay))",popover:"hsl(var(--bg-popover))",tooltip:"hsl(var(--bg-tooltip))","base-hover":"hsl(var(--bg-base-hover))","card-hover":"hsl(var(--bg-card-hover))","filled-accent-active":"hsl(var(--bg-filled-accent-active))","filled-accent-hover":"hsl(var(--bg-filled-accent-hover))","filled-accent":"hsl(var(--bg-filled-accent))","filled-danger-active":"hsl(var(--bg-filled-danger-active))","filled-danger-hover":"hsl(var(--bg-filled-danger-hover))","filled-danger":"hsl(var(--bg-filled-danger))","filled-neutral-active":"hsl(var(--bg-filled-neutral-active))","filled-neutral-hover":"hsl(var(--bg-filled-neutral-hover))","filled-neutral":"hsl(var(--bg-filled-neutral))","filled-success-active":"hsl(var(--bg-filled-success-active))","filled-success-hover":"hsl(var(--bg-filled-success-hover))","filled-success":"hsl(var(--bg-filled-success))","filled-warning-active":"hsl(var(--bg-filled-warning-active))","filled-warning-hover":"hsl(var(--bg-filled-warning-hover))","filled-warning":"hsl(var(--bg-filled-warning))","form-active":"hsl(var(--bg-form-active))","form-hover":"hsl(var(--bg-form-hover))","popover-hover":"hsl(var(--bg-popover-hover))"},textColor:{body:"hsl(var(--text-body))",muted:"hsl(var(--text-muted))",placeholder:"hsl(var(--text-placeholder))",strong:"hsl(var(--text-strong))",tooltip:"hsl(var(--text-tooltip))","on-filled":"hsl(var(--text-on-filled))"},borderColor:{base:"hsl(var(--border-base))",card:"hsl(var(--border-card))",dialog:"hsl(var(--border-dialog))",form:"hsl(var(--border-form))",popover:"hsl(var(--border-popover))","base-muted":"hsl(var(--border-base-muted))","card-muted":"hsl(var(--border-card-muted))","dialog-muted":"hsl(var(--border-dialog-muted))","popover-muted":"hsl(var(--border-popover-muted))"},ringColor:{"focus-accent":"hsl(var(--ring-focus-accent))","focus-danger":"hsl(var(--ring-focus-danger))","focus-neutral":"hsl(var(--ring-focus-neutral))","focus-success":"hsl(var(--ring-focus-success))","focus-warning":"hsl(var(--ring-focus-warning))"},cursor:{inherit:"inherit",initial:"initial"},data:{"active-item":"active-item","drag-over":'drag-over="true"',disabled:"disabled",highlighted:"highlighted","orientation-horizontal":'orientation="horizontal"',"orientation-vertical":'orientation="vertical"',"side-bottom":'side="bottom"',"side-left":'side="left"',"side-right":'side="right"',"side-top":'side="top"',"state-active":'state~="active"',"state-checked":'state~="checked"',"state-closed":'state~="closed"',"state-idle":'state~="idle"',"state-inactive":'state~="inactive"',"state-indeterminate":'state~="indeterminate"',"state-open":'state~="open"',"state-pending":'state~="pending"',"state-selected":'state~="selected"',"state-submitting":'state~="submitting"',"state-unchecked":'state~="unchecked"',"validation-error":'validation="error"',"validation-success":'validation="success"',"validation-warning":'validation="warning"'},fontFamily:{sans:["EuclidSquare",...o.fontFamily.sans],mono:["IBMPlexMono",...o.fontFamily.mono]},fontSize:{"size-inherit":"inherit"},fontWeight:{initial:"initial"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},lineHeight:{0:"0",initial:"initial"},screens:{xs:"480px"},spacing:{"1.25":"0.3125rem"},transitionProperty:{"max-height":"max-height"},zIndex:{1:"1",max:"2147483647"}}},plugins:[c,v,p,t(function({addVariant:a}){a("dark-high-contrast",[":is(.dark-high-contrast &)"]),a("high-contrast",[":is(.light-high-contrast &)"])}),t(function({addVariant:a}){a("not-disabled",["&:not(:disabled)"])}),s]};export{g as mantlePreset};
|
|
2
2
|
//# sourceMappingURL=tailwind-preset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../packages/tailwind-preset/src/tailwind.preset.ts","../packages/tailwind-preset/src/tailwind-plugin-aria-enabled.ts","../packages/tailwind-preset/src/tailwind-plugin-firefox-variant.ts","../packages/tailwind-preset/src/tailwind-plugin-pointing-variants.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\nimport tailwindCssAnimatePlugin from \"tailwindcss-animate\";\nimport defaultTheme from \"tailwindcss/defaultTheme\";\nimport plugin from \"tailwindcss/plugin\";\nimport { ariaEnabledVariantPlugin } from \"./tailwind-plugin-aria-enabled.js\";\nimport { firefoxVariantPlugin } from \"./tailwind-plugin-firefox-variant.js\";\nimport { pointingVariantsPlugin } from \"./tailwind-plugin-pointing-variants.js\";\n\nconst colors = {\n\tinherit: \"inherit\",\n\tcurrent: \"currentColor\",\n\ttransparent: \"transparent\",\n\twhite: \"hsl(var(--white) / <alpha-value>)\",\n\tblack: \"hsl(var(--black) / <alpha-value>)\",\n\tgray: {\n\t\t50: \"hsl(var(--gray-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--gray-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--gray-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--gray-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--gray-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--gray-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--gray-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--gray-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--gray-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--gray-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--gray-950) / <alpha-value>)\",\n\t},\n\tred: {\n\t\t50: \"hsl(var(--red-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--red-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--red-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--red-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--red-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--red-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--red-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--red-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--red-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--red-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--red-950) / <alpha-value>)\",\n\t},\n\torange: {\n\t\t50: \"hsl(var(--orange-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--orange-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--orange-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--orange-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--orange-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--orange-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--orange-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--orange-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--orange-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--orange-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--orange-950) / <alpha-value>)\",\n\t},\n\tamber: {\n\t\t50: \"hsl(var(--amber-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--amber-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--amber-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--amber-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--amber-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--amber-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--amber-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--amber-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--amber-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--amber-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--amber-950) / <alpha-value>)\",\n\t},\n\tyellow: {\n\t\t50: \"hsl(var(--yellow-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--yellow-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--yellow-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--yellow-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--yellow-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--yellow-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--yellow-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--yellow-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--yellow-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--yellow-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--yellow-950) / <alpha-value>)\",\n\t},\n\tlime: {\n\t\t50: \"hsl(var(--lime-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--lime-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--lime-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--lime-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--lime-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--lime-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--lime-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--lime-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--lime-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--lime-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--lime-950) / <alpha-value>)\",\n\t},\n\tgreen: {\n\t\t50: \"hsl(var(--green-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--green-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--green-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--green-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--green-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--green-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--green-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--green-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--green-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--green-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--green-950) / <alpha-value>)\",\n\t},\n\temerald: {\n\t\t50: \"hsl(var(--emerald-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--emerald-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--emerald-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--emerald-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--emerald-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--emerald-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--emerald-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--emerald-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--emerald-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--emerald-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--emerald-950) / <alpha-value>)\",\n\t},\n\tteal: {\n\t\t50: \"hsl(var(--teal-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--teal-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--teal-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--teal-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--teal-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--teal-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--teal-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--teal-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--teal-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--teal-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--teal-950) / <alpha-value>)\",\n\t},\n\tcyan: {\n\t\t50: \"hsl(var(--cyan-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--cyan-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--cyan-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--cyan-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--cyan-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--cyan-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--cyan-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--cyan-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--cyan-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--cyan-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--cyan-950) / <alpha-value>)\",\n\t},\n\tsky: {\n\t\t50: \"hsl(var(--sky-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--sky-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--sky-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--sky-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--sky-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--sky-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--sky-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--sky-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--sky-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--sky-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--sky-950) / <alpha-value>)\",\n\t},\n\tblue: {\n\t\t50: \"hsl(var(--blue-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--blue-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--blue-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--blue-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--blue-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--blue-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--blue-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--blue-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--blue-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--blue-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--blue-950) / <alpha-value>)\",\n\t},\n\tindigo: {\n\t\t50: \"hsl(var(--indigo-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--indigo-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--indigo-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--indigo-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--indigo-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--indigo-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--indigo-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--indigo-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--indigo-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--indigo-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--indigo-950) / <alpha-value>)\",\n\t},\n\tviolet: {\n\t\t50: \"hsl(var(--violet-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--violet-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--violet-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--violet-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--violet-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--violet-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--violet-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--violet-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--violet-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--violet-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--violet-950) / <alpha-value>)\",\n\t},\n\tpurple: {\n\t\t50: \"hsl(var(--purple-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--purple-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--purple-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--purple-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--purple-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--purple-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--purple-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--purple-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--purple-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--purple-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--purple-950) / <alpha-value>)\",\n\t},\n\tfuchsia: {\n\t\t50: \"hsl(var(--fuchsia-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--fuchsia-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--fuchsia-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--fuchsia-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--fuchsia-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--fuchsia-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--fuchsia-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--fuchsia-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--fuchsia-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--fuchsia-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--fuchsia-950) / <alpha-value>)\",\n\t},\n\tpink: {\n\t\t50: \"hsl(var(--pink-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--pink-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--pink-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--pink-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--pink-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--pink-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--pink-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--pink-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--pink-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--pink-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--pink-950) / <alpha-value>)\",\n\t},\n\trose: {\n\t\t50: \"hsl(var(--rose-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--rose-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--rose-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--rose-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--rose-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--rose-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--rose-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--rose-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--rose-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--rose-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--rose-950) / <alpha-value>)\",\n\t},\n\tneutral: {\n\t\t50: \"hsl(var(--neutral-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--neutral-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--neutral-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--neutral-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--neutral-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--neutral-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--neutral-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--neutral-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--neutral-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--neutral-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--neutral-950) / <alpha-value>)\",\n\t},\n\taccent: {\n\t\t50: \"hsl(var(--accent-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--accent-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--accent-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--accent-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--accent-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--accent-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--accent-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--accent-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--accent-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--accent-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--accent-950) / <alpha-value>)\",\n\t},\n\tdanger: {\n\t\t50: \"hsl(var(--danger-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--danger-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--danger-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--danger-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--danger-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--danger-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--danger-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--danger-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--danger-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--danger-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--danger-950) / <alpha-value>)\",\n\t},\n\twarning: {\n\t\t50: \"hsl(var(--warning-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--warning-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--warning-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--warning-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--warning-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--warning-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--warning-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--warning-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--warning-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--warning-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--warning-950) / <alpha-value>)\",\n\t},\n\tsuccess: {\n\t\t50: \"hsl(var(--success-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--success-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--success-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--success-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--success-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--success-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--success-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--success-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--success-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--success-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--success-950) / <alpha-value>)\",\n\t},\n};\n\nconst mantlePreset = {\n\tcontent: [],\n\tdarkMode: \"class\",\n\ttheme: {\n\t\tcolors,\n\t\tcontainer: {\n\t\t\tcenter: true,\n\t\t\tpadding: \"2rem\",\n\t\t\tscreens: {\n\t\t\t\t\"2xl\": \"1400px\",\n\t\t\t},\n\t\t},\n\t\textend: {\n\t\t\tanimation: {\n\t\t\t\t\"accordion-down\": \"accordion-down 0.2s ease-out\",\n\t\t\t\t\"accordion-up\": \"accordion-up 0.2s ease-out\",\n\t\t\t},\n\t\t\taria: {\n\t\t\t\tcollapsed: 'expanded=\"false\"',\n\t\t\t\tinvalid: 'invalid=\"true\"',\n\t\t\t\tunchecked: 'checked=\"false\"',\n\t\t\t},\n\t\t\tboxShadow: {\n\t\t\t\tsm: \"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t\tDEFAULT:\n\t\t\t\t\t\"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tmd: \"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tlg: \"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\txl: \"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\t\"2xl\":\n\t\t\t\t\t\"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tinner: \"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\tbase: \"hsl(var(--bg-base))\",\n\t\t\t\tcard: \"hsl(var(--bg-card))\",\n\t\t\t\tdialog: \"hsl(var(--bg-dialog))\",\n\t\t\t\tform: \"hsl(var(--bg-form))\",\n\t\t\t\toverlay: \"hsl(var(--bg-overlay))\",\n\t\t\t\tpopover: \"hsl(var(--bg-popover))\",\n\t\t\t\ttooltip: \"hsl(var(--bg-tooltip))\",\n\t\t\t\t\"base-hover\": \"hsl(var(--bg-base-hover))\",\n\t\t\t\t\"card-hover\": \"hsl(var(--bg-card-hover))\",\n\t\t\t\t\"filled-accent-active\": \"hsl(var(--bg-filled-accent-active))\",\n\t\t\t\t\"filled-accent-hover\": \"hsl(var(--bg-filled-accent-hover))\",\n\t\t\t\t\"filled-accent\": \"hsl(var(--bg-filled-accent))\",\n\t\t\t\t\"filled-danger-active\": \"hsl(var(--bg-filled-danger-active))\",\n\t\t\t\t\"filled-danger-hover\": \"hsl(var(--bg-filled-danger-hover))\",\n\t\t\t\t\"filled-danger\": \"hsl(var(--bg-filled-danger))\",\n\t\t\t\t\"filled-neutral-active\": \"hsl(var(--bg-filled-neutral-active))\",\n\t\t\t\t\"filled-neutral-hover\": \"hsl(var(--bg-filled-neutral-hover))\",\n\t\t\t\t\"filled-neutral\": \"hsl(var(--bg-filled-neutral))\",\n\t\t\t\t\"filled-success-active\": \"hsl(var(--bg-filled-success-active))\",\n\t\t\t\t\"filled-success-hover\": \"hsl(var(--bg-filled-success-hover))\",\n\t\t\t\t\"filled-success\": \"hsl(var(--bg-filled-success))\",\n\t\t\t\t\"filled-warning-active\": \"hsl(var(--bg-filled-warning-active))\",\n\t\t\t\t\"filled-warning-hover\": \"hsl(var(--bg-filled-warning-hover))\",\n\t\t\t\t\"filled-warning\": \"hsl(var(--bg-filled-warning))\",\n\t\t\t\t\"form-active\": \"hsl(var(--bg-form-active))\",\n\t\t\t\t\"form-hover\": \"hsl(var(--bg-form-hover))\",\n\t\t\t\t\"popover-hover\": \"hsl(var(--bg-popover-hover))\",\n\t\t\t},\n\t\t\ttextColor: {\n\t\t\t\tbody: \"hsl(var(--text-body))\",\n\t\t\t\tmuted: \"hsl(var(--text-muted))\",\n\t\t\t\tplaceholder: \"hsl(var(--text-placeholder))\",\n\t\t\t\tstrong: \"hsl(var(--text-strong))\",\n\t\t\t\ttooltip: \"hsl(var(--text-tooltip))\",\n\t\t\t\t\"on-filled\": \"hsl(var(--text-on-filled))\",\n\t\t\t},\n\t\t\tborderColor: {\n\t\t\t\tbase: \"hsl(var(--border-base))\",\n\t\t\t\tcard: \"hsl(var(--border-card))\",\n\t\t\t\tdialog: \"hsl(var(--border-dialog))\",\n\t\t\t\tform: \"hsl(var(--border-form))\",\n\t\t\t\tpopover: \"hsl(var(--border-popover))\",\n\t\t\t\t\"base-muted\": \"hsl(var(--border-base-muted))\",\n\t\t\t\t\"card-muted\": \"hsl(var(--border-card-muted))\",\n\t\t\t\t\"dialog-muted\": \"hsl(var(--border-dialog-muted))\",\n\t\t\t\t\"popover-muted\": \"hsl(var(--border-popover-muted))\",\n\t\t\t},\n\t\t\tringColor: {\n\t\t\t\t\"focus-accent\": \"hsl(var(--ring-focus-accent))\",\n\t\t\t\t\"focus-danger\": \"hsl(var(--ring-focus-danger))\",\n\t\t\t\t\"focus-neutral\": \"hsl(var(--ring-focus-neutral))\",\n\t\t\t\t\"focus-success\": \"hsl(var(--ring-focus-success))\",\n\t\t\t\t\"focus-warning\": \"hsl(var(--ring-focus-warning))\",\n\t\t\t},\n\t\t\tcursor: {\n\t\t\t\tinherit: \"inherit\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tdata: {\n\t\t\t\t\"active-item\": \"active-item\",\n\t\t\t\t\"drag-over\": 'drag-over=\"true\"',\n\t\t\t\tdisabled: \"disabled\",\n\t\t\t\thighlighted: \"highlighted\",\n\t\t\t\t\"orientation-horizontal\": 'orientation=\"horizontal\"',\n\t\t\t\t\"orientation-vertical\": 'orientation=\"vertical\"',\n\t\t\t\t\"side-bottom\": 'side=\"bottom\"',\n\t\t\t\t\"side-left\": 'side=\"left\"',\n\t\t\t\t\"side-right\": 'side=\"right\"',\n\t\t\t\t\"side-top\": 'side=\"top\"',\n\t\t\t\t\"state-active\": 'state~=\"active\"',\n\t\t\t\t\"state-checked\": 'state~=\"checked\"',\n\t\t\t\t\"state-closed\": 'state~=\"closed\"',\n\t\t\t\t\"state-idle\": 'state~=\"idle\"',\n\t\t\t\t\"state-inactive\": 'state~=\"inactive\"',\n\t\t\t\t\"state-indeterminate\": 'state~=\"indeterminate\"',\n\t\t\t\t\"state-open\": 'state~=\"open\"',\n\t\t\t\t\"state-pending\": 'state~=\"pending\"',\n\t\t\t\t\"state-selected\": 'state~=\"selected\"',\n\t\t\t\t\"state-submitting\": 'state~=\"submitting\"',\n\t\t\t\t\"state-unchecked\": 'state~=\"unchecked\"',\n\t\t\t},\n\t\t\tfontFamily: {\n\t\t\t\tsans: [\"EuclidSquare\", ...defaultTheme.fontFamily.sans],\n\t\t\t\tmono: [\"IBMPlexMono\", ...defaultTheme.fontFamily.mono],\n\t\t\t},\n\t\t\tfontSize: {\n\t\t\t\t\"size-inherit\": \"inherit\",\n\t\t\t},\n\t\t\tfontWeight: {\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tkeyframes: {\n\t\t\t\t\"accordion-down\": {\n\t\t\t\t\tfrom: { height: \"0\" },\n\t\t\t\t\tto: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t},\n\t\t\t\t\"accordion-up\": {\n\t\t\t\t\tfrom: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t\tto: { height: \"0\" },\n\t\t\t\t},\n\t\t\t},\n\t\t\tlineHeight: {\n\t\t\t\t0: \"0\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tscreens: {\n\t\t\t\txs: \"480px\",\n\t\t\t},\n\t\t\tspacing: {\n\t\t\t\t\"1.25\": \"0.3125rem\",\n\t\t\t},\n\t\t\ttransitionProperty: {\n\t\t\t\t\"max-height\": \"max-height\",\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\t1: \"1\",\n\t\t\t\tmax: \"2147483647\",\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ttailwindCssAnimatePlugin,\n\t\tfirefoxVariantPlugin,\n\t\tpointingVariantsPlugin,\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"dark-high-contrast\", [\":is(.dark-high-contrast &)\"]);\n\t\t\taddVariant(\"high-contrast\", [\":is(.light-high-contrast &)\"]);\n\t\t}),\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"not-disabled\", [\"&:not(:disabled)\"]);\n\t\t}),\n\t\tariaEnabledVariantPlugin,\n\t],\n} satisfies Config;\n\nexport type MantlePreset = typeof mantlePreset;\n\nexport { mantlePreset };\n","import plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variant: aria-enabled\n */\nconst ariaEnabledVariantPlugin = plugin((api: PluginAPI) => {\n\tapi.addVariant(\n\t\t\"aria-enabled\",\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\t({ modifySelectors, separator }: { modifySelectors: unknown; separator: string }) => {\n\t\t\t// @ts-expect-error modifySelectors is not typed correctly\n\t\t\tmodifySelectors(({ className }: { className: string }) => {\n\t\t\t\treturn `:not([aria-disabled]).${api.e(`aria-enabled${separator}${className}`)}`;\n\t\t\t});\n\t\t},\n\t);\n});\n\nexport { ariaEnabledVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds a `firefox` variant to TailwindCSS.\n *\n * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7\n */\nconst firefoxVariantPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"firefox\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst isFirefoxRule = api.postcss.atRule({\n\t\t\t\tname: \"supports\",\n\t\t\t\tparams: \"(-moz-appearance:none)\",\n\t\t\t});\n\t\t\tisFirefoxRule.append(container.nodes);\n\t\t\tcontainer.append(isFirefoxRule);\n\t\t\tisFirefoxRule.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`firefox${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { firefoxVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variants to TailwindCSS:\n * - `pointer-coarse`\n * - `pointer-fine`\n * - `pointer-none`\n * - `hover-hover`\n * - `hover-none`\n *\n * @see https://css-tricks.com/touch-devices-not-judged-size/\n */\nconst pointingVariantsPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-coarse\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerCoarse = api.postcss.atRule({ name: \"media\", params: \"(pointer: coarse)\" });\n\t\t\tpointerCoarse.append(container.nodes);\n\t\t\tcontainer.append(pointerCoarse);\n\t\t\tpointerCoarse.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-coarse${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-fine\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerFine = api.postcss.atRule({ name: \"media\", params: \"(pointer: fine)\" });\n\t\t\tpointerFine.append(container.nodes);\n\t\t\tcontainer.append(pointerFine);\n\t\t\tpointerFine.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-fine${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerNone = api.postcss.atRule({ name: \"media\", params: \"(pointer: none)\" });\n\t\t\tpointerNone.append(container.nodes);\n\t\t\tcontainer.append(pointerNone);\n\t\t\tpointerNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-hover\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverHover = api.postcss.atRule({ name: \"media\", params: \"(hover: hover)\" });\n\t\t\thoverHover.append(container.nodes);\n\t\t\tcontainer.append(hoverHover);\n\t\t\thoverHover.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-hover${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverNone = api.postcss.atRule({ name: \"media\", params: \"(hover: none)\" });\n\t\t\thoverNone.append(container.nodes);\n\t\t\tcontainer.append(hoverNone);\n\t\t\thoverNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { pointingVariantsPlugin };\n"],"mappings":"AACA,OAAOA,MAA8B,sBACrC,OAAOC,MAAkB,2BACzB,OAAOC,MAAY,qBCHnB,OAAOC,MAAY,qBAMnB,IAAMC,EAA2BD,EAAQE,GAAmB,CAC3DA,EAAI,WACH,eAEA,CAAC,CAAE,gBAAAC,EAAiB,UAAAC,CAAU,IAAuD,CAEpFD,EAAgB,CAAC,CAAE,UAAAE,CAAU,IACrB,yBAAyBH,EAAI,EAAE,eAAeE,CAAS,GAAGC,CAAS,EAAE,CAAC,EAC7E,CACF,CACD,CACD,CAAC,EChBD,OAAOC,MAAY,qBAQnB,IAAMC,EAAuBD,EAE3BE,GAA0C,CAE1CA,EAAI,WAAW,UAAW,CAAC,CAAE,UAAAC,EAAW,UAAAC,CAAU,IAA8C,CAC/F,IAAMC,EAAgBH,EAAI,QAAQ,OAAO,CACxC,KAAM,WACN,OAAQ,wBACT,CAAC,EACDG,EAAc,OAAOF,EAAU,KA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I,EACpB,GAAI,CAAE,OAAQ,uCAAwC,CACvD,EACA,eAAgB,CACf,KAAM,CAAE,OAAQ,uCAAwC,EACxD,GAAI,CAAE,OAAQ,GAAI,CACnB,CACD,EACA,WAAY,CACX,EAAG,IACH,QAAS,SACV,EACA,QAAS,CACR,GAAI,OACL,EACA,QAAS,CACR,OAAQ,WACT,EACA,mBAAoB,CACnB,aAAc,YACf,EACA,OAAQ,CACP,EAAG,IACH,IAAK,YACN,CACD,CACD,EACA,QAAS,CACRC,EACAC,EACAC,EACAC,EAAO,SAAU,CAAE,WAAAC,CAAW,EAAG,CAChCA,EAAW,qBAAsB,CAAC,4BAA4B,CAAC,EAC/DA,EAAW,gBAAiB,CAAC,6BAA6B,CAAC,CAC5D,CAAC,EACDD,EAAO,SAAU,CAAE,WAAAC,CAAW,EAAG,CAChCA,EAAW,eAAgB,CAAC,kBAAkB,CAAC,CAChD,CAAC,EACDC,CACD,CACD","names":["tailwindCssAnimatePlugin","defaultTheme","plugin","plugin","ariaEnabledVariantPlugin","api","modifySelectors","separator","className","plugin","firefoxVariantPlugin","api","container","separator","isFirefoxRule","rule","plugin","pointingVariantsPlugin","api","container","separator","pointerCoarse","rule","pointerFine","pointerNone","hoverHover","hoverNone","colors","mantlePreset","defaultTheme","tailwindCssAnimatePlugin","firefoxVariantPlugin","pointingVariantsPlugin","plugin","addVariant","ariaEnabledVariantPlugin"]}
|
|
1
|
+
{"version":3,"sources":["../packages/tailwind-preset/src/tailwind.preset.ts","../packages/tailwind-preset/src/tailwind-plugin-aria-enabled.ts","../packages/tailwind-preset/src/tailwind-plugin-firefox-variant.ts","../packages/tailwind-preset/src/tailwind-plugin-pointing-variants.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\nimport tailwindCssAnimatePlugin from \"tailwindcss-animate\";\nimport defaultTheme from \"tailwindcss/defaultTheme\";\nimport plugin from \"tailwindcss/plugin\";\nimport { ariaEnabledVariantPlugin } from \"./tailwind-plugin-aria-enabled.js\";\nimport { firefoxVariantPlugin } from \"./tailwind-plugin-firefox-variant.js\";\nimport { pointingVariantsPlugin } from \"./tailwind-plugin-pointing-variants.js\";\n\nconst colors = {\n\tinherit: \"inherit\",\n\tcurrent: \"currentColor\",\n\ttransparent: \"transparent\",\n\twhite: \"hsl(var(--white) / <alpha-value>)\",\n\tblack: \"hsl(var(--black) / <alpha-value>)\",\n\tgray: {\n\t\t50: \"hsl(var(--gray-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--gray-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--gray-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--gray-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--gray-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--gray-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--gray-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--gray-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--gray-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--gray-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--gray-950) / <alpha-value>)\",\n\t},\n\tred: {\n\t\t50: \"hsl(var(--red-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--red-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--red-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--red-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--red-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--red-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--red-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--red-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--red-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--red-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--red-950) / <alpha-value>)\",\n\t},\n\torange: {\n\t\t50: \"hsl(var(--orange-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--orange-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--orange-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--orange-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--orange-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--orange-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--orange-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--orange-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--orange-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--orange-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--orange-950) / <alpha-value>)\",\n\t},\n\tamber: {\n\t\t50: \"hsl(var(--amber-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--amber-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--amber-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--amber-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--amber-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--amber-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--amber-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--amber-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--amber-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--amber-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--amber-950) / <alpha-value>)\",\n\t},\n\tyellow: {\n\t\t50: \"hsl(var(--yellow-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--yellow-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--yellow-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--yellow-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--yellow-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--yellow-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--yellow-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--yellow-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--yellow-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--yellow-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--yellow-950) / <alpha-value>)\",\n\t},\n\tlime: {\n\t\t50: \"hsl(var(--lime-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--lime-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--lime-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--lime-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--lime-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--lime-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--lime-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--lime-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--lime-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--lime-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--lime-950) / <alpha-value>)\",\n\t},\n\tgreen: {\n\t\t50: \"hsl(var(--green-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--green-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--green-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--green-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--green-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--green-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--green-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--green-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--green-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--green-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--green-950) / <alpha-value>)\",\n\t},\n\temerald: {\n\t\t50: \"hsl(var(--emerald-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--emerald-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--emerald-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--emerald-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--emerald-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--emerald-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--emerald-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--emerald-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--emerald-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--emerald-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--emerald-950) / <alpha-value>)\",\n\t},\n\tteal: {\n\t\t50: \"hsl(var(--teal-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--teal-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--teal-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--teal-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--teal-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--teal-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--teal-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--teal-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--teal-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--teal-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--teal-950) / <alpha-value>)\",\n\t},\n\tcyan: {\n\t\t50: \"hsl(var(--cyan-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--cyan-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--cyan-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--cyan-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--cyan-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--cyan-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--cyan-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--cyan-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--cyan-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--cyan-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--cyan-950) / <alpha-value>)\",\n\t},\n\tsky: {\n\t\t50: \"hsl(var(--sky-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--sky-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--sky-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--sky-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--sky-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--sky-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--sky-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--sky-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--sky-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--sky-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--sky-950) / <alpha-value>)\",\n\t},\n\tblue: {\n\t\t50: \"hsl(var(--blue-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--blue-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--blue-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--blue-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--blue-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--blue-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--blue-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--blue-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--blue-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--blue-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--blue-950) / <alpha-value>)\",\n\t},\n\tindigo: {\n\t\t50: \"hsl(var(--indigo-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--indigo-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--indigo-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--indigo-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--indigo-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--indigo-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--indigo-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--indigo-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--indigo-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--indigo-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--indigo-950) / <alpha-value>)\",\n\t},\n\tviolet: {\n\t\t50: \"hsl(var(--violet-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--violet-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--violet-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--violet-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--violet-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--violet-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--violet-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--violet-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--violet-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--violet-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--violet-950) / <alpha-value>)\",\n\t},\n\tpurple: {\n\t\t50: \"hsl(var(--purple-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--purple-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--purple-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--purple-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--purple-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--purple-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--purple-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--purple-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--purple-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--purple-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--purple-950) / <alpha-value>)\",\n\t},\n\tfuchsia: {\n\t\t50: \"hsl(var(--fuchsia-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--fuchsia-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--fuchsia-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--fuchsia-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--fuchsia-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--fuchsia-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--fuchsia-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--fuchsia-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--fuchsia-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--fuchsia-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--fuchsia-950) / <alpha-value>)\",\n\t},\n\tpink: {\n\t\t50: \"hsl(var(--pink-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--pink-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--pink-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--pink-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--pink-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--pink-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--pink-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--pink-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--pink-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--pink-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--pink-950) / <alpha-value>)\",\n\t},\n\trose: {\n\t\t50: \"hsl(var(--rose-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--rose-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--rose-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--rose-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--rose-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--rose-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--rose-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--rose-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--rose-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--rose-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--rose-950) / <alpha-value>)\",\n\t},\n\tneutral: {\n\t\t50: \"hsl(var(--neutral-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--neutral-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--neutral-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--neutral-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--neutral-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--neutral-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--neutral-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--neutral-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--neutral-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--neutral-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--neutral-950) / <alpha-value>)\",\n\t},\n\taccent: {\n\t\t50: \"hsl(var(--accent-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--accent-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--accent-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--accent-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--accent-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--accent-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--accent-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--accent-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--accent-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--accent-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--accent-950) / <alpha-value>)\",\n\t},\n\tdanger: {\n\t\t50: \"hsl(var(--danger-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--danger-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--danger-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--danger-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--danger-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--danger-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--danger-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--danger-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--danger-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--danger-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--danger-950) / <alpha-value>)\",\n\t},\n\twarning: {\n\t\t50: \"hsl(var(--warning-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--warning-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--warning-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--warning-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--warning-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--warning-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--warning-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--warning-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--warning-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--warning-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--warning-950) / <alpha-value>)\",\n\t},\n\tsuccess: {\n\t\t50: \"hsl(var(--success-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--success-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--success-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--success-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--success-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--success-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--success-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--success-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--success-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--success-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--success-950) / <alpha-value>)\",\n\t},\n};\n\nconst mantlePreset = {\n\tcontent: [],\n\tdarkMode: \"class\",\n\ttheme: {\n\t\tcolors,\n\t\tcontainer: {\n\t\t\tcenter: true,\n\t\t\tpadding: \"2rem\",\n\t\t\tscreens: {\n\t\t\t\t\"2xl\": \"1400px\",\n\t\t\t},\n\t\t},\n\t\textend: {\n\t\t\tanimation: {\n\t\t\t\t\"accordion-down\": \"accordion-down 0.2s ease-out\",\n\t\t\t\t\"accordion-up\": \"accordion-up 0.2s ease-out\",\n\t\t\t},\n\t\t\taria: {\n\t\t\t\tcollapsed: 'expanded=\"false\"',\n\t\t\t\tinvalid: 'invalid=\"true\"',\n\t\t\t\tunchecked: 'checked=\"false\"',\n\t\t\t},\n\t\t\tboxShadow: {\n\t\t\t\tsm: \"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t\tDEFAULT:\n\t\t\t\t\t\"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tmd: \"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tlg: \"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\txl: \"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\t\"2xl\":\n\t\t\t\t\t\"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tinner: \"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\tbase: \"hsl(var(--bg-base))\",\n\t\t\t\tcard: \"hsl(var(--bg-card))\",\n\t\t\t\tdialog: \"hsl(var(--bg-dialog))\",\n\t\t\t\tform: \"hsl(var(--bg-form))\",\n\t\t\t\toverlay: \"hsl(var(--bg-overlay))\",\n\t\t\t\tpopover: \"hsl(var(--bg-popover))\",\n\t\t\t\ttooltip: \"hsl(var(--bg-tooltip))\",\n\t\t\t\t\"base-hover\": \"hsl(var(--bg-base-hover))\",\n\t\t\t\t\"card-hover\": \"hsl(var(--bg-card-hover))\",\n\t\t\t\t\"filled-accent-active\": \"hsl(var(--bg-filled-accent-active))\",\n\t\t\t\t\"filled-accent-hover\": \"hsl(var(--bg-filled-accent-hover))\",\n\t\t\t\t\"filled-accent\": \"hsl(var(--bg-filled-accent))\",\n\t\t\t\t\"filled-danger-active\": \"hsl(var(--bg-filled-danger-active))\",\n\t\t\t\t\"filled-danger-hover\": \"hsl(var(--bg-filled-danger-hover))\",\n\t\t\t\t\"filled-danger\": \"hsl(var(--bg-filled-danger))\",\n\t\t\t\t\"filled-neutral-active\": \"hsl(var(--bg-filled-neutral-active))\",\n\t\t\t\t\"filled-neutral-hover\": \"hsl(var(--bg-filled-neutral-hover))\",\n\t\t\t\t\"filled-neutral\": \"hsl(var(--bg-filled-neutral))\",\n\t\t\t\t\"filled-success-active\": \"hsl(var(--bg-filled-success-active))\",\n\t\t\t\t\"filled-success-hover\": \"hsl(var(--bg-filled-success-hover))\",\n\t\t\t\t\"filled-success\": \"hsl(var(--bg-filled-success))\",\n\t\t\t\t\"filled-warning-active\": \"hsl(var(--bg-filled-warning-active))\",\n\t\t\t\t\"filled-warning-hover\": \"hsl(var(--bg-filled-warning-hover))\",\n\t\t\t\t\"filled-warning\": \"hsl(var(--bg-filled-warning))\",\n\t\t\t\t\"form-active\": \"hsl(var(--bg-form-active))\",\n\t\t\t\t\"form-hover\": \"hsl(var(--bg-form-hover))\",\n\t\t\t\t\"popover-hover\": \"hsl(var(--bg-popover-hover))\",\n\t\t\t},\n\t\t\ttextColor: {\n\t\t\t\tbody: \"hsl(var(--text-body))\",\n\t\t\t\tmuted: \"hsl(var(--text-muted))\",\n\t\t\t\tplaceholder: \"hsl(var(--text-placeholder))\",\n\t\t\t\tstrong: \"hsl(var(--text-strong))\",\n\t\t\t\ttooltip: \"hsl(var(--text-tooltip))\",\n\t\t\t\t\"on-filled\": \"hsl(var(--text-on-filled))\",\n\t\t\t},\n\t\t\tborderColor: {\n\t\t\t\tbase: \"hsl(var(--border-base))\",\n\t\t\t\tcard: \"hsl(var(--border-card))\",\n\t\t\t\tdialog: \"hsl(var(--border-dialog))\",\n\t\t\t\tform: \"hsl(var(--border-form))\",\n\t\t\t\tpopover: \"hsl(var(--border-popover))\",\n\t\t\t\t\"base-muted\": \"hsl(var(--border-base-muted))\",\n\t\t\t\t\"card-muted\": \"hsl(var(--border-card-muted))\",\n\t\t\t\t\"dialog-muted\": \"hsl(var(--border-dialog-muted))\",\n\t\t\t\t\"popover-muted\": \"hsl(var(--border-popover-muted))\",\n\t\t\t},\n\t\t\tringColor: {\n\t\t\t\t\"focus-accent\": \"hsl(var(--ring-focus-accent))\",\n\t\t\t\t\"focus-danger\": \"hsl(var(--ring-focus-danger))\",\n\t\t\t\t\"focus-neutral\": \"hsl(var(--ring-focus-neutral))\",\n\t\t\t\t\"focus-success\": \"hsl(var(--ring-focus-success))\",\n\t\t\t\t\"focus-warning\": \"hsl(var(--ring-focus-warning))\",\n\t\t\t},\n\t\t\tcursor: {\n\t\t\t\tinherit: \"inherit\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tdata: {\n\t\t\t\t\"active-item\": \"active-item\",\n\t\t\t\t\"drag-over\": 'drag-over=\"true\"',\n\t\t\t\tdisabled: \"disabled\",\n\t\t\t\thighlighted: \"highlighted\",\n\t\t\t\t\"orientation-horizontal\": 'orientation=\"horizontal\"',\n\t\t\t\t\"orientation-vertical\": 'orientation=\"vertical\"',\n\t\t\t\t\"side-bottom\": 'side=\"bottom\"',\n\t\t\t\t\"side-left\": 'side=\"left\"',\n\t\t\t\t\"side-right\": 'side=\"right\"',\n\t\t\t\t\"side-top\": 'side=\"top\"',\n\t\t\t\t\"state-active\": 'state~=\"active\"',\n\t\t\t\t\"state-checked\": 'state~=\"checked\"',\n\t\t\t\t\"state-closed\": 'state~=\"closed\"',\n\t\t\t\t\"state-idle\": 'state~=\"idle\"',\n\t\t\t\t\"state-inactive\": 'state~=\"inactive\"',\n\t\t\t\t\"state-indeterminate\": 'state~=\"indeterminate\"',\n\t\t\t\t\"state-open\": 'state~=\"open\"',\n\t\t\t\t\"state-pending\": 'state~=\"pending\"',\n\t\t\t\t\"state-selected\": 'state~=\"selected\"',\n\t\t\t\t\"state-submitting\": 'state~=\"submitting\"',\n\t\t\t\t\"state-unchecked\": 'state~=\"unchecked\"',\n\t\t\t\t\"validation-error\": 'validation=\"error\"',\n\t\t\t\t\"validation-success\": 'validation=\"success\"',\n\t\t\t\t\"validation-warning\": 'validation=\"warning\"',\n\t\t\t},\n\t\t\tfontFamily: {\n\t\t\t\tsans: [\"EuclidSquare\", ...defaultTheme.fontFamily.sans],\n\t\t\t\tmono: [\"IBMPlexMono\", ...defaultTheme.fontFamily.mono],\n\t\t\t},\n\t\t\tfontSize: {\n\t\t\t\t\"size-inherit\": \"inherit\",\n\t\t\t},\n\t\t\tfontWeight: {\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tkeyframes: {\n\t\t\t\t\"accordion-down\": {\n\t\t\t\t\tfrom: { height: \"0\" },\n\t\t\t\t\tto: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t},\n\t\t\t\t\"accordion-up\": {\n\t\t\t\t\tfrom: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t\tto: { height: \"0\" },\n\t\t\t\t},\n\t\t\t},\n\t\t\tlineHeight: {\n\t\t\t\t0: \"0\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tscreens: {\n\t\t\t\txs: \"480px\",\n\t\t\t},\n\t\t\tspacing: {\n\t\t\t\t\"1.25\": \"0.3125rem\",\n\t\t\t},\n\t\t\ttransitionProperty: {\n\t\t\t\t\"max-height\": \"max-height\",\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\t1: \"1\",\n\t\t\t\tmax: \"2147483647\",\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ttailwindCssAnimatePlugin,\n\t\tfirefoxVariantPlugin,\n\t\tpointingVariantsPlugin,\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"dark-high-contrast\", [\":is(.dark-high-contrast &)\"]);\n\t\t\taddVariant(\"high-contrast\", [\":is(.light-high-contrast &)\"]);\n\t\t}),\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"not-disabled\", [\"&:not(:disabled)\"]);\n\t\t}),\n\t\tariaEnabledVariantPlugin,\n\t],\n} satisfies Config;\n\nexport type MantlePreset = typeof mantlePreset;\n\nexport { mantlePreset };\n","import plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variant: aria-enabled\n */\nconst ariaEnabledVariantPlugin = plugin((api: PluginAPI) => {\n\tapi.addVariant(\n\t\t\"aria-enabled\",\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\t({ modifySelectors, separator }: { modifySelectors: unknown; separator: string }) => {\n\t\t\t// @ts-expect-error modifySelectors is not typed correctly\n\t\t\tmodifySelectors(({ className }: { className: string }) => {\n\t\t\t\treturn `:not([aria-disabled]).${api.e(`aria-enabled${separator}${className}`)}`;\n\t\t\t});\n\t\t},\n\t);\n});\n\nexport { ariaEnabledVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds a `firefox` variant to TailwindCSS.\n *\n * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7\n */\nconst firefoxVariantPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"firefox\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst isFirefoxRule = api.postcss.atRule({\n\t\t\t\tname: \"supports\",\n\t\t\t\tparams: \"(-moz-appearance:none)\",\n\t\t\t});\n\t\t\tisFirefoxRule.append(container.nodes);\n\t\t\tcontainer.append(isFirefoxRule);\n\t\t\tisFirefoxRule.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`firefox${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { firefoxVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variants to TailwindCSS:\n * - `pointer-coarse`\n * - `pointer-fine`\n * - `pointer-none`\n * - `hover-hover`\n * - `hover-none`\n *\n * @see https://css-tricks.com/touch-devices-not-judged-size/\n */\nconst pointingVariantsPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-coarse\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerCoarse = api.postcss.atRule({ name: \"media\", params: \"(pointer: coarse)\" });\n\t\t\tpointerCoarse.append(container.nodes);\n\t\t\tcontainer.append(pointerCoarse);\n\t\t\tpointerCoarse.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-coarse${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-fine\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerFine = api.postcss.atRule({ name: \"media\", params: \"(pointer: fine)\" });\n\t\t\tpointerFine.append(container.nodes);\n\t\t\tcontainer.append(pointerFine);\n\t\t\tpointerFine.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-fine${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerNone = api.postcss.atRule({ name: \"media\", params: \"(pointer: none)\" });\n\t\t\tpointerNone.append(container.nodes);\n\t\t\tcontainer.append(pointerNone);\n\t\t\tpointerNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-hover\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverHover = api.postcss.atRule({ name: \"media\", params: \"(hover: hover)\" });\n\t\t\thoverHover.append(container.nodes);\n\t\t\tcontainer.append(hoverHover);\n\t\t\thoverHover.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-hover${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverNone = api.postcss.atRule({ name: \"media\", params: \"(hover: none)\" });\n\t\t\thoverNone.append(container.nodes);\n\t\t\tcontainer.append(hoverNone);\n\t\t\thoverNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { pointingVariantsPlugin };\n"],"mappings":"AACA,OAAOA,MAA8B,sBACrC,OAAOC,MAAkB,2BACzB,OAAOC,MAAY,qBCHnB,OAAOC,MAAY,qBAMnB,IAAMC,EAA2BD,EAAQE,GAAmB,CAC3DA,EAAI,WACH,eAEA,CAAC,CAAE,gBAAAC,EAAiB,UAAAC,CAAU,IAAuD,CAEpFD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,mBACjB,eAAgB,kBAChB,aAAc,gBACd,iBAAkB,oBAClB,sBAAuB,yBACvB,aAAc,gBACd,gBAAiB,mBACjB,iBAAkB,oBAClB,mBAAoB,sBACpB,kBAAmB,qBACnB,mBAAoB,qBACpB,qBAAsB,uBACtB,qBAAsB,sBACvB,EACA,WAAY,CACX,KAAM,CAAC,eAAgB,GAAGE,EAAa,WAAW,IAAI,EACtD,KAAM,CAAC,cAAe,GAAGA,EAAa,WAAW,IAAI,CACtD,EACA,SAAU,CACT,eAAgB,SACjB,EACA,WAAY,CACX,QAAS,SACV,EACA,UAAW,CACV,iBAAkB,CACjB,KAAM,CAAE,OAAQ,GAAI,EACpB,GAAI,CAAE,OAAQ,uCAAwC,CACvD,EACA,eAAgB,CACf,KAAM,CAAE,OAAQ,uCAAwC,EACxD,GAAI,CAAE,OAAQ,GAAI,CACnB,CACD,EACA,WAAY,CACX,EAAG,IACH,QAAS,SACV,EACA,QAAS,CACR,GAAI,OACL,EACA,QAAS,CACR,OAAQ,WACT,EACA,mBAAoB,CACnB,aAAc,YACf,EACA,OAAQ,CACP,EAAG,IACH,IAAK,YACN,CACD,CACD,EACA,QAAS,CACRC,EACAC,EACAC,EACAC,EAAO,SAAU,CAAE,WAAAC,CAAW,EAAG,CAChCA,EAAW,qBAAsB,CAAC,4BAA4B,CAAC,EAC/DA,EAAW,gBAAiB,CAAC,6BAA6B,CAAC,CAC5D,CAAC,EACDD,EAAO,SAAU,CAAE,WAAAC,CAAW,EAAG,CAChCA,EAAW,eAAgB,CAAC,kBAAkB,CAAC,CAChD,CAAC,EACDC,CACD,CACD","names":["tailwindCssAnimatePlugin","defaultTheme","plugin","plugin","ariaEnabledVariantPlugin","api","modifySelectors","separator","className","plugin","firefoxVariantPlugin","api","container","separator","isFirefoxRule","rule","plugin","pointingVariantsPlugin","api","container","separator","pointerCoarse","rule","pointerFine","pointerNone","hoverHover","hoverNone","colors","mantlePreset","defaultTheme","tailwindCssAnimatePlugin","firefoxVariantPlugin","pointingVariantsPlugin","plugin","addVariant","ariaEnabledVariantPlugin"]}
|
package/dist/text-area.d.ts
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { TextareaHTMLAttributes } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { D as DeepNonNullable } from './deep-non-nullable-SmpSvoSd.js';
|
|
5
|
-
import * as class_variance_authority from 'class-variance-authority';
|
|
6
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { W as WithValidation } from './types-DcL7_eQM.js';
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare const TextArea: react.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> &
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & WithValidation & {
|
|
6
|
+
/**
|
|
7
|
+
* The visual style of the textarea.
|
|
8
|
+
*/
|
|
9
|
+
appearance?: "monospaced";
|
|
10
|
+
};
|
|
11
|
+
declare const TextArea: react.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & WithValidation & {
|
|
12
|
+
/**
|
|
13
|
+
* The visual style of the textarea.
|
|
14
|
+
*/
|
|
15
|
+
appearance?: "monospaced" | undefined;
|
|
16
|
+
} & react.RefAttributes<HTMLTextAreaElement>>;
|
|
18
17
|
|
|
19
18
|
export { TextArea, type TextAreaProps };
|
package/dist/text-area.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-A5H52ODC.js";import{cva as
|
|
1
|
+
import{a as n}from"./chunk-A5H52ODC.js";import{cva as x}from"class-variance-authority";import{forwardRef as b,useRef as y,useState as T}from"react";import{jsx as h}from"react/jsx-runtime";var D=x("border-input flex min-h-24 w-full rounded-md border bg-form px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-drag-over:border-dashed data-drag-over:ring-4 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm",{variants:{appearance:{monospaced:"font-mono text-[0.9375rem] sm:text-[0.8125rem]"}}}),s=b(({appearance:d,"aria-invalid":r,className:c,onDragEnter:l,onDragLeave:p,onDropCapture:m,validation:u,...f},a)=>{let o=r!=null&&r!=="false"?"error":u,g=r??o==="error",[v,t]=T(!1),i=y(null);return h("textarea",{"aria-invalid":g,"data-validation":o||void 0,className:n(d==="monospaced"&&"font-mono text-[0.9375rem] sm:text-[0.8125rem]","border-input flex min-h-24 w-full rounded-md border bg-form px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-drag-over:border-dashed data-drag-over:ring-4 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm","placeholder:text-placeholder data-drag-over:border-dashed","border-form text-strong ring-focus-accent focus:border-accent-600 data-drag-over:border-accent-600","data-validation-error:border-danger-600 data-validation-error:ring-focus-danger data-validation-error:focus-visible:border-danger-600 data-validation-error:data-drag-over:border-danger-600","data-validation-success:border-success-600 data-validation-success:ring-focus-success data-validation-success:focus-visible:border-success-600 data-validation-success:data-drag-over:border-success-600","data-validation-warning:border-warning-600 data-validation-warning:ring-focus-warning data-validation-warning:focus-visible:border-warning-600 data-validation-warning:data-drag-over:border-warning-600",c),"data-drag-over":v,onDragEnter:e=>{t(!0),l?.(e)},onDragLeave:e=>{t(!1),p?.(e)},onDropCapture:e=>{t(!1),i.current?.focus(),m?.(e)},ref:e=>{i.current=e,typeof a=="function"?a(e):a&&(a.current=e)},...f})});s.displayName="TextArea";export{s as TextArea};
|
|
2
2
|
//# sourceMappingURL=text-area.js.map
|
package/dist/text-area.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../packages/text-area/src/text-area.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { forwardRef, useRef, useState } from \"react\";\nimport type { TextareaHTMLAttributes } from \"react\";\nimport { cx } from \"../../cx\";\nimport type { VariantProps } from \"../../types\";\n\nconst textAreaVariants = cva(\n\t\"border-input flex min-h-24 w-full rounded-md border bg-form px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-drag-over:border-dashed data-drag-over:ring-4 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm\",\n\t{\n\t\tvariants: {\n\t\t\t/**\n\t\t\t
|
|
1
|
+
{"version":3,"sources":["../packages/text-area/src/text-area.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { forwardRef, useRef, useState } from \"react\";\nimport type { TextareaHTMLAttributes } from \"react\";\nimport { cx } from \"../../cx\";\nimport type { WithValidation } from \"../../input\";\nimport type { VariantProps } from \"../../types\";\n\nconst textAreaVariants = cva(\n\t\"border-input flex min-h-24 w-full rounded-md border bg-form px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-drag-over:border-dashed data-drag-over:ring-4 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm\",\n\t{\n\t\tvariants: {\n\t\t\t// /**\n\t\t\t// * Whether or not the textarea has a validation error.\n\t\t\t// */\n\t\t\t// invalid: {\n\t\t\t// \tfalse:\n\t\t\t// \t\t\"border-form text-strong ring-focus-accent placeholder:text-placeholder focus:border-accent-600 data-drag-over:border-accent-600\",\n\t\t\t// \ttrue: \"border-danger-600 ring-focus-danger placeholder:text-placeholder focus:border-danger-600 data-drag-over:border-dashed data-drag-over:border-danger-600\",\n\t\t\t// },\n\t\t\t/**\n\t\t\t * The visual style of the textarea.\n\t\t\t */\n\t\t\tappearance: {\n\t\t\t\tmonospaced: \"font-mono text-[0.9375rem] sm:text-[0.8125rem]\",\n\t\t\t},\n\t\t},\n\t\t// defaultVariants: {\n\t\t// \tinvalid: false,\n\t\t// },\n\t},\n);\n\nexport type TextAreaVariants = VariantProps<typeof textAreaVariants>;\n\nexport type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> &\n\tWithValidation & {\n\t\t/**\n\t\t * The visual style of the textarea.\n\t\t */\n\t\tappearance?: \"monospaced\";\n\t};\n\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\n\t(\n\t\t{\n\t\t\tappearance,\n\t\t\t\"aria-invalid\": _ariaInvalid,\n\t\t\tclassName,\n\t\t\tonDragEnter,\n\t\t\tonDragLeave,\n\t\t\tonDropCapture,\n\t\t\tvalidation: _validation,\n\t\t\t...props\n\t\t},\n\t\tref,\n\t) => {\n\t\tconst isInvalid = _ariaInvalid != null && _ariaInvalid !== \"false\";\n\t\tconst validation = isInvalid ? \"error\" : _validation;\n\t\tconst ariaInvalid = _ariaInvalid ?? validation === \"error\";\n\t\tconst [isDragOver, setIsDragOver] = useState(false);\n\t\tconst _ref = useRef<HTMLTextAreaElement | null>(null);\n\n\t\treturn (\n\t\t\t<textarea\n\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\tdata-validation={validation || undefined} // eslint-disable-line @typescript-eslint/prefer-nullish-coalescing\n\t\t\t\tclassName={cx(\n\t\t\t\t\tappearance === \"monospaced\" && \"font-mono text-[0.9375rem] sm:text-[0.8125rem]\",\n\t\t\t\t\t\"border-input flex min-h-24 w-full rounded-md border bg-form px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-drag-over:border-dashed data-drag-over:ring-4 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm\",\n\t\t\t\t\t\"placeholder:text-placeholder data-drag-over:border-dashed\",\n\t\t\t\t\t\"border-form text-strong ring-focus-accent focus:border-accent-600 data-drag-over:border-accent-600\",\n\t\t\t\t\t\"data-validation-error:border-danger-600 data-validation-error:ring-focus-danger data-validation-error:focus-visible:border-danger-600 data-validation-error:data-drag-over:border-danger-600\",\n\t\t\t\t\t\"data-validation-success:border-success-600 data-validation-success:ring-focus-success data-validation-success:focus-visible:border-success-600 data-validation-success:data-drag-over:border-success-600\",\n\t\t\t\t\t\"data-validation-warning:border-warning-600 data-validation-warning:ring-focus-warning data-validation-warning:focus-visible:border-warning-600 data-validation-warning:data-drag-over:border-warning-600\",\n\t\t\t\t\t//,\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tdata-drag-over={isDragOver}\n\t\t\t\tonDragEnter={(event) => {\n\t\t\t\t\tsetIsDragOver(true);\n\t\t\t\t\tonDragEnter?.(event);\n\t\t\t\t}}\n\t\t\t\tonDragLeave={(event) => {\n\t\t\t\t\tsetIsDragOver(false);\n\t\t\t\t\tonDragLeave?.(event);\n\t\t\t\t}}\n\t\t\t\tonDropCapture={(event) => {\n\t\t\t\t\tsetIsDragOver(false);\n\t\t\t\t\t_ref.current?.focus();\n\t\t\t\t\tonDropCapture?.(event);\n\t\t\t\t}}\n\t\t\t\tref={(node) => {\n\t\t\t\t\t_ref.current = node;\n\t\t\t\t\tif (typeof ref === \"function\") {\n\t\t\t\t\t\tref(node);\n\t\t\t\t\t} else if (ref) {\n\t\t\t\t\t\tref.current = node;\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t},\n);\nTextArea.displayName = \"TextArea\";\n\nexport { TextArea };\n"],"mappings":"wCAAA,OAAS,OAAAA,MAAW,2BACpB,OAAS,cAAAC,EAAY,UAAAC,EAAQ,YAAAC,MAAgB,QA8D1C,cAAAC,MAAA,oBAxDH,IAAMC,EAAmBC,EACxB,ySACA,CACC,SAAU,CAYT,WAAY,CACX,WAAY,gDACb,CACD,CAID,CACD,EAYMC,EAAWC,EAChB,CACC,CACC,WAAAC,EACA,eAAgBC,EAChB,UAAAC,EACA,YAAAC,EACA,YAAAC,EACA,cAAAC,EACA,WAAYC,EACZ,GAAGC,CACJ,EACAC,IACI,CAEJ,IAAMC,EADYR,GAAgB,MAAQA,IAAiB,QAC5B,QAAUK,EACnCI,EAAcT,GAAgBQ,IAAe,QAC7C,CAACE,EAAYC,CAAa,EAAIC,EAAS,EAAK,EAC5CC,EAAOC,EAAmC,IAAI,EAEpD,OACCpB,EAAC,YACA,eAAce,EACd,kBAAiBD,GAAc,OAC/B,UAAWO,EACVhB,IAAe,cAAgB,iDAC/B,ySACA,4DACA,qGACA,+LACA,2MACA,2MAEAE,CACD,EACA,iBAAgBS,EAChB,YAAcM,GAAU,CACvBL,EAAc,EAAI,EAClBT,IAAcc,CAAK,CACpB,EACA,YAAcA,GAAU,CACvBL,EAAc,EAAK,EACnBR,IAAca,CAAK,CACpB,EACA,cAAgBA,GAAU,CACzBL,EAAc,EAAK,EACnBE,EAAK,SAAS,MAAM,EACpBT,IAAgBY,CAAK,CACtB,EACA,IAAMC,GAAS,CACdJ,EAAK,QAAUI,EACX,OAAOV,GAAQ,WAClBA,EAAIU,CAAI,EACEV,IACVA,EAAI,QAAUU,EAEhB,EACC,GAAGX,EACL,CAEF,CACD,EACAT,EAAS,YAAc","names":["cva","forwardRef","useRef","useState","jsx","textAreaVariants","cva","TextArea","forwardRef","appearance","_ariaInvalid","className","onDragEnter","onDragLeave","onDropCapture","_validation","props","ref","validation","ariaInvalid","isDragOver","setIsDragOver","useState","_ref","useRef","cx","event","node"]}
|
|
@@ -42,11 +42,14 @@ type WithInputType = {
|
|
|
42
42
|
*/
|
|
43
43
|
type?: InputType;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
/**
|
|
46
|
+
* An input component with a prop for validation state.
|
|
47
|
+
*/
|
|
48
|
+
type WithValidation = {
|
|
46
49
|
/**
|
|
47
|
-
*
|
|
50
|
+
* The validation state of the input.
|
|
48
51
|
*/
|
|
49
|
-
|
|
52
|
+
validation?: "error" | "success" | "warning" | false;
|
|
50
53
|
};
|
|
51
54
|
|
|
52
|
-
export type { AutoComplete as A, InputType as I,
|
|
55
|
+
export type { AutoComplete as A, InputType as I, WithValidation as W, WithAutoComplete as a, WithInputType as b };
|
package/package.json
CHANGED
package/dist/chunk-MFBS3YLE.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./chunk-NREABJ6Y.js";import{a as y}from"./chunk-A5H52ODC.js";import{Warning as R}from"@phosphor-icons/react/Warning";import E from"clsx";import{createContext as L,forwardRef as v,useContext as g,useRef as W}from"react";import{jsx as i,jsxs as C}from"react/jsx-runtime";var c=v(({children:t,className:o,...r},p)=>{let n=!!t,s=W(null);return n?i(w,{className:o,forwardedRef:p,innerRef:s,...r,children:t}):i(w,{...r,className:o,forwardedRef:p,innerRef:s,children:i(m,{...r})})});c.displayName="Input";var m=v(({"aria-invalid":t,className:o,invalid:r=!1,...p},n)=>{let{"aria-invalid":s,invalid:a,forwardedRef:e,innerRef:u,...l}=g(P),d=s??a??t??r,f={...l,...p,type:p.type??l.type??"text"};return i("div",{className:"min-w-0 flex-1 text-left",children:i("input",{"aria-invalid":d,className:y("w-full bg-form placeholder:text-placeholder focus:outline-none",o),ref:b(n,e,u),...f})})});m.displayName="InputCapture";var P=L({invalid:!1,innerRef:{current:null}}),w=({"aria-invalid":t,"aria-disabled":o,children:r,className:p,disabled:n,forwardedRef:s,innerRef:a,invalid:e,style:u,type:l,...d})=>{let f=t??e;return i(P.Provider,{value:{"aria-invalid":t,"aria-disabled":o,disabled:n,invalid:e,type:l,...d,forwardedRef:s,innerRef:a},children:C("div",{"aria-invalid":f,"aria-disabled":n??o,className:y("relative flex h-11 w-full items-center gap-1.5 rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-within:outline-none focus-within:ring-4 focus-visible:outline-none focus-visible:ring-4 sm:h-9 sm:text-sm","aria-disabled:opacity-50","has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-6 sm:[&_svg]:size-5","border-form text-strong focus-within:border-accent-600 focus-within:ring-focus-accent",f&&"border-danger-600 pe-2.5 focus-within:border-danger-600 focus-within:ring-focus-danger",p),onClick:()=>{a?.current?.focus()},style:u,children:[r,e&&C("div",{className:"pointer-events-none order-last select-none text-danger-600",children:[i("span",{className:"sr-only",children:E("The value entered for the",d.name,"input has failed validation.")}),i(R,{"aria-hidden":!0,weight:"fill"})]})]})})};import{Eye as A}from"@phosphor-icons/react/Eye";import{EyeClosed as N}from"@phosphor-icons/react/EyeClosed";import k from"clsx";import{forwardRef as B,useEffect as F,useState as T}from"react";import{jsx as M,jsxs as h}from"react/jsx-runtime";var H=B(({maskHiddenValue:t=!1,onBlur:o,onFocus:r,onValueVisibilityChange:p,showValue:n=!1,...s},a)=>{let[e,u]=T(n),l=e?"text":"password",d=e?A:N;F(()=>{u(n)},[n]);let[f,x]=T(!1);return h(c,{onBlur:I=>{x(!1),o?.(I)},onFocus:I=>{x(!0),r?.(I)},type:l,ref:a,...s,children:[M(m,{className:k(t&&!e&&!f&&"max-w-6")}),h("button",{type:"button",tabIndex:-1,className:"ml-1 cursor-pointer bg-inherit p-0 text-body hover:text-strong",onClick:()=>{u(!e),p?.(!e)},children:[h("span",{className:"sr-only",children:["Turn password visibility ",e?"off":"on"]}),M(d,{"aria-hidden":!0})]})]})});H.displayName="PasswordInput";function O(t){return t!=null&&t instanceof HTMLInputElement}export{c as a,m as b,H as c,O as d};
|
|
2
|
-
//# sourceMappingURL=chunk-MFBS3YLE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../packages/input/src/input.tsx","../packages/input/src/password-input.tsx","../packages/input/src/is-input.ts"],"sourcesContent":["import { Warning } from \"@phosphor-icons/react/Warning\";\nimport clsx from \"clsx\";\nimport type { ElementRef, ForwardedRef, InputHTMLAttributes, MutableRefObject, PropsWithChildren } from \"react\";\nimport { createContext, forwardRef, useContext, useRef } from \"react\";\nimport { composeRefs } from \"../../compose-refs\";\nimport { cx } from \"../../cx\";\nimport type { WithAutoComplete, WithInputType, WithInvalid } from \"./types\";\n\ntype BaseProps = WithAutoComplete & WithInputType & WithInvalid;\n\n/**\n * The props for the `Input` component.\n */\ntype InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> & BaseProps & PropsWithChildren;\n\n/**\n * Used to create interactive controls for web-based forms in order to accept data from the user\n */\nconst Input = forwardRef<HTMLInputElement, InputProps>(({ children, className, ...props }, forwardedRef) => {\n\tconst hasChildren = Boolean(children);\n\tconst innerRef = useRef<ElementRef<\"input\">>(null);\n\n\tif (hasChildren) {\n\t\treturn (\n\t\t\t<InputContainer className={className} forwardedRef={forwardedRef} innerRef={innerRef} {...props}>\n\t\t\t\t{children}\n\t\t\t</InputContainer>\n\t\t);\n\t}\n\n\treturn (\n\t\t<InputContainer {...props} className={className} forwardedRef={forwardedRef} innerRef={innerRef}>\n\t\t\t<InputCapture {...props} />\n\t\t</InputContainer>\n\t);\n});\nInput.displayName = \"Input\";\n\ntype InputCaptureProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> & BaseProps;\n\n/**\n * The actual <input /> element that captures user input.\n */\nconst InputCapture = forwardRef<HTMLInputElement, InputCaptureProps>(\n\t({ \"aria-invalid\": _ariaInvalid, className, invalid = false, ...restProps }, ref) => {\n\t\tconst {\n\t\t\t\"aria-invalid\": ctxAriaInvalid,\n\t\t\tinvalid: ctxInvalid,\n\t\t\tforwardedRef: ctxForwardedRef,\n\t\t\tinnerRef: ctxInnerRef,\n\t\t\t...ctx\n\t\t} = useContext(InputContext);\n\t\tconst ariaInvalid = ctxAriaInvalid ?? ctxInvalid ?? _ariaInvalid ?? invalid;\n\t\tconst props = { ...ctx, ...restProps, type: restProps.type ?? ctx.type ?? \"text\" };\n\n\t\treturn (\n\t\t\t<div className=\"min-w-0 flex-1 text-left\">\n\t\t\t\t<input\n\t\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\t\tclassName={cx(\"w-full bg-form placeholder:text-placeholder focus:outline-none\", className)}\n\t\t\t\t\tref={composeRefs(ref, ctxForwardedRef, ctxInnerRef)}\n\t\t\t\t\t{...props}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t},\n);\nInputCapture.displayName = \"InputCapture\";\n\ntype InputContextType = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> &\n\tBaseProps & {\n\t\t/**\n\t\t * inner ref for the input element, controlled by `Input`\n\t\t */\n\t\tinnerRef: MutableRefObject<HTMLInputElement | null>;\n\t\t/**\n\t\t * forwarded ref to the input element, forwarded from `Input` to `InputCapture`\n\t\t */\n\t\tforwardedRef?: ForwardedRef<HTMLInputElement>;\n\t};\n\nconst InputContext = createContext<InputContextType>({ invalid: false, innerRef: { current: null } });\n\ntype InputContainerProps = InputHTMLAttributes<HTMLInputElement> &\n\tBaseProps & {\n\t\t/**\n\t\t * @private inner ref for the input element, controlled by `Input`\n\t\t */\n\t\tinnerRef: MutableRefObject<HTMLInputElement | null>;\n\t\t/**\n\t\t * @private ref to the input element, forwarded from `Input` to `InputCapture`\n\t\t */\n\t\tforwardedRef: ForwardedRef<HTMLInputElement>;\n\t};\n\n/**\n * The container for the input element.\n */\nconst InputContainer = ({\n\t\"aria-invalid\": _ariaInvalid,\n\t\"aria-disabled\": _ariaDisabled,\n\tchildren,\n\tclassName,\n\tdisabled,\n\tforwardedRef,\n\tinnerRef,\n\tinvalid,\n\tstyle,\n\ttype,\n\t...props\n}: InputContainerProps) => {\n\tconst ariaInvalid = _ariaInvalid ?? invalid;\n\n\treturn (\n\t\t<InputContext.Provider\n\t\t\tvalue={{\n\t\t\t\t\"aria-invalid\": _ariaInvalid,\n\t\t\t\t\"aria-disabled\": _ariaDisabled,\n\t\t\t\tdisabled,\n\t\t\t\tinvalid,\n\t\t\t\ttype,\n\t\t\t\t...props,\n\t\t\t\tforwardedRef,\n\t\t\t\tinnerRef,\n\t\t\t}}\n\t\t>\n\t\t\t<div\n\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\taria-disabled={disabled ?? _ariaDisabled}\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"relative flex h-11 w-full items-center gap-1.5 rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-within:outline-none focus-within:ring-4 focus-visible:outline-none focus-visible:ring-4 sm:h-9 sm:text-sm\",\n\t\t\t\t\t\"aria-disabled:opacity-50\",\n\t\t\t\t\t\"has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-6 sm:[&_svg]:size-5\",\n\t\t\t\t\t\"border-form text-strong focus-within:border-accent-600 focus-within:ring-focus-accent\",\n\t\t\t\t\tariaInvalid && \"border-danger-600 pe-2.5 focus-within:border-danger-600 focus-within:ring-focus-danger\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tinnerRef?.current?.focus();\n\t\t\t\t}}\n\t\t\t\tstyle={style}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t{invalid && (\n\t\t\t\t\t<div className=\"pointer-events-none order-last select-none text-danger-600\">\n\t\t\t\t\t\t<span className=\"sr-only\">\n\t\t\t\t\t\t\t{clsx(\"The value entered for the\", props.name, \"input has failed validation.\")}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<Warning aria-hidden weight=\"fill\" />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</InputContext.Provider>\n\t);\n};\n\nexport { Input, InputCapture };\nexport type { InputProps, InputCaptureProps };\n","import { Eye } from \"@phosphor-icons/react/Eye\";\nimport { EyeClosed } from \"@phosphor-icons/react/EyeClosed\";\nimport clsx from \"clsx\";\nimport { forwardRef, useEffect, useState } from \"react\";\nimport type { InputHTMLAttributes } from \"react\";\nimport { Input, InputCapture } from \"./input\";\nimport type { InputType, WithAutoComplete, WithInvalid } from \"./types\";\n\ntype PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> &\n\tWithInvalid &\n\tWithAutoComplete & {\n\t\t/**\n\t\t * Mask the true length of the password input with a fixed width when the value is hidden and the input is not focused.\n\t\t * @default false\n\t\t */\n\t\tmaskHiddenValue?: boolean;\n\t\t/**\n\t\t * Callback for when the visibility of the password value changes.\n\t\t */\n\t\tonValueVisibilityChange?: (visible: boolean) => void;\n\t\t/**\n\t\t * Show/hide the password value as a controlled state.\n\t\t * @default false\n\t\t */\n\t\tshowValue?: boolean;\n\t};\n\ntype PasswordInputType = Extract<InputType, \"text\" | \"password\">;\n\nconst PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>(\n\t({ maskHiddenValue = false, onBlur, onFocus, onValueVisibilityChange, showValue = false, ...props }, ref) => {\n\t\tconst [showPassword, setShowPassword] = useState<boolean>(showValue);\n\t\tconst type: PasswordInputType = showPassword ? \"text\" : \"password\";\n\t\tconst EyeCon = showPassword ? Eye : EyeClosed;\n\n\t\tuseEffect(() => {\n\t\t\tsetShowPassword(showValue);\n\t\t}, [showValue]);\n\n\t\tconst [isFocused, setIsFocused] = useState(false);\n\t\tconst shouldMaskHiddenValue = maskHiddenValue && !showPassword && !isFocused;\n\n\t\treturn (\n\t\t\t<Input\n\t\t\t\tonBlur={(event) => {\n\t\t\t\t\tsetIsFocused(false);\n\t\t\t\t\tonBlur?.(event);\n\t\t\t\t}}\n\t\t\t\tonFocus={(event) => {\n\t\t\t\t\tsetIsFocused(true);\n\t\t\t\t\tonFocus?.(event);\n\t\t\t\t}}\n\t\t\t\ttype={type}\n\t\t\t\tref={ref}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<InputCapture className={clsx(shouldMaskHiddenValue && \"max-w-6\")} />\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\ttabIndex={-1}\n\t\t\t\t\tclassName=\"ml-1 cursor-pointer bg-inherit p-0 text-body hover:text-strong\"\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tsetShowPassword(!showPassword);\n\t\t\t\t\t\tonValueVisibilityChange?.(!showPassword);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<span className=\"sr-only\">Turn password visibility {showPassword ? \"off\" : \"on\"}</span>\n\t\t\t\t\t<EyeCon aria-hidden />\n\t\t\t\t</button>\n\t\t\t</Input>\n\t\t);\n\t},\n);\nPasswordInput.displayName = \"PasswordInput\";\n\nexport { PasswordInput };\nexport type { PasswordInputProps };\n","/**\n * Type guard for an HTMLInputElement.\n */\nexport function isInput(value: unknown): value is HTMLInputElement {\n\treturn value != null && value instanceof HTMLInputElement;\n}\n"],"mappings":"gFAAA,OAAS,WAAAA,MAAe,gCACxB,OAAOC,MAAU,OAEjB,OAAS,iBAAAC,EAAe,cAAAC,EAAY,cAAAC,EAAY,UAAAC,MAAc,QAqB3D,cAAAC,EAwHE,QAAAC,MAxHF,oBANH,IAAMC,EAAQC,EAAyC,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAAiB,CAC3G,IAAMC,EAAc,EAAQJ,EACtBK,EAAWC,EAA4B,IAAI,EAEjD,OAAIF,EAEFR,EAACW,EAAA,CAAe,UAAWN,EAAW,aAAcE,EAAc,SAAUE,EAAW,GAAGH,EACxF,SAAAF,EACF,EAKDJ,EAACW,EAAA,CAAgB,GAAGL,EAAO,UAAWD,EAAW,aAAcE,EAAc,SAAUE,EACtF,SAAAT,EAACY,EAAA,CAAc,GAAGN,EAAO,EAC1B,CAEF,CAAC,EACDJ,EAAM,YAAc,QAOpB,IAAMU,EAAeT,EACpB,CAAC,CAAE,eAAgBU,EAAc,UAAAR,EAAW,QAAAS,EAAU,GAAO,GAAGC,CAAU,EAAGC,IAAQ,CACpF,GAAM,CACL,eAAgBC,EAChB,QAASC,EACT,aAAcC,EACd,SAAUC,EACV,GAAGC,CACJ,EAAIC,EAAWC,CAAY,EACrBC,EAAcP,GAAkBC,GAAcL,GAAgBC,EAC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AC,MAAgB,QAqD5C,cAAAC,EAUC,QAAAC,MAVD,oBA3BJ,IAAMC,EAAgBC,EACrB,CAAC,CAAE,gBAAAC,EAAkB,GAAO,OAAAC,EAAQ,QAAAC,EAAS,wBAAAC,EAAyB,UAAAC,EAAY,GAAO,GAAGC,CAAM,EAAGC,IAAQ,CAC5G,GAAM,CAACC,EAAcC,CAAe,EAAIC,EAAkBL,CAAS,EAC7DM,EAA0BH,EAAe,OAAS,WAClDI,EAASJ,EAAeK,EAAMC,EAEpCC,EAAU,IAAM,CACfN,EAAgBJ,CAAS,CAC1B,EAAG,CAACA,CAAS,CAAC,EAEd,GAAM,CAACW,EAAWC,CAAY,EAAIP,EAAS,EAAK,EAGhD,OACCZ,EAACoB,EAAA,CACA,OAASC,GAAU,CAClBF,EAAa,EAAK,EAClBf,IAASiB,CAAK,CACf,EACA,QAAUA,GAAU,CACnBF,EAAa,EAAI,EACjBd,IAAUgB,CAAK,CAChB,EACA,KAAMR,EACN,IAAKJ,EACJ,GAAGD,EAEJ,UAAAT,EAACuB,EAAA,CAAa,UAAWC,EAhBGpB,GAAmB,CAACO,GAAgB,CAACQ,GAgBV,SAAS,EAAG,EACnElB,EAAC,UACA,KAAK,SACL,SAAU,GACV,UAAU,iEACV,QAAS,IAAM,CACdW,EAAgB,CAACD,CAAY,EAC7BJ,IAA0B,CAACI,CAAY,CACxC,EAEA,UAAAV,EAAC,QAAK,UAAU,UAAU,sCAA0BU,EAAe,MAAQ,MAAK,EAChFX,EAACe,EAAA,CAAO,cAAW,GAAC,GACrB,GACD,CAEF,CACD,EACAb,EAAc,YAAc,gBCtErB,SAASuB,EAAQC,EAA2C,CAClE,OAAOA,GAAS,MAAQA,aAAiB,gBAC1C","names":["Warning","clsx","createContext","forwardRef","useContext","useRef","jsx","jsxs","Input","forwardRef","children","className","props","forwardedRef","hasChildren","innerRef","useRef","InputContainer","InputCapture","_ariaInvalid","invalid","restProps","ref","ctxAriaInvalid","ctxInvalid","ctxForwardedRef","ctxInnerRef","ctx","useContext","InputContext","ariaInvalid","cx","composeRefs","createContext","_ariaDisabled","disabled","style","type","clsx","Warning","Eye","EyeClosed","clsx","forwardRef","useEffect","useState","jsx","jsxs","PasswordInput","forwardRef","maskHiddenValue","onBlur","onFocus","onValueVisibilityChange","showValue","props","ref","showPassword","setShowPassword","useState","type","EyeCon","Eye","EyeClosed","useEffect","isFocused","setIsFocused","Input","event","InputCapture","clsx","isInput","value"]}
|