q2-tecton-elements 1.10.5 → 1.10.8
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/{icons-921779df.js → icons-4595ee47.js} +61 -1
- package/dist/cjs/{index-f4153f5a.js → index-a55d3c34.js} +9 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js +10 -6
- package/dist/cjs/q2-calendar.cjs.entry.js +2902 -6078
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +50 -7
- package/dist/cjs/q2-carousel.cjs.entry.js +2719 -6513
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +10 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown.cjs.entry.js +8 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +26 -11
- package/dist/cjs/q2-icon.cjs.entry.js +2 -2
- package/dist/cjs/q2-input.cjs.entry.js +9 -7
- package/dist/cjs/q2-loading-element.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +11 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option.cjs.entry.js +3 -34
- package/dist/cjs/q2-radio-group.cjs.entry.js +10 -2
- package/dist/cjs/q2-radio.cjs.entry.js +10 -2
- package/dist/cjs/q2-section.cjs.entry.js +9 -3
- package/dist/cjs/q2-select.cjs.entry.js +175 -130
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +10 -4
- package/dist/cjs/q2-tab-container.cjs.entry.js +9 -11
- package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +8 -4
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-avatar/index.js +1 -1
- package/dist/collection/components/q2-avatar/styles.css +63 -61
- package/dist/collection/components/q2-btn/index.js +8 -4
- package/dist/collection/components/q2-btn/styles.css +96 -96
- package/dist/collection/components/q2-calendar/helpers.js +77 -52
- package/dist/collection/components/q2-calendar/index.js +248 -196
- package/dist/collection/components/q2-calendar/styles.css +63 -84
- package/dist/collection/components/q2-calendar/validation.js +100 -166
- package/dist/collection/components/q2-carousel/index.js +204 -266
- package/dist/collection/components/q2-carousel/styles.css +152 -155
- package/dist/collection/components/q2-carousel-pane/index.js +67 -28
- package/dist/collection/components/q2-carousel-pane/styles.css +82 -16
- package/dist/collection/components/q2-checkbox/index.js +16 -2
- package/dist/collection/components/q2-checkbox/styles.css +152 -176
- package/dist/collection/components/q2-checkbox-group/index.js +1 -1
- package/dist/collection/components/q2-checkbox-group/styles.css +65 -81
- package/dist/collection/components/q2-dropdown/index.js +15 -2
- package/dist/collection/components/q2-dropdown/styles.css +49 -36
- package/dist/collection/components/q2-dropdown-item/index.js +1 -1
- package/dist/collection/components/q2-dropdown-item/styles.css +48 -62
- package/dist/collection/components/q2-editable-field/index.js +33 -12
- package/dist/collection/components/q2-editable-field/styles.css +49 -50
- package/dist/collection/components/q2-icon/icons.js +61 -1
- package/dist/collection/components/q2-icon/styles.css +29 -29
- package/dist/collection/components/q2-input/index.js +9 -7
- package/dist/collection/components/q2-input/styles.css +211 -292
- package/dist/collection/components/q2-loading/index.js +1 -1
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js +1 -1
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/styles.css +5 -6
- package/dist/collection/components/q2-loading/styles.css +130 -136
- package/dist/collection/components/q2-loc/index.js +1 -1
- package/dist/collection/components/q2-loc/styles.css +30 -31
- package/dist/collection/components/q2-message/index.js +18 -3
- package/dist/collection/components/q2-message/styles.css +32 -29
- package/dist/collection/components/q2-optgroup/index.js +1 -1
- package/dist/collection/components/q2-optgroup/styles.css +42 -47
- package/dist/collection/components/q2-option/index.js +4 -42
- package/dist/collection/components/q2-option/styles.css +29 -29
- package/dist/collection/components/q2-radio/index.js +16 -2
- package/dist/collection/components/q2-radio/styles.css +29 -29
- package/dist/collection/components/q2-radio-group/index.js +16 -2
- package/dist/collection/components/q2-radio-group/styles.css +67 -72
- package/dist/collection/components/q2-section/index.js +15 -3
- package/dist/collection/components/q2-section/styles.css +77 -77
- package/dist/collection/components/q2-select/index.js +182 -131
- package/dist/collection/components/q2-select/styles.css +33 -34
- package/dist/collection/components/q2-stepper/index.js +15 -3
- package/dist/collection/components/q2-stepper/styles.css +32 -32
- package/dist/collection/components/q2-stepper-pane/styles.css +29 -29
- package/dist/collection/components/q2-tab-container/index.js +7 -9
- package/dist/collection/components/q2-tab-container/styles.css +29 -29
- package/dist/collection/components/q2-tab-pane/index.js +2 -2
- package/dist/collection/components/q2-tab-pane/styles.css +34 -36
- package/dist/collection/components/q2-textarea/index.js +8 -4
- package/dist/collection/components/q2-textarea/styles.css +180 -228
- package/dist/collection/components/tecton-tab-pane/index.js +2 -2
- package/dist/collection/components/tecton-tab-pane/styles.css +50 -50
- package/dist/collection/utils/index.js +7 -0
- package/dist/esm/{icons-a3817842.js → icons-3ee662ea.js} +61 -1
- package/dist/esm/{index-476b86cc.js → index-ec6660af.js} +8 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-btn_2.entry.js +10 -6
- package/dist/esm/q2-calendar.entry.js +2902 -6078
- package/dist/esm/q2-carousel-pane.entry.js +51 -8
- package/dist/esm/q2-carousel.entry.js +2720 -6514
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js +10 -2
- package/dist/esm/q2-dropdown-item.entry.js +2 -2
- package/dist/esm/q2-dropdown.entry.js +8 -2
- package/dist/esm/q2-editable-field.entry.js +26 -11
- package/dist/esm/q2-icon.entry.js +2 -2
- package/dist/esm/q2-input.entry.js +9 -7
- package/dist/esm/q2-loading-element.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +11 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option.entry.js +4 -35
- package/dist/esm/q2-radio-group.entry.js +10 -2
- package/dist/esm/q2-radio.entry.js +10 -2
- package/dist/esm/q2-section.entry.js +9 -3
- package/dist/esm/q2-select.entry.js +175 -130
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +10 -4
- package/dist/esm/q2-tab-container.entry.js +7 -9
- package/dist/esm/q2-tab-pane.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +8 -4
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{p-4830affe.entry.js → p-07a5d703.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-84c05db6.entry.js → p-32ad664c.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-37aba2a4.js +1 -0
- package/dist/q2-tecton-elements/p-4ae9d1f3.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-67d86e3c.js → p-4cd00f1a.js} +1 -1
- package/dist/q2-tecton-elements/p-52f53e07.entry.js +1 -0
- package/dist/q2-tecton-elements/p-5559f126.entry.js +1 -0
- package/dist/q2-tecton-elements/p-6702eb4d.entry.js +1 -0
- package/dist/q2-tecton-elements/p-750bcd33.entry.js +1 -0
- package/dist/q2-tecton-elements/p-78642b7b.entry.js +1 -0
- package/dist/q2-tecton-elements/p-7e6fc65d.entry.js +1 -0
- package/dist/q2-tecton-elements/p-7eb39c90.entry.js +1 -0
- package/dist/q2-tecton-elements/p-81df91a1.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-01e00610.entry.js → p-843b1ee9.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-8509b171.entry.js +1 -0
- package/dist/q2-tecton-elements/p-8ea2c4f7.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-d1d040ef.entry.js → p-95a73559.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-96c9eb75.entry.js +1 -0
- package/dist/q2-tecton-elements/p-9b50c3c3.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-a9bdd814.entry.js → p-a6f8d09a.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-ab977515.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-9314863f.entry.js → p-bb2e110a.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-bbacb804.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c555f1de.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c5e55b9f.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-4229b057.entry.js → p-df182f61.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-fa6eea5c.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-61c0e5fd.entry.js → p-fbf7c5e6.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-fc804ebd.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/test/helpers.js +4 -0
- package/dist/types/components/q2-btn/index.d.ts +1 -0
- package/dist/types/components/q2-calendar/helpers.d.ts +6 -6
- package/dist/types/components/q2-calendar/index.d.ts +16 -17
- package/dist/types/components/q2-calendar/types.d.ts +9 -26
- package/dist/types/components/q2-calendar/validation.d.ts +27 -12
- package/dist/types/components/q2-carousel/index.d.ts +15 -45
- package/dist/types/components/q2-carousel-pane/index.d.ts +5 -2
- package/dist/types/components/q2-checkbox/index.d.ts +2 -0
- package/dist/types/components/q2-dropdown/index.d.ts +1 -0
- package/dist/types/components/q2-editable-field/index.d.ts +5 -1
- package/dist/types/components/q2-input/index.d.ts +1 -1
- package/dist/types/components/q2-message/index.d.ts +2 -0
- package/dist/types/components/q2-option/index.d.ts +0 -4
- package/dist/types/components/q2-radio/index.d.ts +3 -0
- package/dist/types/components/q2-radio-group/index.d.ts +1 -0
- package/dist/types/components/q2-section/index.d.ts +1 -0
- package/dist/types/components/q2-select/index.d.ts +10 -7
- package/dist/types/components/q2-stepper/index.d.ts +2 -1
- package/dist/types/components/q2-tab-container/index.d.ts +1 -1
- package/dist/types/components/q2-textarea/index.d.ts +2 -1
- package/dist/types/components.d.ts +3 -2
- package/dist/types/util.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/workspace/workspace/tecton-production_release_1.10.x/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +2 -1
- package/package.json +4 -5
- package/dist/q2-tecton-elements/p-1fc4e6f6.entry.js +0 -1
- package/dist/q2-tecton-elements/p-25a5f691.js +0 -1
- package/dist/q2-tecton-elements/p-27353237.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3e100450.entry.js +0 -1
- package/dist/q2-tecton-elements/p-428d15fd.entry.js +0 -1
- package/dist/q2-tecton-elements/p-48fc317d.entry.js +0 -1
- package/dist/q2-tecton-elements/p-5222b792.entry.js +0 -1
- package/dist/q2-tecton-elements/p-5469c1e9.entry.js +0 -1
- package/dist/q2-tecton-elements/p-74c1a311.entry.js +0 -1
- package/dist/q2-tecton-elements/p-784af485.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7c99a58b.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7f74b629.entry.js +0 -1
- package/dist/q2-tecton-elements/p-831a461f.entry.js +0 -1
- package/dist/q2-tecton-elements/p-84c52d3b.entry.js +0 -9
- package/dist/q2-tecton-elements/p-997e4c7e.entry.js +0 -1
- package/dist/q2-tecton-elements/p-a224bc9c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-d893fcf2.entry.js +0 -1
- package/dist/q2-tecton-elements/p-da7cca07.entry.js +0 -1
- package/dist/q2-tecton-elements/p-f17761da.entry.js +0 -1
- package/dist/q2-tecton-elements/p-f5e074f8.entry.js +0 -1
|
@@ -1221,6 +1221,13 @@ const icons = {
|
|
|
1221
1221
|
h("path", { d: "M19.6 8.133H24v11h-2.933V22.8l-5.134-3.667h-4.4", class: "stroke-secondary" }),
|
|
1222
1222
|
h("path", { d: "M19.6 3H2v12.467h3.667V20.6l5.866-5.133H19.6z", class: "stroke-primary filled" })))
|
|
1223
1223
|
},
|
|
1224
|
+
'chat-question': {
|
|
1225
|
+
markup: () => (h("g", null,
|
|
1226
|
+
h("path", { d: "M21.295 17.534c1.587-1.55 2.525-3.534 2.525-5.698 0-4.905-4.833-8.656-10.82-8.656S2.18 6.931 2.18 11.836c0 4.905 4.833 8.836 10.82 8.836 1.046 0 2.056-.144 3.03-.36l5.626 2.344-.36-5.122z", class: "stroke-primary filled" }),
|
|
1227
|
+
h("g", { class: "stroke-secondary", transform: "translate(10.5 7.5)" },
|
|
1228
|
+
h("circle", { cx: "2.375", cy: "8.875", r: "1" }),
|
|
1229
|
+
h("path", { d: "M0 1.5C.39.625 1.328 0 2.396 0 3.828 0 5 1.125 5 2.5S3.828 5 2.396 5v1.5" }))))
|
|
1230
|
+
},
|
|
1224
1231
|
'chat-bubbles': {
|
|
1225
1232
|
markup: () => (h("g", null,
|
|
1226
1233
|
h("path", { d: "M11.197 19.46c1.338.916 3.107 1.474 5.049 1.474a9.7 9.7 0 0 0 2.471-.32l2.939 1.763v-3.178c1.337-1.04 2.164-2.464 2.164-4.035 0-.766-.197-1.496-.553-2.164", class: "stroke-secondary" }),
|
|
@@ -1264,6 +1271,18 @@ const icons = {
|
|
|
1264
1271
|
'checkmark-outline': {
|
|
1265
1272
|
markup: () => (h("path", { d: "M9.912 21.175l-7.719-7.719 3.088-3.088L9.912 15 20.719 4.193l3.088 3.088z", class: "stroke-primary filled" }))
|
|
1266
1273
|
},
|
|
1274
|
+
'chevron-double-right': {
|
|
1275
|
+
markup: () => (h("g", { class: "chevron-double-right" },
|
|
1276
|
+
h("g", { class: "stroke-primary" },
|
|
1277
|
+
h("path", { d: "M12 2l11 11-11 11" }),
|
|
1278
|
+
h("path", { d: "M3 2l11 11L3 24" }))))
|
|
1279
|
+
},
|
|
1280
|
+
'chevron-double-left': {
|
|
1281
|
+
markup: () => (h("g", { class: "chevron-double-left" },
|
|
1282
|
+
h("g", { class: "stroke-primary" },
|
|
1283
|
+
h("path", { d: "M14 24L3 13 14 2" }),
|
|
1284
|
+
h("path", { d: "M23 24L12 13 23 2" }))))
|
|
1285
|
+
},
|
|
1267
1286
|
'chevron-down': {
|
|
1268
1287
|
markup: () => h("path", { d: "M24 8L13 19 2 8", class: "stroke-primary" })
|
|
1269
1288
|
},
|
|
@@ -1357,6 +1376,15 @@ const icons = {
|
|
|
1357
1376
|
h("path", { class: "stroke-primary", d: "M6.2 2.2l7.2 9.6 7.2-9.6m-7.2 9.6v12" }),
|
|
1358
1377
|
h("path", { class: "stroke-secondary", d: "M7 12.2h12.8M7 17h12.8" })))
|
|
1359
1378
|
},
|
|
1379
|
+
dashboard: {
|
|
1380
|
+
markup: () => (h("g", { class: "dashboard" },
|
|
1381
|
+
h("path", { d: "M0 0h26v26H0z" }),
|
|
1382
|
+
h("g", { class: "stroke-primary filled" },
|
|
1383
|
+
h("path", { d: "M3 3h9v12H3z" }),
|
|
1384
|
+
h("path", { d: "M3 18h9v5H3z" }),
|
|
1385
|
+
h("path", { d: "M14.5 3h9v7h-9z" }),
|
|
1386
|
+
h("path", { d: "M14.5 13h9v10h-9z" }))))
|
|
1387
|
+
},
|
|
1360
1388
|
desktop: {
|
|
1361
1389
|
markup: () => (h("g", null,
|
|
1362
1390
|
h("path", { class: "stroke-primary", d: "M22.377 19.77H3.623a1.443 1.443 0 0 1-1.443-1.442V4.623c0-.797.646-1.443 1.443-1.443h18.754c.796 0 1.442.646 1.442 1.443v13.705c0 .796-.646 1.442-1.442 1.442zM2.18 15.442h21.64" }),
|
|
@@ -1370,6 +1398,13 @@ const icons = {
|
|
|
1370
1398
|
h("path", { d: "M6.387 5.677v6.417l-2.839-1.449-2.838 1.42V5.677" }),
|
|
1371
1399
|
h("circle", { cx: "3.548", cy: "3.548", r: "3.548" }))))
|
|
1372
1400
|
},
|
|
1401
|
+
divider: {
|
|
1402
|
+
markup: () => (h("g", { class: "divider" },
|
|
1403
|
+
h("g", { class: "stroke-primary" },
|
|
1404
|
+
h("path", { d: "M3 5h20v5H3z" }),
|
|
1405
|
+
h("path", { d: "M3 17h20v5H3z" })),
|
|
1406
|
+
h("path", { d: "M2 13.5h22", class: "stroke-secondary" })))
|
|
1407
|
+
},
|
|
1373
1408
|
document: {
|
|
1374
1409
|
markup: () => (h("g", null,
|
|
1375
1410
|
h("path", { d: "M15.733 2H4v22h17.6V7.867z", class: "stroke-primary" }),
|
|
@@ -1827,6 +1862,11 @@ const icons = {
|
|
|
1827
1862
|
h("path", { d: "M21.492 18.552c-.473 1.03-.7 1.49-1.31 2.399-.849 1.27-2.047 2.852-3.532 2.865-1.319.013-1.658-.842-3.448-.832-1.79.01-2.164.848-3.483.836-1.485-.014-2.62-1.442-3.47-2.713-2.376-3.552-2.624-7.721-1.159-9.937 1.042-1.576 2.686-2.497 4.23-2.497 1.574 0 2.563.847 3.864.847 1.262 0 2.031-.848 3.85-.848 1.375 0 2.832.735 3.87 2.005-3.401 1.83-2.848 6.6.588 7.875z", class: "stroke-primary" }),
|
|
1828
1863
|
h("path", { d: "M16.125 5.587c.69-.884 1.211-2.131 1.022-3.407-1.125.077-2.44.793-3.208 1.726-.698.846-1.274 2.102-1.05 3.322 1.228.039 2.498-.695 3.236-1.641z", class: "stroke-secondary" })))
|
|
1829
1864
|
},
|
|
1865
|
+
key: {
|
|
1866
|
+
markup: () => (h("g", null,
|
|
1867
|
+
h("path", { d: "M18.455 3l-7.486 7.485a6.32 6.32 0 0 0-1.605-.212 6.364 6.364 0 1 0 6.363 6.363c0-.81-.157-1.581-.432-2.294l2.25-2.251V9.364h2.728L23 6.636V3h-4.545z", class: "stroke-primary filled" }),
|
|
1868
|
+
h("circle", { cx: "9.364", cy: "16.636", r: "1.818", class: "stroke-secondary" })))
|
|
1869
|
+
},
|
|
1830
1870
|
laptop: {
|
|
1831
1871
|
markup: () => (h("g", null,
|
|
1832
1872
|
h("path", { class: "stroke-primary", d: "M4.344 15.721V5.623c0-.797.646-1.443 1.443-1.443h14.426c.797 0 1.442.646 1.442 1.443V15.72m-9.377-9.376h1.443" }),
|
|
@@ -1930,7 +1970,10 @@ const icons = {
|
|
|
1930
1970
|
markup: () => (h("path", { d: "M24 12.345L14.517 4v4.931C8.443 8.931 2 10.751 2 21.448c2.781-3.793 5.043-4.93 12.517-4.93v4.93L24 12.345z", class: "stroke-primary" }))
|
|
1931
1971
|
},
|
|
1932
1972
|
'message-reply': {
|
|
1933
|
-
markup: () => (h("path", { d: "M2 12.345L11.483 4v4.931C17.557 8.931 24 10.751 24 21.448c-2.781-3.793-5.043-4.93-12.517-4.93v4.93L2 12.345z", class: "stroke-primary" }))
|
|
1973
|
+
markup: () => (h("path", { d: "M2 12.345L11.483 4v4.931C17.557 8.931 24 10.751 24 21.448c-2.781-3.793-5.043-4.93-12.517-4.93v4.93L2 12.345z", class: "stroke-primary filled" }))
|
|
1974
|
+
},
|
|
1975
|
+
'message-response': {
|
|
1976
|
+
markup: () => (h("path", { d: "M24 12.345L14.517 4v4.931C7.043 8.931 4.661 7.598 2 4c0 11.14 7.006 12.517 12.517 12.517v4.931L24 12.345z", class: "stroke-primary filled" }))
|
|
1934
1977
|
},
|
|
1935
1978
|
'mobile-button': {
|
|
1936
1979
|
markup: () => (h("g", null,
|
|
@@ -2785,6 +2828,15 @@ const icons = {
|
|
|
2785
2828
|
h("path", { d: "M5.71 5.71l8.129 8.129M3 7.065l6.774 6.774m6.774-8.129l6.775 6.774M12.484 5.71l8.129 8.129" }),
|
|
2786
2829
|
h("path", { d: "M3 5.71h20.323v8.129H3z", class: "filled" }))))
|
|
2787
2830
|
},
|
|
2831
|
+
section: {
|
|
2832
|
+
markup: () => (h("g", { class: "Icons/actions/section" },
|
|
2833
|
+
h("g", { class: "stroke-primary" },
|
|
2834
|
+
h("path", { d: "M2 2h22v22H2z", class: "filled" }),
|
|
2835
|
+
h("path", { d: "M5 6h13v2H5zm0 6h7v3H5z" }),
|
|
2836
|
+
h("path", { d: "M5 18h7v3H5z" }),
|
|
2837
|
+
h("path", { d: "M14 12h7v3h-7z" }),
|
|
2838
|
+
h("path", { d: "M14 18h7v3h-7z" }))))
|
|
2839
|
+
},
|
|
2788
2840
|
'sign-closed': {
|
|
2789
2841
|
markup: () => (h("g", null,
|
|
2790
2842
|
h("g", { "stroke-width": "1.5", class: "stroke-primary", transform: "translate(7.773 3.318)" },
|
|
@@ -2853,6 +2905,14 @@ const icons = {
|
|
|
2853
2905
|
h("path", { d: "M13 19V2.867m5.866 5.866L13 2.867 7.133 8.733" })),
|
|
2854
2906
|
h("path", { d: "M2 19.233v4.4h22v-4.4", class: "stroke-primary" })))
|
|
2855
2907
|
},
|
|
2908
|
+
'venmo-colored': {
|
|
2909
|
+
markup: () => (h("g", { class: "venmo-colored" },
|
|
2910
|
+
h("path", { d: "M20.9876187,3 C21.6854112,4.15247726 22,5.33953062 22,6.83902303 C22,11.6216335 17.9173318,17.8345841 14.6037582,22.197265 L7.03535243,22.197265 L4,4.04713657 L10.6269682,3.41795887 L12.2318013,16.3329419 C13.7312937,13.8900412 15.5817425,10.0510182 15.5817425,7.43362462 C15.5817425,6.00095547 15.3363059,5.02512093 14.952744,4.22162948 L20.9876187,3 Z", id: "Path", fill: "#3D95CE", "fill-rule": "nonzero" })))
|
|
2911
|
+
},
|
|
2912
|
+
'venmo-filled': {
|
|
2913
|
+
markup: () => (h("g", { class: "venmo-filled" },
|
|
2914
|
+
h("path", { d: "M20.988 3C21.685 4.152 22 5.34 22 6.839c0 4.783-4.083 10.996-7.396 15.358H7.035L4 4.047l6.627-.629 1.605 12.915c1.5-2.443 3.35-6.282 3.35-8.9 0-1.432-.246-2.408-.63-3.211L20.989 3z", class: "filled" })))
|
|
2915
|
+
},
|
|
2856
2916
|
virus: {
|
|
2857
2917
|
markup: () => (h("g", null,
|
|
2858
2918
|
h("g", { class: "stroke-secondary", transform: "translate(8.742 8.742)" },
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
* {
|
|
2
|
-
|
|
2
|
+
box-sizing: border-box;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
*:active {
|
|
6
|
-
|
|
6
|
+
outline: none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
*:focus {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
outline: none;
|
|
11
|
+
box-shadow: var(--const-global-focus);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
:host {
|
|
15
|
-
|
|
15
|
+
box-shadow: none !important;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
::-moz-focus-inner {
|
|
19
|
-
|
|
19
|
+
border: none;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
input,
|
|
23
23
|
textarea,
|
|
24
24
|
button {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
font-family: inherit;
|
|
26
|
+
font-size: inherit;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
:host(.sr),
|
|
30
30
|
:host(.sr) button {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
border: 0;
|
|
32
|
+
clip: rect(0 0 0 0);
|
|
33
|
+
height: 1px;
|
|
34
|
+
margin: -1px;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
padding: 0;
|
|
37
|
+
position: absolute;
|
|
38
|
+
width: 1px;
|
|
39
|
+
white-space: nowrap;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.sr,
|
|
43
43
|
.sr button {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
border: 0;
|
|
45
|
+
clip: rect(0 0 0 0);
|
|
46
|
+
height: 1px;
|
|
47
|
+
margin: -1px;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
padding: 0;
|
|
50
|
+
position: absolute;
|
|
51
|
+
width: 1px;
|
|
52
|
+
white-space: nowrap;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.hidden {
|
|
56
|
-
|
|
56
|
+
display: none;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
:host([hidden]) {
|
|
60
|
-
|
|
60
|
+
display: none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.invisible {
|
|
64
|
-
|
|
64
|
+
visibility: hidden;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
:host {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Prop, Element, State, Event, h, Watch, Listen } from '@stencil/core';
|
|
2
|
-
import { createGuid, labelDOM, loc, messagesDOM, setMessageHeight, handleAriaLabel } from 'src/utils';
|
|
2
|
+
import { createGuid, labelDOM, loc, messagesDOM, setMessageHeight, handleAriaLabel, overrideFocus, isEventFromElement } from 'src/utils';
|
|
3
3
|
import formatCurrency from './formatting/currency';
|
|
4
4
|
import formatPhoneNumber from './formatting/phone';
|
|
5
5
|
import formatSSN from './formatting/ssn';
|
|
@@ -73,14 +73,15 @@ export class Q2Input {
|
|
|
73
73
|
}
|
|
74
74
|
this.formattedValueObject = this.getFormattedValue(this.stringValue, true);
|
|
75
75
|
handleAriaLabel(this);
|
|
76
|
+
if (this.textHidden === undefined) {
|
|
77
|
+
this.textHidden = this.type === 'password';
|
|
78
|
+
}
|
|
76
79
|
}
|
|
77
80
|
componentDidLoad() {
|
|
78
81
|
if (!this.pseudo) {
|
|
79
82
|
this.inputField.value = this.formattedValueObject.formattedValue;
|
|
80
83
|
}
|
|
81
|
-
|
|
82
|
-
this.textHidden = this.type === 'password';
|
|
83
|
-
}
|
|
84
|
+
overrideFocus(this.hostElement);
|
|
84
85
|
}
|
|
85
86
|
componentDidRender() {
|
|
86
87
|
this.scheduledAfterRender.forEach(fn => fn());
|
|
@@ -246,9 +247,10 @@ export class Q2Input {
|
|
|
246
247
|
this.hasFocus && this.scheduledAfterRender.push(() => setMessageHeight(this));
|
|
247
248
|
}
|
|
248
249
|
///////// HOST ELEMENT EVENTS //////
|
|
249
|
-
onHostElementFocus() {
|
|
250
|
+
onHostElementFocus(event) {
|
|
251
|
+
if (!isEventFromElement(event, this.hostElement))
|
|
252
|
+
return;
|
|
250
253
|
this.inputField.focus();
|
|
251
|
-
this.inputField.dispatchEvent(new FocusEvent('focus', { bubbles: false }));
|
|
252
254
|
}
|
|
253
255
|
onHostElementChange(event) {
|
|
254
256
|
if (event.target === this.hostElement && !this.hostElement.onchange) {
|
|
@@ -345,7 +347,7 @@ export class Q2Input {
|
|
|
345
347
|
static get is() { return "q2-input"; }
|
|
346
348
|
static get encapsulation() { return "shadow"; }
|
|
347
349
|
static get originalStyleUrls() { return {
|
|
348
|
-
"$": ["styles.
|
|
350
|
+
"$": ["styles.scss"]
|
|
349
351
|
}; }
|
|
350
352
|
static get styleUrls() { return {
|
|
351
353
|
"$": ["styles.css"]
|