bits-ui 0.13.5 → 0.13.6

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.
@@ -20,7 +20,7 @@ export function setCtx(props) {
20
20
  const { NAME: POPOVER_NAME, PARTS: POPOVER_PARTS } = getPopoverData();
21
21
  const getPopoverAttrs = createBitAttrs(POPOVER_NAME, POPOVER_PARTS);
22
22
  const datePicker = {
23
- ...createDatePicker(removeUndefined(props)),
23
+ ...createDatePicker({ ...removeUndefined(props), forceVisible: true }),
24
24
  getCalendarAttrs,
25
25
  getFieldAttrs,
26
26
  getPopoverAttrs
@@ -20,7 +20,7 @@ export function setCtx(props) {
20
20
  const { NAME: POPOVER_NAME, PARTS: POPOVER_PARTS } = getPopoverData();
21
21
  const getPopoverAttrs = createBitAttrs(POPOVER_NAME, POPOVER_PARTS);
22
22
  const dateRangePicker = {
23
- ...createDateRangePicker(removeUndefined(props)),
23
+ ...createDateRangePicker({ ...removeUndefined(props), forceVisible: true }),
24
24
  getCalendarAttrs,
25
25
  getFieldAttrs,
26
26
  getPopoverAttrs
@@ -20,7 +20,10 @@ export function getDialogData() {
20
20
  export function setCtx(props) {
21
21
  const { NAME, PARTS } = getDialogData();
22
22
  const getAttrs = createBitAttrs(NAME, PARTS);
23
- const dialog = { ...createDialog({ ...removeUndefined(props), role: "dialog" }), getAttrs };
23
+ const dialog = {
24
+ ...createDialog({ ...removeUndefined(props), role: "dialog", forceVisible: true }),
25
+ getAttrs
26
+ };
24
27
  setContext(NAME, dialog);
25
28
  return {
26
29
  ...dialog,
@@ -33,7 +33,10 @@ export function setCtx(
33
33
  props) {
34
34
  const { NAME, PARTS } = getSelectData();
35
35
  const getAttrs = createBitAttrs(NAME, PARTS);
36
- const select = { ...createSelect(removeUndefined(props)), getAttrs };
36
+ const select = {
37
+ ...createSelect({ ...removeUndefined(props), forceVisible: true }),
38
+ getAttrs
39
+ };
37
40
  setContext(NAME, select);
38
41
  return {
39
42
  ...select,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "0.13.5",
3
+ "version": "0.13.6",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "exports": {