@jobber/components 8.23.0 → 8.23.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.
Files changed (134) hide show
  1. package/dist/Autocomplete/index.cjs +1 -1
  2. package/dist/Autocomplete/index.mjs +1 -1
  3. package/dist/Card/index.cjs +4 -4
  4. package/dist/Card/index.mjs +4 -4
  5. package/dist/Chip/index.cjs +1 -1
  6. package/dist/Chip/index.mjs +1 -1
  7. package/dist/Chips/InternalChipDismissible/hooks/index.cjs +1 -1
  8. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
  9. package/dist/Chips/InternalChipDismissible/index.cjs +1 -1
  10. package/dist/Chips/InternalChipDismissible/index.mjs +1 -1
  11. package/dist/Chips/index.cjs +1 -1
  12. package/dist/Chips/index.mjs +1 -1
  13. package/dist/ComboboxChipRemove-cjs.js +668 -379
  14. package/dist/ComboboxChipRemove-es.js +508 -219
  15. package/dist/ConfirmationModal/index.cjs +1 -1
  16. package/dist/ConfirmationModal/index.mjs +1 -1
  17. package/dist/DataDump/index.cjs +4 -4
  18. package/dist/DataDump/index.mjs +4 -4
  19. package/dist/DataList/components/DataListActions/index.cjs +1 -1
  20. package/dist/DataList/components/DataListActions/index.mjs +1 -1
  21. package/dist/DataList/components/DataListBulkActions/index.cjs +1 -1
  22. package/dist/DataList/components/DataListBulkActions/index.mjs +1 -1
  23. package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +1 -1
  24. package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +1 -1
  25. package/dist/DataList/components/DataListFilters/index.cjs +1 -1
  26. package/dist/DataList/components/DataListFilters/index.mjs +1 -1
  27. package/dist/DataList/components/DataListHeader/index.cjs +1 -1
  28. package/dist/DataList/components/DataListHeader/index.mjs +1 -1
  29. package/dist/DataList/components/DataListItem/index.cjs +1 -1
  30. package/dist/DataList/components/DataListItem/index.mjs +1 -1
  31. package/dist/DataList/components/DataListItemActions/index.cjs +1 -1
  32. package/dist/DataList/components/DataListItemActions/index.mjs +1 -1
  33. package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +1 -1
  34. package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +1 -1
  35. package/dist/DataList/components/DataListItems/index.cjs +1 -1
  36. package/dist/DataList/components/DataListItems/index.mjs +1 -1
  37. package/dist/DataList/components/DataListLayout/index.cjs +1 -1
  38. package/dist/DataList/components/DataListLayout/index.mjs +1 -1
  39. package/dist/DataList/components/DataListLayoutActions/index.cjs +1 -1
  40. package/dist/DataList/components/DataListLayoutActions/index.mjs +1 -1
  41. package/dist/DataList/index.cjs +1 -1
  42. package/dist/DataList/index.mjs +1 -1
  43. package/dist/DatePicker/index.cjs +1 -1
  44. package/dist/DatePicker/index.mjs +1 -1
  45. package/dist/Dialog/index.cjs +3 -3
  46. package/dist/Dialog/index.mjs +3 -3
  47. package/dist/DrawerDescription-cjs.js +32 -33
  48. package/dist/DrawerDescription-es.js +19 -20
  49. package/dist/DrawerTitle-cjs.js +7 -5
  50. package/dist/DrawerTitle-es.js +7 -5
  51. package/dist/FilterPicker/components/FilterPickerActivator/index.cjs +1 -1
  52. package/dist/FilterPicker/components/FilterPickerActivator/index.mjs +1 -1
  53. package/dist/FilterPicker/components/FilterPickerContent/index.cjs +1 -1
  54. package/dist/FilterPicker/components/FilterPickerContent/index.mjs +1 -1
  55. package/dist/FilterPicker/components/FilterPickerTrigger/index.cjs +1 -1
  56. package/dist/FilterPicker/components/FilterPickerTrigger/index.mjs +1 -1
  57. package/dist/FilterPicker/index.cjs +1 -1
  58. package/dist/FilterPicker/index.mjs +1 -1
  59. package/dist/FormFieldWrapper-cjs.js +2 -2
  60. package/dist/FormFieldWrapper-es.js +2 -2
  61. package/dist/FormatFile/index.cjs +1 -1
  62. package/dist/FormatFile/index.mjs +1 -1
  63. package/dist/Gallery/index.cjs +1 -1
  64. package/dist/Gallery/index.mjs +1 -1
  65. package/dist/InputDate/index.cjs +1 -1
  66. package/dist/InputDate/index.mjs +1 -1
  67. package/dist/InputNumberExperimental-cjs.js +319 -102
  68. package/dist/InputNumberExperimental-es.js +321 -104
  69. package/dist/LightBox/index.cjs +1 -1
  70. package/dist/LightBox/index.mjs +1 -1
  71. package/dist/Menu/index.cjs +4 -4
  72. package/dist/Menu/index.mjs +4 -4
  73. package/dist/MenuSubmenuTrigger-cjs.js +545 -498
  74. package/dist/MenuSubmenuTrigger-es.js +490 -443
  75. package/dist/Modal/index.cjs +1 -1
  76. package/dist/Modal/index.mjs +1 -1
  77. package/dist/NumberFieldInput-cjs.js +609 -496
  78. package/dist/NumberFieldInput-es.js +612 -498
  79. package/dist/Page/index.cjs +4 -4
  80. package/dist/Page/index.mjs +4 -4
  81. package/dist/Popover/index.cjs +1 -1
  82. package/dist/Popover/index.mjs +1 -1
  83. package/dist/ScrollAreaViewport-cjs.js +326 -601
  84. package/dist/ScrollAreaViewport-es.js +278 -548
  85. package/dist/SelectGroupLabel-cjs.js +494 -528
  86. package/dist/SelectGroupLabel-es.js +411 -445
  87. package/dist/Separator-cjs.js +1 -0
  88. package/dist/Separator-es.js +1 -0
  89. package/dist/Tooltip/index.cjs +1 -1
  90. package/dist/Tooltip/index.mjs +1 -1
  91. package/dist/docs/InputTime/InputTime.md +8 -0
  92. package/dist/docs/SelectPrimitive/SelectPrimitive.md +38 -25
  93. package/dist/floating-ui.react-cjs.js +586 -10
  94. package/dist/floating-ui.react-dom-cjs.js +92 -92
  95. package/dist/floating-ui.react-dom-es.js +1 -1
  96. package/dist/floating-ui.react-es.js +580 -4
  97. package/dist/floating-ui.utils-cjs.js +159 -0
  98. package/dist/floating-ui.utils-es.js +136 -0
  99. package/dist/index.cjs +4 -4
  100. package/dist/index.mjs +4 -4
  101. package/dist/{ToolbarRootContext-cjs.js → isElementDisabled-cjs.js} +5 -0
  102. package/dist/{ToolbarRootContext-es.js → isElementDisabled-es.js} +5 -1
  103. package/dist/primitives/BottomSheet/index.cjs +3 -3
  104. package/dist/primitives/BottomSheet/index.mjs +3 -3
  105. package/dist/primitives/ComboboxPrimitive/index.cjs +2 -2
  106. package/dist/primitives/ComboboxPrimitive/index.mjs +2 -2
  107. package/dist/primitives/InputNumberExperimental/index.cjs +1 -1
  108. package/dist/primitives/InputNumberExperimental/index.mjs +1 -1
  109. package/dist/primitives/SelectPrimitive/index.cjs +5 -5
  110. package/dist/primitives/SelectPrimitive/index.mjs +5 -5
  111. package/dist/primitives/index.cjs +4 -4
  112. package/dist/primitives/index.mjs +4 -4
  113. package/dist/resolveAriaLabelledBy-cjs.js +5 -0
  114. package/dist/resolveAriaLabelledBy-es.js +5 -1
  115. package/dist/{CSPContext-cjs.js → scrollEdges-cjs.js} +30 -2
  116. package/dist/{CSPContext-es.js → scrollEdges-es.js} +28 -3
  117. package/dist/styles.css +9 -3
  118. package/dist/unstyledPrimitives/index.cjs +1217 -639
  119. package/dist/unstyledPrimitives/index.mjs +1163 -585
  120. package/dist/useButton-cjs.js +283 -317
  121. package/dist/useButton-es.js +277 -298
  122. package/dist/useCompositeListItem-cjs.js +328 -279
  123. package/dist/useCompositeListItem-es.js +293 -246
  124. package/dist/useLabel-cjs.js +11 -1
  125. package/dist/useLabel-es.js +11 -2
  126. package/dist/useLabelableId-cjs.js +37 -91
  127. package/dist/useLabelableId-es.js +37 -90
  128. package/dist/useRenderElement-cjs.js +81 -26
  129. package/dist/useRenderElement-es.js +81 -27
  130. package/dist/{InternalBackdrop-cjs.js → useScrollLock-cjs.js} +1286 -1220
  131. package/dist/{InternalBackdrop-es.js → useScrollLock-es.js} +1250 -1207
  132. package/package.json +3 -3
  133. package/dist/index.esm-cjs.js +0 -738
  134. package/dist/index.esm-es.js +0 -712
@@ -33,6 +33,7 @@ const Separator = /*#__PURE__*/React__namespace.forwardRef(function SeparatorCom
33
33
  className,
34
34
  render,
35
35
  orientation = 'horizontal',
36
+ style,
36
37
  ...elementProps
37
38
  } = componentProps;
38
39
  const state = {
@@ -12,6 +12,7 @@ const Separator = /*#__PURE__*/React.forwardRef(function SeparatorComponent(comp
12
12
  className,
13
13
  render,
14
14
  orientation = 'horizontal',
15
+ style,
15
16
  ...elementProps
16
17
  } = componentProps;
17
18
  const state = {
@@ -5,7 +5,7 @@ require('react');
5
5
  require('classnames');
6
6
  require('../floating-ui.react-cjs.js');
7
7
  require('../floating-ui.utils.dom-cjs.js');
8
- require('../index.esm-cjs.js');
8
+ require('../floating-ui.utils-cjs.js');
9
9
  require('react/jsx-runtime');
10
10
  require('react-dom');
11
11
  require('../floating-ui.react-dom-cjs.js');
@@ -3,7 +3,7 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../floating-ui.react-es.js';
5
5
  import '../floating-ui.utils.dom-es.js';
6
- import '../index.esm-es.js';
6
+ import '../floating-ui.utils-es.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom';
9
9
  import '../floating-ui.react-dom-es.js';
@@ -29,6 +29,14 @@ number automatically fills in the rest of the time. For example, typing `2` will
29
29
  fill in `2:00 PM` and typing `1` waits for a few milliseconds in case the user
30
30
  wants to type `10`, `11`, or `12`.
31
31
 
32
+ ## Sizes and the placeholder
33
+
34
+ Consistent with other inputs, `size="small"` does not show the floating mini
35
+ label. The placeholder appears while the field is empty and unfocused, and is
36
+ hidden while the field is being edited or has a value, keeping the field at its
37
+ small height throughout. The default and `large` sizes float the placeholder up
38
+ as a mini label while editing or once a value is set.
39
+
32
40
 
33
41
  ## Props
34
42
 
@@ -192,20 +192,22 @@ Base UI.
192
192
 
193
193
  | Prop | Type | Required | Default | Description |
194
194
  |------|------|----------|---------|-------------|
195
- | `className` | `string | ((state: SelectPortalState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
195
+ | `className` | `string | ((state: SelectPortalState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
196
196
  | `container` | `HTMLElement | ShadowRoot | RefObject<HTMLElement | ShadowRoot>` | No | — | A parent element to render the portal element into. |
197
197
  | `ref` | `Ref<HTMLDivElement>` | No | — | Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (... |
198
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPortalState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
198
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPortalState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
199
+ | `style` | `CSSProperties | ((state: SelectPortalState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
199
200
 
200
201
  #### Root
201
202
 
202
203
  | Prop | Type | Required | Default | Description |
203
204
  |------|------|----------|---------|-------------|
204
- | `actionsRef` | `RefObject<SelectRootActions>` | No | — | A ref to imperative actions. - `unmount`: When specified, the select will not be unmounted when closed. Instead, the ... |
205
+ | `actionsRef` | `RefObject<SelectRootActions>` | No | — | A ref to imperative actions. - `unmount`: Manually unmounts the select. Call this after any externally controlled clo... |
205
206
  | `autoComplete` | `string` | No | — | Provides a hint to the browser for autofill. @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attribu... |
206
207
  | `defaultOpen` | `boolean` | No | `false` | Whether the select popup is initially open. To render a controlled select popup, use the `open` prop instead. |
207
- | `defaultValue` | `SelectValueType<Value, Multiple>` | No | — | The uncontrolled value of the select when its initially rendered. To render a controlled select, use the `value` pr... |
208
+ | `defaultValue` | `SelectValueType<Value, Multiple>` | No | — | The uncontrolled value of the select when it's initially rendered. To render a controlled select, use the `value` pr... |
208
209
  | `disabled` | `boolean` | No | `false` | Whether the component should ignore user interaction. |
210
+ | `form` | `string` | No | — | Identifies the form that owns the hidden input. Useful when the select is rendered outside the form. |
209
211
  | `highlightItemOnHover` | `boolean` | No | `true` | Whether moving the pointer over items should highlight them. Disabling this prop allows CSS `:hover` to be differenti... |
210
212
  | `id` | `string` | No | — | The id of the Select. |
211
213
  | `inputRef` | `Ref<HTMLInputElement>` | No | — | A ref to access the hidden input element. |
@@ -228,56 +230,63 @@ Base UI.
228
230
 
229
231
  | Prop | Type | Required | Default | Description |
230
232
  |------|------|----------|---------|-------------|
231
- | `className` | `string | ((state: SelectGroupState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
232
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectGroupState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
233
+ | `className` | `string | ((state: SelectGroupState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
234
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectGroupState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
235
+ | `style` | `CSSProperties | ((state: SelectGroupState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
233
236
 
234
237
  #### SelectPrimitiveGroupLabel
235
238
 
236
239
  | Prop | Type | Required | Default | Description |
237
240
  |------|------|----------|---------|-------------|
238
- | `className` | `string | ((state: SelectGroupLabelState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
239
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectGroupLabelState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
241
+ | `className` | `string | ((state: SelectGroupLabelState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
242
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectGroupLabelState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
243
+ | `style` | `CSSProperties | ((state: SelectGroupLabelState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
240
244
 
241
245
  #### SelectPrimitiveItem
242
246
 
243
247
  | Prop | Type | Required | Default | Description |
244
248
  |------|------|----------|---------|-------------|
245
- | `className` | `string | ((state: SelectItemState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
249
+ | `className` | `string | ((state: SelectItemState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
246
250
  | `disabled` | `boolean` | No | `false` | Whether the component should ignore user interaction. |
247
251
  | `label` | `string` | No | — | Specifies the text label to use when the item is matched during keyboard text navigation. Defaults to the item text ... |
248
252
  | `nativeButton` | `boolean` | No | `true` | Whether the component renders a native `<button>` element when replacing it via the `render` prop. Set to `false` if ... |
249
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
253
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
254
+ | `style` | `CSSProperties | ((state: SelectItemState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
250
255
  | `value` | `any` | No | `null` | A unique value that identifies this select item. |
251
256
 
252
257
  #### SelectPrimitiveItemIndicator
253
258
 
254
259
  | Prop | Type | Required | Default | Description |
255
260
  |------|------|----------|---------|-------------|
256
- | `className` | `string | ((state: SelectItemIndicatorState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
261
+ | `className` | `string | ((state: SelectItemIndicatorState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
257
262
  | `keepMounted` | `boolean` | No | — | Whether to keep the HTML element in the DOM when the item is not selected. |
258
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemIndicatorState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
263
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemIndicatorState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
264
+ | `style` | `CSSProperties | ((state: SelectItemIndicatorState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
259
265
 
260
266
  #### SelectPrimitiveItemText
261
267
 
262
268
  | Prop | Type | Required | Default | Description |
263
269
  |------|------|----------|---------|-------------|
264
- | `className` | `string | ((state: SelectItemTextState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
265
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemTextState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
270
+ | `className` | `string | ((state: SelectItemTextState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
271
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectItemTextState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
272
+ | `style` | `CSSProperties | ((state: SelectItemTextState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
266
273
 
267
274
  #### SelectPrimitiveList
268
275
 
269
276
  | Prop | Type | Required | Default | Description |
270
277
  |------|------|----------|---------|-------------|
271
- | `className` | `string | ((state: SelectListState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
272
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectListState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
278
+ | `className` | `string | ((state: SelectListState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
279
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectListState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
280
+ | `style` | `CSSProperties | ((state: SelectListState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
273
281
 
274
282
  #### SelectPrimitivePopup
275
283
 
276
284
  | Prop | Type | Required | Default | Description |
277
285
  |------|------|----------|---------|-------------|
278
- | `className` | `string | ((state: SelectPopupState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
286
+ | `className` | `string | ((state: SelectPopupState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
279
287
  | `finalFocus` | `boolean | RefObject<HTMLElement> | ((closeType: InteractionType) => boolean | void | HTMLElement)` | No | — | Determines the element to focus when the select popup is closed. - `false`: Do not move focus. - `true`: Move focus ... |
280
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPopupState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
288
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPopupState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
289
+ | `style` | `CSSProperties | ((state: SelectPopupState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
281
290
 
282
291
  #### SelectPrimitivePositioner
283
292
 
@@ -288,16 +297,17 @@ Base UI.
288
297
  | `alignOffset` | `OffsetFunction | number` | No | `0` | Additional offset along the alignment axis in pixels. Also accepts a function that returns the offset to read the dim... |
289
298
  | `anchor` | `Element | RefObject<Element> | VirtualElement | (() => Element | VirtualElement)` | No | — | An element to position the popup against. By default, the popup will be positioned against the trigger. |
290
299
  | `arrowPadding` | `number` | No | `5` | Minimum distance to maintain between the arrow and the edges of the popup. Use it to prevent the arrow element from ... |
291
- | `className` | `string | ((state: SelectPositionerState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
300
+ | `className` | `string | ((state: SelectPositionerState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
292
301
  | `collisionAvoidance` | `CollisionAvoidance` | No | — | Determines how to handle collisions when positioning the popup. `side` controls overflow on the preferred placement ... |
293
302
  | `collisionBoundary` | `Boundary` | No | `'clipping-ancestors'` | An element or a rectangle that delimits the area that the popup is confined to. |
294
303
  | `collisionPadding` | `Padding` | No | `5` | Additional space to maintain from the edge of the collision boundary. |
295
304
  | `disableAnchorTracking` | `boolean` | No | `false` | Whether to disable the popup from tracking any layout shift of its positioning anchor. |
296
305
  | `positionMethod` | `"absolute" | "fixed"` | No | `'absolute'` | Determines which CSS `position` property to use. |
297
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPositionerState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
306
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectPositionerState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
298
307
  | `side` | `Side` | No | `'bottom'` | Which side of the anchor element to align the popup against. May automatically change to avoid collisions. |
299
308
  | `sideOffset` | `OffsetFunction | number` | No | `6` | Distance between the anchor and the popup in pixels. Also accepts a function that returns the distance to read the di... |
300
309
  | `sticky` | `boolean` | No | `false` | Whether to maintain the popup in the viewport after the anchor element was scrolled out of view. |
310
+ | `style` | `CSSProperties | ((state: SelectPositionerState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
301
311
 
302
312
  #### SelectPrimitiveSeparator
303
313
 
@@ -305,22 +315,25 @@ Base UI.
305
315
  |------|------|----------|---------|-------------|
306
316
  | `className` | `string` | No | — | |
307
317
  | `orientation` | `Orientation` | No | `'horizontal'` | The orientation of the separator. |
308
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SeparatorState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
318
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SeparatorState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
319
+ | `style` | `CSSProperties | ((state: SeparatorState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
309
320
 
310
321
  #### SelectPrimitiveTrigger
311
322
 
312
323
  | Prop | Type | Required | Default | Description |
313
324
  |------|------|----------|---------|-------------|
314
- | `className` | `string | ((state: SelectTriggerState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
325
+ | `className` | `string | ((state: SelectTriggerState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
315
326
  | `disabled` | `boolean` | No | — | Whether the component should ignore user interaction. |
316
327
  | `nativeButton` | `boolean` | No | `true` | Whether the component renders a native `<button>` element when replacing it via the `render` prop. Set to `false` if ... |
317
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectTriggerState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
328
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectTriggerState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
329
+ | `style` | `CSSProperties | ((state: SelectTriggerState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |
318
330
 
319
331
  #### SelectPrimitiveValue
320
332
 
321
333
  | Prop | Type | Required | Default | Description |
322
334
  |------|------|----------|---------|-------------|
323
335
  | `children` | `ReactNode | ((value: any) => ReactNode)` | No | — | Accepts a function that returns a `ReactNode` to format the selected value. @example ```tsx <Select.Value> {(value:... |
324
- | `className` | `string | ((state: SelectValueState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the components state. |
336
+ | `className` | `string | ((state: SelectValueState) => string)` | No | — | CSS class applied to the element, or a function that returns a class based on the component's state. |
325
337
  | `placeholder` | `ReactNode` | No | — | The placeholder value to display when no value is selected. This is overridden by `children` if specified, or by a nu... |
326
- | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectValueState>` | No | — | Allows you to replace the components HTML element with a different tag, or compose it with another component. Accep... |
338
+ | `render` | `ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, SelectValueState>` | No | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accep... |
339
+ | `style` | `CSSProperties | ((state: SelectValueState) => CSSProperties)` | No | — | Style applied to the element, or a function that returns a style object based on the component's state. |