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.cjs
CHANGED
|
@@ -2205,7 +2205,6 @@ const Button = /*#__PURE__*/React.forwardRef(({
|
|
|
2205
2205
|
onMouseLeave,
|
|
2206
2206
|
...other
|
|
2207
2207
|
}, ref) => {
|
|
2208
|
-
console.log(sx);
|
|
2209
2208
|
const isIconOnly = icon && !children;
|
|
2210
2209
|
const sharedClasses = cx("ath-button", buttonVariants.size[size], buttonVariants.variant[variant], isIconOnly ? "ath-button-icon-only" : "", dark ? buttonVariants.dark : "", wrap ? buttonVariants.wrap : "");
|
|
2211
2210
|
const buttonClasses = cx(sharedClasses, buttonVariants.textPosition[textPosition], typeof className === "object" && className !== null ? className.button : className);
|
|
@@ -2583,16 +2582,62 @@ const ButtonGroup = ({
|
|
|
2583
2582
|
});
|
|
2584
2583
|
};
|
|
2585
2584
|
|
|
2585
|
+
const FormLabel = ({
|
|
2586
|
+
label,
|
|
2587
|
+
required,
|
|
2588
|
+
className,
|
|
2589
|
+
labelPosition = "above",
|
|
2590
|
+
dark,
|
|
2591
|
+
sx,
|
|
2592
|
+
...other
|
|
2593
|
+
}) => {
|
|
2594
|
+
const labelClasses = cx("ath-form-input-label", labelPosition ? `ath-form-input-label-${labelPosition}` : "", dark ? "ath-form-input-label-dark" : "", className?.label);
|
|
2595
|
+
const requiredClasses = cx("ath-form-input-label-required", dark ? "ath-form-input-label-required-dark" : "", className?.required);
|
|
2596
|
+
return jsxs("label", {
|
|
2597
|
+
className: labelClasses,
|
|
2598
|
+
css: sx?.label,
|
|
2599
|
+
...other,
|
|
2600
|
+
children: [label, required && jsx("span", {
|
|
2601
|
+
className: requiredClasses,
|
|
2602
|
+
css: sx?.required,
|
|
2603
|
+
"aria-label": "required",
|
|
2604
|
+
children: "*"
|
|
2605
|
+
})]
|
|
2606
|
+
});
|
|
2607
|
+
};
|
|
2608
|
+
|
|
2586
2609
|
const Carousel = ({
|
|
2587
2610
|
children,
|
|
2588
2611
|
className,
|
|
2589
|
-
emptyMessage,
|
|
2612
|
+
emptyMessage = "Nothing here yet",
|
|
2613
|
+
label,
|
|
2590
2614
|
sx
|
|
2591
2615
|
}) => {
|
|
2592
2616
|
const [isHovered, setIsHovered] = React.useState(false);
|
|
2617
|
+
const [showLeftArrow, setShowLeftArrow] = React.useState(false);
|
|
2618
|
+
const [showRightArrow, setShowRightArrow] = React.useState(false);
|
|
2593
2619
|
const carouselRef = React.useRef(null);
|
|
2594
|
-
const carouselClasses = cx("ath-carousel",
|
|
2595
|
-
const
|
|
2620
|
+
const carouselClasses = cx("ath-carousel", className?.carousel);
|
|
2621
|
+
const itemCount = React.Children.count(children);
|
|
2622
|
+
React.useLayoutEffect(() => {
|
|
2623
|
+
const el = carouselRef.current;
|
|
2624
|
+
if (!el) return;
|
|
2625
|
+
const updateArrows = () => {
|
|
2626
|
+
const hidden = el.scrollWidth - el.clientWidth;
|
|
2627
|
+
setShowLeftArrow(el.scrollLeft > 1);
|
|
2628
|
+
setShowRightArrow(hidden - el.scrollLeft > 1);
|
|
2629
|
+
};
|
|
2630
|
+
updateArrows();
|
|
2631
|
+
el.addEventListener("scroll", updateArrows, {
|
|
2632
|
+
passive: true
|
|
2633
|
+
});
|
|
2634
|
+
const observer = new ResizeObserver(updateArrows);
|
|
2635
|
+
observer.observe(el);
|
|
2636
|
+
return () => {
|
|
2637
|
+
el.removeEventListener("scroll", updateArrows);
|
|
2638
|
+
observer.disconnect();
|
|
2639
|
+
};
|
|
2640
|
+
}, [itemCount]);
|
|
2596
2641
|
const scrollByPage = direction => {
|
|
2597
2642
|
const el = carouselRef.current;
|
|
2598
2643
|
if (!el) return;
|
|
@@ -2601,50 +2646,52 @@ const Carousel = ({
|
|
|
2601
2646
|
behavior: "smooth"
|
|
2602
2647
|
});
|
|
2603
2648
|
};
|
|
2604
|
-
const handleLeftArrowClick = () => {
|
|
2605
|
-
scrollByPage(-1);
|
|
2606
|
-
};
|
|
2607
|
-
const handleRightArrowClick = () => {
|
|
2608
|
-
scrollByPage(1);
|
|
2609
|
-
};
|
|
2610
2649
|
const handleMouseEnter = () => {
|
|
2611
2650
|
setIsHovered(true);
|
|
2612
2651
|
};
|
|
2613
2652
|
const handleMouseLeave = () => {
|
|
2614
2653
|
setIsHovered(false);
|
|
2615
2654
|
};
|
|
2616
|
-
return
|
|
2617
|
-
className: "ath-carousel-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2655
|
+
return jsxs("div", {
|
|
2656
|
+
className: "ath-carousel-container",
|
|
2657
|
+
style: {
|
|
2658
|
+
minWidth: itemCount === 1 ? "" : 0
|
|
2659
|
+
},
|
|
2660
|
+
children: [label && jsx(FormLabel, {
|
|
2661
|
+
label: label,
|
|
2662
|
+
dark: true
|
|
2663
|
+
}), jsxs("div", {
|
|
2664
|
+
className: cx("ath-carousel-wrapper", isHovered && "ath-carousel-hover", label && "ath-carousel-label"),
|
|
2621
2665
|
onMouseEnter: handleMouseEnter,
|
|
2622
2666
|
onMouseLeave: handleMouseLeave,
|
|
2623
|
-
|
|
2624
|
-
children: [jsx(Button, {
|
|
2667
|
+
children: [showLeftArrow && jsx(Button, {
|
|
2625
2668
|
className: {
|
|
2626
2669
|
button: "ath-carousel-arrow ath-carousel-left-arrow"
|
|
2627
2670
|
},
|
|
2628
|
-
onClick:
|
|
2629
|
-
onMouseEnter: handleMouseEnter,
|
|
2630
|
-
onMouseLeave: handleMouseLeave,
|
|
2671
|
+
onClick: () => scrollByPage(-1),
|
|
2631
2672
|
icon: jsx(HugeiconsIcon, {
|
|
2632
2673
|
icon: Qt,
|
|
2633
2674
|
size: 36
|
|
2634
2675
|
})
|
|
2635
|
-
}),
|
|
2676
|
+
}), jsx("div", {
|
|
2677
|
+
className: carouselClasses,
|
|
2678
|
+
css: sx?.carousel,
|
|
2679
|
+
ref: carouselRef,
|
|
2680
|
+
children: itemCount > 0 ? children : jsx("div", {
|
|
2681
|
+
className: "ath-carousel-empty",
|
|
2682
|
+
children: emptyMessage
|
|
2683
|
+
})
|
|
2684
|
+
}), showRightArrow && jsx(Button, {
|
|
2636
2685
|
className: {
|
|
2637
2686
|
button: "ath-carousel-arrow ath-carousel-right-arrow"
|
|
2638
2687
|
},
|
|
2639
|
-
onClick:
|
|
2640
|
-
onMouseEnter: handleMouseEnter,
|
|
2641
|
-
onMouseLeave: handleMouseLeave,
|
|
2688
|
+
onClick: () => scrollByPage(1),
|
|
2642
2689
|
icon: jsx(HugeiconsIcon, {
|
|
2643
2690
|
icon: un,
|
|
2644
2691
|
size: 36
|
|
2645
2692
|
})
|
|
2646
2693
|
})]
|
|
2647
|
-
})
|
|
2694
|
+
})]
|
|
2648
2695
|
});
|
|
2649
2696
|
};
|
|
2650
2697
|
|
|
@@ -2677,30 +2724,6 @@ const Dropdown = ({
|
|
|
2677
2724
|
});
|
|
2678
2725
|
};
|
|
2679
2726
|
|
|
2680
|
-
const FormLabel = ({
|
|
2681
|
-
label,
|
|
2682
|
-
required,
|
|
2683
|
-
className,
|
|
2684
|
-
labelPosition = "above",
|
|
2685
|
-
dark,
|
|
2686
|
-
sx,
|
|
2687
|
-
...other
|
|
2688
|
-
}) => {
|
|
2689
|
-
const labelClasses = cx("ath-form-input-label", labelPosition ? `ath-form-input-label-${labelPosition}` : "", dark ? "ath-form-input-label-dark" : "", className?.label);
|
|
2690
|
-
const requiredClasses = cx("ath-form-input-label-required", dark ? "ath-form-input-label-required-dark" : "", className?.required);
|
|
2691
|
-
return jsxs("label", {
|
|
2692
|
-
className: labelClasses,
|
|
2693
|
-
css: sx?.label,
|
|
2694
|
-
...other,
|
|
2695
|
-
children: [label, required && jsx("span", {
|
|
2696
|
-
className: requiredClasses,
|
|
2697
|
-
css: sx?.required,
|
|
2698
|
-
"aria-label": "required",
|
|
2699
|
-
children: "*"
|
|
2700
|
-
})]
|
|
2701
|
-
});
|
|
2702
|
-
};
|
|
2703
|
-
|
|
2704
2727
|
const FormTextInput = ({
|
|
2705
2728
|
autoComplete,
|
|
2706
2729
|
autoFocus,
|
|
@@ -2772,7 +2795,7 @@ const FormField = ({
|
|
|
2772
2795
|
...other
|
|
2773
2796
|
}) => {
|
|
2774
2797
|
const textAreaRef = React.useRef(null);
|
|
2775
|
-
const containerClasses = cx("ath-form-input-container", (labelPosition === "left" || labelPosition === "right") && "ath-form-input-container-horizontal", className?.container ? className.container : "");
|
|
2798
|
+
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 : "");
|
|
2776
2799
|
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 : "");
|
|
2777
2800
|
const inputClasses = cx("ath-form-input", inputSharedClasses, error && "ath-form-input-error");
|
|
2778
2801
|
const textAreaClasses = cx("ath-form-textarea", inputSharedClasses, autoResize && "ath-form-textarea-auto-resize", error && "ath-form-textarea-error");
|
|
@@ -2886,10 +2909,11 @@ const Header = ({
|
|
|
2886
2909
|
const Main = ({
|
|
2887
2910
|
children,
|
|
2888
2911
|
className,
|
|
2889
|
-
sx
|
|
2912
|
+
sx,
|
|
2913
|
+
width = "wide"
|
|
2890
2914
|
}) => {
|
|
2891
2915
|
const mainClasses = cx("ath-main", typeof className === "object" && className !== null ? className.main : "");
|
|
2892
|
-
const mainContentClasses = cx("ath-main-content", typeof className === "object" && className !== null ? className.mainContent : "");
|
|
2916
|
+
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" : "");
|
|
2893
2917
|
return jsx("main", {
|
|
2894
2918
|
css: sx?.main,
|
|
2895
2919
|
className: mainClasses,
|
|
@@ -3047,7 +3071,7 @@ const Modal = ({
|
|
|
3047
3071
|
children: [(title || showCloseButton) && jsxs("div", {
|
|
3048
3072
|
css: sx?.header,
|
|
3049
3073
|
className: headerClasses,
|
|
3050
|
-
children: [title && jsx("
|
|
3074
|
+
children: [title && jsx("h2", {
|
|
3051
3075
|
css: sx?.title,
|
|
3052
3076
|
className: titleClasses,
|
|
3053
3077
|
id: titleId,
|
|
@@ -3225,192 +3249,182 @@ const breakpoints = {
|
|
|
3225
3249
|
};
|
|
3226
3250
|
const minWidth = width => `@media (min-width: ${width}px)`;
|
|
3227
3251
|
const maxWidth = width => `@media (max-width: ${width - 1}px)`;
|
|
3228
|
-
const
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3252
|
+
const media = {
|
|
3253
|
+
min: {
|
|
3254
|
+
xs: minWidth(breakpoints.xs),
|
|
3255
|
+
sm: minWidth(breakpoints.sm),
|
|
3256
|
+
md: minWidth(breakpoints.md),
|
|
3257
|
+
lg: minWidth(breakpoints.lg),
|
|
3258
|
+
xl: minWidth(breakpoints.xl),
|
|
3259
|
+
"2xl": minWidth(breakpoints["2xl"]),
|
|
3260
|
+
"3xl": minWidth(breakpoints["3xl"]),
|
|
3261
|
+
"4xl": minWidth(breakpoints["4xl"])
|
|
3262
|
+
},
|
|
3263
|
+
max: {
|
|
3264
|
+
xs: maxWidth(breakpoints.xs),
|
|
3265
|
+
sm: maxWidth(breakpoints.sm),
|
|
3266
|
+
md: maxWidth(breakpoints.md),
|
|
3267
|
+
lg: maxWidth(breakpoints.lg),
|
|
3268
|
+
xl: maxWidth(breakpoints.xl),
|
|
3269
|
+
"2xl": maxWidth(breakpoints["2xl"]),
|
|
3270
|
+
"3xl": maxWidth(breakpoints["3xl"]),
|
|
3271
|
+
"4xl": maxWidth(breakpoints["4xl"])
|
|
3272
|
+
}
|
|
3273
|
+
};
|
|
3274
|
+
const font = {
|
|
3275
|
+
family: {
|
|
3276
|
+
sans: "Montserrat, sans-serif",
|
|
3277
|
+
serif: "Libre Baskerville, serif"
|
|
3278
|
+
},
|
|
3279
|
+
size: {
|
|
3280
|
+
xs: "0.75rem",
|
|
3281
|
+
sm: "0.875rem",
|
|
3282
|
+
md: "1rem",
|
|
3283
|
+
lg: "1.25rem",
|
|
3284
|
+
xl: "1.5rem",
|
|
3285
|
+
"2xl": "2rem",
|
|
3286
|
+
"3xl": "2.5rem",
|
|
3287
|
+
"4xl": "3rem",
|
|
3288
|
+
"5xl": "3.5rem"
|
|
3289
|
+
}
|
|
3290
|
+
};
|
|
3291
|
+
const color = {
|
|
3292
|
+
primary: {
|
|
3293
|
+
"50": "#f0f2f5",
|
|
3294
|
+
"100": "#d9dee6",
|
|
3295
|
+
"200": "#b8c3d1",
|
|
3296
|
+
"300": "#8a9bae",
|
|
3297
|
+
"400": "#4a5f7a",
|
|
3298
|
+
"500": "#0b1828",
|
|
3299
|
+
"600": "#081320",
|
|
3300
|
+
"700": "#060e18",
|
|
3301
|
+
"800": "#04090f",
|
|
3302
|
+
"900": "#020407",
|
|
3303
|
+
default: "#0b1828",
|
|
3304
|
+
vibrant: {
|
|
3305
|
+
"300": "#8ab6ff",
|
|
3306
|
+
"500": "#4f86f7",
|
|
3307
|
+
"700": "#1e3a8a"
|
|
3261
3308
|
}
|
|
3262
3309
|
},
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
"300": "#75dac7",
|
|
3296
|
-
"500": "#1abc9c",
|
|
3297
|
-
"700": "#138f6e"
|
|
3298
|
-
}
|
|
3299
|
-
},
|
|
3300
|
-
tertiary: {
|
|
3301
|
-
"50": "#f7f4f0",
|
|
3302
|
-
"100": "#eedecc",
|
|
3303
|
-
"200": "#e5c8a8",
|
|
3304
|
-
"300": "#dcb184",
|
|
3305
|
-
"400": "#d19b60",
|
|
3306
|
-
"500": "#bfa081",
|
|
3307
|
-
"600": "#a68965",
|
|
3308
|
-
"700": "#7d6748",
|
|
3309
|
-
"800": "#54442c",
|
|
3310
|
-
"900": "#2b2216",
|
|
3311
|
-
"default": "#bfa081",
|
|
3312
|
-
vibrant: {
|
|
3313
|
-
"300": "#f7c873",
|
|
3314
|
-
"500": "#f39c12",
|
|
3315
|
-
"700": "#c9780e"
|
|
3316
|
-
}
|
|
3317
|
-
},
|
|
3318
|
-
error: {
|
|
3319
|
-
"50": "#fee6e6",
|
|
3320
|
-
"100": "#fbb3b3",
|
|
3321
|
-
"200": "#f88080",
|
|
3322
|
-
"300": "#f54d4d",
|
|
3323
|
-
"400": "#f21a1a",
|
|
3324
|
-
"500": "#9f0001",
|
|
3325
|
-
"600": "#800001",
|
|
3326
|
-
"700": "#600001",
|
|
3327
|
-
"800": "#400000",
|
|
3328
|
-
"900": "#200000",
|
|
3329
|
-
"default": "#9f0001",
|
|
3330
|
-
vibrant: {
|
|
3331
|
-
"300": "#f48a6f",
|
|
3332
|
-
"500": "#e74c3c",
|
|
3333
|
-
"700": "#c0392b"
|
|
3334
|
-
}
|
|
3335
|
-
},
|
|
3336
|
-
warning: {
|
|
3337
|
-
"50": "#fef5ec",
|
|
3338
|
-
"100": "#fdebda",
|
|
3339
|
-
"200": "#fad8b3",
|
|
3340
|
-
"300": "#f8c48c",
|
|
3341
|
-
"400": "#f5b065",
|
|
3310
|
+
secondary: {
|
|
3311
|
+
"50": "#e6f7f6",
|
|
3312
|
+
"100": "#b3e8e5",
|
|
3313
|
+
"200": "#80d9d4",
|
|
3314
|
+
"300": "#4dcac3",
|
|
3315
|
+
"400": "#2aa39b",
|
|
3316
|
+
"500": "#146b68",
|
|
3317
|
+
"600": "#125a57",
|
|
3318
|
+
"700": "#0f4a47",
|
|
3319
|
+
"800": "#0c3835",
|
|
3320
|
+
"900": "#081f1c",
|
|
3321
|
+
default: "#146b68",
|
|
3322
|
+
vibrant: {
|
|
3323
|
+
"300": "#75dac7",
|
|
3324
|
+
"500": "#1abc9c",
|
|
3325
|
+
"700": "#138f6e"
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
tertiary: {
|
|
3329
|
+
"50": "#f7f4f0",
|
|
3330
|
+
"100": "#eedecc",
|
|
3331
|
+
"200": "#e5c8a8",
|
|
3332
|
+
"300": "#dcb184",
|
|
3333
|
+
"400": "#d19b60",
|
|
3334
|
+
"500": "#bfa081",
|
|
3335
|
+
"600": "#a68965",
|
|
3336
|
+
"700": "#7d6748",
|
|
3337
|
+
"800": "#54442c",
|
|
3338
|
+
"900": "#2b2216",
|
|
3339
|
+
default: "#bfa081",
|
|
3340
|
+
vibrant: {
|
|
3341
|
+
"300": "#f7c873",
|
|
3342
3342
|
"500": "#f39c12",
|
|
3343
|
-
"
|
|
3344
|
-
"700": "#925e0b",
|
|
3345
|
-
"800": "#613e07",
|
|
3346
|
-
"900": "#311f04",
|
|
3347
|
-
"default": "#f39c12",
|
|
3348
|
-
vibrant: {
|
|
3349
|
-
"300": "#fce705",
|
|
3350
|
-
"500": "#fbc306",
|
|
3351
|
-
"700": "#f8950a"
|
|
3352
|
-
}
|
|
3353
|
-
},
|
|
3354
|
-
success: {
|
|
3355
|
-
"50": "#e8f5f2",
|
|
3356
|
-
"100": "#d1ece4",
|
|
3357
|
-
"200": "#a3d8ca",
|
|
3358
|
-
"300": "#76c5af",
|
|
3359
|
-
"400": "#48b195",
|
|
3360
|
-
"500": "#1a9e7a",
|
|
3361
|
-
"600": "#157e62",
|
|
3362
|
-
"700": "#105f49",
|
|
3363
|
-
"800": "#0a3f31",
|
|
3364
|
-
"900": "#052018",
|
|
3365
|
-
"default": "#1a9e7a",
|
|
3366
|
-
vibrant: {
|
|
3367
|
-
"300": "#07e71f",
|
|
3368
|
-
"500": "#08e27e",
|
|
3369
|
-
"700": "#26b656"
|
|
3370
|
-
}
|
|
3371
|
-
},
|
|
3372
|
-
text: {
|
|
3373
|
-
dark: "#040a0c",
|
|
3374
|
-
light: "#fcfbf7"
|
|
3375
|
-
},
|
|
3376
|
-
background: {
|
|
3377
|
-
light: "#fcfbf7",
|
|
3378
|
-
dark: "#040a0c"
|
|
3343
|
+
"700": "#c9780e"
|
|
3379
3344
|
}
|
|
3380
3345
|
},
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3346
|
+
error: {
|
|
3347
|
+
"50": "#fee6e6",
|
|
3348
|
+
"100": "#fbb3b3",
|
|
3349
|
+
"200": "#f88080",
|
|
3350
|
+
"300": "#f54d4d",
|
|
3351
|
+
"400": "#f21a1a",
|
|
3352
|
+
"500": "#9f0001",
|
|
3353
|
+
"600": "#800001",
|
|
3354
|
+
"700": "#600001",
|
|
3355
|
+
"800": "#400000",
|
|
3356
|
+
"900": "#200000",
|
|
3357
|
+
default: "#9f0001",
|
|
3358
|
+
vibrant: {
|
|
3359
|
+
"300": "#f48a6f",
|
|
3360
|
+
"500": "#e74c3c",
|
|
3361
|
+
"700": "#c0392b"
|
|
3362
|
+
}
|
|
3387
3363
|
},
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3364
|
+
warning: {
|
|
3365
|
+
"50": "#fef5ec",
|
|
3366
|
+
"100": "#fdebda",
|
|
3367
|
+
"200": "#fad8b3",
|
|
3368
|
+
"300": "#f8c48c",
|
|
3369
|
+
"400": "#f5b065",
|
|
3370
|
+
"500": "#f39c12",
|
|
3371
|
+
"600": "#c27d0e",
|
|
3372
|
+
"700": "#925e0b",
|
|
3373
|
+
"800": "#613e07",
|
|
3374
|
+
"900": "#311f04",
|
|
3375
|
+
default: "#f39c12",
|
|
3376
|
+
vibrant: {
|
|
3377
|
+
"300": "#fce705",
|
|
3378
|
+
"500": "#fbc306",
|
|
3379
|
+
"700": "#f8950a"
|
|
3380
|
+
}
|
|
3392
3381
|
},
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
"2xl": "@media (max-width: 1279px)",
|
|
3410
|
-
"3xl": "@media (max-width: 1535px)"
|
|
3382
|
+
success: {
|
|
3383
|
+
"50": "#e8f5f2",
|
|
3384
|
+
"100": "#d1ece4",
|
|
3385
|
+
"200": "#a3d8ca",
|
|
3386
|
+
"300": "#76c5af",
|
|
3387
|
+
"400": "#48b195",
|
|
3388
|
+
"500": "#1a9e7a",
|
|
3389
|
+
"600": "#157e62",
|
|
3390
|
+
"700": "#105f49",
|
|
3391
|
+
"800": "#0a3f31",
|
|
3392
|
+
"900": "#052018",
|
|
3393
|
+
default: "#1a9e7a",
|
|
3394
|
+
vibrant: {
|
|
3395
|
+
"300": "#07e71f",
|
|
3396
|
+
"500": "#08e27e",
|
|
3397
|
+
"700": "#26b656"
|
|
3411
3398
|
}
|
|
3399
|
+
},
|
|
3400
|
+
text: {
|
|
3401
|
+
dark: "#040a0c",
|
|
3402
|
+
light: "#fcfbf7"
|
|
3403
|
+
},
|
|
3404
|
+
background: {
|
|
3405
|
+
light: "#fcfbf7",
|
|
3406
|
+
dark: "#040a0c"
|
|
3412
3407
|
}
|
|
3413
3408
|
};
|
|
3409
|
+
const padding = {
|
|
3410
|
+
xs: "2px",
|
|
3411
|
+
sm: "4px",
|
|
3412
|
+
md: "6px",
|
|
3413
|
+
lg: "10px",
|
|
3414
|
+
xl: "16px"
|
|
3415
|
+
};
|
|
3416
|
+
const radius = {
|
|
3417
|
+
sm: "3px",
|
|
3418
|
+
md: "5px",
|
|
3419
|
+
lg: "8px"
|
|
3420
|
+
};
|
|
3421
|
+
const tokens = {
|
|
3422
|
+
font,
|
|
3423
|
+
color,
|
|
3424
|
+
media,
|
|
3425
|
+
padding,
|
|
3426
|
+
radius
|
|
3427
|
+
};
|
|
3414
3428
|
|
|
3415
3429
|
exports.Accordion = Accordion;
|
|
3416
3430
|
exports.AccordionItem = AccordionItem;
|
|
@@ -3434,22 +3448,11 @@ exports.ScrollToTopButton = ScrollToTopButton;
|
|
|
3434
3448
|
exports.Search = Search;
|
|
3435
3449
|
exports.SlideOut = SlideOut;
|
|
3436
3450
|
exports.breakpoints = breakpoints;
|
|
3451
|
+
exports.color = color;
|
|
3437
3452
|
exports.cx = cx;
|
|
3438
|
-
exports.
|
|
3439
|
-
exports.
|
|
3440
|
-
exports.
|
|
3441
|
-
exports.
|
|
3442
|
-
exports.maxMd = maxMd;
|
|
3443
|
-
exports.maxSm = maxSm;
|
|
3444
|
-
exports.maxXl = maxXl;
|
|
3445
|
-
exports.maxXs = maxXs;
|
|
3446
|
-
exports.min2xl = min2xl;
|
|
3447
|
-
exports.min3xl = min3xl;
|
|
3448
|
-
exports.min4xl = min4xl;
|
|
3449
|
-
exports.minLg = minLg;
|
|
3450
|
-
exports.minMd = minMd;
|
|
3451
|
-
exports.minSm = minSm;
|
|
3452
|
-
exports.minXl = minXl;
|
|
3453
|
-
exports.minXs = minXs;
|
|
3453
|
+
exports.font = font;
|
|
3454
|
+
exports.media = media;
|
|
3455
|
+
exports.padding = padding;
|
|
3456
|
+
exports.radius = radius;
|
|
3454
3457
|
exports.tokens = tokens;
|
|
3455
3458
|
//# sourceMappingURL=athameui.cjs.map
|