@ed.yakovich/component-library 0.0.10 → 0.0.12

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 (86) hide show
  1. package/dist/components/InfoBanner/index.js +14 -15
  2. package/dist/lib/main.d.ts +0 -13
  3. package/dist/main.js +6 -32
  4. package/package.json +2 -5
  5. package/dist/components/Accordion/context/index.js +0 -7
  6. package/dist/components/Accordion/index.js +0 -38
  7. package/dist/components/Accordion/types/index.js +0 -1
  8. package/dist/components/Cart/index.js +0 -35
  9. package/dist/components/EquipmentSummary/context/index.js +0 -10
  10. package/dist/components/EquipmentSummary/index.js +0 -65
  11. package/dist/components/EquipmentSummary/types/index.js +0 -1
  12. package/dist/components/Grid/index.js +0 -19
  13. package/dist/components/HeroBanner/context/index.js +0 -7
  14. package/dist/components/HeroBanner/index.js +0 -33
  15. package/dist/components/HeroBanner/types/index.js +0 -1
  16. package/dist/components/Nav/index.js +0 -23
  17. package/dist/components/OfferCards/context/index.js +0 -7
  18. package/dist/components/OfferCards/index.js +0 -30
  19. package/dist/components/OfferCards/subComponents/OfferCard.js +0 -62
  20. package/dist/components/OfferCards/types/index.js +0 -1
  21. package/dist/components/SaleBanner/context/index.js +0 -7
  22. package/dist/components/SaleBanner/index.js +0 -59
  23. package/dist/components/SaleBanner/types/index.js +0 -1
  24. package/dist/index-0d8e0844-BJzWsYCM.js +0 -7403
  25. package/dist/index-C9Rf5U9q.js +0 -29143
  26. package/dist/index-b30029d4-E1YxEHFH.js +0 -12
  27. package/dist/index-e6818ded-r_t6ryaW.js +0 -57
  28. package/dist/index.esm-322571ff-D1REhsOg.js +0 -41
  29. package/dist/lib/components/Accordion/context/index.d.ts +0 -10
  30. package/dist/lib/components/Accordion/index.d.ts +0 -2
  31. package/dist/lib/components/Accordion/types/index.d.ts +0 -13
  32. package/dist/lib/components/Cart/index.d.ts +0 -6
  33. package/dist/lib/components/EquipmentSummary/context/index.d.ts +0 -10
  34. package/dist/lib/components/EquipmentSummary/index.d.ts +0 -2
  35. package/dist/lib/components/EquipmentSummary/types/index.d.ts +0 -14
  36. package/dist/lib/components/Grid/index.d.ts +0 -13
  37. package/dist/lib/components/HeroBanner/context/index.d.ts +0 -10
  38. package/dist/lib/components/HeroBanner/index.d.ts +0 -2
  39. package/dist/lib/components/HeroBanner/types/index.d.ts +0 -11
  40. package/dist/lib/components/Nav/index.d.ts +0 -8
  41. package/dist/lib/components/OfferCards/context/index.d.ts +0 -9
  42. package/dist/lib/components/OfferCards/index.d.ts +0 -2
  43. package/dist/lib/components/OfferCards/subComponents/OfferCard.d.ts +0 -3
  44. package/dist/lib/components/OfferCards/types/index.d.ts +0 -26
  45. package/dist/lib/components/SaleBanner/context/index.d.ts +0 -10
  46. package/dist/lib/components/SaleBanner/index.d.ts +0 -2
  47. package/dist/lib/components/SaleBanner/types/index.d.ts +0 -11
  48. package/dist/link-DO_Jvm9n.js +0 -685
  49. package/dist/prism-accordion.entry-DeyFGNx-.js +0 -51
  50. package/dist/prism-avatar_2.entry-MLbdVrJg.js +0 -68
  51. package/dist/prism-badge.entry-BG5y7O5U.js +0 -58
  52. package/dist/prism-banner.entry-DChrjpFH.js +0 -82
  53. package/dist/prism-breadcrumb.entry-1YzYlKen.js +0 -33
  54. package/dist/prism-button_2.entry-DO8IGIoS.js +0 -110
  55. package/dist/prism-card.entry-DQ6P4TZP.js +0 -119
  56. package/dist/prism-carousel.entry-BA8zsHRW.js +0 -3111
  57. package/dist/prism-checkbox-group.entry-CP4-gghb.js +0 -62
  58. package/dist/prism-checkbox.entry-CJCy8fvC.js +0 -99
  59. package/dist/prism-data-table.entry--0djw8ls.js +0 -10475
  60. package/dist/prism-datepicker.entry-DPm7tpKB.js +0 -249
  61. package/dist/prism-form.entry-CS1zRoMt.js +0 -42
  62. package/dist/prism-grid.entry-jcx2aMUm.js +0 -28
  63. package/dist/prism-header.entry-CBSIpa0M.js +0 -202
  64. package/dist/prism-hero.entry-B0CKL5y9.js +0 -23
  65. package/dist/prism-icon_2.entry-Aja4QGUK.js +0 -118
  66. package/dist/prism-image.entry-B--khr6E.js +0 -38
  67. package/dist/prism-input-file.entry-i5qJkwEK.js +0 -119
  68. package/dist/prism-input-otp.entry-DXoARuzH.js +0 -63
  69. package/dist/prism-input-text.entry-D4QQ-dYX.js +0 -228
  70. package/dist/prism-input-textarea.entry-eeQHnhqC.js +0 -140
  71. package/dist/prism-layout.entry-bfKqOEnU.js +0 -20
  72. package/dist/prism-lineitem.entry-YIRZPVe_.js +0 -44
  73. package/dist/prism-menu.entry-BIlRCiaA.js +0 -231
  74. package/dist/prism-modal.entry-Kc-SpAR-.js +0 -94
  75. package/dist/prism-pagination.entry-BCo9aMdq.js +0 -60
  76. package/dist/prism-popover.entry-LmDvzCiR.js +0 -1013
  77. package/dist/prism-popper.entry-BqrcyTkE.js +0 -959
  78. package/dist/prism-progress.entry-29_ezvop.js +0 -79
  79. package/dist/prism-radio-group.entry-cL6AqjTk.js +0 -66
  80. package/dist/prism-radio.entry-CM_vZFZA.js +0 -101
  81. package/dist/prism-select.entry-B6A3gk7B.js +0 -230
  82. package/dist/prism-switch.entry-CtEfKB58.js +0 -95
  83. package/dist/prism-tab.entry-DIDUhFlk.js +0 -20
  84. package/dist/prism-tabs.entry-Cj3dW5_E.js +0 -70
  85. package/dist/prism-tooltip.entry-DEdY5eRd.js +0 -52
  86. package/dist/prism-typeahead.entry-D2XrvXaG.js +0 -1234
@@ -1,62 +0,0 @@
1
- import { r as a, e as c, h as i, H as r, g as n } from "./index-C9Rf5U9q.js";
2
- import { g as o, m as h } from "./index-e6818ded-r_t6ryaW.js";
3
- /*!
4
- * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
5
- */
6
- const d = ".sc-prism-checkbox-group-h{display:block}.parent.sc-prism-checkbox-group{--checkbox-margin-top:0;--checkbox-margin-bottom:0}.options.sc-prism-checkbox-group{margin-left:1.5rem;padding-left:1rem}.group-row.sc-prism-checkbox-group{align-items:center;display:flex;justify-content:space-between;margin-top:1rem}.expandable-content.sc-prism-checkbox-group{max-height:0;overflow-y:hidden;transition:max-height .2s ease-in-out}.expandable-content.visible.sc-prism-checkbox-group{display:block;max-height:500vh;overflow:auto}.toggle.sc-prism-checkbox-group{margin-left:1rem}", p = d, l = class {
7
- constructor(e) {
8
- a(this, e), this.prismChange = c(this, "prismChange", 7), this.uid = o(), this.toggleSelections = (s) => {
9
- this.checkBoxes.forEach((t) => {
10
- s.detail.checked ? t.checked = !0 : t.checked = !1;
11
- });
12
- }, this.name = void 0, this.loading = !1, this.prismId = `prism-checkbox-group-${this.uid}`, this.variant = "static", this.expanded = !0;
13
- }
14
- connectedCallback() {
15
- h("prism-checkbox-group");
16
- }
17
- _setParentUnchecked() {
18
- this.parentCheckbox.checked = !1, this.parentCheckbox.indeterminate = !1;
19
- }
20
- _setParentChecked() {
21
- this.parentCheckbox.checked = !0, this.parentCheckbox.indeterminate = !1;
22
- }
23
- _setParentIndeterminate() {
24
- this.parentCheckbox.checked = !1, this.parentCheckbox.indeterminate = !0;
25
- }
26
- _setParentCheckbox() {
27
- const e = this.checkBoxes.length, s = this.checkBoxes.filter((t) => t.checked === !0).length;
28
- return s === 0 ? this._setParentUnchecked() : s === e ? this._setParentChecked() : this._setParentIndeterminate();
29
- }
30
- componentDidRender() {
31
- this.checkBoxes = Array.from(this.checkboxCollection.getElementsByTagName("prism-checkbox")), this.checkBoxes.forEach((e) => {
32
- this.loading ? e.setAttribute("disabled", "true") : e.removeAttribute("disabled");
33
- }), this._setParentCheckbox();
34
- }
35
- onCheckboxChange(e) {
36
- const s = e.detail, t = s.target;
37
- s.target.id !== this.prismId && (this._setParentCheckbox(), this.prismChange.emit({
38
- name: "checkbox-group-changed",
39
- checked: t.checked,
40
- group: t.name,
41
- id: t.id,
42
- invalid: t.invalid,
43
- loading: t.loading,
44
- target: t,
45
- value: t.value
46
- }));
47
- }
48
- render() {
49
- return i(r, { key: "5211fc7e6ce6d3ab0d32522c80f75145070b3eef", role: this.variant === "tree" ? "group" : null }, i("span", { key: "3868c2d9a76850370435facac130efe4efb6a876", class: "group-row" }, i("prism-checkbox", { key: "b99becdfca51c5d178d0aa332ac84c00f945ff4b", ref: (e) => this.parentCheckbox = e, prismId: this.prismId, loading: this.loading, onPrismInput: (e) => this.toggleSelections(e), name: this.name, class: "parent" }), this.variant === "tree" && i("prism-button", { key: "6f7fb83b3163907b76a689c9dfaea2fcfb201b54", class: "toggle", onPrismPress: () => this.expanded = !this.expanded, expanded: this.expanded, size: "xs", display: "ghost-icon", label: `toggle ${this.name}` }, " ", i("prism-icon", { key: "ed68fca8525ef6507d78ad397c514eccda1467a4", class: { icon: !0 }, "aria-hidden": "true", priority: "secondary", tone: "custom", theme: "outline", name: this.expanded ? "caret_up_button" : "caret_down_button" }))), i("section", { key: "412b75734b39bbe333a6b445915a28893026f825", "aria-hidden": this.expanded && this.variant === "tree" ? "false" : this.variant === "tree" ? "true" : null, ref: (e) => this.checkboxCollection = e, class: {
50
- options: !0,
51
- "expandable-content": this.variant === "tree",
52
- visible: this.expanded && this.variant === "tree"
53
- } }, i("slot", { key: "ab5ac4dce9fe2f72a31f6ae4a1bb443890735913" })));
54
- }
55
- get el() {
56
- return n(this);
57
- }
58
- };
59
- l.style = p;
60
- export {
61
- l as prism_checkbox_group
62
- };
@@ -1,99 +0,0 @@
1
- import { r, e as c, h as t, H as o } from "./index-C9Rf5U9q.js";
2
- import { g as a, m as s } from "./index-e6818ded-r_t6ryaW.js";
3
- import { A as n } from "./index-b30029d4-E1YxEHFH.js";
4
- /*!
5
- * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
6
- */
7
- const h = '.sr-input.sc-prism-checkbox{margin:0;opacity:0;overflow:hidden;padding:0;position:absolute!important;visibility:visible}.sc-prism-checkbox-h{--checkbox-margin-top:1rem;--checkbox-margin-bottom:1rem;display:block;margin-bottom:var(--checkbox-margin-bottom);margin-top:var(--checkbox-margin-top);position:relative;width:auto}.screen-reader-text.sc-prism-checkbox{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.label.sc-prism-checkbox{-moz-column-gap:1rem;column-gap:1rem;display:grid;grid-template-areas:"checkbox label" "checkbox hint";grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr;grid-template-rows:1fr}.no-visual.label.sc-prism-checkbox{gap:0}.label.right.sc-prism-checkbox{grid-template-areas:"label checkbox" "hint checkbox"}.label.sc-prism-checkbox:not(.loading):hover{cursor:pointer}.input.sc-prism-checkbox:hover+.label.sc-prism-checkbox .checkbox.checked.sc-prism-checkbox,.input.sc-prism-checkbox:hover+.label.sc-prism-checkbox .checkbox.indeterminate.sc-prism-checkbox,.label.sc-prism-checkbox:hover .checkbox.checked.sc-prism-checkbox,.label.sc-prism-checkbox:hover .checkbox.indeterminate.sc-prism-checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;--shadow-color:var(--fill-theme1-hover-shadow);background-color:rgb(var(--background-color-fill-theme1-hover)/var(--tw-bg-opacity));border-color:rgb(var(--border-color-stroke-theme1-hover)/var(--tw-border-opacity))}.input[disabled].sc-prism-checkbox:hover,.label.disabled.sc-prism-checkbox:hover{cursor:not-allowed}.label-text.sc-prism-checkbox{--tw-text-opacity:1;color:rgb(var(--text-color-neutral-base)/var(--tw-text-opacity));display:inline-block;grid-area:label;vertical-align:middle}.input.sc-prism-checkbox:hover+.label.sc-prism-checkbox:not(.loading) .checkbox.sc-prism-checkbox:not(.checked):not(.invalid){--tw-border-opacity:1;border-color:rgb(var(--border-color-stroke-neutral2-hover)/var(--tw-border-opacity))}.checkbox.sc-prism-checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;--shadow-color:var(--material-neutral-base-shadow);background-color:var(--background-color-transparent,transparent);background-color:rgb(var(--background-color-material-neutral-base)/var(--tw-bg-opacity));border-color:rgb(var(--border-color-stroke-neutral2-base)/var(--tw-border-opacity));border-radius:var(--border-radius-small,4px);border-style:solid;border-width:1px;display:inline-block;flex-shrink:0;grid-area:checkbox;height:1.5rem;pointer-events:none;text-align:center;transition:all .2s ease-in;transition-property:background-color,border-color,box-shadow;vertical-align:middle;width:1.5rem}.loading.sc-prism-checkbox .checkbox.sc-prism-checkbox{--tw-border-opacity:var(--border-opacity-inactive,0.3);--tw-text-opacity:1;align-items:center;color:rgb(var(--text-color-neutral2-base)/var(--tw-text-opacity));display:flex;justify-content:center}.input.sc-prism-checkbox{border-style:solid;border-width:1px;cursor:pointer;height:1.5rem;left:2px;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;top:2px;visibility:visible;width:1.5rem}.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox:not(.loading) .checkbox.sc-prism-checkbox{outline-color:var(--outline-color-neutral2-focus,#35353b);outline-offset:2px;outline-style:solid;outline-width:1px}.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox:not(.loading) .checkbox.sc-prism-checkbox:not(.invalid){--tw-border-opacity:1;border-color:rgb(var(--border-color-stroke-neutral2-focus)/var(--tw-border-opacity))}.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox:not(.loading) .checked.sc-prism-checkbox,.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox:not(.loading) .indeterminate.sc-prism-checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;--shadow-color:var(--fill-theme1-focus-shadow);background-color:rgb(var(--background-color-fill-theme1-focus)/var(--tw-bg-opacity));border-color:rgb(var(--border-color-stroke-theme1-focus)/var(--tw-border-opacity));outline-color:var(--outline-color-theme1-base,#5a23b9)}.checked.sc-prism-checkbox,.indeterminate.sc-prism-checkbox{--tw-bg-opacity:1;--tw-text-opacity:1;--shadow-color:var(--fill-theme1-base-shadow);align-items:center;background-color:rgb(var(--background-color-fill-theme1-base)/var(--tw-bg-opacity));border-width:0;color:rgb(var(--text-color-inverse-base)/var(--tw-text-opacity));display:inline-flex;justify-content:center}.loading.sc-prism-checkbox .checked.sc-prism-checkbox{--tw-bg-opacity:var(--background-opacity-inactive,0.3);--tw-text-opacity:1;color:rgb(var(--text-color-theme1-base)/var(--tw-text-opacity))}.invalid.sc-prism-checkbox,.invalid.checked.sc-prism-checkbox,.invalid.indeterminate.sc-prism-checkbox{--tw-border-opacity:1;border-color:rgb(var(--border-color-stroke-negative-base)/var(--tw-border-opacity))}.invalid.checked.sc-prism-checkbox,.invalid.indeterminate.sc-prism-checkbox{--tw-bg-opacity:1;--shadow-color:var(--fill-negative-base-shadow);background-color:rgb(var(--background-color-fill-negative-base)/var(--tw-bg-opacity))}.input.sc-prism-checkbox:hover+.label.sc-prism-checkbox .invalid.sc-prism-checkbox{--tw-border-opacity:1;border-color:rgb(var(--border-color-stroke-negative-hover)/var(--tw-border-opacity))}.input.sc-prism-checkbox:hover+.label.sc-prism-checkbox .invalid.checked.sc-prism-checkbox,.input.sc-prism-checkbox:hover+.label.sc-prism-checkbox .invalid.indeterminate.sc-prism-checkbox{--tw-bg-opacity:1;--shadow-color:var(--fill-negative-hover-shadow);background-color:rgb(var(--background-color-fill-negative-hover)/var(--tw-bg-opacity))}.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox .invalid.sc-prism-checkbox{--tw-border-opacity:1;border-color:rgb(var(--border-color-stroke-negative-focus)/var(--tw-border-opacity))}.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox .invalid.checked.sc-prism-checkbox,.sc-prism-checkbox-h:focus-within .label.sc-prism-checkbox .invalid.indeterminate.sc-prism-checkbox{--tw-bg-opacity:1;--shadow-color:var(--fill-negative-focus-shadow);background-color:rgb(var(--background-color-fill-negative-focus)/var(--tw-bg-opacity));outline-color:var(--outline-color-negative-focus,#8f002f)}.disabled.sc-prism-checkbox{cursor:not-allowed;opacity:var(--opacity-inactive,.3)}.icon.sc-prism-checkbox{--tw-text-opacity:1;color:rgb(var(--text-color-inverse-base)/var(--tw-text-opacity));display:block;height:1rem;width:1rem}.hint-container.sc-prism-checkbox{align-items:center;display:flex;margin-top:.25rem}.hint-container.sc-prism-checkbox>.sc-prism-checkbox:not([hidden])~.sc-prism-checkbox:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.hint-text.sc-prism-checkbox{display:block;grid-area:hint;text-align:left}.invalid-text.sc-prism-checkbox{--tw-text-opacity:1;color:rgb(var(--text-color-negative-base)/var(--tw-text-opacity))}.loading.sc-prism-checkbox{cursor:wait;pointer-events:none}@media (prefers-reduced-motion:reduce){.checkbox.sc-prism-checkbox{transition:none}}', l = h, d = class {
8
- constructor(i) {
9
- r(this, i), this.prismChange = c(this, "prismChange", 7), this.prismInput = c(this, "prismInput", 7), this.prismBlur = c(this, "prismBlur", 7), this.prismFocus = c(this, "prismFocus", 7), this.uid = a(), this.isDirty = !1, this.prismId = `prism-checkbox-${this.uid}`, this.name = this.prismId, this.label = this.name.charAt(0).toUpperCase() + this.name.replace(/-/g, " ").substring(1), this.checked = !1, this.indeterminate = !1, this.required = !1, this.disabled = !1, this.loading = !1, this.hideLabel = !1, this.hideInvalid = !1, this.hint = void 0, this.invalid = !1, this.value = void 0, this.invalidMessage = "This field is required", this.ariaDescribedby = "", this.alignment = "left", this.hintId = `${this.prismId}-hint`, this.describedBy = void 0;
10
- }
11
- /**
12
- * @description Public: Set Focus on Input
13
- */
14
- async setFocus() {
15
- this.element && this.element.focus();
16
- }
17
- /**
18
- * Listen to Reset Events
19
- */
20
- handleReset() {
21
- this.checked = !1;
22
- }
23
- /** @internal Emit onChange of Value Event */
24
- valueChanged(i) {
25
- this.prismChange.emit({
26
- name: "value-changed",
27
- checked: this.checked,
28
- indeterminate: this.indeterminate,
29
- invalid: this.invalid,
30
- value: i.target.value,
31
- type: "checkbox"
32
- });
33
- }
34
- /** @internal Native Event Handling */
35
- inputChanged(i) {
36
- this.isDirty = !0, this.describedBy = `${this.hintId} ${this.ariaDescribedby}`.trim();
37
- let e = i.currentTarget;
38
- this.checked = e.checked, this.checked && (this.indeterminate = !1), this.prismInput.emit({
39
- name: "input-change",
40
- checked: this.checked,
41
- indeterminate: this.indeterminate,
42
- invalid: this.invalid,
43
- value: e.value,
44
- type: "checkbox",
45
- target: e
46
- });
47
- }
48
- onCheckValidity(i) {
49
- i.preventDefault();
50
- const e = i.currentTarget;
51
- this.invalid = !e.validity.valid, this.describedBy = `${this.hintId} ${this.ariaDescribedby}`.trim(), this.prismChange.emit({ name: "check-validity", checked: this.checked, target: e, reason: e.validity });
52
- }
53
- // Input has focus or blurred
54
- inputState(i) {
55
- let e = i.currentTarget;
56
- switch (i.type) {
57
- case "blur":
58
- this.isDirty && (this.invalid = !e.validity.valid), this.prismBlur.emit({
59
- name: "input-blurred",
60
- checked: this.checked,
61
- type: "checkbox",
62
- value: e.value,
63
- target: e
64
- });
65
- break;
66
- case "focus":
67
- this.prismFocus.emit({
68
- name: "input-focused",
69
- checked: this.checked,
70
- type: "checkbox",
71
- value: e.value,
72
- target: e
73
- });
74
- }
75
- }
76
- /**
77
- * Listen to Keydown Events
78
- */
79
- inputKeyDown(i) {
80
- this.loading && i.key === " " && i.preventDefault();
81
- }
82
- connectedCallback() {
83
- this.describedBy = this.hint ? `${this.hintId} ${this.ariaDescribedby}`.trim() : this.ariaDescribedby, s("prism-checkbox");
84
- }
85
- render() {
86
- const i = this.invalid;
87
- return t(o, { key: "65cacbe3fffc933047b234d54f0a2da14fe33a20" }, t("input", { key: "6495732cc9653ca57afaee2d922298a4493657cd", onInput: (e) => this.inputChanged(e), onChange: (e) => this.valueChanged(e), onInvalid: (e) => this.onCheckValidity(e), onBlur: (e) => this.inputState(e), onFocus: (e) => this.inputState(e), onKeyDown: (e) => this.inputKeyDown(e), checked: this.checked, indeterminate: this.indeterminate, id: this.prismId, ref: (e) => this.element = e, name: this.name.replace(/ /g, "-"), type: "checkbox", disabled: this.disabled, required: this.required, "aria-invalid": this.invalid.toString(), "aria-required": this.required.toString(), "aria-describedby": this.describedBy ? this.describedBy : !1, value: this.value, class: { input: !0, loading: this.loading } }), t("label", { key: "b1812c7b67dbe1f9671567962ff22b0b66d6e290", class: { label: !0, disabled: this.disabled, loading: this.loading, [this.alignment]: !0, "no-visual": this.hideLabel }, htmlFor: this.prismId }, t("span", { key: "b101056745114e2566e0ce0228e8d7ffc947a3c1", class: { checkbox: !0, checked: this.checked, indeterminate: this.indeterminate, invalid: this.invalid } }, this.loading && t("prism-loading", { key: "b1f030a5833ee4e4eee96391bc13ef29ee7003c2", type: "spinner", "spinner-size": "sm" }), this.checked && !this.loading && t("prism-icon", { key: "613bfc8c75ed6be38a0cfb1839b2fbb0947e12a2", tone: "neutral-inverse", theme: "outline", size: "sm", name: "check" }), this.indeterminate && t("prism-icon", { key: "5231c4e4e65d3d84ba6477f0270afaf389393bda", tone: "neutral-inverse", theme: "outline", size: "sm", name: "minus" })), t("prism-text", { key: "4c7b44338bb183c02a5022b18096fb794f2d9fc7", display: "body1", class: { "label-text": !0, "screen-reader-text": this.hideLabel } }, this.label, this.required && t(n, { key: "127d2dbae87d66397330363ba7b73fa601eb7491" })), this.hint && t("prism-text", { key: "b73fb380530d59e08e71c9c1ed25d903cd8afc6b", display: "caption", priority: "secondary", class: { "hint-text": !0, "screen-reader-text": this.hideLabel } }, this.hint)), t("span", { key: "adf77be37fffaca5f97964c7295c537c03b877ca", "aria-live": "polite", id: this.hintId }, i && t("span", { key: "a233626d35e1f37e404ec23848a36f1bcabe7a29", class: {
88
- "hint-container": !0,
89
- "screen-reader-text": this.invalid && this.hideInvalid
90
- } }, this.invalid && t("prism-icon", { key: "31bffdf464e7b797228d21b86477f30f27e5ba13", theme: "fill", slot: "icon-trailing", size: "xs", tone: "negative", name: "alert" }), t("prism-text", { key: "eb71e5a82f050c63a98ef6bb07cf3f41fcb2add2", class: {
91
- "invalid-text": this.invalid,
92
- "hint-text": !0
93
- }, display: "caption" }, this.invalidMessage))));
94
- }
95
- };
96
- d.style = l;
97
- export {
98
- d as prism_checkbox
99
- };