@eightshift/ui-components 5.0.1 → 5.0.3
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.
- package/dist/{Button-wERNNG0T.js → Button-BpwTmkAe.js} +4 -4
- package/dist/{Collection-CKsHTyhc.js → Collection-n5d0zIgb.js} +66 -31
- package/dist/{Color-BhgbJF5x.js → Color-lVhk8V_G.js} +1 -1
- package/dist/{ColorSwatch-Bcn6oRSg.js → ColorSwatch-DntWEAC3.js} +4 -4
- package/dist/{ComboBox-D1LPUwWP.js → ComboBox-BJpTEATT.js} +31 -22
- package/dist/{Dialog-D190gMbE.js → Dialog-O9uw63D7.js} +46 -27
- package/dist/{FieldError-DeUh5Wkw.js → FieldError-DHrSdE_Q.js} +2 -2
- package/dist/{FocusScope-C-plSxbS.js → FocusScope-BEPI2m7u.js} +2 -2
- package/dist/{Group-C5iZpSAM.js → Group-DDPhPPTQ.js} +3 -3
- package/dist/{Heading-D-Pboe4p.js → Heading-ba38ScjJ.js} +1 -1
- package/dist/{Input--mF4XVE1.js → Input-BmDS8Juy.js} +6 -6
- package/dist/{Label-Fp6AwSRn.js → Label-JS_ob-kh.js} +1 -1
- package/dist/{ListBox-4oW9kh3R.js → ListBox-BTxlCGcc.js} +97 -15
- package/dist/{OverlayArrow-BpB9uB_I.js → OverlayArrow-5aDgmImj.js} +3 -3
- package/dist/{Separator-B88tj5YD.js → Separator-CaTBkETC.js} +21 -12
- package/dist/{Slider-CyJzC1bp.js → Slider-C-S1oEH9.js} +10 -10
- package/dist/{Text-DRpwWot2.js → Text-BuJgePCv.js} +1 -1
- package/dist/{VisuallyHidden-DsKYcRQ_.js → VisuallyHidden-BYi0pekx.js} +2 -2
- package/dist/assets/style-admin.css +398 -142
- package/dist/assets/style-editor.css +398 -142
- package/dist/assets/style.css +398 -142
- package/dist/assets/wp-font-enhancements.css +1 -1
- package/dist/assets/wp-ui-enhancements.css +29 -10
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +18 -18
- package/dist/components/checkbox/checkbox.js +17 -14
- package/dist/components/color-pickers/color-swatch.js +4 -4
- package/dist/components/color-pickers/gradient-editor.js +3 -3
- package/dist/components/color-pickers/solid-color-picker.js +21 -21
- package/dist/components/component-toggle/component-toggle.js +0 -1
- package/dist/components/draggable/draggable.js +694 -353
- package/dist/components/expandable/expandable.js +65 -58
- package/dist/components/input-field/input-field.js +10 -10
- package/dist/components/link-input/link-input.js +22 -27
- package/dist/components/menu/menu.js +5 -5
- package/dist/components/modal/modal.js +5 -5
- package/dist/components/notice/notice.js +16 -16
- package/dist/components/number-picker/number-picker.js +10 -10
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/placeholders/file-placeholder.js +13 -6
- package/dist/components/placeholders/image-placeholder.js +2 -2
- package/dist/components/placeholders/media-placeholder.js +2 -2
- package/dist/components/popover/popover.js +2 -2
- package/dist/components/radio/radio.js +19 -16
- package/dist/components/repeater/repeater-item.js +6 -5
- package/dist/components/repeater/repeater.js +8 -3
- package/dist/components/responsive/mini-responsive.js +1 -1
- package/dist/components/select/async-multi-select.js +1 -0
- package/dist/components/select/async-single-select.js +1 -0
- package/dist/components/select/multi-select.js +1 -0
- package/dist/components/select/single-select.js +1 -0
- package/dist/components/select/styles.js +1 -1
- package/dist/components/select/v2/async-select.js +9 -9
- package/dist/components/select/v2/shared.js +2 -2
- package/dist/components/select/v2/single-select.js +35 -22
- package/dist/components/slider/column-config-slider.js +3 -3
- package/dist/components/slider/slider.js +4 -4
- package/dist/components/tabs/tabs.js +22 -23
- package/dist/components/toggle/switch.js +8 -8
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +18 -17
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/{context-BYWrbm1z.js → context-BbYZoHvX.js} +1 -1
- package/dist/icons/icons.js +124 -0
- package/dist/{index-wl5606BX.js → index-BljRBEr_.js} +1 -1
- package/dist/{textSelection-CCcyjiRP.js → textSelection-8DpK8fJl.js} +1 -1
- package/dist/{useButton-BOHxkGQF.js → useButton-Bt3BffJm.js} +3 -3
- package/dist/{useEvent-D5o_CqDH.js → useEvent-ICdlokG-.js} +1 -1
- package/dist/{useFocusRing-nMG2uzxS.js → useFocusRing-Bv0UJQl8.js} +1 -1
- package/dist/{useFormReset-DlmRL87g.js → useFormReset-D2YaWRIA.js} +1 -1
- package/dist/{useFormValidation-D0_aaK-e.js → useFormValidation-Dy0PXJg5.js} +2 -2
- package/dist/{useHover-VO5tcIli.js → useHover-C2SkI1Fn.js} +7 -2
- package/dist/{useLabel-BKH4fVA4.js → useLabel-BPCd5c7-.js} +2 -2
- package/dist/{useLabels-ntF3rFY0.js → useLabels-B7-lUnAF.js} +1 -1
- package/dist/{useListState-Cq2Nvr-v.js → useListState-DkyH7elT.js} +10 -3
- package/dist/{useLocalizedStringFormatter-CGzwx1a0.js → useLocalizedStringFormatter-C9GO0IDB.js} +1 -1
- package/dist/{useNumberField-C9dmERhP.js → useNumberField-CU1_u8ze.js} +18 -10
- package/dist/{useNumberFormatter-MrRLgvhj.js → useNumberFormatter-CZ9QUnRt.js} +1 -1
- package/dist/{usePress-DjNo5790.js → usePress-BrJylgPR.js} +21 -10
- package/dist/{useSingleSelectListState--r3AAhRj.js → useSingleSelectListState-C4sorv2p.js} +2 -2
- package/dist/{useToggle-CQaXLe-O.js → useToggle-CDa3YAZI.js} +4 -4
- package/dist/{useToggleState-C3DLdez5.js → useToggleState-ibcBUHnB.js} +1 -1
- package/dist/{utils-B94NDG0v.js → utils-CZt7LCbO.js} +41 -8
- package/package.json +24 -24
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.edit-post-header, .components-popover, .edit-post-sidebar, .wp-block-post-title, .components-select-control__input, .components-base-control__field, .components-base-control__label, .components-combobox-control__suggestions-container, .components-input-control__label, .components-input-control__input, .components-checkbox-control__label, .components-menu-group__label, .components-menu-item__button, .components-notice .components-notice__content, .components-tooltip, .components-modal__header, .preferences-modal__section-title, .preferences-modal__section-description, .block-editor-inserter__tabs, .editor-list-view-sidebar, .edit-post-layout__footer, .components-snackbar, .components-text-control__input {
|
|
3
3
|
font-family: var(--es-font-sans, "Geist Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties {
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
4
|
*, :before, :after, ::backdrop {
|
|
@@ -84,6 +84,15 @@
|
|
|
84
84
|
.block-editor-block-list__block-crash-warning {
|
|
85
85
|
border-radius: var(--es-radius-lg, .5rem) !important;
|
|
86
86
|
border-color: var(--es-color-red-700, oklch(50.5% .213 27.518)) !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
90
|
+
.block-editor-block-list__block-crash-warning {
|
|
91
|
+
border-color: color-mix(in oklab, var(--es-color-red-700, oklch(50.5% .213 27.518)) 15%, transparent) !important;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.block-editor-block-list__block-crash-warning {
|
|
87
96
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a) !important;
|
|
88
97
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
89
98
|
--tw-shadow-color: var(--es-color-red-700, oklch(50.5% .213 27.518)) !important;
|
|
@@ -91,7 +100,6 @@
|
|
|
91
100
|
|
|
92
101
|
@supports (color: color-mix(in lab, red, red)) {
|
|
93
102
|
.block-editor-block-list__block-crash-warning {
|
|
94
|
-
border-color: color-mix(in oklab, var(--es-color-red-700, oklch(50.5% .213 27.518)) 15%, transparent) !important;
|
|
95
103
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-red-700, oklch(50.5% .213 27.518)) 10%, transparent) var(--tw-shadow-alpha), transparent) !important;
|
|
96
104
|
}
|
|
97
105
|
}
|
|
@@ -104,6 +112,15 @@
|
|
|
104
112
|
border-radius: var(--es-radius-lg, .5rem) !important;
|
|
105
113
|
border-color: var(--es-color-zinc-300, oklch(87.1% .006 286.286)) !important;
|
|
106
114
|
background-color: var(--es-color-zinc-50, oklch(98.5% 0 0)) !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
118
|
+
.wp-block-missing div.block-editor-warning {
|
|
119
|
+
background-color: color-mix(in oklab, var(--es-color-zinc-50, oklch(98.5% 0 0)) 75%, transparent) !important;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.wp-block-missing div.block-editor-warning {
|
|
107
124
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a) !important;
|
|
108
125
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
109
126
|
--tw-shadow-color: var(--es-color-zinc-700, oklch(37% .013 285.805)) !important;
|
|
@@ -111,7 +128,6 @@
|
|
|
111
128
|
|
|
112
129
|
@supports (color: color-mix(in lab, red, red)) {
|
|
113
130
|
.wp-block-missing div.block-editor-warning {
|
|
114
|
-
background-color: color-mix(in oklab, var(--es-color-zinc-50, oklch(98.5% 0 0)) 75%, transparent) !important;
|
|
115
131
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-zinc-700, oklch(37% .013 285.805)) 20%, transparent) var(--tw-shadow-alpha), transparent) !important;
|
|
116
132
|
}
|
|
117
133
|
}
|
|
@@ -178,6 +194,16 @@
|
|
|
178
194
|
border-width: 1px;
|
|
179
195
|
border-color: var(--es-color-gray-800, oklch(27.8% .033 256.848));
|
|
180
196
|
background-color: var(--es-color-gray-950, oklch(13% .028 261.692));
|
|
197
|
+
border-radius: var(--es-radius-md, .375rem) !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
201
|
+
.components-tooltip {
|
|
202
|
+
background-color: color-mix(in oklab, var(--es-color-gray-950, oklch(13% .028 261.692)) 70%, transparent);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.components-tooltip {
|
|
181
207
|
padding-inline: calc(var(--es-spacing, .25rem) * 1);
|
|
182
208
|
padding-block: calc(var(--es-spacing, .25rem) * .5);
|
|
183
209
|
color: var(--es-color-white, #fff);
|
|
@@ -188,13 +214,6 @@
|
|
|
188
214
|
backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
|
|
189
215
|
--tw-backdrop-brightness: brightness(105%);
|
|
190
216
|
--tw-backdrop-saturate: saturate(150%);
|
|
191
|
-
border-radius: var(--es-radius-md, .375rem) !important;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
195
|
-
.components-tooltip {
|
|
196
|
-
background-color: color-mix(in oklab, var(--es-color-gray-950, oklch(13% .028 261.692)) 70%, transparent);
|
|
197
|
-
}
|
|
198
217
|
}
|
|
199
218
|
|
|
200
219
|
.components-tooltip:has( > :first-child) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-
|
|
2
|
+
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-BuJgePCv.js";
|
|
3
3
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-
|
|
3
|
-
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $df56164dff5785e2$export$4338b53315abf666 } from "../../utils-
|
|
4
|
-
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-
|
|
2
|
+
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-BpwTmkAe.js";
|
|
3
|
+
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $df56164dff5785e2$export$4338b53315abf666 } from "../../utils-CZt7LCbO.js";
|
|
4
|
+
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-BEPI2m7u.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
6
|
import React__default, { useState, useRef, forwardRef, createContext } from "react";
|
|
7
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
7
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BbYZoHvX.js";
|
|
8
8
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
9
|
-
import { c as cva } from "../../index-
|
|
9
|
+
import { c as cva } from "../../index-BljRBEr_.js";
|
|
10
10
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
11
11
|
import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
|
|
12
12
|
function $2680b1829e803644$export$fa142eb1681c520(props, ref) {
|
|
@@ -150,7 +150,7 @@ const Button = (props) => {
|
|
|
150
150
|
"es:btn-group-mid:rounded-none",
|
|
151
151
|
"es:btn-group-h-start:rounded-r-none es:btn-group-v-start:rounded-b-none",
|
|
152
152
|
"es:btn-group-h-end:rounded-l-none es:btn-group-v-end:rounded-t-none",
|
|
153
|
-
"es:
|
|
153
|
+
"es:enabled:cursor-pointer",
|
|
154
154
|
"es:shrink-0",
|
|
155
155
|
icon && children ? "es:justify-start" : "es:justify-center",
|
|
156
156
|
className
|
|
@@ -158,18 +158,18 @@ const Button = (props) => {
|
|
|
158
158
|
{
|
|
159
159
|
variants: {
|
|
160
160
|
size: {
|
|
161
|
-
small: "es:icon:size-4.5 es:rounded-
|
|
162
|
-
default: "es:icon:size-5.5 es:rounded-
|
|
163
|
-
large: "es:icon:size-6 es:rounded-
|
|
161
|
+
small: "es:icon:size-4.5 es:rounded-7",
|
|
162
|
+
default: "es:icon:size-5.5 es:rounded-10",
|
|
163
|
+
large: "es:icon:size-6 es:rounded-xl"
|
|
164
164
|
},
|
|
165
165
|
type: {
|
|
166
166
|
default: "es:bg-radial-[at_50%_125%] es:inset-ring es:inset-shadow-xs",
|
|
167
167
|
selected: "es:bg-radial-[at_50%_125%] es:inset-ring es:inset-shadow-xs",
|
|
168
168
|
danger: "es:bg-radial-[at_50%_125%] es:inset-ring es:inset-shadow-xs",
|
|
169
|
-
ghost: "es:border-transparent es:text-secondary-700 es:
|
|
169
|
+
ghost: "es:border-transparent es:text-secondary-700 es:enabled:hover:bg-secondary-100 es:enabled:active:bg-accent-50 es:enabled:pressed:bg-accent-50 es:enabled:active:text-accent-950 es:enabled:pressed:text-accent-950 es:disabled:border-transparent!",
|
|
170
170
|
dangerGhost: [
|
|
171
|
-
"es:border-transparent es:text-red-
|
|
172
|
-
"es:
|
|
171
|
+
"es:border-transparent es:text-red-700",
|
|
172
|
+
"es:enabled:hover:bg-red-500/5 es:enabled:active:bg-red-500/10 es:enabled:pressed:bg-red-500/10",
|
|
173
173
|
"es:focus-visible:text-red-700",
|
|
174
174
|
"es:focus-visible:ring-red-500/30 es:focus-visible:border-red-600 es:focus-visible:inset-ring-red-100",
|
|
175
175
|
"es:disabled:border-transparent!"
|
|
@@ -187,8 +187,8 @@ const Button = (props) => {
|
|
|
187
187
|
"es:border-secondary-300",
|
|
188
188
|
"es:inset-ring-secondary-100",
|
|
189
189
|
"es:inset-shadow-secondary-100/50",
|
|
190
|
-
"es:shadow-
|
|
191
|
-
"es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
190
|
+
"es:shadow-sm",
|
|
191
|
+
"es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
192
192
|
"es:hover:text-accent-950",
|
|
193
193
|
"es:focus-visible:text-accent-950"
|
|
194
194
|
]
|
|
@@ -205,22 +205,22 @@ const Button = (props) => {
|
|
|
205
205
|
"es:focus-visible:border-accent-700",
|
|
206
206
|
"es:focus-visible:inset-ring es:focus-visible:inset-ring-accent-600",
|
|
207
207
|
"es:focus-visible:inset-shadow-xs es:focus-visible:inset-shadow-accent-400",
|
|
208
|
-
"es:shadow es:shadow-accent-600/30"
|
|
208
|
+
"es:shadow es:shadow-accent-600/30 es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm"
|
|
209
209
|
]
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
type: "danger",
|
|
213
213
|
disabled: false,
|
|
214
214
|
class: [
|
|
215
|
-
"es:text-red-
|
|
215
|
+
"es:text-red-700",
|
|
216
216
|
"es:from-red-50/75 es:to-white",
|
|
217
|
-
"es:border-red-
|
|
217
|
+
"es:border-red-700/50",
|
|
218
218
|
"es:inset-ring-red-100",
|
|
219
219
|
"es:inset-shadow-red-50",
|
|
220
220
|
"es:hover:inset-shadow-red-100 es:hover:inset-ring-red-100 es:hover:text-red-800 es:hover:border-red-600",
|
|
221
221
|
"es:focus-visible:text-red-900",
|
|
222
222
|
"es:focus-visible:ring-red-500/30 es:focus-visible:border-red-600 es:focus-visible:inset-ring-red-100",
|
|
223
|
-
"es:shadow"
|
|
223
|
+
"es:shadow es:shadow-red-700/20 es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm"
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
226
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { a as $4e85f108e88277b8$export$b085522c77523c51 } from "../../RSPContexts-2lR5GG9p.js";
|
|
3
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, h as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-
|
|
3
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, h as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-CZt7LCbO.js";
|
|
4
4
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
|
-
import React__default, { useEffect, useRef, forwardRef, useContext, createContext } from "react";
|
|
7
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-
|
|
8
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-
|
|
9
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-
|
|
10
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
11
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
12
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-
|
|
13
|
-
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-
|
|
14
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
6
|
+
import React__default, { useEffect, useRef, forwardRef, useContext, createContext, useMemo } from "react";
|
|
7
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-Dy0PXJg5.js";
|
|
8
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-BrJylgPR.js";
|
|
9
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-CDa3YAZI.js";
|
|
10
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-ibcBUHnB.js";
|
|
11
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
|
|
12
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
|
|
13
|
+
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-BYi0pekx.js";
|
|
14
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-JS_ob-kh.js";
|
|
15
15
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
16
16
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
17
17
|
import { icons } from "../../icons/icons.js";
|
|
@@ -123,7 +123,10 @@ const $bc237834342dbd75$export$48513f6b9f8ce62d = /* @__PURE__ */ forwardRef(fun
|
|
|
123
123
|
var _props_validationBehavior, _ref;
|
|
124
124
|
let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : "native";
|
|
125
125
|
let groupState = useContext($bc237834342dbd75$export$139c5b8563afc1fc);
|
|
126
|
-
let inputRef = $df56164dff5785e2$export$4338b53315abf666($5dc95899b306f630$export$c9058316764c140e(userProvidedInputRef, props.inputRef !== void 0 ? props.inputRef : null)
|
|
126
|
+
let inputRef = $df56164dff5785e2$export$4338b53315abf666(useMemo(() => $5dc95899b306f630$export$c9058316764c140e(userProvidedInputRef, props.inputRef !== void 0 ? props.inputRef : null), [
|
|
127
|
+
userProvidedInputRef,
|
|
128
|
+
props.inputRef
|
|
129
|
+
]));
|
|
127
130
|
let { labelProps, inputProps, isSelected, isDisabled, isReadOnly, isPressed, isInvalid } = groupState ? $fba3e38d5ca8983f$export$353b32fc6898d37d({
|
|
128
131
|
...$64fa3d84918910a7$export$ef03459518577ad4(props),
|
|
129
132
|
// Value is optional for standalone checkboxes, but required for CheckboxGroup items;
|
|
@@ -262,10 +265,10 @@ const Checkbox2 = (props) => {
|
|
|
262
265
|
"div",
|
|
263
266
|
{
|
|
264
267
|
className: clsx(
|
|
265
|
-
"es:size-5 es:
|
|
268
|
+
"es:size-5 es:grid es:place-items-center es:grid-cols-1 es:grid-rows-1 es:*:row-start-1 es:*:col-start-1",
|
|
266
269
|
"es:transition es:cursor-pointer",
|
|
267
270
|
"es:bg-radial es:border es:rounded-md",
|
|
268
|
-
"es:shadow-
|
|
271
|
+
"es:shadow-sm es:inset-ring es:inset-shadow-xs",
|
|
269
272
|
"es:any-focus:outline-hidden es:group-focus-visible:ring-2 es:group-focus-visible:ring-accent-500/50",
|
|
270
273
|
!selectedOrIntermediate && "es:group-focus-visible:border-accent-500",
|
|
271
274
|
!selectedOrIntermediate && "es:border-secondary-300 es:inset-ring-secondary-100 es:inset-shadow-secondary-100/50",
|
|
@@ -280,7 +283,7 @@ const Checkbox2 = (props) => {
|
|
|
280
283
|
/* @__PURE__ */ jsx(
|
|
281
284
|
AnimatedVisibility,
|
|
282
285
|
{
|
|
283
|
-
transition: "
|
|
286
|
+
transition: "scaleRotateFade",
|
|
284
287
|
visible: indeterminate,
|
|
285
288
|
className: "es:transition-none",
|
|
286
289
|
children: /* @__PURE__ */ jsx("div", { className: "es:h-0.5 es:w-3 es:rounded es:bg-white" })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-
|
|
2
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-DntWEAC3.js";
|
|
3
3
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
4
4
|
import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
|
|
5
|
-
import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-
|
|
5
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-lVhk8V_G.js";
|
|
6
6
|
/**
|
|
7
7
|
* A simple color/gradient swatch.
|
|
8
8
|
*
|
|
@@ -47,10 +47,10 @@ const ColorSwatch = (props) => {
|
|
|
47
47
|
style: {
|
|
48
48
|
background: (color || gradient) && backgroundGradient
|
|
49
49
|
},
|
|
50
|
-
className: () => clsx("es:size-6 es:rounded es:border es:border-secondary-300 es:shadow-
|
|
50
|
+
className: () => clsx("es:size-6 es:rounded-md es:border es:border-secondary-300 es:shadow-sm", !color && !gradient && !customGradient && "es:bg-white", className),
|
|
51
51
|
colorName: !color && !gradient && !customGradient ? __("No color", "eightshift-ui-components") : colorName,
|
|
52
52
|
color,
|
|
53
|
-
children: !color && !gradient && !customGradient && /* @__PURE__ */ jsx("div", { className: "es:m-auto es:h-full es:w-px es:rotate-45 es:rounded es:bg-red-500" })
|
|
53
|
+
children: !color && !gradient && !customGradient && /* @__PURE__ */ jsx("div", { className: "es:m-auto es:h-full es:w-px es:rotate-45 es:rounded-md es:bg-red-500" })
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
};
|
|
@@ -6,7 +6,7 @@ import { icons } from "../../icons/icons.js";
|
|
|
6
6
|
import { SolidColorPicker } from "./solid-color-picker.js";
|
|
7
7
|
import { Slider } from "../slider/slider.js";
|
|
8
8
|
import { NumberPicker } from "../number-picker/number-picker.js";
|
|
9
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-
|
|
9
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-DntWEAC3.js";
|
|
10
10
|
import { Menu, MenuItem } from "../menu/menu.js";
|
|
11
11
|
import { MatrixAlign } from "../matrix-align/matrix-align.js";
|
|
12
12
|
import { Spacer } from "../spacer/spacer.js";
|
|
@@ -134,12 +134,12 @@ const gradientTypes = [
|
|
|
134
134
|
{
|
|
135
135
|
label: __("Radial"),
|
|
136
136
|
value: "radial",
|
|
137
|
-
icon: /* @__PURE__ */ jsx("div", { className: "es:transparent es:size-4 es:rounded-full es:bg-
|
|
137
|
+
icon: /* @__PURE__ */ jsx("div", { className: "es:transparent es:size-4 es:rounded-full es:bg-radial es:from-current/75 es:to-current/10" })
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
label: __("Conic"),
|
|
141
141
|
value: "conic",
|
|
142
|
-
icon: /* @__PURE__ */ jsx("div", { className: "es:transparent es:size-4 es:rounded-full es:bg-
|
|
142
|
+
icon: /* @__PURE__ */ jsx("div", { className: "es:transparent es:size-4 es:rounded-full es:bg-conic es:from-current" })
|
|
143
143
|
}
|
|
144
144
|
];
|
|
145
145
|
const linearDirections = [
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useMemo, useRef, useState, useCallback, forwardRef, createContext, useContext } from "react";
|
|
3
3
|
import { b as $4e85f108e88277b8$export$ebe63fadcdce34ed, c as $4e85f108e88277b8$export$44644b8a16031b5b, d as $4e85f108e88277b8$export$717b2c0a523a0b53 } from "../../RSPContexts-2lR5GG9p.js";
|
|
4
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, i as $64fa3d84918910a7$export$2881499e37b75b9a, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, h as $64fa3d84918910a7$export$ef03459518577ad4 } from "../../utils-
|
|
4
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, i as $64fa3d84918910a7$export$2881499e37b75b9a, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, h as $64fa3d84918910a7$export$ef03459518577ad4 } from "../../utils-CZt7LCbO.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
|
-
import { a as $9ab94262bd0047c7$export$420e68273165f4ec, $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
7
|
-
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, z as $7215afc6de606d6b$export$de79e2c695e052f3, A as $46d819fcbaf35654$export$8f71654801c2f7cd, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, c as $c87311424ea30a05$export$fedb369cb70207f1, v as $c87311424ea30a05$export$a11b0059900ceec8, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-
|
|
8
|
-
import { $ as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, a as $3493a52097159720$exports } from "../../Color-
|
|
6
|
+
import { a as $9ab94262bd0047c7$export$420e68273165f4ec, $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
|
|
7
|
+
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, z as $7215afc6de606d6b$export$de79e2c695e052f3, A as $46d819fcbaf35654$export$8f71654801c2f7cd, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, c as $c87311424ea30a05$export$fedb369cb70207f1, v as $c87311424ea30a05$export$a11b0059900ceec8, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
|
|
8
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, a as $3493a52097159720$exports } from "../../Color-lVhk8V_G.js";
|
|
9
9
|
import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "../../number-GajL10e1.js";
|
|
10
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-
|
|
11
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-
|
|
12
|
-
import { e as $28f99e3e86e6ec45$export$e5fda3247f5d67f9, f as $e8a7022cf87cba2a$export$36da96379f79f245, g as $bcca50147b47f54d$export$56b2c08e277f365, h as $47b897dc8cdb026b$export$8d15029008292ae, d as $6f909507e6374d18$export$1e7083018727fa60, i as $6f909507e6374d18$export$f1fce0420cc6d8ee, j as $6f909507e6374d18$export$6189c2744041d8f8, a as $6f909507e6374d18$export$105594979f116971 } from "../../Slider-
|
|
13
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
14
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocalizedStringFormatter-
|
|
15
|
-
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "../../VisuallyHidden-
|
|
16
|
-
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-
|
|
17
|
-
import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input
|
|
18
|
-
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
19
|
-
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-
|
|
20
|
-
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-
|
|
21
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../../useFormValidation-
|
|
10
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-B7-lUnAF.js";
|
|
11
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-D2YaWRIA.js";
|
|
12
|
+
import { e as $28f99e3e86e6ec45$export$e5fda3247f5d67f9, f as $e8a7022cf87cba2a$export$36da96379f79f245, g as $bcca50147b47f54d$export$56b2c08e277f365, h as $47b897dc8cdb026b$export$8d15029008292ae, d as $6f909507e6374d18$export$1e7083018727fa60, i as $6f909507e6374d18$export$f1fce0420cc6d8ee, j as $6f909507e6374d18$export$6189c2744041d8f8, a as $6f909507e6374d18$export$105594979f116971 } from "../../Slider-C-S1oEH9.js";
|
|
13
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BbYZoHvX.js";
|
|
14
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocalizedStringFormatter-C9GO0IDB.js";
|
|
15
|
+
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "../../VisuallyHidden-BYi0pekx.js";
|
|
16
|
+
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-DHrSdE_Q.js";
|
|
17
|
+
import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BmDS8Juy.js";
|
|
18
|
+
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-JS_ob-kh.js";
|
|
19
|
+
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-BuJgePCv.js";
|
|
20
|
+
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-CU1_u8ze.js";
|
|
21
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../../useFormValidation-Dy0PXJg5.js";
|
|
22
22
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
23
23
|
import { BaseControl } from "../base-control/base-control.js";
|
|
24
24
|
import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
|
|
@@ -1290,7 +1290,7 @@ const SolidColorPicker = (props) => {
|
|
|
1290
1290
|
const valueInputClassName = clsx(
|
|
1291
1291
|
"es:h-8 es:w-12",
|
|
1292
1292
|
"es:tabular-nums es:font-mono",
|
|
1293
|
-
"es:border es:rounded-lg es:border-secondary-300 es:p-2 es:text-sm es:shadow-
|
|
1293
|
+
"es:border es:rounded-lg es:border-secondary-300 es:p-2 es:text-sm es:shadow-sm es:transition es:selection:bg-accent-500/20 es:selection:text-accent-950",
|
|
1294
1294
|
"es:any-focus:outline-hidden",
|
|
1295
1295
|
"es:focus-visible:ring-2 es:focus-visible:ring-accent-500/50 es:focus-visible:z-10",
|
|
1296
1296
|
"es:focus-visible:border-accent-500",
|
|
@@ -1304,7 +1304,7 @@ const SolidColorPicker = (props) => {
|
|
|
1304
1304
|
xChannel: "saturation",
|
|
1305
1305
|
yChannel: "lightness",
|
|
1306
1306
|
className: clsx(
|
|
1307
|
-
"es:size-48 es:rounded-
|
|
1307
|
+
"es:size-48 es:rounded-xl es:border es:border-secondary-300 es:shadow-sm es:transition",
|
|
1308
1308
|
'es:[&:has(>_[data-focus-visible="true"])]:ring-2 es:[&:has(>_[data-focus-visible="true"])]:ring-accent-500/50',
|
|
1309
1309
|
"es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"
|
|
1310
1310
|
),
|
|
@@ -1325,7 +1325,7 @@ const SolidColorPicker = (props) => {
|
|
|
1325
1325
|
$6f909507e6374d18$export$105594979f116971,
|
|
1326
1326
|
{
|
|
1327
1327
|
className: clsx(
|
|
1328
|
-
"es:h-7 es:w-48 es:rounded-
|
|
1328
|
+
"es:h-7 es:w-48 es:rounded-10 es:border es:border-secondary-300 es:shadow-sm",
|
|
1329
1329
|
'es:[&:has(>_[data-focus-visible="true"])]:ring-2 es:[&:has(>_[data-focus-visible="true"])]:ring-accent-500/50',
|
|
1330
1330
|
"es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"
|
|
1331
1331
|
),
|
|
@@ -1345,7 +1345,7 @@ const SolidColorPicker = (props) => {
|
|
|
1345
1345
|
$6f909507e6374d18$export$105594979f116971,
|
|
1346
1346
|
{
|
|
1347
1347
|
className: clsx(
|
|
1348
|
-
"es:h-7 es:w-48 es:rounded-
|
|
1348
|
+
"es:h-7 es:w-48 es:rounded-10 es:border es:border-secondary-300 es:shadow-sm",
|
|
1349
1349
|
'es:[&:has(>_[data-focus-visible="true"])]:ring-2 es:[&:has(>_[data-focus-visible="true"])]:ring-accent-500/50',
|
|
1350
1350
|
"es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"
|
|
1351
1351
|
),
|
|
@@ -1375,7 +1375,7 @@ const SolidColorPicker = (props) => {
|
|
|
1375
1375
|
className: clsx(
|
|
1376
1376
|
"es:h-9 es:w-20",
|
|
1377
1377
|
"es:tabular-nums es:font-mono",
|
|
1378
|
-
"es:border es:border-secondary-300 es:p-2 es:text-sm es:shadow-
|
|
1378
|
+
"es:border es:border-secondary-300 es:p-2 es:text-sm es:shadow-sm es:transition es:selection:bg-accent-500/20 es:selection:text-accent-950",
|
|
1379
1379
|
"es:any-focus:outline-hidden",
|
|
1380
1380
|
"es:focus-visible:ring-2 es:focus-visible:ring-accent-500/50 es:focus-visible:z-10",
|
|
1381
1381
|
"es:focus-visible:border-accent-500",
|
|
@@ -23,7 +23,6 @@ import { AnimatedVisibility } from "../animated-visibility/animated-visibility.j
|
|
|
23
23
|
* @param {boolean} [props.noUseToggle] - If `true`, the toggle is not displayed.
|
|
24
24
|
* @param {boolean} [props.noExpandButton] - If `true`, the expand button is not shown.
|
|
25
25
|
* @param {boolean} [props.noLabel] - If `true`, the label is not shown.
|
|
26
|
-
* @param {boolean} [props.noUseToggle] - If `true`, the toggle is not displayed.
|
|
27
26
|
* @param {boolean} [props.expandButtonDisabled] - If `true`, the expand button is disabled.
|
|
28
27
|
* @param {boolean} [props.controlOnly] - If `true`, only the control is displayed.
|
|
29
28
|
* @param {boolean} [props.hideUseToggleOnExpand] - If `true`, and the component is display in a variant where it can be expanded, the use toggle will hide when the component is expanded.
|