@treeal/ds 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/style.css +1 -1
- package/dist/components/Input/Input.d.ts +4 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.esm10.js +1 -1
- package/dist/index.esm11.js +1 -1
- package/dist/index.esm12.js +1 -1
- package/dist/index.esm13.js +1 -1
- package/dist/index.esm15.js +1 -1
- package/dist/index.esm16.js +1 -1
- package/dist/index.esm19.js +60 -22
- package/dist/index.esm19.js.map +1 -1
- package/dist/index.esm20.js +22 -60
- package/dist/index.esm20.js.map +1 -1
- package/dist/index.esm21.js +22 -20
- package/dist/index.esm21.js.map +1 -1
- package/dist/index.esm22.js +40 -12
- package/dist/index.esm22.js.map +1 -1
- package/dist/index.esm23.js +60 -22
- package/dist/index.esm23.js.map +1 -1
- package/dist/index.esm24.js +22 -22
- package/dist/index.esm25.js +20 -36
- package/dist/index.esm25.js.map +1 -1
- package/dist/index.esm26.js +22 -102
- package/dist/index.esm26.js.map +1 -1
- package/dist/index.esm27.js +102 -22
- package/dist/index.esm27.js.map +1 -1
- package/dist/index.esm28.js +12 -60
- package/dist/index.esm28.js.map +1 -1
- package/dist/index.esm6.js +1 -1
- package/dist/index.esm7.js +1 -1
- package/dist/index.esm8.js +1 -1
- package/dist/index.esm9.js +30 -28
- package/dist/index.esm9.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs9.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs9.js","sources":["../components/Input/Input.tsx"],"sourcesContent":["import React, { useId, useState } from 'react';\nimport styles from './Input.module.css';\n\nexport type InputState = 'Default' | 'Hover' | 'Active' | 'Disabled' | 'Error';\nexport type InputType = 'text' | 'email' | 'password' | 'search' | 'date';\n\n// ─── Built-in SVG icons ───────────────────────────────────────────────────────\n\nfunction IconEmail() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <polyline points=\"22,6 12,13 2,6\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconSearch() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"11\" cy=\"11\" r=\"7\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n <path d=\"M16.5 16.5L21 21\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n </svg>\n );\n}\n\nfunction IconCalendar() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M16 2v4M8 2v4M3 10h18\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconLock() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"11\" rx=\"2\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M8 11V7a4 4 0 0 1 8 0v4\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconEye() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <circle cx=\"12\" cy=\"12\" r=\"3\" stroke=\"currentColor\" strokeWidth=\"1.75\"/>\n </svg>\n );\n}\n\nfunction IconEyeOff() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M1 1l22 22\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n </svg>\n );\n}\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport interface InputProps\n extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'type'> {\n /** Visual/interaction state. Defaults to 'Default'. */\n state?: InputState;\n /**\n * Semantic input type. Sets the correct HTML type and auto-adds icons.\n * - email → envelope icon left\n * - password → lock icon left + show/hide toggle right\n * - search → search icon left + green search button right\n * - date → calendar icon right\n */\n inputType?: InputType;\n /** Label text rendered above the field. */\n label?: string;\n placeholder?: string;\n /** Helper or error message rendered below the field. */\n message?: string;\n /** Info icon rendered beside the label. */\n iconLabel?: React.ReactNode;\n /** Icon rendered inside the field, left side (24×24 slot). */\n iconLeft?: React.ReactNode;\n /** Icon rendered inside the field, right side (24×24 slot). */\n iconRight?: React.ReactNode;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n /** Called when search button is clicked (only for inputType=\"search\") */\n onSearch?: () => void;\n}\n\n// ─── Component ────────────────────────────────────────────────────────────────\n\nexport function Input({\n state = 'Default',\n inputType = 'text',\n label,\n placeholder,\n message,\n iconLabel,\n iconLeft,\n iconRight,\n value,\n onChange,\n onSearch,\n id: idProp,\n className,\n ...props\n}: InputProps) {\n const generatedId = useId();\n const id = idProp ?? generatedId;\n const [showPassword, setShowPassword] = useState(false);\n\n const isDisabled = state === 'Disabled';\n const isError = state === 'Error';\n\n // ── Resolve HTML type ──────────────────────────────────────────────────────\n const htmlType = inputType === 'password'\n ? (showPassword ? 'text' : 'password')\n : inputType === 'search'\n ? 'text'\n : inputType;\n\n // ── Resolve built-in icons ─────────────────────────────────────────────────\n const resolvedIconLeft: React.ReactNode =\n iconLeft ??\n (inputType === 'email' ? <IconEmail /> :\n inputType === 'password' ? <IconLock /> :\n undefined);\n\n const resolvedIconRight: React.ReactNode =\n iconRight ??\n (inputType === 'password'\n ? (\n <button\n type=\"button\"\n className={styles.toggleBtn}\n onClick={() => setShowPassword((v) => !v)}\n aria-label={showPassword ? 'Ocultar senha' : 'Mostrar senha'}\n tabIndex={-1}\n >\n {showPassword ? <IconEye /> : <IconEyeOff />}\n </button>\n )\n : inputType === 'date'\n ? <IconCalendar />\n : inputType === 'search'\n ? (\n <button\n type=\"button\"\n className={styles.searchBtn}\n onClick={onSearch}\n aria-label=\"Buscar\"\n tabIndex={-1}\n >\n <IconSearch />\n </button>\n )\n : undefined);\n\n const fieldClass = [\n styles.field,\n state === 'Hover' ? styles.hover : '',\n state === 'Active' ? styles.active : '',\n isDisabled ? styles.disabled : '',\n isError ? styles.error : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={styles.wrapper}>\n {label && (\n <div className={styles.labelRow}>\n <label\n htmlFor={id}\n className={[styles.label, isDisabled ? styles.labelDisabled : '']\n .filter(Boolean)\n .join(' ')}\n >\n {label}\n </label>\n {iconLabel && (\n <span className={styles.labelIcon} aria-hidden=\"true\">\n {iconLabel}\n </span>\n )}\n </div>\n )}\n\n <div className={fieldClass}>\n {resolvedIconLeft && (\n <span className={styles.icon} aria-hidden=\"true\">\n {resolvedIconLeft}\n </span>\n )}\n <input\n id={id}\n type={htmlType}\n className={styles.input}\n placeholder={placeholder}\n disabled={isDisabled}\n value={value}\n onChange={onChange}\n aria-invalid={isError}\n aria-describedby={message ? `${id}-message` : undefined}\n {...props}\n />\n {resolvedIconRight && (\n <span className={[styles.icon, inputType === 'search' || inputType === 'password' ? styles.iconAction : ''].filter(Boolean).join(' ')}>\n {resolvedIconRight}\n </span>\n )}\n </div>\n\n {message && (\n <p\n id={`${id}-message`}\n className={[styles.message, isError ? styles.messageError : '']\n .filter(Boolean)\n .join(' ')}\n >\n {message}\n </p>\n )}\n </div>\n );\n}\n"],"names":["IconEmail","jsxs","jsx","IconSearch","IconCalendar","IconLock","IconEye","IconEyeOff","Input","state","inputType","label","placeholder","message","iconLabel","iconLeft","iconRight","value","onChange","onSearch","idProp","className","props","generatedId","useId","id","showPassword","setShowPassword","useState","isDisabled","isError","htmlType","resolvedIconLeft","resolvedIconRight","styles","v","fieldClass"],"mappings":"sKAQA,SAASA,GAAY,CACnB,OACEC,EAAAA,KAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,cAAY,OACtE,SAAA,CAAAC,EAAAA,IAAC,OAAA,CAAK,EAAE,8EAA8E,OAAO,eAAe,YAAY,OAAO,cAAc,QAAQ,eAAe,OAAA,CAAO,EAC3KA,EAAAA,IAAC,WAAA,CAAS,OAAO,iBAAiB,OAAO,eAAe,YAAY,OAAO,cAAc,QAAQ,eAAe,OAAA,CAAO,CAAA,EACzH,CAEJ,CAEA,SAASC,GAAa,CACpB,OACEF,EAAAA,KAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,cAAY,OACtE,SAAA,CAAAC,EAAAA,IAAC,SAAA,CAAO,GAAG,KAAK,GAAG,KAAK,EAAE,IAAI,OAAO,eAAe,YAAY,OAAO,cAAc,QAAO,EAC5FA,EAAAA,IAAC,QAAK,EAAE,mBAAmB,OAAO,eAAe,YAAY,OAAO,cAAc,OAAA,CAAO,CAAA,EAC3F,CAEJ,CAEA,SAASE,GAAe,CACtB,OACEH,EAAAA,KAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,cAAY,OACtE,SAAA,CAAAC,MAAC,QAAK,EAAE,IAAI,EAAE,IAAI,MAAM,KAAK,OAAO,KAAK,GAAG,IAAI,OAAO,eAAe,YAAY,OAAO,cAAc,QAAQ,eAAe,QAAO,EACrIA,EAAAA,IAAC,OAAA,CAAK,EAAE,wBAAwB,OAAO,eAAe,YAAY,OAAO,cAAc,QAAQ,eAAe,OAAA,CAAO,CAAA,EACvH,CAEJ,CAEA,SAASG,GAAW,CAClB,OACEJ,EAAAA,KAAC,MAAA,CAAI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SACrB,SAAA,CAAAhC,EAAAA,IAAC,QAAA,CACC,QAASuB,EACT,UAAW,CAACS,EAAAA,QAAO,MAAOL,EAAaK,EAAAA,QAAO,cAAgB,EAAE,EAC7D,OAAO,OAAO,EACd,KAAK,GAAG,EAEV,SAAAvB,CAAA,CAAA,EAEFG,SACE,OAAA,CAAK,UAAWoB,EAAAA,QAAO,UAAW,cAAY,OAC5C,SAAApB,CAAA,CACH,CAAA,EAEJ,EAGFb,EAAAA,KAAC,MAAA,CAAI,UAAWmC,EACb,SAAA,CAAAJ,SACE,OAAA,CAAK,UAAWE,EAAAA,QAAO,KAAM,cAAY,OACvC,SAAAF,CAAA,CACH,EAEF9B,EAAAA,IAAC,QAAA,CACC,GAAAuB,EACA,KAAMM,EACN,UAAWG,EAAAA,QAAO,MAClB,YAAAtB,EACA,SAAUiB,EACV,MAAAZ,EACA,SAAAC,EACA,eAAcY,EACd,mBAAkBjB,EAAU,GAAGY,CAAE,WAAa,OAC7C,GAAGH,CAAA,CAAA,EAELW,SACE,OAAA,CAAK,UAAW,CAACC,EAAAA,QAAO,KAAMxB,IAAc,UAAYA,IAAc,WAAawB,EAAAA,QAAO,WAAa,EAAE,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EACjI,SAAAD,CAAA,CACH,CAAA,EAEJ,EAECpB,GACCX,EAAAA,IAAC,IAAA,CACC,GAAI,GAAGuB,CAAE,WACT,UAAW,CAACS,EAAAA,QAAO,QAASJ,EAAUI,EAAAA,QAAO,aAAe,EAAE,EAC3D,OAAO,OAAO,EACd,KAAK,GAAG,EAEV,SAAArB,CAAA,CAAA,CACH,EAEJ,CAEJ"}
|
|
1
|
+
{"version":3,"file":"index.cjs9.js","sources":["../components/Input/Input.tsx"],"sourcesContent":["import React, { useId, useState } from 'react';\nimport styles from './Input.module.css';\n\nexport type InputState = 'Default' | 'Hover' | 'Active' | 'Disabled' | 'Error';\nexport type InputType = 'text' | 'email' | 'password' | 'search' | 'date';\nexport type InputSize = 'sm' | 'md';\n\n// ─── Built-in SVG icons ───────────────────────────────────────────────────────\n\nfunction IconEmail() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <polyline points=\"22,6 12,13 2,6\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconSearch() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"11\" cy=\"11\" r=\"7\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n <path d=\"M16.5 16.5L21 21\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n </svg>\n );\n}\n\nfunction IconCalendar() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M16 2v4M8 2v4M3 10h18\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconLock() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"11\" rx=\"2\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M8 11V7a4 4 0 0 1 8 0v4\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconEye() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <circle cx=\"12\" cy=\"12\" r=\"3\" stroke=\"currentColor\" strokeWidth=\"1.75\"/>\n </svg>\n );\n}\n\nfunction IconEyeOff() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M1 1l22 22\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n </svg>\n );\n}\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport interface InputProps\n extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'type'> {\n /** Visual/interaction state. Defaults to 'Default'. */\n state?: InputState;\n /** Size variant. sm = 36px height, md = 48px height. Defaults to 'md'. */\n size?: InputSize;\n /**\n * Semantic input type. Sets the correct HTML type and auto-adds icons.\n * - email → envelope icon left\n * - password → lock icon left + show/hide toggle right\n * - search → search icon left + green search button right\n * - date → calendar icon right\n */\n inputType?: InputType;\n /** Label text rendered above the field. */\n label?: string;\n placeholder?: string;\n /** Helper or error message rendered below the field. */\n message?: string;\n /** Info icon rendered beside the label. */\n iconLabel?: React.ReactNode;\n /** Icon rendered inside the field, left side (24×24 slot). */\n iconLeft?: React.ReactNode;\n /** Icon rendered inside the field, right side (24×24 slot). */\n iconRight?: React.ReactNode;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n /** Called when search button is clicked (only for inputType=\"search\") */\n onSearch?: () => void;\n}\n\n// ─── Component ────────────────────────────────────────────────────────────────\n\nexport function Input({\n state = 'Default',\n size = 'md',\n inputType = 'text',\n label,\n placeholder,\n message,\n iconLabel,\n iconLeft,\n iconRight,\n value,\n onChange,\n onSearch,\n id: idProp,\n className,\n ...props\n}: InputProps) {\n const generatedId = useId();\n const id = idProp ?? generatedId;\n const [showPassword, setShowPassword] = useState(false);\n\n const isDisabled = state === 'Disabled';\n const isError = state === 'Error';\n\n // ── Resolve HTML type ──────────────────────────────────────────────────────\n const htmlType = inputType === 'password'\n ? (showPassword ? 'text' : 'password')\n : inputType === 'search'\n ? 'text'\n : inputType;\n\n // ── Resolve built-in icons ─────────────────────────────────────────────────\n const resolvedIconLeft: React.ReactNode =\n iconLeft ??\n (inputType === 'email' ? <IconEmail /> :\n inputType === 'password' ? <IconLock /> :\n undefined);\n\n const resolvedIconRight: React.ReactNode =\n iconRight ??\n (inputType === 'password'\n ? (\n <button\n type=\"button\"\n className={styles.toggleBtn}\n onClick={() => setShowPassword((v) => !v)}\n aria-label={showPassword ? 'Ocultar senha' : 'Mostrar senha'}\n tabIndex={-1}\n >\n {showPassword ? <IconEye /> : <IconEyeOff />}\n </button>\n )\n : inputType === 'date'\n ? <IconCalendar />\n : inputType === 'search'\n ? (\n <button\n type=\"button\"\n className={styles.searchBtn}\n onClick={onSearch}\n aria-label=\"Buscar\"\n tabIndex={-1}\n >\n <IconSearch />\n </button>\n )\n : undefined);\n\n const fieldClass = [\n styles.field,\n size === 'sm' ? styles.fieldSm : styles.fieldMd,\n state === 'Hover' ? styles.hover : '',\n state === 'Active' ? styles.active : '',\n isDisabled ? styles.disabled : '',\n isError ? styles.error : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={styles.wrapper}>\n {label && (\n <div className={styles.labelRow}>\n <label\n htmlFor={id}\n className={[styles.label, isDisabled ? styles.labelDisabled : '']\n .filter(Boolean)\n .join(' ')}\n >\n {label}\n </label>\n {iconLabel && (\n <span className={styles.labelIcon} aria-hidden=\"true\">\n {iconLabel}\n </span>\n )}\n </div>\n )}\n\n <div className={fieldClass}>\n {resolvedIconLeft && (\n <span className={styles.icon} aria-hidden=\"true\">\n {resolvedIconLeft}\n </span>\n )}\n <input\n id={id}\n type={htmlType}\n className={styles.input}\n placeholder={placeholder}\n disabled={isDisabled}\n value={value}\n onChange={onChange}\n aria-invalid={isError}\n aria-describedby={message ? `${id}-message` : undefined}\n {...props}\n />\n {resolvedIconRight && (\n <span className={[styles.icon, inputType === 'search' || inputType === 'password' ? styles.iconAction : ''].filter(Boolean).join(' ')}>\n {resolvedIconRight}\n </span>\n )}\n </div>\n\n {message && (\n <p\n id={`${id}-message`}\n className={[styles.message, isError ? styles.messageError : '']\n .filter(Boolean)\n .join(' ')}\n >\n {message}\n </p>\n )}\n </div>\n );\n}\n"],"names":["IconEmail","jsxs","jsx","IconSearch","IconCalendar","IconLock","IconEye","IconEyeOff","Input","state","size","inputType","label","placeholder","message","iconLabel","iconLeft","iconRight","value","onChange","onSearch","idProp","className","props","generatedId","useId","id","showPassword","setShowPassword","useState","isDisabled","isError","htmlType","resolvedIconLeft","resolvedIconRight","styles","v","fieldClass"],"mappings":"sKASA,SAASA,GAAY,CACnB,OACEC,EAAAA,KAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,cAAY,OACtE,SAAA,CAAAC,EAAAA,IAAC,OAAA,CAAK,EAAE,8EAA8E,OAAO,eAAe,YAAY,OAAO,cAAc,QAAQ,eAAe,OAAA,CAAO,EAC3KA,EAAAA,IAAC,WAAA,CAAS,OA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I,UAAWoC,EACb,SAAA,CAAAJ,SACE,OAAA,CAAK,UAAWE,EAAAA,QAAO,KAAM,cAAY,OACvC,SAAAF,CAAA,CACH,EAEF/B,EAAAA,IAAC,QAAA,CACC,GAAAwB,EACA,KAAMM,EACN,UAAWG,EAAAA,QAAO,MAClB,YAAAtB,EACA,SAAUiB,EACV,MAAAZ,EACA,SAAAC,EACA,eAAcY,EACd,mBAAkBjB,EAAU,GAAGY,CAAE,WAAa,OAC7C,GAAGH,CAAA,CAAA,EAELW,SACE,OAAA,CAAK,UAAW,CAACC,EAAAA,QAAO,KAAMxB,IAAc,UAAYA,IAAc,WAAawB,EAAAA,QAAO,WAAa,EAAE,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EACjI,SAAAD,CAAA,CACH,CAAA,EAEJ,EAECpB,GACCZ,EAAAA,IAAC,IAAA,CACC,GAAI,GAAGwB,CAAE,WACT,UAAW,CAACS,EAAAA,QAAO,QAASJ,EAAUI,EAAAA,QAAO,aAAe,EAAE,EAC3D,OAAO,OAAO,EACd,KAAK,GAAG,EAEV,SAAArB,CAAA,CAAA,CACH,EAEJ,CAEJ"}
|
package/dist/index.esm10.js
CHANGED
package/dist/index.esm11.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import e from "./index.
|
|
2
|
+
import e from "./index.esm27.js";
|
|
3
3
|
function m() {
|
|
4
4
|
return /* @__PURE__ */ a("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ a("path", { d: "M6 12l4-4-4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
5
5
|
}
|
package/dist/index.esm12.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import r from "./index.
|
|
2
|
+
import r from "./index.esm25.js";
|
|
3
3
|
const f = { xs: 12, md: 20, lg: 24 }, v = ({ s: i }) => /* @__PURE__ */ a("svg", { width: i, height: i, viewBox: "0 0 12 12", fill: "currentColor", "aria-hidden": "true", children: [
|
|
4
4
|
/* @__PURE__ */ n("circle", { cx: "2", cy: "6", r: "1.25" }),
|
|
5
5
|
/* @__PURE__ */ n("circle", { cx: "6", cy: "6", r: "1.25" }),
|
package/dist/index.esm13.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useId as N } from "react";
|
|
3
|
-
import e from "./index.
|
|
3
|
+
import e from "./index.esm21.js";
|
|
4
4
|
function B() {
|
|
5
5
|
return /* @__PURE__ */ r("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ r("path", { d: "M5 7.5l5 5 5-5", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
6
6
|
}
|
package/dist/index.esm15.js
CHANGED
package/dist/index.esm16.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as L, useState as w } from "react";
|
|
3
|
-
import r from "./index.
|
|
3
|
+
import r from "./index.esm23.js";
|
|
4
4
|
const y = () => /* @__PURE__ */ a("svg", { viewBox: "0 0 12 12", width: "12", height: "12", "aria-hidden": "true", children: [
|
|
5
5
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ a("linearGradient", { id: "fileGrad", x1: "0%", y1: "100%", x2: "100%", y2: "0%", children: [
|
|
6
6
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: "#2970FF" }),
|
package/dist/index.esm19.js
CHANGED
|
@@ -1,26 +1,64 @@
|
|
|
1
|
-
const e = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const a = "_header_1jw5v_25", e = "_variantDefault_1jw5v_36", t = "_variantMobile_1jw5v_37", o = "_variantMobileOpen_1jw5v_38", s = "_pageTitle_1jw5v_49", _ = "_pageTitleDesktop_1jw5v_63", n = "_pageTitleMobile_1jw5v_64", c = "_actions_1jw5v_68", r = "_actionsMobileOpen_1jw5v_76", w = "_workspace_1jw5v_86", v = "_workspaceFull_1jw5v_104", i = "_workspaceLeft_1jw5v_110", l = "_statusDot_1jw5v_118", p = "_workspaceCol_1jw5v_126", j = "_workspaceAccount_1jw5v_134", u = "_workspaceName_1jw5v_144", k = "_workspaceArrow_1jw5v_156", m = "_bellBtn_1jw5v_168", b = "_menuBtn_1jw5v_188", g = "_menuIcon_1jw5v_208", M = "_navUser_1jw5v_219", T = "_avatar_1jw5v_227", A = "_avatarImg_1jw5v_239", B = "_avatarInitials_1jw5v_248", D = "_userText_1jw5v_255", I = "_userName_1jw5v_262", f = "_userRole_1jw5v_271", N = "_ctaBtn_1jw5v_282", O = "_mainActions_1jw5v_307", d = {
|
|
2
|
+
header: a,
|
|
3
|
+
variantDefault: e,
|
|
4
|
+
variantMobile: t,
|
|
5
|
+
variantMobileOpen: o,
|
|
6
|
+
pageTitle: s,
|
|
7
|
+
pageTitleDesktop: _,
|
|
8
|
+
pageTitleMobile: n,
|
|
9
|
+
actions: c,
|
|
10
|
+
actionsMobileOpen: r,
|
|
11
|
+
workspace: w,
|
|
12
|
+
workspaceFull: v,
|
|
13
|
+
workspaceLeft: i,
|
|
14
|
+
statusDot: l,
|
|
15
|
+
workspaceCol: p,
|
|
16
|
+
workspaceAccount: j,
|
|
17
|
+
workspaceName: u,
|
|
18
|
+
workspaceArrow: k,
|
|
19
|
+
bellBtn: m,
|
|
20
|
+
menuBtn: b,
|
|
21
|
+
menuIcon: g,
|
|
22
|
+
navUser: M,
|
|
23
|
+
avatar: T,
|
|
24
|
+
avatarImg: A,
|
|
25
|
+
avatarInitials: B,
|
|
26
|
+
userText: D,
|
|
27
|
+
userName: I,
|
|
28
|
+
userRole: f,
|
|
29
|
+
ctaBtn: N,
|
|
30
|
+
mainActions: O
|
|
12
31
|
};
|
|
13
32
|
export {
|
|
14
|
-
c as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
c as actions,
|
|
34
|
+
r as actionsMobileOpen,
|
|
35
|
+
T as avatar,
|
|
36
|
+
A as avatarImg,
|
|
37
|
+
B as avatarInitials,
|
|
38
|
+
m as bellBtn,
|
|
39
|
+
N as ctaBtn,
|
|
40
|
+
d as default,
|
|
41
|
+
a as header,
|
|
42
|
+
O as mainActions,
|
|
43
|
+
b as menuBtn,
|
|
44
|
+
g as menuIcon,
|
|
45
|
+
M as navUser,
|
|
46
|
+
s as pageTitle,
|
|
47
|
+
_ as pageTitleDesktop,
|
|
48
|
+
n as pageTitleMobile,
|
|
49
|
+
l as statusDot,
|
|
50
|
+
I as userName,
|
|
51
|
+
f as userRole,
|
|
52
|
+
D as userText,
|
|
53
|
+
e as variantDefault,
|
|
54
|
+
t as variantMobile,
|
|
55
|
+
o as variantMobileOpen,
|
|
56
|
+
w as workspace,
|
|
57
|
+
j as workspaceAccount,
|
|
58
|
+
k as workspaceArrow,
|
|
59
|
+
p as workspaceCol,
|
|
60
|
+
v as workspaceFull,
|
|
61
|
+
i as workspaceLeft,
|
|
62
|
+
u as workspaceName
|
|
25
63
|
};
|
|
26
64
|
//# sourceMappingURL=index.esm19.js.map
|
package/dist/index.esm19.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm19.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm19.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm20.js
CHANGED
|
@@ -1,64 +1,26 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
dropzoneSubtitle: l,
|
|
13
|
-
fileList: d,
|
|
14
|
-
fileItem: c,
|
|
15
|
-
fileItemLg: z,
|
|
16
|
-
fileItemMd: k,
|
|
17
|
-
fileBadge: f,
|
|
18
|
-
fileContent: a,
|
|
19
|
-
fileHeader: I,
|
|
20
|
-
fileTexts: L,
|
|
21
|
-
fileName: m,
|
|
22
|
-
fileSize: w,
|
|
23
|
-
actions: T,
|
|
24
|
-
actionBtn: B,
|
|
25
|
-
progressRow: M,
|
|
26
|
-
progressTrack: b,
|
|
27
|
-
progressFill: C,
|
|
28
|
-
progressLabel: R,
|
|
29
|
-
spinner: S,
|
|
30
|
-
wrapper: u
|
|
1
|
+
const o = "_button_1hwro_8", _ = "_sm_1hwro_40", t = "_md_1hwro_48", n = "_outline_1hwro_58", s = "_fill_1hwro_74", l = "_secondary_1hwro_89", e = "_text_1hwro_104", c = "_disabled_1hwro_119", r = "_label_1hwro_130", d = "_icon_1hwro_136", i = {
|
|
2
|
+
button: o,
|
|
3
|
+
sm: _,
|
|
4
|
+
md: t,
|
|
5
|
+
outline: n,
|
|
6
|
+
fill: s,
|
|
7
|
+
secondary: l,
|
|
8
|
+
text: e,
|
|
9
|
+
disabled: c,
|
|
10
|
+
label: r,
|
|
11
|
+
icon: d
|
|
31
12
|
};
|
|
32
13
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
e as
|
|
44
|
-
l as dropzoneSubtitle,
|
|
45
|
-
i as dropzoneTitle,
|
|
46
|
-
g as dropzoneTitleRow,
|
|
47
|
-
f as fileBadge,
|
|
48
|
-
a as fileContent,
|
|
49
|
-
I as fileHeader,
|
|
50
|
-
c as fileItem,
|
|
51
|
-
z as fileItemLg,
|
|
52
|
-
k as fileItemMd,
|
|
53
|
-
d as fileList,
|
|
54
|
-
m as fileName,
|
|
55
|
-
w as fileSize,
|
|
56
|
-
L as fileTexts,
|
|
57
|
-
C as progressFill,
|
|
58
|
-
R as progressLabel,
|
|
59
|
-
M as progressRow,
|
|
60
|
-
b as progressTrack,
|
|
61
|
-
S as spinner,
|
|
62
|
-
u as wrapper
|
|
14
|
+
o as button,
|
|
15
|
+
i as default,
|
|
16
|
+
c as disabled,
|
|
17
|
+
s as fill,
|
|
18
|
+
d as icon,
|
|
19
|
+
r as label,
|
|
20
|
+
t as md,
|
|
21
|
+
n as outline,
|
|
22
|
+
l as secondary,
|
|
23
|
+
_ as sm,
|
|
24
|
+
e as text
|
|
63
25
|
};
|
|
64
26
|
//# sourceMappingURL=index.esm20.js.map
|
package/dist/index.esm20.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm20.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm20.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index.esm21.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
const e = "_wrapper_pivx7_3", s = "_label_pivx7_13", r = "_labelDisabled_pivx7_23", _ = "_field_pivx7_29", l = "_select_pivx7_36", o = "_placeholder_pivx7_75", a = "_error_pivx7_81", c = "_chevron_pivx7_93", p = "_message_pivx7_109", t = "_messageError_pivx7_123", i = {
|
|
2
|
+
wrapper: e,
|
|
3
|
+
label: s,
|
|
4
|
+
labelDisabled: r,
|
|
5
|
+
field: _,
|
|
6
|
+
select: l,
|
|
7
|
+
placeholder: o,
|
|
8
|
+
error: a,
|
|
9
|
+
chevron: c,
|
|
10
|
+
message: p,
|
|
11
|
+
messageError: t
|
|
11
12
|
};
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
o as
|
|
22
|
-
|
|
14
|
+
c as chevron,
|
|
15
|
+
i as default,
|
|
16
|
+
a as error,
|
|
17
|
+
_ as field,
|
|
18
|
+
s as label,
|
|
19
|
+
r as labelDisabled,
|
|
20
|
+
p as message,
|
|
21
|
+
t as messageError,
|
|
22
|
+
o as placeholder,
|
|
23
|
+
l as select,
|
|
24
|
+
e as wrapper
|
|
23
25
|
};
|
|
24
26
|
//# sourceMappingURL=index.esm21.js.map
|
package/dist/index.esm21.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm21.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm21.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index.esm22.js
CHANGED
|
@@ -1,16 +1,44 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const e = "_wrapper_r826a_9", _ = "_labelRow_r826a_19", a = "_label_r826a_19", r = "_labelDisabled_r826a_37", o = "_labelIcon_r826a_41", l = "_field_r826a_53", s = "_fieldMd_r826a_67", n = "_fieldSm_r826a_72", t = "_hover_r826a_79", c = "_active_r826a_86", i = "_disabled_r826a_94", d = "_error_r826a_107", b = "_icon_r826a_119", g = "_input_r826a_131", f = "_iconAction_r826a_155", p = "_toggleBtn_r826a_162", m = "_searchBtn_r826a_181", h = "_message_r826a_217", v = "_messageError_r826a_232", w = {
|
|
2
|
+
wrapper: e,
|
|
3
|
+
labelRow: _,
|
|
4
|
+
label: a,
|
|
5
|
+
labelDisabled: r,
|
|
6
|
+
labelIcon: o,
|
|
7
|
+
field: l,
|
|
8
|
+
fieldMd: s,
|
|
9
|
+
fieldSm: n,
|
|
10
|
+
hover: t,
|
|
11
|
+
active: c,
|
|
12
|
+
disabled: i,
|
|
13
|
+
error: d,
|
|
14
|
+
icon: b,
|
|
15
|
+
input: g,
|
|
16
|
+
iconAction: f,
|
|
17
|
+
toggleBtn: p,
|
|
18
|
+
searchBtn: m,
|
|
19
|
+
message: h,
|
|
20
|
+
messageError: v
|
|
7
21
|
};
|
|
8
22
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
c as active,
|
|
24
|
+
w as default,
|
|
25
|
+
i as disabled,
|
|
26
|
+
d as error,
|
|
27
|
+
l as field,
|
|
28
|
+
s as fieldMd,
|
|
29
|
+
n as fieldSm,
|
|
30
|
+
t as hover,
|
|
31
|
+
b as icon,
|
|
32
|
+
f as iconAction,
|
|
33
|
+
g as input,
|
|
34
|
+
a as label,
|
|
35
|
+
r as labelDisabled,
|
|
36
|
+
o as labelIcon,
|
|
37
|
+
_ as labelRow,
|
|
38
|
+
h as message,
|
|
39
|
+
v as messageError,
|
|
40
|
+
m as searchBtn,
|
|
41
|
+
p as toggleBtn,
|
|
42
|
+
e as wrapper
|
|
15
43
|
};
|
|
16
44
|
//# sourceMappingURL=index.esm22.js.map
|
package/dist/index.esm22.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm22.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm22.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm23.js
CHANGED
|
@@ -1,26 +1,64 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const o = "_dropzone_19kgn_8", e = "_dropzoneMd_19kgn_22", n = "_dropzoneLg_19kgn_29", _ = "_dropzoneDragging_19kgn_39", t = "_dropzoneIconMd_19kgn_48", r = "_dropzoneIconLg_19kgn_56", s = "_dropzoneContent_19kgn_67", g = "_dropzoneTitleRow_19kgn_81", i = "_dropzoneTitle_19kgn_81", p = "_dropzoneBrowse_19kgn_99", l = "_dropzoneSubtitle_19kgn_114", d = "_fileList_19kgn_128", c = "_fileItem_19kgn_137", z = "_fileItemLg_19kgn_150", k = "_fileItemMd_19kgn_155", f = "_fileBadge_19kgn_161", a = "_fileContent_19kgn_176", I = "_fileHeader_19kgn_186", L = "_fileTexts_19kgn_193", m = "_fileName_19kgn_202", w = "_fileSize_19kgn_216", T = "_actions_19kgn_229", B = "_actionBtn_19kgn_236", M = "_progressRow_19kgn_259", b = "_progressTrack_19kgn_267", C = "_progressFill_19kgn_277", R = "_progressLabel_19kgn_288", S = "_spinner_19kgn_301", u = "_wrapper_19kgn_317", x = {
|
|
2
|
+
dropzone: o,
|
|
3
|
+
dropzoneMd: e,
|
|
4
|
+
dropzoneLg: n,
|
|
5
|
+
dropzoneDragging: _,
|
|
6
|
+
dropzoneIconMd: t,
|
|
7
|
+
dropzoneIconLg: r,
|
|
8
|
+
dropzoneContent: s,
|
|
9
|
+
dropzoneTitleRow: g,
|
|
10
|
+
dropzoneTitle: i,
|
|
11
|
+
dropzoneBrowse: p,
|
|
12
|
+
dropzoneSubtitle: l,
|
|
13
|
+
fileList: d,
|
|
14
|
+
fileItem: c,
|
|
15
|
+
fileItemLg: z,
|
|
16
|
+
fileItemMd: k,
|
|
17
|
+
fileBadge: f,
|
|
18
|
+
fileContent: a,
|
|
19
|
+
fileHeader: I,
|
|
20
|
+
fileTexts: L,
|
|
21
|
+
fileName: m,
|
|
22
|
+
fileSize: w,
|
|
23
|
+
actions: T,
|
|
24
|
+
actionBtn: B,
|
|
25
|
+
progressRow: M,
|
|
26
|
+
progressTrack: b,
|
|
27
|
+
progressFill: C,
|
|
28
|
+
progressLabel: R,
|
|
29
|
+
spinner: S,
|
|
30
|
+
wrapper: u
|
|
12
31
|
};
|
|
13
32
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
_ as
|
|
21
|
-
|
|
22
|
-
t as
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
B as actionBtn,
|
|
34
|
+
T as actions,
|
|
35
|
+
x as default,
|
|
36
|
+
o as dropzone,
|
|
37
|
+
p as dropzoneBrowse,
|
|
38
|
+
s as dropzoneContent,
|
|
39
|
+
_ as dropzoneDragging,
|
|
40
|
+
r as dropzoneIconLg,
|
|
41
|
+
t as dropzoneIconMd,
|
|
42
|
+
n as dropzoneLg,
|
|
43
|
+
e as dropzoneMd,
|
|
44
|
+
l as dropzoneSubtitle,
|
|
45
|
+
i as dropzoneTitle,
|
|
46
|
+
g as dropzoneTitleRow,
|
|
47
|
+
f as fileBadge,
|
|
48
|
+
a as fileContent,
|
|
49
|
+
I as fileHeader,
|
|
50
|
+
c as fileItem,
|
|
51
|
+
z as fileItemLg,
|
|
52
|
+
k as fileItemMd,
|
|
53
|
+
d as fileList,
|
|
54
|
+
m as fileName,
|
|
55
|
+
w as fileSize,
|
|
56
|
+
L as fileTexts,
|
|
57
|
+
C as progressFill,
|
|
58
|
+
R as progressLabel,
|
|
59
|
+
M as progressRow,
|
|
60
|
+
b as progressTrack,
|
|
61
|
+
S as spinner,
|
|
62
|
+
u as wrapper
|
|
25
63
|
};
|
|
26
64
|
//# sourceMappingURL=index.esm23.js.map
|
package/dist/index.esm23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm23.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm23.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm24.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const i = "_overlay_rzwii_24", t = "_modal_rzwii_43", n = "_heading_rzwii_64", o = "_title_rzwii_72", _ = "_description_rzwii_81", r = "_body_rzwii_92", s = "_actions_rzwii_101", a = "_btns_rzwii_108", c = "_btnSecondary_rzwii_115", e = "_btnPrimary_rzwii_137", d = {
|
|
2
|
+
overlay: i,
|
|
3
|
+
modal: t,
|
|
4
|
+
heading: n,
|
|
5
|
+
title: o,
|
|
6
|
+
description: _,
|
|
7
|
+
body: r,
|
|
8
|
+
actions: s,
|
|
9
|
+
btns: a,
|
|
10
|
+
btnSecondary: c,
|
|
11
|
+
btnPrimary: e
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
n as
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
s as actions,
|
|
15
|
+
r as body,
|
|
16
|
+
e as btnPrimary,
|
|
17
|
+
c as btnSecondary,
|
|
18
|
+
a as btns,
|
|
19
|
+
d as default,
|
|
20
|
+
_ as description,
|
|
21
|
+
n as heading,
|
|
22
|
+
t as modal,
|
|
23
|
+
i as overlay,
|
|
24
|
+
o as title
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=index.esm24.js.map
|
package/dist/index.esm25.js
CHANGED
|
@@ -1,40 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
error: b,
|
|
12
|
-
icon: r,
|
|
13
|
-
input: d,
|
|
14
|
-
iconAction: i,
|
|
15
|
-
toggleBtn: h,
|
|
16
|
-
searchBtn: v,
|
|
17
|
-
message: g,
|
|
18
|
-
messageError: p
|
|
1
|
+
const o = "_pagination_olot7_11", t = "_item_olot7_20", _ = "_xs_olot7_55", n = "_md_olot7_63", c = "_lg_olot7_71", s = "_active_olot7_81", i = "_inactive_olot7_88", l = "_dots_olot7_102", a = "_control_olot7_110", e = {
|
|
2
|
+
pagination: o,
|
|
3
|
+
item: t,
|
|
4
|
+
xs: _,
|
|
5
|
+
md: n,
|
|
6
|
+
lg: c,
|
|
7
|
+
active: s,
|
|
8
|
+
inactive: i,
|
|
9
|
+
dots: l,
|
|
10
|
+
control: a
|
|
19
11
|
};
|
|
20
12
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
s as labelDisabled,
|
|
32
|
-
n as labelIcon,
|
|
33
|
-
_ as labelRow,
|
|
34
|
-
g as message,
|
|
35
|
-
p as messageError,
|
|
36
|
-
v as searchBtn,
|
|
37
|
-
h as toggleBtn,
|
|
38
|
-
e as wrapper
|
|
13
|
+
s as active,
|
|
14
|
+
a as control,
|
|
15
|
+
e as default,
|
|
16
|
+
l as dots,
|
|
17
|
+
i as inactive,
|
|
18
|
+
t as item,
|
|
19
|
+
c as lg,
|
|
20
|
+
n as md,
|
|
21
|
+
o as pagination,
|
|
22
|
+
_ as xs
|
|
39
23
|
};
|
|
40
24
|
//# sourceMappingURL=index.esm25.js.map
|
package/dist/index.esm25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|