@descope/web-components-ui 3.16.0 → 3.16.2
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/cjs/index.cjs.js +8 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-month-day-field.js +1 -1
- package/dist/umd/descope-month-day-field.js.map +1 -1
- package/dist/umd/descope-radio-group-descope-radio-button-index-js.js +2 -0
- package/dist/umd/descope-radio-group-descope-radio-button-index-js.js.map +1 -0
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-radio-group-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +40 -40
- package/src/components/descope-radio-group/RadioGroupClass.js +4 -1
- package/src/components/descope-radio-group/{RadioButtonClass.js → descope-radio-button/RadioButtonClass.js} +3 -3
- package/src/components/descope-radio-group/descope-radio-button/index.js +6 -0
- package/src/components/descope-radio-group/index.js +1 -2
- package/src/index.cjs.js +1 -1
- package/src/theme/components/radioGroup/radioButton.js +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -17851,9 +17851,10 @@ const RadioGroupClass = compose(
|
|
|
17851
17851
|
})
|
|
17852
17852
|
);
|
|
17853
17853
|
|
|
17854
|
-
customElements.define(componentName$B, RadioGroupClass);
|
|
17855
17854
|
customElements.define(componentName$C, RadioButtonClass);
|
|
17856
17855
|
|
|
17856
|
+
customElements.define(componentName$B, RadioGroupClass);
|
|
17857
|
+
|
|
17857
17858
|
const defaultValidateSchema = () => true;
|
|
17858
17859
|
const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
|
|
17859
17860
|
|
|
@@ -20508,7 +20509,6 @@ const comboBox = {
|
|
|
20508
20509
|
[vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
|
|
20509
20510
|
|
|
20510
20511
|
// Overlay direct theme:
|
|
20511
|
-
[vars$16.overlay.minHeight]: '400px',
|
|
20512
20512
|
[vars$16.overlay.margin]: '0',
|
|
20513
20513
|
|
|
20514
20514
|
[vars$16.overlay.contentHeight]: '100%',
|
|
@@ -29373,9 +29373,14 @@ class RawMonthDayFieldClass extends BaseInputClass$1 {
|
|
|
29373
29373
|
const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
|
|
29374
29374
|
if (!popover || !this.picker) return;
|
|
29375
29375
|
|
|
29376
|
-
// Reset any previous
|
|
29376
|
+
// Reset any previous offset so getBoundingClientRect measures the natural position.
|
|
29377
|
+
// NOTE: we offset with margin, not `transform`. A `transform` on this element
|
|
29378
|
+
// makes it the containing block for `position: fixed` descendants, which traps
|
|
29379
|
+
// the nested combo-box dropdowns inside the popover box (they then can't size
|
|
29380
|
+
// to the viewport and get clipped). `margin` shifts it identically without
|
|
29381
|
+
// creating a containing block, so the combo overlays stay viewport-positioned.
|
|
29377
29382
|
this.#popoverPosStylesheet?.replaceSync(
|
|
29378
|
-
`vaadin-popover-overlay::part(overlay) {
|
|
29383
|
+
`vaadin-popover-overlay::part(overlay) { margin-left: 0; }`,
|
|
29379
29384
|
);
|
|
29380
29385
|
|
|
29381
29386
|
const windowRect = document.body.getBoundingClientRect();
|
|
@@ -29396,7 +29401,7 @@ class RawMonthDayFieldClass extends BaseInputClass$1 {
|
|
|
29396
29401
|
|
|
29397
29402
|
const css = `
|
|
29398
29403
|
vaadin-popover-overlay::part(overlay) {
|
|
29399
|
-
|
|
29404
|
+
margin-left: ${newOffset}px;
|
|
29400
29405
|
}
|
|
29401
29406
|
`;
|
|
29402
29407
|
|