@getflip/swirl-components 0.258.0 → 0.259.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.
- package/components.json +1 -1
- package/dist/cjs/swirl-date-input.cjs.entry.js +2 -2
- package/dist/cjs/swirl-shell-layout.cjs.entry.js +1 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-date-input/swirl-date-input.css +7 -0
- package/dist/collection/components/swirl-date-input/swirl-date-input.js +1 -1
- package/dist/collection/components/swirl-date-input/swirl-date-input.spec.js +1 -1
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.css +2 -2
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-date-input.js +2 -2
- package/dist/components/swirl-shell-layout.js +1 -1
- package/dist/esm/swirl-date-input.entry.js +2 -2
- package/dist/esm/swirl-shell-layout.entry.js +1 -1
- package/dist/swirl-components/{p-e8e3e6eb.entry.js → p-388be284.entry.js} +1 -1
- package/dist/swirl-components/{p-f55f9ae0.entry.js → p-43974e11.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
|
@@ -148,7 +148,7 @@ export class SwirlDateInput {
|
|
|
148
148
|
const className = classnames("date-input", {
|
|
149
149
|
"date-input--inline": this.inline,
|
|
150
150
|
});
|
|
151
|
-
return (h(Host, { key: '296c03693dedf618c9f897027d1f18c37d7570cc' }, h("div", { key: '1cebccc9e07c74ba99250df57ce53385cc7422dd', class: className }, h("input", { key: 'f751cb69404907a1e203396d559db8e7b4591007', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "date-input__input", disabled: this.disabled, readonly: this.readonly, id: this.id, inputmode: "numeric", onClick: this.onClick, onMouseDown: this.onMouseDown, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text", value: displayValue }), h("swirl-popover-trigger", { key: 'dcbd828da70c00ac11ae35c278a793e5225e80f4', swirlPopover: `popover-${this.id}` }, h("button", { key: 'ba359bdb631eb2c327f9660d08e9ee28e4e7db37', "aria-label": this.datePickerTriggerLabel, class: "date-input__date-picker-button", disabled: this.disabled, type: "button" }, h("swirl-icon-today", { key: '144aed4c8e6768e3b3f3e4ea73a1b45688329205', size: this.iconSize })))), !this.disabled && (h("swirl-popover", { key: '
|
|
151
|
+
return (h(Host, { key: '296c03693dedf618c9f897027d1f18c37d7570cc' }, h("div", { key: '1cebccc9e07c74ba99250df57ce53385cc7422dd', class: className }, h("input", { key: 'f751cb69404907a1e203396d559db8e7b4591007', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "date-input__input", disabled: this.disabled, readonly: this.readonly, id: this.id, inputmode: "numeric", onClick: this.onClick, onMouseDown: this.onMouseDown, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text", value: displayValue }), h("swirl-popover-trigger", { key: 'dcbd828da70c00ac11ae35c278a793e5225e80f4', swirlPopover: `popover-${this.id}` }, h("button", { key: 'ba359bdb631eb2c327f9660d08e9ee28e4e7db37', "aria-label": this.datePickerTriggerLabel, class: "date-input__date-picker-button", disabled: this.disabled, type: "button" }, h("swirl-icon-today", { key: '144aed4c8e6768e3b3f3e4ea73a1b45688329205', size: this.iconSize })))), !this.disabled && (h("swirl-popover", { key: 'e28a16501ccbd4bb6507984d55cd539689eec1bd', animation: "scale-in-y", class: "date-input__date-picker-popover", id: `popover-${this.id}`, label: this.datePickerLabel, placement: "bottom-end", ref: (el) => (this.pickerPopover = el) }, h("swirl-date-picker", { key: '0cd7207713f7dcb2b61d9a562ebab2e863af3058', disableDate: this.datePickerDisableDate, firstDayOfWeek: this.firstDayOfWeek, labels: this.labels, locale: this.locale, onValueChange: this.onPickDate, value: dateValue, startDate: dateValue })))));
|
|
152
152
|
}
|
|
153
153
|
static get is() { return "swirl-date-input"; }
|
|
154
154
|
static get encapsulation() { return "scoped"; }
|
|
@@ -38,7 +38,7 @@ describe("swirl-date-input", () => {
|
|
|
38
38
|
</button>
|
|
39
39
|
</swirl-popover-trigger>
|
|
40
40
|
</div>
|
|
41
|
-
<swirl-popover animation="scale-in-y" id="popover-swirl-date-input-0" label="Date picker" placement="bottom-end">
|
|
41
|
+
<swirl-popover animation="scale-in-y" class="date-input__date-picker-popover" id="popover-swirl-date-input-0" label="Date picker" placement="bottom-end">
|
|
42
42
|
<swirl-date-picker firstdayofweek="0" locale="en-US"></swirl-date-picker>
|
|
43
43
|
</swirl-popover>
|
|
44
44
|
</swirl-date-input>
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
--swirl-badge-border-color: var(--s-surface-sunken-default);
|
|
295
295
|
|
|
296
296
|
position: absolute;
|
|
297
|
-
top: var(--s-space-
|
|
298
|
-
right: var(--s-space-
|
|
297
|
+
top: var(--s-space-2);
|
|
298
|
+
right: var(--s-space-2);
|
|
299
299
|
padding-right: var(--s-space-2);
|
|
300
300
|
transform: translate3d(0.1875rem, 0, 0);
|
|
301
301
|
}
|