@wallarm-org/design-system 4.7.0 → 4.8.0-rc-fix-claude-code.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +4 -2
  2. package/dist/components/BulkBar/index.d.ts +5 -0
  3. package/dist/components/Drawer/classes.js +1 -1
  4. package/dist/components/NotificationCenter/NotificationCenter.d.ts +20 -0
  5. package/dist/components/NotificationCenter/NotificationCenter.js +65 -0
  6. package/dist/components/NotificationCenter/NotificationCenterBody.d.ts +18 -0
  7. package/dist/components/NotificationCenter/NotificationCenterBody.js +202 -0
  8. package/dist/components/NotificationCenter/NotificationCenterContent.d.ts +5 -0
  9. package/dist/components/NotificationCenter/NotificationCenterContent.js +42 -0
  10. package/dist/components/NotificationCenter/NotificationCenterHeader.d.ts +20 -0
  11. package/dist/components/NotificationCenter/NotificationCenterHeader.js +202 -0
  12. package/dist/components/NotificationCenter/NotificationCenterItem.d.ts +26 -0
  13. package/dist/components/NotificationCenter/NotificationCenterItem.js +211 -0
  14. package/dist/components/NotificationCenter/NotificationCenterItemTime.d.ts +9 -0
  15. package/dist/components/NotificationCenter/NotificationCenterItemTime.js +148 -0
  16. package/dist/components/NotificationCenter/NotificationCenterItemTitle.d.ts +14 -0
  17. package/dist/components/NotificationCenter/NotificationCenterItemTitle.js +115 -0
  18. package/dist/components/NotificationCenter/NotificationCenterTabs.d.ts +10 -0
  19. package/dist/components/NotificationCenter/NotificationCenterTabs.js +77 -0
  20. package/dist/components/NotificationCenter/NotificationCenterTrigger.d.ts +13 -0
  21. package/dist/components/NotificationCenter/NotificationCenterTrigger.js +138 -0
  22. package/dist/components/NotificationCenter/index.d.ts +9 -0
  23. package/dist/components/NotificationCenter/index.js +9 -0
  24. package/dist/components/Overlay/Overlay.js +1 -1
  25. package/dist/components/SearchInput/SearchInput.d.ts +7 -5
  26. package/dist/components/SearchInput/SearchInput.js +119 -101
  27. package/dist/components/Select/SelectSearchInput.d.ts +1 -1
  28. package/dist/components/Table/types.d.ts +1 -1
  29. package/dist/components/Tabs/Tabs.d.ts +1 -0
  30. package/dist/components/Tabs/Tabs.js +30 -28
  31. package/dist/components/Tabs/TabsList/index.d.ts +1 -1
  32. package/dist/components/Tabs/index.d.ts +2 -2
  33. package/dist/components/Tour/TourPositioner.d.ts +3 -0
  34. package/dist/components/Tour/TourPositioner.js +4 -4
  35. package/dist/guidelines/foundations/color.md +157 -0
  36. package/dist/guidelines/foundations/focus.md +122 -0
  37. package/dist/guidelines/foundations/layering.md +131 -0
  38. package/dist/guidelines/foundations/radius-elevation.md +111 -0
  39. package/dist/guidelines/foundations/spacing.md +117 -0
  40. package/dist/guidelines/foundations/typography.md +114 -0
  41. package/dist/guidelines/patterns/app-layout.md +1567 -0
  42. package/dist/guidelines/patterns/auth-page.md +668 -0
  43. package/dist/guidelines/patterns/confirmation-dialogs.md +605 -0
  44. package/dist/guidelines/patterns/create-edit-forms.md +768 -0
  45. package/dist/guidelines/patterns/detail-drawer.md +868 -0
  46. package/dist/guidelines/patterns/empty-states.md +461 -0
  47. package/dist/guidelines/patterns/entity-table.md +533 -0
  48. package/dist/guidelines/patterns/feedback-toasts.md +493 -0
  49. package/dist/guidelines/patterns/filtering.md +630 -0
  50. package/dist/guidelines/patterns/resource-list-page.md +558 -0
  51. package/dist/guidelines/patterns/settings-page.md +752 -0
  52. package/dist/guidelines/rules.md +25 -0
  53. package/dist/index.d.ts +2 -1
  54. package/dist/index.js +1 -0
  55. package/dist/metadata/components.json +12641 -9320
  56. package/dist/metadata/guidelines.json +1705 -0
  57. package/dist/theme/typography.css +5 -0
  58. package/dist/utils/formatDateTime.d.ts +6 -0
  59. package/dist/utils/formatDateTime.js +13 -1
  60. package/package.json +6 -1
@@ -0,0 +1,138 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
3
+ import { Bell } from "../../icons/index.js";
4
+ import { useTestId } from "../../utils/testId.js";
5
+ import { Button } from "../Button/index.js";
6
+ import { NumericBadge } from "../NumericBadge/index.js";
7
+ import { PopoverTrigger } from "../Popover/index.js";
8
+ import { Tooltip, TooltipContent, TooltipTrigger } from "../Tooltip/index.js";
9
+ import { useNotificationCenterContext } from "./NotificationCenter.js";
10
+ const MAX_BADGE_COUNT = 99;
11
+ const NotificationCenterTrigger = (t0)=>{
12
+ const $ = c(32);
13
+ let children;
14
+ let props;
15
+ let ref;
16
+ let t1;
17
+ let t2;
18
+ let testIdProp;
19
+ if ($[0] !== t0) {
20
+ ({ ref, count: t1, label: t2, children, "data-testid": testIdProp, ...props } = t0);
21
+ $[0] = t0;
22
+ $[1] = children;
23
+ $[2] = props;
24
+ $[3] = ref;
25
+ $[4] = t1;
26
+ $[5] = t2;
27
+ $[6] = testIdProp;
28
+ } else {
29
+ children = $[1];
30
+ props = $[2];
31
+ ref = $[3];
32
+ t1 = $[4];
33
+ t2 = $[5];
34
+ testIdProp = $[6];
35
+ }
36
+ const count = void 0 === t1 ? 0 : t1;
37
+ const label = void 0 === t2 ? "Notifications" : t2;
38
+ const { triggerId } = useNotificationCenterContext();
39
+ const testId = useTestId("trigger", testIdProp);
40
+ let t3;
41
+ if ($[7] !== triggerId) {
42
+ t3 = {
43
+ trigger: triggerId
44
+ };
45
+ $[7] = triggerId;
46
+ $[8] = t3;
47
+ } else t3 = $[8];
48
+ const t4 = count > 0 ? `${label}, ${count} unread` : label;
49
+ let t5;
50
+ if ($[9] !== children) {
51
+ t5 = children ?? /*#__PURE__*/ jsx(Bell, {});
52
+ $[9] = children;
53
+ $[10] = t5;
54
+ } else t5 = $[10];
55
+ let t6;
56
+ if ($[11] !== count) {
57
+ t6 = count > 0 && /*#__PURE__*/ jsx(NumericBadge, {
58
+ type: "solid",
59
+ color: "brand",
60
+ size: "small",
61
+ "aria-hidden": true,
62
+ children: count > MAX_BADGE_COUNT ? `${MAX_BADGE_COUNT}+` : count
63
+ });
64
+ $[11] = count;
65
+ $[12] = t6;
66
+ } else t6 = $[12];
67
+ let t7;
68
+ if ($[13] !== props || $[14] !== ref || $[15] !== t4 || $[16] !== t5 || $[17] !== t6) {
69
+ t7 = /*#__PURE__*/ jsxs(Button, {
70
+ "aria-label": t4,
71
+ "data-slot": "notification-center-trigger",
72
+ ...props,
73
+ ref: ref,
74
+ variant: "ghost",
75
+ color: "neutral",
76
+ size: "small",
77
+ children: [
78
+ t5,
79
+ t6
80
+ ]
81
+ });
82
+ $[13] = props;
83
+ $[14] = ref;
84
+ $[15] = t4;
85
+ $[16] = t5;
86
+ $[17] = t6;
87
+ $[18] = t7;
88
+ } else t7 = $[18];
89
+ let t8;
90
+ if ($[19] !== t7 || $[20] !== testId) {
91
+ t8 = /*#__PURE__*/ jsx(TooltipTrigger, {
92
+ asChild: true,
93
+ "data-testid": testId,
94
+ children: t7
95
+ });
96
+ $[19] = t7;
97
+ $[20] = testId;
98
+ $[21] = t8;
99
+ } else t8 = $[21];
100
+ let t9;
101
+ if ($[22] !== t8 || $[23] !== testId) {
102
+ t9 = /*#__PURE__*/ jsx(PopoverTrigger, {
103
+ asChild: true,
104
+ "data-testid": testId,
105
+ children: t8
106
+ });
107
+ $[22] = t8;
108
+ $[23] = testId;
109
+ $[24] = t9;
110
+ } else t9 = $[24];
111
+ let t10;
112
+ if ($[25] !== label) {
113
+ t10 = /*#__PURE__*/ jsx(TooltipContent, {
114
+ children: label
115
+ });
116
+ $[25] = label;
117
+ $[26] = t10;
118
+ } else t10 = $[26];
119
+ let t11;
120
+ if ($[27] !== t10 || $[28] !== t3 || $[29] !== t9 || $[30] !== testId) {
121
+ t11 = /*#__PURE__*/ jsxs(Tooltip, {
122
+ ids: t3,
123
+ "data-testid": testId,
124
+ children: [
125
+ t9,
126
+ t10
127
+ ]
128
+ });
129
+ $[27] = t10;
130
+ $[28] = t3;
131
+ $[29] = t9;
132
+ $[30] = testId;
133
+ $[31] = t11;
134
+ } else t11 = $[31];
135
+ return t11;
136
+ };
137
+ NotificationCenterTrigger.displayName = "NotificationCenterTrigger";
138
+ export { NotificationCenterTrigger };
@@ -0,0 +1,9 @@
1
+ export { NotificationCenter, type NotificationCenterProps } from './NotificationCenter.js';
2
+ export { NotificationCenterBody, type NotificationCenterBodyProps, NotificationCenterEmpty, type NotificationCenterEmptyProps, NotificationCenterSkeleton, type NotificationCenterSkeletonProps, } from './NotificationCenterBody.js';
3
+ export { NotificationCenterContent, type NotificationCenterContentProps, } from './NotificationCenterContent.js';
4
+ export { NotificationCenterHeader, NotificationCenterHeaderAction, type NotificationCenterHeaderActionProps, NotificationCenterHeaderActions, type NotificationCenterHeaderActionsProps, type NotificationCenterHeaderProps, NotificationCenterTitle, type NotificationCenterTitleProps, } from './NotificationCenterHeader.js';
5
+ export { NotificationCenterItem, NotificationCenterItemActions, type NotificationCenterItemActionsProps, NotificationCenterItemDescription, type NotificationCenterItemDescriptionProps, type NotificationCenterItemProps, NotificationCenterList, type NotificationCenterListProps, } from './NotificationCenterItem.js';
6
+ export { NotificationCenterItemTime, type NotificationCenterItemTimeProps, } from './NotificationCenterItemTime.js';
7
+ export { NotificationCenterItemTitle, type NotificationCenterItemTitleProps, } from './NotificationCenterItemTitle.js';
8
+ export { NotificationCenterTabs, NotificationCenterTabsList, type NotificationCenterTabsListProps, type NotificationCenterTabsProps, } from './NotificationCenterTabs.js';
9
+ export { NotificationCenterTrigger, type NotificationCenterTriggerProps, } from './NotificationCenterTrigger.js';
@@ -0,0 +1,9 @@
1
+ export { NotificationCenter } from "./NotificationCenter.js";
2
+ export { NotificationCenterBody, NotificationCenterEmpty, NotificationCenterSkeleton } from "./NotificationCenterBody.js";
3
+ export { NotificationCenterContent } from "./NotificationCenterContent.js";
4
+ export { NotificationCenterHeader, NotificationCenterHeaderAction, NotificationCenterHeaderActions, NotificationCenterTitle } from "./NotificationCenterHeader.js";
5
+ export { NotificationCenterItem, NotificationCenterItemActions, NotificationCenterItemDescription, NotificationCenterList } from "./NotificationCenterItem.js";
6
+ export { NotificationCenterItemTime } from "./NotificationCenterItemTime.js";
7
+ export { NotificationCenterItemTitle } from "./NotificationCenterItemTitle.js";
8
+ export { NotificationCenterTabs, NotificationCenterTabsList } from "./NotificationCenterTabs.js";
9
+ export { NotificationCenterTrigger } from "./NotificationCenterTrigger.js";
@@ -5,7 +5,7 @@ const Overlay = (props)=>{
5
5
  const $ = c(3);
6
6
  let t0;
7
7
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
8
- t0 = cn("fixed inset-0", "data-[state=open]:animate-in data-[state=open]:fade-in-0", "data-[state=closed]:animate-out data-[state=closed]:fade-out-0", "transition-opacity duration-200", "backdrop-blur-xs bg-component-dialog-overlay", "z-[calc(var(--drawer-overlay-z-index)+(var(--layer-index)*var(--drawer-level-ratio)))]");
8
+ t0 = cn("fixed inset-0", "data-[state=open]:animate-in data-[state=open]:fade-in-0", "data-[state=closed]:animate-out data-[state=closed]:fade-out-0", "transition-opacity duration-200", "backdrop-blur-xs bg-component-dialog-overlay", "z-[calc(var(--drawer-overlay-z-index)+(var(--layer-index,0)*var(--drawer-level-ratio)))]");
9
9
  $[0] = t0;
10
10
  } else t0 = $[0];
11
11
  let t1;
@@ -1,11 +1,13 @@
1
- import type { FC, InputHTMLAttributes, Ref } from 'react';
1
+ import { type FC, type InputHTMLAttributes, type Ref } from 'react';
2
2
  import type { TestableProps } from '../../utils/testId.js';
3
3
  type SearchInputSize = 'default' | 'medium' | 'small';
4
- export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'onChange'>, TestableProps {
5
- /** Current search value (controlled). */
6
- value: string;
4
+ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange'>, TestableProps {
5
+ /** Current search value (controlled). Omit it to let the input keep its own value. */
6
+ value?: string;
7
+ /** Initial value when `value` is omitted (uncontrolled). @default '' */
8
+ defaultValue?: string;
7
9
  /** Called when the value changes (typing or clearing). */
8
- onChange: (value: string) => void;
10
+ onChange?: (value: string) => void;
9
11
  /** Called when the clear button is clicked. Fires before onChange(''). */
10
12
  onClear?: () => void;
11
13
  /** Input size variant. @default 'default' */
@@ -1,13 +1,15 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c } from "react/compiler-runtime";
3
+ import { useState } from "react";
3
4
  import { Search, X } from "../../icons/index.js";
4
5
  import { cn } from "../../utils/cn.js";
5
6
  import { Input } from "../Input/index.js";
6
7
  import { InputGroup } from "../InputGroup/InputGroup.js";
7
8
  import { InputGroupAddon } from "../InputGroup/InputGroupAddon.js";
8
9
  const SearchInput = (t0)=>{
9
- const $ = c(40);
10
+ const $ = c(44);
10
11
  let className;
12
+ let controlledValue;
11
13
  let onChange;
12
14
  let onClear;
13
15
  let ref;
@@ -15,67 +17,83 @@ const SearchInput = (t0)=>{
15
17
  let t1;
16
18
  let t2;
17
19
  let t3;
20
+ let t4;
18
21
  let testId;
19
- let value;
20
22
  if ($[0] !== t0) {
21
- ({ value, onChange, onClear, size: t1, disabled: t2, placeholder: t3, className, ref, "data-testid": testId, ...rest } = t0);
23
+ ({ value: controlledValue, defaultValue: t1, onChange, onClear, size: t2, disabled: t3, placeholder: t4, className, ref, "data-testid": testId, ...rest } = t0);
22
24
  $[0] = t0;
23
25
  $[1] = className;
24
- $[2] = onChange;
25
- $[3] = onClear;
26
- $[4] = ref;
27
- $[5] = rest;
28
- $[6] = t1;
29
- $[7] = t2;
30
- $[8] = t3;
31
- $[9] = testId;
32
- $[10] = value;
26
+ $[2] = controlledValue;
27
+ $[3] = onChange;
28
+ $[4] = onClear;
29
+ $[5] = ref;
30
+ $[6] = rest;
31
+ $[7] = t1;
32
+ $[8] = t2;
33
+ $[9] = t3;
34
+ $[10] = t4;
35
+ $[11] = testId;
33
36
  } else {
34
37
  className = $[1];
35
- onChange = $[2];
36
- onClear = $[3];
37
- ref = $[4];
38
- rest = $[5];
39
- t1 = $[6];
40
- t2 = $[7];
41
- t3 = $[8];
42
- testId = $[9];
43
- value = $[10];
38
+ controlledValue = $[2];
39
+ onChange = $[3];
40
+ onClear = $[4];
41
+ ref = $[5];
42
+ rest = $[6];
43
+ t1 = $[7];
44
+ t2 = $[8];
45
+ t3 = $[9];
46
+ t4 = $[10];
47
+ testId = $[11];
44
48
  }
45
- const size = void 0 === t1 ? "default" : t1;
46
- const disabled = void 0 === t2 ? false : t2;
47
- const placeholder = void 0 === t3 ? "Search" : t3;
48
- let t4;
49
- if ($[11] !== onChange) {
50
- t4 = (event)=>{
51
- onChange(event.target.value);
52
- };
53
- $[11] = onChange;
54
- $[12] = t4;
55
- } else t4 = $[12];
56
- const handleChange = t4;
49
+ const defaultValue = void 0 === t1 ? "" : t1;
50
+ const size = void 0 === t2 ? "default" : t2;
51
+ const disabled = void 0 === t3 ? false : t3;
52
+ const placeholder = void 0 === t4 ? "Search" : t4;
53
+ const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
54
+ const value = controlledValue ?? uncontrolledValue;
57
55
  let t5;
58
- if ($[13] !== onChange || $[14] !== onClear) {
59
- t5 = ()=>{
60
- onClear?.();
61
- onChange("");
56
+ if ($[12] !== controlledValue || $[13] !== onChange) {
57
+ t5 = (next)=>{
58
+ if (void 0 === controlledValue) setUncontrolledValue(next);
59
+ onChange?.(next);
62
60
  };
61
+ $[12] = controlledValue;
63
62
  $[13] = onChange;
64
- $[14] = onClear;
65
- $[15] = t5;
66
- } else t5 = $[15];
67
- const handleClear = t5;
68
- const showClear = value.length > 0 && !disabled;
63
+ $[14] = t5;
64
+ } else t5 = $[14];
65
+ const setValue = t5;
69
66
  let t6;
70
- if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
71
- t6 = /*#__PURE__*/ jsx(InputGroupAddon, {
72
- children: /*#__PURE__*/ jsx(Search, {})
73
- });
67
+ if ($[15] !== setValue) {
68
+ t6 = (event)=>{
69
+ setValue(event.target.value);
70
+ };
71
+ $[15] = setValue;
74
72
  $[16] = t6;
75
73
  } else t6 = $[16];
74
+ const handleChange = t6;
76
75
  let t7;
77
- if ($[17] !== disabled || $[18] !== handleChange || $[19] !== placeholder || $[20] !== ref || $[21] !== rest || $[22] !== size || $[23] !== value) {
78
- t7 = /*#__PURE__*/ jsx(Input, {
76
+ if ($[17] !== onClear || $[18] !== setValue) {
77
+ t7 = ()=>{
78
+ onClear?.();
79
+ setValue("");
80
+ };
81
+ $[17] = onClear;
82
+ $[18] = setValue;
83
+ $[19] = t7;
84
+ } else t7 = $[19];
85
+ const handleClear = t7;
86
+ const showClear = value.length > 0 && !disabled;
87
+ let t8;
88
+ if ($[20] === Symbol.for("react.memo_cache_sentinel")) {
89
+ t8 = /*#__PURE__*/ jsx(InputGroupAddon, {
90
+ children: /*#__PURE__*/ jsx(Search, {})
91
+ });
92
+ $[20] = t8;
93
+ } else t8 = $[20];
94
+ let t9;
95
+ if ($[21] !== disabled || $[22] !== handleChange || $[23] !== placeholder || $[24] !== ref || $[25] !== rest || $[26] !== size || $[27] !== value) {
96
+ t9 = /*#__PURE__*/ jsx(Input, {
79
97
  ...rest,
80
98
  type: "text",
81
99
  value: value,
@@ -85,75 +103,75 @@ const SearchInput = (t0)=>{
85
103
  size: size,
86
104
  ref: ref
87
105
  });
88
- $[17] = disabled;
89
- $[18] = handleChange;
90
- $[19] = placeholder;
91
- $[20] = ref;
92
- $[21] = rest;
93
- $[22] = size;
94
- $[23] = value;
95
- $[24] = t7;
96
- } else t7 = $[24];
97
- const t8 = showClear ? -1 : void 0;
98
- const t9 = !showClear;
99
- const t10 = !showClear;
100
- const t11 = showClear ? "cursor-pointer" : "invisible";
101
- let t12;
102
- if ($[25] !== t11) {
103
- t12 = cn("flex text-icon-secondary", t11);
104
- $[25] = t11;
105
- $[26] = t12;
106
- } else t12 = $[26];
107
- let t13;
108
- if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
109
- t13 = /*#__PURE__*/ jsx(X, {
106
+ $[21] = disabled;
107
+ $[22] = handleChange;
108
+ $[23] = placeholder;
109
+ $[24] = ref;
110
+ $[25] = rest;
111
+ $[26] = size;
112
+ $[27] = value;
113
+ $[28] = t9;
114
+ } else t9 = $[28];
115
+ const t10 = showClear ? -1 : void 0;
116
+ const t11 = !showClear;
117
+ const t12 = !showClear;
118
+ const t13 = showClear ? "cursor-pointer" : "invisible";
119
+ let t14;
120
+ if ($[29] !== t13) {
121
+ t14 = cn("flex text-icon-secondary", t13);
122
+ $[29] = t13;
123
+ $[30] = t14;
124
+ } else t14 = $[30];
125
+ let t15;
126
+ if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
127
+ t15 = /*#__PURE__*/ jsx(X, {
110
128
  size: "md"
111
129
  });
112
- $[27] = t13;
113
- } else t13 = $[27];
114
- let t14;
115
- if ($[28] !== handleClear || $[29] !== t10 || $[30] !== t12 || $[31] !== t8 || $[32] !== t9) {
116
- t14 = /*#__PURE__*/ jsx(InputGroupAddon, {
130
+ $[31] = t15;
131
+ } else t15 = $[31];
132
+ let t16;
133
+ if ($[32] !== handleClear || $[33] !== t10 || $[34] !== t11 || $[35] !== t12 || $[36] !== t14) {
134
+ t16 = /*#__PURE__*/ jsx(InputGroupAddon, {
117
135
  align: "inline-end",
118
136
  children: /*#__PURE__*/ jsx("button", {
119
137
  type: "button",
120
- tabIndex: t8,
121
- disabled: t9,
138
+ tabIndex: t10,
139
+ disabled: t11,
122
140
  onClick: handleClear,
123
141
  "aria-label": "Clear",
124
- "aria-hidden": t10,
125
- className: t12,
126
- children: t13
142
+ "aria-hidden": t12,
143
+ className: t14,
144
+ children: t15
127
145
  })
128
146
  });
129
- $[28] = handleClear;
130
- $[29] = t10;
131
- $[30] = t12;
132
- $[31] = t8;
133
- $[32] = t9;
134
- $[33] = t14;
135
- } else t14 = $[33];
136
- let t15;
137
- if ($[34] !== className || $[35] !== size || $[36] !== t14 || $[37] !== t7 || $[38] !== testId) {
138
- t15 = /*#__PURE__*/ jsxs(InputGroup, {
147
+ $[32] = handleClear;
148
+ $[33] = t10;
149
+ $[34] = t11;
150
+ $[35] = t12;
151
+ $[36] = t14;
152
+ $[37] = t16;
153
+ } else t16 = $[37];
154
+ let t17;
155
+ if ($[38] !== className || $[39] !== size || $[40] !== t16 || $[41] !== t9 || $[42] !== testId) {
156
+ t17 = /*#__PURE__*/ jsxs(InputGroup, {
139
157
  size: size,
140
158
  className: className,
141
159
  "data-slot": "search-input",
142
160
  "data-testid": testId,
143
161
  children: [
144
- t6,
145
- t7,
146
- t14
162
+ t8,
163
+ t9,
164
+ t16
147
165
  ]
148
166
  });
149
- $[34] = className;
150
- $[35] = size;
151
- $[36] = t14;
152
- $[37] = t7;
153
- $[38] = testId;
154
- $[39] = t15;
155
- } else t15 = $[39];
156
- return t15;
167
+ $[38] = className;
168
+ $[39] = size;
169
+ $[40] = t16;
170
+ $[41] = t9;
171
+ $[42] = testId;
172
+ $[43] = t17;
173
+ } else t17 = $[43];
174
+ return t17;
157
175
  };
158
176
  SearchInput.displayName = "SearchInput";
159
177
  export { SearchInput };
@@ -1,6 +1,6 @@
1
1
  import type { FC, InputHTMLAttributes, Ref } from 'react';
2
2
  import { type TestableProps } from '../../utils/testId.js';
3
- export interface SelectSearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'children' | 'onChange' | 'color' | 'size' | 'type' | 'value'>, TestableProps {
3
+ export interface SelectSearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'children' | 'onChange' | 'color' | 'size' | 'type' | 'value' | 'defaultValue'>, TestableProps {
4
4
  value: string;
5
5
  onChange: (value: string) => void;
6
6
  /** Called when the built-in clear button empties the field, before `onChange('')`. */
@@ -166,7 +166,7 @@ export interface TableProps<T> extends TestableProps {
166
166
  * `isLoading`). Pair with `onStartReached`.
167
167
  */
168
168
  isLoadingPrevious?: boolean;
169
- /** Number of skeleton rows to display when loading (default: 6) */
169
+ /** Number of skeleton rows to display when loading (default: 12, `TABLE_SKELETON_ROWS`) */
170
170
  skeletonCount?: number;
171
171
  /** Slot for TableActionBar, TableEmptyState, and other compound components */
172
172
  children?: ReactNode;
@@ -3,6 +3,7 @@ import { type TestableProps } from '../../utils/testId.js';
3
3
  import type { TabsSize, TabsVariant } from './types.js';
4
4
  export interface TabsProps extends TestableProps {
5
5
  children: ReactNode;
6
+ className?: string;
6
7
  size?: TabsSize;
7
8
  variant?: TabsVariant;
8
9
  value?: string;
@@ -5,8 +5,8 @@ import { cn } from "../../utils/cn.js";
5
5
  import { TestIdProvider } from "../../utils/testId.js";
6
6
  import { TabsSharedContextProvider } from "./TabsSharedContext/index.js";
7
7
  const Tabs_Tabs = (t0)=>{
8
- const $ = c(19);
9
- const { children, value, defaultValue, onChange, size, variant, lazyMount: t1, unmountOnExit: t2, asChild: t3, "data-testid": testId } = t0;
8
+ const $ = c(21);
9
+ const { children, className, value, defaultValue, onChange, size, variant, lazyMount: t1, unmountOnExit: t2, asChild: t3, "data-testid": testId } = t0;
10
10
  const lazyMount = void 0 === t1 ? true : t1;
11
11
  const unmountOnExit = void 0 === t2 ? true : t2;
12
12
  const asChild = void 0 === t3 ? false : t3;
@@ -21,23 +21,24 @@ const Tabs_Tabs = (t0)=>{
21
21
  } else t4 = $[1];
22
22
  const handleChange = t4;
23
23
  let t5;
24
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
25
- t5 = cn("relative");
26
- $[2] = t5;
27
- } else t5 = $[2];
24
+ if ($[2] !== className) {
25
+ t5 = cn("relative", className);
26
+ $[2] = className;
27
+ $[3] = t5;
28
+ } else t5 = $[3];
28
29
  const t6 = asChild ? children : children;
29
30
  let t7;
30
- if ($[3] !== t6 || $[4] !== testId) {
31
+ if ($[4] !== t6 || $[5] !== testId) {
31
32
  t7 = /*#__PURE__*/ jsx(TestIdProvider, {
32
33
  value: testId,
33
34
  children: t6
34
35
  });
35
- $[3] = t6;
36
- $[4] = testId;
37
- $[5] = t7;
38
- } else t7 = $[5];
36
+ $[4] = t6;
37
+ $[5] = testId;
38
+ $[6] = t7;
39
+ } else t7 = $[6];
39
40
  let t8;
40
- if ($[6] !== asChild || $[7] !== defaultValue || $[8] !== handleChange || $[9] !== lazyMount || $[10] !== t7 || $[11] !== testId || $[12] !== unmountOnExit || $[13] !== value) {
41
+ if ($[7] !== asChild || $[8] !== defaultValue || $[9] !== handleChange || $[10] !== lazyMount || $[11] !== t5 || $[12] !== t7 || $[13] !== testId || $[14] !== unmountOnExit || $[15] !== value) {
41
42
  t8 = /*#__PURE__*/ jsx(Tabs.Root, {
42
43
  className: t5,
43
44
  "data-testid": testId,
@@ -49,28 +50,29 @@ const Tabs_Tabs = (t0)=>{
49
50
  asChild: asChild,
50
51
  children: t7
51
52
  });
52
- $[6] = asChild;
53
- $[7] = defaultValue;
54
- $[8] = handleChange;
55
- $[9] = lazyMount;
56
- $[10] = t7;
57
- $[11] = testId;
58
- $[12] = unmountOnExit;
59
- $[13] = value;
60
- $[14] = t8;
61
- } else t8 = $[14];
53
+ $[7] = asChild;
54
+ $[8] = defaultValue;
55
+ $[9] = handleChange;
56
+ $[10] = lazyMount;
57
+ $[11] = t5;
58
+ $[12] = t7;
59
+ $[13] = testId;
60
+ $[14] = unmountOnExit;
61
+ $[15] = value;
62
+ $[16] = t8;
63
+ } else t8 = $[16];
62
64
  let t9;
63
- if ($[15] !== size || $[16] !== t8 || $[17] !== variant) {
65
+ if ($[17] !== size || $[18] !== t8 || $[19] !== variant) {
64
66
  t9 = /*#__PURE__*/ jsx(TabsSharedContextProvider, {
65
67
  size: size,
66
68
  variant: variant,
67
69
  children: t8
68
70
  });
69
- $[15] = size;
70
- $[16] = t8;
71
- $[17] = variant;
72
- $[18] = t9;
73
- } else t9 = $[18];
71
+ $[17] = size;
72
+ $[18] = t8;
73
+ $[19] = variant;
74
+ $[20] = t9;
75
+ } else t9 = $[20];
74
76
  return t9;
75
77
  };
76
78
  Tabs_Tabs.displayName = "Tabs";
@@ -1 +1 @@
1
- export { TabsList } from './TabsList.js';
1
+ export { TabsList, type TabsListProps } from './TabsList.js';
@@ -1,7 +1,7 @@
1
- export { Tabs } from './Tabs.js';
1
+ export { Tabs, type TabsProps } from './Tabs.js';
2
2
  export { TabsButton } from './TabsButton.js';
3
3
  export { TabsContent } from './TabsContent.js';
4
4
  export { TabsLineActions } from './TabsLineActions.js';
5
- export { TabsList } from './TabsList/index.js';
5
+ export { TabsList, type TabsListProps } from './TabsList/index.js';
6
6
  export { TabsSeparator } from './TabsSeparator.js';
7
7
  export { TabsTrigger } from './TabsTrigger.js';
@@ -1,4 +1,7 @@
1
1
  import type { FC, ReactNode } from 'react';
2
+ export declare const tourPositionerVariants: (props?: ({
3
+ type?: "dialog" | "tooltip" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2
5
  interface TourPositionerProps {
3
6
  children: ReactNode;
4
7
  }
@@ -3,11 +3,11 @@ import { c } from "react/compiler-runtime";
3
3
  import { Tour, useTourContext } from "@ark-ui/react";
4
4
  import { cva } from "class-variance-authority";
5
5
  import { useTestId } from "../../utils/testId.js";
6
- const positionerVariants = cva("focus-visible:outline-none", {
6
+ const tourPositionerVariants = cva("focus-visible:outline-none", {
7
7
  variants: {
8
8
  type: {
9
9
  dialog: "fixed inset-0 z-50 flex items-center justify-center",
10
- tooltip: ""
10
+ tooltip: "z-50"
11
11
  }
12
12
  }
13
13
  });
@@ -19,7 +19,7 @@ const TourPositioner = (t0)=>{
19
19
  const type = step?.type === "dialog" ? "dialog" : "tooltip";
20
20
  let t1;
21
21
  if ($[0] !== type) {
22
- t1 = positionerVariants({
22
+ t1 = tourPositionerVariants({
23
23
  type
24
24
  });
25
25
  $[0] = type;
@@ -40,4 +40,4 @@ const TourPositioner = (t0)=>{
40
40
  return t2;
41
41
  };
42
42
  TourPositioner.displayName = "TourPositioner";
43
- export { TourPositioner };
43
+ export { TourPositioner, tourPositionerVariants };