@once-ui-system/core 1.7.1 → 1.7.2

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 (157) hide show
  1. package/dist/components/Textarea.d.ts +1 -0
  2. package/dist/components/Textarea.d.ts.map +1 -1
  3. package/dist/components/Textarea.js +2 -2
  4. package/dist/components/Textarea.js.map +1 -1
  5. package/dist/data/emoji-data.json +0 -18
  6. package/dist/package.json +1 -1
  7. package/package.json +1 -1
  8. package/dist/src/__tests__/Dialog.test.d.ts +0 -1
  9. package/dist/src/components/Accordion.d.ts +0 -21
  10. package/dist/src/components/AccordionGroup.d.ts +0 -15
  11. package/dist/src/components/Animation.d.ts +0 -33
  12. package/dist/src/components/Arrow.d.ts +0 -10
  13. package/dist/src/components/ArrowNavigationContext.d.ts +0 -32
  14. package/dist/src/components/AutoScroll.d.ts +0 -13
  15. package/dist/src/components/Avatar.d.ts +0 -20
  16. package/dist/src/components/AvatarGroup.d.ts +0 -13
  17. package/dist/src/components/Background.d.ts +0 -48
  18. package/dist/src/components/Badge.d.ts +0 -16
  19. package/dist/src/components/Banner.d.ts +0 -5
  20. package/dist/src/components/BlobFx.d.ts +0 -7
  21. package/dist/src/components/BlockQuote.d.ts +0 -20
  22. package/dist/src/components/Button.d.ts +0 -26
  23. package/dist/src/components/Card.d.ts +0 -12
  24. package/dist/src/components/Carousel.d.ts +0 -31
  25. package/dist/src/components/CelebrationFx.d.ts +0 -16
  26. package/dist/src/components/Checkbox.d.ts +0 -10
  27. package/dist/src/components/Chip.d.ts +0 -16
  28. package/dist/src/components/ClientFlex.d.ts +0 -12
  29. package/dist/src/components/ClientGrid.d.ts +0 -12
  30. package/dist/src/components/ColorInput.d.ts +0 -10
  31. package/dist/src/components/Column.d.ts +0 -6
  32. package/dist/src/components/CompareImage.d.ts +0 -15
  33. package/dist/src/components/ContextMenu.d.ts +0 -21
  34. package/dist/src/components/CountFx.d.ts +0 -14
  35. package/dist/src/components/CountdownFx.d.ts +0 -10
  36. package/dist/src/components/Cursor.d.ts +0 -7
  37. package/dist/src/components/CursorCard.d.ts +0 -12
  38. package/dist/src/components/DateInput.d.ts +0 -17
  39. package/dist/src/components/DatePicker.d.ts +0 -32
  40. package/dist/src/components/DateRangeInput.d.ts +0 -14
  41. package/dist/src/components/DateRangePicker.d.ts +0 -16
  42. package/dist/src/components/Dialog.d.ts +0 -19
  43. package/dist/src/components/Dropdown.d.ts +0 -12
  44. package/dist/src/components/DropdownWrapper.d.ts +0 -28
  45. package/dist/src/components/ElementType.d.ts +0 -13
  46. package/dist/src/components/EmojiPicker.d.ts +0 -15
  47. package/dist/src/components/EmojiPickerDropdown.d.ts +0 -10
  48. package/dist/src/components/Fade.d.ts +0 -18
  49. package/dist/src/components/Feedback.d.ts +0 -15
  50. package/dist/src/components/Flex.d.ts +0 -10
  51. package/dist/src/components/FlipFx.d.ts +0 -16
  52. package/dist/src/components/GlitchFx.d.ts +0 -11
  53. package/dist/src/components/Grid.d.ts +0 -10
  54. package/dist/src/components/HoloFx.d.ts +0 -31
  55. package/dist/src/components/Hover.d.ts +0 -13
  56. package/dist/src/components/HoverCard.d.ts +0 -4
  57. package/dist/src/components/Icon.d.ts +0 -17
  58. package/dist/src/components/IconButton.d.ts +0 -22
  59. package/dist/src/components/InfiniteScroll.d.ts +0 -15
  60. package/dist/src/components/InlineCode.d.ts +0 -9
  61. package/dist/src/components/Input.d.ts +0 -23
  62. package/dist/src/components/InteractiveDetails.d.ts +0 -14
  63. package/dist/src/components/Kbd.d.ts +0 -11
  64. package/dist/src/components/Line.d.ts +0 -8
  65. package/dist/src/components/List.d.ts +0 -10
  66. package/dist/src/components/ListItem.d.ts +0 -9
  67. package/dist/src/components/Logo.d.ts +0 -17
  68. package/dist/src/components/LogoCloud.d.ts +0 -13
  69. package/dist/src/components/Mask.d.ts +0 -14
  70. package/dist/src/components/MasonryGrid.d.ts +0 -21
  71. package/dist/src/components/MatrixFx.d.ts +0 -26
  72. package/dist/src/components/Media.d.ts +0 -25
  73. package/dist/src/components/Modal.d.ts +0 -10
  74. package/dist/src/components/NavIcon.d.ts +0 -10
  75. package/dist/src/components/NumberInput.d.ts +0 -12
  76. package/dist/src/components/OTPInput.d.ts +0 -12
  77. package/dist/src/components/OgCard.d.ts +0 -33
  78. package/dist/src/components/Option.d.ts +0 -20
  79. package/dist/src/components/Particle.d.ts +0 -20
  80. package/dist/src/components/PasswordInput.d.ts +0 -3
  81. package/dist/src/components/ProgressBar.d.ts +0 -14
  82. package/dist/src/components/Pulse.d.ts +0 -12
  83. package/dist/src/components/RadioButton.d.ts +0 -14
  84. package/dist/src/components/RevealFx.d.ts +0 -15
  85. package/dist/src/components/Row.d.ts +0 -6
  86. package/dist/src/components/ScrollContainer.d.ts +0 -8
  87. package/dist/src/components/ScrollLock.integration.test.d.ts +0 -1
  88. package/dist/src/components/ScrollToTop.d.ts +0 -6
  89. package/dist/src/components/Scroller.d.ts +0 -13
  90. package/dist/src/components/SegmentedControl.d.ts +0 -17
  91. package/dist/src/components/Select.d.ts +0 -18
  92. package/dist/src/components/ShineFx.d.ts +0 -12
  93. package/dist/src/components/Skeleton.d.ts +0 -12
  94. package/dist/src/components/Slider.d.ts +0 -16
  95. package/dist/src/components/SmartLink.d.ts +0 -17
  96. package/dist/src/components/Spinner.d.ts +0 -10
  97. package/dist/src/components/SplitView.d.ts +0 -15
  98. package/dist/src/components/SplitView.js +0 -79
  99. package/dist/src/components/StatusIndicator.d.ts +0 -11
  100. package/dist/src/components/StyleOverlay.d.ts +0 -9
  101. package/dist/src/components/StylePanel.d.ts +0 -7
  102. package/dist/src/components/Swiper.d.ts +0 -16
  103. package/dist/src/components/Switch.d.ts +0 -16
  104. package/dist/src/components/Table.d.ts +0 -15
  105. package/dist/src/components/Tag.d.ts +0 -15
  106. package/dist/src/components/TagInput.d.ts +0 -8
  107. package/dist/src/components/Textarea.d.ts +0 -22
  108. package/dist/src/components/ThemeSwitcher.d.ts +0 -3
  109. package/dist/src/components/TiltFx.d.ts +0 -9
  110. package/dist/src/components/Timeline.d.ts +0 -17
  111. package/dist/src/components/Toast.d.ts +0 -11
  112. package/dist/src/components/Toaster.d.ts +0 -12
  113. package/dist/src/components/ToggleButton.d.ts +0 -23
  114. package/dist/src/components/Tooltip.d.ts +0 -12
  115. package/dist/src/components/TypeFx.d.ts +0 -14
  116. package/dist/src/components/User.d.ts +0 -15
  117. package/dist/src/components/UserMenu.d.ts +0 -12
  118. package/dist/src/components/WeatherFx.d.ts +0 -17
  119. package/dist/src/components/index.d.ts +0 -120
  120. package/dist/src/contexts/DataThemeProvider.d.ts +0 -25
  121. package/dist/src/contexts/ThemeProvider.d.ts +0 -48
  122. package/dist/src/contexts/ToastProvider.d.ts +0 -17
  123. package/dist/src/contexts/index.d.ts +0 -5
  124. package/dist/src/data/emoji-data.json +0 -16062
  125. package/dist/src/index.d.ts +0 -9
  126. package/dist/src/modules/code/CodeBlock.d.ts +0 -5
  127. package/dist/src/modules/code/CodeBlock.impl.d.ts +0 -33
  128. package/dist/src/modules/data/BarChart.d.ts +0 -5
  129. package/dist/src/modules/data/BarChart.impl.d.ts +0 -11
  130. package/dist/src/modules/data/ChartHeader.d.ts +0 -13
  131. package/dist/src/modules/data/ChartStatus.d.ts +0 -9
  132. package/dist/src/modules/data/DataTooltip.d.ts +0 -15
  133. package/dist/src/modules/data/Gradient.d.ts +0 -31
  134. package/dist/src/modules/data/Legend.d.ts +0 -14
  135. package/dist/src/modules/data/LineBarChart.d.ts +0 -5
  136. package/dist/src/modules/data/LineBarChart.impl.d.ts +0 -11
  137. package/dist/src/modules/data/LineChart.d.ts +0 -5
  138. package/dist/src/modules/data/LineChart.impl.d.ts +0 -16
  139. package/dist/src/modules/data/LinearGauge.d.ts +0 -17
  140. package/dist/src/modules/data/PieChart.d.ts +0 -5
  141. package/dist/src/modules/data/PieChart.impl.d.ts +0 -17
  142. package/dist/src/modules/data/RadialGauge.d.ts +0 -24
  143. package/dist/src/modules/data/Swatch.d.ts +0 -8
  144. package/dist/src/modules/data/index.d.ts +0 -13
  145. package/dist/src/modules/data/interfaces.d.ts +0 -52
  146. package/dist/src/modules/data/utils/formatDate.d.ts +0 -11
  147. package/dist/src/modules/index.d.ts +0 -7
  148. package/dist/src/modules/media/MediaUpload.d.ts +0 -5
  149. package/dist/src/modules/media/MediaUpload.impl.d.ts +0 -23
  150. package/dist/src/modules/navigation/HeadingLink.d.ts +0 -10
  151. package/dist/src/modules/navigation/HeadingNav.d.ts +0 -7
  152. package/dist/src/modules/navigation/Kbar.d.ts +0 -33
  153. package/dist/src/modules/navigation/MegaMenu.d.ts +0 -27
  154. package/dist/src/modules/navigation/MobileMegaMenu.d.ts +0 -27
  155. package/dist/src/modules/navigation/index.d.ts +0 -5
  156. package/dist/src/utils/MissingDependency.d.ts +0 -6
  157. package/dist/src/utils/index.d.ts +0 -2
@@ -12,6 +12,7 @@ interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
12
12
  className?: string;
13
13
  hasPrefix?: ReactNode;
14
14
  hasSuffix?: ReactNode;
15
+ variant?: "default" | "ghost";
15
16
  characterCount?: boolean;
16
17
  resize?: "horizontal" | "vertical" | "both" | "none";
17
18
  validate?: (value: ReactNode) => ReactNode | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../src/components/Textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAIZ,sBAAsB,EAEtB,SAAS,EACV,MAAM,OAAO,CAAC;AAMf,UAAU,aAAc,SAAQ,sBAAsB,CAAC,mBAAmB,CAAC;IACzE,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IACvC,KAAK,CA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AC,EACH,MAAM,GACN,KAAK,GACL,OAAO,GACP,QAAQ,GACR,MAAM,GACN,UAAU,GACV,WAAW,GACX,cAAc,GACd,aAAa,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,SAAS,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,QAAQ,2FAiOb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -5,7 +5,7 @@ import classNames from "classnames";
5
5
  import { Column, Row, Text } from ".";
6
6
  import styles from "./Input.module.scss";
7
7
  import { useDebounce } from "../hooks/useDebounce";
8
- const Textarea = forwardRef(({ id, label, placeholder, lines = 3, height = "m", error = false, errorMessage, description, radius, className, hasPrefix, hasSuffix, characterCount, resize = "vertical", validate, disabled = false, children, onFocus, onBlur, onChange, style, ...props }, ref) => {
8
+ const Textarea = forwardRef(({ id, label, placeholder, lines = 3, height = "m", error = false, errorMessage, description, radius, className, hasPrefix, hasSuffix, variant = "default", characterCount, resize = "vertical", validate, disabled = false, children, onFocus, onBlur, onChange, style, ...props }, ref) => {
9
9
  const [isFocused, setIsFocused] = useState(false);
10
10
  const [isFilled, setIsFilled] = useState(!!props.value);
11
11
  const [validationError, setValidationError] = useState(null);
@@ -84,7 +84,7 @@ const Textarea = forwardRef(({ id, label, placeholder, lines = 3, height = "m",
84
84
  });
85
85
  return (_jsxs(Column, { gap: "8", fillWidth: true, fitHeight: true, className: classNames(className, {
86
86
  [styles.error]: displayError && debouncedValue !== "",
87
- }), children: [_jsxs(Row, { minHeight: placeholder ? "48" : "56", transition: "micro-medium", border: "neutral-medium", background: "neutral-alpha-weak", overflow: "hidden", vertical: "stretch", className: classNames(styles.base, height && styles[height], lines !== "auto" && resize !== "none" && styles.resizeHandle, radius === "none" ? "radius-none" : radius ? `radius-l-${radius}` : "radius-l", lines !== "auto" && resize !== "none" && "radius-s-bottom-right"), children: [hasPrefix && (_jsx(Row, { paddingLeft: "12", className: styles.prefix, children: hasPrefix })), _jsxs(Column, { fillWidth: true, padding: "4", children: [_jsx("textarea", { ...props, ref: (node) => {
87
+ }), children: [_jsxs(Row, { minHeight: placeholder ? "48" : "56", transition: "micro-medium", border: variant === "ghost" ? "transparent" : "neutral-medium", background: variant === "ghost" ? "transparent" : "neutral-alpha-weak", overflow: "hidden", vertical: "stretch", className: classNames(styles.base, height && styles[height], lines !== "auto" && resize !== "none" && styles.resizeHandle, radius === "none" ? "radius-none" : radius ? `radius-l-${radius}` : "radius-l", lines !== "auto" && resize !== "none" && "radius-s-bottom-right"), children: [hasPrefix && (_jsx(Row, { paddingLeft: "12", className: styles.prefix, children: hasPrefix })), _jsxs(Column, { fillWidth: true, padding: "4", children: [_jsx("textarea", { ...props, ref: (node) => {
88
88
  if (typeof ref === "function") {
89
89
  ref(node);
90
90
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../src/components/Textarea.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EAEV,WAAW,GAEZ,MAAM,OAAO,CAAC;AACf,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AACtC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,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KAAK,IAAI,CACzC,KAAC,GAAG,IAAC,QAAQ,EAAC,IAAI,EAAC,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAC,gBAAgB,EAAC,YAAY,EAAC,aAAa,YAC1F,YAAY,GACT,CACP,EACA,WAAW,IAAI,CACd,KAAC,GAAG,IAAC,QAAQ,EAAC,IAAI,EAAC,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,WAAW,EAAC,gBAAgB,EAAC,YAAY,EAAC,cAAc,YACjG,WAAW,GACR,CACP,IACM,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -6293,16 +6293,6 @@
6293
6293
  "fly"
6294
6294
  ]
6295
6295
  },
6296
- {
6297
- "char": "🪿",
6298
- "description": "goose",
6299
- "aliases": [
6300
- "goose"
6301
- ],
6302
- "tags": [
6303
- "honk"
6304
- ]
6305
- },
6306
6296
  {
6307
6297
  "char": "🐸",
6308
6298
  "description": "frog",
@@ -15088,14 +15078,6 @@
15088
15078
  ],
15089
15079
  "tags": []
15090
15080
  },
15091
- {
15092
- "char": "🇱🇰",
15093
- "description": "flag: Sri Lanka",
15094
- "aliases": [
15095
- "sri_lanka"
15096
- ],
15097
- "tags": []
15098
- },
15099
15081
  {
15100
15082
  "char": "🇱🇷",
15101
15083
  "description": "flag: Liberia",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@once-ui-system/core",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Once UI for Next.js NPM package",
5
5
  "keywords": [
6
6
  "once-ui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@once-ui-system/core",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Once UI for Next.js NPM package",
5
5
  "keywords": [
6
6
  "once-ui",
@@ -1 +0,0 @@
1
- export {};
@@ -1,21 +0,0 @@
1
- import React from "react";
2
- import { Flex } from ".";
3
- export interface AccordionHandle extends HTMLDivElement {
4
- toggle: () => void;
5
- open: () => void;
6
- close: () => void;
7
- }
8
- interface AccordionProps extends Omit<React.ComponentProps<typeof Flex>, "title"> {
9
- title: React.ReactNode;
10
- children: React.ReactNode;
11
- icon?: string;
12
- iconRotation?: number;
13
- size?: "s" | "m" | "l";
14
- radius?: "xs" | "s" | "m" | "l" | "xl" | "full";
15
- open?: boolean;
16
- onToggle?: () => void;
17
- className?: string;
18
- style?: React.CSSProperties;
19
- }
20
- declare const Accordion: React.ForwardRefExoticComponent<Omit<AccordionProps, "ref"> & React.RefAttributes<AccordionHandle>>;
21
- export { Accordion };
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { Flex } from ".";
3
- export type AccordionItem = {
4
- title: React.ReactNode;
5
- content: React.ReactNode;
6
- };
7
- export interface AccordionGroupProps extends React.ComponentProps<typeof Flex> {
8
- items: AccordionItem[];
9
- size?: "s" | "m" | "l";
10
- autoCollapse?: boolean;
11
- className?: string;
12
- style?: React.CSSProperties;
13
- }
14
- declare const AccordionGroup: React.FC<AccordionGroupProps>;
15
- export { AccordionGroup };
@@ -1,33 +0,0 @@
1
- import React, { ReactNode, CSSProperties } from "react";
2
- import { Placement } from "@floating-ui/react-dom";
3
- import { Flex } from ".";
4
- import { SpacingToken } from "@/types";
5
- type TriggerType = "hover" | "click" | "manual";
6
- type EasingCurve = "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "spring" | "bounce";
7
- export interface AnimationProps extends React.ComponentProps<typeof Flex> {
8
- trigger?: ReactNode;
9
- children: ReactNode;
10
- fade?: number;
11
- scale?: number;
12
- blur?: number;
13
- slideUp?: number;
14
- slideDown?: number;
15
- slideLeft?: number;
16
- slideRight?: number;
17
- zoomIn?: number;
18
- zoomOut?: number;
19
- triggerType?: TriggerType;
20
- active?: boolean;
21
- delay?: number;
22
- duration?: number;
23
- easing?: EasingCurve;
24
- transformOrigin?: string;
25
- childrenPosition?: CSSProperties["position"];
26
- reverse?: boolean;
27
- touch?: "disable" | "enable" | "display";
28
- portal?: boolean;
29
- placement?: Placement;
30
- offsetDistance?: SpacingToken;
31
- }
32
- declare const Animation: React.ForwardRefExoticComponent<Omit<AnimationProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
33
- export { Animation };
@@ -1,10 +0,0 @@
1
- import { Flex } from ".";
2
- interface ArrowProps extends React.ComponentProps<typeof Flex> {
3
- trigger: string;
4
- scale?: number;
5
- color?: "onBackground" | "onSolid";
6
- style?: React.CSSProperties;
7
- className?: string;
8
- }
9
- declare const Arrow: React.FC<ArrowProps>;
10
- export { Arrow };
@@ -1,32 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { ArrowNavigationOptions } from "../hooks/useArrowNavigation";
3
- interface ArrowNavigationContextType {
4
- focusedIndex: number;
5
- setFocusedIndex: (index: number) => void;
6
- handleKeyDown: (e: React.KeyboardEvent<HTMLElement>) => void;
7
- applyHighlightedState: () => void;
8
- }
9
- export interface ArrowNavigationProps extends Omit<ArrowNavigationOptions, "containerRef"> {
10
- children: ReactNode;
11
- className?: string;
12
- style?: React.CSSProperties;
13
- role?: string;
14
- "aria-label"?: string;
15
- trapFocus?: boolean;
16
- focusTrapActive?: boolean;
17
- onEscape?: () => void;
18
- autoFocusTrap?: boolean;
19
- restoreFocus?: boolean;
20
- }
21
- export declare const ArrowNavigation: React.FC<ArrowNavigationProps>;
22
- /**
23
- * Hook to access the ArrowNavigation context
24
- */
25
- export declare const useArrowNavigationContext: () => ArrowNavigationContextType;
26
- /**
27
- * Higher-order component to make a component navigable with arrow keys
28
- */
29
- export declare function withArrowNavigation<P extends object>(Component: React.ComponentType<P>, options: Omit<ArrowNavigationProps, "children">): React.FC<P & {
30
- children?: ReactNode;
31
- }>;
32
- export default ArrowNavigation;
@@ -1,13 +0,0 @@
1
- import { Row } from ".";
2
- import React from "react";
3
- interface AutoScrollProps extends React.ComponentProps<typeof Row> {
4
- children: React.ReactNode;
5
- speed?: "slow" | "medium" | "fast";
6
- hover?: "slow" | "pause" | "none";
7
- reverse?: boolean;
8
- className?: string;
9
- style?: React.CSSProperties;
10
- scrollGap?: number | string;
11
- }
12
- declare const AutoScroll: React.ForwardRefExoticComponent<Omit<AutoScrollProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
- export { AutoScroll };
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- import { Flex } from ".";
3
- import { IconName } from "@/icons";
4
- interface AvatarProps extends React.ComponentProps<typeof Flex> {
5
- size?: "xs" | "s" | "m" | "l" | "xl" | number;
6
- value?: string;
7
- src?: string;
8
- unoptimized?: boolean;
9
- loading?: boolean;
10
- empty?: boolean;
11
- icon?: IconName;
12
- statusIndicator?: {
13
- color: "green" | "yellow" | "red" | "gray";
14
- };
15
- style?: React.CSSProperties;
16
- className?: string;
17
- }
18
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- export { Avatar };
20
- export type { AvatarProps };
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import { AvatarProps, Flex } from ".";
3
- interface AvatarGroupProps extends React.ComponentProps<typeof Flex> {
4
- avatars: AvatarProps[];
5
- size?: "xs" | "s" | "m" | "l" | "xl";
6
- reverse?: boolean;
7
- limit?: number;
8
- className?: string;
9
- style?: React.CSSProperties;
10
- }
11
- declare const AvatarGroup: React.ForwardRefExoticComponent<Omit<AvatarGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- export { AvatarGroup };
13
- export type { AvatarGroupProps };
@@ -1,48 +0,0 @@
1
- import React from "react";
2
- import { Flex, MaskProps } from ".";
3
- import { DisplayProps } from "../interfaces";
4
- import { SpacingToken } from "../types";
5
- interface GradientProps {
6
- display?: boolean;
7
- opacity?: DisplayProps["opacity"];
8
- x?: number;
9
- y?: number;
10
- width?: number;
11
- height?: number;
12
- tilt?: number;
13
- colorStart?: string;
14
- colorEnd?: string;
15
- }
16
- interface DotsProps {
17
- display?: boolean;
18
- opacity?: DisplayProps["opacity"];
19
- color?: string;
20
- size?: SpacingToken;
21
- }
22
- interface GridProps {
23
- display?: boolean;
24
- opacity?: DisplayProps["opacity"];
25
- color?: string;
26
- width?: string;
27
- height?: string;
28
- }
29
- interface LinesProps {
30
- display?: boolean;
31
- opacity?: DisplayProps["opacity"];
32
- size?: SpacingToken;
33
- thickness?: number;
34
- angle?: number;
35
- color?: string;
36
- }
37
- interface BackgroundProps extends React.ComponentProps<typeof Flex> {
38
- gradient?: GradientProps;
39
- dots?: DotsProps;
40
- grid?: GridProps;
41
- lines?: LinesProps;
42
- mask?: MaskProps;
43
- className?: string;
44
- style?: React.CSSProperties;
45
- children?: React.ReactNode;
46
- }
47
- declare const Background: React.ForwardRefExoticComponent<Omit<BackgroundProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
48
- export { Background };
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { Flex } from ".";
3
- import { IconName } from "../icons";
4
- export interface BadgeProps extends React.ComponentProps<typeof Flex> {
5
- title?: string;
6
- icon?: IconName;
7
- arrow?: boolean;
8
- children?: React.ReactNode;
9
- href?: string;
10
- effect?: boolean;
11
- className?: string;
12
- style?: React.CSSProperties;
13
- id?: string;
14
- }
15
- declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLDivElement | HTMLAnchorElement>>;
16
- export { Badge };
@@ -1,5 +0,0 @@
1
- import { Row } from "./Row";
2
- interface BannerProps extends React.ComponentProps<typeof Row> {
3
- }
4
- declare const Banner: import("react").ForwardRefExoticComponent<Omit<BannerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
- export { Banner };
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { Row } from ".";
3
- export interface BlobFxProps extends React.ComponentProps<typeof Row> {
4
- seed?: number;
5
- }
6
- declare const BlobFx: React.FC<BlobFxProps>;
7
- export { BlobFx };
@@ -1,20 +0,0 @@
1
- import { Column } from ".";
2
- interface BlockQuoteProps extends React.ComponentProps<typeof Column> {
3
- children: React.ReactNode;
4
- preline?: React.ReactNode;
5
- subline?: React.ReactNode;
6
- separator?: "top" | "bottom" | "both" | "none";
7
- author?: {
8
- name?: React.ReactNode;
9
- avatar?: string;
10
- };
11
- link?: {
12
- href: string;
13
- label: string;
14
- };
15
- style?: React.CSSProperties;
16
- className?: string;
17
- align?: "center" | "left" | "right";
18
- }
19
- declare const BlockQuote: import("react").ForwardRefExoticComponent<Omit<BlockQuoteProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
20
- export { BlockQuote };
@@ -1,26 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { IconName } from "../icons";
3
- interface CommonProps {
4
- variant?: "primary" | "secondary" | "tertiary" | "danger";
5
- size?: "xs" | "s" | "m" | "l" | "xl";
6
- radius?: "none" | "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
7
- label?: string;
8
- weight?: "default" | "strong";
9
- rounded?: boolean;
10
- prefixIcon?: IconName;
11
- suffixIcon?: IconName;
12
- loading?: boolean;
13
- disabled?: boolean;
14
- fillWidth?: boolean;
15
- horizontal?: "start" | "center" | "end" | "between";
16
- children?: ReactNode;
17
- href?: string;
18
- className?: string;
19
- style?: React.CSSProperties;
20
- id?: string;
21
- arrowIcon?: boolean;
22
- }
23
- export type ButtonProps = CommonProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
24
- export type AnchorProps = CommonProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
25
- declare const Button: React.ForwardRefExoticComponent<(ButtonProps | AnchorProps) & React.RefAttributes<HTMLButtonElement>>;
26
- export { Button };
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import { Flex } from ".";
3
- interface CardProps extends React.ComponentProps<typeof Flex> {
4
- children?: React.ReactNode;
5
- href?: string;
6
- onClick?: () => void;
7
- fillHeight?: boolean;
8
- style?: React.CSSProperties;
9
- className?: string;
10
- }
11
- declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- export { Card };
@@ -1,31 +0,0 @@
1
- import { SpacingToken } from "@/types";
2
- import { Flex } from ".";
3
- interface CarouselItem {
4
- slide: string | React.ReactNode;
5
- alt?: string;
6
- }
7
- interface ThumbnailItem {
8
- scaling?: number;
9
- height?: SpacingToken | number;
10
- sizes?: string;
11
- }
12
- interface CarouselProps extends React.ComponentProps<typeof Flex> {
13
- items: CarouselItem[];
14
- controls?: boolean;
15
- priority?: boolean;
16
- fill?: boolean;
17
- indicator?: "line" | "thumbnail" | false;
18
- translateY?: SpacingToken | number;
19
- aspectRatio?: string;
20
- sizes?: string;
21
- revealedByDefault?: boolean;
22
- thumbnail?: ThumbnailItem;
23
- play?: {
24
- auto?: boolean;
25
- interval?: number;
26
- controls?: boolean;
27
- progress?: boolean;
28
- };
29
- }
30
- declare const Carousel: React.FC<CarouselProps>;
31
- export { Carousel };
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { Flex } from ".";
3
- type CelebrationType = "confetti" | "fireworks";
4
- interface CelebrationFxProps extends React.ComponentProps<typeof Flex> {
5
- type?: CelebrationType;
6
- speed?: number;
7
- colors?: string[];
8
- intensity?: number;
9
- duration?: number;
10
- trigger?: "mount" | "hover" | "manual" | "click";
11
- active?: boolean;
12
- reducedMotion?: boolean | "auto";
13
- children?: React.ReactNode;
14
- }
15
- declare const CelebrationFx: React.ForwardRefExoticComponent<Omit<CelebrationFxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
- export { CelebrationFx };
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { InteractiveDetailsProps } from ".";
3
- interface CheckboxProps extends Omit<InteractiveDetailsProps, "onClick">, React.InputHTMLAttributes<HTMLInputElement> {
4
- isChecked?: boolean;
5
- isIndeterminate?: boolean;
6
- onToggle?: () => void;
7
- }
8
- declare const Checkbox: React.FC<CheckboxProps>;
9
- export { Checkbox };
10
- export type { CheckboxProps };
@@ -1,16 +0,0 @@
1
- import React, { ReactNode, MouseEventHandler } from "react";
2
- import { IconButtonProps, Flex } from ".";
3
- import { IconName } from "../icons";
4
- interface ChipProps extends React.ComponentProps<typeof Flex> {
5
- label: string;
6
- selected?: boolean;
7
- prefixIcon?: IconName;
8
- onRemove?: () => void;
9
- onClick?: MouseEventHandler<HTMLDivElement>;
10
- children?: ReactNode;
11
- iconButtonProps?: Partial<IconButtonProps>;
12
- style?: React.CSSProperties;
13
- className?: string;
14
- }
15
- declare const Chip: React.FC<ChipProps>;
16
- export { Chip };
@@ -1,12 +0,0 @@
1
- import { FlexProps, StyleProps, DisplayProps, FlexBreakpointProps } from "../interfaces";
2
- interface ClientFlexProps extends FlexProps, StyleProps, DisplayProps {
3
- cursor?: StyleProps["cursor"];
4
- xl?: FlexBreakpointProps;
5
- l?: FlexBreakpointProps;
6
- m?: FlexBreakpointProps;
7
- s?: FlexBreakpointProps;
8
- xs?: FlexBreakpointProps;
9
- hide?: boolean;
10
- }
11
- declare const ClientFlex: import("react").ForwardRefExoticComponent<ClientFlexProps & import("react").RefAttributes<HTMLDivElement>>;
12
- export { ClientFlex };
@@ -1,12 +0,0 @@
1
- import { GridProps, StyleProps, DisplayProps, GridBreakpointProps } from "../interfaces";
2
- interface ClientGridProps extends GridProps, StyleProps, DisplayProps {
3
- cursor?: StyleProps["cursor"];
4
- xl?: GridBreakpointProps;
5
- l?: GridBreakpointProps;
6
- m?: GridBreakpointProps;
7
- s?: GridBreakpointProps;
8
- xs?: GridBreakpointProps;
9
- hide?: boolean;
10
- }
11
- declare const ClientGrid: import("react").ForwardRefExoticComponent<ClientGridProps & import("react").RefAttributes<HTMLDivElement>>;
12
- export { ClientGrid };
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { InputProps } from ".";
3
- interface ColorInputProps extends Omit<InputProps, "onChange" | "value"> {
4
- value: string;
5
- onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
6
- supportAlpha?: boolean;
7
- }
8
- declare const ColorInput: React.ForwardRefExoticComponent<ColorInputProps & React.RefAttributes<HTMLInputElement>>;
9
- export { ColorInput };
10
- export type { ColorInputProps };
@@ -1,6 +0,0 @@
1
- import { Flex } from ".";
2
- export interface ColumnProps extends React.ComponentProps<typeof Flex> {
3
- children?: React.ReactNode;
4
- }
5
- declare const Column: import("react").ForwardRefExoticComponent<Omit<ColumnProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
- export { Column };
@@ -1,15 +0,0 @@
1
- import { Flex } from ".";
2
- interface SideContent {
3
- src: string | React.ReactNode;
4
- alt?: string;
5
- }
6
- interface CompareImageProps extends React.ComponentProps<typeof Flex> {
7
- leftContent: SideContent;
8
- rightContent: SideContent;
9
- aspectRatio?: string;
10
- }
11
- declare const CompareImage: {
12
- ({ leftContent, rightContent, aspectRatio, ...rest }: CompareImageProps): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
15
- export { CompareImage };
@@ -1,21 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { Placement } from "@floating-ui/react-dom";
3
- export interface ContextMenuProps {
4
- children: ReactNode;
5
- dropdown: ReactNode;
6
- placement?: Placement;
7
- fillWidth?: boolean;
8
- minWidth?: number;
9
- maxWidth?: number;
10
- minHeight?: number;
11
- style?: React.CSSProperties;
12
- className?: string;
13
- onSelect?: (value: string) => void;
14
- closeAfterClick?: boolean;
15
- isOpen?: boolean;
16
- onOpenChange?: (isOpen: boolean) => void;
17
- selectedOption?: string;
18
- disabled?: boolean;
19
- }
20
- declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
21
- export { ContextMenu };
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- import { Text } from ".";
3
- export interface CountFxProps extends React.ComponentProps<typeof Text> {
4
- value: number;
5
- speed?: number;
6
- easing?: "linear" | "ease-out" | "ease-in-out";
7
- format?: (value: number) => string;
8
- separator?: string;
9
- decimals?: number;
10
- effect?: "simple" | "wheel" | "smooth";
11
- children?: React.ReactNode;
12
- }
13
- declare const CountFx: React.FC<CountFxProps>;
14
- export { CountFx };
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { CountFxProps } from ".";
3
- export interface CountdownFxProps extends Omit<CountFxProps, 'value' | 'format' | 'separator' | 'effect'> {
4
- targetDate: Date | string;
5
- format?: "HH:MM:SS" | "DD:HH:MM:SS" | "MM:SS";
6
- effect?: CountFxProps['effect'];
7
- onComplete?: () => void;
8
- }
9
- declare const CountdownFx: React.FC<CountdownFxProps>;
10
- export { CountdownFx };
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface CursorProps {
3
- cursor: React.ReactNode;
4
- elementRef: React.RefObject<HTMLElement | null>;
5
- }
6
- export declare const Cursor: React.FC<CursorProps>;
7
- export default Cursor;