@unofficialbox/box-open-elements 0.17.0 → 0.19.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 (146) hide show
  1. package/dist/components/actions/button-group.js +6 -0
  2. package/dist/components/actions/button.js +6 -0
  3. package/dist/components/actions/icon-button.js +6 -0
  4. package/dist/components/actions/link-button.js +6 -0
  5. package/dist/components/actions/menu-item.js +6 -0
  6. package/dist/components/actions/menu.js +6 -0
  7. package/dist/components/actions/segmented-control.js +6 -0
  8. package/dist/components/actions/toolbar.js +6 -0
  9. package/dist/components/collections/card.js +6 -0
  10. package/dist/components/collections/carousel.js +6 -0
  11. package/dist/components/collections/datalist-item.js +6 -0
  12. package/dist/components/collections/draggable-list.js +6 -0
  13. package/dist/components/collections/grid-view.js +6 -0
  14. package/dist/components/collections/pagination.js +6 -0
  15. package/dist/components/collections/table.js +6 -0
  16. package/dist/components/collections/thumbnail-card.js +6 -0
  17. package/dist/components/collections/tree-grid.js +6 -0
  18. package/dist/components/collections/tree.js +6 -0
  19. package/dist/components/feedback/alert.js +1 -1
  20. package/dist/components/feedback/badge.js +1 -1
  21. package/dist/components/feedback/badgeable.js +6 -0
  22. package/dist/components/feedback/chip.js +6 -0
  23. package/dist/components/feedback/due-badge.js +6 -0
  24. package/dist/components/feedback/empty-state.js +6 -0
  25. package/dist/components/feedback/error-mask.js +6 -0
  26. package/dist/components/feedback/help-text.js +6 -0
  27. package/dist/components/feedback/indicator.js +1 -1
  28. package/dist/components/feedback/nudge.js +6 -0
  29. package/dist/components/feedback/path.js +6 -0
  30. package/dist/components/feedback/progress-bar.js +6 -0
  31. package/dist/components/feedback/progress-ring.js +6 -0
  32. package/dist/components/feedback/progress-steps.js +6 -0
  33. package/dist/components/feedback/skeleton.js +6 -0
  34. package/dist/components/feedback/spinner.js +6 -0
  35. package/dist/components/feedback/toast.js +1 -1
  36. package/dist/components/files/drop-zone.d.ts +26 -5
  37. package/dist/components/files/drop-zone.js +181 -22
  38. package/dist/components/forms/calendar.js +6 -0
  39. package/dist/components/forms/category-selector.js +6 -0
  40. package/dist/components/forms/checkbox-group.js +6 -0
  41. package/dist/components/forms/checkbox.js +6 -0
  42. package/dist/components/forms/color-picker.js +6 -0
  43. package/dist/components/forms/combobox.js +6 -0
  44. package/dist/components/forms/date-field.js +6 -0
  45. package/dist/components/forms/dropdown.js +6 -0
  46. package/dist/components/forms/dual-listbox.js +6 -0
  47. package/dist/components/forms/fieldset.js +6 -0
  48. package/dist/components/forms/multi-select.js +6 -0
  49. package/dist/components/forms/number-input.js +6 -0
  50. package/dist/components/forms/pill-cloud.js +6 -0
  51. package/dist/components/forms/pill-selector-dropdown.js +6 -0
  52. package/dist/components/forms/radio-group.js +6 -0
  53. package/dist/components/forms/range-slider.js +6 -0
  54. package/dist/components/forms/rating.js +6 -0
  55. package/dist/components/forms/rich-text-input.js +6 -0
  56. package/dist/components/forms/search-field.js +6 -0
  57. package/dist/components/forms/select.js +6 -0
  58. package/dist/components/forms/slider.js +6 -0
  59. package/dist/components/forms/spin-button.js +6 -0
  60. package/dist/components/forms/switch.js +6 -0
  61. package/dist/components/forms/tag-input.js +6 -0
  62. package/dist/components/forms/text-area.js +6 -0
  63. package/dist/components/forms/text-field.js +6 -0
  64. package/dist/components/forms/tile-group.js +1 -1
  65. package/dist/components/forms/time-field.js +6 -0
  66. package/dist/components/identity/avatar.js +6 -0
  67. package/dist/components/identity/contact-datalist-item.js +6 -0
  68. package/dist/components/identity/persona.js +6 -0
  69. package/dist/components/layout/app-shell.js +6 -0
  70. package/dist/components/layout/divider.js +6 -0
  71. package/dist/components/layout/grid.js +1 -1
  72. package/dist/components/layout/nav-sidebar.js +6 -0
  73. package/dist/components/layout/section.js +6 -0
  74. package/dist/components/layout/sidebar-toggle-button.js +6 -0
  75. package/dist/components/layout/split-view.js +6 -0
  76. package/dist/components/navigation/accordion.js +6 -0
  77. package/dist/components/navigation/breadcrumb.js +6 -0
  78. package/dist/components/navigation/tabs.js +6 -0
  79. package/dist/components/output/code-block.js +1 -1
  80. package/dist/components/output/formatted-value.js +1 -1
  81. package/dist/components/overlays/command-palette.js +6 -0
  82. package/dist/components/overlays/context-menu.js +6 -0
  83. package/dist/components/overlays/guide-tooltip.js +6 -0
  84. package/dist/components/overlays/popover.js +6 -0
  85. package/dist/components/overlays/shortcuts-overlay.js +6 -0
  86. package/dist/components/overlays/tooltip.js +6 -0
  87. package/dist/components/visuals/illustration.js +6 -0
  88. package/dist/foundations/tokens/box-defaults.js +36 -0
  89. package/dist/patterns/agent-chat/agent-chat.js +6 -0
  90. package/dist/patterns/audit/activity-density.js +6 -0
  91. package/dist/patterns/audit/audit-log.js +6 -0
  92. package/dist/patterns/comments/comment-thread.js +6 -0
  93. package/dist/patterns/content-explorer/adapters/action-menu.js +6 -0
  94. package/dist/patterns/content-explorer/adapters/breadcrumbs.js +6 -0
  95. package/dist/patterns/content-explorer/adapters/list.js +6 -0
  96. package/dist/patterns/content-explorer/adapters/table.js +6 -0
  97. package/dist/patterns/content-explorer/adapters/toolbar.js +6 -0
  98. package/dist/patterns/content-explorer/content-explorer.js +6 -0
  99. package/dist/patterns/content-picker/content-picker.js +6 -0
  100. package/dist/patterns/content-sidebar/content-sidebar.js +6 -0
  101. package/dist/patterns/content-uploader/content-uploader.d.ts +33 -0
  102. package/dist/patterns/content-uploader/content-uploader.js +181 -16
  103. package/dist/patterns/diff/compare-view.js +6 -0
  104. package/dist/patterns/diff/diff-viewer.js +6 -0
  105. package/dist/patterns/file-request/file-request-builder.js +6 -0
  106. package/dist/patterns/form-wizard/form-wizard.js +6 -0
  107. package/dist/patterns/form-wizard/wizard-summary.js +6 -0
  108. package/dist/patterns/governance/governance-panel.js +6 -0
  109. package/dist/patterns/insights/bar-chart.js +6 -0
  110. package/dist/patterns/insights/chart-panel.js +6 -0
  111. package/dist/patterns/insights/donut-chart.js +6 -0
  112. package/dist/patterns/insights/line-chart.js +6 -0
  113. package/dist/patterns/insights/metric-card.js +6 -0
  114. package/dist/patterns/item/bulk-action-bar.js +6 -0
  115. package/dist/patterns/item/item-details-panel.js +6 -0
  116. package/dist/patterns/item/item-form.js +6 -0
  117. package/dist/patterns/item/preview-header.js +6 -0
  118. package/dist/patterns/lineage/lineage-graph.js +6 -0
  119. package/dist/patterns/lineage/provenance-strip.js +6 -0
  120. package/dist/patterns/metadata/metadata-filter-builder.js +6 -0
  121. package/dist/patterns/metadata/metadata-inspector.js +6 -0
  122. package/dist/patterns/notifications/notification-bell.js +6 -0
  123. package/dist/patterns/notifications/notification-inbox.js +6 -0
  124. package/dist/patterns/preview/annotation-inspector.js +6 -0
  125. package/dist/patterns/preview/annotation-toolbar.js +6 -0
  126. package/dist/patterns/preview/preview-element.js +6 -0
  127. package/dist/patterns/run/run-trace.js +6 -0
  128. package/dist/patterns/search/filter-bar.js +6 -0
  129. package/dist/patterns/search/saved-view-picker.js +6 -0
  130. package/dist/patterns/search/search-results-header.js +6 -0
  131. package/dist/patterns/share/access-stats.js +6 -0
  132. package/dist/patterns/share/collaborator-avatars.js +6 -0
  133. package/dist/patterns/share/invite-collaborators-modal.js +6 -0
  134. package/dist/patterns/share/permission-matrix.js +6 -0
  135. package/dist/patterns/share/presence.js +6 -0
  136. package/dist/patterns/share/share-panel.js +6 -0
  137. package/dist/patterns/share/unified-share-modal.js +6 -0
  138. package/dist/patterns/signature/signature-ceremony.js +6 -0
  139. package/dist/patterns/task/review-queue-item.js +6 -0
  140. package/dist/patterns/task/task-assignment-panel.js +6 -0
  141. package/dist/patterns/timeline/timeline.js +6 -0
  142. package/dist/patterns/versions/version-graph.js +6 -0
  143. package/dist/patterns/versions/version-list.js +6 -0
  144. package/dist/patterns/work-queue/work-queue.js +6 -0
  145. package/dist/patterns/work-queue/workload-board.js +6 -0
  146. package/package.json +1 -1
@@ -15,6 +15,12 @@ const buttonGroupStyles = `
15
15
  font: inherit;
16
16
  }
17
17
 
18
+ /* The host's own display would otherwise beat the UA rule for [hidden],
19
+ leaving the element on screen when a host hides it. */
20
+ :host([hidden]) {
21
+ display: none !important;
22
+ }
23
+
18
24
  [part="group"] {
19
25
  display: inline-flex;
20
26
  align-items: stretch;
@@ -15,6 +15,12 @@ const buttonStyles = `
15
15
  font: inherit;
16
16
  }
17
17
 
18
+ /* The host's own display would otherwise beat the UA rule for [hidden],
19
+ leaving the element on screen when a host hides it. */
20
+ :host([hidden]) {
21
+ display: none !important;
22
+ }
23
+
18
24
  button {
19
25
  appearance: none;
20
26
  box-sizing: border-box;
@@ -16,6 +16,12 @@ const iconButtonStyles = `
16
16
  font: inherit;
17
17
  }
18
18
 
19
+ /* The host's own display would otherwise beat the UA rule for [hidden],
20
+ leaving the element on screen when a host hides it. */
21
+ :host([hidden]) {
22
+ display: none !important;
23
+ }
24
+
19
25
  [part="button"] {
20
26
  appearance: none;
21
27
  width: 2rem;
@@ -30,6 +30,12 @@ const linkButtonStyles = `
30
30
  font: inherit;
31
31
  }
32
32
 
33
+ /* The host's own display would otherwise beat the UA rule for [hidden],
34
+ leaving the element on screen when a host hides it. */
35
+ :host([hidden]) {
36
+ display: none !important;
37
+ }
38
+
33
39
  [part="link"] {
34
40
  display: inline-flex;
35
41
  align-items: center;
@@ -10,6 +10,12 @@ const menuItemStyles = `
10
10
  font: inherit;
11
11
  }
12
12
 
13
+ /* The host's own display would otherwise beat the UA rule for [hidden],
14
+ leaving the element on screen when a host hides it. */
15
+ :host([hidden]) {
16
+ display: none !important;
17
+ }
18
+
13
19
  [part="item"] {
14
20
  width: 100%;
15
21
  appearance: none;
@@ -17,6 +17,12 @@ const menuStyles = `
17
17
  font: inherit;
18
18
  }
19
19
 
20
+ /* The host's own display would otherwise beat the UA rule for [hidden],
21
+ leaving the element on screen when a host hides it. */
22
+ :host([hidden]) {
23
+ display: none !important;
24
+ }
25
+
20
26
  [part="menu"] {
21
27
  min-width: 11rem;
22
28
  margin: 0;
@@ -15,6 +15,12 @@ const segmentedControlStyles = `
15
15
  font: inherit;
16
16
  }
17
17
 
18
+ /* The host's own display would otherwise beat the UA rule for [hidden],
19
+ leaving the element on screen when a host hides it. */
20
+ :host([hidden]) {
21
+ display: none !important;
22
+ }
23
+
18
24
  [part="control"] {
19
25
  display: inline-flex;
20
26
  align-items: stretch;
@@ -18,6 +18,12 @@ const toolbarStyles = `
18
18
  font: inherit;
19
19
  }
20
20
 
21
+ /* The host's own display would otherwise beat the UA rule for [hidden],
22
+ leaving the element on screen when a host hides it. */
23
+ :host([hidden]) {
24
+ display: none !important;
25
+ }
26
+
21
27
  [part="toolbar"] {
22
28
  display: flex;
23
29
  flex-wrap: wrap;
@@ -8,6 +8,12 @@ const cardStyles = `
8
8
  font: inherit;
9
9
  }
10
10
 
11
+ /* The host's own display would otherwise beat the UA rule for [hidden],
12
+ leaving the element on screen when a host hides it. */
13
+ :host([hidden]) {
14
+ display: none !important;
15
+ }
16
+
11
17
  [part="card"] {
12
18
  display: grid;
13
19
  gap: 0.55rem;
@@ -16,6 +16,12 @@ const carouselStyles = `
16
16
  font: inherit;
17
17
  }
18
18
 
19
+ /* The host's own display would otherwise beat the UA rule for [hidden],
20
+ leaving the element on screen when a host hides it. */
21
+ :host([hidden]) {
22
+ display: none !important;
23
+ }
24
+
19
25
  [part="carousel"] {
20
26
  display: grid;
21
27
  gap: 0.55rem;
@@ -9,6 +9,12 @@ const datalistItemStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="item"] {
13
19
  display: flex;
14
20
  align-items: center;
@@ -15,6 +15,12 @@ const draggableListStyles = `
15
15
  font: inherit;
16
16
  }
17
17
 
18
+ /* The host's own display would otherwise beat the UA rule for [hidden],
19
+ leaving the element on screen when a host hides it. */
20
+ :host([hidden]) {
21
+ display: none !important;
22
+ }
23
+
18
24
  [part="list"] {
19
25
  list-style: none;
20
26
  margin: 0;
@@ -34,6 +34,12 @@ const gridViewStyles = `
34
34
  font: inherit;
35
35
  }
36
36
 
37
+ /* The host's own display would otherwise beat the UA rule for [hidden],
38
+ leaving the element on screen when a host hides it. */
39
+ :host([hidden]) {
40
+ display: none !important;
41
+ }
42
+
37
43
  [part="grid"] {
38
44
  display: grid;
39
45
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
@@ -10,6 +10,12 @@ const paginationStyles = `
10
10
  font: inherit;
11
11
  }
12
12
 
13
+ /* The host's own display would otherwise beat the UA rule for [hidden],
14
+ leaving the element on screen when a host hides it. */
15
+ :host([hidden]) {
16
+ display: none !important;
17
+ }
18
+
13
19
  [part="pagination"] {
14
20
  display: inline-flex;
15
21
  align-items: center;
@@ -22,6 +22,12 @@ const tableStyles = `
22
22
  font: inherit;
23
23
  }
24
24
 
25
+ /* The host's own display would otherwise beat the UA rule for [hidden],
26
+ leaving the element on screen when a host hides it. */
27
+ :host([hidden]) {
28
+ display: none !important;
29
+ }
30
+
25
31
  [part="shell"] {
26
32
  border: ${boePanel.border};
27
33
  border-radius: ${boeRadius.large};
@@ -10,6 +10,12 @@ const thumbnailCardStyles = `
10
10
  font: inherit;
11
11
  }
12
12
 
13
+ /* The host's own display would otherwise beat the UA rule for [hidden],
14
+ leaving the element on screen when a host hides it. */
15
+ :host([hidden]) {
16
+ display: none !important;
17
+ }
18
+
13
19
  [part="card"] {
14
20
  display: grid;
15
21
  grid-template-rows: auto auto;
@@ -25,6 +25,12 @@ const treeGridStyles = `
25
25
  font: inherit;
26
26
  }
27
27
 
28
+ /* The host's own display would otherwise beat the UA rule for [hidden],
29
+ leaving the element on screen when a host hides it. */
30
+ :host([hidden]) {
31
+ display: none !important;
32
+ }
33
+
28
34
  [part="controls"] {
29
35
  display: flex;
30
36
  justify-content: flex-end;
@@ -25,6 +25,12 @@ const treeStyles = `
25
25
  font: inherit;
26
26
  }
27
27
 
28
+ /* The host's own display would otherwise beat the UA rule for [hidden],
29
+ leaving the element on screen when a host hides it. */
30
+ :host([hidden]) {
31
+ display: none !important;
32
+ }
33
+
28
34
  [part="shell"] {
29
35
  display: grid;
30
36
  grid-template-rows: auto minmax(0, 1fr);
@@ -12,7 +12,7 @@ const alertStyles = `
12
12
  }
13
13
 
14
14
  :host([hidden]) {
15
- display: none;
15
+ display: none !important;
16
16
  }
17
17
 
18
18
  /* The accent colours the glyph only. The tinted backgrounds below are pinned
@@ -55,7 +55,7 @@ const badgeStyles = `
55
55
 
56
56
  /* Hidden when used as a count that is zero/empty with hide-when-zero. */
57
57
  :host([hidden]) {
58
- display: none;
58
+ display: none !important;
59
59
  }
60
60
 
61
61
  /* Count "pop" when the value changes (opt-in via the animate attribute). */
@@ -9,6 +9,12 @@ const badgeableStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="container"] {
13
19
  position: relative;
14
20
  display: inline-flex;
@@ -9,6 +9,12 @@ const chipStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="chip"] {
13
19
  display: inline-flex;
14
20
  align-items: center;
@@ -12,6 +12,12 @@ const elementStyles = `
12
12
  display: inline-block;
13
13
  }
14
14
 
15
+ /* The host's own display would otherwise beat the UA rule for [hidden],
16
+ leaving the element on screen when a host hides it. */
17
+ :host([hidden]) {
18
+ display: none !important;
19
+ }
20
+
15
21
  [part="badge"] {
16
22
  display: inline-flex;
17
23
  align-items: center;
@@ -10,6 +10,12 @@ const emptyStateStyles = `
10
10
  font: inherit;
11
11
  }
12
12
 
13
+ /* The host's own display would otherwise beat the UA rule for [hidden],
14
+ leaving the element on screen when a host hides it. */
15
+ :host([hidden]) {
16
+ display: none !important;
17
+ }
18
+
13
19
  [part="empty-state"] {
14
20
  display: grid;
15
21
  justify-items: center;
@@ -9,6 +9,12 @@ const errorMaskStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="error-mask"] {
13
19
  display: flex;
14
20
  flex-direction: column;
@@ -8,6 +8,12 @@ const helpTextStyles = `
8
8
  font: inherit;
9
9
  }
10
10
 
11
+ /* The host's own display would otherwise beat the UA rule for [hidden],
12
+ leaving the element on screen when a host hides it. */
13
+ :host([hidden]) {
14
+ display: none !important;
15
+ }
16
+
11
17
  [part="help-text"] {
12
18
  display: flex;
13
19
  align-items: start;
@@ -34,7 +34,7 @@ const indicatorStyles = `
34
34
  }
35
35
 
36
36
  :host([hidden]) {
37
- display: none;
37
+ display: none !important;
38
38
  }
39
39
 
40
40
  [part="shape"] {
@@ -9,6 +9,12 @@ const nudgeStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="nudge"] {
13
19
  display: flex;
14
20
  align-items: flex-start;
@@ -67,6 +67,12 @@ const elementStyles = `
67
67
  display: block;
68
68
  }
69
69
 
70
+ /* The host's own display would otherwise beat the UA rule for [hidden],
71
+ leaving the element on screen when a host hides it. */
72
+ :host([hidden]) {
73
+ display: none !important;
74
+ }
75
+
70
76
  [part="path"] {
71
77
  display: flex;
72
78
  flex-wrap: wrap;
@@ -9,6 +9,12 @@ const progressBarStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="progress"] {
13
19
  display: grid;
14
20
  gap: 0.45rem;
@@ -9,6 +9,12 @@ const progressRingStyles = `
9
9
  font: inherit;
10
10
  }
11
11
 
12
+ /* The host's own display would otherwise beat the UA rule for [hidden],
13
+ leaving the element on screen when a host hides it. */
14
+ :host([hidden]) {
15
+ display: none !important;
16
+ }
17
+
12
18
  [part="ring"] {
13
19
  display: inline-grid;
14
20
  place-items: center;
@@ -59,6 +59,12 @@ const progressStepsStyles = `
59
59
  font: inherit;
60
60
  }
61
61
 
62
+ /* The host's own display would otherwise beat the UA rule for [hidden],
63
+ leaving the element on screen when a host hides it. */
64
+ :host([hidden]) {
65
+ display: none !important;
66
+ }
67
+
62
68
  [part="steps"] {
63
69
  display: grid;
64
70
  gap: 0.55rem;
@@ -36,6 +36,12 @@ const skeletonStyles = `
36
36
 
37
37
  }
38
38
 
39
+ /* The host's own display would otherwise beat the UA rule for [hidden],
40
+ leaving the element on screen when a host hides it. */
41
+ :host([hidden]) {
42
+ display: none !important;
43
+ }
44
+
39
45
  ${boeGridGutterStyles(":host")}
40
46
 
41
47
  /* The multi-part variants are layout, so they take the full width they are
@@ -8,6 +8,12 @@ const spinnerStyles = `
8
8
  font: inherit;
9
9
  }
10
10
 
11
+ /* The host's own display would otherwise beat the UA rule for [hidden],
12
+ leaving the element on screen when a host hides it. */
13
+ :host([hidden]) {
14
+ display: none !important;
15
+ }
16
+
11
17
  [part="spinner"] {
12
18
  display: inline-flex;
13
19
  align-items: center;
@@ -18,7 +18,7 @@ const toastStyles = `
18
18
  }
19
19
 
20
20
  :host([hidden]) {
21
- display: none;
21
+ display: none !important;
22
22
  }
23
23
 
24
24
  /* Fill, text colour and shadow track box-ui-elements' .notification and are
@@ -5,8 +5,13 @@ export declare class DropZone extends BaseElement {
5
5
  private dragging;
6
6
  private zoneEl;
7
7
  private inputEl;
8
+ private folderInputEl;
8
9
  private labelEl;
9
10
  private messageEl;
11
+ private browseEl;
12
+ private folderBrowseEl;
13
+ private separatorEl;
14
+ private illustrationEl;
10
15
  get label(): string;
11
16
  set label(value: string);
12
17
  get message(): string;
@@ -14,15 +19,31 @@ export declare class DropZone extends BaseElement {
14
19
  get description(): string;
15
20
  set description(value: string);
16
21
  /**
17
- * Make the browse dialog pick a folder rather than files.
22
+ * Offer folder selection from the browse controls as well as files.
18
23
  *
19
- * Drag-and-drop reads folders regardless — a dropped directory is always
20
- * traversed. This only governs the click-to-browse path, where the platform
21
- * makes it either/or: an input is a file picker or a folder picker, never
22
- * both.
24
+ * A single `<input>` is either a file picker or a folder picker, never both —
25
+ * so this adds a *second* control backed by its own `webkitdirectory` input
26
+ * rather than converting the first, which is how box-ui-elements does it and
27
+ * means a person is never made to choose between the two.
28
+ *
29
+ * Drag-and-drop reads folders regardless; a dropped directory is always
30
+ * traversed whatever this is set to.
23
31
  */
24
32
  get directories(): boolean;
25
33
  set directories(value: boolean);
34
+ /** Text of the file-browse control. */
35
+ get browseLabel(): string;
36
+ set browseLabel(value: string);
37
+ /** Text of the folder-browse control, shown only when `directories` is set. */
38
+ get folderLabel(): string;
39
+ set folderLabel(value: string);
40
+ /**
41
+ * `"compact"` (default) keeps the small inline target; `"hero"` is the tall
42
+ * centred empty state, with room for an illustration in the `illustration`
43
+ * slot.
44
+ */
45
+ get variant(): string;
46
+ set variant(value: string);
26
47
  /**
27
48
  * What the browse dialog offers, in the `<input accept>` syntax —
28
49
  * `".pdf,.docx"` or `"image/*"`.