burne-ui 1.6.8 → 1.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.
Files changed (116) hide show
  1. package/README.md +5 -2
  2. package/cli/init.js +2 -2
  3. package/dist/components/composite/AlertDialog/alertDialogAPI.d.ts +1 -1
  4. package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +1 -0
  5. package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +0 -1
  6. package/dist/components/composite/AlertDialog/index.d.ts +0 -1
  7. package/dist/components/core/Alert/alertStyles.d.ts +3 -1
  8. package/dist/components/core/Button/Button.d.ts +0 -1
  9. package/dist/components/core/Button/buttonAnimations.d.ts +3 -4
  10. package/dist/components/core/Button/buttonParts.d.ts +2 -2
  11. package/dist/components/core/Button/buttonStyles.d.ts +2 -1
  12. package/dist/components/core/Button/buttonTypes.d.ts +4 -5
  13. package/dist/components/core/Button/index.d.ts +0 -1
  14. package/dist/components/core/Button/useButtonRootState.d.ts +1 -2
  15. package/dist/components/core/Calendar/calendarAnimations.d.ts +10 -11
  16. package/dist/components/core/Calendar/calendarStyles.d.ts +1 -1
  17. package/dist/components/core/Card/Card.d.ts +0 -1
  18. package/dist/components/core/Card/cardAnimations.d.ts +1 -1
  19. package/dist/components/core/Card/cardTypes.d.ts +0 -7
  20. package/dist/components/core/Card/index.d.ts +0 -1
  21. package/dist/components/core/Checkbox/checkboxStyles.d.ts +5 -4
  22. package/dist/components/core/CloseButton/CloseButton.d.ts +0 -1
  23. package/dist/components/core/CloseButton/closeButtonAnimations.d.ts +1 -1
  24. package/dist/components/core/CloseButton/closeButtonTypes.d.ts +0 -2
  25. package/dist/components/core/CloseButton/useCloseButtonRootState.d.ts +1 -2
  26. package/dist/components/core/ComboBox/comboBoxStyles.d.ts +2 -2
  27. package/dist/components/core/ComboBox/comboBoxTypes.d.ts +0 -9
  28. package/dist/components/core/Dialog/dialogAnimations.d.ts +2 -2
  29. package/dist/components/core/Dialog/dialogParts.d.ts +0 -1
  30. package/dist/components/core/Dialog/index.d.ts +0 -1
  31. package/dist/components/core/Disclosure/disclosureStyles.d.ts +1 -1
  32. package/dist/components/core/Drawer/drawerAnimations.d.ts +1 -2
  33. package/dist/components/core/Drawer/drawerParts.d.ts +0 -1
  34. package/dist/components/core/Drawer/index.d.ts +0 -1
  35. package/dist/components/core/Dropdown/dropdownItemParts.d.ts +1 -1
  36. package/dist/components/core/Dropdown/dropdownStyles.d.ts +1 -1
  37. package/dist/components/core/Dropdown/index.d.ts +1 -1
  38. package/dist/components/core/Dropdown/useDropdownItemState.d.ts +6 -1
  39. package/dist/components/core/Expandable/expandableStyles.d.ts +2 -2
  40. package/dist/components/core/Input/inputStyles.d.ts +3 -11
  41. package/dist/components/core/ListBox/ListBox.d.ts +1 -1
  42. package/dist/components/core/ListBox/index.d.ts +3 -3
  43. package/dist/components/core/ListBox/listBoxAnimations.d.ts +11 -1
  44. package/dist/components/core/ListBox/listBoxContext.d.ts +6 -0
  45. package/dist/components/core/ListBox/listBoxParts.d.ts +1 -1
  46. package/dist/components/core/ListBox/listBoxStyles.d.ts +2 -3
  47. package/dist/components/core/ListBox/listBoxTypes.d.ts +0 -1
  48. package/dist/components/core/ListBox/useListBoxItemState.d.ts +0 -1
  49. package/dist/components/core/ListBox/useListBoxRootState.d.ts +1 -0
  50. package/dist/components/core/Pagination/paginationAnimations.d.ts +16 -4
  51. package/dist/components/core/Pagination/paginationStyles.d.ts +1 -1
  52. package/dist/components/core/Popover/popoverStyles.d.ts +1 -1
  53. package/dist/components/core/ProgressBar/progressBarAPI.d.ts +0 -2
  54. package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +1 -1
  55. package/dist/components/core/ProgressBar/progressBarStyles.d.ts +1 -5
  56. package/dist/components/core/ProgressBar/progressBarTypes.d.ts +3 -2
  57. package/dist/components/core/ProgressBar/useProgressBarTrackState.d.ts +1 -1
  58. package/dist/components/core/Radio/radioStyles.d.ts +5 -4
  59. package/dist/components/core/Ripple/Ripple.d.ts +4 -0
  60. package/dist/components/core/Select/selectStyles.d.ts +2 -2
  61. package/dist/components/core/Select/selectTypes.d.ts +0 -8
  62. package/dist/components/core/Slider/sliderStyles.d.ts +2 -1
  63. package/dist/components/core/Switch/switchStyles.d.ts +5 -5
  64. package/dist/components/core/Table/index.d.ts +2 -2
  65. package/dist/components/core/Table/tableAPI.d.ts +1 -0
  66. package/dist/components/core/Table/tableContext.d.ts +4 -0
  67. package/dist/components/core/Table/tableParts.d.ts +2 -2
  68. package/dist/components/core/Table/tableTypes.d.ts +13 -4
  69. package/dist/components/core/TextArea/textAreaStyles.d.ts +2 -4
  70. package/dist/components/core/TimeField/timeFieldStyles.d.ts +3 -6
  71. package/dist/components/core/Toast/toastAPI.d.ts +5 -0
  72. package/dist/components/core/Toast/toastStyles.d.ts +4 -4
  73. package/dist/components/core/ToggleButton/ToggleButton.d.ts +0 -1
  74. package/dist/components/core/ToggleButton/index.d.ts +0 -1
  75. package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +1 -1
  76. package/dist/components/core/ToggleButton/toggleButtonStyles.d.ts +1 -1
  77. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +1 -3
  78. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +1 -2
  79. package/dist/components/core/Tooltip/tooltipStyles.d.ts +11 -8
  80. package/dist/components/core/utils/fieldShellVariant.d.ts +7 -3
  81. package/dist/components/core/utils/glossInteractiveMotion.d.ts +1 -1
  82. package/dist/components/core/utils/gsapMotion.d.ts +17 -3
  83. package/dist/components/core/utils/hoverInteractiveLift.d.ts +2 -3
  84. package/dist/components/core/utils/hoverVariant.d.ts +1 -1
  85. package/dist/components/core/utils/modalSurfaceMotion.d.ts +1 -0
  86. package/dist/components/core/utils/motionConfig.d.ts +70 -2
  87. package/dist/components/core/utils/optionListItemStyles.d.ts +1 -1
  88. package/dist/components/core/utils/pressRipple.d.ts +2 -2
  89. package/dist/components/core/utils/reducedMotion.d.ts +11 -0
  90. package/dist/components/core/utils/runOpenAfterSqueeze.d.ts +19 -5
  91. package/dist/components/core/utils/useCollapsibleHeight.d.ts +1 -1
  92. package/dist/components/core/utils/useContainerPointerHoverHandlers.d.ts +20 -0
  93. package/dist/components/core/utils/useFieldShellHoverLift.d.ts +20 -6
  94. package/dist/components/core/utils/useFirstLevelInteractiveMotion.d.ts +1 -5
  95. package/dist/components/core/utils/useModalMotion.d.ts +45 -0
  96. package/dist/components/core/utils/usePressableElementTextMotion.d.ts +15 -7
  97. package/dist/components/core/utils/useShadowMotion.d.ts +1 -1
  98. package/dist/index.cjs +1 -1
  99. package/dist/index.d.ts +2 -2
  100. package/dist/index.js +12305 -12143
  101. package/dist/internal.cjs +1 -1
  102. package/dist/internal.d.ts +4 -2
  103. package/dist/internal.js +55 -52
  104. package/dist/theme/themeConfig.d.ts +1 -1
  105. package/dist/theme/themeDefaults.d.ts +25 -1
  106. package/dist/theme/themeScript.d.ts +2 -1
  107. package/dist/themeRuntimeContext-BGPGJ9Al.cjs +14 -0
  108. package/dist/themeRuntimeContext-D_BFeuKg.js +5691 -0
  109. package/dist/tokens/config.d.ts +4 -0
  110. package/dist/tokens/index.d.ts +1 -1
  111. package/dist/ui.css +253 -100
  112. package/package.json +4 -4
  113. package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +0 -5
  114. package/dist/components/core/Select/selectAnimations.d.ts +0 -5
  115. package/dist/themeRuntimeContext-CE8HsqSx.js +0 -7742
  116. package/dist/themeRuntimeContext-zhfbKb8L.cjs +0 -50
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ export { TextArea, type TextAreaControlProps, type TextAreaSimpleProps, type Tex
25
25
  export { ComboBox, type ComboBoxOption, type ComboBoxProps, type ComboBoxSimpleProps, type ComboBoxHintProps, type ComboBoxErrorProps, type ComboBoxInputGroupProps, type ComboBoxInputProps, type ComboBoxTriggerProps, type ComboBoxPopoverProps, type ComboBoxClassNames, } from './components/core/ComboBox';
26
26
  export { useComboBoxContext } from './components/core/ComboBox/comboBoxContext';
27
27
  export { Select, type SelectOption, type SelectProps, type SelectSimpleProps, type SelectHintProps, type SelectErrorProps, type SelectTriggerGroupProps, type SelectValueProps, type SelectTriggerProps, type SelectPopoverProps, type SelectClassNames, } from './components/core/Select';
28
- export { ListBox, useListBox, type ListBoxProps, type ListBoxSectionProps, type ListBoxHeaderProps, type ListBoxSeparatorProps, type ListBoxEmptyProps, type ListBoxItemProps, type ListBoxLabelProps, type ListBoxHintProps, type ListBoxIconProps, type ListBoxItemIndicatorProps, type ListBoxSize, type ListBoxVariant, type ListBoxClassNames, } from './components/core/ListBox';
28
+ export { ListBox, useListBox, useListBoxActiveValue, type ListBoxProps, type ListBoxSectionProps, type ListBoxHeaderProps, type ListBoxSeparatorProps, type ListBoxEmptyProps, type ListBoxItemProps, type ListBoxLabelProps, type ListBoxHintProps, type ListBoxIconProps, type ListBoxItemIndicatorProps, type ListBoxSize, type ListBoxVariant, type ListBoxClassNames, } from './components/core/ListBox';
29
29
  export { Checkbox, type CheckboxProps, type CheckboxControlProps, type CheckboxIndicatorProps, type CheckboxContentProps, type CheckboxLabelProps, type CheckboxHintProps, type CheckboxErrorProps, type CheckboxVariant, type CheckboxSize, type CheckboxClassNames, } from './components/core/Checkbox';
30
30
  export { SelectionIndicator, type SelectionIndicatorProps, type SelectionIndicatorClassNames, type SelectionIndicatorFillProps, type SelectionIndicatorMarkProps, type SelectionIndicatorSize, type SelectionIndicatorVariant, } from './components/core/SelectionIndicator';
31
31
  export { SelectionThumb, type SelectionThumbProps, type SelectionThumbIconProps, type SelectionThumbClassNames, type SelectionThumbIconClassNames, } from './components/core/SelectionThumb';
@@ -49,7 +49,7 @@ export { Surface, type SurfaceProps, type SurfaceVariant, type SurfaceShadow, ty
49
49
  export { Dropdown, type DropdownProps, type DropdownTriggerProps, type DropdownPopoverProps, type DropdownGroupProps, type DropdownLabelProps, type DropdownSeparatorProps, type DropdownItemProps, type DropdownItemLabelProps, type DropdownItemHintProps, type DropdownItemIconProps, type DropdownItemIndicatorProps, type DropdownItemStatus, type DropdownSubProps, type DropdownSubTriggerProps, type DropdownSubContentProps, type DropdownClassNames, } from './components/core/Dropdown';
50
50
  export { Badge, type BadgeProps, type BadgeVariant, type BadgeStatus, type BadgeSize, type BadgePlacement, type BadgeIconPosition, type BadgeInlineIconPosition, type BadgeClassNames, type BadgeAnchorProps, } from './components/core/Badge';
51
51
  export { Kbd, type KbdProps, type KbdVariant, type KbdSize, type KbdClassNames, type KbdGroupProps, } from './components/core/Kbd';
52
- export { configureMotion, getMotionConfig, MOTION_CONFIG_DEFAULTS, type MotionConfig, } from './components/core/utils/motionConfig';
52
+ export { configureMotion, getMotionConfig, isMotionEnabled, isMotionFeatureEnabled, MOTION_CONFIG_DEFAULTS, type MotionConfig, type MotionFeatureFlag, } from './components/core/utils/motionConfig';
53
53
  export { colorToken, tokensConfig, designTokenNames, burneShadowScale, shadowToken, SHADOW_CSS_VAR, burneFontWeightScale, fontWeightToken, FONT_WEIGHT_CSS_VAR, FONT_WEIGHT_DEFAULTS, burneZIndexScale, zIndexToken, Z_INDEX_CSS_VAR, Z_INDEX_DEFAULTS, NARROW_VIEWPORT_MAX_PX, TOUCH_OR_NARROW_VIEWPORT_MQL, TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER, TOAST_SCRIM_CSS_VAR, TOAST_SCRIM_DEFAULTS, toastScrimToken, OVERLAY_BACKDROP_CSS_VAR, OVERLAY_BACKDROP_DEFAULTS, overlayBackdropToken, type ColorTokenSuffix, type TokensConfig, type DesignCssVar, type ShadowSize, type ShadowLevel, type FontWeightStep, type ZIndexLayer, type ToastScrimCssVar, type OverlayBackdropCssVar, } from './tokens';
54
54
  export { Table, TABLE_ROW_TONE_SURFACE, type TableProps, type TableVariant, type TableRowTone, type TableScrollContainerProps, type TableContentProps, type TableHeaderProps, type TableHeaderRowProps, type TableColumnProps, type TableColumnRenderProps, type TableBodyProps, type TableRowProps, type TableCellProps, type TableFooterProps, type TableClassNames, type SortDescriptor, type SortDirection, type SelectionMode, type Selection, } from './components/core/Table';
55
55
  export { Calendar, EN_LOCALE, useCalendar, type CalendarProps, type CalendarHeaderProps, type CalendarGridProps, type CalendarFooterProps, type CalendarMode, type CalendarView, type CalendarVariant, type CalendarSize, type CalendarRangeValue, type CalendarLocale, type CalendarClassNames, } from './components/core/Calendar';