@ttoss/fsl-ui 0.2.4 → 0.2.5

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 (117) hide show
  1. package/dist/components/AppShell/AppShell.cjs +124 -0
  2. package/dist/components/AppShell/AppShell.d.cts +74 -0
  3. package/dist/components/AppShell/AppShell.d.mts +74 -0
  4. package/dist/components/AppShell/AppShell.mjs +123 -0
  5. package/dist/components/Badge/Badge.cjs +61 -0
  6. package/dist/components/Badge/Badge.d.cts +56 -0
  7. package/dist/components/Badge/Badge.d.mts +56 -0
  8. package/dist/components/Badge/Badge.mjs +60 -0
  9. package/dist/components/Box/Box.cjs +114 -0
  10. package/dist/components/Box/Box.d.cts +115 -0
  11. package/dist/components/Box/Box.d.mts +115 -0
  12. package/dist/components/Box/Box.mjs +113 -0
  13. package/dist/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
  14. package/dist/components/Breadcrumbs/Breadcrumbs.mjs +1 -1
  15. package/dist/components/Button/Button.cjs +2 -2
  16. package/dist/components/Button/Button.d.cts +2 -1
  17. package/dist/components/Button/Button.d.mts +2 -1
  18. package/dist/components/Button/Button.mjs +2 -2
  19. package/dist/components/Checkbox/Checkbox.cjs +2 -2
  20. package/dist/components/Checkbox/Checkbox.mjs +2 -2
  21. package/dist/components/CheckboxGroup/CheckboxGroup.cjs +1 -1
  22. package/dist/components/CheckboxGroup/CheckboxGroup.mjs +1 -1
  23. package/dist/components/Code/Code.cjs +69 -0
  24. package/dist/components/Code/Code.d.cts +53 -0
  25. package/dist/components/Code/Code.d.mts +53 -0
  26. package/dist/components/Code/Code.mjs +68 -0
  27. package/dist/components/Container/Container.cjs +65 -0
  28. package/dist/components/Container/Container.d.cts +61 -0
  29. package/dist/components/Container/Container.d.mts +61 -0
  30. package/dist/components/Container/Container.mjs +64 -0
  31. package/dist/components/FileTrigger/FileTrigger.cjs +1 -1
  32. package/dist/components/FileTrigger/FileTrigger.mjs +1 -1
  33. package/dist/components/Grid/Grid.cjs +88 -0
  34. package/dist/components/Grid/Grid.d.cts +87 -0
  35. package/dist/components/Grid/Grid.d.mts +87 -0
  36. package/dist/components/Grid/Grid.mjs +87 -0
  37. package/dist/components/GridList/GridList.cjs +2 -2
  38. package/dist/components/GridList/GridList.mjs +2 -2
  39. package/dist/components/Group/Group.cjs +1 -1
  40. package/dist/components/Group/Group.mjs +1 -1
  41. package/dist/components/Heading/Heading.cjs +78 -0
  42. package/dist/components/Heading/Heading.d.cts +63 -0
  43. package/dist/components/Heading/Heading.d.mts +63 -0
  44. package/dist/components/Heading/Heading.mjs +77 -0
  45. package/dist/components/Link/Link.cjs +1 -1
  46. package/dist/components/Link/Link.mjs +1 -1
  47. package/dist/components/ListBox/ListBox.cjs +1 -1
  48. package/dist/components/ListBox/ListBox.mjs +1 -1
  49. package/dist/components/Meter/Meter.cjs +11 -1
  50. package/dist/components/Meter/Meter.mjs +11 -1
  51. package/dist/components/NumberField/NumberField.cjs +2 -2
  52. package/dist/components/NumberField/NumberField.mjs +2 -2
  53. package/dist/components/ProgressBar/ProgressBar.cjs +1 -1
  54. package/dist/components/ProgressBar/ProgressBar.mjs +1 -1
  55. package/dist/components/RadioGroup/RadioGroup.cjs +2 -2
  56. package/dist/components/RadioGroup/RadioGroup.mjs +2 -2
  57. package/dist/components/Select/Select.cjs +2 -2
  58. package/dist/components/Select/Select.mjs +2 -2
  59. package/dist/components/Separator/Separator.cjs +1 -1
  60. package/dist/components/Separator/Separator.mjs +1 -1
  61. package/dist/components/Slider/Slider.cjs +1 -1
  62. package/dist/components/Slider/Slider.mjs +1 -1
  63. package/dist/components/Stack/Stack.cjs +89 -0
  64. package/dist/components/Stack/Stack.d.cts +75 -0
  65. package/dist/components/Stack/Stack.d.mts +75 -0
  66. package/dist/components/Stack/Stack.mjs +88 -0
  67. package/dist/components/Surface/Surface.cjs +84 -0
  68. package/dist/components/Surface/Surface.d.cts +72 -0
  69. package/dist/components/Surface/Surface.d.mts +72 -0
  70. package/dist/components/Surface/Surface.mjs +83 -0
  71. package/dist/components/Switch/Switch.cjs +3 -3
  72. package/dist/components/Switch/Switch.d.cts +1 -1
  73. package/dist/components/Switch/Switch.d.mts +1 -1
  74. package/dist/components/Switch/Switch.mjs +3 -3
  75. package/dist/components/Tabs/Tabs.cjs +1 -1
  76. package/dist/components/Tabs/Tabs.mjs +1 -1
  77. package/dist/components/Text/Text.cjs +69 -0
  78. package/dist/components/Text/Text.d.cts +84 -0
  79. package/dist/components/Text/Text.d.mts +84 -0
  80. package/dist/components/Text/Text.mjs +68 -0
  81. package/dist/components/Toast/Toast.cjs +1 -1
  82. package/dist/components/Toast/Toast.mjs +1 -1
  83. package/dist/components/ToggleButton/ToggleButton.cjs +2 -2
  84. package/dist/components/ToggleButton/ToggleButton.mjs +2 -2
  85. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.cjs +1 -1
  86. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.mjs +1 -1
  87. package/dist/components/Toolbar/Toolbar.cjs +1 -1
  88. package/dist/components/Toolbar/Toolbar.mjs +1 -1
  89. package/dist/composites/Accordion/Accordion.cjs +14 -9
  90. package/dist/composites/Accordion/Accordion.mjs +14 -9
  91. package/dist/composites/Dialog/Dialog.cjs +1 -1
  92. package/dist/composites/Dialog/Dialog.mjs +1 -1
  93. package/dist/composites/Disclosure/Disclosure.cjs +14 -9
  94. package/dist/composites/Disclosure/Disclosure.mjs +14 -9
  95. package/dist/composites/Form/Form.cjs +1 -1
  96. package/dist/composites/Form/Form.mjs +1 -1
  97. package/dist/composites/Menu/Menu.cjs +2 -2
  98. package/dist/composites/Menu/Menu.mjs +2 -2
  99. package/dist/composites/Popover/Popover.cjs +1 -1
  100. package/dist/composites/Popover/Popover.mjs +1 -1
  101. package/dist/composites/SearchField/SearchField.cjs +2 -2
  102. package/dist/composites/SearchField/SearchField.mjs +2 -2
  103. package/dist/composites/TagGroup/TagGroup.cjs +2 -2
  104. package/dist/composites/TagGroup/TagGroup.mjs +2 -2
  105. package/dist/composites/TextArea/TextArea.cjs +2 -2
  106. package/dist/composites/TextArea/TextArea.mjs +2 -2
  107. package/dist/composites/TextField/TextField.cjs +2 -2
  108. package/dist/composites/TextField/TextField.mjs +2 -2
  109. package/dist/composites/Tooltip/Tooltip.cjs +1 -1
  110. package/dist/composites/Tooltip/Tooltip.mjs +1 -1
  111. package/dist/index.cjs +30 -0
  112. package/dist/index.d.cts +11 -1
  113. package/dist/index.d.mts +11 -1
  114. package/dist/index.mjs +11 -1
  115. package/llms.txt +12 -1
  116. package/package.json +4 -4
  117. package/src/tokens/CONTRACT.md +23 -4
package/dist/index.d.cts CHANGED
@@ -1,11 +1,18 @@
1
1
 
2
+ import { AppShell, AppShellProps, AppShellSidebarWidth, appShellMeta } from "./components/AppShell/AppShell.cjs";
3
+ import { Badge, BadgeNumeric, BadgeProps, badgeMeta } from "./components/Badge/Badge.cjs";
4
+ import { Box, BoxBackground, BoxBorder, BoxMaxWidth, BoxPadding, BoxProps, BoxRadius, BoxWidth, boxMeta } from "./components/Box/Box.cjs";
2
5
  import { Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, breadcrumbMeta, breadcrumbsMeta } from "./components/Breadcrumbs/Breadcrumbs.cjs";
3
6
  import { Button, ButtonProps, buttonMeta } from "./components/Button/Button.cjs";
4
7
  import { Checkbox, CheckboxProps, checkboxMeta } from "./components/Checkbox/Checkbox.cjs";
5
8
  import { CheckboxGroup, CheckboxGroupProps, checkboxGroupMeta } from "./components/CheckboxGroup/CheckboxGroup.cjs";
9
+ import { Code, CodeProps, CodeSize, codeMeta } from "./components/Code/Code.cjs";
10
+ import { Container, ContainerGutter, ContainerProps, ContainerSize, containerMeta } from "./components/Container/Container.cjs";
6
11
  import { FileTrigger, FileTriggerProps, fileTriggerMeta } from "./components/FileTrigger/FileTrigger.cjs";
12
+ import { Grid, GridAlign, GridGap, GridMinColumnWidth, GridProps, gridMeta } from "./components/Grid/Grid.cjs";
7
13
  import { GridList, GridListItem, GridListItemProps, GridListProps, gridListItemMeta, gridListMeta } from "./components/GridList/GridList.cjs";
8
14
  import { Group, GroupProps, groupMeta } from "./components/Group/Group.cjs";
15
+ import { Heading, HeadingAlign, HeadingLevel, HeadingProps, HeadingSize, headingMeta } from "./components/Heading/Heading.cjs";
9
16
  import { Link, LinkProps, linkMeta } from "./components/Link/Link.cjs";
10
17
  import { ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, listBoxItemMeta, listBoxMeta } from "./components/ListBox/ListBox.cjs";
11
18
  import { Meter, MeterProps, meterMeta } from "./components/Meter/Meter.cjs";
@@ -15,8 +22,11 @@ import { Radio, RadioGroup, RadioGroupProps, RadioProps, radioGroupMeta, radioMe
15
22
  import { Select, SelectItem, SelectItemProps, SelectProps, selectItemMeta, selectMeta } from "./components/Select/Select.cjs";
16
23
  import { Separator, SeparatorProps, separatorMeta } from "./components/Separator/Separator.cjs";
17
24
  import { Slider, SliderProps, sliderMeta } from "./components/Slider/Slider.cjs";
25
+ import { Stack, StackAlign, StackDirection, StackGap, StackJustify, StackProps, stackMeta } from "./components/Stack/Stack.cjs";
26
+ import { Surface, SurfaceLevel, SurfacePadding, SurfaceProps, surfaceMeta } from "./components/Surface/Surface.cjs";
18
27
  import { Switch, SwitchProps, switchMeta } from "./components/Switch/Switch.cjs";
19
28
  import { Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsProps, tabListMeta, tabMeta, tabPanelMeta, tabsMeta } from "./components/Tabs/Tabs.cjs";
29
+ import { Text, TextAlign, TextAs, TextNumeric, TextProps, TextTone, TextVariant, textMeta } from "./components/Text/Text.cjs";
20
30
  import { Toast, ToastContent, ToastProps, ToastQueue, ToastRegion, ToastRegionProps, createToastQueue, toastMeta, toastRegionMeta } from "./components/Toast/Toast.cjs";
21
31
  import { ToggleButton, ToggleButtonProps, toggleButtonMeta } from "./components/ToggleButton/ToggleButton.cjs";
22
32
  import { ToggleButtonGroup, ToggleButtonGroupProps, toggleButtonGroupMeta } from "./components/ToggleButtonGroup/ToggleButtonGroup.cjs";
@@ -34,4 +44,4 @@ import { TextArea, TextAreaControl, TextAreaControlProps, TextAreaDescription, T
34
44
  import { TextField, TextFieldControl, TextFieldControlProps, TextFieldDescription, TextFieldDescriptionProps, TextFieldError, TextFieldErrorProps, TextFieldLabel, TextFieldLabelProps, TextFieldProps, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta } from "./composites/TextField/TextField.cjs";
35
45
  import { Tooltip, TooltipProps, TooltipTrigger, tooltipMeta } from "./composites/Tooltip/Tooltip.cjs";
36
46
  import { Wizard, WizardNavigation, WizardNavigationProps, WizardProps, WizardStep, WizardStepProps, WizardSummary, WizardSummaryProps, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta } from "./composites/Wizard/Wizard.cjs";
37
- export { Accordion, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ConfirmationDialog, type ConfirmationDialogProps, Dialog, DialogActions, type DialogActionsPlatform, type DialogActionsProps, DialogBody, type DialogBodyProps, DialogHeading, type DialogHeadingProps, DialogModal, type DialogModalProps, type DialogProps, DialogTrigger, Disclosure, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DisclosureTrigger, type DisclosureTriggerProps, FileTrigger, type FileTriggerProps, Form, FormActions, type FormActionsProps, type FormProps, FormSubmit, type FormSubmitProps, GridList, GridListItem, type GridListItemProps, type GridListProps, Group, type GroupProps, Link, type LinkProps, ListBox, ListBoxItem, type ListBoxItemProps, type ListBoxProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuTrigger, Meter, type MeterProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, PopoverTrigger, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SearchField, SearchFieldControl, type SearchFieldControlProps, SearchFieldLabel, type SearchFieldLabelProps, type SearchFieldProps, Select, SelectItem, type SelectItemProps, type SelectProps, Separator, type SeparatorProps, Slider, type SliderProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, TextArea, TextAreaControl, type TextAreaControlProps, TextAreaDescription, type TextAreaDescriptionProps, TextAreaError, type TextAreaErrorProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, TextField, TextFieldControl, type TextFieldControlProps, TextFieldDescription, type TextFieldDescriptionProps, TextFieldError, type TextFieldErrorProps, TextFieldLabel, type TextFieldLabelProps, type TextFieldProps, Toast, type ToastContent, type ToastProps, type ToastQueue, ToastRegion, type ToastRegionProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, TooltipTrigger, Wizard, WizardNavigation, type WizardNavigationProps, type WizardProps, WizardStep, type WizardStepProps, WizardSummary, type WizardSummaryProps, accordionItemMeta, accordionMeta, accordionPanelMeta, accordionTriggerMeta, breadcrumbMeta, breadcrumbsMeta, buttonMeta, checkboxGroupMeta, checkboxMeta, confirmationDialogMeta, createToastQueue, dialogActionsMeta, dialogBodyMeta, dialogHeadingMeta, dialogMeta, dialogModalMeta, disclosureMeta, disclosurePanelMeta, disclosureTriggerMeta, fileTriggerMeta, formActionsMeta, formMeta, formSubmitMeta, gridListItemMeta, gridListMeta, groupMeta, linkMeta, listBoxItemMeta, listBoxMeta, menuItemMeta, menuMeta, meterMeta, numberFieldMeta, popoverMeta, progressBarMeta, radioGroupMeta, radioMeta, searchFieldControlMeta, searchFieldLabelMeta, searchFieldMeta, selectItemMeta, selectMeta, separatorMeta, sliderMeta, switchMeta, tabListMeta, tabMeta, tabPanelMeta, tabsMeta, tagGroupMeta, tagMeta, textAreaControlMeta, textAreaDescriptionMeta, textAreaErrorMeta, textAreaLabelMeta, textAreaMeta, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta, toastMeta, toastRegionMeta, toggleButtonGroupMeta, toggleButtonMeta, toolbarMeta, tooltipMeta, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta };
47
+ export { Accordion, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, AppShell, type AppShellProps, type AppShellSidebarWidth, Badge, type BadgeNumeric, type BadgeProps, Box, type BoxBackground, type BoxBorder, type BoxMaxWidth, type BoxPadding, type BoxProps, type BoxRadius, type BoxWidth, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Code, type CodeProps, type CodeSize, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerGutter, type ContainerProps, type ContainerSize, Dialog, DialogActions, type DialogActionsPlatform, type DialogActionsProps, DialogBody, type DialogBodyProps, DialogHeading, type DialogHeadingProps, DialogModal, type DialogModalProps, type DialogProps, DialogTrigger, Disclosure, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DisclosureTrigger, type DisclosureTriggerProps, FileTrigger, type FileTriggerProps, Form, FormActions, type FormActionsProps, type FormProps, FormSubmit, type FormSubmitProps, Grid, type GridAlign, type GridGap, GridList, GridListItem, type GridListItemProps, type GridListProps, type GridMinColumnWidth, type GridProps, Group, type GroupProps, Heading, type HeadingAlign, type HeadingLevel, type HeadingProps, type HeadingSize, Link, type LinkProps, ListBox, ListBoxItem, type ListBoxItemProps, type ListBoxProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuTrigger, Meter, type MeterProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, PopoverTrigger, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SearchField, SearchFieldControl, type SearchFieldControlProps, SearchFieldLabel, type SearchFieldLabelProps, type SearchFieldProps, Select, SelectItem, type SelectItemProps, type SelectProps, Separator, type SeparatorProps, Slider, type SliderProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, Surface, type SurfaceLevel, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, Text, type TextAlign, TextArea, TextAreaControl, type TextAreaControlProps, TextAreaDescription, type TextAreaDescriptionProps, TextAreaError, type TextAreaErrorProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, type TextAs, TextField, TextFieldControl, type TextFieldControlProps, TextFieldDescription, type TextFieldDescriptionProps, TextFieldError, type TextFieldErrorProps, TextFieldLabel, type TextFieldLabelProps, type TextFieldProps, type TextNumeric, type TextProps, type TextTone, type TextVariant, Toast, type ToastContent, type ToastProps, type ToastQueue, ToastRegion, type ToastRegionProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, TooltipTrigger, Wizard, WizardNavigation, type WizardNavigationProps, type WizardProps, WizardStep, type WizardStepProps, WizardSummary, type WizardSummaryProps, accordionItemMeta, accordionMeta, accordionPanelMeta, accordionTriggerMeta, appShellMeta, badgeMeta, boxMeta, breadcrumbMeta, breadcrumbsMeta, buttonMeta, checkboxGroupMeta, checkboxMeta, codeMeta, confirmationDialogMeta, containerMeta, createToastQueue, dialogActionsMeta, dialogBodyMeta, dialogHeadingMeta, dialogMeta, dialogModalMeta, disclosureMeta, disclosurePanelMeta, disclosureTriggerMeta, fileTriggerMeta, formActionsMeta, formMeta, formSubmitMeta, gridListItemMeta, gridListMeta, gridMeta, groupMeta, headingMeta, linkMeta, listBoxItemMeta, listBoxMeta, menuItemMeta, menuMeta, meterMeta, numberFieldMeta, popoverMeta, progressBarMeta, radioGroupMeta, radioMeta, searchFieldControlMeta, searchFieldLabelMeta, searchFieldMeta, selectItemMeta, selectMeta, separatorMeta, sliderMeta, stackMeta, surfaceMeta, switchMeta, tabListMeta, tabMeta, tabPanelMeta, tabsMeta, tagGroupMeta, tagMeta, textAreaControlMeta, textAreaDescriptionMeta, textAreaErrorMeta, textAreaLabelMeta, textAreaMeta, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta, textMeta, toastMeta, toastRegionMeta, toggleButtonGroupMeta, toggleButtonMeta, toolbarMeta, tooltipMeta, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta };
package/dist/index.d.mts CHANGED
@@ -1,11 +1,18 @@
1
1
 
2
+ import { AppShell, AppShellProps, AppShellSidebarWidth, appShellMeta } from "./components/AppShell/AppShell.mjs";
3
+ import { Badge, BadgeNumeric, BadgeProps, badgeMeta } from "./components/Badge/Badge.mjs";
4
+ import { Box, BoxBackground, BoxBorder, BoxMaxWidth, BoxPadding, BoxProps, BoxRadius, BoxWidth, boxMeta } from "./components/Box/Box.mjs";
2
5
  import { Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, breadcrumbMeta, breadcrumbsMeta } from "./components/Breadcrumbs/Breadcrumbs.mjs";
3
6
  import { Button, ButtonProps, buttonMeta } from "./components/Button/Button.mjs";
4
7
  import { Checkbox, CheckboxProps, checkboxMeta } from "./components/Checkbox/Checkbox.mjs";
5
8
  import { CheckboxGroup, CheckboxGroupProps, checkboxGroupMeta } from "./components/CheckboxGroup/CheckboxGroup.mjs";
9
+ import { Code, CodeProps, CodeSize, codeMeta } from "./components/Code/Code.mjs";
10
+ import { Container, ContainerGutter, ContainerProps, ContainerSize, containerMeta } from "./components/Container/Container.mjs";
6
11
  import { FileTrigger, FileTriggerProps, fileTriggerMeta } from "./components/FileTrigger/FileTrigger.mjs";
12
+ import { Grid, GridAlign, GridGap, GridMinColumnWidth, GridProps, gridMeta } from "./components/Grid/Grid.mjs";
7
13
  import { GridList, GridListItem, GridListItemProps, GridListProps, gridListItemMeta, gridListMeta } from "./components/GridList/GridList.mjs";
8
14
  import { Group, GroupProps, groupMeta } from "./components/Group/Group.mjs";
15
+ import { Heading, HeadingAlign, HeadingLevel, HeadingProps, HeadingSize, headingMeta } from "./components/Heading/Heading.mjs";
9
16
  import { Link, LinkProps, linkMeta } from "./components/Link/Link.mjs";
10
17
  import { ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, listBoxItemMeta, listBoxMeta } from "./components/ListBox/ListBox.mjs";
11
18
  import { Meter, MeterProps, meterMeta } from "./components/Meter/Meter.mjs";
@@ -15,8 +22,11 @@ import { Radio, RadioGroup, RadioGroupProps, RadioProps, radioGroupMeta, radioMe
15
22
  import { Select, SelectItem, SelectItemProps, SelectProps, selectItemMeta, selectMeta } from "./components/Select/Select.mjs";
16
23
  import { Separator, SeparatorProps, separatorMeta } from "./components/Separator/Separator.mjs";
17
24
  import { Slider, SliderProps, sliderMeta } from "./components/Slider/Slider.mjs";
25
+ import { Stack, StackAlign, StackDirection, StackGap, StackJustify, StackProps, stackMeta } from "./components/Stack/Stack.mjs";
26
+ import { Surface, SurfaceLevel, SurfacePadding, SurfaceProps, surfaceMeta } from "./components/Surface/Surface.mjs";
18
27
  import { Switch, SwitchProps, switchMeta } from "./components/Switch/Switch.mjs";
19
28
  import { Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsProps, tabListMeta, tabMeta, tabPanelMeta, tabsMeta } from "./components/Tabs/Tabs.mjs";
29
+ import { Text, TextAlign, TextAs, TextNumeric, TextProps, TextTone, TextVariant, textMeta } from "./components/Text/Text.mjs";
20
30
  import { Toast, ToastContent, ToastProps, ToastQueue, ToastRegion, ToastRegionProps, createToastQueue, toastMeta, toastRegionMeta } from "./components/Toast/Toast.mjs";
21
31
  import { ToggleButton, ToggleButtonProps, toggleButtonMeta } from "./components/ToggleButton/ToggleButton.mjs";
22
32
  import { ToggleButtonGroup, ToggleButtonGroupProps, toggleButtonGroupMeta } from "./components/ToggleButtonGroup/ToggleButtonGroup.mjs";
@@ -34,4 +44,4 @@ import { TextArea, TextAreaControl, TextAreaControlProps, TextAreaDescription, T
34
44
  import { TextField, TextFieldControl, TextFieldControlProps, TextFieldDescription, TextFieldDescriptionProps, TextFieldError, TextFieldErrorProps, TextFieldLabel, TextFieldLabelProps, TextFieldProps, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta } from "./composites/TextField/TextField.mjs";
35
45
  import { Tooltip, TooltipProps, TooltipTrigger, tooltipMeta } from "./composites/Tooltip/Tooltip.mjs";
36
46
  import { Wizard, WizardNavigation, WizardNavigationProps, WizardProps, WizardStep, WizardStepProps, WizardSummary, WizardSummaryProps, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta } from "./composites/Wizard/Wizard.mjs";
37
- export { Accordion, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ConfirmationDialog, type ConfirmationDialogProps, Dialog, DialogActions, type DialogActionsPlatform, type DialogActionsProps, DialogBody, type DialogBodyProps, DialogHeading, type DialogHeadingProps, DialogModal, type DialogModalProps, type DialogProps, DialogTrigger, Disclosure, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DisclosureTrigger, type DisclosureTriggerProps, FileTrigger, type FileTriggerProps, Form, FormActions, type FormActionsProps, type FormProps, FormSubmit, type FormSubmitProps, GridList, GridListItem, type GridListItemProps, type GridListProps, Group, type GroupProps, Link, type LinkProps, ListBox, ListBoxItem, type ListBoxItemProps, type ListBoxProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuTrigger, Meter, type MeterProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, PopoverTrigger, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SearchField, SearchFieldControl, type SearchFieldControlProps, SearchFieldLabel, type SearchFieldLabelProps, type SearchFieldProps, Select, SelectItem, type SelectItemProps, type SelectProps, Separator, type SeparatorProps, Slider, type SliderProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, TextArea, TextAreaControl, type TextAreaControlProps, TextAreaDescription, type TextAreaDescriptionProps, TextAreaError, type TextAreaErrorProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, TextField, TextFieldControl, type TextFieldControlProps, TextFieldDescription, type TextFieldDescriptionProps, TextFieldError, type TextFieldErrorProps, TextFieldLabel, type TextFieldLabelProps, type TextFieldProps, Toast, type ToastContent, type ToastProps, type ToastQueue, ToastRegion, type ToastRegionProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, TooltipTrigger, Wizard, WizardNavigation, type WizardNavigationProps, type WizardProps, WizardStep, type WizardStepProps, WizardSummary, type WizardSummaryProps, accordionItemMeta, accordionMeta, accordionPanelMeta, accordionTriggerMeta, breadcrumbMeta, breadcrumbsMeta, buttonMeta, checkboxGroupMeta, checkboxMeta, confirmationDialogMeta, createToastQueue, dialogActionsMeta, dialogBodyMeta, dialogHeadingMeta, dialogMeta, dialogModalMeta, disclosureMeta, disclosurePanelMeta, disclosureTriggerMeta, fileTriggerMeta, formActionsMeta, formMeta, formSubmitMeta, gridListItemMeta, gridListMeta, groupMeta, linkMeta, listBoxItemMeta, listBoxMeta, menuItemMeta, menuMeta, meterMeta, numberFieldMeta, popoverMeta, progressBarMeta, radioGroupMeta, radioMeta, searchFieldControlMeta, searchFieldLabelMeta, searchFieldMeta, selectItemMeta, selectMeta, separatorMeta, sliderMeta, switchMeta, tabListMeta, tabMeta, tabPanelMeta, tabsMeta, tagGroupMeta, tagMeta, textAreaControlMeta, textAreaDescriptionMeta, textAreaErrorMeta, textAreaLabelMeta, textAreaMeta, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta, toastMeta, toastRegionMeta, toggleButtonGroupMeta, toggleButtonMeta, toolbarMeta, tooltipMeta, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta };
47
+ export { Accordion, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, AppShell, type AppShellProps, type AppShellSidebarWidth, Badge, type BadgeNumeric, type BadgeProps, Box, type BoxBackground, type BoxBorder, type BoxMaxWidth, type BoxPadding, type BoxProps, type BoxRadius, type BoxWidth, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Code, type CodeProps, type CodeSize, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerGutter, type ContainerProps, type ContainerSize, Dialog, DialogActions, type DialogActionsPlatform, type DialogActionsProps, DialogBody, type DialogBodyProps, DialogHeading, type DialogHeadingProps, DialogModal, type DialogModalProps, type DialogProps, DialogTrigger, Disclosure, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DisclosureTrigger, type DisclosureTriggerProps, FileTrigger, type FileTriggerProps, Form, FormActions, type FormActionsProps, type FormProps, FormSubmit, type FormSubmitProps, Grid, type GridAlign, type GridGap, GridList, GridListItem, type GridListItemProps, type GridListProps, type GridMinColumnWidth, type GridProps, Group, type GroupProps, Heading, type HeadingAlign, type HeadingLevel, type HeadingProps, type HeadingSize, Link, type LinkProps, ListBox, ListBoxItem, type ListBoxItemProps, type ListBoxProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuTrigger, Meter, type MeterProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, PopoverTrigger, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SearchField, SearchFieldControl, type SearchFieldControlProps, SearchFieldLabel, type SearchFieldLabelProps, type SearchFieldProps, Select, SelectItem, type SelectItemProps, type SelectProps, Separator, type SeparatorProps, Slider, type SliderProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, Surface, type SurfaceLevel, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, Text, type TextAlign, TextArea, TextAreaControl, type TextAreaControlProps, TextAreaDescription, type TextAreaDescriptionProps, TextAreaError, type TextAreaErrorProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, type TextAs, TextField, TextFieldControl, type TextFieldControlProps, TextFieldDescription, type TextFieldDescriptionProps, TextFieldError, type TextFieldErrorProps, TextFieldLabel, type TextFieldLabelProps, type TextFieldProps, type TextNumeric, type TextProps, type TextTone, type TextVariant, Toast, type ToastContent, type ToastProps, type ToastQueue, ToastRegion, type ToastRegionProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, TooltipTrigger, Wizard, WizardNavigation, type WizardNavigationProps, type WizardProps, WizardStep, type WizardStepProps, WizardSummary, type WizardSummaryProps, accordionItemMeta, accordionMeta, accordionPanelMeta, accordionTriggerMeta, appShellMeta, badgeMeta, boxMeta, breadcrumbMeta, breadcrumbsMeta, buttonMeta, checkboxGroupMeta, checkboxMeta, codeMeta, confirmationDialogMeta, containerMeta, createToastQueue, dialogActionsMeta, dialogBodyMeta, dialogHeadingMeta, dialogMeta, dialogModalMeta, disclosureMeta, disclosurePanelMeta, disclosureTriggerMeta, fileTriggerMeta, formActionsMeta, formMeta, formSubmitMeta, gridListItemMeta, gridListMeta, gridMeta, groupMeta, headingMeta, linkMeta, listBoxItemMeta, listBoxMeta, menuItemMeta, menuMeta, meterMeta, numberFieldMeta, popoverMeta, progressBarMeta, radioGroupMeta, radioMeta, searchFieldControlMeta, searchFieldLabelMeta, searchFieldMeta, selectItemMeta, selectMeta, separatorMeta, sliderMeta, stackMeta, surfaceMeta, switchMeta, tabListMeta, tabMeta, tabPanelMeta, tabsMeta, tagGroupMeta, tagMeta, textAreaControlMeta, textAreaDescriptionMeta, textAreaErrorMeta, textAreaLabelMeta, textAreaMeta, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta, textMeta, toastMeta, toastRegionMeta, toggleButtonGroupMeta, toggleButtonMeta, toolbarMeta, tooltipMeta, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta };
package/dist/index.mjs CHANGED
@@ -1,13 +1,20 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
2
  'use client';
3
3
 
4
+ import { AppShell, appShellMeta } from "./components/AppShell/AppShell.mjs";
5
+ import { Badge, badgeMeta } from "./components/Badge/Badge.mjs";
6
+ import { Box, boxMeta } from "./components/Box/Box.mjs";
4
7
  import { Breadcrumb, Breadcrumbs, breadcrumbMeta, breadcrumbsMeta } from "./components/Breadcrumbs/Breadcrumbs.mjs";
5
8
  import { Button, buttonMeta } from "./components/Button/Button.mjs";
6
9
  import { Checkbox, checkboxMeta } from "./components/Checkbox/Checkbox.mjs";
7
10
  import { CheckboxGroup, checkboxGroupMeta } from "./components/CheckboxGroup/CheckboxGroup.mjs";
11
+ import { Code, codeMeta } from "./components/Code/Code.mjs";
12
+ import { Container, containerMeta } from "./components/Container/Container.mjs";
8
13
  import { FileTrigger, fileTriggerMeta } from "./components/FileTrigger/FileTrigger.mjs";
14
+ import { Grid, gridMeta } from "./components/Grid/Grid.mjs";
9
15
  import { GridList, GridListItem, gridListItemMeta, gridListMeta } from "./components/GridList/GridList.mjs";
10
16
  import { Group, groupMeta } from "./components/Group/Group.mjs";
17
+ import { Heading, headingMeta } from "./components/Heading/Heading.mjs";
11
18
  import { Link, linkMeta } from "./components/Link/Link.mjs";
12
19
  import { ListBox, ListBoxItem, listBoxItemMeta, listBoxMeta } from "./components/ListBox/ListBox.mjs";
13
20
  import { Meter, meterMeta } from "./components/Meter/Meter.mjs";
@@ -17,8 +24,11 @@ import { Radio, RadioGroup, radioGroupMeta, radioMeta } from "./components/Radio
17
24
  import { Select, SelectItem, selectItemMeta, selectMeta } from "./components/Select/Select.mjs";
18
25
  import { Separator, separatorMeta } from "./components/Separator/Separator.mjs";
19
26
  import { Slider, sliderMeta } from "./components/Slider/Slider.mjs";
27
+ import { Stack, stackMeta } from "./components/Stack/Stack.mjs";
28
+ import { Surface, surfaceMeta } from "./components/Surface/Surface.mjs";
20
29
  import { Switch, switchMeta } from "./components/Switch/Switch.mjs";
21
30
  import { Tab, TabList, TabPanel, Tabs, tabListMeta, tabMeta, tabPanelMeta, tabsMeta } from "./components/Tabs/Tabs.mjs";
31
+ import { Text, textMeta } from "./components/Text/Text.mjs";
22
32
  import { Toast, ToastRegion, createToastQueue, toastMeta, toastRegionMeta } from "./components/Toast/Toast.mjs";
23
33
  import { ToggleButton, toggleButtonMeta } from "./components/ToggleButton/ToggleButton.mjs";
24
34
  import { ToggleButtonGroup, toggleButtonGroupMeta } from "./components/ToggleButtonGroup/ToggleButtonGroup.mjs";
@@ -36,4 +46,4 @@ import { TextArea, TextAreaControl, TextAreaDescription, TextAreaError, TextArea
36
46
  import { TextField, TextFieldControl, TextFieldDescription, TextFieldError, TextFieldLabel, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta } from "./composites/TextField/TextField.mjs";
37
47
  import { Tooltip, TooltipTrigger, tooltipMeta } from "./composites/Tooltip/Tooltip.mjs";
38
48
  import { Wizard, WizardNavigation, WizardStep, WizardSummary, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta } from "./composites/Wizard/Wizard.mjs";
39
- export { Accordion, AccordionItem, AccordionPanel, AccordionTrigger, Breadcrumb, Breadcrumbs, Button, Checkbox, CheckboxGroup, ConfirmationDialog, Dialog, DialogActions, DialogBody, DialogHeading, DialogModal, DialogTrigger, Disclosure, DisclosurePanel, DisclosureTrigger, FileTrigger, Form, FormActions, FormSubmit, GridList, GridListItem, Group, Link, ListBox, ListBoxItem, Menu, MenuItem, MenuTrigger, Meter, NumberField, Popover, PopoverTrigger, ProgressBar, Radio, RadioGroup, SearchField, SearchFieldControl, SearchFieldLabel, Select, SelectItem, Separator, Slider, Switch, Tab, TabList, TabPanel, Tabs, Tag, TagGroup, TextArea, TextAreaControl, TextAreaDescription, TextAreaError, TextAreaLabel, TextField, TextFieldControl, TextFieldDescription, TextFieldError, TextFieldLabel, Toast, ToastRegion, ToggleButton, ToggleButtonGroup, Toolbar, Tooltip, TooltipTrigger, Wizard, WizardNavigation, WizardStep, WizardSummary, accordionItemMeta, accordionMeta, accordionPanelMeta, accordionTriggerMeta, breadcrumbMeta, breadcrumbsMeta, buttonMeta, checkboxGroupMeta, checkboxMeta, confirmationDialogMeta, createToastQueue, dialogActionsMeta, dialogBodyMeta, dialogHeadingMeta, dialogMeta, dialogModalMeta, disclosureMeta, disclosurePanelMeta, disclosureTriggerMeta, fileTriggerMeta, formActionsMeta, formMeta, formSubmitMeta, gridListItemMeta, gridListMeta, groupMeta, linkMeta, listBoxItemMeta, listBoxMeta, menuItemMeta, menuMeta, meterMeta, numberFieldMeta, popoverMeta, progressBarMeta, radioGroupMeta, radioMeta, searchFieldControlMeta, searchFieldLabelMeta, searchFieldMeta, selectItemMeta, selectMeta, separatorMeta, sliderMeta, switchMeta, tabListMeta, tabMeta, tabPanelMeta, tabsMeta, tagGroupMeta, tagMeta, textAreaControlMeta, textAreaDescriptionMeta, textAreaErrorMeta, textAreaLabelMeta, textAreaMeta, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta, toastMeta, toastRegionMeta, toggleButtonGroupMeta, toggleButtonMeta, toolbarMeta, tooltipMeta, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta };
49
+ export { Accordion, AccordionItem, AccordionPanel, AccordionTrigger, AppShell, Badge, Box, Breadcrumb, Breadcrumbs, Button, Checkbox, CheckboxGroup, Code, ConfirmationDialog, Container, Dialog, DialogActions, DialogBody, DialogHeading, DialogModal, DialogTrigger, Disclosure, DisclosurePanel, DisclosureTrigger, FileTrigger, Form, FormActions, FormSubmit, Grid, GridList, GridListItem, Group, Heading, Link, ListBox, ListBoxItem, Menu, MenuItem, MenuTrigger, Meter, NumberField, Popover, PopoverTrigger, ProgressBar, Radio, RadioGroup, SearchField, SearchFieldControl, SearchFieldLabel, Select, SelectItem, Separator, Slider, Stack, Surface, Switch, Tab, TabList, TabPanel, Tabs, Tag, TagGroup, Text, TextArea, TextAreaControl, TextAreaDescription, TextAreaError, TextAreaLabel, TextField, TextFieldControl, TextFieldDescription, TextFieldError, TextFieldLabel, Toast, ToastRegion, ToggleButton, ToggleButtonGroup, Toolbar, Tooltip, TooltipTrigger, Wizard, WizardNavigation, WizardStep, WizardSummary, accordionItemMeta, accordionMeta, accordionPanelMeta, accordionTriggerMeta, appShellMeta, badgeMeta, boxMeta, breadcrumbMeta, breadcrumbsMeta, buttonMeta, checkboxGroupMeta, checkboxMeta, codeMeta, confirmationDialogMeta, containerMeta, createToastQueue, dialogActionsMeta, dialogBodyMeta, dialogHeadingMeta, dialogMeta, dialogModalMeta, disclosureMeta, disclosurePanelMeta, disclosureTriggerMeta, fileTriggerMeta, formActionsMeta, formMeta, formSubmitMeta, gridListItemMeta, gridListMeta, gridMeta, groupMeta, headingMeta, linkMeta, listBoxItemMeta, listBoxMeta, menuItemMeta, menuMeta, meterMeta, numberFieldMeta, popoverMeta, progressBarMeta, radioGroupMeta, radioMeta, searchFieldControlMeta, searchFieldLabelMeta, searchFieldMeta, selectItemMeta, selectMeta, separatorMeta, sliderMeta, stackMeta, surfaceMeta, switchMeta, tabListMeta, tabMeta, tabPanelMeta, tabsMeta, tagGroupMeta, tagMeta, textAreaControlMeta, textAreaDescriptionMeta, textAreaErrorMeta, textAreaLabelMeta, textAreaMeta, textFieldControlMeta, textFieldDescriptionMeta, textFieldErrorMeta, textFieldLabelMeta, textFieldMeta, textMeta, toastMeta, toastRegionMeta, toggleButtonGroupMeta, toggleButtonMeta, toolbarMeta, tooltipMeta, wizardMeta, wizardNavigationMeta, wizardStepMeta, wizardSummaryMeta };
package/llms.txt CHANGED
@@ -81,7 +81,18 @@ Feedback: ProgressBar, Meter, Toast, ToastRegion, createToastQueue
81
81
  ProgressBar = a task in flight. Pick by "state" vs "progressing")
82
82
  Structure: Form, FormActions, Wizard, WizardStep, WizardSummary,
83
83
  WizardNavigation, Separator, Group (labelled role=group frame),
84
- Toolbar (role=toolbar, arrow-key roving nav over its controls)
84
+ Toolbar (role=toolbar, arrow-key roving nav over its controls),
85
+ Surface (depth container: level=flat|raised|overlay|blocking,
86
+ padding=none|sm|md|lg; pairs the elevation shadow with the tonal
87
+ surface colour so depth reads in light AND dark — use for cards,
88
+ panels, sheets instead of a hand-rolled div),
89
+ Heading (h1-h6 bound to the type scale: level=1..6 sets the
90
+ element, size overrides the visual step — never a raw font-size),
91
+ Text (body/label copy: variant=body|label-lg|md|sm, tone=muted for
92
+ secondary hierarchy, as=p|span|div — never a raw font-size),
93
+ Stack (layout rhythm: direction=vertical|horizontal picks the
94
+ gap.stack|gap.inline family, gap=xs..xl, align, justify, wrap —
95
+ never a raw gap; use instead of a hand-rolled flex div)
85
96
 
86
97
  Icons: INTERNAL only (not exported). Components render glyphs through an
87
98
  internal semantic Icon layer (`src/components/Icon/`) that maps `icon.{family}.{intent}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/fsl-ui",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Semantic, token-native component library for the ttoss ecosystem. Built on React Aria Components with @ttoss/fsl-theme tokens.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "@iconify-icon/react": "^2.2.0",
34
34
  "@iconify/icons-lucide": "^1.2.135",
35
35
  "react-aria-components": "~1.19.0",
36
- "@ttoss/fsl-theme": "^2.1.1"
36
+ "@ttoss/fsl-theme": "^2.1.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@testing-library/react": "^16.3.2",
@@ -50,9 +50,9 @@
50
50
  "react-hook-form": "^7.71.1",
51
51
  "tsdown": "^0.22.2",
52
52
  "zod": "^4.4.3",
53
+ "@ttoss/forms": "^0.44.4",
53
54
  "@ttoss/test-utils": "^4.2.18",
54
- "@ttoss/config": "^1.37.17",
55
- "@ttoss/forms": "^0.44.4"
55
+ "@ttoss/config": "^1.37.17"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "react": ">=18",
@@ -294,13 +294,21 @@ color: resolveInteractiveStyle(c?.text, { isHovered, isPressed,
294
294
 
295
295
  | Family | Standard step | Token path |
296
296
  | ---------- | ------------- | ------------------------------------------ |
297
- | Sizing | `base` | `vars.sizing.hit.base` |
297
+ | Sizing | _(single)_ | `vars.sizing.hit` |
298
298
  | Spacing | `md` | `vars.spacing.inset.{control\|surface}.md` |
299
299
  | Typography | `md` | `vars.text.label.md` |
300
300
 
301
301
  If a design calls for a "small button", the question is: **why is it smaller semantically?**
302
302
  Is it a toolbar action? A chip? A compact selection control? Name it, give it an entity, and it gets its own fixed step.
303
303
 
304
+ > **Layout is not a control.** The "no size prop" rule governs _interactive_
305
+ > components (Entity ≠ Structure). The presentational layer — `Box`, `Grid`,
306
+ > `Container`, `Stack`, `Surface` (all Entity = `Structure`) — is the sanctioned,
307
+ > **token-constrained** escape hatch (ADR-009): its props accept only token keys
308
+ > (`padding="md"`, `columns={3}`, `maxWidth="reading"`) or layout keywords
309
+ > (`align`, `auto`/`100%`/`fit-content`), never a raw `style`/`className`/hex/px.
310
+ > Compose layouts with these instead of hand-rolling CSS.
311
+
304
312
  ---
305
313
 
306
314
  ## §5 — data-\* Attribute Convention
@@ -349,7 +357,18 @@ const valid = ENTITY_EVALUATION['Action'];
349
357
 
350
358
  ---
351
359
 
352
- ## §7 — Escape Hatches: Composite-Scoped CSS Custom Properties
360
+ ## §7 — Escape Hatches
361
+
362
+ There are **two** sanctioned escape hatches, for two different needs:
363
+
364
+ 1. **Composition → the presentational layer (ADR-009).** To arrange, pad, size,
365
+ or lightly group content, use `Box`/`Grid`/`Container`/`Stack`/`Surface`
366
+ (Entity = `Structure`). Their props are token-constrained (token keys +
367
+ layout keywords only) — this is the answer to "I need custom layout" and
368
+ replaces hand-rolled CSS. See §4.
369
+ 2. **Host geometry on composites → composite-scoped CSS custom properties.**
370
+ For host-owned geometry knobs on interactive composites (which own their
371
+ layout and expose no visual props), the single channel is described below.
353
372
 
354
373
  Composites own their layout: they expose no `style`/`className` and no
355
374
  visual props. The **single sanctioned customization channel** is a
@@ -407,7 +426,7 @@ Registered knobs:
407
426
  ## §8 — Full Example: Button (Entity = Action)
408
427
 
409
428
  `entity: 'Action'` → §1 row: colors=`action`, radii=`control`, border=`outline.control`,
410
- sizing=`hit.base`, spacing=`inset.control.md`, typography=`label.md`, motion=`feedback`, elevation=`flat`.
429
+ sizing=`hit`, spacing=`inset.control.md`, typography=`label.md`, motion=`feedback`, elevation=`flat`.
411
430
 
412
431
  ```typescript
413
432
  import { vars } from '@ttoss/fsl-theme/vars';
@@ -440,7 +459,7 @@ export const Button = ({ evaluation = 'primary', ...props }: ButtonProps) => {
440
459
  borderRadius: vars.radii.control,
441
460
  borderWidth: vars.border.outline.control.width,
442
461
  borderStyle: vars.border.outline.control.style,
443
- minHeight: vars.sizing.hit.base,
462
+ minHeight: vars.sizing.hit,
444
463
  paddingBlock: vars.spacing.inset.control.md,
445
464
  paddingInline: vars.spacing.inset.control.md,
446
465
  ...(vars.text.label.md as React.CSSProperties),