@wallarm-org/design-system 4.8.0-rc-fix-claude-code.1 → 4.8.0-rc-feat-parser.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 (176) hide show
  1. package/README.md +2 -4
  2. package/dist/components/BulkBar/index.d.ts +0 -5
  3. package/dist/components/Drawer/classes.js +1 -1
  4. package/dist/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  5. package/dist/components/DropdownMenu/DropdownMenu.js +84 -71
  6. package/dist/components/DropdownMenu/DropdownMenuItemDescription.js +1 -1
  7. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useFilterInputAutocomplete.js +1 -1
  8. package/dist/components/Overlay/Overlay.js +1 -1
  9. package/dist/components/Rules/PointSelector/KeyboardShortcutsDialog.d.ts +14 -0
  10. package/dist/components/Rules/PointSelector/KeyboardShortcutsDialog.js +209 -0
  11. package/dist/components/Rules/PointSelector/MatchStep.d.ts +15 -0
  12. package/dist/components/Rules/PointSelector/MatchStep.js +186 -0
  13. package/dist/components/Rules/PointSelector/MenuFooterHints.d.ts +16 -0
  14. package/dist/components/Rules/PointSelector/MenuFooterHints.js +177 -0
  15. package/dist/components/Rules/PointSelector/PointPreview.d.ts +10 -0
  16. package/dist/components/Rules/PointSelector/PointPreview.js +88 -0
  17. package/dist/components/Rules/PointSelector/PointSelector.d.ts +17 -0
  18. package/dist/components/Rules/PointSelector/PointSelector.js +937 -0
  19. package/dist/components/Rules/PointSelector/PointSelectorEmptyState.d.ts +12 -0
  20. package/dist/components/Rules/PointSelector/PointSelectorEmptyState.js +173 -0
  21. package/dist/components/Rules/PointSelector/PointSelectorError.d.ts +31 -0
  22. package/dist/components/Rules/PointSelector/PointSelectorError.js +275 -0
  23. package/dist/components/Rules/PointSelector/PointSelectorInput.d.ts +20 -0
  24. package/dist/components/Rules/PointSelector/PointSelectorInput.js +130 -0
  25. package/dist/components/Rules/PointSelector/PointSelectorMenu.d.ts +31 -0
  26. package/dist/components/Rules/PointSelector/PointSelectorMenu.js +317 -0
  27. package/dist/components/Rules/PointSelector/PointSelectorSkeleton.d.ts +8 -0
  28. package/dist/components/Rules/PointSelector/PointSelectorSkeleton.js +73 -0
  29. package/dist/components/Rules/PointSelector/SampleRequest.d.ts +14 -0
  30. package/dist/components/Rules/PointSelector/SampleRequest.js +116 -0
  31. package/dist/components/Rules/PointSelector/StepMenu.d.ts +40 -0
  32. package/dist/components/Rules/PointSelector/StepMenu.js +210 -0
  33. package/dist/components/Rules/PointSelector/VersionWarning.d.ts +26 -0
  34. package/dist/components/Rules/PointSelector/VersionWarning.js +231 -0
  35. package/dist/components/Rules/PointSelector/WhereBar.d.ts +48 -0
  36. package/dist/components/Rules/PointSelector/WhereBar.js +263 -0
  37. package/dist/components/Rules/PointSelector/classes.d.ts +28 -0
  38. package/dist/components/Rules/PointSelector/classes.js +22 -0
  39. package/dist/components/Rules/PointSelector/index.d.ts +20 -0
  40. package/dist/components/Rules/PointSelector/index.js +18 -0
  41. package/dist/components/Rules/PointSelector/liftLayer.d.ts +8 -0
  42. package/dist/components/Rules/PointSelector/liftLayer.js +4 -0
  43. package/dist/components/Rules/PointSelector/sampleValue.d.ts +6 -0
  44. package/dist/components/Rules/PointSelector/sampleValue.js +51 -0
  45. package/dist/components/Rules/PointSelector/sdkBridge.d.ts +508 -0
  46. package/dist/components/Rules/PointSelector/sdkBridge.js +339 -0
  47. package/dist/components/Rules/PointSelector/types.d.ts +304 -0
  48. package/dist/components/Rules/PointSelector/types.js +0 -0
  49. package/dist/components/Rules/PointSelector/usePointSelector.d.ts +161 -0
  50. package/dist/components/Rules/PointSelector/usePointSelector.js +1088 -0
  51. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionEditor.d.ts +28 -0
  52. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionEditor.js +208 -0
  53. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionFields.d.ts +23 -0
  54. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionFields.js +950 -0
  55. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionTargetPicker.d.ts +21 -0
  56. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionTargetPicker.js +110 -0
  57. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionTypeSelect.d.ts +20 -0
  58. package/dist/components/Rules/RuleBuilder/ActionEditor/ActionTypeSelect.js +31 -0
  59. package/dist/components/Rules/RuleBuilder/ActionEditor/AttackTypeField.d.ts +23 -0
  60. package/dist/components/Rules/RuleBuilder/ActionEditor/AttackTypeField.js +131 -0
  61. package/dist/components/Rules/RuleBuilder/ActionEditor/classes.d.ts +17 -0
  62. package/dist/components/Rules/RuleBuilder/ActionEditor/classes.js +14 -0
  63. package/dist/components/Rules/RuleBuilder/ActionEditor/index.d.ts +6 -0
  64. package/dist/components/Rules/RuleBuilder/ActionEditor/index.js +6 -0
  65. package/dist/components/Rules/RuleBuilder/ConditionTree/AddConditionMenu.d.ts +24 -0
  66. package/dist/components/Rules/RuleBuilder/ConditionTree/AddConditionMenu.js +245 -0
  67. package/dist/components/Rules/RuleBuilder/ConditionTree/AttackCondition.d.ts +15 -0
  68. package/dist/components/Rules/RuleBuilder/ConditionTree/AttackCondition.js +691 -0
  69. package/dist/components/Rules/RuleBuilder/ConditionTree/ConditionCard.d.ts +19 -0
  70. package/dist/components/Rules/RuleBuilder/ConditionTree/ConditionCard.js +72 -0
  71. package/dist/components/Rules/RuleBuilder/ConditionTree/ConditionTree.d.ts +27 -0
  72. package/dist/components/Rules/RuleBuilder/ConditionTree/ConditionTree.js +407 -0
  73. package/dist/components/Rules/RuleBuilder/ConditionTree/FieldCondition.d.ts +14 -0
  74. package/dist/components/Rules/RuleBuilder/ConditionTree/FieldCondition.js +269 -0
  75. package/dist/components/Rules/RuleBuilder/ConditionTree/GroupCondition.d.ts +25 -0
  76. package/dist/components/Rules/RuleBuilder/ConditionTree/GroupCondition.js +99 -0
  77. package/dist/components/Rules/RuleBuilder/ConditionTree/SampleCondition.d.ts +14 -0
  78. package/dist/components/Rules/RuleBuilder/ConditionTree/SampleCondition.js +118 -0
  79. package/dist/components/Rules/RuleBuilder/ConditionTree/SignalCondition.d.ts +14 -0
  80. package/dist/components/Rules/RuleBuilder/ConditionTree/SignalCondition.js +446 -0
  81. package/dist/components/Rules/RuleBuilder/ConditionTree/TagCondition.d.ts +14 -0
  82. package/dist/components/Rules/RuleBuilder/ConditionTree/TagCondition.js +266 -0
  83. package/dist/components/Rules/RuleBuilder/ConditionTree/classes.d.ts +35 -0
  84. package/dist/components/Rules/RuleBuilder/ConditionTree/classes.js +57 -0
  85. package/dist/components/Rules/RuleBuilder/ConditionTree/index.d.ts +15 -0
  86. package/dist/components/Rules/RuleBuilder/ConditionTree/index.js +10 -0
  87. package/dist/components/Rules/RuleBuilder/RuleBuilder.d.ts +67 -0
  88. package/dist/components/Rules/RuleBuilder/RuleBuilder.js +366 -0
  89. package/dist/components/Rules/RuleBuilder/Summary/ActionSummary.d.ts +32 -0
  90. package/dist/components/Rules/RuleBuilder/Summary/ActionSummary.js +420 -0
  91. package/dist/components/Rules/RuleBuilder/Summary/ConditionSummary.d.ts +27 -0
  92. package/dist/components/Rules/RuleBuilder/Summary/ConditionSummary.js +446 -0
  93. package/dist/components/Rules/RuleBuilder/Summary/index.d.ts +7 -0
  94. package/dist/components/Rules/RuleBuilder/Summary/index.js +2 -0
  95. package/dist/components/Rules/RuleBuilder/classes.d.ts +19 -0
  96. package/dist/components/Rules/RuleBuilder/classes.js +18 -0
  97. package/dist/components/Rules/RuleBuilder/index.d.ts +55 -0
  98. package/dist/components/Rules/RuleBuilder/index.js +11 -0
  99. package/dist/components/Rules/RuleBuilder/models/actionModel.d.ts +31 -0
  100. package/dist/components/Rules/RuleBuilder/models/actionModel.js +276 -0
  101. package/dist/components/Rules/RuleBuilder/models/conditionModel.d.ts +95 -0
  102. package/dist/components/Rules/RuleBuilder/models/conditionModel.js +418 -0
  103. package/dist/components/Rules/RuleBuilder/models/index.d.ts +3 -0
  104. package/dist/components/Rules/RuleBuilder/models/index.js +3 -0
  105. package/dist/components/Rules/RuleBuilder/models/validation.d.ts +176 -0
  106. package/dist/components/Rules/RuleBuilder/models/validation.js +242 -0
  107. package/dist/components/Rules/RuleBuilder/shared/ChoiceSelect.d.ts +27 -0
  108. package/dist/components/Rules/RuleBuilder/shared/ChoiceSelect.js +92 -0
  109. package/dist/components/Rules/RuleBuilder/shared/index.d.ts +1 -0
  110. package/dist/components/Rules/RuleBuilder/shared/index.js +1 -0
  111. package/dist/components/Rules/RuleBuilder/types.d.ts +384 -0
  112. package/dist/components/Rules/RuleBuilder/types.js +0 -0
  113. package/dist/components/Rules/RuleBuilder/utils/constants.d.ts +65 -0
  114. package/dist/components/Rules/RuleBuilder/utils/constants.js +356 -0
  115. package/dist/components/Rules/RuleBuilder/utils/extractBindings.d.ts +48 -0
  116. package/dist/components/Rules/RuleBuilder/utils/extractBindings.js +42 -0
  117. package/dist/components/Rules/RuleBuilder/utils/helpers.d.ts +92 -0
  118. package/dist/components/Rules/RuleBuilder/utils/helpers.js +54 -0
  119. package/dist/components/Rules/RuleBuilder/utils/index.d.ts +2 -0
  120. package/dist/components/Rules/RuleBuilder/utils/index.js +2 -0
  121. package/dist/components/SearchInput/SearchInput.d.ts +5 -7
  122. package/dist/components/SearchInput/SearchInput.js +101 -119
  123. package/dist/components/Select/SelectSearchInput.d.ts +1 -1
  124. package/dist/components/Table/types.d.ts +1 -1
  125. package/dist/components/Tabs/Tabs.d.ts +0 -1
  126. package/dist/components/Tabs/Tabs.js +28 -30
  127. package/dist/components/Tabs/TabsList/index.d.ts +1 -1
  128. package/dist/components/Tabs/index.d.ts +2 -2
  129. package/dist/components/Tour/TourPositioner.d.ts +0 -3
  130. package/dist/components/Tour/TourPositioner.js +4 -4
  131. package/dist/index.d.ts +3 -2
  132. package/dist/index.js +2 -1
  133. package/dist/metadata/components.json +9077 -12300
  134. package/dist/theme/typography.css +0 -5
  135. package/dist/utils/formatDateTime.d.ts +0 -6
  136. package/dist/utils/formatDateTime.js +1 -13
  137. package/package.json +4 -6
  138. package/dist/components/NotificationCenter/NotificationCenter.d.ts +0 -20
  139. package/dist/components/NotificationCenter/NotificationCenter.js +0 -65
  140. package/dist/components/NotificationCenter/NotificationCenterBody.d.ts +0 -18
  141. package/dist/components/NotificationCenter/NotificationCenterBody.js +0 -202
  142. package/dist/components/NotificationCenter/NotificationCenterContent.d.ts +0 -5
  143. package/dist/components/NotificationCenter/NotificationCenterContent.js +0 -42
  144. package/dist/components/NotificationCenter/NotificationCenterHeader.d.ts +0 -20
  145. package/dist/components/NotificationCenter/NotificationCenterHeader.js +0 -202
  146. package/dist/components/NotificationCenter/NotificationCenterItem.d.ts +0 -26
  147. package/dist/components/NotificationCenter/NotificationCenterItem.js +0 -211
  148. package/dist/components/NotificationCenter/NotificationCenterItemTime.d.ts +0 -9
  149. package/dist/components/NotificationCenter/NotificationCenterItemTime.js +0 -148
  150. package/dist/components/NotificationCenter/NotificationCenterItemTitle.d.ts +0 -14
  151. package/dist/components/NotificationCenter/NotificationCenterItemTitle.js +0 -115
  152. package/dist/components/NotificationCenter/NotificationCenterTabs.d.ts +0 -10
  153. package/dist/components/NotificationCenter/NotificationCenterTabs.js +0 -77
  154. package/dist/components/NotificationCenter/NotificationCenterTrigger.d.ts +0 -13
  155. package/dist/components/NotificationCenter/NotificationCenterTrigger.js +0 -138
  156. package/dist/components/NotificationCenter/index.d.ts +0 -9
  157. package/dist/components/NotificationCenter/index.js +0 -9
  158. package/dist/guidelines/foundations/color.md +0 -157
  159. package/dist/guidelines/foundations/focus.md +0 -122
  160. package/dist/guidelines/foundations/layering.md +0 -131
  161. package/dist/guidelines/foundations/radius-elevation.md +0 -111
  162. package/dist/guidelines/foundations/spacing.md +0 -117
  163. package/dist/guidelines/foundations/typography.md +0 -114
  164. package/dist/guidelines/patterns/app-layout.md +0 -1567
  165. package/dist/guidelines/patterns/auth-page.md +0 -668
  166. package/dist/guidelines/patterns/confirmation-dialogs.md +0 -605
  167. package/dist/guidelines/patterns/create-edit-forms.md +0 -768
  168. package/dist/guidelines/patterns/detail-drawer.md +0 -868
  169. package/dist/guidelines/patterns/empty-states.md +0 -461
  170. package/dist/guidelines/patterns/entity-table.md +0 -533
  171. package/dist/guidelines/patterns/feedback-toasts.md +0 -493
  172. package/dist/guidelines/patterns/filtering.md +0 -630
  173. package/dist/guidelines/patterns/resource-list-page.md +0 -558
  174. package/dist/guidelines/patterns/settings-page.md +0 -752
  175. package/dist/guidelines/rules.md +0 -25
  176. package/dist/metadata/guidelines.json +0 -1705
@@ -1,15 +1,13 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c } from "react/compiler-runtime";
3
- import { useState } from "react";
4
3
  import { Search, X } from "../../icons/index.js";
5
4
  import { cn } from "../../utils/cn.js";
6
5
  import { Input } from "../Input/index.js";
7
6
  import { InputGroup } from "../InputGroup/InputGroup.js";
8
7
  import { InputGroupAddon } from "../InputGroup/InputGroupAddon.js";
9
8
  const SearchInput = (t0)=>{
10
- const $ = c(44);
9
+ const $ = c(40);
11
10
  let className;
12
- let controlledValue;
13
11
  let onChange;
14
12
  let onClear;
15
13
  let ref;
@@ -17,83 +15,67 @@ const SearchInput = (t0)=>{
17
15
  let t1;
18
16
  let t2;
19
17
  let t3;
20
- let t4;
21
18
  let testId;
19
+ let value;
22
20
  if ($[0] !== t0) {
23
- ({ value: controlledValue, defaultValue: t1, onChange, onClear, size: t2, disabled: t3, placeholder: t4, className, ref, "data-testid": testId, ...rest } = t0);
21
+ ({ value, onChange, onClear, size: t1, disabled: t2, placeholder: t3, className, ref, "data-testid": testId, ...rest } = t0);
24
22
  $[0] = t0;
25
23
  $[1] = className;
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;
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;
36
33
  } else {
37
34
  className = $[1];
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];
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];
48
44
  }
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;
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;
55
57
  let t5;
56
- if ($[12] !== controlledValue || $[13] !== onChange) {
57
- t5 = (next)=>{
58
- if (void 0 === controlledValue) setUncontrolledValue(next);
59
- onChange?.(next);
58
+ if ($[13] !== onChange || $[14] !== onClear) {
59
+ t5 = ()=>{
60
+ onClear?.();
61
+ onChange("");
60
62
  };
61
- $[12] = controlledValue;
62
63
  $[13] = onChange;
63
- $[14] = t5;
64
- } else t5 = $[14];
65
- const setValue = t5;
64
+ $[14] = onClear;
65
+ $[15] = t5;
66
+ } else t5 = $[15];
67
+ const handleClear = t5;
68
+ const showClear = value.length > 0 && !disabled;
66
69
  let t6;
67
- if ($[15] !== setValue) {
68
- t6 = (event)=>{
69
- setValue(event.target.value);
70
- };
71
- $[15] = setValue;
70
+ if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
71
+ t6 = /*#__PURE__*/ jsx(InputGroupAddon, {
72
+ children: /*#__PURE__*/ jsx(Search, {})
73
+ });
72
74
  $[16] = t6;
73
75
  } else t6 = $[16];
74
- const handleChange = t6;
75
76
  let t7;
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, {
77
+ if ($[17] !== disabled || $[18] !== handleChange || $[19] !== placeholder || $[20] !== ref || $[21] !== rest || $[22] !== size || $[23] !== value) {
78
+ t7 = /*#__PURE__*/ jsx(Input, {
97
79
  ...rest,
98
80
  type: "text",
99
81
  value: value,
@@ -103,75 +85,75 @@ const SearchInput = (t0)=>{
103
85
  size: size,
104
86
  ref: ref
105
87
  });
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, {
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, {
128
110
  size: "md"
129
111
  });
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, {
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, {
135
117
  align: "inline-end",
136
118
  children: /*#__PURE__*/ jsx("button", {
137
119
  type: "button",
138
- tabIndex: t10,
139
- disabled: t11,
120
+ tabIndex: t8,
121
+ disabled: t9,
140
122
  onClick: handleClear,
141
123
  "aria-label": "Clear",
142
- "aria-hidden": t12,
143
- className: t14,
144
- children: t15
124
+ "aria-hidden": t10,
125
+ className: t12,
126
+ children: t13
145
127
  })
146
128
  });
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, {
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, {
157
139
  size: size,
158
140
  className: className,
159
141
  "data-slot": "search-input",
160
142
  "data-testid": testId,
161
143
  children: [
162
- t8,
163
- t9,
164
- t16
144
+ t6,
145
+ t7,
146
+ t14
165
147
  ]
166
148
  });
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;
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;
175
157
  };
176
158
  SearchInput.displayName = "SearchInput";
177
159
  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' | 'defaultValue'>, TestableProps {
3
+ export interface SelectSearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'children' | 'onChange' | 'color' | 'size' | 'type' | 'value'>, 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: 12, `TABLE_SKELETON_ROWS`) */
169
+ /** Number of skeleton rows to display when loading (default: 6) */
170
170
  skeletonCount?: number;
171
171
  /** Slot for TableActionBar, TableEmptyState, and other compound components */
172
172
  children?: ReactNode;
@@ -3,7 +3,6 @@ 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;
7
6
  size?: TabsSize;
8
7
  variant?: TabsVariant;
9
8
  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(21);
9
- const { children, className, value, defaultValue, onChange, size, variant, lazyMount: t1, unmountOnExit: t2, asChild: t3, "data-testid": testId } = t0;
8
+ const $ = c(19);
9
+ const { children, 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,24 +21,23 @@ const Tabs_Tabs = (t0)=>{
21
21
  } else t4 = $[1];
22
22
  const handleChange = t4;
23
23
  let t5;
24
- if ($[2] !== className) {
25
- t5 = cn("relative", className);
26
- $[2] = className;
27
- $[3] = t5;
28
- } else t5 = $[3];
24
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
25
+ t5 = cn("relative");
26
+ $[2] = t5;
27
+ } else t5 = $[2];
29
28
  const t6 = asChild ? children : children;
30
29
  let t7;
31
- if ($[4] !== t6 || $[5] !== testId) {
30
+ if ($[3] !== t6 || $[4] !== testId) {
32
31
  t7 = /*#__PURE__*/ jsx(TestIdProvider, {
33
32
  value: testId,
34
33
  children: t6
35
34
  });
36
- $[4] = t6;
37
- $[5] = testId;
38
- $[6] = t7;
39
- } else t7 = $[6];
35
+ $[3] = t6;
36
+ $[4] = testId;
37
+ $[5] = t7;
38
+ } else t7 = $[5];
40
39
  let t8;
41
- if ($[7] !== asChild || $[8] !== defaultValue || $[9] !== handleChange || $[10] !== lazyMount || $[11] !== t5 || $[12] !== t7 || $[13] !== testId || $[14] !== unmountOnExit || $[15] !== value) {
40
+ if ($[6] !== asChild || $[7] !== defaultValue || $[8] !== handleChange || $[9] !== lazyMount || $[10] !== t7 || $[11] !== testId || $[12] !== unmountOnExit || $[13] !== value) {
42
41
  t8 = /*#__PURE__*/ jsx(Tabs.Root, {
43
42
  className: t5,
44
43
  "data-testid": testId,
@@ -50,29 +49,28 @@ const Tabs_Tabs = (t0)=>{
50
49
  asChild: asChild,
51
50
  children: t7
52
51
  });
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];
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];
64
62
  let t9;
65
- if ($[17] !== size || $[18] !== t8 || $[19] !== variant) {
63
+ if ($[15] !== size || $[16] !== t8 || $[17] !== variant) {
66
64
  t9 = /*#__PURE__*/ jsx(TabsSharedContextProvider, {
67
65
  size: size,
68
66
  variant: variant,
69
67
  children: t8
70
68
  });
71
- $[17] = size;
72
- $[18] = t8;
73
- $[19] = variant;
74
- $[20] = t9;
75
- } else t9 = $[20];
69
+ $[15] = size;
70
+ $[16] = t8;
71
+ $[17] = variant;
72
+ $[18] = t9;
73
+ } else t9 = $[18];
76
74
  return t9;
77
75
  };
78
76
  Tabs_Tabs.displayName = "Tabs";
@@ -1 +1 @@
1
- export { TabsList, type TabsListProps } from './TabsList.js';
1
+ export { TabsList } from './TabsList.js';
@@ -1,7 +1,7 @@
1
- export { Tabs, type TabsProps } from './Tabs.js';
1
+ export { Tabs } 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, type TabsListProps } from './TabsList/index.js';
5
+ export { TabsList } from './TabsList/index.js';
6
6
  export { TabsSeparator } from './TabsSeparator.js';
7
7
  export { TabsTrigger } from './TabsTrigger.js';
@@ -1,7 +1,4 @@
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;
5
2
  interface TourPositionerProps {
6
3
  children: ReactNode;
7
4
  }
@@ -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 tourPositionerVariants = cva("focus-visible:outline-none", {
6
+ const positionerVariants = 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: "z-50"
10
+ tooltip: ""
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 = tourPositionerVariants({
22
+ t1 = positionerVariants({
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, tourPositionerVariants };
43
+ export { TourPositioner };
package/dist/index.d.ts CHANGED
@@ -68,7 +68,6 @@ export { Loader, type LoaderProps } from './components/Loader/index.js';
68
68
  export { Logo, type LogoProps, type LogoSize, type LogoStyle, type LogoType, } from './components/Logo/index.js';
69
69
  export { MessageAction, type MessageActionProps, MessageActions, type MessageActionsProps, MessageTimestamp, type MessageTimestampProps, } from './components/MessageActions/index.js';
70
70
  export { NavRail, NavRailBody, type NavRailBodyProps, NavRailFooter, type NavRailFooterProps, NavRailItem, type NavRailItemProps, type NavRailMode, type NavRailProps, NavRailSeparator, type NavRailSeparatorProps, NavRailSkeleton, type NavRailSkeletonProps, } from './components/NavRail/index.js';
71
- export { NotificationCenter, NotificationCenterBody, type NotificationCenterBodyProps, NotificationCenterContent, type NotificationCenterContentProps, NotificationCenterEmpty, type NotificationCenterEmptyProps, NotificationCenterHeader, NotificationCenterHeaderAction, type NotificationCenterHeaderActionProps, NotificationCenterHeaderActions, type NotificationCenterHeaderActionsProps, type NotificationCenterHeaderProps, NotificationCenterItem, NotificationCenterItemActions, type NotificationCenterItemActionsProps, NotificationCenterItemDescription, type NotificationCenterItemDescriptionProps, type NotificationCenterItemProps, NotificationCenterItemTime, type NotificationCenterItemTimeProps, NotificationCenterItemTitle, type NotificationCenterItemTitleProps, NotificationCenterList, type NotificationCenterListProps, type NotificationCenterProps, NotificationCenterSkeleton, type NotificationCenterSkeletonProps, NotificationCenterTabs, NotificationCenterTabsList, type NotificationCenterTabsListProps, type NotificationCenterTabsProps, NotificationCenterTitle, type NotificationCenterTitleProps, NotificationCenterTrigger, type NotificationCenterTriggerProps, } from './components/NotificationCenter/index.js';
72
71
  export { NumberInput, type NumberInputProps } from './components/NumberInput/index.js';
73
72
  export { NumericBadge, type NumericBadgeProps, } from './components/NumericBadge/index.js';
74
73
  export { OverflowTooltip, OverflowTooltipContent, type OverflowTooltipContentProps, type OverflowTooltipProps, } from './components/OverflowTooltip/index.js';
@@ -83,6 +82,8 @@ export { Radio, RadioDescription, type RadioDescriptionProps, RadioGroup, type R
83
82
  export { type BreadcrumbSegment, findFirstLinkPath, type NavConfig, type NavConfigDrill, type NavConfigGroup, type NavConfigLink, type NavConfigNode, type NavStackEntry, pushPathname, RemoteShell, RemoteShellBreadcrumb, type RemoteShellBreadcrumbProps, RemoteShellContent, type RemoteShellContentProps, type RemoteShellContextValue, RemoteShellPanel, type RemoteShellPanelProps, type RemoteShellProps, useLocationPathname, useRemoteShellContext, } from './components/RemoteShell/index.js';
84
83
  export { ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, } from './components/Resizable/index.js';
85
84
  export { getResponseCodeCategory, RESPONSE_CODE_COLOR, ResponseCode, type ResponseCodeCategory, type ResponseCodeProps, } from './components/ResponseCode/index.js';
85
+ export { chipSeparatorClasses, errorMessageClasses, MenuFooterHints, type MenuFooterHintsProps, menuFooterHintsClasses, PointSelector, PointSelectorError, type PointSelectorErrorProps, PointSelectorInput, type PointSelectorInputProps, PointSelectorMenu, type PointSelectorMenuProps, type PointSelectorProps, pendingLabelClasses, type Segment, StepMenu, WhereBar, type WhereBarProps, whereBarInputClasses, whereBarVariants, } from './components/Rules/PointSelector/index.js';
86
+ export { ACTION_KIND_CHOICES, type ActionDraft, ActionEditor, type ActionEditorProps, ActionFields, type ActionFieldsProps, type ActionKind, ActionSummary, type ActionSummaryProps, type ActionTarget, ActionTargetPicker, type ActionTargetPickerProps, ActionTypeSelect, type ActionTypeSelectProps, ADDABLE_NODE_KINDS, AddConditionMenu, type AddConditionMenuProps, type AttackCondition, AttackConditionComponent, type AttackConditionProps, AttackTypeField, type AttackTypeFieldProps, actionEditorVariants, actionFieldsVariants, actionProblems, actionTargetPickerVariants, addConditionButtonVariants, CHECK_TYPE_CHOICES, type Choice, ChoiceSelect, type ChoiceSelectProps, CONTEXT_CHOICES, ConditionCard, type ConditionCardProps, type ConditionNode, ConditionSummary, type ConditionSummaryProps, ConditionTree, type ConditionTreeProps, conditionCardVariants, conditionProblems, conditionTreeVariants, countChecks, countNodesOfKind, DEFAULT_PRIORITY, DEFAULT_SEPARATOR, DUPLICATE_CONTAINERS, EMPTY_FIELD_VALUE, type FieldCondition, FieldConditionComponent, type FieldConditionProps, fieldComplete, findNodeById, fromProtonAction, fromProtonCondition, type GroupCondition, GroupConditionComponent, type GroupConditionProps, type GroupOperator, getLeafNodes, groupBorderVariants, hasDescendantOfKind, isActionValid, isLeafNode, isValidDuration, isValidInteger, isValidQuantity, mapNode, maxDepth, newAction, newAttack, newField, newGroup, newSignal, nodeId, OPERATOR_CHOICES, operatorSelectVariants, type ProtonAction, type ProtonCheck, type ProtonCondition, type RawCondition, RESOURCE_LIMITS, RuleBuilder, type RuleBuilderProps, type RuleBuilderSection, removeNode, ruleBuilderVariants, SIGNAL_TYPE_CHOICES, type SignalCondition, SignalConditionComponent, type SignalConditionProps, type SignalType, summaryCardVariants, summaryNestedVariants, summaryVariants, TARGET_REQUIREMENT, toProtonAction, toProtonCondition, validators, } from './components/Rules/RuleBuilder/index.js';
86
87
  export { ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaViewport, type ScrollAreaViewportProps, } from './components/ScrollArea/index.js';
87
88
  export { SearchInput, type SearchInputProps } from './components/SearchInput/index.js';
88
89
  export { SearchModal, SearchModalBody, type SearchModalBodyProps, SearchModalContent, type SearchModalContentProps, SearchModalEmpty, type SearchModalEmptyProps, SearchModalFooter, type SearchModalFooterProps, SearchModalGroup, SearchModalGroupLabel, type SearchModalGroupLabelProps, type SearchModalGroupProps, SearchModalInput, type SearchModalInputProps, SearchModalItem, type SearchModalItemProps, type SearchModalProps, SearchModalTrigger, type SearchModalTriggerProps, useSearchModalContext, } from './components/SearchModal/index.js';
@@ -99,7 +100,7 @@ export { HStack, type HStackProps, Stack, type StackProps, VStack, type VStackPr
99
100
  export { Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemContextValue, type StepperItemProps, type StepperItemStatus, StepperList, type StepperListProps, StepperNextTrigger, type StepperNextTriggerProps, StepperPrevTrigger, type StepperPrevTriggerProps, type StepperProps, StepperRootProvider, type StepperRootProviderProps, StepperSeparator, type StepperSeparatorProps, type StepperStatusLabels, StepperTitle, type StepperTitleProps, StepperTrigger, type StepperTriggerProps, type StepperVisualStatus, type UseStepperContextReturn, type UseStepperProps, type UseStepperReturn, useStepper, useStepperContext, useStepperItemContext, } from './components/Stepper/index.js';
100
101
  export { Switch, SwitchControl, SwitchDescription, type SwitchDescriptionProps, SwitchLabel, type SwitchLabelProps, type SwitchProps, } from './components/Switch/index.js';
101
102
  export { createTableColumnHelper, type DSTableFeatures, EDITABLE_CELL_COLUMN_META, EditableSelectCell, type EditableSelectCellProps, EditableTextCell, type EditableTextCellProps, editableCellVariants, Table, type TableAccessorColumnDef, TableActionBar, type TableCellContext, type TableColumnBase, type TableColumnDef, type TableColumnHelper, TableColumnMenu, TableColumnMenuHideItem, type TableColumnMenuHideItemProps, TableColumnMenuMoveLeftItem, type TableColumnMenuMoveLeftItemProps, TableColumnMenuMoveRightItem, type TableColumnMenuMoveRightItemProps, TableColumnMenuPinItem, type TableColumnMenuPinItemProps, type TableColumnMenuProps, TableColumnMenuSortItem, type TableColumnMenuSortItemProps, type TableColumnMeta, type TableColumnPinningState, type TableColumnSizingState, type TableDisplayColumnDef, TableEmptyState, type TableExpandedState, type TableGroupingState, type TableHandle, type TableOnChangeFn, type TableProps, type TableRow, type TableRowSelectionState, type TableScrollToRowOptions, TableSettingsMenu, type TableSortingState, TableSortTrigger, type TableSortTriggerProps, type TableUpdater, type TableVisibilityState, } from './components/Table/index.js';
102
- export { Tabs, TabsButton, TabsContent, TabsLineActions, TabsList, type TabsListProps, type TabsProps, TabsSeparator, TabsTrigger, } from './components/Tabs/index.js';
103
+ export { Tabs, TabsButton, TabsContent, TabsLineActions, TabsList, TabsSeparator, TabsTrigger, } from './components/Tabs/index.js';
103
104
  export { Tag, TagClose, type TagProps } from './components/Tag/index.js';
104
105
  export { Text, type TextProps } from './components/Text/index.js';
105
106
  export { Textarea, type TextareaProps } from './components/Textarea/index.js';
package/dist/index.js CHANGED
@@ -57,7 +57,6 @@ export { Loader } from "./components/Loader/index.js";
57
57
  export { Logo } from "./components/Logo/index.js";
58
58
  export { MessageAction, MessageActions, MessageTimestamp } from "./components/MessageActions/index.js";
59
59
  export { NavRail, NavRailBody, NavRailFooter, NavRailItem, NavRailSeparator, NavRailSkeleton } from "./components/NavRail/index.js";
60
- export { NotificationCenter, NotificationCenterBody, NotificationCenterContent, NotificationCenterEmpty, NotificationCenterHeader, NotificationCenterHeaderAction, NotificationCenterHeaderActions, NotificationCenterItem, NotificationCenterItemActions, NotificationCenterItemDescription, NotificationCenterItemTime, NotificationCenterItemTitle, NotificationCenterList, NotificationCenterSkeleton, NotificationCenterTabs, NotificationCenterTabsList, NotificationCenterTitle, NotificationCenterTrigger } from "./components/NotificationCenter/index.js";
61
60
  export { NumberInput } from "./components/NumberInput/index.js";
62
61
  export { NumericBadge } from "./components/NumericBadge/index.js";
63
62
  export { OverflowTooltip, OverflowTooltipContent } from "./components/OverflowTooltip/index.js";
@@ -72,6 +71,8 @@ export { Radio, RadioDescription, RadioGroup, RadioIndicator, RadioLabel } from
72
71
  export { RemoteShell, RemoteShellBreadcrumb, RemoteShellContent, RemoteShellPanel, findFirstLinkPath, pushPathname, useLocationPathname, useRemoteShellContext } from "./components/RemoteShell/index.js";
73
72
  export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/Resizable/index.js";
74
73
  export { RESPONSE_CODE_COLOR, ResponseCode, getResponseCodeCategory } from "./components/ResponseCode/index.js";
74
+ export { MenuFooterHints, PointSelector, PointSelectorError, PointSelectorInput, PointSelectorMenu, StepMenu, WhereBar, chipSeparatorClasses, errorMessageClasses, menuFooterHintsClasses, pendingLabelClasses, whereBarInputClasses, whereBarVariants } from "./components/Rules/PointSelector/index.js";
75
+ export { ACTION_KIND_CHOICES, ADDABLE_NODE_KINDS, ActionEditor, ActionFields, ActionSummary, ActionTargetPicker, ActionTypeSelect, AddConditionMenu, AttackConditionComponent, AttackTypeField, CHECK_TYPE_CHOICES, CONTEXT_CHOICES, ChoiceSelect, ConditionCard, ConditionSummary, ConditionTree, DEFAULT_PRIORITY, DEFAULT_SEPARATOR, DUPLICATE_CONTAINERS, EMPTY_FIELD_VALUE, FieldConditionComponent, GroupConditionComponent, OPERATOR_CHOICES, RESOURCE_LIMITS, RuleBuilder, SIGNAL_TYPE_CHOICES, SignalConditionComponent, TARGET_REQUIREMENT, actionEditorVariants, actionFieldsVariants, actionProblems, actionTargetPickerVariants, addConditionButtonVariants, conditionCardVariants, conditionProblems, conditionTreeVariants, countChecks, countNodesOfKind, fieldComplete, findNodeById, fromProtonAction, fromProtonCondition, getLeafNodes, groupBorderVariants, hasDescendantOfKind, isActionValid, isLeafNode, isValidDuration, isValidInteger, isValidQuantity, mapNode, maxDepth, newAction, newAttack, newField, newGroup, newSignal, nodeId, operatorSelectVariants, removeNode, ruleBuilderVariants, summaryCardVariants, summaryNestedVariants, summaryVariants, toProtonAction, toProtonCondition, validators } from "./components/Rules/RuleBuilder/index.js";
75
76
  export { ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaViewport } from "./components/ScrollArea/index.js";
76
77
  export { SearchInput } from "./components/SearchInput/index.js";
77
78
  export { SearchModal, SearchModalBody, SearchModalContent, SearchModalEmpty, SearchModalFooter, SearchModalGroup, SearchModalGroupLabel, SearchModalInput, SearchModalItem, SearchModalTrigger, useSearchModalContext } from "./components/SearchModal/index.js";