@godxjp/ui 33.6.1 โ 33.7.0
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.
- package/README.md +2 -2
- package/agent/START-HERE.md +4 -4
- package/agent/components/Button.json +2 -2
- package/agent/components/RadioGroup.json +6 -0
- package/agent/components/Segmented.json +2 -2
- package/agent/components/Toggle.json +2 -2
- package/agent/components/ToggleGroup.json +2 -2
- package/agent/components.json +14 -8
- package/agent/index.json +4 -4
- package/agent/llms.txt +5 -5
- package/agent/tokens.json +18 -0
- package/dist/components/data-display/descriptions.js +1 -1
- package/dist/components/data-entry/date-picker.js +1 -1
- package/dist/components/data-entry/form-field.js +1 -1
- package/dist/components/data-entry/radio.d.ts +1 -1
- package/dist/components/data-entry/radio.js +2 -0
- package/dist/components/data-entry/search-select.js +26 -25
- package/dist/components/data-entry/segmented.d.ts +3 -2
- package/dist/components/data-entry/toggle.d.ts +2 -2
- package/dist/components/data-entry/toggle.js +4 -1
- package/dist/components/general/button.d.ts +1 -1
- package/dist/components/general/button.js +3 -1
- package/dist/contracts/measurement.json +1 -1
- package/dist/props/components/data-entry.prop.d.ts +7 -1
- package/dist/props/registry.d.ts +1 -1
- package/dist/props/registry.js +1 -1
- package/dist/props/vocabulary/interaction.prop.d.ts +7 -2
- package/dist/styles/control.css +42 -0
- package/dist/styles/layers.json +1 -1
- package/dist/styles.css +1 -1
- package/dist/tokens/components/control.css +6 -0
- package/package.json +2 -2
- package/scripts/ui-audit.mjs +6 -2
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
--control-height-sm: calc(var(--control-height) - calc(0.25rem * var(--scaling)));
|
|
16
16
|
--control-height-lg: calc(var(--control-height) + calc(0.25rem * var(--scaling)));
|
|
17
17
|
--control-height-xs: calc(var(--control-height) - calc(0.5rem * var(--scaling)));
|
|
18
|
+
|
|
19
|
+
--control-height-touch: var(--band-height-3xl);
|
|
18
20
|
--control-padding-x: var(--control-padding-x-default);
|
|
19
21
|
--control-gap: var(--space-inline-sm);
|
|
20
22
|
--control-gap-sm: var(--space-inline-xs);
|
|
@@ -45,6 +47,10 @@
|
|
|
45
47
|
|
|
46
48
|
--number-input-touch-height: var(--band-height-2xl);
|
|
47
49
|
|
|
50
|
+
--control-touch-gap: var(--space-2);
|
|
51
|
+
|
|
52
|
+
--button-touch-space-inline: var(--space-6);
|
|
53
|
+
|
|
48
54
|
--control-variant-filled-background: var(--muted);
|
|
49
55
|
--control-variant-filled-hover-background: initial;
|
|
50
56
|
--control-variant-filled-hover-background-alpha: initial;
|
package/package.json
CHANGED
package/scripts/ui-audit.mjs
CHANGED
|
@@ -219,7 +219,11 @@ const PALETTE =
|
|
|
219
219
|
* โ
๐๐ฅ๐ etc. but NOT typographic punctuation (ยท โ ร โ), which have their own rules.
|
|
220
220
|
*/
|
|
221
221
|
/*
|
|
222
|
-
* EMOJI โ pictographs
|
|
222
|
+
* EMOJI โ pictographs that render AS emoji: `Emoji_Presentation=Yes`, or any pictograph with U+FE0F.
|
|
223
|
+
*
|
|
224
|
+
* A pictograph with `Emoji_Presentation=No` defaults to text presentation: โ in gino-cloud's
|
|
225
|
+
* ่ท็จฎ โ ๅ้ copy is notation, drawn by the text font on every OS. The first case found was the
|
|
226
|
+
* typographic three below.
|
|
223
227
|
*
|
|
224
228
|
* `\p{Extended_Pictographic}` includes U+00A9 ยฉ, U+00AE ยฎ and U+2122 โข. All three are
|
|
225
229
|
* `Emoji_Presentation=No`: they default to TEXT presentation, they have been in typography since
|
|
@@ -231,7 +235,7 @@ const PALETTE =
|
|
|
231
235
|
* Followed by U+FE0F they are asking for emoji presentation on purpose, and then they ARE emoji โ
|
|
232
236
|
* so that spelling is still caught.
|
|
233
237
|
*/
|
|
234
|
-
const EMOJI =
|
|
238
|
+
const EMOJI = /\p{Extended_Pictographic}\uFE0F|(?=\p{Extended_Pictographic})\p{Emoji_Presentation}/u;
|
|
235
239
|
/** Regional-indicator pairs = emoji flags (๐ฏ๐ต) โ broken on Win/Linux; use Intl.DisplayNames. */
|
|
236
240
|
const EMOJI_FLAG = /\p{Regional_Indicator}/u;
|
|
237
241
|
|