@equal-experts/kuat-react 0.4.1 → 0.5.0
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/README.md +79 -134
- package/dist/accordion-DwQCxX_5.js +43 -0
- package/dist/accordion.css +1 -0
- package/dist/accordion.js +7 -6
- package/dist/alert-dialog-CT9DCCMH.js +96 -0
- package/dist/alert-dialog.css +1 -0
- package/dist/alert-dialog.js +14 -13
- package/dist/badge-Yftb6Tdy.js +22 -0
- package/dist/badge.css +1 -0
- package/dist/badge.js +5 -4
- package/dist/button-DqdoNQqx.js +69 -0
- package/dist/button-group-BNfxHMty.js +80 -0
- package/dist/button-group.css +1 -0
- package/dist/button-group.js +7 -6
- package/dist/button.css +1 -0
- package/dist/button.js +5 -4
- package/dist/checkbox-field-Bslh9sHw.js +65 -0
- package/dist/checkbox-field.css +1 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/checkbox.js +10 -0
- package/dist/components/ui/accordion/index.d.ts +1 -0
- package/dist/components/ui/alert-dialog/index.d.ts +1 -0
- package/dist/components/ui/badge/badge.d.ts +16 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/breadcrumb/Breadcrumb.d.ts +29 -0
- package/dist/components/ui/breadcrumb/breadcrumb-primitives.d.ts +19 -0
- package/dist/components/ui/breadcrumb/index.d.ts +4 -0
- package/dist/components/ui/button/button.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button-group/button-group.d.ts +23 -0
- package/dist/components/ui/button-group/index.d.ts +2 -0
- package/dist/components/ui/checkbox/checkbox-field.d.ts +23 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox/index.d.ts +4 -0
- package/dist/components/ui/content-card/content-card.d.ts +25 -0
- package/dist/components/ui/content-card/index.d.ts +2 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/components/ui/ee-logo-icon/ee-logo-icon.d.ts +11 -0
- package/dist/components/ui/ee-logo-icon/index.d.ts +2 -0
- package/dist/components/ui/field/field.d.ts +28 -0
- package/dist/components/ui/field/index.d.ts +2 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/input.d.ts +20 -0
- package/dist/components/ui/kuat-carousel/index.d.ts +2 -0
- package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +32 -0
- package/dist/components/ui/kuat-header/index.d.ts +2 -0
- package/dist/components/ui/kuat-header/kuat-header.d.ts +38 -0
- package/dist/components/ui/kuat-logo-lockup/index.d.ts +2 -0
- package/dist/components/ui/kuat-logo-lockup/kuat-logo-lockup.d.ts +17 -0
- package/dist/components/ui/kuat-radial-progress/index.d.ts +2 -0
- package/dist/components/ui/kuat-radial-progress/kuat-radial-progress.d.ts +16 -0
- package/dist/components/ui/radio/index.d.ts +4 -0
- package/dist/components/ui/radio/radio-field.d.ts +25 -0
- package/dist/components/ui/radio/radio.d.ts +7 -0
- package/dist/components/ui/select/constants.d.ts +19 -0
- package/dist/components/ui/select/index.d.ts +3 -0
- package/dist/components/ui/select/select.d.ts +53 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/separator.d.ts +9 -0
- package/dist/components/ui/switch/index.d.ts +4 -0
- package/dist/components/ui/switch/switch-field.d.ts +23 -0
- package/dist/components/ui/switch/switch.d.ts +5 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/textarea.d.ts +9 -0
- package/dist/components/ui/toggle/constants.d.ts +4 -0
- package/dist/components/ui/toggle/index.d.ts +6 -0
- package/dist/components/ui/toggle/toggle-group.d.ts +11 -0
- package/dist/components/ui/toggle/toggle.d.ts +9 -0
- package/dist/constants-DHz0LWRt.js +49 -0
- package/dist/constants.css +1 -0
- package/dist/field-DRLopwY4.js +141 -0
- package/dist/field.css +1 -0
- package/dist/field.d.ts +3 -0
- package/dist/field.js +17 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +48 -23
- package/dist/index.js +2054 -30
- package/dist/input-2x92vprz.js +43 -0
- package/dist/input.css +1 -0
- package/dist/input.d.ts +3 -0
- package/dist/input.js +8 -0
- package/dist/kuat-radial-progress-B3nQqPFW.js +105 -0
- package/dist/kuat-radial-progress.css +1 -0
- package/dist/kuat-radial-progress.d.ts +7 -0
- package/dist/kuat-radial-progress.js +6 -0
- package/dist/lib/react-node-compat.d.ts +7 -0
- package/dist/radio-field-G8dvdsLE.js +82 -0
- package/dist/radio-field.css +1 -0
- package/dist/radio.d.ts +3 -0
- package/dist/radio.js +11 -0
- package/dist/select-Oz2Zj-L0.js +232 -0
- package/dist/select.css +1 -0
- package/dist/select.d.ts +3 -0
- package/dist/select.js +19 -0
- package/dist/styles.css +1 -0
- package/dist/switch-field-Ce9CiRqk.js +61 -0
- package/dist/switch-field.css +1 -0
- package/dist/switch.d.ts +1 -0
- package/dist/switch.js +7 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/textarea-DiU8h_H0.js +19 -0
- package/dist/textarea.css +1 -0
- package/dist/textarea.d.ts +3 -0
- package/dist/textarea.js +8 -0
- package/dist/toggle-group.d.ts +3 -0
- package/dist/toggle-group.js +10 -0
- package/dist/toggle.d.ts +3 -0
- package/dist/toggle.js +9 -0
- package/dist/{utils-qaFjX9_3.js → utils-DLUjLwnh.js} +0 -1
- package/package.json +52 -4
- package/dist/accordion-CQDgmmJ5.js +0 -46
- package/dist/alert-dialog-CzXLOFRG.js +0 -113
- package/dist/badge-DRUd-ban.js +0 -26
- package/dist/button-CPn6T5-L.js +0 -44
- package/dist/button-group-DUSbG9lE.js +0 -93
- package/dist/components/ui/badge.d.ts +0 -9
- package/dist/components/ui/button-group.d.ts +0 -12
- package/dist/components/ui/button.d.ts +0 -11
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/index-DACAHwoB.js +0 -34
- package/dist/style.css +0 -1
- /package/dist/components/ui/{accordion.d.ts → accordion/accordion.d.ts} +0 -0
- /package/dist/components/ui/{alert-dialog.d.ts → alert-dialog/alert-dialog.d.ts} +0 -0
package/dist/field.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { c as s } from "./utils-DLUjLwnh.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { j as l, F as r, a as F, b as o, c as t, d as p, e as n, f as c, g as f, h as m, i as E } from "./field-DRLopwY4.js";
|
|
4
|
+
export {
|
|
5
|
+
l as FIELD_ORIENTATIONS,
|
|
6
|
+
r as Field,
|
|
7
|
+
F as FieldContent,
|
|
8
|
+
o as FieldDescription,
|
|
9
|
+
t as FieldError,
|
|
10
|
+
p as FieldGroup,
|
|
11
|
+
n as FieldLabel,
|
|
12
|
+
c as FieldLegend,
|
|
13
|
+
f as FieldSeparator,
|
|
14
|
+
m as FieldSet,
|
|
15
|
+
E as FieldTitle,
|
|
16
|
+
s as cn
|
|
17
|
+
};
|
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial}}}.content-card{width:100%;max-width:373px;min-width:calc(var(--spacing,.25rem)*0);border-style:var(--tw-border-style);--tw-border-style:solid;border-style:solid;border-width:1px;border-color:var(--border);background-color:var(--card);padding-bottom:calc(var(--spacing,.25rem)*2);flex-direction:column;align-items:flex-start;display:flex;position:relative}.content-card__media{flex-shrink:0;width:100%;height:192px;position:relative}.content-card__media-img{pointer-events:none;inset:calc(var(--spacing,.25rem)*0);object-fit:cover;width:100%;max-width:none;height:100%}.content-card__body{align-items:flex-start;gap:calc(var(--spacing,.25rem)*4);width:100%;padding:calc(var(--spacing,.25rem)*4);flex-direction:column;flex-shrink:0;display:flex;position:relative}.content-card__heading-row{flex-shrink:0;justify-content:space-between;align-items:flex-start;width:100%;display:flex;overflow:clip}.content-card__heading-left{align-items:flex-start;gap:calc(var(--spacing,.25rem)*1);flex-direction:column;flex:1 0 0;min-width:1px;min-height:1px;display:flex;position:relative}.content-card__header-accessory{justify-content:flex-start;align-items:flex-start;gap:calc(var(--spacing,.25rem)*2);flex-direction:column;flex-shrink:0;display:flex;overflow:clip}.content-card__heading-meta{align-items:center;gap:calc(var(--spacing,.25rem)*2);flex-shrink:0;display:flex}.content-card__badge{align-items:center;display:flex}.content-card__category{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);white-space:nowrap;color:var(--ee-blue-700)}.content-card__title{width:100%;max-width:250px;font-size:var(--text-2xl,1.5rem);line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2/1.5)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);--tw-tracking:calc(var(--tracking-normal) - .025em);letter-spacing:calc(var(--tracking-normal) - .025em);color:var(--foreground)}.content-card__content{flex-shrink:0;width:100%;position:relative;overflow:clip}.content-card__content-text{white-space:pre-wrap;color:var(--foreground)}.content-card__custom-content,.content-card__footer{flex-shrink:0;width:100%;position:relative;overflow:clip}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}.kuat-header{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;width:100%;position:relative}.kuat-header--default{border-color:var(--border);background-color:var(--kuat-header-default-background);color:var(--kuat-header-default-foreground)}.kuat-header--bold{background-color:var(--kuat-header-bold-background);color:var(--kuat-header-bold-foreground);border-color:var(--kuat-header-bold-foreground-secondary)}@supports (color:color-mix(in lab,red,red)){.kuat-header--bold{border-color:color-mix(in srgb,var(--kuat-header-bold-foreground-secondary)20%,transparent)}}.kuat-header__desktop{display:none}@media (min-width:768px){.kuat-header__desktop{height:98px;padding-inline:calc(var(--spacing,.25rem)*6);justify-content:space-between;align-items:center;display:flex}}.kuat-header__desktop-left{align-items:center;gap:calc(var(--spacing,.25rem)*5);display:flex}.kuat-header__desktop-title{letter-spacing:-.025em;font-size:30px;font-weight:600;line-height:30px;font-family:var(--font-sans)}.kuat-header--default .kuat-header__desktop-title{color:var(--kuat-header-default-foreground)}.kuat-header--bold .kuat-header__desktop-title{color:var(--kuat-header-bold-foreground)}.kuat-header__desktop-right{align-items:center;gap:calc(var(--spacing,.25rem)*8);display:flex}.kuat-header__mobile{min-height:103px;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*4);justify-content:space-between;align-items:flex-start;display:flex}@media (min-width:768px){.kuat-header__mobile{display:none}}.kuat-header__mobile-left{gap:calc(var(--spacing,.25rem)*2);flex-direction:column;display:flex}.kuat-header__mobile-title{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600)}.kuat-header--default .kuat-header__mobile-title{color:var(--kuat-header-default-foreground-secondary)}.kuat-header--bold .kuat-header__mobile-title{color:var(--kuat-header-bold-foreground-secondary)}.kuat-header__separator{width:1px;height:49px}.kuat-header--default .kuat-header__separator{background-color:var(--border)}.kuat-header--bold .kuat-header__separator{background-color:var(--kuat-header-bold-foreground-secondary)}@supports (color:color-mix(in lab,red,red)){.kuat-header--bold .kuat-header__separator{background-color:color-mix(in srgb,var(--kuat-header-bold-foreground-secondary)30%,transparent)}}.ee-logo__text{fill:currentColor}.ee-logo--grey{color:gray}.ee-logo--white{color:#fff}.ee-logo--desktop{width:188px;height:50px}@media (min-width:768px){.ee-logo--desktop{width:188px;height:50px}}.ee-logo--mobile{width:147px;height:39px}.kuat-carousel{width:100%;position:relative}.kuat-carousel__viewport{overflow:hidden}.kuat-carousel__content{display:flex}.kuat-carousel__content--horizontal{margin-left:calc(var(--spacing,.25rem)*-2)}.kuat-carousel__content--vertical{margin-top:calc(var(--spacing,.25rem)*-2);flex-direction:column}.kuat-carousel__item{min-width:calc(var(--spacing,.25rem)*0);border-radius:calc(var(--radius) - 2px);flex-grow:0;flex-shrink:0;box-shadow:0 1px 2px #0000000d}.kuat-carousel__item--horizontal{padding-left:calc(var(--spacing,.25rem)*2)}.kuat-carousel__item--vertical{padding-top:calc(var(--spacing,.25rem)*2)}.kuat-carousel__item--basis-1{flex-basis:100%}.kuat-carousel__item--basis-2{flex-basis:50%}.kuat-carousel__item--basis-3{flex-basis:33.3333%}.kuat-carousel__prev,.kuat-carousel__next{top:calc(var(--spacing,.25rem)*0);z-index:10;width:calc(var(--spacing,.25rem)*8);height:calc(var(--spacing,.25rem)*8);border-radius:calc(var(--radius) - 4px);background-color:var(--primary);color:var(--primary-foreground);opacity:1;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));transition-duration:.15s;transition-timing-function:default;justify-content:center;align-items:center;display:flex;position:absolute;box-shadow:0 1px 2px #0000000d}.kuat-carousel__prev:disabled,.kuat-carousel__next:disabled{pointer-events:none;opacity:.5}.kuat-carousel__prev:hover:not(:disabled),.kuat-carousel__next:hover:not(:disabled){background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.kuat-carousel__prev:hover:not(:disabled),.kuat-carousel__next:hover:not(:disabled){background-color:color-mix(in srgb,var(--primary)90%,transparent)}}.kuat-carousel__prev{right:calc(var(--spacing,.25rem)*8)}.kuat-carousel__next{right:calc(var(--spacing,.25rem)*0)}.kuat-carousel__prev svg,.kuat-carousel__next svg{width:calc(var(--spacing,.25rem)*4);height:calc(var(--spacing,.25rem)*4)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-leading:initial;--tw-font-weight:initial}}}.kuat-logo-lockup{container:logo-lockup/inline-size}.kuat-logo-lockup--light,.kuat-logo-lockup--light .kuat-logo-lockup__service-name,.kuat-logo-lockup--light .kuat-logo-lockup__demo-title,.kuat-logo-lockup--light .kuat-logo-lockup__demo-by{color:var(--kuat-header-default-foreground)}.kuat-logo-lockup--dark,.kuat-logo-lockup--dark .kuat-logo-lockup__service-name,.kuat-logo-lockup--dark .kuat-logo-lockup__demo-title,.kuat-logo-lockup--dark .kuat-logo-lockup__demo-by{color:var(--kuat-header-bold-foreground)}.kuat-logo-lockup--service .kuat-logo-lockup__service-inner{align-items:flex-start;gap:calc(2*var(--spacing));flex-direction:column;display:flex}.kuat-logo-lockup__separator{width:1px;height:calc(6*var(--spacing));flex-shrink:0;display:none}.kuat-logo-lockup--light .kuat-logo-lockup__separator{background-color:var(--border)}.kuat-logo-lockup--dark .kuat-logo-lockup__separator{background-color:var(--kuat-header-bold-foreground-secondary)}@supports (color:color-mix(in lab,red,red)){.kuat-logo-lockup--dark .kuat-logo-lockup__separator{background-color:color-mix(in srgb,var(--kuat-header-bold-foreground-secondary)30%,transparent)}}@container logo-lockup (min-width:320px){.kuat-logo-lockup--service .kuat-logo-lockup__service-inner{align-items:center;gap:calc(4*var(--spacing));flex-direction:row}.kuat-logo-lockup__separator{display:block}}@supports not (container-type:inline-size){@media (min-width:768px){.kuat-logo-lockup--service .kuat-logo-lockup__service-inner{align-items:center;gap:calc(4*var(--spacing));flex-direction:row}.kuat-logo-lockup__separator{display:block}}}.kuat-logo-lockup__service-name{letter-spacing:var(--tracking-tight);font-size:1.875rem;font-weight:600;line-height:1;font-family:var(--font-sans)}.kuat-logo-lockup__logo-wrap,.kuat-logo-lockup__logo-icon{flex-shrink:0}.kuat-logo-lockup__logo.kuat-logo-lockup__logo--demo{height:calc(6*var(--spacing));width:auto}.kuat-logo-lockup__logo:not(.kuat-logo-lockup__logo--demo){width:188px;height:50px}.kuat-logo-lockup__logo-icon{height:calc(10*var(--spacing));width:43px}.kuat-logo-lockup--demo .kuat-logo-lockup__demo-title{letter-spacing:var(--tracking-tight);font-size:1.875rem;font-weight:600;line-height:1.2;font-family:var(--font-sans);margin:0 0 calc(2*var(--spacing))0}.kuat-logo-lockup__demo-attribution{align-items:center;gap:calc(2*var(--spacing));display:flex}.kuat-logo-lockup__demo-by{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-leading:calc(var(--spacing,.25rem)*4);line-height:calc(var(--spacing,.25rem)*4);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);letter-spacing:var(--tracking-normal);font-family:var(--font-sans)}.kuat-logo-lockup__demo-logo-wrap{align-items:center;display:flex}.kuat-logo-lockup__demo-logo-wrap .kuat-logo-lockup__logo{height:calc(5*var(--spacing));width:auto}.kuat-logo-lockup__demo-logo-wrap .kuat-logo-lockup__logo-icon{height:calc(5*var(--spacing));width:22px}.ee-logo-icon{color:var(--primary)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-outline-style:solid;--tw-font-weight:initial;--tw-border-style:solid;--tw-leading:initial}}}.breadcrumb-list{margin:calc(var(--spacing,.25rem)*0);align-items:center;gap:calc(var(--spacing,.25rem)*2);padding:calc(var(--spacing,.25rem)*0);flex-wrap:wrap;list-style-type:none;display:flex}.breadcrumb-item{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:inline-flex}.breadcrumb-link{color:var(--foreground);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));text-decoration-line:none}.breadcrumb-link:hover{color:var(--foreground);text-decoration-line:underline}.breadcrumb-link:focus-visible{outline-style:var(--tw-outline-style);outline-offset:2px;outline-width:2px;outline-color:var(--ring);border-radius:.25rem}.breadcrumb-page{pointer-events:none;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--muted-foreground)}.breadcrumb-separator{color:var(--muted-foreground);-webkit-user-select:none;user-select:none;display:inline-flex}.breadcrumb-separator__icon{width:calc(var(--spacing,.25rem)*4);height:calc(var(--spacing,.25rem)*4)}.breadcrumb-ellipsis{color:var(--muted-foreground);display:inline-flex}.breadcrumb-ellipsis__icon{width:calc(var(--spacing,.25rem)*4);height:calc(var(--spacing,.25rem)*4)}.breadcrumb-dropdown-trigger{cursor:pointer;border-style:var(--tw-border-style);padding:calc(var(--spacing,.25rem)*0);color:var(--foreground);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));font:inherit;background-color:#0000;border-width:0;text-decoration-line:none;display:flex}.breadcrumb-dropdown-trigger:hover{text-decoration-line:underline}.breadcrumb-dropdown-trigger:focus-visible{outline-style:var(--tw-outline-style);outline-offset:2px;outline-width:2px;outline-color:var(--ring);border-radius:.25rem}.breadcrumb-dropdown-trigger__icon{width:calc(var(--spacing,.25rem)*4);height:calc(var(--spacing,.25rem)*4);flex-shrink:0}.breadcrumb-ellipsis-trigger{padding:calc(var(--spacing,.25rem)*0);--tw-leading:1;line-height:1}.breadcrumb .sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial}}}.dropdown-menu-content{z-index:50;min-width:calc(var(--spacing,.25rem)*32);border-radius:calc(var(--radius) - 2px);border-style:var(--tw-border-style);border-width:1px;border-color:var(--border);background-color:var(--background);padding:calc(var(--spacing,.25rem)*1);overflow:hidden;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.dropdown-menu-content[data-state=open]{animation:.15s ease-out dropdown-menu-in}.dropdown-menu-content[data-state=closed]{animation:.15s ease-out dropdown-menu-out}@keyframes dropdown-menu-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes dropdown-menu-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.dropdown-menu-item,.dropdown-menu-checkbox-item,.dropdown-menu-radio-item{cursor:default;padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1.5);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-leading:calc(var(--spacing,.25rem)*5);line-height:calc(var(--spacing,.25rem)*5);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-outline-style:none;-webkit-user-select:none;user-select:none;border-radius:.25rem;outline-style:none;align-items:center;display:flex;position:relative}.dropdown-menu-item[data-highlighted],.dropdown-menu-checkbox-item[data-highlighted],.dropdown-menu-radio-item[data-highlighted]{background-color:var(--accent);color:var(--accent-foreground)}.dropdown-menu-item[data-disabled],.dropdown-menu-checkbox-item[data-disabled],.dropdown-menu-radio-item[data-disabled]{pointer-events:none;opacity:.5}.dropdown-menu-item--inset,.dropdown-menu-checkbox-item--inset,.dropdown-menu-radio-item--inset{padding-left:calc(var(--spacing,.25rem)*8)}.dropdown-menu-label{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1.5);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--muted-foreground)}.dropdown-menu-label--inset{padding-left:calc(var(--spacing,.25rem)*8)}.dropdown-menu-separator{margin-inline:calc(var(--spacing,.25rem)*-1);margin-block:calc(var(--spacing,.25rem)*1);background-color:var(--border);height:1px}.dropdown-menu-shortcut{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-tracking:calc(var(--tracking-normal) + .05em);letter-spacing:calc(var(--tracking-normal) + .05em);color:var(--muted-foreground);margin-left:auto}.dropdown-menu-sub-trigger{cursor:default;padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1.5);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-outline-style:none;-webkit-user-select:none;user-select:none;border-radius:.25rem;outline-style:none;align-items:center;display:flex}.dropdown-menu-sub-trigger[data-highlighted]{background-color:var(--accent);color:var(--accent-foreground)}.dropdown-menu-sub-trigger__icon{width:calc(var(--spacing,.25rem)*4);height:calc(var(--spacing,.25rem)*4);margin-left:auto}.dropdown-menu-sub-content{min-width:calc(var(--spacing,.25rem)*32)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
export { cn } from './lib/utils';
|
|
3
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, } from './components/ui/button-group';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Install directly via `npx shadcn@latest add button`.
|
|
6
|
-
* The component will be themed automatically when using kuat-core.
|
|
7
|
-
*/
|
|
8
|
-
export { Button, buttonVariants } from './components/ui/button';
|
|
9
|
-
/** @deprecated */
|
|
10
|
-
export type { ButtonProps } from './components/ui/button';
|
|
11
1
|
/**
|
|
12
|
-
* @
|
|
13
|
-
*
|
|
2
|
+
* @equal-experts/kuat-react
|
|
3
|
+
*
|
|
4
|
+
* Kuat Design System - React Components
|
|
5
|
+
*
|
|
6
|
+
* This package provides:
|
|
7
|
+
* - Custom Kuat components (ButtonGroup, future blocks)
|
|
8
|
+
* - Utilities (cn)
|
|
9
|
+
* - Design tokens via bundled styles
|
|
10
|
+
*
|
|
11
|
+
// For standard UI components not listed below (e.g. Dialog), install them directly
|
|
12
|
+
// via shadcn CLI with kuat-core theming. See documentation for setup guide.
|
|
14
13
|
*/
|
|
14
|
+
export { cn } from './lib/utils';
|
|
15
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, BUTTON_GROUP_ORIENTATIONS, } from './components/ui/button-group';
|
|
16
|
+
export type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps, ButtonGroupOrientation, } from './components/ui/button-group';
|
|
17
|
+
export { ContentCard } from './components/ui/content-card';
|
|
18
|
+
export type { ContentCardProps } from './components/ui/content-card';
|
|
19
|
+
export { KuatHeader, kuatHeaderVariants, EELogo } from './components/ui/kuat-header';
|
|
20
|
+
export type { KuatHeaderProps, EELogoProps } from './components/ui/kuat-header';
|
|
21
|
+
export { KuatCarousel, KuatCarouselContent, KuatCarouselItem, KuatCarouselPrevious, KuatCarouselNext, useKuatCarousel, } from './components/ui/kuat-carousel';
|
|
22
|
+
export type { KuatCarouselSlidesPerView, KuatCarouselProps, KuatCarouselContentProps, KuatCarouselItemProps, } from './components/ui/kuat-carousel';
|
|
23
|
+
export { KuatRadialProgress, KUAT_RADIAL_PROGRESS_SIZES, KUAT_RADIAL_PROGRESS_COLORS, } from './components/ui/kuat-radial-progress';
|
|
24
|
+
export type { KuatRadialProgressProps, KuatRadialProgressSize, KuatRadialProgressColor, } from './components/ui/kuat-radial-progress';
|
|
25
|
+
export { KuatLogoLockup, KUAT_LOGO_LOCKUP_USE, KUAT_LOGO_LOCKUP_MODE, } from './components/ui/kuat-logo-lockup';
|
|
26
|
+
export type { KuatLogoLockupProps, KuatLogoLockupUse, KuatLogoLockupMode, } from './components/ui/kuat-logo-lockup';
|
|
27
|
+
export { EELogoIcon } from './components/ui/ee-logo-icon';
|
|
28
|
+
export type { EELogoIconProps } from './components/ui/ee-logo-icon';
|
|
15
29
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated Install directly via `npx shadcn@latest add alert-dialog`.
|
|
18
|
-
* The component will be themed automatically when using kuat-core.
|
|
19
|
-
*/
|
|
20
30
|
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, } from './components/ui/alert-dialog';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
|
|
27
|
-
export
|
|
31
|
+
export { Badge, badgeVariants, BADGE_VARIANTS, BADGE_ROUNDNESS } from './components/ui/badge';
|
|
32
|
+
export type { BadgeProps, BadgeVariant, BadgeRoundness } from './components/ui/badge';
|
|
33
|
+
export { Breadcrumb, BreadcrumbRoot, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from './components/ui/breadcrumb';
|
|
34
|
+
export type { BreadcrumbProps, BreadcrumbItemEntry, BreadcrumbLinkProps, } from './components/ui/breadcrumb';
|
|
35
|
+
export { Button, buttonVariants, BUTTON_VARIANTS, BUTTON_SIZES, BUTTON_COLORS, } from './components/ui/button';
|
|
36
|
+
export type { ButtonProps, ButtonVariant, ButtonSize, ButtonColor } from './components/ui/button';
|
|
37
|
+
export { Textarea, TEXTAREA_RESIZE } from './components/ui/textarea';
|
|
38
|
+
export type { TextareaProps, TextareaResize } from './components/ui/textarea';
|
|
39
|
+
export { Input, INPUT_SIZES } from './components/ui/input';
|
|
40
|
+
export type { InputProps, InputSize } from './components/ui/input';
|
|
41
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FIELD_ORIENTATIONS, } from './components/ui/field';
|
|
42
|
+
export type { FieldErrorProps, FieldLegendProps, FieldLegendVariant, FieldOrientation, FieldProps, } from './components/ui/field';
|
|
43
|
+
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, } from './components/ui/select';
|
|
44
|
+
export type { KuatSelectProps, SelectContentProps, SelectItemGroup, SelectItemOption, SelectItemProps, SelectItems, SelectLabelProps, SelectLines, SelectProps, SelectSeparatorProps, SelectSize, SelectTriggerProps, SelectValueProps, } from './components/ui/select';
|
|
45
|
+
export { Checkbox, CheckboxField, CHECKBOX_FIELD_APPEARANCES, CHECKBOX_FIELD_LAYOUTS, } from './components/ui/checkbox';
|
|
46
|
+
export type { CheckboxProps, CheckboxFieldAppearance, CheckboxFieldLayout, CheckboxFieldProps, } from './components/ui/checkbox';
|
|
47
|
+
export { RadioGroup, RadioGroupItem, RadioField, RADIO_FIELD_APPEARANCES, RADIO_FIELD_LAYOUTS, } from './components/ui/radio';
|
|
48
|
+
export type { RadioGroupProps, RadioGroupItemProps, RadioFieldAppearance, RadioFieldLayout, RadioFieldProps, } from './components/ui/radio';
|
|
49
|
+
export { Switch, SwitchField, SWITCH_FIELD_APPEARANCES, SWITCH_FIELD_LAYOUTS, } from './components/ui/switch';
|
|
50
|
+
export type { SwitchProps, SwitchFieldAppearance, SwitchFieldLayout, SwitchFieldProps, } from './components/ui/switch';
|
|
51
|
+
export { Toggle, ToggleGroup, ToggleGroupItem, TOGGLE_SIZES, TOGGLE_SKINS, } from './components/ui/toggle';
|
|
52
|
+
export type { ToggleProps, ToggleGroupProps, ToggleGroupItemProps, ToggleSize, ToggleSkin, } from './components/ui/toggle';
|