athameui 0.0.11 → 0.0.13
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/components/Button/Button.tsx +0 -1
- package/components/Carousel/Carousel.tsx +68 -34
- package/components/FormField/FormField.tsx +1 -0
- package/components/Layout/Main.tsx +11 -2
- package/components/Modal/Modal.tsx +2 -2
- package/dist/athameui.cjs +248 -245
- package/dist/athameui.cjs.map +1 -1
- package/dist/athameui.mjs +244 -230
- package/dist/athameui.mjs.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/FormField/FormField.d.ts.map +1 -1
- package/dist/components/Layout/Main.d.ts +2 -1
- package/dist/components/Layout/Main.d.ts.map +1 -1
- package/dist/styles/components/carousel.css +17 -6
- package/dist/styles/components/form-input.css +29 -8
- package/dist/styles/components/main.css +17 -2
- package/dist/styles/index.d.ts +0 -1
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.ts +0 -1
- package/dist/styles/tokens.css +16 -20
- package/dist/styles/tokens.d.ts +209 -26
- package/dist/styles/tokens.d.ts.map +1 -1
- package/dist/styles/tokens.ts +190 -165
- package/package.json +1 -1
- package/styles/components/carousel.css +17 -6
- package/styles/components/form-input.css +29 -8
- package/styles/components/main.css +17 -2
- package/styles/index.ts +0 -1
- package/styles/tokens.css +16 -20
- package/styles/tokens.ts +190 -165
- package/dist/styles/breakpoints.d.ts +0 -29
- package/dist/styles/breakpoints.d.ts.map +0 -1
- package/dist/styles/breakpoints.ts +0 -34
- package/styles/breakpoints.ts +0 -34
package/dist/athameui.mjs
CHANGED
|
@@ -2184,7 +2184,6 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
2184
2184
|
onMouseLeave,
|
|
2185
2185
|
...other
|
|
2186
2186
|
}, ref) => {
|
|
2187
|
-
console.log(sx);
|
|
2188
2187
|
const isIconOnly = icon && !children;
|
|
2189
2188
|
const sharedClasses = cx("ath-button", buttonVariants.size[size], buttonVariants.variant[variant], isIconOnly ? "ath-button-icon-only" : "", dark ? buttonVariants.dark : "", wrap ? buttonVariants.wrap : "");
|
|
2190
2189
|
const buttonClasses = cx(sharedClasses, buttonVariants.textPosition[textPosition], typeof className === "object" && className !== null ? className.button : className);
|
|
@@ -2562,16 +2561,62 @@ const ButtonGroup = ({
|
|
|
2562
2561
|
});
|
|
2563
2562
|
};
|
|
2564
2563
|
|
|
2564
|
+
const FormLabel = ({
|
|
2565
|
+
label,
|
|
2566
|
+
required,
|
|
2567
|
+
className,
|
|
2568
|
+
labelPosition = "above",
|
|
2569
|
+
dark,
|
|
2570
|
+
sx,
|
|
2571
|
+
...other
|
|
2572
|
+
}) => {
|
|
2573
|
+
const labelClasses = cx("ath-form-input-label", labelPosition ? `ath-form-input-label-${labelPosition}` : "", dark ? "ath-form-input-label-dark" : "", className?.label);
|
|
2574
|
+
const requiredClasses = cx("ath-form-input-label-required", dark ? "ath-form-input-label-required-dark" : "", className?.required);
|
|
2575
|
+
return jsxs("label", {
|
|
2576
|
+
className: labelClasses,
|
|
2577
|
+
css: sx?.label,
|
|
2578
|
+
...other,
|
|
2579
|
+
children: [label, required && jsx("span", {
|
|
2580
|
+
className: requiredClasses,
|
|
2581
|
+
css: sx?.required,
|
|
2582
|
+
"aria-label": "required",
|
|
2583
|
+
children: "*"
|
|
2584
|
+
})]
|
|
2585
|
+
});
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2565
2588
|
const Carousel = ({
|
|
2566
2589
|
children,
|
|
2567
2590
|
className,
|
|
2568
|
-
emptyMessage,
|
|
2591
|
+
emptyMessage = "Nothing here yet",
|
|
2592
|
+
label,
|
|
2569
2593
|
sx
|
|
2570
2594
|
}) => {
|
|
2571
2595
|
const [isHovered, setIsHovered] = useState(false);
|
|
2596
|
+
const [showLeftArrow, setShowLeftArrow] = useState(false);
|
|
2597
|
+
const [showRightArrow, setShowRightArrow] = useState(false);
|
|
2572
2598
|
const carouselRef = useRef(null);
|
|
2573
|
-
const carouselClasses = cx("ath-carousel",
|
|
2574
|
-
const
|
|
2599
|
+
const carouselClasses = cx("ath-carousel", className?.carousel);
|
|
2600
|
+
const itemCount = Children.count(children);
|
|
2601
|
+
useLayoutEffect(() => {
|
|
2602
|
+
const el = carouselRef.current;
|
|
2603
|
+
if (!el) return;
|
|
2604
|
+
const updateArrows = () => {
|
|
2605
|
+
const hidden = el.scrollWidth - el.clientWidth;
|
|
2606
|
+
setShowLeftArrow(el.scrollLeft > 1);
|
|
2607
|
+
setShowRightArrow(hidden - el.scrollLeft > 1);
|
|
2608
|
+
};
|
|
2609
|
+
updateArrows();
|
|
2610
|
+
el.addEventListener("scroll", updateArrows, {
|
|
2611
|
+
passive: true
|
|
2612
|
+
});
|
|
2613
|
+
const observer = new ResizeObserver(updateArrows);
|
|
2614
|
+
observer.observe(el);
|
|
2615
|
+
return () => {
|
|
2616
|
+
el.removeEventListener("scroll", updateArrows);
|
|
2617
|
+
observer.disconnect();
|
|
2618
|
+
};
|
|
2619
|
+
}, [itemCount]);
|
|
2575
2620
|
const scrollByPage = direction => {
|
|
2576
2621
|
const el = carouselRef.current;
|
|
2577
2622
|
if (!el) return;
|
|
@@ -2580,50 +2625,52 @@ const Carousel = ({
|
|
|
2580
2625
|
behavior: "smooth"
|
|
2581
2626
|
});
|
|
2582
2627
|
};
|
|
2583
|
-
const handleLeftArrowClick = () => {
|
|
2584
|
-
scrollByPage(-1);
|
|
2585
|
-
};
|
|
2586
|
-
const handleRightArrowClick = () => {
|
|
2587
|
-
scrollByPage(1);
|
|
2588
|
-
};
|
|
2589
2628
|
const handleMouseEnter = () => {
|
|
2590
2629
|
setIsHovered(true);
|
|
2591
2630
|
};
|
|
2592
2631
|
const handleMouseLeave = () => {
|
|
2593
2632
|
setIsHovered(false);
|
|
2594
2633
|
};
|
|
2595
|
-
return
|
|
2596
|
-
className: "ath-carousel-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2634
|
+
return jsxs("div", {
|
|
2635
|
+
className: "ath-carousel-container",
|
|
2636
|
+
style: {
|
|
2637
|
+
minWidth: itemCount === 1 ? "" : 0
|
|
2638
|
+
},
|
|
2639
|
+
children: [label && jsx(FormLabel, {
|
|
2640
|
+
label: label,
|
|
2641
|
+
dark: true
|
|
2642
|
+
}), jsxs("div", {
|
|
2643
|
+
className: cx("ath-carousel-wrapper", isHovered && "ath-carousel-hover", label && "ath-carousel-label"),
|
|
2600
2644
|
onMouseEnter: handleMouseEnter,
|
|
2601
2645
|
onMouseLeave: handleMouseLeave,
|
|
2602
|
-
|
|
2603
|
-
children: [jsx(Button, {
|
|
2646
|
+
children: [showLeftArrow && jsx(Button, {
|
|
2604
2647
|
className: {
|
|
2605
2648
|
button: "ath-carousel-arrow ath-carousel-left-arrow"
|
|
2606
2649
|
},
|
|
2607
|
-
onClick:
|
|
2608
|
-
onMouseEnter: handleMouseEnter,
|
|
2609
|
-
onMouseLeave: handleMouseLeave,
|
|
2650
|
+
onClick: () => scrollByPage(-1),
|
|
2610
2651
|
icon: jsx(HugeiconsIcon, {
|
|
2611
2652
|
icon: Qt,
|
|
2612
2653
|
size: 36
|
|
2613
2654
|
})
|
|
2614
|
-
}),
|
|
2655
|
+
}), jsx("div", {
|
|
2656
|
+
className: carouselClasses,
|
|
2657
|
+
css: sx?.carousel,
|
|
2658
|
+
ref: carouselRef,
|
|
2659
|
+
children: itemCount > 0 ? children : jsx("div", {
|
|
2660
|
+
className: "ath-carousel-empty",
|
|
2661
|
+
children: emptyMessage
|
|
2662
|
+
})
|
|
2663
|
+
}), showRightArrow && jsx(Button, {
|
|
2615
2664
|
className: {
|
|
2616
2665
|
button: "ath-carousel-arrow ath-carousel-right-arrow"
|
|
2617
2666
|
},
|
|
2618
|
-
onClick:
|
|
2619
|
-
onMouseEnter: handleMouseEnter,
|
|
2620
|
-
onMouseLeave: handleMouseLeave,
|
|
2667
|
+
onClick: () => scrollByPage(1),
|
|
2621
2668
|
icon: jsx(HugeiconsIcon, {
|
|
2622
2669
|
icon: un,
|
|
2623
2670
|
size: 36
|
|
2624
2671
|
})
|
|
2625
2672
|
})]
|
|
2626
|
-
})
|
|
2673
|
+
})]
|
|
2627
2674
|
});
|
|
2628
2675
|
};
|
|
2629
2676
|
|
|
@@ -2656,30 +2703,6 @@ const Dropdown = ({
|
|
|
2656
2703
|
});
|
|
2657
2704
|
};
|
|
2658
2705
|
|
|
2659
|
-
const FormLabel = ({
|
|
2660
|
-
label,
|
|
2661
|
-
required,
|
|
2662
|
-
className,
|
|
2663
|
-
labelPosition = "above",
|
|
2664
|
-
dark,
|
|
2665
|
-
sx,
|
|
2666
|
-
...other
|
|
2667
|
-
}) => {
|
|
2668
|
-
const labelClasses = cx("ath-form-input-label", labelPosition ? `ath-form-input-label-${labelPosition}` : "", dark ? "ath-form-input-label-dark" : "", className?.label);
|
|
2669
|
-
const requiredClasses = cx("ath-form-input-label-required", dark ? "ath-form-input-label-required-dark" : "", className?.required);
|
|
2670
|
-
return jsxs("label", {
|
|
2671
|
-
className: labelClasses,
|
|
2672
|
-
css: sx?.label,
|
|
2673
|
-
...other,
|
|
2674
|
-
children: [label, required && jsx("span", {
|
|
2675
|
-
className: requiredClasses,
|
|
2676
|
-
css: sx?.required,
|
|
2677
|
-
"aria-label": "required",
|
|
2678
|
-
children: "*"
|
|
2679
|
-
})]
|
|
2680
|
-
});
|
|
2681
|
-
};
|
|
2682
|
-
|
|
2683
2706
|
const FormTextInput = ({
|
|
2684
2707
|
autoComplete,
|
|
2685
2708
|
autoFocus,
|
|
@@ -2751,7 +2774,7 @@ const FormField = ({
|
|
|
2751
2774
|
...other
|
|
2752
2775
|
}) => {
|
|
2753
2776
|
const textAreaRef = useRef(null);
|
|
2754
|
-
const containerClasses = cx("ath-form-input-container", (labelPosition === "left" || labelPosition === "right") && "ath-form-input-container-horizontal", className?.container ? className.container : "");
|
|
2777
|
+
const containerClasses = cx("ath-form-input-container", readOnly && "ath-form-input-container-readonly", (labelPosition === "left" || labelPosition === "right") && "ath-form-input-container-horizontal", className?.container ? className.container : "");
|
|
2755
2778
|
const inputSharedClasses = cx(`ath-form-input-${size}`, disabled && "ath-form-input-shared-disabled", readOnly && "ath-form-input-shared-readonly", dark && "ath-form-input-shared-dark", className?.input ? className.input : "");
|
|
2756
2779
|
const inputClasses = cx("ath-form-input", inputSharedClasses, error && "ath-form-input-error");
|
|
2757
2780
|
const textAreaClasses = cx("ath-form-textarea", inputSharedClasses, autoResize && "ath-form-textarea-auto-resize", error && "ath-form-textarea-error");
|
|
@@ -2865,10 +2888,11 @@ const Header = ({
|
|
|
2865
2888
|
const Main = ({
|
|
2866
2889
|
children,
|
|
2867
2890
|
className,
|
|
2868
|
-
sx
|
|
2891
|
+
sx,
|
|
2892
|
+
width = "wide"
|
|
2869
2893
|
}) => {
|
|
2870
2894
|
const mainClasses = cx("ath-main", typeof className === "object" && className !== null ? className.main : "");
|
|
2871
|
-
const mainContentClasses = cx("ath-main-content", typeof className === "object" && className !== null ? className.mainContent : "");
|
|
2895
|
+
const mainContentClasses = cx("ath-main-content", typeof className === "object" && className !== null ? className.mainContent : "", width === "full" ? "full" : "", width === "wide" ? "wide" : "", width === "medium" ? "medium" : "", width === "narrow" ? "narrow" : "");
|
|
2872
2896
|
return jsx("main", {
|
|
2873
2897
|
css: sx?.main,
|
|
2874
2898
|
className: mainClasses,
|
|
@@ -3026,7 +3050,7 @@ const Modal = ({
|
|
|
3026
3050
|
children: [(title || showCloseButton) && jsxs("div", {
|
|
3027
3051
|
css: sx?.header,
|
|
3028
3052
|
className: headerClasses,
|
|
3029
|
-
children: [title && jsx("
|
|
3053
|
+
children: [title && jsx("h2", {
|
|
3030
3054
|
css: sx?.title,
|
|
3031
3055
|
className: titleClasses,
|
|
3032
3056
|
id: titleId,
|
|
@@ -3204,192 +3228,182 @@ const breakpoints = {
|
|
|
3204
3228
|
};
|
|
3205
3229
|
const minWidth = width => `@media (min-width: ${width}px)`;
|
|
3206
3230
|
const maxWidth = width => `@media (max-width: ${width - 1}px)`;
|
|
3207
|
-
const
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3231
|
+
const media = {
|
|
3232
|
+
min: {
|
|
3233
|
+
xs: minWidth(breakpoints.xs),
|
|
3234
|
+
sm: minWidth(breakpoints.sm),
|
|
3235
|
+
md: minWidth(breakpoints.md),
|
|
3236
|
+
lg: minWidth(breakpoints.lg),
|
|
3237
|
+
xl: minWidth(breakpoints.xl),
|
|
3238
|
+
"2xl": minWidth(breakpoints["2xl"]),
|
|
3239
|
+
"3xl": minWidth(breakpoints["3xl"]),
|
|
3240
|
+
"4xl": minWidth(breakpoints["4xl"])
|
|
3241
|
+
},
|
|
3242
|
+
max: {
|
|
3243
|
+
xs: maxWidth(breakpoints.xs),
|
|
3244
|
+
sm: maxWidth(breakpoints.sm),
|
|
3245
|
+
md: maxWidth(breakpoints.md),
|
|
3246
|
+
lg: maxWidth(breakpoints.lg),
|
|
3247
|
+
xl: maxWidth(breakpoints.xl),
|
|
3248
|
+
"2xl": maxWidth(breakpoints["2xl"]),
|
|
3249
|
+
"3xl": maxWidth(breakpoints["3xl"]),
|
|
3250
|
+
"4xl": maxWidth(breakpoints["4xl"])
|
|
3251
|
+
}
|
|
3252
|
+
};
|
|
3253
|
+
const font = {
|
|
3254
|
+
family: {
|
|
3255
|
+
sans: "Montserrat, sans-serif",
|
|
3256
|
+
serif: "Libre Baskerville, serif"
|
|
3257
|
+
},
|
|
3258
|
+
size: {
|
|
3259
|
+
xs: "0.75rem",
|
|
3260
|
+
sm: "0.875rem",
|
|
3261
|
+
md: "1rem",
|
|
3262
|
+
lg: "1.25rem",
|
|
3263
|
+
xl: "1.5rem",
|
|
3264
|
+
"2xl": "2rem",
|
|
3265
|
+
"3xl": "2.5rem",
|
|
3266
|
+
"4xl": "3rem",
|
|
3267
|
+
"5xl": "3.5rem"
|
|
3268
|
+
}
|
|
3269
|
+
};
|
|
3270
|
+
const color = {
|
|
3271
|
+
primary: {
|
|
3272
|
+
"50": "#f0f2f5",
|
|
3273
|
+
"100": "#d9dee6",
|
|
3274
|
+
"200": "#b8c3d1",
|
|
3275
|
+
"300": "#8a9bae",
|
|
3276
|
+
"400": "#4a5f7a",
|
|
3277
|
+
"500": "#0b1828",
|
|
3278
|
+
"600": "#081320",
|
|
3279
|
+
"700": "#060e18",
|
|
3280
|
+
"800": "#04090f",
|
|
3281
|
+
"900": "#020407",
|
|
3282
|
+
default: "#0b1828",
|
|
3283
|
+
vibrant: {
|
|
3284
|
+
"300": "#8ab6ff",
|
|
3285
|
+
"500": "#4f86f7",
|
|
3286
|
+
"700": "#1e3a8a"
|
|
3240
3287
|
}
|
|
3241
3288
|
},
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
"300": "#75dac7",
|
|
3275
|
-
"500": "#1abc9c",
|
|
3276
|
-
"700": "#138f6e"
|
|
3277
|
-
}
|
|
3278
|
-
},
|
|
3279
|
-
tertiary: {
|
|
3280
|
-
"50": "#f7f4f0",
|
|
3281
|
-
"100": "#eedecc",
|
|
3282
|
-
"200": "#e5c8a8",
|
|
3283
|
-
"300": "#dcb184",
|
|
3284
|
-
"400": "#d19b60",
|
|
3285
|
-
"500": "#bfa081",
|
|
3286
|
-
"600": "#a68965",
|
|
3287
|
-
"700": "#7d6748",
|
|
3288
|
-
"800": "#54442c",
|
|
3289
|
-
"900": "#2b2216",
|
|
3290
|
-
"default": "#bfa081",
|
|
3291
|
-
vibrant: {
|
|
3292
|
-
"300": "#f7c873",
|
|
3293
|
-
"500": "#f39c12",
|
|
3294
|
-
"700": "#c9780e"
|
|
3295
|
-
}
|
|
3296
|
-
},
|
|
3297
|
-
error: {
|
|
3298
|
-
"50": "#fee6e6",
|
|
3299
|
-
"100": "#fbb3b3",
|
|
3300
|
-
"200": "#f88080",
|
|
3301
|
-
"300": "#f54d4d",
|
|
3302
|
-
"400": "#f21a1a",
|
|
3303
|
-
"500": "#9f0001",
|
|
3304
|
-
"600": "#800001",
|
|
3305
|
-
"700": "#600001",
|
|
3306
|
-
"800": "#400000",
|
|
3307
|
-
"900": "#200000",
|
|
3308
|
-
"default": "#9f0001",
|
|
3309
|
-
vibrant: {
|
|
3310
|
-
"300": "#f48a6f",
|
|
3311
|
-
"500": "#e74c3c",
|
|
3312
|
-
"700": "#c0392b"
|
|
3313
|
-
}
|
|
3314
|
-
},
|
|
3315
|
-
warning: {
|
|
3316
|
-
"50": "#fef5ec",
|
|
3317
|
-
"100": "#fdebda",
|
|
3318
|
-
"200": "#fad8b3",
|
|
3319
|
-
"300": "#f8c48c",
|
|
3320
|
-
"400": "#f5b065",
|
|
3289
|
+
secondary: {
|
|
3290
|
+
"50": "#e6f7f6",
|
|
3291
|
+
"100": "#b3e8e5",
|
|
3292
|
+
"200": "#80d9d4",
|
|
3293
|
+
"300": "#4dcac3",
|
|
3294
|
+
"400": "#2aa39b",
|
|
3295
|
+
"500": "#146b68",
|
|
3296
|
+
"600": "#125a57",
|
|
3297
|
+
"700": "#0f4a47",
|
|
3298
|
+
"800": "#0c3835",
|
|
3299
|
+
"900": "#081f1c",
|
|
3300
|
+
default: "#146b68",
|
|
3301
|
+
vibrant: {
|
|
3302
|
+
"300": "#75dac7",
|
|
3303
|
+
"500": "#1abc9c",
|
|
3304
|
+
"700": "#138f6e"
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3307
|
+
tertiary: {
|
|
3308
|
+
"50": "#f7f4f0",
|
|
3309
|
+
"100": "#eedecc",
|
|
3310
|
+
"200": "#e5c8a8",
|
|
3311
|
+
"300": "#dcb184",
|
|
3312
|
+
"400": "#d19b60",
|
|
3313
|
+
"500": "#bfa081",
|
|
3314
|
+
"600": "#a68965",
|
|
3315
|
+
"700": "#7d6748",
|
|
3316
|
+
"800": "#54442c",
|
|
3317
|
+
"900": "#2b2216",
|
|
3318
|
+
default: "#bfa081",
|
|
3319
|
+
vibrant: {
|
|
3320
|
+
"300": "#f7c873",
|
|
3321
3321
|
"500": "#f39c12",
|
|
3322
|
-
"
|
|
3323
|
-
"700": "#925e0b",
|
|
3324
|
-
"800": "#613e07",
|
|
3325
|
-
"900": "#311f04",
|
|
3326
|
-
"default": "#f39c12",
|
|
3327
|
-
vibrant: {
|
|
3328
|
-
"300": "#fce705",
|
|
3329
|
-
"500": "#fbc306",
|
|
3330
|
-
"700": "#f8950a"
|
|
3331
|
-
}
|
|
3332
|
-
},
|
|
3333
|
-
success: {
|
|
3334
|
-
"50": "#e8f5f2",
|
|
3335
|
-
"100": "#d1ece4",
|
|
3336
|
-
"200": "#a3d8ca",
|
|
3337
|
-
"300": "#76c5af",
|
|
3338
|
-
"400": "#48b195",
|
|
3339
|
-
"500": "#1a9e7a",
|
|
3340
|
-
"600": "#157e62",
|
|
3341
|
-
"700": "#105f49",
|
|
3342
|
-
"800": "#0a3f31",
|
|
3343
|
-
"900": "#052018",
|
|
3344
|
-
"default": "#1a9e7a",
|
|
3345
|
-
vibrant: {
|
|
3346
|
-
"300": "#07e71f",
|
|
3347
|
-
"500": "#08e27e",
|
|
3348
|
-
"700": "#26b656"
|
|
3349
|
-
}
|
|
3350
|
-
},
|
|
3351
|
-
text: {
|
|
3352
|
-
dark: "#040a0c",
|
|
3353
|
-
light: "#fcfbf7"
|
|
3354
|
-
},
|
|
3355
|
-
background: {
|
|
3356
|
-
light: "#fcfbf7",
|
|
3357
|
-
dark: "#040a0c"
|
|
3322
|
+
"700": "#c9780e"
|
|
3358
3323
|
}
|
|
3359
3324
|
},
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3325
|
+
error: {
|
|
3326
|
+
"50": "#fee6e6",
|
|
3327
|
+
"100": "#fbb3b3",
|
|
3328
|
+
"200": "#f88080",
|
|
3329
|
+
"300": "#f54d4d",
|
|
3330
|
+
"400": "#f21a1a",
|
|
3331
|
+
"500": "#9f0001",
|
|
3332
|
+
"600": "#800001",
|
|
3333
|
+
"700": "#600001",
|
|
3334
|
+
"800": "#400000",
|
|
3335
|
+
"900": "#200000",
|
|
3336
|
+
default: "#9f0001",
|
|
3337
|
+
vibrant: {
|
|
3338
|
+
"300": "#f48a6f",
|
|
3339
|
+
"500": "#e74c3c",
|
|
3340
|
+
"700": "#c0392b"
|
|
3341
|
+
}
|
|
3366
3342
|
},
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3343
|
+
warning: {
|
|
3344
|
+
"50": "#fef5ec",
|
|
3345
|
+
"100": "#fdebda",
|
|
3346
|
+
"200": "#fad8b3",
|
|
3347
|
+
"300": "#f8c48c",
|
|
3348
|
+
"400": "#f5b065",
|
|
3349
|
+
"500": "#f39c12",
|
|
3350
|
+
"600": "#c27d0e",
|
|
3351
|
+
"700": "#925e0b",
|
|
3352
|
+
"800": "#613e07",
|
|
3353
|
+
"900": "#311f04",
|
|
3354
|
+
default: "#f39c12",
|
|
3355
|
+
vibrant: {
|
|
3356
|
+
"300": "#fce705",
|
|
3357
|
+
"500": "#fbc306",
|
|
3358
|
+
"700": "#f8950a"
|
|
3359
|
+
}
|
|
3371
3360
|
},
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
"2xl": "@media (max-width: 1279px)",
|
|
3389
|
-
"3xl": "@media (max-width: 1535px)"
|
|
3361
|
+
success: {
|
|
3362
|
+
"50": "#e8f5f2",
|
|
3363
|
+
"100": "#d1ece4",
|
|
3364
|
+
"200": "#a3d8ca",
|
|
3365
|
+
"300": "#76c5af",
|
|
3366
|
+
"400": "#48b195",
|
|
3367
|
+
"500": "#1a9e7a",
|
|
3368
|
+
"600": "#157e62",
|
|
3369
|
+
"700": "#105f49",
|
|
3370
|
+
"800": "#0a3f31",
|
|
3371
|
+
"900": "#052018",
|
|
3372
|
+
default: "#1a9e7a",
|
|
3373
|
+
vibrant: {
|
|
3374
|
+
"300": "#07e71f",
|
|
3375
|
+
"500": "#08e27e",
|
|
3376
|
+
"700": "#26b656"
|
|
3390
3377
|
}
|
|
3378
|
+
},
|
|
3379
|
+
text: {
|
|
3380
|
+
dark: "#040a0c",
|
|
3381
|
+
light: "#fcfbf7"
|
|
3382
|
+
},
|
|
3383
|
+
background: {
|
|
3384
|
+
light: "#fcfbf7",
|
|
3385
|
+
dark: "#040a0c"
|
|
3391
3386
|
}
|
|
3392
3387
|
};
|
|
3388
|
+
const padding = {
|
|
3389
|
+
xs: "2px",
|
|
3390
|
+
sm: "4px",
|
|
3391
|
+
md: "6px",
|
|
3392
|
+
lg: "10px",
|
|
3393
|
+
xl: "16px"
|
|
3394
|
+
};
|
|
3395
|
+
const radius = {
|
|
3396
|
+
sm: "3px",
|
|
3397
|
+
md: "5px",
|
|
3398
|
+
lg: "8px"
|
|
3399
|
+
};
|
|
3400
|
+
const tokens = {
|
|
3401
|
+
font,
|
|
3402
|
+
color,
|
|
3403
|
+
media,
|
|
3404
|
+
padding,
|
|
3405
|
+
radius
|
|
3406
|
+
};
|
|
3393
3407
|
|
|
3394
|
-
export { Accordion, AccordionItem, Avatar, Block, Button, ButtonGroup, Carousel, ContainerScalingText, Dropdown, Footer, FormField, FormLabel, FormTextInput, Header, List, ListItem, Main, Modal, ScrollToTopButton, Search, SlideOut, breakpoints,
|
|
3408
|
+
export { Accordion, AccordionItem, Avatar, Block, Button, ButtonGroup, Carousel, ContainerScalingText, Dropdown, Footer, FormField, FormLabel, FormTextInput, Header, List, ListItem, Main, Modal, ScrollToTopButton, Search, SlideOut, breakpoints, color, cx, font, media, padding, radius, tokens };
|
|
3395
3409
|
//# sourceMappingURL=athameui.mjs.map
|