@webquark/core 1.0.0 → 1.0.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.
Files changed (170) hide show
  1. package/LICENSE +21 -21
  2. package/{readme.md → README.md} +97 -78
  3. package/dist/cjs/q-button_3.cjs.entry.js +22 -22
  4. package/dist/cjs/q-card.cjs.entry.js +3 -3
  5. package/dist/cjs/q-carousel.cjs.entry.js +2 -2
  6. package/dist/cjs/q-circular-progress_2.cjs.entry.js +5 -5
  7. package/dist/cjs/q-data-table.cjs.entry.js +3 -3
  8. package/dist/cjs/q-dialog.cjs.entry.js +1 -1
  9. package/dist/cjs/q-dropdown.cjs.entry.js +3 -3
  10. package/dist/cjs/q-quantity-selector.cjs.entry.js +5 -5
  11. package/dist/cjs/q-reel.cjs.entry.js +2 -2
  12. package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
  13. package/dist/cjs/q-step-diagram.cjs.entry.js +2 -2
  14. package/dist/cjs/q-textarea.cjs.entry.js +2 -2
  15. package/dist/cjs/q-thumbnail.cjs.entry.js +2 -2
  16. package/dist/cjs/q-toggle.cjs.entry.js +3 -3
  17. package/dist/collection/assets/icons/braces.svg +14 -14
  18. package/dist/collection/assets/icons/check.svg +1 -1
  19. package/dist/collection/assets/icons/chevron-down.svg +1 -1
  20. package/dist/collection/assets/icons/chevron-left.svg +1 -1
  21. package/dist/collection/assets/icons/chevron-right.svg +1 -1
  22. package/dist/collection/assets/icons/chevron-up.svg +1 -1
  23. package/dist/collection/assets/icons/copy.svg +4 -4
  24. package/dist/collection/assets/icons/eye-off.svg +1 -1
  25. package/dist/collection/assets/icons/eye.svg +1 -1
  26. package/dist/collection/assets/icons/minus.svg +1 -1
  27. package/dist/collection/assets/icons/play.svg +1 -1
  28. package/dist/collection/assets/icons/plus.svg +1 -1
  29. package/dist/collection/assets/icons/search.svg +1 -1
  30. package/dist/collection/assets/icons/spinner.svg +1 -1
  31. package/dist/collection/assets/icons/trash-2.svg +1 -1
  32. package/dist/collection/assets/icons/x.svg +1 -1
  33. package/dist/collection/components/card/card.js +3 -3
  34. package/dist/collection/components/carousel/carousel.js +2 -2
  35. package/dist/collection/components/circular-progress/circular-progress.js +2 -2
  36. package/dist/collection/components/data-table/data-table.css +219 -219
  37. package/dist/collection/components/data-table/data-table.js +4 -4
  38. package/dist/collection/components/dialog/dialog.js +1 -1
  39. package/dist/collection/components/dropdown/dropdown.js +5 -5
  40. package/dist/collection/components/icon/icon.js +1 -1
  41. package/dist/collection/components/input/input.js +3 -3
  42. package/dist/collection/components/quantity-selector/quantity-selector.css +131 -131
  43. package/dist/collection/components/quantity-selector/quantity-selector.js +4 -4
  44. package/dist/collection/components/reel/reel.js +2 -2
  45. package/dist/collection/components/scrollable/scrollable.js +22 -22
  46. package/dist/collection/components/sidepanel/sidepanel.js +2 -2
  47. package/dist/collection/components/step-diagram/step-diagram.js +2 -2
  48. package/dist/collection/components/step-diagram-item/step-diagram-item.js +2 -2
  49. package/dist/collection/components/textarea/textarea.js +2 -2
  50. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  51. package/dist/collection/components/toggle/toggle.js +4 -4
  52. package/dist/collection/playground/components/playground-event-log/playground-event-log.js +3 -3
  53. package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +3 -3
  54. package/dist/collection/playground/logo.svg +8 -8
  55. package/dist/collection/playground/playground.bundled.js +590 -590
  56. package/dist/collection/playground/views/q-button-view/q-button-view.js +6 -6
  57. package/dist/collection/playground/views/q-input-view/q-input-view.js +6 -6
  58. package/dist/collection/utils/formatter.unit.test.js +24 -24
  59. package/dist/components/{p-CYfD9z8O.js → p-B4IF9WVv.js} +1 -1
  60. package/dist/components/{p-BRNv11Jn.js → p-DScvq41R.js} +1 -1
  61. package/dist/components/{p-B7e76DLW.js → p-Do2ppeKL.js} +1 -1
  62. package/dist/components/q-card.js +1 -1
  63. package/dist/components/q-carousel.js +1 -1
  64. package/dist/components/q-circular-progress.js +1 -1
  65. package/dist/components/q-data-table.js +1 -1
  66. package/dist/components/q-dialog.js +1 -1
  67. package/dist/components/q-dropdown.js +1 -1
  68. package/dist/components/q-input.js +1 -1
  69. package/dist/components/q-quantity-selector.js +1 -1
  70. package/dist/components/q-reel.js +1 -1
  71. package/dist/components/q-scrollable.js +1 -1
  72. package/dist/components/q-step-diagram-item.js +1 -1
  73. package/dist/components/q-step-diagram.js +1 -1
  74. package/dist/components/q-syntax-box.js +1 -1
  75. package/dist/components/q-textarea.js +1 -1
  76. package/dist/components/q-thumbnail.js +1 -1
  77. package/dist/components/q-toggle.js +1 -1
  78. package/dist/esm/q-button_3.entry.js +22 -22
  79. package/dist/esm/q-card.entry.js +3 -3
  80. package/dist/esm/q-carousel.entry.js +2 -2
  81. package/dist/esm/q-circular-progress_2.entry.js +5 -5
  82. package/dist/esm/q-data-table.entry.js +3 -3
  83. package/dist/esm/q-dialog.entry.js +1 -1
  84. package/dist/esm/q-dropdown.entry.js +3 -3
  85. package/dist/esm/q-quantity-selector.entry.js +5 -5
  86. package/dist/esm/q-reel.entry.js +2 -2
  87. package/dist/esm/q-step-diagram-item.entry.js +2 -2
  88. package/dist/esm/q-step-diagram.entry.js +2 -2
  89. package/dist/esm/q-textarea.entry.js +2 -2
  90. package/dist/esm/q-thumbnail.entry.js +2 -2
  91. package/dist/esm/q-toggle.entry.js +3 -3
  92. package/dist/playground/assets/icons/braces.svg +14 -14
  93. package/dist/playground/assets/icons/check.svg +1 -1
  94. package/dist/playground/assets/icons/chevron-down.svg +1 -1
  95. package/dist/playground/assets/icons/chevron-left.svg +1 -1
  96. package/dist/playground/assets/icons/chevron-right.svg +1 -1
  97. package/dist/playground/assets/icons/chevron-up.svg +1 -1
  98. package/dist/playground/assets/icons/copy.svg +4 -4
  99. package/dist/playground/assets/icons/eye-off.svg +1 -1
  100. package/dist/playground/assets/icons/eye.svg +1 -1
  101. package/dist/playground/assets/icons/minus.svg +1 -1
  102. package/dist/playground/assets/icons/play.svg +1 -1
  103. package/dist/playground/assets/icons/plus.svg +1 -1
  104. package/dist/playground/assets/icons/search.svg +1 -1
  105. package/dist/playground/assets/icons/spinner.svg +1 -1
  106. package/dist/playground/assets/icons/trash-2.svg +1 -1
  107. package/dist/playground/assets/icons/x.svg +1 -1
  108. package/dist/playground/build/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
  109. package/dist/playground/build/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
  110. package/dist/{webquark/p-f7b5b155.entry.js → playground/build/p-4ce667f1.entry.js} +1 -1
  111. package/dist/{webquark/p-aa9be919.entry.js → playground/build/p-66b0eb0f.entry.js} +1 -1
  112. package/dist/{webquark/p-b1e68119.entry.js → playground/build/p-69d33f9d.entry.js} +1 -1
  113. package/dist/playground/build/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
  114. package/dist/{webquark/p-f48dd3dd.entry.js → playground/build/p-776a0eb6.entry.js} +1 -1
  115. package/dist/playground/build/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
  116. package/dist/playground/build/p-7d2144cf.entry.js +1 -0
  117. package/dist/playground/build/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
  118. package/dist/{webquark/p-1238a2cc.entry.js → playground/build/p-938cd8a6.entry.js} +1 -1
  119. package/dist/playground/build/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
  120. package/dist/playground/build/p-aa017815.entry.js +1 -0
  121. package/dist/playground/build/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
  122. package/dist/playground/build/webquark.esm.js +1 -1
  123. package/dist/playground/logo.svg +8 -8
  124. package/dist/playground/playground/specs/q-button.sandbox.json +198 -198
  125. package/dist/playground/playground/specs/q-card.sandbox.json +144 -144
  126. package/dist/playground/playground/specs/q-carousel.sandbox.json +120 -120
  127. package/dist/playground/playground/specs/q-circular-progress.sandbox.json +91 -91
  128. package/dist/playground/playground/specs/q-data-table.sandbox.json +108 -108
  129. package/dist/playground/playground/specs/q-dialog.sandbox.json +108 -108
  130. package/dist/playground/playground/specs/q-dropdown.sandbox.json +116 -116
  131. package/dist/playground/playground/specs/q-icon.sandbox.json +138 -138
  132. package/dist/playground/playground/specs/q-input.sandbox.json +192 -192
  133. package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +99 -99
  134. package/dist/playground/playground/specs/q-reel.sandbox.json +70 -70
  135. package/dist/playground/playground/specs/q-scrollable.sandbox.json +102 -102
  136. package/dist/playground/playground/specs/q-sidepanel.sandbox.json +147 -147
  137. package/dist/playground/playground/specs/q-step-diagram.sandbox.json +56 -56
  138. package/dist/playground/playground/specs/q-syntax-box.sandbox.json +160 -160
  139. package/dist/playground/playground/specs/q-textarea.sandbox.json +133 -133
  140. package/dist/playground/playground/specs/q-toggle.sandbox.json +196 -196
  141. package/dist/playground/playground/specs/q-tooltip.sandbox.json +65 -65
  142. package/dist/playground/playground.css +1 -1
  143. package/dist/playground/playground.js +590 -590
  144. package/dist/playground/views/q-button-view/q-button-view.css +1 -1
  145. package/dist/playground/views/q-button-view/q-button-view.html +1 -1
  146. package/dist/playground/views/q-button-view/q-button-view.js +6 -6
  147. package/dist/playground/views/q-input-view/q-input-view.css +1 -1
  148. package/dist/playground/views/q-input-view/q-input-view.html +1 -1
  149. package/dist/playground/views/q-input-view/q-input-view.js +6 -6
  150. package/dist/types/declarations.d.ts +9 -9
  151. package/dist/webquark/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
  152. package/dist/webquark/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
  153. package/dist/{playground/build/p-f7b5b155.entry.js → webquark/p-4ce667f1.entry.js} +1 -1
  154. package/dist/{playground/build/p-aa9be919.entry.js → webquark/p-66b0eb0f.entry.js} +1 -1
  155. package/dist/{playground/build/p-b1e68119.entry.js → webquark/p-69d33f9d.entry.js} +1 -1
  156. package/dist/webquark/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
  157. package/dist/{playground/build/p-f48dd3dd.entry.js → webquark/p-776a0eb6.entry.js} +1 -1
  158. package/dist/webquark/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
  159. package/dist/webquark/p-7d2144cf.entry.js +1 -0
  160. package/dist/webquark/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
  161. package/dist/{playground/build/p-1238a2cc.entry.js → webquark/p-938cd8a6.entry.js} +1 -1
  162. package/dist/webquark/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
  163. package/dist/webquark/p-aa017815.entry.js +1 -0
  164. package/dist/webquark/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
  165. package/dist/webquark/webquark.esm.js +1 -1
  166. package/package.json +84 -84
  167. package/dist/playground/build/p-9afa3fe8.entry.js +0 -1
  168. package/dist/playground/build/p-9bb8ed97.entry.js +0 -1
  169. package/dist/webquark/p-9afa3fe8.entry.js +0 -1
  170. package/dist/webquark/p-9bb8ed97.entry.js +0 -1
@@ -117,11 +117,11 @@ const QTextarea = class {
117
117
  render() {
118
118
  const hasError = !!(this.error || this.errorMessage);
119
119
  const displayError = this.error || this.errorMessage;
120
- return (index.h("div", { key: 'c737b89f5aa3372ed614bd56997ad60f9b578346', class: {
120
+ return (index.h("div", { key: '344d19ec419cd5d70c353b76331dcae797102749', class: {
121
121
  'textarea-wrapper': true,
122
122
  'is-disabled': this.disabled,
123
123
  'has-error': hasError
124
- } }, this.label && (index.h("label", { key: '54d8ee8d70d5427e4de7c1d2148814b199a64fcb', class: "textarea-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("textarea", { key: '5bfa55a3312edb1419f473967e376c5cc2d1d6b6', ref: (el) => (this.textareaEl = el), id: "q-field", class: "textarea-box", style: { resize: this.activeResizeMode === 'manual' ? 'vertical' : 'none' }, part: "textarea", value: this.value, placeholder: this.placeholder, rows: this.rows, disabled: this.disabled, required: this.required, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'q-field-error' : undefined }), hasError && (index.h("span", { key: '611dca2dfdd56e640df57026d8b87ba327dd5122', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
124
+ } }, this.label && (index.h("label", { key: '282d597bdcda3b0ef5c16d20c8865c989f07d589', class: "textarea-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("textarea", { key: '7ce68f069dc4632d461a6c29cfb7fe6e294c6bc3', ref: (el) => (this.textareaEl = el), id: "q-field", class: "textarea-box", style: { resize: this.activeResizeMode === 'manual' ? 'vertical' : 'none' }, part: "textarea", value: this.value, placeholder: this.placeholder, rows: this.rows, disabled: this.disabled, required: this.required, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'q-field-error' : undefined }), hasError && (index.h("span", { key: 'ba9e0ca9f50243bfd9ed941315759ee515e02dde', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
125
125
  }
126
126
  static get delegatesFocus() { return true; }
127
127
  static get formAssociated() { return true; }
@@ -29,14 +29,14 @@ const QThumbnail = class {
29
29
  };
30
30
  // ===================== [6] RENDER (Visual Template Only) =====================
31
31
  render() {
32
- return (index.h("div", { key: '6048f4001e11b980523c074af8a2ae2bd6353565', class: {
32
+ return (index.h("div", { key: '80289b461fbf490d82563ec68c1b4b0421bd249d', class: {
33
33
  'thumb-wrapper': true,
34
34
  'is-highlighted': this.highlighted,
35
35
  'is-video': this.video
36
36
  }, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: (e) => {
37
37
  if (e.key === 'Enter' || e.key === ' ')
38
38
  this.handleTrigger(e);
39
- } }, index.h("div", { key: '237a715cab7f8c7767674d8861faa1a9e12f5866', class: "thumb-media-container" }, index.h("img", { key: 'f39d17512b124e63a5399c124703d508e9ab9517', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (index.h("div", { key: '6b63145f6bfab76f8fadbc0390e8a43e023e2731', class: "video-play-indicator" }, index.h("svg", { key: 'd140d4ecf2288afd198bd605a742bdb42d6d1ae4', viewBox: "0 0 24 24", fill: "currentColor" }, index.h("polygon", { key: 'd5bf40b70183d8ae474db0fe9a13ea6654a2f4da', points: "5 3 19 12 5 21 5 3" }))))), this.label && (index.h("div", { key: 'c15d8b9de2ca5ddaff612e4101e1fe80e425af36', class: "thumb-caption" }, index.h("span", { key: '6086d42e5f12f76586246657caa1ca1b3502858e', class: "caption-text" }, this.label))), index.h("slot", { key: '7b0c65bb8b2e0ceb279cd2a963b53890a1ec8571' })));
39
+ } }, index.h("div", { key: 'b5a7f21640101fc44028927185f8c287df8df373', class: "thumb-media-container" }, index.h("img", { key: '9a3f78cc625f9e867fad571e990191758a8cd4db', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (index.h("div", { key: 'cb6481bad6795790f1529932141b2a90b3777110', class: "video-play-indicator" }, index.h("svg", { key: '21d876aef50b6976a00121948a1c8879b06a202e', viewBox: "0 0 24 24", fill: "currentColor" }, index.h("polygon", { key: 'f44fbe0b1831f226763a58835b0daa73edac7021', points: "5 3 19 12 5 21 5 3" }))))), this.label && (index.h("div", { key: 'c02723532432e65ba21c3618dcec7c4d95aa40c5', class: "thumb-caption" }, index.h("span", { key: '7430b18e8138cf756ff80d6c2cc5c44dcca84a97', class: "caption-text" }, this.label))), index.h("slot", { key: '2aa83366c860856998cdf430cde10f8671d246e2' })));
40
40
  }
41
41
  };
42
42
  QThumbnail.style = thumbnailCss();
@@ -123,7 +123,7 @@ const QToggle = class {
123
123
  const hasLabel = this.label !== undefined && this.label !== '';
124
124
  const showLabel = hasLabel || this.hasDefaultSlot;
125
125
  const hasError = !!this.error;
126
- return (index.h("div", { key: '6b39ce76ea267e0ed4777e6126405f8f6b238680', class: "toggle-container" }, index.h("div", { key: '617dca4bdefe1be5226a9c45308454e1d762dc26', class: {
126
+ return (index.h("div", { key: '76466b46947d02f8ac49951459a749fa21cf98c3', class: "toggle-container" }, index.h("div", { key: '0072a7ff9d4cfbddcccb5181109a20de5e2d2e2e', class: {
127
127
  'toggle-wrapper': true,
128
128
  'is-checked': this.checked,
129
129
  'is-disabled': this.disabled,
@@ -131,10 +131,10 @@ const QToggle = class {
131
131
  'has-error': hasError,
132
132
  [`type-${this.type}`]: true,
133
133
  [`size-${this.size}`]: true,
134
- }, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'toggle-error-msg' : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }, index.h("div", { key: '80976def7b6d1bf574d69e8d447301c9defe35fb', class: "toggle-control", part: "control" }, this.type === 'switch' ? (index.h("div", { class: "switch-track", part: "track" }, index.h("div", { class: "switch-thumb", part: "thumb" }))) : (index.h("div", { class: "checkbox-box", part: "box" }, index.h("span", { class: { 'icon-wrap': true, 'is-hidden': !this.checked }, part: "icon-checked" }, index.h("slot", { name: "checked-icon", onSlotchange: this.handleSlotChange }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", class: "default-check-icon" }, index.h("polyline", { points: "20 6 9 17 4 12" })))), index.h("span", { class: { 'icon-wrap': true, 'is-hidden': this.checked }, part: "icon-unchecked" }, index.h("slot", { name: "unchecked-icon", onSlotchange: this.handleSlotChange }))))), index.h("span", { key: '61463bdcf74a58eebb021d3d42430eed23262b48', class: {
134
+ }, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'toggle-error-msg' : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }, index.h("div", { key: '4dc6892d2d04e0b3aa60af44a343fe40463dfc71', class: "toggle-control", part: "control" }, this.type === 'switch' ? (index.h("div", { class: "switch-track", part: "track" }, index.h("div", { class: "switch-thumb", part: "thumb" }))) : (index.h("div", { class: "checkbox-box", part: "box" }, index.h("span", { class: { 'icon-wrap': true, 'is-hidden': !this.checked }, part: "icon-checked" }, index.h("slot", { name: "checked-icon", onSlotchange: this.handleSlotChange }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", class: "default-check-icon" }, index.h("polyline", { points: "20 6 9 17 4 12" })))), index.h("span", { class: { 'icon-wrap': true, 'is-hidden': this.checked }, part: "icon-unchecked" }, index.h("slot", { name: "unchecked-icon", onSlotchange: this.handleSlotChange }))))), index.h("span", { key: 'f0a93438b1987fa261acc4964ac6e7a70ad8f9f5', class: {
135
135
  'toggle-label-text': true,
136
136
  'is-hidden': !showLabel
137
- }, part: "label" }, index.h("slot", { key: 'e0c05f186f934dfde492caf2201143e0fe715762', onSlotchange: this.handleSlotChange }, this.label))), hasError && (index.h("span", { key: 'c3c74c2d652aa8b4732a57b28689bdf9330f0829', id: "toggle-error-msg", class: "error-msg", part: "error-msg" }, this.error))));
137
+ }, part: "label" }, index.h("slot", { key: 'c935cfc24c1c3f8ed014c292de75e514074783cf', onSlotchange: this.handleSlotChange }, this.label))), hasError && (index.h("span", { key: 'b41229932a50840c345a3d1f4a5ef4ccdde205b5', id: "toggle-error-msg", class: "error-msg", part: "error-msg" }, this.error))));
138
138
  }
139
139
  static get formAssociated() { return true; }
140
140
  static get watchers() { return {
@@ -1,14 +1,14 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- width="24"
4
- height="24"
5
- viewBox="0 0 24 24"
6
- fill="none"
7
- stroke="currentColor"
8
- stroke-width="2"
9
- stroke-linecap="round"
10
- stroke-linejoin="round"
11
- >
12
- <path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/>
13
- <path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/>
14
- </svg>
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="24"
4
+ height="24"
5
+ viewBox="0 0 24 24"
6
+ fill="none"
7
+ stroke="currentColor"
8
+ stroke-width="2"
9
+ stroke-linecap="round"
10
+ stroke-linejoin="round"
11
+ >
12
+ <path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/>
13
+ <path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/>
14
+ </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
- <rect width="14" height="14" x="8" y="8" rx="2" ry="2"/>
3
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>
4
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
+ <rect width="14" height="14" x="8" y="8" rx="2" ry="2"/>
3
+ <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>
4
+ </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5v14"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5v14"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-trash-2"><path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-trash-2"><path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
@@ -31,16 +31,16 @@ export class QCard {
31
31
  };
32
32
  // ===================== [6] RENDER (Visual Template Only) =====================
33
33
  render() {
34
- return (h("div", { key: 'd0954cbe1c4a9eade7c6b4df07fc09267fe4043b', class: {
34
+ return (h("div", { key: 'cd5b2f5e50b14dcdcfe048f80f7075b00b86c33f', class: {
35
35
  'card-container': true,
36
36
  [`elevation-${this.elevation}`]: true,
37
37
  'is-interactive': this.interactive,
38
38
  'is-glass': this.glass,
39
39
  'has-lift': this.lift,
40
- }, tabindex: this.interactive ? 0 : undefined, role: this.interactive ? 'button' : undefined, onKeyDown: this.interactive ? this.handleKeyDown : undefined }, h("div", { key: '086b666e79c650a05bae8103381772e6cf110182', class: {
40
+ }, tabindex: this.interactive ? 0 : undefined, role: this.interactive ? 'button' : undefined, onKeyDown: this.interactive ? this.handleKeyDown : undefined }, h("div", { key: 'b372f8bdf1202743d3d86c258f9797803ae41521', class: {
41
41
  'card-header': true,
42
42
  'is-hidden': !this.hasHeader,
43
- }, part: "header" }, h("slot", { key: '5e8cba93aaeaac949a87403c804421e6351896be', name: "header", onSlotchange: this.checkHeaderSlot })), h("div", { key: 'dbac66b6d95da480e0c3500d5ea54d58f0b2d7e4', class: "card-body", part: "body" }, h("slot", { key: 'b008d6b8b917c3cd0c6c586480a2157b10b9850b' }))));
43
+ }, part: "header" }, h("slot", { key: '570d57bcafd37afb9c1e76aa43aba6bd9a853f2f', name: "header", onSlotchange: this.checkHeaderSlot })), h("div", { key: 'dbc78931cba08f5075bbe9337d3ef8e4c5f74512', class: "card-body", part: "body" }, h("slot", { key: 'f180cb7b351170b4ef52fbfe379f2dc6824fc9f6' }))));
44
44
  }
45
45
  static get is() { return "q-card"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -268,10 +268,10 @@ export class QCarousel {
268
268
  render() {
269
269
  const isFirst = this.repeat ? (!this.isScrollable || this.maxIndex <= 0) : (this.isAtStart || !this.isScrollable);
270
270
  const isLast = this.repeat ? (!this.isScrollable || this.maxIndex <= 0) : (this.isAtEnd || !this.isScrollable);
271
- return (h("div", { key: '9550f376f17389bdcb65c5a385414557931e8a35', class: "carousel-wrapper" }, this.showArrows && (h("button", { key: '7dea2b61b6c5de6ff3052813f46e8d69c1038933', class: { 'arrow-btn': true, 'arrow-left': true }, "aria-disabled": isFirst ? 'true' : 'false', onClick: isFirst ? undefined : this.slidePrev, "aria-label": "Previous slide", type: "button" }, h("svg", { key: 'd03f1741ad395f8010bbb91356dea776e8c8bedb', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'a0a8f77d4afa2a65aff3c59427b645dceecfc53c', points: "15 18 9 12 15 6" })))), h("div", { key: '912195e0a4f7e77e0ffb852f1c519f321762d47a', class: {
271
+ return (h("div", { key: 'e141369a3efb7aabc16e7c0b3e45e2ad3b469235', class: "carousel-wrapper" }, this.showArrows && (h("button", { key: '53b0fae8c9fe677a07a3a0dd2ae74b5956ddedf5', class: { 'arrow-btn': true, 'arrow-left': true }, "aria-disabled": isFirst ? 'true' : 'false', onClick: isFirst ? undefined : this.slidePrev, "aria-label": "Previous slide", type: "button" }, h("svg", { key: 'a6130f58d3d7daba6ce4699520fe25309aaa6ba9', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'd0e9b156bfae593a3c30c43c70bf87da949f6dc5', points: "15 18 9 12 15 6" })))), h("div", { key: 'd2bd4833d2165141714a64862ff6ac5eb8696620', class: {
272
272
  'carousel-viewport': true,
273
273
  [`snap-${this.snapAlignment}`]: this.snapAlignment !== 'none'
274
- }, tabindex: "0", "aria-label": "Carousel content", onScroll: this.handleScroll, ref: this.setScrollContainerRef }, h("slot", { key: 'fa7fa5b453cf5fbec4d4399f9f340eeba17ba7d3', onSlotchange: this.handleSlotChange })), this.showArrows && (h("button", { key: 'd1d076af0e91aaf9b736d2dd533922bfbde9ade6', class: { 'arrow-btn': true, 'arrow-right': true }, "aria-disabled": isLast ? 'true' : 'false', onClick: isLast ? undefined : this.slideNext, "aria-label": "Next slide", type: "button" }, h("svg", { key: 'a19e27364b085a0e1b64db04fc16e214290d34de', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'b6237e86cac342c469e6df35fbc219e914700ec0', points: "9 18 15 12 9 6" })))), this.showIndicators && this.isScrollable && this.maxIndex > 0 && (h("div", { key: 'fd91160d6a490596cf0992bd83b2626b7231711b', class: "carousel-indicators", role: "tablist", "aria-label": "Carousel slides", onKeyDown: this.handleIndicatorKeyDown }, Array.from({ length: this.maxIndex + 1 }).map((_, idx) => (h("button", { class: { 'indicator-dot': true, 'is-active': idx === this.activeIndex }, role: "tab", "aria-selected": idx === this.activeIndex ? 'true' : 'false', onClick: () => this.scrollToIndex(idx), "aria-label": `Go to slide ${idx + 1}`, type: "button", tabindex: idx === this.activeIndex ? 0 : -1 })))))));
274
+ }, tabindex: "0", "aria-label": "Carousel content", onScroll: this.handleScroll, ref: this.setScrollContainerRef }, h("slot", { key: 'e51fafdef620f4b53a61a8dcf615bb0532e4e8d7', onSlotchange: this.handleSlotChange })), this.showArrows && (h("button", { key: 'bf26e265f8c564ea20a66b66c32d228a0fa4b73e', class: { 'arrow-btn': true, 'arrow-right': true }, "aria-disabled": isLast ? 'true' : 'false', onClick: isLast ? undefined : this.slideNext, "aria-label": "Next slide", type: "button" }, h("svg", { key: 'dd08661c29657702772c38769900c3049d1745dc', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '3be985e68f5060e19fb2e22f49f20d8650232a9c', points: "9 18 15 12 9 6" })))), this.showIndicators && this.isScrollable && this.maxIndex > 0 && (h("div", { key: 'c532fc4db653cfa5a55b006e87eba1642d8561a5', class: "carousel-indicators", role: "tablist", "aria-label": "Carousel slides", onKeyDown: this.handleIndicatorKeyDown }, Array.from({ length: this.maxIndex + 1 }).map((_, idx) => (h("button", { class: { 'indicator-dot': true, 'is-active': idx === this.activeIndex }, role: "tab", "aria-selected": idx === this.activeIndex ? 'true' : 'false', onClick: () => this.scrollToIndex(idx), "aria-label": `Go to slide ${idx + 1}`, type: "button", tabindex: idx === this.activeIndex ? 0 : -1 })))))));
275
275
  }
276
276
  static get is() { return "q-carousel"; }
277
277
  static get encapsulation() { return "shadow"; }
@@ -19,10 +19,10 @@ export class QCircularProgress {
19
19
  // Dynamic Font Styling
20
20
  const baseFontSize = 'var(--q-progress-font-size, var(--q-font-size-lg, 1.125rem))';
21
21
  const textStyle = calculateDynamicFontSize(displayLabel, baseFontSize, 5);
22
- return (h("div", { key: '5f769593acbe6c8090f27c3fa56b2ea4103d5c29', class: {
22
+ return (h("div", { key: 'd676842276f6a2d64a6b4de208b947835f0b3d5a', class: {
23
23
  'progress-container': true,
24
24
  'is-indeterminate': this.indeterminate
25
- }, role: "progressbar", "aria-valuenow": this.indeterminate ? undefined : clampedValue, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": this.label || 'Circular Progress' }, h("svg", { key: '21818397d8ec7d263f490d8c1627a7ac55c8b0fa', class: "progress-svg", viewBox: `0 0 ${size} ${size}` }, h("g", { key: '345c148bf0e0c2e086b630cbe08002bb53fc4f1d', class: "progress-ring-circles" }, h("circle", { key: 'defc26bd5331c186fb83d586b5957508fd43983a', class: "progress-track", cx: size / 2, cy: size / 2, r: radius }), h("circle", { key: '834b8bd64719d0765d0ba2687c6a01642fbcbc19', class: "progress-fill", cx: size / 2, cy: size / 2, r: radius, "stroke-dasharray": circumference, "stroke-dashoffset": strokeDashoffset })), !this.indeterminate && (h("text", { key: '3ec1c8392707c7cf05689fd6b6378e123b482431', class: "progress-text", x: "50%", y: "50%", style: textStyle }, displayLabel)))));
25
+ }, role: "progressbar", "aria-valuenow": this.indeterminate ? undefined : clampedValue, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": this.label || 'Circular Progress' }, h("svg", { key: '1b7425c8d429cff9e074a3cf857bc91b68fa8ccf', class: "progress-svg", viewBox: `0 0 ${size} ${size}` }, h("g", { key: '934df4621473c985c8c11eeb9a1345829ca2f3ab', class: "progress-ring-circles" }, h("circle", { key: 'b086149788c0aa05766a01e81d0767b47ab7b8c5', class: "progress-track", cx: size / 2, cy: size / 2, r: radius }), h("circle", { key: 'f8c1419547057e5dc6a50fde582de2db80ae3906', class: "progress-fill", cx: size / 2, cy: size / 2, r: radius, "stroke-dasharray": circumference, "stroke-dashoffset": strokeDashoffset })), !this.indeterminate && (h("text", { key: '79509f031c654880a56bbf21d7dd593d1628ebbc', class: "progress-text", x: "50%", y: "50%", style: textStyle }, displayLabel)))));
26
26
  }
27
27
  static get is() { return "q-circular-progress"; }
28
28
  static get encapsulation() { return "shadow"; }