@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
@@ -1,198 +1,198 @@
1
- {
2
- "name": "Button",
3
- "tag": "q-button",
4
- "props": {
5
- "variant": {
6
- "type": "select",
7
- "options": [
8
- "primary",
9
- "secondary",
10
- "success",
11
- "danger",
12
- "ghost",
13
- "text"
14
- ],
15
- "default": "primary",
16
- "desc": "Shorthand button background styling variant"
17
- },
18
- "size": {
19
- "type": "select",
20
- "options": [
21
- "sm",
22
- "md",
23
- "lg"
24
- ],
25
- "default": "md",
26
- "desc": "Vertical padding & font size modifier"
27
- },
28
- "expand": {
29
- "type": "boolean",
30
- "default": false,
31
- "desc": "Width layout block stretch (100% parent container width)"
32
- },
33
- "href": {
34
- "type": "string",
35
- "default": "",
36
- "desc": "Turns the button element into a standard anchor link tag"
37
- },
38
- "target": {
39
- "type": "select",
40
- "options": [
41
- "",
42
- "_blank",
43
- "_self",
44
- "_parent",
45
- "_top"
46
- ],
47
- "default": "",
48
- "desc": "Target link viewport target context (when href is set)"
49
- },
50
- "disabled": {
51
- "type": "boolean",
52
- "default": false,
53
- "desc": "Locks click events and styles disabled state"
54
- },
55
- "loading": {
56
- "type": "boolean",
57
- "default": false,
58
- "desc": "Swaps label with spinner icon while blocking events"
59
- }
60
- },
61
- "slots": {
62
- "default": {
63
- "type": "text",
64
- "default": "Click Me",
65
- "desc": "Default Slot label content text"
66
- },
67
- "icon-left": {
68
- "type": "html",
69
- "default": "",
70
- "desc": "Appends inline element/icon to the left side"
71
- },
72
- "icon-right": {
73
- "type": "html",
74
- "default": "",
75
- "desc": "Appends inline element/icon to the right side"
76
- }
77
- },
78
- "variants": [
79
- {
80
- "name": "Primary MD",
81
- "props": {
82
- "variant": "primary",
83
- "size": "md"
84
- },
85
- "slots": {
86
- "default": "Primary Button"
87
- }
88
- },
89
- {
90
- "name": "Secondary MD",
91
- "props": {
92
- "variant": "secondary",
93
- "size": "md"
94
- },
95
- "slots": {
96
- "default": "Secondary Button"
97
- }
98
- },
99
- {
100
- "name": "Success LG",
101
- "props": {
102
- "variant": "success",
103
- "size": "lg"
104
- },
105
- "slots": {
106
- "default": "Success Action"
107
- }
108
- },
109
- {
110
- "name": "Danger SM",
111
- "props": {
112
- "variant": "danger",
113
- "size": "sm"
114
- },
115
- "slots": {
116
- "default": "Danger Trigger"
117
- }
118
- },
119
- {
120
- "name": "Ghost Styling",
121
- "props": {
122
- "variant": "ghost"
123
- },
124
- "slots": {
125
- "default": "Ghost Button"
126
- }
127
- },
128
- {
129
- "name": "Text Only link style",
130
- "props": {
131
- "variant": "text"
132
- },
133
- "slots": {
134
- "default": "Text Button"
135
- }
136
- },
137
- {
138
- "name": "Disabled State",
139
- "props": {
140
- "variant": "primary",
141
- "disabled": true
142
- },
143
- "slots": {
144
- "default": "Disabled Button"
145
- }
146
- },
147
- {
148
- "name": "Loading State spinner",
149
- "props": {
150
- "variant": "primary",
151
- "loading": true
152
- },
153
- "slots": {
154
- "default": "Loading Button"
155
- }
156
- },
157
- {
158
- "name": "Expanded full width",
159
- "props": {
160
- "variant": "primary",
161
- "expand": true
162
- },
163
- "slots": {
164
- "default": "Expanded Block Button"
165
- }
166
- }
167
- ],
168
- "edgeCases": [
169
- {
170
- "name": "Super Long Text Wrapping",
171
- "props": {
172
- "variant": "primary"
173
- },
174
- "slots": {
175
- "default": "This is a button containing a ridiculously long text content that will test wrapping dynamics and grid boundaries"
176
- }
177
- },
178
- {
179
- "name": "HTML Injection Safe Verification",
180
- "props": {
181
- "variant": "primary"
182
- },
183
- "slots": {
184
- "default": "<b>Formatted HTML</b> <script>console.log(\"XSS block test\")</script>"
185
- }
186
- },
187
- {
188
- "name": "Icon-only Button",
189
- "props": {
190
- "variant": "primary"
191
- },
192
- "slots": {
193
- "default": "",
194
- "icon-left": "<span style=\"font-size:16px\">🔥</span>"
195
- }
196
- }
197
- ]
198
- }
1
+ {
2
+ "name": "Button",
3
+ "tag": "q-button",
4
+ "props": {
5
+ "variant": {
6
+ "type": "select",
7
+ "options": [
8
+ "primary",
9
+ "secondary",
10
+ "success",
11
+ "danger",
12
+ "ghost",
13
+ "text"
14
+ ],
15
+ "default": "primary",
16
+ "desc": "Shorthand button background styling variant"
17
+ },
18
+ "size": {
19
+ "type": "select",
20
+ "options": [
21
+ "sm",
22
+ "md",
23
+ "lg"
24
+ ],
25
+ "default": "md",
26
+ "desc": "Vertical padding & font size modifier"
27
+ },
28
+ "expand": {
29
+ "type": "boolean",
30
+ "default": false,
31
+ "desc": "Width layout block stretch (100% parent container width)"
32
+ },
33
+ "href": {
34
+ "type": "string",
35
+ "default": "",
36
+ "desc": "Turns the button element into a standard anchor link tag"
37
+ },
38
+ "target": {
39
+ "type": "select",
40
+ "options": [
41
+ "",
42
+ "_blank",
43
+ "_self",
44
+ "_parent",
45
+ "_top"
46
+ ],
47
+ "default": "",
48
+ "desc": "Target link viewport target context (when href is set)"
49
+ },
50
+ "disabled": {
51
+ "type": "boolean",
52
+ "default": false,
53
+ "desc": "Locks click events and styles disabled state"
54
+ },
55
+ "loading": {
56
+ "type": "boolean",
57
+ "default": false,
58
+ "desc": "Swaps label with spinner icon while blocking events"
59
+ }
60
+ },
61
+ "slots": {
62
+ "default": {
63
+ "type": "text",
64
+ "default": "Click Me",
65
+ "desc": "Default Slot label content text"
66
+ },
67
+ "icon-left": {
68
+ "type": "html",
69
+ "default": "",
70
+ "desc": "Appends inline element/icon to the left side"
71
+ },
72
+ "icon-right": {
73
+ "type": "html",
74
+ "default": "",
75
+ "desc": "Appends inline element/icon to the right side"
76
+ }
77
+ },
78
+ "variants": [
79
+ {
80
+ "name": "Primary MD",
81
+ "props": {
82
+ "variant": "primary",
83
+ "size": "md"
84
+ },
85
+ "slots": {
86
+ "default": "Primary Button"
87
+ }
88
+ },
89
+ {
90
+ "name": "Secondary MD",
91
+ "props": {
92
+ "variant": "secondary",
93
+ "size": "md"
94
+ },
95
+ "slots": {
96
+ "default": "Secondary Button"
97
+ }
98
+ },
99
+ {
100
+ "name": "Success LG",
101
+ "props": {
102
+ "variant": "success",
103
+ "size": "lg"
104
+ },
105
+ "slots": {
106
+ "default": "Success Action"
107
+ }
108
+ },
109
+ {
110
+ "name": "Danger SM",
111
+ "props": {
112
+ "variant": "danger",
113
+ "size": "sm"
114
+ },
115
+ "slots": {
116
+ "default": "Danger Trigger"
117
+ }
118
+ },
119
+ {
120
+ "name": "Ghost Styling",
121
+ "props": {
122
+ "variant": "ghost"
123
+ },
124
+ "slots": {
125
+ "default": "Ghost Button"
126
+ }
127
+ },
128
+ {
129
+ "name": "Text Only link style",
130
+ "props": {
131
+ "variant": "text"
132
+ },
133
+ "slots": {
134
+ "default": "Text Button"
135
+ }
136
+ },
137
+ {
138
+ "name": "Disabled State",
139
+ "props": {
140
+ "variant": "primary",
141
+ "disabled": true
142
+ },
143
+ "slots": {
144
+ "default": "Disabled Button"
145
+ }
146
+ },
147
+ {
148
+ "name": "Loading State spinner",
149
+ "props": {
150
+ "variant": "primary",
151
+ "loading": true
152
+ },
153
+ "slots": {
154
+ "default": "Loading Button"
155
+ }
156
+ },
157
+ {
158
+ "name": "Expanded full width",
159
+ "props": {
160
+ "variant": "primary",
161
+ "expand": true
162
+ },
163
+ "slots": {
164
+ "default": "Expanded Block Button"
165
+ }
166
+ }
167
+ ],
168
+ "edgeCases": [
169
+ {
170
+ "name": "Super Long Text Wrapping",
171
+ "props": {
172
+ "variant": "primary"
173
+ },
174
+ "slots": {
175
+ "default": "This is a button containing a ridiculously long text content that will test wrapping dynamics and grid boundaries"
176
+ }
177
+ },
178
+ {
179
+ "name": "HTML Injection Safe Verification",
180
+ "props": {
181
+ "variant": "primary"
182
+ },
183
+ "slots": {
184
+ "default": "<b>Formatted HTML</b> <script>console.log(\"XSS block test\")</script>"
185
+ }
186
+ },
187
+ {
188
+ "name": "Icon-only Button",
189
+ "props": {
190
+ "variant": "primary"
191
+ },
192
+ "slots": {
193
+ "default": "",
194
+ "icon-left": "<span style=\"font-size:16px\">🔥</span>"
195
+ }
196
+ }
197
+ ]
198
+ }