@once-ui-system/core 2.0.0-alpha.0 → 2.0.0-alpha.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 (162) hide show
  1. package/AGENTS.md +1 -1
  2. package/LICENSE.md +21 -0
  3. package/ai/catalog.json +11 -4
  4. package/ai/components/Effect.json +1 -1
  5. package/ai/components/Feedback.json +1 -0
  6. package/ai/components/Form.json +15 -0
  7. package/ai/components/Input.json +3 -2
  8. package/ai/components/{Particle.json → ParticleFx.json} +1 -1
  9. package/ai/components/ScrollContainer.json +9 -1
  10. package/ai/components/Textarea.json +3 -2
  11. package/ai/components/ThemeSwitcher.json +2 -1
  12. package/ai/eval-tasks.md +2 -1
  13. package/ai/examples/auth.tsx +1 -2
  14. package/ai/examples/blocks/Dashboard1.tsx +8 -8
  15. package/ai/examples/blocks/Feed3.tsx +4 -4
  16. package/ai/examples/blocks/Footer4.tsx +2 -2
  17. package/ai/examples/blocks/Header2.tsx +1 -1
  18. package/ai/examples/blocks/Header4.tsx +1 -2
  19. package/ai/examples/blocks/Productivity1.tsx +1 -1
  20. package/ai/examples/blocks/Roadmap1.tsx +3 -3
  21. package/ai/examples/blocks/Sidebar1.tsx +1 -1
  22. package/ai/examples/blocks/Sidebar2.tsx +1 -1
  23. package/ai/examples/blocks/Table1.tsx +3 -3
  24. package/ai/examples/blocks/manifest.json +2 -2
  25. package/ai/examples/dashboard.tsx +5 -5
  26. package/ai/examples/marketing-hero.tsx +2 -2
  27. package/ai/examples/pricing.tsx +3 -3
  28. package/ai/examples/settings.tsx +4 -4
  29. package/ai/gotchas.json +26 -2
  30. package/ai/manifest.json +2 -2
  31. package/ai/recipes.md +1 -1
  32. package/ai/rules.compact.md +8 -2
  33. package/ai/rules.md +18 -6
  34. package/ai/spec.json +35 -10
  35. package/ai/tasks/settings.json +1 -1
  36. package/dist/AGENTS.md +1 -1
  37. package/dist/ai/catalog.json +11 -4
  38. package/dist/ai/components/Effect.json +1 -1
  39. package/dist/ai/components/Feedback.json +1 -0
  40. package/dist/ai/components/Form.json +15 -0
  41. package/dist/ai/components/Input.json +3 -2
  42. package/dist/ai/components/{Particle.json → ParticleFx.json} +1 -1
  43. package/dist/ai/components/ScrollContainer.json +9 -1
  44. package/dist/ai/components/Textarea.json +3 -2
  45. package/dist/ai/components/ThemeSwitcher.json +2 -1
  46. package/dist/ai/eval-tasks.md +2 -1
  47. package/dist/ai/examples/blocks/manifest.json +2 -2
  48. package/dist/ai/gotchas.json +26 -2
  49. package/dist/ai/manifest.json +2 -2
  50. package/dist/ai/recipes.md +1 -1
  51. package/dist/ai/rules.compact.md +8 -2
  52. package/dist/ai/rules.md +18 -6
  53. package/dist/ai/spec.json +35 -10
  54. package/dist/ai/tasks/settings.json +1 -1
  55. package/dist/components/Animation.d.ts +1 -2
  56. package/dist/components/Animation.d.ts.map +1 -1
  57. package/dist/components/Animation.js +1 -1
  58. package/dist/components/Animation.js.map +1 -1
  59. package/dist/components/ArrowNavigationContext.d.ts.map +1 -1
  60. package/dist/components/ArrowNavigationContext.js +12 -3
  61. package/dist/components/ArrowNavigationContext.js.map +1 -1
  62. package/dist/components/Avatar.d.ts.map +1 -1
  63. package/dist/components/Avatar.js +1 -1
  64. package/dist/components/Avatar.js.map +1 -1
  65. package/dist/components/Carousel.js +1 -1
  66. package/dist/components/Carousel.js.map +1 -1
  67. package/dist/components/ContextMenu.d.ts +1 -1
  68. package/dist/components/ContextMenu.d.ts.map +1 -1
  69. package/dist/components/CountFx.d.ts.map +1 -1
  70. package/dist/components/CountFx.js +19 -7
  71. package/dist/components/CountFx.js.map +1 -1
  72. package/dist/components/CursorCard.d.ts +1 -1
  73. package/dist/components/CursorCard.d.ts.map +1 -1
  74. package/dist/components/DatePicker.d.ts.map +1 -1
  75. package/dist/components/DatePicker.js +9 -2
  76. package/dist/components/DatePicker.js.map +1 -1
  77. package/dist/components/DropdownWrapper.d.ts +1 -1
  78. package/dist/components/DropdownWrapper.d.ts.map +1 -1
  79. package/dist/components/DropdownWrapper.js +178 -35
  80. package/dist/components/DropdownWrapper.js.map +1 -1
  81. package/dist/components/DropdownWrapper.module.scss +3 -1
  82. package/dist/components/Effect.d.ts +2 -2
  83. package/dist/components/Effect.d.ts.map +1 -1
  84. package/dist/components/Effect.js +2 -2
  85. package/dist/components/Effect.js.map +1 -1
  86. package/dist/components/EmojiPicker.js +1 -1
  87. package/dist/components/EmojiPicker.js.map +1 -1
  88. package/dist/components/Feedback.d.ts +4 -0
  89. package/dist/components/Feedback.d.ts.map +1 -1
  90. package/dist/components/Feedback.js +2 -2
  91. package/dist/components/Feedback.js.map +1 -1
  92. package/dist/components/FocusTrap.d.ts +3 -3
  93. package/dist/components/FocusTrap.d.ts.map +1 -1
  94. package/dist/components/FocusTrap.js +10 -0
  95. package/dist/components/FocusTrap.js.map +1 -1
  96. package/dist/components/Form.d.ts +48 -0
  97. package/dist/components/Form.d.ts.map +1 -0
  98. package/dist/components/Form.js +191 -0
  99. package/dist/components/Form.js.map +1 -0
  100. package/dist/components/Form.module.scss +160 -0
  101. package/dist/components/FormContext.d.ts +20 -0
  102. package/dist/components/FormContext.d.ts.map +1 -0
  103. package/dist/components/FormContext.js +12 -0
  104. package/dist/components/FormContext.js.map +1 -0
  105. package/dist/components/Input.d.ts +3 -0
  106. package/dist/components/Input.d.ts.map +1 -1
  107. package/dist/components/Input.js +13 -2
  108. package/dist/components/Input.js.map +1 -1
  109. package/dist/components/Input.module.scss +27 -6
  110. package/dist/components/OgCard.d.ts.map +1 -1
  111. package/dist/components/OgCard.js +7 -4
  112. package/dist/components/OgCard.js.map +1 -1
  113. package/dist/components/{Particle.d.ts → ParticleFx.d.ts} +9 -4
  114. package/dist/components/ParticleFx.d.ts.map +1 -0
  115. package/dist/components/{Particle.js → ParticleFx.js} +9 -4
  116. package/dist/components/ParticleFx.js.map +1 -0
  117. package/dist/components/ScrollContainer.d.ts +69 -2
  118. package/dist/components/ScrollContainer.d.ts.map +1 -1
  119. package/dist/components/ScrollContainer.js +377 -46
  120. package/dist/components/ScrollContainer.js.map +1 -1
  121. package/dist/components/ScrollContainer.module.scss +131 -0
  122. package/dist/components/Select.d.ts +1 -1
  123. package/dist/components/Select.d.ts.map +1 -1
  124. package/dist/components/Select.js +1 -1
  125. package/dist/components/Select.js.map +1 -1
  126. package/dist/components/Setting.d.ts.map +1 -1
  127. package/dist/components/Setting.js +6 -1
  128. package/dist/components/Setting.js.map +1 -1
  129. package/dist/components/Table.js +2 -2
  130. package/dist/components/Table.js.map +1 -1
  131. package/dist/components/Textarea.d.ts +3 -0
  132. package/dist/components/Textarea.d.ts.map +1 -1
  133. package/dist/components/Textarea.js +22 -6
  134. package/dist/components/Textarea.js.map +1 -1
  135. package/dist/components/ThemeSwitcher.d.ts +16 -0
  136. package/dist/components/ThemeSwitcher.d.ts.map +1 -1
  137. package/dist/components/ThemeSwitcher.js +48 -9
  138. package/dist/components/ThemeSwitcher.js.map +1 -1
  139. package/dist/components/ThemeSwitcher.module.scss +112 -0
  140. package/dist/components/User.js +1 -1
  141. package/dist/components/User.js.map +1 -1
  142. package/dist/components/UserMenu.d.ts +1 -1
  143. package/dist/components/UserMenu.d.ts.map +1 -1
  144. package/dist/components/index.d.ts +2 -1
  145. package/dist/components/index.d.ts.map +1 -1
  146. package/dist/components/index.js +2 -1
  147. package/dist/components/index.js.map +1 -1
  148. package/dist/data/emoji-data.json +10 -0
  149. package/dist/hooks/useArrowNavigation.d.ts.map +1 -1
  150. package/dist/hooks/useArrowNavigation.js +52 -7
  151. package/dist/hooks/useArrowNavigation.js.map +1 -1
  152. package/dist/modules/navigation/MegaMenu.d.ts.map +1 -1
  153. package/dist/modules/navigation/MegaMenu.js +76 -10
  154. package/dist/modules/navigation/MegaMenu.js.map +1 -1
  155. package/dist/package.json +1 -1
  156. package/dist/scripts/validate-ai-code.js +239 -21
  157. package/dist/types.d.ts +14 -0
  158. package/dist/types.d.ts.map +1 -1
  159. package/package.json +1 -1
  160. package/scripts/validate-ai-code.js +239 -21
  161. package/dist/components/Particle.d.ts.map +0 -1
  162. package/dist/components/Particle.js.map +0 -1
@@ -82,38 +82,203 @@ function insidePropValue(source, index, prop) {
82
82
  return false;
83
83
  }
84
84
 
85
+ /**
86
+ * Every opening JSX tag with its attribute text.
87
+ *
88
+ * Brace- and quote-aware, so a `>` inside an arrow function or an object
89
+ * literal in a prop value does not end the tag early — which is what a plain
90
+ * `<Tag[^>]*>` does on `onClick={() => x > 1}`. Scanning resumes right after
91
+ * the tag name, so a tag nested in a prop value (`trigger={<Card …>}`) is
92
+ * found on its own as well.
93
+ */
94
+ function openingTags(source) {
95
+ const tags = [];
96
+ const re = /<([A-Z][A-Za-z0-9.]*)\b/g;
97
+ let m;
98
+ while ((m = re.exec(source)) !== null) {
99
+ const start = m.index + m[0].length;
100
+ let i = start;
101
+ let depth = 0;
102
+ let quote = null;
103
+ for (; i < source.length; i++) {
104
+ const ch = source[i];
105
+ if (quote) {
106
+ if (ch === quote) quote = null;
107
+ continue;
108
+ }
109
+ if (ch === '"' || ch === "'" || ch === "`") quote = ch;
110
+ else if (ch === "{") depth++;
111
+ else if (ch === "}") depth--;
112
+ else if (ch === ">" && depth === 0) break;
113
+ }
114
+ tags.push({ name: m[1], attrs: source.slice(start, i), start, end: i });
115
+ }
116
+ return tags;
117
+ }
118
+
119
+ /**
120
+ * The element's own props, with every `{ … }` value that holds JSX blanked to
121
+ * spaces of the same length — so a check reads `fillWidth` and `maxWidth` on
122
+ * the element itself and not on a tag nested inside one of its values
123
+ * (`dropdown={<Column maxWidth={20} />}`), and an index into the masked text
124
+ * is still an index into the original.
125
+ */
126
+ function ownProps(attrs) {
127
+ let out = "";
128
+ let depth = 0;
129
+ let quote = null;
130
+ let from = 0;
131
+ for (let i = 0; i < attrs.length; i++) {
132
+ const ch = attrs[i];
133
+ if (quote) {
134
+ if (ch === quote) quote = null;
135
+ continue;
136
+ }
137
+ if (ch === '"' || ch === "'" || ch === "`") quote = ch;
138
+ else if (ch === "{") {
139
+ if (depth === 0) {
140
+ out += attrs.slice(from, i);
141
+ from = i;
142
+ }
143
+ depth++;
144
+ } else if (ch === "}") {
145
+ depth--;
146
+ if (depth === 0) {
147
+ const block = attrs.slice(from, i + 1);
148
+ out += /<[A-Z]/.test(block) ? `{${" ".repeat(block.length - 2)}}` : block;
149
+ from = i + 1;
150
+ }
151
+ }
152
+ }
153
+ return out + attrs.slice(from);
154
+ }
155
+
156
+ /** Apply a replacement to the element's own props only, never inside nested JSX. */
157
+ function replaceOwnProps(attrs, pattern, replacement) {
158
+ const masked = ownProps(attrs);
159
+ const flags = pattern.flags.includes("g") ? pattern.flags : `${pattern.flags}g`;
160
+ const re = new RegExp(pattern.source, flags);
161
+ let out = "";
162
+ let last = 0;
163
+ for (const m of masked.matchAll(re)) {
164
+ out += attrs.slice(last, m.index) + m[0].replace(pattern, replacement);
165
+ last = m.index + m[0].length;
166
+ if (!pattern.flags.includes("g")) break;
167
+ }
168
+ return out + attrs.slice(last);
169
+ }
170
+
171
+ /**
172
+ * Collapse two props on one element into a shorthand: the earlier of the two
173
+ * becomes the shorthand, the later is removed, and nothing else moves.
174
+ */
175
+ function collapsePair(attrs, first, second, shorthand) {
176
+ const own = ownProps(attrs);
177
+ const a = own.search(first);
178
+ const b = own.search(second);
179
+ if (a < 0 || b < 0) return attrs;
180
+ const [lead, trail] = a < b ? [first, second] : [second, first];
181
+ const asShorthand = new RegExp(`(\\s)${lead.source.replace(/^\(\?:\^\|\\s\)/, "")}`);
182
+ const removed = new RegExp(`\\s+${trail.source.replace(/^\(\?:\^\|\\s\)/, "")}`);
183
+ return replaceOwnProps(replaceOwnProps(attrs, removed, ""), asShorthand, `$1${shorthand}`);
184
+ }
185
+
186
+ const FILL_WIDTH = /(?:^|\s)fillWidth(?=[\s/]|$)/;
187
+ const FILL_HEIGHT = /(?:^|\s)fillHeight(?=[\s/]|$)/;
188
+
189
+ /** Both centring props on one element, whatever sits between them. */
190
+ function isCentered(attrs) {
191
+ const own = ownProps(attrs);
192
+ return HORIZONTAL_CENTER.test(own) && VERTICAL_CENTER.test(own);
193
+ }
194
+
195
+ /** Does the element carry `prop`, bare or with a value? */
196
+ function hasProp(attrs, prop) {
197
+ return new RegExp(`(?:^|\\s)${prop}(?=[\\s=/]|$)`).test(ownProps(attrs));
198
+ }
199
+
200
+ const HORIZONTAL_CENTER = /(?:^|\s)horizontal=["']center["']/;
201
+ const VERTICAL_CENTER = /(?:^|\s)vertical=["']center["']/;
202
+ const LITERAL_MAX_WIDTH =
203
+ /(?:^|\s)maxWidth=(?:"[^"]*"|\{\s*(?:\d+(?:\.\d+)?|"[^"]*"|'[^']*')\s*\})(?=[\s/]|$)/;
204
+ const MIN_WIDTH_ZERO = /(?:^|\s)minWidth=(?:\{\s*0\s*\}|\{?["']0["']\}?)(?=[\s/]|$)/;
205
+ const DEFAULT_BORDER = /(?:^|\s)(border(?:Top|Right|Bottom|Left|X|Y)?)=["']neutral-alpha-weak["']/;
206
+
85
207
  function validate(source, spec, iconNames) {
86
208
  const issues = [];
87
209
 
88
210
  const add = (rule, message, fix) => issues.push({ rule, message, fix });
89
211
 
90
- if (/fillWidth[\s\S]{0,80}fillHeight|<Flex[^>]*direction="column"|<Flex[^>]*direction="row"/.test(source)) {
91
- if (/fillWidth[\s\S]{0,120}fillHeight/.test(source)) {
92
- add("layout.shorthands", "Use fill instead of fillWidth + fillHeight", "fill");
93
- }
94
- if (/<Flex[^>]*direction="column"/.test(source)) {
95
- add("layout.shorthands", "Use Column instead of Flex direction=\"column\"", "Column");
96
- }
97
- if (/<Flex[^>]*direction="row"/.test(source)) {
98
- add("layout.shorthands", "Use Row instead of Flex direction=\"row\"", "Row");
99
- }
212
+ // Per element: `fillWidth` on a parent and `fillHeight` on its child is not
213
+ // a shorthand missed, and neither is `horizontal="center"` on a header row
214
+ // beside `vertical="center"` on the row inside it.
215
+ const tags = openingTags(source);
216
+ if (tags.some((t) => hasProp(t.attrs, "fillWidth") && hasProp(t.attrs, "fillHeight"))) {
217
+ add("layout.shorthands", "Use fill instead of fillWidth + fillHeight", "fill");
100
218
  }
101
-
102
- if (/horizontal="center"[\s\S]{0,80}vertical="center"/.test(source)) {
103
- add("layout.shorthands", "Use center instead of horizontal=\"center\" vertical=\"center\"", "center");
219
+ if (/<Flex[^>]*direction="column"/.test(source)) {
220
+ add("layout.shorthands", 'Use Column instead of Flex direction="column"', "Column");
221
+ }
222
+ if (/<Flex[^>]*direction="row"/.test(source)) {
223
+ add("layout.shorthands", 'Use Row instead of Flex direction="row"', "Row");
224
+ }
225
+ if (tags.some((t) => isCentered(t.attrs))) {
226
+ add(
227
+ "layout.shorthands",
228
+ 'Use center instead of horizontal="center" vertical="center"',
229
+ "center",
230
+ );
104
231
  }
105
232
 
106
233
  if (/position="relative"/.test(source)) {
107
- add("layout.defaults", "position=\"relative\" is the default — omit it");
234
+ add("layout.defaults", 'position="relative" is the default — omit it');
235
+ }
236
+
237
+ // Props another prop on the same element already implies. Checked per tag,
238
+ // because `fillWidth` and `maxWidth` on two different elements is fine, and
239
+ // only for a literal `maxWidth`: a computed one may resolve to `undefined`,
240
+ // and then `fillWidth` is the only thing filling the width.
241
+ if (
242
+ tags.some((t) => hasProp(t.attrs, "fillWidth") && LITERAL_MAX_WIDTH.test(ownProps(t.attrs)))
243
+ ) {
244
+ add(
245
+ "layout.defaults",
246
+ "fillWidth beside maxWidth — maxWidth already fills the width, omit fillWidth",
247
+ "drop-fillWidth",
248
+ );
249
+ }
250
+ if (tags.some((t) => hasProp(t.attrs, "fillWidth") && MIN_WIDTH_ZERO.test(ownProps(t.attrs)))) {
251
+ add(
252
+ "layout.defaults",
253
+ "minWidth={0} beside fillWidth — fillWidth already sets min-width: 0, omit minWidth",
254
+ "drop-minWidth-0",
255
+ );
256
+ }
257
+ const named = tags.map((t) => ownProps(t.attrs).match(DEFAULT_BORDER)).find(Boolean);
258
+ if (named) {
259
+ add(
260
+ "border.default",
261
+ `${named[1]}="neutral-alpha-weak" restates the default border — write bare ${named[1]}, and name a colour only to deviate`,
262
+ "default-border",
263
+ );
264
+ }
265
+
266
+ // A zIndex only means something against a sibling in the same stacking
267
+ // group, and that group is always anchored by something positioned.
268
+ if (/\bzIndex=/.test(source) && !/position=["'](?:absolute|fixed|sticky)["']/.test(source)) {
269
+ add(
270
+ "zIndex.scope",
271
+ "zIndex with nothing positioned absolute, fixed or sticky — zIndex belongs to an isolated stacking group, not a lone element",
272
+ );
108
273
  }
109
274
 
110
275
  if (/<Button[^>]*variant="primary"/.test(source)) {
111
- add("layout.defaults", "variant=\"primary\" is the Button default — omit it");
276
+ add("layout.defaults", 'variant="primary" is the Button default — omit it');
112
277
  }
113
278
 
114
279
  // Scoped to the tag: `lines` is a different prop on Background and CodeBlock.
115
280
  if (/<Textarea[^>]*\blines=\{?["']auto["']/.test(source)) {
116
- add("layout.defaults", "lines=\"auto\" is the Textarea default — omit it");
281
+ add("layout.defaults", 'lines="auto" is the Textarea default — omit it');
117
282
  }
118
283
 
119
284
  if (hasLiteralColor(source)) {
@@ -121,7 +286,10 @@ function validate(source, spec, iconNames) {
121
286
  }
122
287
 
123
288
  if (/<img[\s>/]|<a[\s>/]|<button[\s>/]/.test(source)) {
124
- add("components.primitives", "Use Once UI components (Media, SmartLink, Button) instead of raw HTML");
289
+ add(
290
+ "components.primitives",
291
+ "Use Once UI components (Media, SmartLink, Button) instead of raw HTML",
292
+ );
125
293
  }
126
294
 
127
295
  for (const match of source.matchAll(/<Card\b[^>]*>/g)) {
@@ -130,7 +298,10 @@ function validate(source, spec, iconNames) {
130
298
  // (DropdownWrapper, Dialog), so it carries no handler of its own and is
131
299
  // not the static-panel misuse this rule is looking for.
132
300
  if (insidePropValue(source, match.index, "trigger")) continue;
133
- add("Card.interactive", "Card without href/onClick — use Column + surface recipe for static panels");
301
+ add(
302
+ "Card.interactive",
303
+ "Card without href/onClick — use Column + surface recipe for static panels",
304
+ );
134
305
  break;
135
306
  }
136
307
 
@@ -164,14 +335,52 @@ function validate(source, spec, iconNames) {
164
335
  return issues;
165
336
  }
166
337
 
338
+ /**
339
+ * Rewrite the attribute text of opening tags, one at a time from a fresh scan,
340
+ * since a tag nested in a prop value overlaps its parent's attribute text.
341
+ */
342
+ function rewriteTags(source, edit) {
343
+ let out = source;
344
+ for (;;) {
345
+ const tag = openingTags(out).find((t) => edit(t.attrs, t.name) !== t.attrs);
346
+ if (!tag) return out;
347
+ out = out.slice(0, tag.start) + edit(tag.attrs, tag.name) + out.slice(tag.end);
348
+ }
349
+ }
350
+
167
351
  function applyFixes(source, issues) {
168
352
  let out = source;
169
353
  for (const issue of issues) {
170
354
  if (issue.fix === "fill") {
171
- out = out.replace(/\bfillWidth\b\s*\n?\s*\bfillHeight\b/g, "fill");
355
+ out = rewriteTags(out, (attrs) => collapsePair(attrs, FILL_WIDTH, FILL_HEIGHT, "fill"));
172
356
  }
173
357
  if (issue.fix === "center") {
174
- out = out.replace(/\bhorizontal="center"\s*\n?\s*vertical="center"/g, "center");
358
+ out = rewriteTags(out, (attrs) =>
359
+ collapsePair(attrs, HORIZONTAL_CENTER, VERTICAL_CENTER, "center"),
360
+ );
361
+ }
362
+ if (issue.fix === "drop-fillWidth") {
363
+ out = rewriteTags(out, (attrs) =>
364
+ hasProp(attrs, "fillWidth") && LITERAL_MAX_WIDTH.test(ownProps(attrs))
365
+ ? replaceOwnProps(attrs, /\s+fillWidth(?=[\s/]|$)/, "")
366
+ : attrs,
367
+ );
368
+ }
369
+ if (issue.fix === "drop-minWidth-0") {
370
+ out = rewriteTags(out, (attrs) =>
371
+ hasProp(attrs, "fillWidth") && MIN_WIDTH_ZERO.test(ownProps(attrs))
372
+ ? replaceOwnProps(attrs, /\s+minWidth=(?:\{\s*0\s*\}|\{?["']0["']\}?)(?=[\s/]|$)/, "")
373
+ : attrs,
374
+ );
375
+ }
376
+ if (issue.fix === "default-border") {
377
+ out = rewriteTags(out, (attrs) =>
378
+ replaceOwnProps(
379
+ attrs,
380
+ /(border(?:Top|Right|Bottom|Left|X|Y)?)=["']neutral-alpha-weak["']/g,
381
+ "$1",
382
+ ),
383
+ );
175
384
  }
176
385
  }
177
386
  return out;
@@ -210,4 +419,13 @@ function main() {
210
419
  // Importable for tests; the CLI runs only when this file is invoked directly.
211
420
  if (require.main === module) main();
212
421
 
213
- module.exports = { validate, loadSpec, parseIconNames, hasLiteralColor, insidePropValue };
422
+ module.exports = {
423
+ validate,
424
+ applyFixes,
425
+ loadSpec,
426
+ parseIconNames,
427
+ hasLiteralColor,
428
+ insidePropValue,
429
+ openingTags,
430
+ ownProps,
431
+ };
package/dist/types.d.ts CHANGED
@@ -34,4 +34,18 @@ export type GridSize = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10
34
34
  export type FlexValue = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
35
35
  export type Language = "abap" | "abnf" | "actionscript" | "ada" | "agda" | "al" | "antlr4" | "apacheconf" | "apex" | "apl" | "applescript" | "aql" | "arduino" | "arff" | "armasm" | "arturo" | "asciidoc" | "asm6502" | "asmatmel" | "aspnet" | "autohotkey" | "autoit" | "avisynth" | "avro-idl" | "awk" | "bash" | "basic" | "batch" | "bbcode" | "bbj" | "bicep" | "birb" | "bison" | "bnf" | "bqn" | "brainfuck" | "brightscript" | "bro" | "bsl" | "c" | "cfscript" | "chaiscript" | "cil" | "cilkc" | "cilkcpp" | "clike" | "clojure" | "cmake" | "cobol" | "coffeescript" | "concurnas" | "cooklang" | "coq" | "core" | "cpp" | "crystal" | "csharp" | "cshtml" | "csp" | "css-extras" | "css" | "csv" | "cue" | "cypher" | "d" | "dart" | "dataweave" | "dax" | "dhall" | "diff" | "django" | "dns-zone-file" | "docker" | "dot" | "ebnf" | "editorconfig" | "eiffel" | "ejs" | "elixir" | "elm" | "erb" | "erlang" | "etlua" | "excel-formula" | "factor" | "false" | "firestore-security-rules" | "flow" | "fortran" | "fsharp" | "ftl" | "gap" | "gcode" | "gdscript" | "gedcom" | "gettext" | "gherkin" | "git" | "glsl" | "gml" | "gn" | "go-module" | "go" | "gradle" | "graphql" | "groovy" | "haml" | "handlebars" | "haskell" | "haxe" | "hcl" | "hlsl" | "hoon" | "hpkp" | "hsts" | "http" | "ichigojam" | "icon" | "icu-message-format" | "idris" | "iecst" | "ignore" | "inform7" | "ini" | "io" | "j" | "java" | "javadoc" | "javadoclike" | "javascript" | "javastacktrace" | "jexl" | "jolie" | "jq" | "js-extras" | "js-templates" | "jsdoc" | "json" | "json5" | "jsonp" | "jsstacktrace" | "jsx" | "julia" | "keepalived" | "keyman" | "kotlin" | "kumir" | "kusto" | "latex" | "latte" | "less" | "lilypond" | "linker-script" | "liquid" | "lisp" | "livescript" | "llvm" | "log" | "lolcode" | "lua" | "magma" | "makefile" | "markdown" | "markup-templating" | "markup" | "mata" | "matlab" | "maxscript" | "mel" | "mermaid" | "metafont" | "mizar" | "mongodb" | "monkey" | "moonscript" | "n1ql" | "n4js" | "nand2tetris-hdl" | "naniscript" | "nasm" | "neon" | "nevod" | "nginx" | "nim" | "nix" | "nsis" | "objectivec" | "ocaml" | "odin" | "opencl" | "openqasm" | "oz" | "parigp" | "parser" | "pascal" | "pascaligo" | "pcaxis" | "peoplecode" | "perl" | "php-extras" | "php" | "phpdoc" | "plant-uml" | "plsql" | "powerquery" | "powershell" | "processing" | "prolog" | "promql" | "properties" | "protobuf" | "psl" | "pug" | "puppet" | "pure" | "purebasic" | "purescript" | "python" | "q" | "qml" | "qore" | "qsharp" | "r" | "racket" | "reason" | "regex" | "rego" | "renpy" | "rescript" | "rest" | "rip" | "roboconf" | "robotframework" | "ruby" | "rust" | "sas" | "sass" | "scala" | "scheme" | "scss" | "shell-session" | "smali" | "smalltalk" | "smarty" | "sml" | "solidity" | "solution-file" | "soy" | "sparql" | "splunk-spl" | "sqf" | "sql" | "squirrel" | "stan" | "stata" | "stylus" | "supercollider" | "swift" | "systemd" | "t4-cs" | "t4-templating" | "t4-vb" | "tap" | "tcl" | "textile" | "toml" | "tremor" | "tsx" | "tt2" | "turtle" | "twig" | "typescript" | "typoscript" | "unrealscript" | "uorazor" | "uri" | "v" | "vala" | "vbnet" | "velocity" | "verilog" | "vhdl" | "vim" | "visual-basic" | "warpscript" | "wasm" | "web-idl" | "wgsl" | "wiki" | "wolfram" | "wren" | "xeora" | "xml-doc" | "xojo" | "xquery" | "yaml" | "yang" | "zig";
36
36
  export type ToastPosition = "top" | "bottom";
37
+ /**
38
+ * Where a floating element sits relative to its trigger.
39
+ *
40
+ * Declared here rather than re-exported from the positioning library so the
41
+ * public API names no vendor: `placement` is part of the contract of Select,
42
+ * UserMenu, ContextMenu, CursorCard, DropdownWrapper and Animation, and a
43
+ * consumer's types should not have to resolve @floating-ui to use them.
44
+ * Structurally identical to that library's `Placement`, so it still passes
45
+ * straight into `useFloating` while the implementation stays an internal
46
+ * detail we can change without a breaking release.
47
+ */
48
+ export type Side = "top" | "right" | "bottom" | "left";
49
+ export type Alignment = "start" | "end";
50
+ export type Placement = Side | `${Side}-${Alignment}`;
37
51
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,CAAC;AAEV,eAAO,MAAM,OAAO,UAcnB,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAA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,GACR,YAAY,GACZ,KAAK,GACL,KAAK,GACL,UAAU,GACV,MAAM,GACN,OAAO,GACP,QAAQ,GACR,eAAe,GACf,OAAO,GACP,SAAS,GACT,OAAO,GACP,eAAe,GACf,OAAO,GACP,KAAK,GACL,KAAK,GACL,SAAS,GACT,MAAM,GACN,QAAQ,GACR,KAAK,GACL,KAAK,GACL,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,SAAS,GACT,KAAK,GACL,GAAG,GACH,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,KAAK,GACL,cAAc,GACd,YAAY,GACZ,MAAM,GACN,SAAS,GACT,MAAM,GACN,MAAM,GACN,SAAS,GACT,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,KAAK,CAAC;AAEV,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,CAAC;AAEV,eAAO,MAAM,OAAO,UAcnB,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,MAAM,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnD,MAAM,MAAM,WAAW,G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P,eAAe,GACf,OAAO,GACP,KAAK,GACL,KAAK,GACL,SAAS,GACT,MAAM,GACN,QAAQ,GACR,KAAK,GACL,KAAK,GACL,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,SAAS,GACT,KAAK,GACL,GAAG,GACH,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,KAAK,GACL,cAAc,GACd,YAAY,GACZ,MAAM,GACN,SAAS,GACT,MAAM,GACN,MAAM,GACN,SAAS,GACT,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,KAAK,CAAC;AAEV,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE7C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,IAAI,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;AACxC,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,GAAG,IAAI,IAAI,SAAS,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@once-ui-system/core",
3
- "version": "2.0.0-alpha.0",
3
+ "version": "2.0.0-alpha.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "tag": "alpha"