athameui 0.0.7 → 0.0.9-c

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.
Files changed (102) hide show
  1. package/components/Avatar/Avatar.tsx +6 -12
  2. package/components/Block/Block.tsx +22 -0
  3. package/components/Block/index.ts +1 -0
  4. package/components/Button/Button.tsx +2 -2
  5. package/components/DropDown/Dropdown.tsx +61 -0
  6. package/components/DropDown/index.ts +1 -0
  7. package/components/{FormElements/FormInput.tsx → FormField/FormField.tsx} +21 -15
  8. package/components/FormField/index.ts +1 -0
  9. package/components/{FormElements/FormInputLabel.tsx → FormLabel/FormLabel.tsx} +5 -5
  10. package/components/FormLabel/index.ts +1 -0
  11. package/components/FormTextInput/FormTextInput.tsx +93 -0
  12. package/components/FormTextInput/index.ts +1 -0
  13. package/components/Layout/Main.tsx +21 -14
  14. package/components/Modal/Modal.tsx +3 -3
  15. package/components/Search/Search.tsx +7 -4
  16. package/components/SlideOut/SlideOut.tsx +71 -0
  17. package/components/SlideOut/index.ts +1 -0
  18. package/components/index.ts +6 -1
  19. package/dist/athameui.cjs +204 -64
  20. package/dist/athameui.cjs.map +1 -1
  21. package/dist/athameui.mjs +199 -63
  22. package/dist/athameui.mjs.map +1 -1
  23. package/dist/components/Avatar/Avatar.d.ts +1 -1
  24. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  25. package/dist/components/Block/Block.d.ts +13 -0
  26. package/dist/components/Block/Block.d.ts.map +1 -0
  27. package/dist/components/Block/index.d.ts +2 -0
  28. package/dist/components/Block/index.d.ts.map +1 -0
  29. package/dist/components/DropDown/Dropdown.d.ts +14 -0
  30. package/dist/components/DropDown/Dropdown.d.ts.map +1 -0
  31. package/dist/components/DropDown/index.d.ts +2 -0
  32. package/dist/components/DropDown/index.d.ts.map +1 -0
  33. package/dist/components/{FormElements/FormInput.d.ts → FormField/FormField.d.ts} +6 -4
  34. package/dist/components/FormField/FormField.d.ts.map +1 -0
  35. package/dist/components/FormField/index.d.ts +2 -0
  36. package/dist/components/FormField/index.d.ts.map +1 -0
  37. package/dist/components/{FormElements/FormInputLabel.d.ts → FormLabel/FormLabel.d.ts} +3 -3
  38. package/dist/components/FormLabel/FormLabel.d.ts.map +1 -0
  39. package/dist/components/FormLabel/index.d.ts +2 -0
  40. package/dist/components/FormLabel/index.d.ts.map +1 -0
  41. package/dist/components/FormTextInput/FormTextInput.d.ts +27 -0
  42. package/dist/components/FormTextInput/FormTextInput.d.ts.map +1 -0
  43. package/dist/components/FormTextInput/index.d.ts +2 -0
  44. package/dist/components/FormTextInput/index.d.ts.map +1 -0
  45. package/dist/components/Layout/Main.d.ts +7 -3
  46. package/dist/components/Layout/Main.d.ts.map +1 -1
  47. package/dist/components/Search/Search.d.ts +2 -1
  48. package/dist/components/Search/Search.d.ts.map +1 -1
  49. package/dist/components/SlideOut/SlideOut.d.ts +21 -0
  50. package/dist/components/SlideOut/SlideOut.d.ts.map +1 -0
  51. package/dist/components/SlideOut/index.d.ts +2 -0
  52. package/dist/components/SlideOut/index.d.ts.map +1 -0
  53. package/dist/components/index.d.ts +6 -1
  54. package/dist/components/index.d.ts.map +1 -1
  55. package/dist/styles/breakpoints.d.ts +13 -0
  56. package/dist/styles/breakpoints.d.ts.map +1 -0
  57. package/dist/styles/breakpoints.ts +13 -0
  58. package/dist/styles/components/accordion.css +38 -35
  59. package/dist/styles/components/avatar.css +25 -4
  60. package/dist/styles/components/block.css +8 -0
  61. package/dist/styles/components/button.css +2 -2
  62. package/dist/styles/components/dropdown.css +18 -0
  63. package/dist/styles/components/footer.css +0 -1
  64. package/dist/styles/components/{form-elements.css → form-input.css} +8 -51
  65. package/dist/styles/components/form-label.css +42 -0
  66. package/dist/styles/components/main.css +11 -2
  67. package/dist/styles/components/modals.css +2 -1
  68. package/dist/styles/components/slide-out.css +69 -0
  69. package/dist/styles/index.d.ts +1 -1
  70. package/dist/styles/index.d.ts.map +1 -1
  71. package/dist/styles/index.ts +1 -1
  72. package/dist/styles/theme.css +5 -1
  73. package/dist/styles/tokens.css +45 -25
  74. package/dist/styles/tokens.d.ts +0 -10
  75. package/dist/styles/tokens.d.ts.map +1 -1
  76. package/dist/styles/tokens.ts +16 -26
  77. package/package.json +1 -1
  78. package/styles/breakpoints.ts +13 -0
  79. package/styles/components/accordion.css +38 -35
  80. package/styles/components/avatar.css +25 -4
  81. package/styles/components/block.css +8 -0
  82. package/styles/components/button.css +2 -2
  83. package/styles/components/dropdown.css +18 -0
  84. package/styles/components/footer.css +0 -1
  85. package/styles/components/{form-elements.css → form-input.css} +8 -51
  86. package/styles/components/form-label.css +42 -0
  87. package/styles/components/main.css +11 -2
  88. package/styles/components/modals.css +2 -1
  89. package/styles/components/slide-out.css +69 -0
  90. package/styles/index.ts +1 -1
  91. package/styles/theme.css +5 -1
  92. package/styles/tokens.css +45 -25
  93. package/styles/tokens.ts +16 -26
  94. package/components/FormElements/index.ts +0 -2
  95. package/dist/components/FormElements/FormInput.d.ts.map +0 -1
  96. package/dist/components/FormElements/FormInputLabel.d.ts.map +0 -1
  97. package/dist/components/FormElements/index.d.ts +0 -3
  98. package/dist/components/FormElements/index.d.ts.map +0 -1
  99. package/dist/styles/mediaQueries.d.ts +0 -11
  100. package/dist/styles/mediaQueries.d.ts.map +0 -1
  101. package/dist/styles/mediaQueries.ts +0 -10
  102. package/styles/mediaQueries.ts +0 -10
package/dist/athameui.cjs CHANGED
@@ -2199,7 +2199,7 @@ const Button = /*#__PURE__*/React.forwardRef(({
2199
2199
  onClick,
2200
2200
  onFocus,
2201
2201
  onKeyDown,
2202
- ...rest
2202
+ ...other
2203
2203
  }, ref) => {
2204
2204
  const isIconOnly = icon && !children;
2205
2205
  const sharedClasses = cx("ath-button", buttonVariants.size[size], buttonVariants.variant[variant], isIconOnly ? "ath-button-icon-only" : "", dark ? buttonVariants.dark : "");
@@ -2227,7 +2227,7 @@ const Button = /*#__PURE__*/React.forwardRef(({
2227
2227
  onKeyDown: onKeyDownHandler,
2228
2228
  onFocus: onFocusHandler,
2229
2229
  onBlur: onBlurHandler,
2230
- ...rest,
2230
+ ...other,
2231
2231
  children: icon ? jsxs(Fragment, {
2232
2232
  children: [icon, !isIconOnly && children]
2233
2233
  }) : jsx(Fragment, {
@@ -2365,11 +2365,12 @@ const Avatar = ({
2365
2365
  className,
2366
2366
  displayName = "Display Name",
2367
2367
  sx,
2368
- size = 40
2368
+ size = "medium"
2369
2369
  }) => {
2370
+ console.log(className?.avatar);
2370
2371
  const initials = displayName.split(" ").map(n => n[0].toUpperCase());
2371
- const avatarClasses = cx(".ath-avatar", `width-${size}px`, `height-${size}px`, `line-height-${size}px`, className?.avatar);
2372
- const initialsClasses = cx(".ath-avatar-initials", `font-size-${size / 2}px`, className?.initials);
2372
+ const avatarClasses = cx("ath-avatar", `ath-avatar-${size}`, className?.avatar);
2373
+ const initialsClasses = cx(`ath-avatar-initials`, className?.initials);
2373
2374
  // const imageClasses = cx(".ath-avatar-image", className?.image);
2374
2375
  return jsx("div", {
2375
2376
  css: sx?.avatar,
@@ -2382,6 +2383,20 @@ const Avatar = ({
2382
2383
  });
2383
2384
  };
2384
2385
 
2386
+ const Block = ({
2387
+ children,
2388
+ className,
2389
+ sx
2390
+ }) => {
2391
+ const blockClasses = cx("ath-block", className?.block);
2392
+ return jsx("div", {
2393
+ className: blockClasses,
2394
+ "data-testid": "block",
2395
+ css: sx?.block,
2396
+ children: children
2397
+ });
2398
+ };
2399
+
2385
2400
  const defaultAttributes = {
2386
2401
  xmlns: 'http://www.w3.org/2000/svg',
2387
2402
  width: 24,
@@ -2556,21 +2571,50 @@ const ButtonGroup = ({
2556
2571
  });
2557
2572
  };
2558
2573
 
2559
- const FormInputLabel = ({
2574
+ const Dropdown = ({
2575
+ children,
2576
+ className,
2577
+ isOpen,
2578
+ sx,
2579
+ onClose
2580
+ }) => {
2581
+ const dropdownRef = React.useRef(null);
2582
+ const dropdownClasses = cx("ath-dropdown", isOpen && "ath-dropdown-open", className?.dropdown);
2583
+ React.useEffect(() => {
2584
+ const handleOutsideClick = event => {
2585
+ if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
2586
+ onClose();
2587
+ }
2588
+ };
2589
+ document.addEventListener("mousedown", handleOutsideClick);
2590
+ return () => {
2591
+ document.removeEventListener("mousedown", handleOutsideClick);
2592
+ };
2593
+ }, [onClose]);
2594
+ return jsxs("div", {
2595
+ ref: dropdownRef,
2596
+ className: dropdownClasses,
2597
+ css: sx?.dropdown,
2598
+ "data-testid": "dropdown",
2599
+ children: ["fdpdsugfpoidsuy", children]
2600
+ });
2601
+ };
2602
+
2603
+ const FormLabel = ({
2560
2604
  label,
2561
2605
  required,
2562
2606
  className,
2563
2607
  labelPosition = "above",
2564
2608
  dark,
2565
2609
  sx,
2566
- ...rest
2610
+ ...other
2567
2611
  }) => {
2568
2612
  const labelClasses = cx("ath-form-input-label", labelPosition ? `ath-form-input-label-${labelPosition}` : "", dark ? "ath-form-input-label-dark" : "", className?.label);
2569
2613
  const requiredClasses = cx("ath-form-input-label-required", dark ? "ath-form-input-label-required-dark" : "", className?.required);
2570
2614
  return jsxs("label", {
2571
2615
  className: labelClasses,
2572
2616
  css: sx?.label,
2573
- ...rest,
2617
+ ...other,
2574
2618
  children: [label, required && jsx("span", {
2575
2619
  className: requiredClasses,
2576
2620
  css: sx?.required,
@@ -2580,7 +2624,52 @@ const FormInputLabel = ({
2580
2624
  });
2581
2625
  };
2582
2626
 
2583
- const FormInput = ({
2627
+ const FormTextInput = ({
2628
+ autoComplete,
2629
+ autoFocus,
2630
+ className,
2631
+ dark,
2632
+ error,
2633
+ disabled,
2634
+ id,
2635
+ name,
2636
+ placeholder,
2637
+ readOnly,
2638
+ size,
2639
+ sx,
2640
+ tabIndex,
2641
+ type = "text",
2642
+ value,
2643
+ onChange,
2644
+ onKeyDown,
2645
+ ...other
2646
+ }) => {
2647
+ const inputClasses = cx("ath-form-text-input", `ath-form-text-input-${size}`, dark ? "ath-form-text-input-dark" : "", disabled ? "ath-form-text-input-disabled" : "", readOnly ? "ath-form-text-input-readonly" : "", error ? "ath-form-text-input-error" : "", className?.input);
2648
+ const onChangeHandler = e => {
2649
+ if (!disabled && !readOnly) {
2650
+ onChange(e);
2651
+ }
2652
+ };
2653
+ return jsx("input", {
2654
+ autoComplete: autoComplete,
2655
+ autoFocus: autoFocus,
2656
+ className: inputClasses,
2657
+ css: sx?.input,
2658
+ disabled: disabled,
2659
+ name: name,
2660
+ placeholder: placeholder,
2661
+ readOnly: readOnly,
2662
+ tabIndex: disabled ? -1 : tabIndex,
2663
+ type: type,
2664
+ value: value,
2665
+ onChange: onChangeHandler,
2666
+ onKeyDown: onKeyDown,
2667
+ id: id,
2668
+ ...other
2669
+ });
2670
+ };
2671
+
2672
+ const FormField = ({
2584
2673
  autoComplete,
2585
2674
  autoFocus = false,
2586
2675
  autoResize = false,
@@ -2589,11 +2678,12 @@ const FormInput = ({
2589
2678
  disabled = false,
2590
2679
  error,
2591
2680
  helperText,
2681
+ id,
2592
2682
  label,
2593
2683
  labelPosition = "above",
2594
2684
  name,
2595
2685
  placeholder,
2596
- readonly = false,
2686
+ readOnly = false,
2597
2687
  required = false,
2598
2688
  size = "medium",
2599
2689
  sx,
@@ -2602,11 +2692,11 @@ const FormInput = ({
2602
2692
  value,
2603
2693
  onChange,
2604
2694
  onKeyDown,
2605
- ...rest
2695
+ ...other
2606
2696
  }) => {
2607
2697
  const textAreaRef = React.useRef(null);
2608
2698
  const containerClasses = cx("ath-form-input-container", (labelPosition === "left" || labelPosition === "right") && "ath-form-input-container-horizontal", className?.container ? className.container : "");
2609
- 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 : "");
2699
+ 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 : "");
2610
2700
  const inputClasses = cx("ath-form-input", inputSharedClasses, error && "ath-form-input-error");
2611
2701
  const textAreaClasses = cx("ath-form-textarea", inputSharedClasses, autoResize && "ath-form-textarea-auto-resize", error && "ath-form-textarea-error");
2612
2702
  const labelClasses = cx("ath-form-input-label", labelPosition ? `ath-form-input-label-${labelPosition}` : "");
@@ -2633,10 +2723,10 @@ const FormInput = ({
2633
2723
  }
2634
2724
  }
2635
2725
  }, [autoResize, type]);
2636
- const labelElement = label ? jsx(FormInputLabel, {
2726
+ const labelElement = label ? jsx(FormLabel, {
2637
2727
  label: label,
2638
2728
  required: required,
2639
- htmlFor: name,
2729
+ htmlFor: id,
2640
2730
  className: labelClasses,
2641
2731
  sx: {
2642
2732
  label: sx?.label,
@@ -2652,29 +2742,33 @@ const FormInput = ({
2652
2742
  name: name,
2653
2743
  onChange: handleTextAreaChange,
2654
2744
  disabled: disabled,
2655
- readOnly: readonly,
2745
+ readOnly: readOnly,
2656
2746
  onKeyDown: onKeyDown,
2657
2747
  tabIndex: disabled ? -1 : tabIndex,
2658
2748
  className: textAreaClasses,
2659
2749
  css: sx?.input,
2660
2750
  value: value,
2661
2751
  placeholder: placeholder,
2662
- ...rest
2663
- }) : jsx("input", {
2752
+ ...other
2753
+ }) : jsx(FormTextInput, {
2664
2754
  autoComplete: autoComplete,
2665
2755
  autoFocus: autoFocus,
2666
2756
  name: name,
2667
2757
  type: type,
2668
2758
  onChange: handleInputChange,
2669
2759
  disabled: disabled,
2670
- readOnly: readonly,
2760
+ readOnly: readOnly,
2671
2761
  onKeyDown: onKeyDown,
2672
2762
  tabIndex: disabled ? -1 : tabIndex,
2673
- className: inputClasses,
2763
+ className: {
2764
+ input: inputClasses
2765
+ },
2674
2766
  css: sx?.input,
2675
2767
  value: value,
2676
2768
  placeholder: placeholder,
2677
- ...rest
2769
+ size: size,
2770
+ id: id,
2771
+ ...other
2678
2772
  });
2679
2773
  const errorElement = error ? jsx("div", {
2680
2774
  className: errorClasses,
@@ -2717,11 +2811,16 @@ const Main = ({
2717
2811
  className,
2718
2812
  sx
2719
2813
  }) => {
2720
- const classes = cx("ath-main", typeof className === "object" && className !== null ? className.main : className);
2814
+ const mainClasses = cx("ath-main", typeof className === "object" && className !== null ? className.main : "");
2815
+ const mainContentClasses = cx("ath-main-content", typeof className === "object" && className !== null ? className.mainContent : "");
2721
2816
  return jsx("main", {
2722
- css: sx,
2723
- className: classes,
2724
- children: children
2817
+ css: sx?.main,
2818
+ className: mainClasses,
2819
+ children: jsx("div", {
2820
+ css: sx?.mainContent,
2821
+ className: mainContentClasses,
2822
+ children: children
2823
+ })
2725
2824
  });
2726
2825
  };
2727
2826
 
@@ -2781,7 +2880,7 @@ const Modal = ({
2781
2880
  finalFocusRef,
2782
2881
  sx,
2783
2882
  onClose,
2784
- ...rest
2883
+ ...other
2785
2884
  }) => {
2786
2885
  const [previouslyFocusedElement, setPreviouslyFocusedElement] = React.useState(null);
2787
2886
  const modalRef = React.useRef(null);
@@ -2867,7 +2966,7 @@ const Modal = ({
2867
2966
  css: sx?.modal,
2868
2967
  className: modalClasses,
2869
2968
  role: "dialog",
2870
- ...rest,
2969
+ ...other,
2871
2970
  children: [(title || showCloseButton) && jsxs("div", {
2872
2971
  css: sx?.header,
2873
2972
  className: headerClasses,
@@ -2908,6 +3007,7 @@ const Search = ({
2908
3007
  buttonVariant = "primary",
2909
3008
  className,
2910
3009
  dark = false,
3010
+ id,
2911
3011
  inputSize,
2912
3012
  label,
2913
3013
  labelPosition = "above",
@@ -2922,7 +3022,7 @@ const Search = ({
2922
3022
  totalResultsCount = "0",
2923
3023
  onSearch,
2924
3024
  setSearchTerm,
2925
- ...rest
3025
+ ...other
2926
3026
  }) => {
2927
3027
  const setSearchTermHandler = e => {
2928
3028
  if (e.target instanceof HTMLInputElement) {
@@ -2941,7 +3041,7 @@ const Search = ({
2941
3041
  className: cx("ath-search-form", typeof className?.searchForm === "string" ? className.searchForm : ""),
2942
3042
  css: sx?.searchForm,
2943
3043
  role: searchRole || "search",
2944
- ...rest,
3044
+ ...other,
2945
3045
  children: jsxs("div", {
2946
3046
  className: cx("ath-search-wrapper", typeof className?.searchWrapper === "string" ? className.searchWrapper : ""),
2947
3047
  css: sx?.searchWrapper,
@@ -2955,8 +3055,9 @@ const Search = ({
2955
3055
  children: [resultsLabel ?? "Total Results:", " ", totalResultsCount]
2956
3056
  }), jsx("div", {
2957
3057
  className: "ath-search-input-wrapper",
2958
- children: jsx(FormInput, {
3058
+ children: jsx(FormField, {
2959
3059
  type: "search",
3060
+ id: id,
2960
3061
  value: searchTerm || "",
2961
3062
  name: "searchTerm",
2962
3063
  labelPosition: labelPosition,
@@ -2991,15 +3092,59 @@ const Search = ({
2991
3092
  });
2992
3093
  };
2993
3094
 
3095
+ const SlideOut = ({
3096
+ children,
3097
+ className,
3098
+ from = "right",
3099
+ isOpen = false,
3100
+ sx,
3101
+ onClose
3102
+ }) => {
3103
+ const slideOutClasses = cx("ath-slide-out", className?.slideOut);
3104
+ const overlayClasses = cx("ath-slide-out-overlay", isOpen && "ath-slide-out-overlay-open", className?.overlay);
3105
+ const panelClasses = cx("ath-slide-out-panel", from === "left" ? "ath-slide-out-from-left" : "ath-slide-out-from-right", isOpen && "ath-slide-out-panel-open", className?.panel);
3106
+ const closeButtonClasses = cx("ath-slide-out-close-button", className?.closeButton);
3107
+ return jsxs("div", {
3108
+ className: slideOutClasses,
3109
+ css: sx?.slideOut,
3110
+ "data-testid": "slide-out",
3111
+ children: [jsx("div", {
3112
+ className: overlayClasses,
3113
+ css: sx?.overlay,
3114
+ onClick: onClose
3115
+ }), jsxs("div", {
3116
+ className: panelClasses,
3117
+ css: sx?.panel,
3118
+ children: [jsx(Button, {
3119
+ className: {
3120
+ button: closeButtonClasses
3121
+ },
3122
+ sx: {
3123
+ button: sx?.closeButton
3124
+ },
3125
+ onClick: onClose,
3126
+ "aria-label": "Close menu",
3127
+ variant: "ghost",
3128
+ dark: true,
3129
+ size: "medium",
3130
+ icon: jsx(HugeiconsIcon, {
3131
+ icon: uL,
3132
+ size: 24
3133
+ })
3134
+ }), children]
3135
+ })]
3136
+ });
3137
+ };
3138
+
2994
3139
  const breakpoints = {
2995
- xs: "360px",
2996
- sm: "480px",
2997
- md: "640px",
2998
- lg: "768px",
2999
- xl: "896px",
3000
- "2xl": "1024px",
3001
- "3xl": "1280px",
3002
- "4xl": "1536px"
3140
+ xs: 320,
3141
+ sm: 480,
3142
+ md: 620,
3143
+ lg: 768,
3144
+ xl: 896,
3145
+ "2xl": 1024,
3146
+ "3xl": 1280,
3147
+ "4xl": 1536
3003
3148
  };
3004
3149
 
3005
3150
  const tokens = {
@@ -3009,15 +3154,15 @@ const tokens = {
3009
3154
  serif: "Libre Baskerville, serif"
3010
3155
  },
3011
3156
  size: {
3012
- xs: "0.625rem",
3013
- sm: "0.75rem",
3014
- md: "0.875rem",
3015
- lg: "1rem",
3016
- xl: "1.25rem",
3017
- "2xl": "1.5rem",
3018
- "3xl": "2rem",
3019
- "4xl": "2.5rem",
3020
- "5xl": "3rem"
3157
+ xs: "0.75rem",
3158
+ sm: "0.875rem",
3159
+ md: "1rem",
3160
+ lg: "1.25rem",
3161
+ xl: "1.5rem",
3162
+ "2xl": "2rem",
3163
+ "3xl": "2.5rem",
3164
+ "4xl": "3rem",
3165
+ "5xl": "3.5rem"
3021
3166
  }
3022
3167
  },
3023
3168
  color: {
@@ -3150,27 +3295,18 @@ const tokens = {
3150
3295
  md: "5px",
3151
3296
  lg: "8px"
3152
3297
  },
3153
- screen: {
3154
- xs: "360px",
3155
- sm: "480px",
3156
- md: "768px",
3157
- lg: "896px",
3158
- xl: "1024px",
3159
- "2xl": "1280px",
3160
- "3xl": "1536px"
3161
- },
3162
3298
  media: {
3163
3299
  min: {
3164
- xs: "@media (min-width: 360px)",
3300
+ xs: "@media (min-width: 320px)",
3165
3301
  sm: "@media (min-width: 480px)",
3166
- md: "@media (min-width: 768px)",
3167
- lg: "@media (min-width: 896px)",
3168
- xl: "@media (min-width: 1024px)",
3169
- "2xl": "@media (min-width: 1280px)",
3170
- "3xl": "@media (min-width: 1536px)"
3302
+ md: "@media (min-width: 620px)",
3303
+ lg: "@media (min-width: 768px)",
3304
+ xl: "@media (min-width: 896px)",
3305
+ "2xl": "@media (min-width: 1024px)",
3306
+ "3xl": "@media (min-width: 1280px)"
3171
3307
  },
3172
3308
  max: {
3173
- xs: "@media (max-width: 359px)",
3309
+ xs: "@media (max-width: 319px)",
3174
3310
  sm: "@media (max-width: 479px)",
3175
3311
  md: "@media (max-width: 767px)",
3176
3312
  lg: "@media (max-width: 895px)",
@@ -3184,12 +3320,15 @@ const tokens = {
3184
3320
  exports.Accordion = Accordion;
3185
3321
  exports.AccordionItem = AccordionItem;
3186
3322
  exports.Avatar = Avatar;
3323
+ exports.Block = Block;
3187
3324
  exports.Button = Button;
3188
3325
  exports.ButtonGroup = ButtonGroup;
3189
3326
  exports.ContainerScalingText = ContainerScalingText;
3327
+ exports.Dropdown = Dropdown;
3190
3328
  exports.Footer = Footer;
3191
- exports.FormInput = FormInput;
3192
- exports.FormInputLabel = FormInputLabel;
3329
+ exports.FormField = FormField;
3330
+ exports.FormLabel = FormLabel;
3331
+ exports.FormTextInput = FormTextInput;
3193
3332
  exports.Header = Header;
3194
3333
  exports.List = List;
3195
3334
  exports.ListItem = ListItem;
@@ -3197,6 +3336,7 @@ exports.Main = Main;
3197
3336
  exports.Modal = Modal;
3198
3337
  exports.ScrollToTopButton = ScrollToTopButton;
3199
3338
  exports.Search = Search;
3339
+ exports.SlideOut = SlideOut;
3200
3340
  exports.breakpoints = breakpoints;
3201
3341
  exports.cx = cx;
3202
3342
  exports.tokens = tokens;