@adgytec/adgytec-web-ui-components 1.0.0 → 1.1.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/dist/assets/Avatar.css +1 -0
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/ButtonChild.css +1 -0
- package/dist/assets/Container.css +1 -0
- package/dist/assets/Disclosure.css +1 -1
- package/dist/assets/DisclousreGroup.css +1 -0
- package/dist/assets/Error.css +1 -0
- package/dist/assets/FieldError.css +1 -1
- package/dist/assets/Form.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/Link.css +1 -1
- package/dist/assets/Loader.css +1 -1
- package/dist/assets/Menu.css +1 -1
- package/dist/assets/MenuLabel.css +1 -1
- package/dist/assets/ModalAction.css +1 -0
- package/dist/assets/ModalBase.css +1 -1
- package/dist/assets/NavigationMenu.css +1 -1
- package/dist/assets/NavigationSidebar.css +1 -1
- package/dist/assets/Popover.css +1 -1
- package/dist/assets/Select.css +1 -0
- package/dist/assets/Sidebar.css +1 -1
- package/dist/assets/Success.css +1 -0
- package/dist/assets/TextArea.css +1 -0
- package/dist/assets/Toast.css +1 -0
- package/dist/assets/ToggleButtonGroup.css +1 -0
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/Tree.css +1 -1
- package/dist/assets/useSplash.css +1 -0
- package/dist/chunks/Avatar +42 -0
- package/dist/chunks/BaseCard +33 -0
- package/dist/chunks/Button +39 -0
- package/dist/chunks/ButtonChild +47 -0
- package/dist/chunks/ButtonLink +40 -0
- package/dist/chunks/ComponentShapeSwitcher +47 -0
- package/dist/chunks/Container +21 -0
- package/dist/chunks/Disclosure +25 -0
- package/dist/chunks/DisclousreGroup +18 -0
- package/dist/chunks/Error +8 -0
- package/dist/chunks/FieldError +25 -0
- package/dist/chunks/FilledButton +9 -0
- package/dist/chunks/FilledButtonLink +6 -0
- package/dist/chunks/Form +52 -0
- package/dist/chunks/GradientCard +6 -0
- package/dist/chunks/Image +32 -0
- package/dist/chunks/Input +34 -0
- package/dist/chunks/Link +31 -0
- package/dist/chunks/Loader +9 -0
- package/dist/chunks/Menu +56 -0
- package/dist/chunks/MenuButton +6 -0
- package/dist/chunks/MenuLabel +15 -0
- package/dist/chunks/ModalAction +52 -0
- package/dist/chunks/ModalBase +31 -0
- package/dist/chunks/NavigationMenu +48 -0
- package/dist/chunks/NavigationResponsive +12 -0
- package/dist/chunks/NavigationSidebar +34 -0
- package/dist/chunks/OutlinedButton +9 -0
- package/dist/chunks/OutlinedButtonLink +6 -0
- package/dist/chunks/Popover +15 -0
- package/dist/chunks/PopoverDialog +15 -0
- package/dist/chunks/Select +121 -0
- package/dist/chunks/Sidebar +54 -0
- package/dist/chunks/SolidCard +9 -0
- package/dist/chunks/Success +8 -0
- package/dist/chunks/TextArea +34 -0
- package/dist/chunks/TextButton +9 -0
- package/dist/chunks/ThemeSwitcher +53 -0
- package/dist/chunks/Toast +49 -0
- package/dist/chunks/ToggleButton +35 -0
- package/dist/chunks/ToggleButtonGroup +29 -0
- package/dist/chunks/Tooltip +29 -0
- package/dist/chunks/Tree +36 -0
- package/dist/chunks/Viewport +16 -0
- package/dist/chunks/useSplash +48 -0
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.js +2 -33
- package/dist/components/Avatar/types.d.ts +9 -14
- package/dist/components/Button/ButtonBase/ButtonLink.d.ts +1 -1
- package/dist/components/Button/ButtonBase/index.d.ts +1 -1
- package/dist/components/Button/ButtonBase/index.js +1 -5
- package/dist/components/Button/ButtonBase/types.d.ts +4 -16
- package/dist/components/Button/ButtonChild/ButtonChild.d.ts +1 -1
- package/dist/components/Button/ButtonChild/index.d.ts +1 -1
- package/dist/components/Button/ButtonChild/index.js +2 -48
- package/dist/components/Button/ButtonChild/types.d.ts +1 -7
- package/dist/components/Button/FilledButton/index.js +1 -1
- package/dist/components/Button/OutlinedButton/index.js +1 -1
- package/dist/components/Button/TextButton/index.js +1 -1
- package/dist/components/Button/ToggleButton/index.js +1 -1
- package/dist/components/Card/BaseCard/index.d.ts +1 -1
- package/dist/components/Card/BaseCard/index.js +2 -3
- package/dist/components/Card/BaseCard/types.d.ts +2 -9
- package/dist/components/Card/GradientCard/index.js +2 -4
- package/dist/components/Card/SolidCard/index.js +2 -7
- package/dist/components/Container/Container.d.ts +2 -0
- package/dist/components/Container/index.d.ts +2 -0
- package/dist/components/Container/index.js +4 -0
- package/dist/components/Container/types.d.ts +5 -0
- package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +1 -1
- package/dist/components/Disclosure/Disclosure/index.d.ts +1 -1
- package/dist/components/Disclosure/Disclosure/index.js +1 -1
- package/dist/components/Disclosure/Disclosure/types.d.ts +2 -0
- package/dist/components/Disclosure/DisclousureGroup/index.d.ts +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +2 -7
- package/dist/components/Error/index.d.ts +1 -1
- package/dist/components/Error/index.js +2 -5
- package/dist/components/Form/Form/index.d.ts +1 -1
- package/dist/components/Form/Form/index.js +2 -46
- package/dist/components/Form/Input/index.d.ts +1 -1
- package/dist/components/Form/Input/index.js +2 -31
- package/dist/components/Form/TextArea/index.d.ts +1 -1
- package/dist/components/Form/TextArea/index.js +2 -31
- package/dist/components/Image/Image.d.ts +3 -0
- package/dist/components/Image/ImageSource.d.ts +3 -0
- package/dist/components/Image/ImageVariants.d.ts +3 -0
- package/dist/components/Image/index.d.ts +2 -0
- package/dist/components/Image/index.js +4 -0
- package/dist/components/Image/types.d.ts +17 -0
- package/dist/components/Link/FilledButtonLink/index.js +1 -4
- package/dist/components/Link/LinkBase/index.d.ts +1 -1
- package/dist/components/Link/LinkBase/index.js +1 -1
- package/dist/components/Link/OutlinedButtonLink/index.js +2 -5
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuBase/index.d.ts +1 -1
- package/dist/components/Menu/MenuButton/index.js +2 -4
- package/dist/components/Menu/MenuLabel/index.js +1 -1
- package/dist/components/Modal/ModalAction/index.d.ts +1 -1
- package/dist/components/Modal/ModalAction/index.js +2 -49
- package/dist/components/Modal/ModalAction/types.d.ts +1 -4
- package/dist/components/Modal/ModalBase/index.d.ts +1 -1
- package/dist/components/Modal/ModalBase/index.js +1 -1
- package/dist/components/Navigation/NavigationMenu/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationMenu/index.js +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.js +2 -10
- package/dist/components/Navigation/NavigationSidebar/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationSidebar/index.js +1 -1
- package/dist/components/Popover/PopoverBase/index.d.ts +1 -1
- package/dist/components/Popover/PopoverBase/index.js +1 -1
- package/dist/components/Popover/PopoverDialog/index.js +2 -13
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.js +2 -89
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.js +2 -4
- package/dist/components/Sidebar/types.d.ts +2 -12
- package/dist/components/Success/index.d.ts +1 -1
- package/dist/components/Success/index.js +2 -5
- package/dist/components/Toast/Toast.d.ts +2 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toast/index.js +4 -0
- package/dist/components/Toast/types.d.ts +12 -0
- package/dist/components/ToggleButtonGroup/index.d.ts +1 -1
- package/dist/components/ToggleButtonGroup/index.js +2 -27
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Tree/index.d.ts +1 -1
- package/dist/components/Tree/index.js +1 -1
- package/dist/components/Viewport/Viewport.d.ts +1 -0
- package/dist/components/Viewport/index.d.ts +1 -0
- package/dist/components/Viewport/index.js +4 -0
- package/dist/components/VisualSettings/ComponentShapeSwitcher/ComponentShapeSwitcher.d.ts +0 -1
- package/dist/components/VisualSettings/ComponentShapeSwitcher/index.d.ts +1 -1
- package/dist/components/VisualSettings/ComponentShapeSwitcher/index.js +2 -4
- package/dist/components/VisualSettings/ComponentShapeSwitcher/types.d.ts +7 -5
- package/dist/components/VisualSettings/ThemeSwitcher/ThemeSwitcher.d.ts +0 -1
- package/dist/components/VisualSettings/ThemeSwitcher/index.d.ts +1 -1
- package/dist/components/VisualSettings/ThemeSwitcher/index.js +1 -1
- package/dist/components/VisualSettings/ThemeSwitcher/types.d.ts +7 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +80 -3
- package/dist/utils/types.d.ts +2 -13
- package/package.json +73 -226
- package/dist/BaseCard-DrG8XXVz.js +0 -30
- package/dist/Button-Dtvxu-co.js +0 -34
- package/dist/ButtonLink-fUZZI7JR.js +0 -36
- package/dist/ComponentShapeSwitcher-CY_93STw.js +0 -46
- package/dist/Disclosure-BGdAnqQv.js +0 -28
- package/dist/FieldError-CvUKcRtm.js +0 -17
- package/dist/FilledButton-SpEu55ES.js +0 -10
- package/dist/Link-Be6F1iXD.js +0 -31
- package/dist/Loader-CLMHp6L7.js +0 -8
- package/dist/Menu-DvZqs_yA.js +0 -55
- package/dist/MenuLabel-B0FrGXKS.js +0 -14
- package/dist/ModalBase-DOU0cBij.js +0 -27
- package/dist/NavigationMenu-DqDfWOnJ.js +0 -49
- package/dist/NavigationSidebar-Dx2ww8hp.js +0 -35
- package/dist/OutlinedButton-QAeXI3Dj.js +0 -10
- package/dist/Popover-CNBII_iI.js +0 -14
- package/dist/Sidebar-BqNH6hIl.js +0 -52
- package/dist/Splash-neeaI9j6.js +0 -46
- package/dist/TextButton-CWDZaF0c.js +0 -10
- package/dist/ThemeSwitcher-Nf1-Z_ql.js +0 -48
- package/dist/ToggleButton-DPy_Urwc.js +0 -31
- package/dist/Tooltip-D-jCnOvo.js +0 -29
- package/dist/Tree-DwJPCnFr.js +0 -35
- package/dist/assets/Splash.css +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/assets/index10.css +0 -1
- package/dist/assets/index11.css +0 -1
- package/dist/assets/index12.css +0 -1
- package/dist/assets/index13.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/assets/index5.css +0 -1
- package/dist/assets/index6.css +0 -1
- package/dist/assets/index7.css +0 -1
- package/dist/assets/index8.css +0 -1
- package/dist/assets/index9.css +0 -1
- package/dist/components/VisualSettings/VisualSettings/VisualSettings.d.ts +0 -3
- package/dist/components/VisualSettings/VisualSettings/index.d.ts +0 -2
- package/dist/components/VisualSettings/VisualSettings/index.js +0 -124
- package/dist/components/VisualSettings/VisualSettings/types.d.ts +0 -3
- package/dist/index-BG6gd3OK.js +0 -118
- package/dist/styles/main.css +0 -208
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._avatar_f8u78_1{--_base-inline-size: 1rem;--_base-font-size: 1rem;--_inline-size: calc( var(--_base-inline-size) * var(--_inline-size-multiplier) );--_font-size: calc(var(--_base-font-size) * var(--_font-multiplier));inline-size:var(--_inline-size);font-size:var(--_font-size);aspect-ratio:1/1;border-radius:var(--radius-circular);overflow:hidden}._node_f8u78_19{display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-bold);text-transform:uppercase;background-color:var(--_avatar-background);color:var(--_avatar-color)}._image_f8u78_31 img{-o-object-fit:cover;object-fit:cover;inline-size:100%;block-size:100%}._small_f8u78_40{--_inline-size-multiplier: 2;--_font-multiplier: .875}._normal_f8u78_45{--_inline-size-multiplier: 2.5;--_font-multiplier: 1}._large_f8u78_50{--_inline-size-multiplier: 3;--_font-multiplier: 1.125}._primary_f8u78_56{--_avatar-background: var(--color-primary);--_avatar-color: var(--color-on-primary)}._primary-variant_f8u78_61{--_avatar-background: var(--color-primary-variant);--_avatar-color: var(--color-on-primary-variant)}._secondary_f8u78_66{--_avatar-background: var(--color-secondary);--_avatar-color: var(--color-on-secondary)}._tertiary_f8u78_71{--_avatar-background: var(--color-tertiary);--_avatar-color: var(--color-on-tertiary)}._error_f8u78_76{--_avatar-background: var(--color-error);--_avatar-color: var(--color-on-error)}._inverse-surface_f8u78_81{--_avatar-background: var(--color-inverse-surface);--_avatar-color: var(--color-inverse-on-surface)}._success_f8u78_86{--_avatar-background: var(--color-success);--_avatar-color: var(--color-on-success)}
|
package/dist/assets/BaseCard.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_5ldih_1{--_card-color: var(--color-on-surface);--_card-background: var(--color-surface);--_card-elevation: var(--elevation-1);--_card-radius: var(--radius);--_card-padding-inline: 1rem;--_card-padding-block: 1rem;--_card-opacity: 1;padding-inline:var(--_card-padding-inline);padding-block:var(--_card-padding-block);border-radius:var(--_card-radius);box-shadow:var(--_card-elevation);background-color:hsl(from var(--_card-background) h s l / var(--_card-opacity));color:var(--_card-color)}._glass_5ldih_26{--_card-opacity: var(--glassmorphism-opacity);-webkit-backdrop-filter:var(--glassmorphism-filter);backdrop-filter:var(--glassmorphism-filter)}._solid_5ldih_31{--_card-background: var(--color-surface-container)}._solid-low_5ldih_35{--_card-background: var(--color-surface-container-low)}._solid-lowest_5ldih_39{--_card-background: var(--color-surface-container-lowest)}._solid-high_5ldih_43{--_card-background: var(--color-surface-container-high)}._solid-highest_5ldih_47{--_card-background: var(--color-surface-container-highest)}._gradient_5ldih_51{background-image:radial-gradient(ellipse at top,hsl(from var(--color-surface-container-low) h s l / var(--_card-opacity)),transparent),radial-gradient(ellipse at bottom,hsl(from var(--color-surface-container-high) h s l / var(--_card-opacity)),transparent);background-repeat:no-repeat}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._with-icon_7gaf9_1{display:flex;gap:.5em;align-items:center;justify-content:space-between}._with-icon_7gaf9_1 svg{width:1.125em;height:1.125em}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._container_1ehhs_1{--_pi: min(5%, 1rem);--_max-inline-size-df: 60rem;inline-size:100%;margin-inline:auto;container-type:inline-size;max-inline-size:var(--_max-inline-size);padding-inline:var(--_pi)}._default_1ehhs_13{--_max-inline-size: var(--max-inline-size, var(--_max-inline-size-df))}._wide_1ehhs_17{--_max-inline-size: var( --max-inline-size-wide, calc(var(--_max-inline-size-df) + 20rem) )}._full_1ehhs_24{--_max-inline-size: 100%;--_pi: 0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._disclosure_17gi1_1{display:grid;gap:.25rem}._disclosure_17gi1_1[data-expanded] svg{rotate:90deg}._trigger_17gi1_12{font-size:var(--_trigger-font-size, 1.125rem)}._trigger_17gi1_12 [slot=trigger]{display:flex;align-items:center;gap:.5rem}._trigger_17gi1_12 svg{width:.875em;transition:rotate .25s}._panel_17gi1_28{font-size:var(--_panel-font-size);height:var(--disclosure-panel-height);transition:height .25s;overflow-block:clip}@media(prefers-reduced-motion:reduce){._panel_17gi1_28{transition:none}}._panel_17gi1_28 ._panel-container_17gi1_39{padding-inline:1.5rem;padding-block:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._disclosure-group_1l24b_1{display:grid;gap:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._error_1213e_1{font-size:.875rem;font-weight:var(--font-weight-bold);color:var(--color-error)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._label_1qkol_1{font-weight:var(--font-weight-medium);font-size:var(--form-label-text)}._error_1sdpb_1{font-size:.875rem;color:var(--color-error)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._form_7gvgt_1{display:grid;gap:var(--form-gap)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._input_1nh7a_1{display:grid;gap:var(--form-input-gap, .25rem)}._editor_1nh7a_6{outline:none;font-weight:var(--font-weight-medium);border-radius:var(--radius);padding-inline:.625em;padding-block:.625em;max-inline-size:100%;inline-size:100%;border:.125rem solid var(--color-outline);background-color:inherit;color:inherit;font-size:var(--form-input-text);transition:border-color .25s}._editor_1nh7a_6[data-focused]{border-color:var(--color-primary)}._editor_1nh7a_6[data-invalid]{border-color:var(--color-error)}
|
package/dist/assets/Link.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._link_ocbdl_1{--_link-text: transparent;--_color: var(--_link-text);cursor:pointer;font-weight:var(--font-weight-medium);text-underline-offset:.125em;text-decoration-thickness:.075em;text-decoration-color:transparent;color:var(--_color);transition:color .25s,text-decoration-color .25s}._link_ocbdl_1[data-hovered=true],._link_ocbdl_1[data-focus-visible=true]{--_color: hsl(from var(--_link-text) h s calc(l + 10) );text-decoration-color:currentColor}._link_ocbdl_1[data-pressed=true]{--_color: hsl(from var(--_link-text) h s calc(l - 5) )}._link_ocbdl_1[data-underline]{text-decoration-color:currentColor}._primary_ocbdl_33{--_link-text: var(--color-primary)}._primary-variant_ocbdl_37{--_link-text: var(--color-primary-variant)}._secondary_ocbdl_41{--_link-text: var(--color-secondary)}._tertiary_ocbdl_45{--_link-text: var(--color-tertiary)}._error_ocbdl_49{--_link-text: var(--color-error)}._inverse-surface_ocbdl_53{--_link-text: var(--color-inverse-surface)}._success_ocbdl_57{--_link-text: var(--color-success)}
|
package/dist/assets/Loader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._loader_9ec9z_1{animation:_loader_9ec9z_1 1s infinite linear}@keyframes _loader_9ec9z_1{0%{rotate:0deg}to{rotate:360deg}}
|
package/dist/assets/Menu.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._menu_7zz3u_1{display:grid;gap:.5rem;border-radius:inherit}._menu-item_7zz3u_7{inline-size:100%;display:grid;border-radius:inherit}._menu-item_7zz3u_7:not(._item-node_7zz3u_12){padding-block:.375rem;padding-inline:.5rem;color:var(--_item-color);background-color:var(--_item-background);text-decoration:none;cursor:pointer}._menu-item_7zz3u_7:not(._item-node_7zz3u_12)[data-has-submenu]{display:flex;gap:.25rem;align-items:center;justify-content:space-between}._menu-item_7zz3u_7:not(._item-node_7zz3u_12)[data-hovered],._menu-item_7zz3u_7:not(._item-node_7zz3u_12)[data-focus-visible],._menu-item_7zz3u_7:not(._item-node_7zz3u_12)[data-open]{--_item-background: hsl( from var(--_card-background) h s calc(l + 10) );--_item-color: hsl(from var(--_card-color) h s calc(l + 10) )}._menu-item_7zz3u_7:not(._item-node_7zz3u_12)[data-selected]{--_item-background: hsl( from var(--_card-background) h s calc(l - 10) );--_item-color: hsl(from var(--_card-color) h s calc(l - 10) )}._separator_7zz3u_47{background-color:var(--color-outline);block-size:.075rem;margin-block:.25rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._pressable_1m2tq_1{display:flex;align-items:center;gap:.25rem;cursor:pointer}._pressable_1m2tq_1 svg{width:.875em}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._modal_x3bbs_1{display:grid;gap:1.5rem}._modal-header_x3bbs_6{font-size:clamp(1.5rem,1.75vi,1.75rem)}._modal-content_x3bbs_10{display:grid;gap:.75rem}._modal-action_x3bbs_15{display:flex;gap:1rem;align-items:center}._modal-action_x3bbs_15._end_x3bbs_20{flex-direction:row-reverse;justify-content:end}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._modal-
|
|
1
|
+
._modal-overlay_1pyzf_1{background-color:hsl(from var(--color-surface) h s l / .5);-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem);position:fixed;inset:0;display:flex;align-items:center;justify-content:center}._modal-overlay_1pyzf_1[data-entering]{animation:_modal-fade_1pyzf_1 .2s}._modal-overlay_1pyzf_1[data-exiting]{animation:_modal-fade_1pyzf_1 .15s reverse ease-in}._modal_1pyzf_1{max-inline-size:min(90dvi,60rem);max-block-size:90dvb;overflow:auto;border-radius:var(--radius);box-shadow:var(--elevation-2)}._modal_1pyzf_1 [data-card=true]{--_card-padding-inline: clamp(1rem, 2vi, 1.5rem);--_card-padding-block: clamp(1rem, 2vi, 1.5rem);--_card-elevation: none}._modal_1pyzf_1[data-entering]{animation:_modal-zoom_1pyzf_1 .3s cubic-bezier(.175,.885,.32,1.275)}@keyframes _modal-fade_1pyzf_1{0%{opacity:0}to{opacity:1}}@keyframes _modal-zoom_1pyzf_1{0%{transform:scale(.8)}to{transform:scale(1)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._menu_vmcq5_1{display:flex;gap:1rem;align-items:center;justify-content:space-between;font-size:1.125rem}._menu_vmcq5_1>*{flex-shrink:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._nav_49xbu_1{--tree-font-size: 1.25rem;--_tree-gap: 1.5em;display:grid}._close_49xbu_8{display:flex;justify-content:end;position:sticky;inset-block-start:0}
|
package/dist/assets/Popover.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._popover_14mpx_1{box-shadow:var(--elevation-2);border-radius:var(--radius);overflow:auto;max-inline-size:min(90vi,50rem);min-inline-size:min(25vi,10rem);transition:transform .25s,opacity .25s;transform:translateZ(0)}._popover_14mpx_1 [data-card=true]{--_card-padding-inline: .5em;--_card-padding-block: .5em;--_card-elevation: none}._popover_14mpx_1[data-placement=bottom]{--_origin: translateY(-.25rem)}._popover_14mpx_1[data-placement=top]{--_origin: translateY(.25rem)}._popover_14mpx_1[data-placement=right]{--_origin: translateX(-.25rem)}._popover_14mpx_1[data-placement=left]{--_origin: translateX(.25rem)}._popover_14mpx_1[data-entering],._popover_14mpx_1[data-exiting]{transform:var(--_origin);opacity:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._select_kw554_1{display:grid;gap:var(--form-input-gap)}._selected-value_kw554_6{font-size:var(--form-input-text);font-weight:var(--font-weight-bold)}._selected-value_kw554_6 ._option-description_kw554_10{display:none}._selected-value_kw554_6[data-placeholder]{font-style:italic}._trigger_kw554_19{display:flex;align-items:center;gap:.75rem;justify-content:space-between}._options-list_kw554_26{display:grid;gap:var(--form-gap);border-radius:inherit}._options-item-group_kw554_32{display:flex;gap:.5rem;align-items:center;justify-content:space-between;cursor:pointer;border-radius:inherit;padding-inline:.75rem;padding-block:.5rem;color:var(--_item-color);background-color:var(--_item-background);transition:background-color .25s,color .25s}._options-item-group_kw554_32[data-hovered],._options-item-group_kw554_32[data-focus-visible]{--_item-background: hsl(from var(--_card-background) h s calc(l + 10) );--_item-color: hsl(from var(--_card-color) h s calc(l + 10) )}._options-item-group_kw554_32[data-selected]{--_item-background: hsl(from var(--_card-background) h s calc(l - 10) );--_item-color: hsl(from var(--_card-color) h s calc(l - 10) )}._options-item_kw554_32{font-size:var(--form-input-text);display:grid;gap:.25rem}._options-item_kw554_32 ._option-description_kw554_10{font-size:.875em;font-style:italic}
|
package/dist/assets/Sidebar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._modal-
|
|
1
|
+
._modal-overlay_d8775_1{--_animation-duration: .3s;background-color:hsl(from var(--color-surface) h s l / .5);-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem);position:fixed;inset:0}._modal-overlay_d8775_1[data-entering]{animation:_modal-fade_d8775_1 var(--_animation-duration)}._modal-overlay_d8775_1[data-exiting]{animation:_modal-fade_d8775_1 var(--_animation-duration) reverse ease-in}._modal_d8775_1{position:fixed;overflow:auto;inset-inline-start:var(--_inline-start);inset-block-start:var(--_block-start);inset-inline-end:var(--_inline-end);inset-block-end:var(--_block-end);box-shadow:var(--elevation-2)}._modal_d8775_1 [data-card=true]{--_card-padding-inline: clamp(1.5rem, 2.25vi, 2rem);--_card-padding-block: clamp(1.5rem, 2.25vi, 2rem);--_card-elevation: none;--_card-radius: 0;inline-size:100%;block-size:100%}._modal_d8775_1[data-entering]{animation-duration:var(--_animation-duration);animation-name:var(--_slide-animation)}._modal_d8775_1[data-exiting]{animation-duration:var(--_animation-duration);animation-timing-function:ease-in;animation-name:var(--_slide-animation);animation-direction:reverse}._inline-start_d8775_55{--_inline-start: 0;--_block-start: 0;--_block-end: 0;--_inline-end: var(--_size);--_from: -100%;--_slide-animation: _inline-slide_d8775_1;border-start-end-radius:var(--radius-sidebar);border-end-end-radius:var(--radius-sidebar)}._inline-end_d8775_68{--_inline-end: 0;--_block-start: 0;--_block-end: 0;--_inline-start: var(--_size);--_from: 100%;--_slide-animation: _inline-slide_d8775_1;border-start-start-radius:var(--radius-sidebar);border-end-start-radius:var(--radius-sidebar)}._block-start_d8775_81{--_inline-end: 0;--_inline-start: 0;--_block-start: 0;--_block-end: var(--_size);--_from: -100%;--_slide-animation: _block-slide_d8775_1;border-end-start-radius:var(--radius-sidebar);border-end-end-radius:var(--radius-sidebar)}._block-end_d8775_94{--_inline-end: 0;--_inline-start: 0;--_block-end: 0;--_block-start: var(--_size);--_from: 100%;--_slide-animation: _block-slide_d8775_1;border-start-end-radius:var(--radius-sidebar);border-start-start-radius:var(--radius-sidebar)}@keyframes _modal-fade_d8775_1{0%{opacity:0}to{opacity:1}}@keyframes _inline-slide_d8775_1{0%{transform:translate(var(--_from))}to{transform:translate(0)}}@keyframes _block-slide_d8775_1{0%{transform:translateY(var(--_from))}to{transform:translateY(0)}}._full_d8775_138{--_size: 0;border-radius:0;border:none}._three-quarters_d8775_145{--_size: 25%}._half_d8775_149{--_size: 50%}._quarter_d8775_153{--_size: 75%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._success_1bwy5_1{font-size:.875rem;font-weight:var(--font-weight-bold);color:var(--color-success)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._textarea_1798z_1{display:grid;gap:var(--form-input-gap, .25rem)}._editor_1798z_6{outline:none;font-weight:var(--font-weight-medium);border-radius:var(--radius);padding-inline:.625em;padding-block:.625em;max-inline-size:100%;border:.125rem solid var(--color-outline);background-color:inherit;color:inherit;resize:vertical;max-height:15rem;font-size:var(--form-input-text)}._editor_1798z_6[data-focused]{border-color:var(--color-primary)}._editor_1798z_6[data-invalid]{border-color:var(--color-error)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._toast_1wt0k_1{inline-size:min(90dvw,25rem);max-block-size:10rem;display:flex;gap:1rem}._heading_1wt0k_9{font-size:1.125rem;line-height:1.125}._content_1wt0k_14{overflow:clip;display:grid;gap:.25rem}._prefix_1wt0k_20{display:flex;align-items:center}._description_1wt0k_25{font-size:.925rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._toggle-button-group_17ilm_1{--_flex-direction: row;display:flex;flex-direction:var(--_flex-direction)}._toggle-button-group_17ilm_1>button{border-radius:0}._toggle-button-group_17ilm_1[data-orientation=vertical]{--_flex-direction: column;--radius-button: var(--radius)}._toggle-button-group_17ilm_1[data-orientation=vertical]>button{margin-block-start:calc(-1 * var(--button-border-width))}._toggle-button-group_17ilm_1[data-orientation=vertical]>button:first-child{border-radius:var(--radius-button) var(--radius-button) 0 0;margin-block-start:0}._toggle-button-group_17ilm_1[data-orientation=vertical]>button:last-child{border-radius:0 0 var(--radius-button) var(--radius-button)}._toggle-button-group_17ilm_1[data-orientation=horizontal]>button{margin-inline-start:calc(-1 * var(--button-border-width))}._toggle-button-group_17ilm_1[data-orientation=horizontal]>button:first-child{margin-inline-start:0;border-radius:var(--radius-button) 0 0 var(--radius-button)}._toggle-button-group_17ilm_1[data-orientation=horizontal]>button:last-child{border-radius:0 var(--radius-button) var(--radius-button) 0}
|
package/dist/assets/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tooltip_1iz1f_1{font-size:.875rem;text-align:center;background-color:var(--_tooltip-background);color:var(--_tooltip-color);padding-inline:.75em;padding-block:.5em;outline:none;max-width:15rem;margin:.625rem;border-radius:var(--radius);box-shadow:var(--elevation-1);transition:transform .25s,opacity .25s;transform:translateZ(0)}._tooltip_1iz1f_1[data-placement=bottom]{--_origin: translateY(-.25rem)}._tooltip_1iz1f_1[data-placement=bottom] ._tooltip-arrow_1iz1f_27 svg{rotate:180deg}._tooltip_1iz1f_1[data-placement=top]{--_origin: translateY(.25rem)}._tooltip_1iz1f_1[data-placement=right]{--_origin: translateX(-.25rem)}._tooltip_1iz1f_1[data-placement=right] ._tooltip-arrow_1iz1f_27 svg{rotate:90deg}._tooltip_1iz1f_1[data-placement=left]{--_origin: translateX(.25rem)}._tooltip_1iz1f_1[data-placement=left] ._tooltip-arrow_1iz1f_27 svg{rotate:-90deg}._tooltip_1iz1f_1[data-entering],._tooltip_1iz1f_1[data-exiting]{transform:var(--_origin);opacity:0}._tooltip-arrow_1iz1f_27 svg{display:block;fill:var(--_tooltip-background);inline-size:.625rem;aspect-ratio:1/1}._primary_1iz1f_67{--_tooltip-background: var(--color-primary-container);--_tooltip-color: var(--color-on-primary-container)}._primary-variant_1iz1f_72{--_tooltip-background: var(--color-primary-variant-container);--_tooltip-color: var(--color-on-primary-variant-container)}._secondary_1iz1f_77{--_tooltip-background: var(--color-secondary-container);--_tooltip-color: var(--color-on-secondary-container)}._tertiary_1iz1f_82{--_tooltip-background: var(--color-tertiary-container);--_tooltip-color: var(--color-on-tertiary-container)}._error_1iz1f_87{--_tooltip-background: var(--color-error-container);--_tooltip-color: var(--color-on-error-container)}._inverse-surface_1iz1f_92{--_tooltip-background: var(--color-surface-container);--_tooltip-color: var(--color-on-surface)}._success_1iz1f_97{--_tooltip-background: var(--color-success-container);--_tooltip-color: var(--color-on-success-container)}
|
package/dist/assets/Tree.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tree_zobz7_1{display:grid;gap:var(--_tree-gap, 1em)}._tree-item_zobz7_6{display:flex;align-items:center;gap:.5em;-webkit-text-decoration:underline transparent;text-decoration:underline transparent;font-size:var(--tree-font-size, 1rem);cursor:context-menu;padding-inline-start:calc(calc(var(--tree-item-level) - 1) * 1em);transition:text-decoration-color .25s}._tree-item_zobz7_6[data-active]{color:var(--color-primary)}._tree-item_zobz7_6:not([data-node]){cursor:pointer}._tree-item_zobz7_6[data-link][data-hovered],._tree-item_zobz7_6[data-link][data-focus-visible]{text-decoration-color:currentColor}._tree-item_zobz7_6 svg{transition:rotate .25s;width:.875em}._tree-item_zobz7_6[data-expanded] svg{rotate:90deg}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._button_x3zyt_1{--_button-theme-background: transparent;--_button-theme-color: transparent;--_button-border-color: var(--_button-theme-background);border-radius:var(--_button-radius);cursor:pointer;border:var(--button-border-width) solid var(--_button-border-color);font-weight:var(--font-weight-medium);text-align:center;padding-inline:var(--_button-padding-inline);padding-block:var(--_button-padding-block);background-color:var(--_button-background);color:var(--_button-color);position:relative;overflow:hidden;transition:background-color .25s,color .25s}._button_x3zyt_1[data-hovered],._button_x3zyt_1[data-focus-visible]{--_button-background: hsl( from var(--_button-theme-background) h s calc(l + 10) );--_button-color: hsl(from var(--_button-theme-color) h s calc(l + 10) )}._button_x3zyt_1[data-pressed]{--_button-background: hsl( from var(--_button-theme-background) h s calc(l - 5) );--_button-color: hsl(from var(--_button-theme-color) h s calc(l - 5) )}._button_x3zyt_1[data-selected]{--_button-background: var(--_button-theme-background);--_button-color: var(--_button-theme-color)}._button-link_x3zyt_46{text-underline-offset:.125em;text-decoration-thickness:.075em;text-decoration-color:transparent}._button-link_x3zyt_46[data-hovered],._button-link_x3zyt_46[data-focus-visible],._button-link_x3zyt_46[data-underline]{text-decoration-color:currentColor}._square_x3zyt_62{--_button-padding-inline: .625em;--_button-padding-block: .625em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._avatar_x3zyt_70{--_button-padding-inline: .125em;--_button-padding-block: .125em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._default_x3zyt_78{--_button-padding-inline: 1.125em;--_button-padding-block: .625em;--_button-radius: var(--radius-button)}._shrink_x3zyt_84{--_button-padding-inline: .25em;--_button-padding-block: .25em;--_button-radius: var(--radius-button)}._square-shrink_x3zyt_91{--_button-padding-inline: .375em;--_button-padding-block: .375em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._primary_x3zyt_100{--_button-theme-background: var(--color-primary);--_button-theme-color: var(--color-on-primary)}._primary-variant_x3zyt_105{--_button-theme-background: var(--color-primary-variant);--_button-theme-color: var(--color-on-primary-variant)}._secondary_x3zyt_110{--_button-theme-background: var(--color-secondary);--_button-theme-color: var(--color-on-secondary)}._tertiary_x3zyt_115{--_button-theme-background: var(--color-tertiary);--_button-theme-color: var(--color-on-tertiary)}._error_x3zyt_120{--_button-theme-background: var(--color-error);--_button-theme-color: var(--color-on-error)}._inverse-surface_x3zyt_125{--_button-theme-background: var(--color-inverse-surface);--_button-theme-color: var(--color-inverse-on-surface)}._success_x3zyt_130{--_button-theme-background: var(--color-success);--_button-theme-color: var(--color-on-success)}._filled_x3zyt_136{--_button-background: var(--_button-theme-background);--_button-color: var(--_button-theme-color)}._outlined_x3zyt_141{--_button-background: transparent;--_button-color: var(--_button-theme-background)}._text_x3zyt_146{--_button-background: transparent;--_button-border-color: transparent;--_button-color: var(--_button-theme-background)}._splash_v0svv_1{position:absolute;inline-size:25%;aspect-ratio:1/1;border-radius:50%;background-color:hsl(from var(--color-surface-variant) h s l / .5);animation:_ripple_v0svv_1 .5s linear;opacity:0}@keyframes _ripple_v0svv_1{0%{scale:0;opacity:1}to{scale:8;opacity:0}}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { I as c } from "./Image";
|
|
3
|
+
import m from "clsx";
|
|
4
|
+
import '../assets/Avatar.css';const i = "_avatar_f8u78_1", l = "_node_f8u78_19", u = "_image_f8u78_31", f = "_small_f8u78_40", y = "_normal_f8u78_45", p = "_large_f8u78_50", v = "_primary_f8u78_56", d = "_secondary_f8u78_66", g = "_tertiary_f8u78_71", A = "_error_f8u78_76", x = "_success_f8u78_86", a = {
|
|
5
|
+
avatar: i,
|
|
6
|
+
node: l,
|
|
7
|
+
image: u,
|
|
8
|
+
small: f,
|
|
9
|
+
normal: y,
|
|
10
|
+
large: p,
|
|
11
|
+
primary: v,
|
|
12
|
+
"primary-variant": "_primary-variant_f8u78_61",
|
|
13
|
+
secondary: d,
|
|
14
|
+
tertiary: g,
|
|
15
|
+
error: A,
|
|
16
|
+
"inverse-surface": "_inverse-surface_f8u78_81",
|
|
17
|
+
success: x
|
|
18
|
+
}, E = {
|
|
19
|
+
small: 32,
|
|
20
|
+
normal: 48,
|
|
21
|
+
large: 64
|
|
22
|
+
}, n = ({ children: _, size: e, type: t, theme: r }) => /* @__PURE__ */ s(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
className: m(
|
|
26
|
+
a.avatar,
|
|
27
|
+
a[e],
|
|
28
|
+
a[t],
|
|
29
|
+
a[r]
|
|
30
|
+
),
|
|
31
|
+
children: _
|
|
32
|
+
}
|
|
33
|
+
), h = ({
|
|
34
|
+
type: _,
|
|
35
|
+
image: e,
|
|
36
|
+
children: t,
|
|
37
|
+
size: r = "normal",
|
|
38
|
+
theme: o = "primary"
|
|
39
|
+
}) => _ === "children" ? /* @__PURE__ */ s(n, { type: "node", size: r, theme: o, children: t }) : /* @__PURE__ */ s(n, { size: r, type: "image", theme: o, children: /* @__PURE__ */ s(c, { ...e, sizes: `${E[r]}px` }) });
|
|
40
|
+
export {
|
|
41
|
+
h as A
|
|
42
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
import '../assets/BaseCard.css';const t = "_card_5ldih_1", r = "_glass_5ldih_26", h = "_solid_5ldih_31", c = "_gradient_5ldih_51", s = {
|
|
4
|
+
card: t,
|
|
5
|
+
glass: r,
|
|
6
|
+
solid: h,
|
|
7
|
+
"solid-low": "_solid-low_5ldih_35",
|
|
8
|
+
"solid-lowest": "_solid-lowest_5ldih_39",
|
|
9
|
+
"solid-high": "_solid-high_5ldih_43",
|
|
10
|
+
"solid-highest": "_solid-highest_5ldih_47",
|
|
11
|
+
gradient: c
|
|
12
|
+
}, g = ({
|
|
13
|
+
background: d = "solid",
|
|
14
|
+
componentStyle: i = "normal",
|
|
15
|
+
children: o,
|
|
16
|
+
...l
|
|
17
|
+
}) => /* @__PURE__ */ _(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
...l,
|
|
21
|
+
className: a(
|
|
22
|
+
s.card,
|
|
23
|
+
s[i],
|
|
24
|
+
s[d],
|
|
25
|
+
l.className
|
|
26
|
+
),
|
|
27
|
+
"data-card": "true",
|
|
28
|
+
children: o
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
g as B
|
|
33
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as o, jsxs as e, Fragment as m } from "react/jsx-runtime";
|
|
2
|
+
import { u as h, S as i, s as t } from "./useSplash";
|
|
3
|
+
import { Button as x } from "react-aria-components";
|
|
4
|
+
import { T as B } from "./Tooltip";
|
|
5
|
+
import { clsx as y } from "clsx";
|
|
6
|
+
const T = ({
|
|
7
|
+
variant: l,
|
|
8
|
+
theme: a = "primary",
|
|
9
|
+
shape: c = "default",
|
|
10
|
+
description: u,
|
|
11
|
+
children: r,
|
|
12
|
+
...n
|
|
13
|
+
}) => {
|
|
14
|
+
const { coords: s, handlePress: f } = h(n.onPress), p = typeof r == "function";
|
|
15
|
+
return /* @__PURE__ */ o(B, { theme: a, description: u, children: /* @__PURE__ */ o(
|
|
16
|
+
x,
|
|
17
|
+
{
|
|
18
|
+
...n,
|
|
19
|
+
className: y(
|
|
20
|
+
t.button,
|
|
21
|
+
t[l],
|
|
22
|
+
t[a],
|
|
23
|
+
t[c],
|
|
24
|
+
n.className
|
|
25
|
+
),
|
|
26
|
+
onPress: f,
|
|
27
|
+
children: p ? ((d) => /* @__PURE__ */ e(m, { children: [
|
|
28
|
+
s && /* @__PURE__ */ o(i, { ...s }),
|
|
29
|
+
r(d)
|
|
30
|
+
] })) : /* @__PURE__ */ e(m, { children: [
|
|
31
|
+
s && /* @__PURE__ */ o(i, { ...s }),
|
|
32
|
+
r
|
|
33
|
+
] })
|
|
34
|
+
}
|
|
35
|
+
) });
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
T as B
|
|
39
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as n, jsxs as a, Fragment as i } from "react/jsx-runtime";
|
|
2
|
+
import { L as m } from "./Loader";
|
|
3
|
+
import { TriangleAlert as h, Check as p } from "lucide-react";
|
|
4
|
+
import b from "clsx";
|
|
5
|
+
import '../assets/ButtonChild.css';const g = {
|
|
6
|
+
"with-icon": "_with-icon_7gaf9_1"
|
|
7
|
+
}, x = ({ buttonState: t, value: c }) => {
|
|
8
|
+
const {
|
|
9
|
+
enabled: e,
|
|
10
|
+
disabled: s = e,
|
|
11
|
+
pending: o = e,
|
|
12
|
+
completed: l = e,
|
|
13
|
+
error: d = "Try again"
|
|
14
|
+
} = c;
|
|
15
|
+
let r;
|
|
16
|
+
switch (t) {
|
|
17
|
+
case "enabled":
|
|
18
|
+
return e;
|
|
19
|
+
case "disabled":
|
|
20
|
+
return s;
|
|
21
|
+
case "pending":
|
|
22
|
+
r = /* @__PURE__ */ a(i, { children: [
|
|
23
|
+
/* @__PURE__ */ n(m, {}),
|
|
24
|
+
" ",
|
|
25
|
+
o
|
|
26
|
+
] });
|
|
27
|
+
break;
|
|
28
|
+
case "completed":
|
|
29
|
+
r = /* @__PURE__ */ a(i, { children: [
|
|
30
|
+
/* @__PURE__ */ n(p, {}),
|
|
31
|
+
" ",
|
|
32
|
+
l
|
|
33
|
+
] });
|
|
34
|
+
break;
|
|
35
|
+
case "error":
|
|
36
|
+
r = /* @__PURE__ */ a(i, { children: [
|
|
37
|
+
/* @__PURE__ */ n(h, {}),
|
|
38
|
+
" ",
|
|
39
|
+
d
|
|
40
|
+
] });
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
return /* @__PURE__ */ n("span", { className: b(g["with-icon"]), children: r });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
x as B
|
|
47
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as o, jsxs as i, Fragment as a } from "react/jsx-runtime";
|
|
2
|
+
import { u as x, S as l, s } from "./useSplash";
|
|
3
|
+
import { Link as S } from "react-aria-components";
|
|
4
|
+
import { T as b } from "./Tooltip";
|
|
5
|
+
import k from "clsx";
|
|
6
|
+
const L = ({
|
|
7
|
+
variant: u = "filled",
|
|
8
|
+
theme: n = "primary",
|
|
9
|
+
description: m,
|
|
10
|
+
underline: c = !0,
|
|
11
|
+
children: r,
|
|
12
|
+
...e
|
|
13
|
+
}) => {
|
|
14
|
+
const p = "default", { coords: t, handlePress: d } = x(e.onPress), f = typeof r == "function";
|
|
15
|
+
return /* @__PURE__ */ o(b, { theme: n, description: m, children: /* @__PURE__ */ o(
|
|
16
|
+
S,
|
|
17
|
+
{
|
|
18
|
+
...e,
|
|
19
|
+
...c && { "data-underline": !0 },
|
|
20
|
+
onPress: d,
|
|
21
|
+
className: k(
|
|
22
|
+
s.button,
|
|
23
|
+
s["button-link"],
|
|
24
|
+
s[u],
|
|
25
|
+
s[n],
|
|
26
|
+
s[p]
|
|
27
|
+
),
|
|
28
|
+
children: f ? ((h) => /* @__PURE__ */ i(a, { children: [
|
|
29
|
+
t && /* @__PURE__ */ o(l, { ...t }),
|
|
30
|
+
r(h)
|
|
31
|
+
] })) : /* @__PURE__ */ i(a, { children: [
|
|
32
|
+
t && /* @__PURE__ */ o(l, { ...t }),
|
|
33
|
+
r
|
|
34
|
+
] })
|
|
35
|
+
}
|
|
36
|
+
) });
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
L as B
|
|
40
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as r, Fragment as c } from "react/jsx-runtime";
|
|
2
|
+
import { useLocalStorage as u } from "usehooks-ts";
|
|
3
|
+
import { useEffect as i } from "react";
|
|
4
|
+
import "react-aria-components";
|
|
5
|
+
import { T as d } from "./ToggleButtonGroup";
|
|
6
|
+
const f = "component-shape-preference", l = {
|
|
7
|
+
sharp: "Sharp",
|
|
8
|
+
round: "Round"
|
|
9
|
+
}, A = ({
|
|
10
|
+
ui: n = !0,
|
|
11
|
+
theme: a = "primary",
|
|
12
|
+
displayValue: t = l
|
|
13
|
+
}) => {
|
|
14
|
+
const [e, s, S] = u(
|
|
15
|
+
f,
|
|
16
|
+
"sharp"
|
|
17
|
+
), p = [
|
|
18
|
+
{
|
|
19
|
+
id: "sharp",
|
|
20
|
+
value: t.sharp
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "round",
|
|
24
|
+
value: t.round
|
|
25
|
+
}
|
|
26
|
+
];
|
|
27
|
+
i(() => {
|
|
28
|
+
document.documentElement.setAttribute("data-shape", e);
|
|
29
|
+
}, [e]);
|
|
30
|
+
const m = (h) => {
|
|
31
|
+
const o = Array.from(h)[0];
|
|
32
|
+
o && s(o);
|
|
33
|
+
};
|
|
34
|
+
return n ? /* @__PURE__ */ r(
|
|
35
|
+
d,
|
|
36
|
+
{
|
|
37
|
+
items: p,
|
|
38
|
+
selectionMode: "single",
|
|
39
|
+
selectedKeys: [e],
|
|
40
|
+
onSelectionChange: m,
|
|
41
|
+
theme: a
|
|
42
|
+
}
|
|
43
|
+
) : /* @__PURE__ */ r(c, {});
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
A as C
|
|
47
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { clsx as l } from "clsx";
|
|
3
|
+
import '../assets/Container.css';const r = "_container_1ehhs_1", _ = "_wide_1ehhs_17", a = "_full_1ehhs_24", e = {
|
|
4
|
+
container: r,
|
|
5
|
+
default: "_default_1ehhs_13",
|
|
6
|
+
wide: _,
|
|
7
|
+
full: a
|
|
8
|
+
}, f = ({
|
|
9
|
+
variant: t = "default",
|
|
10
|
+
className: n,
|
|
11
|
+
...s
|
|
12
|
+
}) => /* @__PURE__ */ o(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: l(e.container, e[t], n),
|
|
16
|
+
...s
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
export {
|
|
20
|
+
f as C
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Disclosure as c, DisclosurePanel as a } from "react-aria-components";
|
|
3
|
+
import { ChevronRight as g } from "lucide-react";
|
|
4
|
+
import { T as m } from "./TextButton";
|
|
5
|
+
import { clsx as r } from "clsx";
|
|
6
|
+
import '../assets/Disclosure.css';const p = "_disclosure_17gi1_1", _ = "_trigger_17gi1_12", u = "_panel_17gi1_28", s = {
|
|
7
|
+
disclosure: p,
|
|
8
|
+
trigger: _,
|
|
9
|
+
panel: u,
|
|
10
|
+
"panel-container": "_panel-container_17gi1_39"
|
|
11
|
+
}, N = ({
|
|
12
|
+
heading: o,
|
|
13
|
+
children: l,
|
|
14
|
+
id: n,
|
|
15
|
+
triggerTheme: t = "inverse-surface"
|
|
16
|
+
}) => /* @__PURE__ */ i(c, { className: r(s.disclosure), id: n, children: [
|
|
17
|
+
/* @__PURE__ */ e("h2", { className: r(s.trigger), children: /* @__PURE__ */ i(m, { slot: "trigger", theme: t, children: [
|
|
18
|
+
/* @__PURE__ */ e(g, {}),
|
|
19
|
+
o
|
|
20
|
+
] }) }),
|
|
21
|
+
/* @__PURE__ */ e(a, { className: r(s.panel), children: /* @__PURE__ */ e("div", { className: r(s["panel-container"]), children: l }) })
|
|
22
|
+
] });
|
|
23
|
+
export {
|
|
24
|
+
N as D
|
|
25
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { D as i } from "./Disclosure";
|
|
3
|
+
import { DisclosureGroup as u } from "react-aria-components";
|
|
4
|
+
import { clsx as c } from "clsx";
|
|
5
|
+
import '../assets/DisclousreGroup.css';const e = {
|
|
6
|
+
"disclosure-group": "_disclosure-group_1l24b_1"
|
|
7
|
+
}, a = ({ items: o }) => /* @__PURE__ */ s(u, { className: c(e["disclosure-group"]), children: o.map((r) => /* @__PURE__ */ s(
|
|
8
|
+
i,
|
|
9
|
+
{
|
|
10
|
+
heading: r.heading,
|
|
11
|
+
id: r.id,
|
|
12
|
+
children: r.children
|
|
13
|
+
},
|
|
14
|
+
r.id
|
|
15
|
+
)) });
|
|
16
|
+
export {
|
|
17
|
+
a as D
|
|
18
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { Label as e, FieldError as s } from "react-aria-components";
|
|
3
|
+
import a, { clsx as o } from "clsx";
|
|
4
|
+
import '../assets/FieldError.css';const c = "_label_1qkol_1", t = {
|
|
5
|
+
label: c
|
|
6
|
+
}, _ = (r) => /* @__PURE__ */ l(
|
|
7
|
+
e,
|
|
8
|
+
{
|
|
9
|
+
...r,
|
|
10
|
+
className: a(t.label, r?.className),
|
|
11
|
+
children: r.children
|
|
12
|
+
}
|
|
13
|
+
), m = "_error_1sdpb_1", n = {
|
|
14
|
+
error: m
|
|
15
|
+
}, x = (r) => /* @__PURE__ */ l(
|
|
16
|
+
s,
|
|
17
|
+
{
|
|
18
|
+
...r,
|
|
19
|
+
className: o(n.error, r.className)
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
x as F,
|
|
24
|
+
_ as L
|
|
25
|
+
};
|
package/dist/chunks/Form
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "zod";
|
|
3
|
+
import { Form as l } from "react-aria-components";
|
|
4
|
+
import { useState as d } from "react";
|
|
5
|
+
import { clsx as F } from "clsx";
|
|
6
|
+
import '../assets/Form.css';const E = "_form_7gvgt_1", b = {
|
|
7
|
+
form: E
|
|
8
|
+
}, v = (s, t) => {
|
|
9
|
+
const e = Object.fromEntries(new FormData(s)), r = t.safeParse(e);
|
|
10
|
+
return r.success ? {
|
|
11
|
+
success: !0,
|
|
12
|
+
data: r.data
|
|
13
|
+
} : {
|
|
14
|
+
success: !1,
|
|
15
|
+
errors: i.flattenError(r.error).fieldErrors
|
|
16
|
+
};
|
|
17
|
+
}, _ = ({
|
|
18
|
+
schema: s,
|
|
19
|
+
onSubmit: t,
|
|
20
|
+
children: e,
|
|
21
|
+
...r
|
|
22
|
+
}) => {
|
|
23
|
+
const [u, o] = d({});
|
|
24
|
+
return /* @__PURE__ */ f(
|
|
25
|
+
l,
|
|
26
|
+
{
|
|
27
|
+
...r,
|
|
28
|
+
validationErrors: u,
|
|
29
|
+
onSubmit: async (m) => {
|
|
30
|
+
m.preventDefault(), o({});
|
|
31
|
+
const n = m.currentTarget, a = v(n, s);
|
|
32
|
+
if (!a.success) {
|
|
33
|
+
o(a.errors);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const c = await t(
|
|
37
|
+
a.data,
|
|
38
|
+
() => n.reset()
|
|
39
|
+
);
|
|
40
|
+
if (c) {
|
|
41
|
+
o(c);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
className: F(b.form, r.className),
|
|
46
|
+
children: e
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
_ as F
|
|
52
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const o = ({ src: t, ...r }) => /* @__PURE__ */ e("img", { src: t, ...r }), u = [
|
|
3
|
+
"medium",
|
|
4
|
+
"large",
|
|
5
|
+
"extraLarge",
|
|
6
|
+
"small",
|
|
7
|
+
"thumbnail"
|
|
8
|
+
], g = {
|
|
9
|
+
thumbnail: 150,
|
|
10
|
+
small: 320,
|
|
11
|
+
medium: 640,
|
|
12
|
+
large: 1024,
|
|
13
|
+
extraLarge: 1600
|
|
14
|
+
}, I = ({
|
|
15
|
+
original: t,
|
|
16
|
+
variants: r,
|
|
17
|
+
...m
|
|
18
|
+
}) => {
|
|
19
|
+
const a = u.filter(
|
|
20
|
+
(n) => r[n]?.trim()
|
|
21
|
+
);
|
|
22
|
+
if (a.length === 0)
|
|
23
|
+
return /* @__PURE__ */ e("img", { src: t, ...m });
|
|
24
|
+
const c = r[a[0]], i = a.map((n) => {
|
|
25
|
+
const s = r[n], l = g[n];
|
|
26
|
+
return `${s} ${l}w`;
|
|
27
|
+
}).join(", ");
|
|
28
|
+
return /* @__PURE__ */ e("img", { src: c, srcSet: i, ...m });
|
|
29
|
+
}, h = (t) => t.type === "source" ? /* @__PURE__ */ e(o, { ...t }) : /* @__PURE__ */ e(I, { ...t });
|
|
30
|
+
export {
|
|
31
|
+
h as I
|
|
32
|
+
};
|