@pod-os/elements 0.22.0 → 0.22.2-ada70b7.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.
- package/dist/cjs/elements.cjs.js +1 -1
- package/dist/cjs/ion-card_30.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_30.cjs.entry.js.map +1 -1
- package/dist/cjs/{ion-checkbox_4.cjs.entry.js → ion-checkbox_6.cjs.entry.js} +123 -1
- package/dist/cjs/ion-checkbox_6.cjs.entry.js.map +1 -0
- package/dist/cjs/{ion-item_3.cjs.entry.js → ion-item_2.cjs.entry.js} +12 -110
- package/dist/cjs/ion-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-document-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/pos-app-image-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-ldp-container.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-rdf-document.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-container-contents.cjs.entry.js +6 -2
- package/dist/cjs/pos-container-contents.cjs.entry.js.map +1 -1
- package/dist/collection/apps/pos-app-browser/pos-app-browser.css +1 -1
- package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js +1 -1
- package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js.map +1 -1
- package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js +2 -2
- package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js.map +1 -1
- package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js +1 -1
- package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js.map +1 -1
- package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js +1 -1
- package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js.map +1 -1
- package/dist/collection/components/pos-container-contents/pos-container-contents.css +10 -0
- package/dist/collection/components/pos-container-contents/pos-container-contents.js +12 -2
- package/dist/collection/components/pos-container-contents/pos-container-contents.js.map +1 -1
- package/dist/collection/components/pos-rich-link/pos-rich-link.css +18 -3
- package/dist/components/pos-app-browser.js +1 -1
- package/dist/components/pos-app-browser.js.map +1 -1
- package/dist/components/pos-app-document-viewer.js +1 -1
- package/dist/components/pos-app-document-viewer.js.map +1 -1
- package/dist/components/pos-app-image-viewer.js +2 -2
- package/dist/components/pos-app-image-viewer.js.map +1 -1
- package/dist/components/pos-app-ldp-container.js +21 -33
- package/dist/components/pos-app-ldp-container.js.map +1 -1
- package/dist/components/pos-app-rdf-document.js +1 -1
- package/dist/components/pos-app-rdf-document.js.map +1 -1
- package/dist/components/pos-container-contents2.js +16 -24
- package/dist/components/pos-container-contents2.js.map +1 -1
- package/dist/components/pos-rich-link2.js +1 -1
- package/dist/components/pos-rich-link2.js.map +1 -1
- package/dist/elements/elements.css +1 -1
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/elements.esm.js.map +1 -1
- package/dist/elements/p-1b2ae868.entry.js +2 -0
- package/dist/elements/p-1b2ae868.entry.js.map +1 -0
- package/dist/elements/p-3697b57c.entry.js +2 -0
- package/dist/elements/p-3697b57c.entry.js.map +1 -0
- package/dist/elements/{p-dc1527eb.entry.js → p-4afd6982.entry.js} +2 -2
- package/dist/elements/{p-dc1527eb.entry.js.map → p-4afd6982.entry.js.map} +1 -1
- package/dist/elements/p-815f28f7.entry.js +2 -0
- package/dist/elements/p-815f28f7.entry.js.map +1 -0
- package/dist/elements/p-a1fbbc32.entry.js +2 -0
- package/dist/elements/p-a1fbbc32.entry.js.map +1 -0
- package/dist/elements/p-a72adfeb.entry.js +2 -0
- package/dist/elements/p-a72adfeb.entry.js.map +1 -0
- package/dist/elements/p-c1b7a349.entry.js +2 -0
- package/dist/elements/p-c1b7a349.entry.js.map +1 -0
- package/dist/elements/p-c7b331ce.entry.js +2 -0
- package/dist/elements/p-c7b331ce.entry.js.map +1 -0
- package/dist/esm/elements.js +1 -1
- package/dist/esm/ion-card_30.entry.js +2 -2
- package/dist/esm/ion-card_30.entry.js.map +1 -1
- package/dist/esm/{ion-checkbox_4.entry.js → ion-checkbox_6.entry.js} +122 -2
- package/dist/esm/ion-checkbox_6.entry.js.map +1 -0
- package/dist/esm/{ion-item_3.entry.js → ion-item_2.entry.js} +13 -110
- package/dist/esm/ion-item_2.entry.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pos-app-document-viewer.entry.js +1 -1
- package/dist/esm/pos-app-document-viewer.entry.js.map +1 -1
- package/dist/esm/pos-app-image-viewer.entry.js +2 -2
- package/dist/esm/pos-app-image-viewer.entry.js.map +1 -1
- package/dist/esm/pos-app-ldp-container.entry.js +1 -1
- package/dist/esm/pos-app-ldp-container.entry.js.map +1 -1
- package/dist/esm/pos-app-rdf-document.entry.js +1 -1
- package/dist/esm/pos-app-rdf-document.entry.js.map +1 -1
- package/dist/esm/pos-container-contents.entry.js +6 -2
- package/dist/esm/pos-container-contents.entry.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/ion-checkbox_4.cjs.entry.js.map +0 -1
- package/dist/cjs/ion-item_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ion-note.cjs.entry.js +0 -34
- package/dist/cjs/ion-note.cjs.entry.js.map +0 -1
- package/dist/elements/p-261f0eec.entry.js +0 -2
- package/dist/elements/p-261f0eec.entry.js.map +0 -1
- package/dist/elements/p-596d1823.entry.js +0 -2
- package/dist/elements/p-596d1823.entry.js.map +0 -1
- package/dist/elements/p-6120b03d.entry.js +0 -2
- package/dist/elements/p-6120b03d.entry.js.map +0 -1
- package/dist/elements/p-9dfd832a.entry.js +0 -2
- package/dist/elements/p-9dfd832a.entry.js.map +0 -1
- package/dist/elements/p-ef0c5b78.entry.js +0 -2
- package/dist/elements/p-ef0c5b78.entry.js.map +0 -1
- package/dist/elements/p-f7a53e41.entry.js +0 -2
- package/dist/elements/p-f7a53e41.entry.js.map +0 -1
- package/dist/elements/p-fbd25065.entry.js +0 -2
- package/dist/elements/p-fbd25065.entry.js.map +0 -1
- package/dist/elements/p-fdb524e1.entry.js +0 -2
- package/dist/elements/p-fdb524e1.entry.js.map +0 -1
- package/dist/esm/ion-checkbox_4.entry.js.map +0 -1
- package/dist/esm/ion-item_3.entry.js.map +0 -1
- package/dist/esm/ion-note.entry.js +0 -30
- package/dist/esm/ion-note.entry.js.map +0 -1
|
@@ -174,6 +174,126 @@ Checkbox.style = {
|
|
|
174
174
|
md: IonCheckboxMdStyle0
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
+
const labelIosCss = ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;box-sizing:border-box}.item-legacy.sc-ion-label-ios-h,.item-legacy .sc-ion-label-ios-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;transform:translate(0, 29px);transform-origin:left top;transition:transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}";
|
|
178
|
+
const IonLabelIosStyle0 = labelIosCss;
|
|
179
|
+
|
|
180
|
+
const labelMdCss = ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;box-sizing:border-box}.item-legacy.sc-ion-label-md-h,.item-legacy .sc-ion-label-md-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{transform-origin:top right}.label-stacked.sc-ion-label-md-h{transform:translateY(50%) scale(0.75);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{transform:translateY(96%);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(-6px) scale(0.75);position:relative;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:\"\"}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}";
|
|
181
|
+
const IonLabelMdStyle0 = labelMdCss;
|
|
182
|
+
|
|
183
|
+
const Label = class {
|
|
184
|
+
constructor(hostRef) {
|
|
185
|
+
index.registerInstance(this, hostRef);
|
|
186
|
+
this.ionColor = index.createEvent(this, "ionColor", 7);
|
|
187
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
188
|
+
this.inRange = false;
|
|
189
|
+
this.color = undefined;
|
|
190
|
+
this.position = undefined;
|
|
191
|
+
this.noAnimate = false;
|
|
192
|
+
}
|
|
193
|
+
componentWillLoad() {
|
|
194
|
+
this.inRange = !!this.el.closest('ion-range');
|
|
195
|
+
this.noAnimate = this.position === 'floating';
|
|
196
|
+
this.emitStyle();
|
|
197
|
+
this.emitColor();
|
|
198
|
+
}
|
|
199
|
+
componentDidLoad() {
|
|
200
|
+
if (this.noAnimate) {
|
|
201
|
+
setTimeout(() => {
|
|
202
|
+
this.noAnimate = false;
|
|
203
|
+
}, 1000);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
colorChanged() {
|
|
207
|
+
this.emitColor();
|
|
208
|
+
}
|
|
209
|
+
positionChanged() {
|
|
210
|
+
this.emitStyle();
|
|
211
|
+
}
|
|
212
|
+
emitColor() {
|
|
213
|
+
const { color } = this;
|
|
214
|
+
this.ionColor.emit({
|
|
215
|
+
'item-label-color': color !== undefined,
|
|
216
|
+
[`ion-color-${color}`]: color !== undefined,
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
emitStyle() {
|
|
220
|
+
const { inRange, position } = this;
|
|
221
|
+
// If the label is inside of a range we don't want
|
|
222
|
+
// to override the classes added by the label that
|
|
223
|
+
// is a direct child of the item
|
|
224
|
+
if (!inRange) {
|
|
225
|
+
this.ionStyle.emit({
|
|
226
|
+
label: true,
|
|
227
|
+
[`label-${position}`]: position !== undefined,
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
render() {
|
|
232
|
+
const position = this.position;
|
|
233
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
234
|
+
return (index.h(index.Host, { key: '72ad4ba5c1137ae0130e421346668e436ea53bf8', class: theme.createColorClasses(this.color, {
|
|
235
|
+
[mode]: true,
|
|
236
|
+
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
237
|
+
[`label-${position}`]: position !== undefined,
|
|
238
|
+
[`label-no-animate`]: this.noAnimate,
|
|
239
|
+
'label-rtl': document.dir === 'rtl',
|
|
240
|
+
}) }));
|
|
241
|
+
}
|
|
242
|
+
get el() { return index.getElement(this); }
|
|
243
|
+
static get watchers() { return {
|
|
244
|
+
"color": ["colorChanged"],
|
|
245
|
+
"position": ["positionChanged"]
|
|
246
|
+
}; }
|
|
247
|
+
};
|
|
248
|
+
Label.style = {
|
|
249
|
+
ios: IonLabelIosStyle0,
|
|
250
|
+
md: IonLabelMdStyle0
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
const listIosCss = "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
254
|
+
const IonListIosStyle0 = listIosCss;
|
|
255
|
+
|
|
256
|
+
const listMdCss = "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
257
|
+
const IonListMdStyle0 = listMdCss;
|
|
258
|
+
|
|
259
|
+
const List = class {
|
|
260
|
+
constructor(hostRef) {
|
|
261
|
+
index.registerInstance(this, hostRef);
|
|
262
|
+
this.lines = undefined;
|
|
263
|
+
this.inset = false;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* If `ion-item-sliding` are used inside the list, this method closes
|
|
267
|
+
* any open sliding item.
|
|
268
|
+
*
|
|
269
|
+
* Returns `true` if an actual `ion-item-sliding` is closed.
|
|
270
|
+
*/
|
|
271
|
+
async closeSlidingItems() {
|
|
272
|
+
const item = this.el.querySelector('ion-item-sliding');
|
|
273
|
+
if (item === null || item === void 0 ? void 0 : item.closeOpened) {
|
|
274
|
+
return item.closeOpened();
|
|
275
|
+
}
|
|
276
|
+
return false;
|
|
277
|
+
}
|
|
278
|
+
render() {
|
|
279
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
280
|
+
const { lines, inset } = this;
|
|
281
|
+
return (index.h(index.Host, { key: '3df401155114c7a39c81f201bf8a181d07e8d4c8', role: "list", class: {
|
|
282
|
+
[mode]: true,
|
|
283
|
+
// Used internally for styling
|
|
284
|
+
[`list-${mode}`]: true,
|
|
285
|
+
'list-inset': inset,
|
|
286
|
+
[`list-lines-${lines}`]: lines !== undefined,
|
|
287
|
+
[`list-${mode}-lines-${lines}`]: lines !== undefined,
|
|
288
|
+
} }));
|
|
289
|
+
}
|
|
290
|
+
get el() { return index.getElement(this); }
|
|
291
|
+
};
|
|
292
|
+
List.style = {
|
|
293
|
+
ios: IonListIosStyle0,
|
|
294
|
+
md: IonListMdStyle0
|
|
295
|
+
};
|
|
296
|
+
|
|
177
297
|
const listHeaderIosCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;box-sizing:border-box}::slotted(ion-label){flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}";
|
|
178
298
|
const IonListHeaderIosStyle0 = listHeaderIosCss;
|
|
179
299
|
|
|
@@ -557,8 +677,10 @@ const RadioGroup = class {
|
|
|
557
677
|
let radioGroupIds = 0;
|
|
558
678
|
|
|
559
679
|
exports.ion_checkbox = Checkbox;
|
|
680
|
+
exports.ion_label = Label;
|
|
681
|
+
exports.ion_list = List;
|
|
560
682
|
exports.ion_list_header = ListHeader;
|
|
561
683
|
exports.ion_radio = Radio;
|
|
562
684
|
exports.ion_radio_group = RadioGroup;
|
|
563
685
|
|
|
564
|
-
//# sourceMappingURL=ion-
|
|
686
|
+
//# sourceMappingURL=ion-checkbox_6.cjs.entry.js.map
|