@inzumer/ui-library 0.1.2 → 1.0.1
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/LICENSE +21 -0
- package/dist/chunk-2HCMNEIQ.js +25 -0
- package/dist/chunk-2HCMNEIQ.js.map +1 -0
- package/dist/chunk-5IHM2545.js +40 -0
- package/dist/chunk-5IHM2545.js.map +1 -0
- package/dist/chunk-6LLGTBM6.js +9 -0
- package/dist/chunk-6LLGTBM6.js.map +1 -0
- package/dist/chunk-7HQFLM4A.js +31 -0
- package/dist/chunk-7HQFLM4A.js.map +1 -0
- package/dist/chunk-BKPP4D3Q.js +62 -0
- package/dist/chunk-BKPP4D3Q.js.map +1 -0
- package/dist/chunk-BNEEI7S5.js +28 -0
- package/dist/chunk-BNEEI7S5.js.map +1 -0
- package/dist/chunk-D4I5OF3C.js +43 -0
- package/dist/chunk-D4I5OF3C.js.map +1 -0
- package/dist/chunk-HCLY7B4H.js +90 -0
- package/dist/chunk-HCLY7B4H.js.map +1 -0
- package/dist/chunk-JCJP427C.js +31 -0
- package/dist/chunk-JCJP427C.js.map +1 -0
- package/dist/chunk-K35XIA25.js +81 -0
- package/dist/chunk-K35XIA25.js.map +1 -0
- package/dist/chunk-KWSZ2S34.js +76 -0
- package/dist/chunk-KWSZ2S34.js.map +1 -0
- package/dist/chunk-LK2EJ4H6.js +78 -0
- package/dist/chunk-LK2EJ4H6.js.map +1 -0
- package/dist/chunk-N5CLCKR3.js +71 -0
- package/dist/chunk-N5CLCKR3.js.map +1 -0
- package/dist/chunk-P4CV2EPR.js +72 -0
- package/dist/chunk-P4CV2EPR.js.map +1 -0
- package/dist/chunk-P4Z7HH66.js +14 -0
- package/dist/chunk-P4Z7HH66.js.map +1 -0
- package/dist/chunk-PE6XEC7Y.js +27 -0
- package/dist/chunk-PE6XEC7Y.js.map +1 -0
- package/dist/chunk-PVDRNAYK.js +68 -0
- package/dist/chunk-PVDRNAYK.js.map +1 -0
- package/dist/chunk-UL33H4AD.js +24 -0
- package/dist/chunk-UL33H4AD.js.map +1 -0
- package/dist/chunk-ZABQF65Z.js +74 -0
- package/dist/chunk-ZABQF65Z.js.map +1 -0
- package/dist/components/atoms/Button/index.d.ts +23 -0
- package/dist/components/atoms/Button/index.js +4 -0
- package/dist/components/atoms/Button/index.js.map +1 -0
- package/dist/components/atoms/Icon/index.d.ts +19 -0
- package/dist/components/atoms/Icon/index.js +4 -0
- package/dist/components/atoms/Icon/index.js.map +1 -0
- package/dist/components/atoms/Image/index.d.ts +23 -0
- package/dist/components/atoms/Image/index.js +4 -0
- package/dist/components/atoms/Image/index.js.map +1 -0
- package/dist/components/atoms/Input/index.d.ts +25 -0
- package/dist/components/atoms/Input/index.js +5 -0
- package/dist/components/atoms/Input/index.js.map +1 -0
- package/dist/components/atoms/Link/index.d.ts +21 -0
- package/dist/components/atoms/Link/index.js +4 -0
- package/dist/components/atoms/Link/index.js.map +1 -0
- package/dist/components/atoms/RichText/index.d.ts +25 -0
- package/dist/components/atoms/RichText/index.js +4 -0
- package/dist/components/atoms/RichText/index.js.map +1 -0
- package/dist/components/atoms/Switch/index.d.ts +15 -0
- package/dist/components/atoms/Switch/index.js +5 -0
- package/dist/components/atoms/Switch/index.js.map +1 -0
- package/dist/components/molecules/BottomSheet/index.d.ts +19 -0
- package/dist/components/molecules/BottomSheet/index.js +8 -0
- package/dist/components/molecules/BottomSheet/index.js.map +1 -0
- package/dist/components/molecules/Breadcrumbs/index.d.ts +20 -0
- package/dist/components/molecules/Breadcrumbs/index.js +6 -0
- package/dist/components/molecules/Breadcrumbs/index.js.map +1 -0
- package/dist/components/molecules/Card/index.d.ts +25 -0
- package/dist/components/molecules/Card/index.js +5 -0
- package/dist/components/molecules/Card/index.js.map +1 -0
- package/dist/components/molecules/Language/index.d.ts +19 -0
- package/dist/components/molecules/Language/index.js +4 -0
- package/dist/components/molecules/Language/index.js.map +1 -0
- package/dist/components/molecules/Modal/index.d.ts +19 -0
- package/dist/components/molecules/Modal/index.js +8 -0
- package/dist/components/molecules/Modal/index.js.map +1 -0
- package/dist/components/molecules/Snackbar/index.d.ts +27 -0
- package/dist/components/molecules/Snackbar/index.js +5 -0
- package/dist/components/molecules/Snackbar/index.js.map +1 -0
- package/dist/components/molecules/Timeline/index.d.ts +16 -0
- package/dist/components/molecules/Timeline/index.js +5 -0
- package/dist/components/molecules/Timeline/index.js.map +1 -0
- package/dist/hooks/useDelayedUnmount/index.d.ts +10 -0
- package/dist/hooks/useDelayedUnmount/index.js +3 -0
- package/dist/hooks/useDelayedUnmount/index.js.map +1 -0
- package/dist/hooks/useDismissableLayer/index.d.ts +6 -0
- package/dist/hooks/useDismissableLayer/index.js +3 -0
- package/dist/hooks/useDismissableLayer/index.js.map +1 -0
- package/dist/hooks/useMediaQuery/index.d.ts +3 -0
- package/dist/hooks/useMediaQuery/index.js +3 -0
- package/dist/hooks/useMediaQuery/index.js.map +1 -0
- package/dist/hooks/useMergedRef/index.d.ts +6 -0
- package/dist/hooks/useMergedRef/index.js +3 -0
- package/dist/hooks/useMergedRef/index.js.map +1 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/cn/index.d.ts +5 -0
- package/dist/utils/cn/index.js +3 -0
- package/dist/utils/cn/index.js.map +1 -0
- package/package.json +117 -72
- package/README.md +0 -133
- package/dist/cjs/index.js +0 -2
- package/dist/cjs/index.js.map +0 -1
- package/dist/es/components/atoms/Button/Button.js +0 -54
- package/dist/es/components/atoms/Button/Button.js.map +0 -1
- package/dist/es/components/atoms/Button/Button.styles.js +0 -54
- package/dist/es/components/atoms/Button/Button.styles.js.map +0 -1
- package/dist/es/index.js +0 -17
- package/dist/es/index.js.map +0 -1
- package/dist/es/tokens/colors.js +0 -40
- package/dist/es/tokens/colors.js.map +0 -1
- package/dist/es/tokens/motion.js +0 -15
- package/dist/es/tokens/motion.js.map +0 -1
- package/dist/es/tokens/radius.js +0 -10
- package/dist/es/tokens/radius.js.map +0 -1
- package/dist/es/tokens/spacing.js +0 -12
- package/dist/es/tokens/spacing.js.map +0 -1
- package/dist/es/tokens/typography.js +0 -24
- package/dist/es/tokens/typography.js.map +0 -1
- package/dist/es/tokens/z-index.js +0 -12
- package/dist/es/tokens/z-index.js.map +0 -1
- package/dist/es/utils/cn.js +0 -9
- package/dist/es/utils/cn.js.map +0 -1
- package/dist/globals.css +0 -1
- package/dist/types/index.d.ts +0 -122
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
fontFamily: {
|
|
3
|
-
sans: "Inter, system-ui, sans-serif",
|
|
4
|
-
mono: "JetBrains Mono, monospace"
|
|
5
|
-
},
|
|
6
|
-
fontSize: {
|
|
7
|
-
xs: "0.75rem",
|
|
8
|
-
sm: "0.875rem",
|
|
9
|
-
base: "1rem",
|
|
10
|
-
lg: "1.125rem",
|
|
11
|
-
xl: "1.25rem"
|
|
12
|
-
},
|
|
13
|
-
lineHeight: {
|
|
14
|
-
xs: "1rem",
|
|
15
|
-
sm: "1.25rem",
|
|
16
|
-
base: "1.5rem",
|
|
17
|
-
lg: "1.75rem",
|
|
18
|
-
xl: "1.75rem"
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
e as typography
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=typography.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","sources":["../../../src/tokens/typography.ts"],"sourcesContent":["export const typography = {\n fontFamily: {\n sans: 'Inter, system-ui, sans-serif',\n mono: 'JetBrains Mono, monospace',\n },\n fontSize: {\n xs: '0.75rem',\n sm: '0.875rem',\n base: '1rem',\n lg: '1.125rem',\n xl: '1.25rem',\n },\n lineHeight: {\n xs: '1rem',\n sm: '1.25rem',\n base: '1.5rem',\n lg: '1.75rem',\n xl: '1.75rem',\n },\n} as const\n"],"names":["typography"],"mappings":"AAAO,MAAMA,IAAa;AAAA,EACxB,YAAY;AAAA,IACV,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA;AAAA,EAEN,YAAY;AAAA,IACV,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA;AAER;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"z-index.js","sources":["../../../src/tokens/z-index.ts"],"sourcesContent":["export const zIndex = {\n dropdown: 1000,\n sticky: 1100,\n overlay: 1200,\n modal: 1300,\n toast: 1400,\n tooltip: 1500,\n} as const\n"],"names":["zIndex"],"mappings":"AAAO,MAAMA,IAAS;AAAA,EACpB,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AACX;"}
|
package/dist/es/utils/cn.js
DELETED
package/dist/es/utils/cn.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cn.js","sources":["../../../src/utils/cn.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":";;AAGO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAQC,EAAKF,CAAM,CAAC;AAC7B;"}
|
package/dist/globals.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--font-mono),monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*,:after,:before{box-sizing:border-box}[role=button],a,button{touch-action:manipulation}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sticky{position:sticky}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-8{height:2rem}.min-h-screen{min-height:100vh}.min-h-touch{min-height:44px}.w-4{width:1rem}.min-w-touch{min-width:44px}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.rounded-md{border-radius:var(--radius-md)}.border{border-width:1px}.border-neutral-300{border-color:var(--color-neutral-300)}.bg-danger-500{background-color:var(--color-danger-500)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-primary-600{background-color:var(--color-primary-600)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.p-8{padding:2rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.text-base{font-size:var(--text-base);line-height:var(--leading-base)}.text-sm{font-size:var(--text-sm);line-height:var(--leading-sm)}.font-medium{font-weight:500}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-900{color:var(--color-neutral-900)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-base{transition-duration:var(--duration-base)}:root{--color-primary-50:#eff6ff;--color-primary-100:#dbeafe;--color-primary-200:#bfdbfe;--color-primary-300:#93c5fd;--color-primary-400:#60a5fa;--color-primary-500:#3b82f6;--color-primary-600:#2563eb;--color-primary-700:#1d4ed8;--color-primary-800:#1e40af;--color-primary-900:#1e3a8a;--color-primary-950:#172554;--color-neutral-50:#f9fafb;--color-neutral-100:#f3f4f6;--color-neutral-200:#e5e7eb;--color-neutral-300:#d1d5db;--color-neutral-400:#9ca3af;--color-neutral-500:#6b7280;--color-neutral-600:#4b5563;--color-neutral-700:#374151;--color-neutral-800:#1f2937;--color-neutral-900:#111827;--color-neutral-950:#030712;--color-danger-500:#ef4444;--color-danger-600:#dc2626;--color-success-500:#22c55e;--color-success-600:#16a34a;--spacing-xs:0.25rem;--spacing-sm:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem;--spacing-2xl:3rem;--radius-sm:0.25rem;--radius-md:0.375rem;--radius-lg:0.5rem;--font-sans:Inter,system-ui,sans-serif;--font-mono:"JetBrains Mono",monospace;--text-xs:0.75rem;--text-sm:0.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--leading-xs:1rem;--leading-sm:1.25rem;--leading-base:1.5rem;--leading-lg:1.75rem;--leading-xl:1.75rem;--z-dropdown:1000;--z-sticky:1100;--z-overlay:1200;--z-modal:1300;--z-toast:1400;--z-tooltip:1500;--duration-fast:100ms;--duration-base:200ms;--duration-slow:350ms;--ease-ui:cubic-bezier(0.4,0,0.2,1);--ease-spring:cubic-bezier(0.34,1.56,0.64,1)}html.dark{--color-primary-600:#3b82f6;--color-primary-700:#2563eb;--color-primary-800:#1d4ed8;--color-neutral-50:#111827;--color-neutral-100:#1f2937;--color-neutral-200:#374151;--color-neutral-300:#4b5563;--color-neutral-400:#6b7280;--color-neutral-500:#9ca3af;--color-neutral-600:#d1d5db;--color-neutral-700:#e5e7eb;--color-neutral-800:#f3f4f6;--color-neutral-900:#f9fafb;--color-neutral-950:#fff;--color-danger-500:#f87171;--color-danger-600:#ef4444}.hover\:bg-danger-600:hover{background-color:var(--color-danger-600)}.hover\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\:bg-neutral-200:hover{background-color:var(--color-neutral-200)}.hover\:bg-primary-700:hover{background-color:var(--color-primary-700)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-danger-500:focus-visible{--tw-ring-color:var(--color-danger-500)}.focus-visible\:ring-neutral-500:focus-visible{--tw-ring-color:var(--color-neutral-500)}.focus-visible\:ring-primary-500:focus-visible{--tw-ring-color:var(--color-primary-500)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.active\:bg-danger-600:active{background-color:var(--color-danger-600)}.active\:bg-neutral-200:active{background-color:var(--color-neutral-200)}.active\:bg-neutral-300:active{background-color:var(--color-neutral-300)}.active\:bg-primary-800:active{background-color:var(--color-primary-800)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}.dark\:border-neutral-600:is(.dark *){border-color:var(--color-neutral-600)}.dark\:bg-neutral-800:is(.dark *){background-color:var(--color-neutral-800)}.dark\:text-neutral-100:is(.dark *){color:var(--color-neutral-100)}.dark\:text-neutral-300:is(.dark *){color:var(--color-neutral-300)}.dark\:hover\:bg-neutral-700:hover:is(.dark *){background-color:var(--color-neutral-700)}.dark\:hover\:bg-neutral-800:hover:is(.dark *){background-color:var(--color-neutral-800)}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { RefAttributes } from 'react';
|
|
4
|
-
|
|
5
|
-
export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
|
|
7
|
-
export declare interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
-
variant?: ButtonVariant;
|
|
9
|
-
size?: ButtonSize;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
loadingText?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export declare type ButtonSize = 'sm' | 'md' | 'lg';
|
|
15
|
-
|
|
16
|
-
export declare type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
17
|
-
|
|
18
|
-
export declare const colors: {
|
|
19
|
-
readonly primary: {
|
|
20
|
-
readonly 50: "#eff6ff";
|
|
21
|
-
readonly 100: "#dbeafe";
|
|
22
|
-
readonly 200: "#bfdbfe";
|
|
23
|
-
readonly 300: "#93c5fd";
|
|
24
|
-
readonly 400: "#60a5fa";
|
|
25
|
-
readonly 500: "#3b82f6";
|
|
26
|
-
readonly 600: "#2563eb";
|
|
27
|
-
readonly 700: "#1d4ed8";
|
|
28
|
-
readonly 800: "#1e40af";
|
|
29
|
-
readonly 900: "#1e3a8a";
|
|
30
|
-
readonly 950: "#172554";
|
|
31
|
-
};
|
|
32
|
-
readonly neutral: {
|
|
33
|
-
readonly 50: "#f9fafb";
|
|
34
|
-
readonly 100: "#f3f4f6";
|
|
35
|
-
readonly 200: "#e5e7eb";
|
|
36
|
-
readonly 300: "#d1d5db";
|
|
37
|
-
readonly 400: "#9ca3af";
|
|
38
|
-
readonly 500: "#6b7280";
|
|
39
|
-
readonly 600: "#4b5563";
|
|
40
|
-
readonly 700: "#374151";
|
|
41
|
-
readonly 800: "#1f2937";
|
|
42
|
-
readonly 900: "#111827";
|
|
43
|
-
readonly 950: "#030712";
|
|
44
|
-
};
|
|
45
|
-
readonly danger: {
|
|
46
|
-
readonly 500: "#ef4444";
|
|
47
|
-
readonly 600: "#dc2626";
|
|
48
|
-
};
|
|
49
|
-
readonly success: {
|
|
50
|
-
readonly 500: "#22c55e";
|
|
51
|
-
readonly 600: "#16a34a";
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export declare const motion: {
|
|
56
|
-
readonly duration: {
|
|
57
|
-
readonly fast: "100ms";
|
|
58
|
-
readonly base: "200ms";
|
|
59
|
-
readonly slow: "350ms";
|
|
60
|
-
};
|
|
61
|
-
readonly easing: {
|
|
62
|
-
readonly ui: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
63
|
-
readonly spring: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export declare const radius: {
|
|
68
|
-
readonly sm: "0.25rem";
|
|
69
|
-
readonly md: "0.375rem";
|
|
70
|
-
readonly lg: "0.5rem";
|
|
71
|
-
readonly full: "9999px";
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export declare const spacing: {
|
|
75
|
-
readonly xs: "0.25rem";
|
|
76
|
-
readonly sm: "0.5rem";
|
|
77
|
-
readonly md: "1rem";
|
|
78
|
-
readonly lg: "1.5rem";
|
|
79
|
-
readonly xl: "2rem";
|
|
80
|
-
readonly '2xl': "3rem";
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export declare const typography: {
|
|
84
|
-
readonly fontFamily: {
|
|
85
|
-
readonly sans: "Inter, system-ui, sans-serif";
|
|
86
|
-
readonly mono: "JetBrains Mono, monospace";
|
|
87
|
-
};
|
|
88
|
-
readonly fontSize: {
|
|
89
|
-
readonly xs: "0.75rem";
|
|
90
|
-
readonly sm: "0.875rem";
|
|
91
|
-
readonly base: "1rem";
|
|
92
|
-
readonly lg: "1.125rem";
|
|
93
|
-
readonly xl: "1.25rem";
|
|
94
|
-
};
|
|
95
|
-
readonly lineHeight: {
|
|
96
|
-
readonly xs: "1rem";
|
|
97
|
-
readonly sm: "1.25rem";
|
|
98
|
-
readonly base: "1.5rem";
|
|
99
|
-
readonly lg: "1.75rem";
|
|
100
|
-
readonly xl: "1.75rem";
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
export declare interface UIThemeTokens {
|
|
105
|
-
colors: typeof colors;
|
|
106
|
-
spacing: typeof spacing;
|
|
107
|
-
radius: typeof radius;
|
|
108
|
-
typography: typeof typography;
|
|
109
|
-
zIndex: typeof zIndex;
|
|
110
|
-
motion: typeof motion;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export declare const zIndex: {
|
|
114
|
-
readonly dropdown: 1000;
|
|
115
|
-
readonly sticky: 1100;
|
|
116
|
-
readonly overlay: 1200;
|
|
117
|
-
readonly modal: 1300;
|
|
118
|
-
readonly toast: 1400;
|
|
119
|
-
readonly tooltip: 1500;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
export { }
|