@kouji-ui/core 0.5.0 → 0.5.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.
@@ -4516,7 +4516,7 @@ function bindPresets(configToken) {
4516
4516
  */
4517
4517
  const KJ_BUTTON_DEFAULTS = {
4518
4518
  variants: ['default', 'destructive', 'outline', 'ghost', 'link'],
4519
- sizes: ['sm', 'md', 'lg', 'xl', 'icon'],
4519
+ sizes: ['xs', 'sm', 'md', 'lg', 'xl', 'icon'],
4520
4520
  defaults: { variant: 'default', size: 'md' },
4521
4521
  };
4522
4522
  /**
@@ -4579,7 +4579,7 @@ function provideKjButton(config) {
4579
4579
  * data-full — set to "true" when [kjFullWidth] is true
4580
4580
  *
4581
4581
  * @doc-touch
4582
- * Meets WCAG 2.5.5 (44×44 CSS px) at `size="lg"` (2.75rem) and `size="icon"` (enforced via min-width/min-height). Sizes `sm` (32px) and `md` (36px) sit below the 44px floor and rely on the inline-text-link exception — use them for buttons embedded in a sentence or dense form rows only.
4582
+ * Meets WCAG 2.5.5 (44×44 CSS px) at `size="lg"` (2.75rem) and `size="icon"` (enforced via min-width/min-height). Sizes `xs` (28px), `sm` (32px) and `md` (36px) sit below the 44px floor and rely on the inline-text-link exception — use them for buttons embedded in a sentence or dense form rows only. `xs` is intended for dense application chrome (IDE toolbars, table row actions) where a 44px control would break the layout; do not use it on touch-primary surfaces.
4583
4583
  *
4584
4584
  * @doc-a11y
4585
4585
  * Kouji uses ARIA-disabled rather than the native `disabled` attribute so the