q2-tecton-elements 1.10.3 → 1.10.4
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/click-elsewhere.cjs.entry.js +1 -1
- package/dist/cjs/{icons-fa5f4367.js → icons-921779df.js} +250 -1
- package/dist/cjs/{index-6b2c271e.js → index-c2e53804.js} +19 -0
- package/dist/cjs/{index-14348270.js → index-f4153f5a.js} +18 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +3 -3
- package/dist/cjs/q2-btn_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-calendar.cjs.entry.js +7 -3
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-icon.cjs.entry.js +3 -3
- package/dist/cjs/q2-input.cjs.entry.js +3 -3
- package/dist/cjs/q2-loading-element.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +2 -2
- package/dist/cjs/q2-message.cjs.entry.js +21 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +8 -4
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-container.cjs.entry.js +85 -115
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +2 -2
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/{shapes-a7595d72.js → shapes-086c0365.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +12 -1
- package/dist/collection/components/q2-avatar/index.js +2 -2
- package/dist/collection/components/q2-calendar/index.js +5 -1
- package/dist/collection/components/q2-icon/icons.js +249 -0
- package/dist/collection/components/q2-input/styles.css +5 -4
- package/dist/collection/components/q2-message/index.js +48 -8
- package/dist/collection/components/q2-message/styles.css +68 -75
- package/dist/collection/components/q2-radio-group/index.js +7 -3
- package/dist/collection/components/q2-radio-group/styles.css +3 -0
- package/dist/collection/components/q2-tab-container/index.js +97 -125
- package/dist/collection/components/q2-tab-container/styles.css +118 -98
- package/dist/collection/components/tecton-tab-pane/index.js +11 -0
- package/dist/collection/utils/index.js +9 -3
- package/dist/esm/click-elsewhere.entry.js +1 -1
- package/dist/esm/{icons-17612675.js → icons-a3817842.js} +250 -1
- package/dist/esm/{index-da24669a.js → index-476b86cc.js} +17 -5
- package/dist/esm/{index-5fa3e016.js → index-be8376c0.js} +19 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/q2-avatar.entry.js +3 -3
- package/dist/esm/q2-btn_2.entry.js +3 -3
- package/dist/esm/q2-calendar.entry.js +7 -3
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +2 -2
- package/dist/esm/q2-dropdown.entry.js +2 -2
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-icon.entry.js +3 -3
- package/dist/esm/q2-input.entry.js +3 -3
- package/dist/esm/q2-loading-element.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +21 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +8 -4
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +2 -2
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-tab-container.entry.js +85 -115
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +2 -2
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/{shapes-073c5aad.js → shapes-81c11dfe.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +12 -1
- package/dist/q2-tecton-elements/{p-c92e3bc2.entry.js → p-01e00610.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-080839ed.js +1 -0
- package/dist/q2-tecton-elements/{p-576509e6.entry.js → p-1fc4e6f6.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-6f570344.js → p-25a5f691.js} +1 -1
- package/dist/q2-tecton-elements/p-27353237.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-2c2a5d58.entry.js → p-3e100450.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-4229b057.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-7520656d.entry.js → p-428d15fd.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-3f2590c0.entry.js → p-4830affe.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-64eef8d1.entry.js → p-48fc317d.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-3b80823a.entry.js → p-5222b792.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-82b24667.entry.js → p-61c0e5fd.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-aaa55918.js → p-67d86e3c.js} +1 -1
- package/dist/q2-tecton-elements/{p-37d281b7.entry.js → p-74c1a311.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-65894494.entry.js → p-784af485.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-e3a27b97.entry.js → p-7c99a58b.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-7f74b629.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-ebee91e2.entry.js → p-831a461f.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-905a22d5.entry.js → p-84c05db6.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-2f2bbed9.entry.js → p-84c52d3b.entry.js} +2 -2
- package/dist/q2-tecton-elements/{p-dd33b297.entry.js → p-9024859f.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-7c06467f.entry.js → p-9314863f.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-c14e0622.entry.js → p-997e4c7e.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-d0d605dc.entry.js → p-9cb0fc37.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-a224bc9c.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-891ca6f8.entry.js → p-a9bdd814.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-fa6e46e2.js → p-c90a6016.js} +1 -1
- package/dist/q2-tecton-elements/{p-86116f5c.entry.js → p-d1d040ef.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-8b4f6d3f.entry.js → p-d893fcf2.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-4d283b84.entry.js → p-da7cca07.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-f17761da.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-5289f040.entry.js → p-f5e074f8.entry.js} +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/types/components/q2-calendar/index.d.ts +1 -1
- package/dist/types/components/q2-message/index.d.ts +6 -2
- package/dist/types/components/q2-radio-group/index.d.ts +1 -1
- package/dist/types/components/q2-tab-container/index.d.ts +11 -16
- package/dist/types/components/tecton-tab-pane/index.d.ts +1 -0
- package/dist/types/components.d.ts +7 -6
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/q2-tecton-elements/p-076b95fd.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2a28baa9.entry.js +0 -1
- package/dist/q2-tecton-elements/p-6ed006a7.entry.js +0 -1
- package/dist/q2-tecton-elements/p-8e863fbc.js +0 -1
- package/dist/q2-tecton-elements/p-98bb1355.entry.js +0 -1
- package/dist/q2-tecton-elements/p-9b420e22.entry.js +0 -1
|
@@ -2629,6 +2629,255 @@ const icons = {
|
|
|
2629
2629
|
h("g", { class: "stroke-secondary", transform: "translate(11.9 5.667)" },
|
|
2630
2630
|
h("circle", { cx: "1.1", cy: "13.2", r: "1.1" }),
|
|
2631
2631
|
h("path", { d: "M1.1 0v8.8" }))))
|
|
2632
|
+
},
|
|
2633
|
+
arts: {
|
|
2634
|
+
markup: () => (h("g", null,
|
|
2635
|
+
h("g", { class: "stroke-primary" },
|
|
2636
|
+
h("path", { d: "M18.92 13.5h1.354m-1.95 6.692a2.032 2.032 0 0 0-2.873 0" }),
|
|
2637
|
+
h("path", { d: "M12.453 22.002a6.77 6.77 0 0 0 11.209-5.115V8.564a20.27 20.27 0 0 0-4.065-.979" })),
|
|
2638
|
+
h("g", { class: "stroke-secondary" },
|
|
2639
|
+
h("path", { d: "M3.339 12.823a6.774 6.774 0 0 0 13.548 0V4.499A20.342 20.342 0 0 0 3.339 4.5v8.323zm3.387-3.387h1.355m4.064 0H13.5" }),
|
|
2640
|
+
h("path", { d: "M10.113 16.887c1.123 0 2.032-.91 2.032-2.032H8.081c0 1.122.91 2.032 2.032 2.032z" }))))
|
|
2641
|
+
},
|
|
2642
|
+
bed: {
|
|
2643
|
+
markup: () => (h("g", null,
|
|
2644
|
+
h("g", { class: "stroke-primary" },
|
|
2645
|
+
h("path", { d: "M3.339 20.242V5.339m0 12.194h20.322M3.339 14.145h20.322v6.097" })),
|
|
2646
|
+
h("g", { class: "stroke-secondary", transform: "translate(6.048 7.371)" },
|
|
2647
|
+
h("circle", { cx: "2.032", cy: "2.032", r: "2.032" }),
|
|
2648
|
+
h("path", { d: "M17.613 4.065H6.774V.677h8.807c1.122 0 2.032.91 2.032 2.033v1.355z" }))))
|
|
2649
|
+
},
|
|
2650
|
+
box: {
|
|
2651
|
+
markup: () => (h("g", null,
|
|
2652
|
+
h("g", { class: "stroke-primary" },
|
|
2653
|
+
h("path", { d: "M3 7.065h20.323m0 0L18.581 3H7.742L3 7.065v16.258h20.323z" })),
|
|
2654
|
+
h("path", { d: "M15.871 13.839h-5.419V7.065L12.484 3h1.355l2.032 4.065z", class: "stroke-secondary" })))
|
|
2655
|
+
},
|
|
2656
|
+
'buildings-2': {
|
|
2657
|
+
markup: () => (h("g", null,
|
|
2658
|
+
h("g", { class: "stroke-primary" },
|
|
2659
|
+
h("path", { d: "M12.302 7.186V3l10.233 2.791v16.744H3v-9.302h1.395" }),
|
|
2660
|
+
h("path", { d: "M6.721 22.535V9.512h7.442v13.023z", class: "filled" })),
|
|
2661
|
+
h("g", { class: "stroke-secondary" },
|
|
2662
|
+
h("path", { d: "M9.512 16.023h1.86m-1.86 2.791h1.86m-1.86-5.582h1.86m5.582 5.582V8.581m2.791 10.233V9.511" }))))
|
|
2663
|
+
},
|
|
2664
|
+
'calendar-pay': {
|
|
2665
|
+
markup: () => (h("g", null,
|
|
2666
|
+
h("g", { class: "stroke-primary" },
|
|
2667
|
+
h("path", { d: "M23.241 9.586H2m9.483 12.138H2V4.276h21.241v9.483M6.931 2v4.552M18.31 2v4.552" })),
|
|
2668
|
+
h("g", { class: "stroke-secondary" },
|
|
2669
|
+
h("path", { d: "M15.898 20.983c0 1.044.82 1.865 1.865 1.865h.745c1.045 0 1.865-.82 1.865-1.865 0-2.61-4.475-1.118-4.475-3.728 0-1.044.82-1.865 1.865-1.865h.745c1.045 0 1.865.82 1.865 1.865m-2.237 5.593v1.491m0-10.44v1.491" }))))
|
|
2670
|
+
},
|
|
2671
|
+
'calendar-repeat': {
|
|
2672
|
+
markup: () => (h("g", null,
|
|
2673
|
+
h("g", { class: "stroke-primary" },
|
|
2674
|
+
h("path", { d: "M23.241 9.586H2m9.483 12.138H2V4.276h21.241v9.483M6.931 2v4.552M18.31 2v4.552" })),
|
|
2675
|
+
h("g", { class: "stroke-secondary" },
|
|
2676
|
+
h("path", { d: "M23 20a4 4 0 1 1-4-4c1.612 0 3.018.996 3.652 2.37" }),
|
|
2677
|
+
h("path", { d: "M22.892 16.578l-.24 1.792-1.686-.226" }))))
|
|
2678
|
+
},
|
|
2679
|
+
'check-dollar': {
|
|
2680
|
+
markup: () => (h("g", null,
|
|
2681
|
+
h("path", { d: "M16.001 19H2V8h22v3.987", class: "stroke-primary" }),
|
|
2682
|
+
h("g", { class: "stroke-secondary" },
|
|
2683
|
+
h("path", { d: "M6.508 12.689h10.654M6.508 15.574h5.77" })),
|
|
2684
|
+
h("g", null,
|
|
2685
|
+
h("path", { d: "M18.898 19.983c0 1.044.82 1.864 1.865 1.864h.745c1.045 0 1.865-.82 1.865-1.864 0-2.61-4.475-1.119-4.475-3.729 0-1.044.82-1.864 1.865-1.864h.745c1.045 0 1.865.82 1.865 1.864m-2.237 5.594v1.49m0-10.439v1.49" }))))
|
|
2686
|
+
},
|
|
2687
|
+
'check-shield': {
|
|
2688
|
+
markup: () => (h("g", null,
|
|
2689
|
+
h("path", { d: "M15.023 19H2V8h22v5", class: "stroke-primary" }),
|
|
2690
|
+
h("g", { class: "stroke-secondary" },
|
|
2691
|
+
h("path", { d: "M6.508 12.689h10.919M6.508 15.574h5.77" })),
|
|
2692
|
+
h("path", { d: "M21 15c-1.143.857-2.857 1.429-4 1.429 0 2.666 1.333 5.428 4 6.571 2.667-1.143 4-3.905 4-6.571-1.143 0-2.857-.572-4-1.429z", class: "stroke-primary filled" })))
|
|
2693
|
+
},
|
|
2694
|
+
'credit-score': {
|
|
2695
|
+
markup: () => (h("g", null,
|
|
2696
|
+
h("g", { class: "stroke-primary filled" },
|
|
2697
|
+
h("path", { d: "M23.996 16.712L24 17h-5l-.003-.187a5.98 5.98 0 0 0-1.745-4.047l3.54-3.53a10.964 10.964 0 0 1 3.204 7.476z" }),
|
|
2698
|
+
h("path", { d: "M13 6c3.045 0 5.8 1.237 7.793 3.236l-3.542 3.53A5.981 5.981 0 0 0 13 11V6zm0 0v5a5.981 5.981 0 0 0-4.242 1.756L5.224 9.22C7.214 7.23 9.964 6 13 6zM5.223 9.22l3.535 3.536a5.98 5.98 0 0 0-1.754 4.02L7 17H2a10.97 10.97 0 0 1 3.223-7.78z" })),
|
|
2699
|
+
h("g", { class: "stroke-secondary", transform: "translate(11 9.5)" },
|
|
2700
|
+
h("path", { d: "M2.845 5.689L5.5 0" }),
|
|
2701
|
+
h("circle", { cx: "2", cy: "7.5", r: "2" }))))
|
|
2702
|
+
},
|
|
2703
|
+
'delivery-truck': {
|
|
2704
|
+
markup: () => (h("g", null,
|
|
2705
|
+
h("g", { class: "stroke-primary" },
|
|
2706
|
+
h("path", { d: "M15.885 9.033h5.77l2.164 5.771v4.328h-2.921m-4.292 0H9.032m-4.327 0H2.18V6.148h13.705v8.295" })),
|
|
2707
|
+
h("g", { class: "stroke-secondary" },
|
|
2708
|
+
h("g", { class: "filled", transform: "translate(3.721 16.174)" },
|
|
2709
|
+
h("circle", { cx: "3.148", cy: "2.957", r: "2.164" }),
|
|
2710
|
+
h("circle", { cx: "15.049", cy: "2.957", r: "2.164" })))))
|
|
2711
|
+
},
|
|
2712
|
+
factory: {
|
|
2713
|
+
markup: () => (h("g", null,
|
|
2714
|
+
h("g", { class: "stroke-primary" },
|
|
2715
|
+
h("path", { d: "M16.548 15.193V9.774l-7.451 5.419-2.032-5.419H3v13.548h20.323V9.774zm3.387 4.065h-1.354m-3.387 0h-1.355" })),
|
|
2716
|
+
h("path", { d: "M12.484 3.677c-.862 0-1.64.332-2.238.863A4.064 4.064 0 0 0 3 7.065h12.871a3.387 3.387 0 0 0-3.387-3.388z", class: "stroke-secondary filled" })))
|
|
2717
|
+
},
|
|
2718
|
+
failed: {
|
|
2719
|
+
markup: () => (h("g", null,
|
|
2720
|
+
h("g", { class: "stroke-secondary" },
|
|
2721
|
+
h("path", { d: "M17.4 8.6l-8.8 8.8m8.8 0L8.6 8.6" })),
|
|
2722
|
+
h("circle", { cx: "13", cy: "13", r: "11", class: "stroke-primary" })))
|
|
2723
|
+
},
|
|
2724
|
+
'hand-with-key': {
|
|
2725
|
+
markup: () => (h("g", null,
|
|
2726
|
+
h("g", { class: "stroke-primary" },
|
|
2727
|
+
h("path", { d: "M5.8 12.8h.7a5.27 5.27 0 0 1 4.2 2.1h2.8a3.01 3.01 0 0 1 2.8 2.8H10" }),
|
|
2728
|
+
h("path", { d: "M15.88 16.3h4.62c2.52 0 2.8 1.4 2.8 1.4l-10.01 4.06c-.79.327-1.68.302-2.45-.07L5.8 19.1M3 11.4h2.8v9.1H3z" })),
|
|
2729
|
+
h("g", { class: "stroke-secondary filled", transform: "translate(7.197 3)" },
|
|
2730
|
+
h("circle", { cx: "2.803", cy: "3.5", r: "1" }),
|
|
2731
|
+
h("path", { d: "M6.708 2.1a3.5 3.5 0 1 0 0 2.8h2.395l1.05.7 1.05-.7h2.1l.7-2.8H6.708z" }))))
|
|
2732
|
+
},
|
|
2733
|
+
'home-gear': {
|
|
2734
|
+
markup: () => (h("g", null,
|
|
2735
|
+
h("g", { class: "stroke-primary" },
|
|
2736
|
+
h("path", { d: "M4.796 9.818v13.436h5.967v-5.593h1.779" }),
|
|
2737
|
+
h("path", { d: "M23.813 12.068L13 2.746 2.186 12.068" })),
|
|
2738
|
+
h("g", { class: "stroke-secondary", transform: "translate(9.905 10.467)" },
|
|
2739
|
+
h("path", { d: "M12.795 8.767c0-.162-.015-.32-.038-.474l1.233-1.275-.733-1.27-1.719.43a3.29 3.29 0 0 0-.823-.476L10.228 4H8.762l-.487 1.702a3.29 3.29 0 0 0-.823.476l-1.718-.43L5 7.018l1.233 1.275a3.26 3.26 0 0 0-.038.474c0 .161.015.319.038.474L5 10.515l.733 1.27 1.719-.43c.248.196.525.357.823.476l.487 1.702h1.466l.486-1.702a3.29 3.29 0 0 0 .824-.476l1.718.43.734-1.27-1.233-1.274a3.26 3.26 0 0 0 .038-.474z", class: "filled" }),
|
|
2740
|
+
h("circle", { cx: "9.495", cy: "8.767", r: "1.1" }),
|
|
2741
|
+
h("path", { d: "M.858.11h4.475v3.729H.858z" }))))
|
|
2742
|
+
},
|
|
2743
|
+
law: {
|
|
2744
|
+
markup: () => (h("g", null,
|
|
2745
|
+
h("g", { class: "stroke-secondary" },
|
|
2746
|
+
h("path", { d: "M11.218 10.872l7.304-7.304 2.74 2.739-7.305 7.304zm6.39-.914l5.479 5.478" })),
|
|
2747
|
+
h("g", { class: "stroke-primary" },
|
|
2748
|
+
h("path", { d: "M4.826 22.741v-3.652h10.957v3.652M5.739 15.437H3m4.343-3.874L5.407 9.626M3 22.741h14.609" }))))
|
|
2749
|
+
},
|
|
2750
|
+
microscope: {
|
|
2751
|
+
markup: () => (h("g", null,
|
|
2752
|
+
h("g", { class: "stroke-secondary" },
|
|
2753
|
+
h("path", { d: "M14.952 12.859l-1.016-1.76M8.45 5.662l3.52-2.032 3.726 6.453-1.76 1.016-1.761 1.016z" })),
|
|
2754
|
+
h("g", { class: "stroke-primary" },
|
|
2755
|
+
h("path", { d: "M7.163 18.765l-.875-1.316a6.097 6.097 0 0 1 2.054-8.526l5.028-2.87m.77 11.969l5.779-3.337" }),
|
|
2756
|
+
h("path", { d: "M21.597 23.661H5.339v-1.693a3.726 3.726 0 1 1 7.452 0l-.037 1.693" }))))
|
|
2757
|
+
},
|
|
2758
|
+
'mobile-fast-dollar': {
|
|
2759
|
+
markup: () => (h("g", null,
|
|
2760
|
+
h("g", { "stroke-width": "1.37", class: "stroke-primary" },
|
|
2761
|
+
h("path", { d: "M9.898 5.715h13.771M7.377 20.252h13.801m-1.665 3.269H8.317c-.727 0-1.317-.59-1.317-1.317L10 5.08c0-.728.59-1.318 1.317-1.318h11.196c.728 0 1.317.59 1.317 1.318l-3 17.123c0 .727-.59 1.317-1.317 1.317z" })),
|
|
2762
|
+
h("g", { "stroke-width": "1.5", class: "stroke-secondary" },
|
|
2763
|
+
h("path", { d: "M12.898 14.983c0 1.044.82 1.864 1.865 1.864h.745c1.045 0 1.865-.82 1.865-1.864 0-2.61-4.475-1.119-4.475-3.729 0-1.044.82-1.864 1.865-1.864h.745c1.045 0 1.865.82 1.865 1.864m-2.237 5.594v1.49m0-10.439v1.49M3.5 15.5h2m-3-5h4m-5-5h6" }))))
|
|
2764
|
+
},
|
|
2765
|
+
mortgage: {
|
|
2766
|
+
markup: () => (h("g", null,
|
|
2767
|
+
h("g", { class: "stroke-secondary" },
|
|
2768
|
+
h("path", { d: "M17.767 2.367l-4.4 3.667v5.133h8.8V6.034zm0 6.6v2.2" })),
|
|
2769
|
+
h("g", { class: "stroke-primary" },
|
|
2770
|
+
h("path", { d: "M5.17 13.627h.746c1.69 0 3.6.93 4.474 2.237h2.983c1.497 0 2.983 1.487 2.983 2.983H9.645" }),
|
|
2771
|
+
h("path", { d: "M15.88 17.356h4.951c2.703 0 2.983 1.491 2.983 1.491l-10.68 4.338c-.85.34-1.804.3-2.622-.11L5.17 20.362m-2.983-8.227H5.17v9.695H2.187z" }))))
|
|
2772
|
+
},
|
|
2773
|
+
mountains: {
|
|
2774
|
+
markup: () => (h("g", null,
|
|
2775
|
+
h("g", { class: "stroke-primary filled" },
|
|
2776
|
+
h("path", { d: "M10.49 9.406L8.634 6.537 3 15.244h3.841m9.156-5.838l1.857-2.869 5.634 8.707h-3.842" })),
|
|
2777
|
+
h("g", { class: "stroke-secondary" },
|
|
2778
|
+
h("path", { d: "M9.402 11.146h7.683M13.244 5l10.244 16.39H3z" }))))
|
|
2779
|
+
},
|
|
2780
|
+
roadblock: {
|
|
2781
|
+
markup: () => (h("g", null,
|
|
2782
|
+
h("g", { class: "stroke-primary" },
|
|
2783
|
+
h("path", { d: "M8.419 16.548v6.097m-2.71 0v-6.097m14.903 0v6.097m-2.709 0v-6.097M3.677 22.645h6.774m5.42 0h6.774M8.419 5.71V3h-2.71v2.71m14.903 0V3h-2.709v2.71" })),
|
|
2784
|
+
h("g", { class: "stroke-secondary" },
|
|
2785
|
+
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
|
+
h("path", { d: "M3 5.71h20.323v8.129H3z", class: "filled" }))))
|
|
2787
|
+
},
|
|
2788
|
+
'sign-closed': {
|
|
2789
|
+
markup: () => (h("g", null,
|
|
2790
|
+
h("g", { "stroke-width": "1.5", class: "stroke-primary", transform: "translate(7.773 3.318)" },
|
|
2791
|
+
h("path", { d: "M0 5.091l4.658-3.127m6.797 3.127L6.796 1.964" }),
|
|
2792
|
+
h("circle", { cx: "5.727", cy: "1.273", r: "1.273" })),
|
|
2793
|
+
h("g", { "stroke-width": "1.5", class: "stroke-secondary" },
|
|
2794
|
+
h("path", { d: "M23.046 19.227v3.182H3.955v-3.182m0-8.273V8.41h19.09v2.545" })),
|
|
2795
|
+
h("g", { class: "filled" },
|
|
2796
|
+
h("path", { d: "M4.728 14.569c-.14.203-.208.483-.208.839 0 .741.281 1.112.845 1.112.342 0 .66-.112.977-.243v.88a2.663 2.663 0 0 1-1.09.214c-1.115 0-1.802-.64-1.802-1.968 0-.717.254-1.392.873-1.748.282-.162.614-.243.994-.243.416 0 .814.09 1.193.27l-.319.82a3.704 3.704 0 0 0-.426-.169c-.398-.126-.802-.107-1.037.236zm2.311 2.749v-3.852h1.04v3.012h1.483v.84zm6.689-1.931c0 .648-.159 1.141-.477 1.478-.317.337-.782.506-1.395.506-.605 0-1.068-.17-1.39-.509-.323-.338-.484-.832-.484-1.48 0-.642.16-1.13.48-1.469.322-.337.788-.507 1.398-.507.613 0 1.078.168 1.393.503.317.336.475.828.475 1.478zm-2.65 0c0 .745.26 1.117.778 1.117.618 0 .777-.496.777-1.117 0-.612-.163-1.127-.772-1.127-.521 0-.783.375-.783 1.127zm5.81.762c0 .458-.23.854-.706 1.068-.425.192-1.046.184-1.448.1a2.42 2.42 0 0 1-.543-.189v-.927c.198.102.405.181.62.239.376.1 1.037.187 1.037-.202 0-.122-.078-.191-.183-.258a5.931 5.931 0 0 0-.512-.247c-.588-.268-.936-.544-.936-1.194 0-.794.66-1.127 1.451-1.127.4 0 .806.093 1.22.277l-.319.804c-.36-.166-.67-.248-.932-.248-.297 0-.388.127-.388.248 0 .235.529.426.755.53.55.246.884.522.884 1.126zm2.828 1.169H17.43v-3.852h2.286v.835H18.47v.606h1.154v.835H18.47v.727h1.246zm3.89-2.007c0 .643-.177 1.137-.531 1.486-.355.348-.852.521-1.492.521h-1.246v-3.852h1.333c.618 0 1.095.159 1.43.475.337.316.506.773.506 1.37zm-1.08.037c0-.623-.214-1.042-.846-1.042h-.303v2.158h.232c.69 0 .917-.435.917-1.116z" }))))
|
|
2797
|
+
},
|
|
2798
|
+
'sign-open': {
|
|
2799
|
+
markup: () => (h("g", null,
|
|
2800
|
+
h("g", { "stroke-width": "1.5", class: "stroke-primary", transform: "translate(7.403 2.339)" },
|
|
2801
|
+
h("path", { d: "M0 5.419l4.959-3.328m7.235 3.328L7.235 2.091" }),
|
|
2802
|
+
h("circle", { cx: "6.097", cy: "1.355", r: "1.355" })),
|
|
2803
|
+
h("path", { d: "M3.339 7.758h20.323v14.903H3.339z", class: "stroke-secondary" }),
|
|
2804
|
+
h("g", { class: "filled" },
|
|
2805
|
+
h("path", { d: "M9.781 15.234c0 .69-.168 1.214-.507 1.573-.339.359-.833.538-1.486.538-.644 0-1.136-.18-1.48-.54-.342-.362-.514-.888-.514-1.578 0-.681.17-1.202.51-1.562.343-.36.839-.54 1.49-.54s1.146.179 1.482.536c.337.357.505.881.505 1.573zm-2.821 0c0 .792.276 1.189.828 1.189.661 0 .827-.533.827-1.19 0-.648-.17-1.198-.821-1.198-.556 0-.834.4-.834 1.2zm6.537-.741c0 .458-.135.812-.405 1.062-.271.25-.655.374-1.151.374h-.312v1.36h-1.108v-4.1h1.42c.517 0 .906.113 1.166.34.26.226.39.548.39.964zm-1.868.533h.202c.329 0 .544-.192.544-.527 0-.277-.154-.415-.46-.415h-.286v.941zm4.955 2.263h-2.433v-4.1h2.433v.889h-1.326v.645h1.228v.889h-1.228v.774h1.326zm4.621 0h-1.453l-1.498-2.888s.028.801.028 1.04v1.848h-.98v-4.1h1.446l1.509 2.85a17.398 17.398 0 0 1-.039-.996V13.19h.987v4.1z" }))))
|
|
2806
|
+
},
|
|
2807
|
+
'sign-sale': {
|
|
2808
|
+
markup: () => (h("g", null,
|
|
2809
|
+
h("g", { "stroke-width": "1.5", class: "stroke-primary" },
|
|
2810
|
+
h("path", { d: "M14.42 17.258v6.387h-2.84v-6.387m2.84-12.064v-2.84h-2.84v2.84" })),
|
|
2811
|
+
h("path", { d: "M2.355 5.194h21.29v9.935H2.355z", class: "stroke-secondary" }),
|
|
2812
|
+
h("g", { class: "filled" },
|
|
2813
|
+
h("path", { d: "M8.714 11.058c.005.267-.07.529-.213.753a1.413 1.413 0 0 1-.621.512c-.3.127-.625.19-.951.182a3.907 3.907 0 0 1-.765-.064 2.845 2.845 0 0 1-.644-.222v-1.097c.234.12.48.215.733.284.227.064.462.098.698.102a.675.675 0 0 0 .403-.096.292.292 0 0 0 .128-.245.264.264 0 0 0-.052-.163.586.586 0 0 0-.165-.142 7.11 7.11 0 0 0-.607-.293c-.24-.1-.464-.233-.669-.393a1.218 1.218 0 0 1-.33-.437 1.461 1.461 0 0 1-.108-.583 1.168 1.168 0 0 1 .459-.986 2.02 2.02 0 0 1 1.26-.355c.498.006.99.118 1.444.328l-.378.954a2.74 2.74 0 0 0-1.104-.295.578.578 0 0 0-.35.084.256.256 0 0 0-.108.21.302.302 0 0 0 .138.24c.24.148.493.278.753.386.315.12.596.315.82.568.159.223.24.493.229.767zm3.506 1.384l-.226-.85H10.51l-.23.85H8.925l1.491-4.576h1.644l1.506 4.576H12.22zm-.482-1.864l-.196-.749a17.235 17.235 0 0 1-.167-.645 14.6 14.6 0 0 1-.13-.568 10.57 10.57 0 0 1-.11.525c-.055.242-.177.721-.366 1.438l.97-.001zm2.317 1.865v-4.56h1.232v3.564h1.758v.994zm6.425 0h-2.707v-4.56h2.707v.99h-1.475v.716h1.366v.989h-1.366v.861h1.475z" }))))
|
|
2814
|
+
},
|
|
2815
|
+
'sign-sold': {
|
|
2816
|
+
markup: () => (h("g", null,
|
|
2817
|
+
h("g", { "stroke-width": "1.5", class: "stroke-primary" },
|
|
2818
|
+
h("path", { d: "M14.42 17.258v6.387h-2.84v-6.387m2.84-12.064v-2.84h-2.84v2.84" })),
|
|
2819
|
+
h("path", { d: "M2.355 5.194h21.29v9.935H2.355z", class: "stroke-secondary" }),
|
|
2820
|
+
h("g", { class: "filled" },
|
|
2821
|
+
h("path", { d: "M8.177 11.052a1.34 1.34 0 0 1-.214.751 1.404 1.404 0 0 1-.619.51c-.3.127-.622.19-.948.182a3.82 3.82 0 0 1-.76-.062A2.814 2.814 0 0 1 5 12.21v-1.091c.232.12.476.214.728.281.227.064.46.098.696.101.14.013.28-.02.402-.09a.293.293 0 0 0 .076-.408.594.594 0 0 0-.166-.141 6.108 6.108 0 0 0-.604-.293 2.876 2.876 0 0 1-.666-.391 1.209 1.209 0 0 1-.33-.436 1.438 1.438 0 0 1-.108-.581 1.167 1.167 0 0 1 .455-.981c.368-.253.81-.376 1.256-.351.498.006.988.118 1.44.327l-.378.94A2.714 2.714 0 0 0 6.7 8.804a.569.569 0 0 0-.348.085.252.252 0 0 0-.11.208.302.302 0 0 0 .139.24c.24.147.491.276.751.385.315.12.596.315.819.568.157.222.237.49.225.762zm4.956-.898a2.456 2.456 0 0 1-.562 1.744c-.44.423-1.04.64-1.649.597-.605.04-1.2-.178-1.637-.6a2.442 2.442 0 0 1-.57-1.747c-.044-.63.16-1.252.567-1.734a2.173 2.173 0 0 1 1.65-.599 2.154 2.154 0 0 1 1.644.595c.404.488.603 1.114.557 1.745zm-3.127 0c0 .879.305 1.318.916 1.318.27.02.532-.101.692-.32a1.75 1.75 0 0 0 .225-1 1.77 1.77 0 0 0-.228-1.007.78.78 0 0 0-.682-.324c-.617.001-.926.446-.926 1.333h.003zm3.948 2.279V7.885h1.228v3.556h1.75v.992zm7.565-2.365a2.348 2.348 0 0 1-.627 1.753 2.407 2.407 0 0 1-1.761.612H17.66V7.885h1.573c.614-.04 1.22.16 1.69.559.42.432.638 1.022.596 1.624zm-1.274.042a1.438 1.438 0 0 0-.247-.926.91.91 0 0 0-.75-.302h-.358v2.548h.273a.99.99 0 0 0 .818-.325c.197-.294.29-.645.262-.997l.002.003z" }))))
|
|
2822
|
+
},
|
|
2823
|
+
statements: {
|
|
2824
|
+
markup: () => (h("g", null,
|
|
2825
|
+
h("path", { d: "M3 2h16v19H3z", class: "stroke-primary filled" }),
|
|
2826
|
+
h("path", { d: "M22 5v19H6", class: "stroke-primary" }),
|
|
2827
|
+
h("g", { class: "stroke-secondary" },
|
|
2828
|
+
h("path", { d: "M13 15.729h3m-3-4.474h3M13 6.78h3M5.898 12.983c0 1.044.82 1.865 1.865 1.865h.745c1.045 0 1.865-.82 1.865-1.865 0-2.61-4.475-1.118-4.475-3.728 0-1.044.82-1.865 1.865-1.865h.745c1.045 0 1.865.82 1.865 1.865m-2.237 5.593v1.491m0-10.44V7.39" }))))
|
|
2829
|
+
},
|
|
2830
|
+
taxi: {
|
|
2831
|
+
markup: () => (h("g", null,
|
|
2832
|
+
h("g", { class: "stroke-primary" },
|
|
2833
|
+
h("path", { d: "M21 13l-1.778-6H6.778L5 13m3 7v3.5H4V20m18 0v3.5h-4V20m5 0H3v-5.25L4.818 13h16.364L23 14.75zM6.5 16h2m9 0h2" })),
|
|
2834
|
+
h("path", { d: "M10 3h6v2h-6z", class: "stroke-secondary" })))
|
|
2835
|
+
},
|
|
2836
|
+
'transfer-receive': {
|
|
2837
|
+
markup: () => (h("g", null,
|
|
2838
|
+
h("g", { class: "stroke-primary" },
|
|
2839
|
+
h("path", { d: "M17.651 16.045l-3.065-3.335 3.065-3.334m5.55 3.334h-8.616" })),
|
|
2840
|
+
h("g", { class: "stroke-secondary" },
|
|
2841
|
+
h("path", { d: "M4 16.336c0 1.67 1.287 2.983 2.925 2.983h1.17c1.637 0 2.924-1.313 2.924-2.983 0-4.177-7.019-1.79-7.019-5.967C4 8.7 5.287 7.386 6.925 7.386h1.17c1.637 0 2.924 1.313 2.924 2.983m-3.51 8.95v2.386M7.509 5v2.386" }))))
|
|
2842
|
+
},
|
|
2843
|
+
'transfer-send': {
|
|
2844
|
+
markup: () => (h("g", null,
|
|
2845
|
+
h("g", { class: "stroke-primary" },
|
|
2846
|
+
h("path", { d: "M19.333 16.086l3.503-3.335-3.503-3.334M14 12.751h8.718" })),
|
|
2847
|
+
h("g", { class: "stroke-secondary" },
|
|
2848
|
+
h("path", { d: "M4 16.336c0 1.67 1.287 2.983 2.925 2.983h1.17c1.637 0 2.924-1.313 2.924-2.983 0-4.177-7.019-1.79-7.019-5.967C4 8.7 5.287 7.386 6.925 7.386h1.17c1.637 0 2.924 1.313 2.924 2.983m-3.51 8.95v2.386M7.509 5v2.386" }))))
|
|
2849
|
+
},
|
|
2850
|
+
upload: {
|
|
2851
|
+
markup: () => (h("g", null,
|
|
2852
|
+
h("g", { class: "stroke-secondary" },
|
|
2853
|
+
h("path", { d: "M13 19V2.867m5.866 5.866L13 2.867 7.133 8.733" })),
|
|
2854
|
+
h("path", { d: "M2 19.233v4.4h22v-4.4", class: "stroke-primary" })))
|
|
2855
|
+
},
|
|
2856
|
+
virus: {
|
|
2857
|
+
markup: () => (h("g", null,
|
|
2858
|
+
h("g", { class: "stroke-secondary", transform: "translate(8.742 8.742)" },
|
|
2859
|
+
h("circle", { cx: "1.419", cy: "6.387", r: "1.419" }),
|
|
2860
|
+
h("circle", { cx: "6.742", cy: "4.613", r: "1.774" }),
|
|
2861
|
+
h("circle", { cx: "1.774", cy: "1.065", r: "1.065" })),
|
|
2862
|
+
h("g", { class: "stroke-primary", transform: "translate(2.622 2.622)" },
|
|
2863
|
+
h("path", { d: "M6.305.544l1.086 2.622M4.993 1.087L7.616 0M.544 6.305l2.622 1.086M0 7.616l1.087-2.623m-.543 9.459l2.622-1.086m-2.079 2.397L0 13.14m6.305 7.073l1.086-2.622m.225 3.166L4.993 19.67m9.459.543l-1.086-2.622m2.397 2.079l-2.623 1.087m7.073-6.305l-2.622-1.086m3.166-.226l-1.087 2.623m.543-9.458l-2.622 1.086m2.079-2.398l1.087 2.623M14.452.544l-1.086 2.622M13.14 0l2.623 1.087" }),
|
|
2864
|
+
h("circle", { cx: "10.378", cy: "10.378", r: "7.806", class: "filled" }))))
|
|
2865
|
+
},
|
|
2866
|
+
'zoom-in': {
|
|
2867
|
+
markup: () => (h("g", null,
|
|
2868
|
+
h("g", { class: "stroke-secondary" },
|
|
2869
|
+
h("path", { d: "M11.036 7.893v6.286m3.143-3.143H7.893" })),
|
|
2870
|
+
h("g", { class: "stroke-primary", transform: "translate(2.393 2.393)" },
|
|
2871
|
+
h("path", { d: "M21.214 21.214l-3.928-3.928" }),
|
|
2872
|
+
h("circle", { cx: "8.643", cy: "8.643", r: "8.643" }))))
|
|
2873
|
+
},
|
|
2874
|
+
'zoom-out': {
|
|
2875
|
+
markup: () => (h("g", null,
|
|
2876
|
+
h("g", { class: "stroke-secondary" },
|
|
2877
|
+
h("path", { d: "M14.179 11.036H7.893" })),
|
|
2878
|
+
h("g", { class: "stroke-primary", transform: "translate(2.393 2.393)" },
|
|
2879
|
+
h("path", { d: "M21.214 21.214l-3.928-3.928" }),
|
|
2880
|
+
h("circle", { cx: "8.643", cy: "8.643", r: "8.643" }))))
|
|
2632
2881
|
}
|
|
2633
2882
|
};
|
|
2634
2883
|
export default icons;
|
|
@@ -112,6 +112,10 @@ label {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.input-container {
|
|
115
|
+
background-color: var(
|
|
116
|
+
--tct-input-bg,
|
|
117
|
+
var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, #f2f2f2)))
|
|
118
|
+
);
|
|
115
119
|
display: flex;
|
|
116
120
|
align-items: center;
|
|
117
121
|
--comp-input-horizontal-gap: var(
|
|
@@ -174,10 +178,7 @@ label {
|
|
|
174
178
|
height: var(--tct-input-height, 44px);
|
|
175
179
|
width: 100%;
|
|
176
180
|
padding: 0 var(--tct-input-horizontal-padding, var(--tct-scale-2, var(--app-scale-2, 10px)));
|
|
177
|
-
background-color:
|
|
178
|
-
--tct-input-bg,
|
|
179
|
-
var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, #f2f2f2)))
|
|
180
|
-
);
|
|
181
|
+
background-color: transparent;
|
|
181
182
|
color: var(--tct-input-font-color, var(--t-input-font-color, var(--t-text, inherit)));
|
|
182
183
|
}
|
|
183
184
|
|
|
@@ -1,20 +1,38 @@
|
|
|
1
|
-
import { Component, Prop, h } from '@stencil/core';
|
|
1
|
+
import { Component, Prop, h, Method, State, Element } from '@stencil/core';
|
|
2
|
+
import { isFirefox as checkIfFirefox, nextPaint } from 'src/utils';
|
|
2
3
|
export class Q2Message {
|
|
3
4
|
constructor() {
|
|
4
5
|
this.type = 'info';
|
|
5
6
|
this.appearance = 'standard';
|
|
6
7
|
this.description = false;
|
|
7
8
|
}
|
|
9
|
+
get isFirefox() {
|
|
10
|
+
return checkIfFirefox();
|
|
11
|
+
}
|
|
12
|
+
async present() {
|
|
13
|
+
const { isFirefox } = this;
|
|
14
|
+
this.presentToggle = !this.presentToggle;
|
|
15
|
+
if (!isFirefox)
|
|
16
|
+
return;
|
|
17
|
+
nextPaint(() => {
|
|
18
|
+
this.presentToggle = false;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
8
21
|
render() {
|
|
9
|
-
|
|
22
|
+
const { isFirefox } = this;
|
|
23
|
+
const addAriaHiddenForAriaLive = isFirefox && this.presentToggle;
|
|
24
|
+
const addDivForAriaLive = !isFirefox && this.presentToggle;
|
|
25
|
+
const { description } = this;
|
|
26
|
+
return (h("div", { class: "message", role: description ? undefined : 'alert', "aria-live": description ? undefined : 'polite', "aria-atomic": description ? undefined : 'true', "aria-relevant": description ? undefined : 'all' },
|
|
10
27
|
this.appearance === 'standard' ? generateIcon(this.type) : '',
|
|
11
|
-
h("div", { class: "
|
|
28
|
+
addDivForAriaLive && h("div", { class: "sr" }),
|
|
29
|
+
h("div", { class: "message-content", "aria-hidden": addAriaHiddenForAriaLive ? 'true' : undefined },
|
|
12
30
|
h("slot", null))));
|
|
13
31
|
}
|
|
14
32
|
static get is() { return "q2-message"; }
|
|
15
33
|
static get encapsulation() { return "shadow"; }
|
|
16
34
|
static get originalStyleUrls() { return {
|
|
17
|
-
"$": ["styles.
|
|
35
|
+
"$": ["styles.scss"]
|
|
18
36
|
}; }
|
|
19
37
|
static get styleUrls() { return {
|
|
20
38
|
"$": ["styles.css"]
|
|
@@ -24,8 +42,8 @@ export class Q2Message {
|
|
|
24
42
|
"type": "string",
|
|
25
43
|
"mutable": false,
|
|
26
44
|
"complexType": {
|
|
27
|
-
"original": "
|
|
28
|
-
"resolved": "
|
|
45
|
+
"original": "'info' | 'error' | 'danger' | 'warning' | 'success'",
|
|
46
|
+
"resolved": "\"danger\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
29
47
|
"references": {}
|
|
30
48
|
},
|
|
31
49
|
"required": false,
|
|
@@ -42,8 +60,8 @@ export class Q2Message {
|
|
|
42
60
|
"type": "string",
|
|
43
61
|
"mutable": false,
|
|
44
62
|
"complexType": {
|
|
45
|
-
"original": "
|
|
46
|
-
"resolved": "
|
|
63
|
+
"original": "'minimal' | 'standard'",
|
|
64
|
+
"resolved": "\"minimal\" | \"standard\"",
|
|
47
65
|
"references": {}
|
|
48
66
|
},
|
|
49
67
|
"required": false,
|
|
@@ -75,6 +93,28 @@ export class Q2Message {
|
|
|
75
93
|
"defaultValue": "false"
|
|
76
94
|
}
|
|
77
95
|
}; }
|
|
96
|
+
static get states() { return {
|
|
97
|
+
"presentToggle": {}
|
|
98
|
+
}; }
|
|
99
|
+
static get methods() { return {
|
|
100
|
+
"present": {
|
|
101
|
+
"complexType": {
|
|
102
|
+
"signature": "() => Promise<void>",
|
|
103
|
+
"parameters": [],
|
|
104
|
+
"references": {
|
|
105
|
+
"Promise": {
|
|
106
|
+
"location": "global"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"return": "Promise<void>"
|
|
110
|
+
},
|
|
111
|
+
"docs": {
|
|
112
|
+
"text": "",
|
|
113
|
+
"tags": []
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}; }
|
|
117
|
+
static get elementRef() { return "hostElement"; }
|
|
78
118
|
}
|
|
79
119
|
function generateIcon(type) {
|
|
80
120
|
const iconMap = {
|
|
@@ -64,113 +64,106 @@ button {
|
|
|
64
64
|
visibility: hidden;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
67
|
:host {
|
|
69
|
-
|
|
68
|
+
display: block;
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
:host([hidden]) {
|
|
73
|
-
|
|
72
|
+
display: none;
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
.message {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
76
|
+
border-left-width: var(--tct-message-bar-width, var(--t-message-bar-width, var(--app-scale-1, 5px)));
|
|
77
|
+
border-left-style: solid;
|
|
78
|
+
display: grid;
|
|
79
|
+
gap: var(--tct-scale-1, var(--app-scale-1, 5px));
|
|
80
|
+
align-items: flex-start;
|
|
81
|
+
background: var(--tct-message-bg, var(--t-message-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))));
|
|
82
|
+
color: var(--tct-message-font-color, var(--t-message-font-color, inherit));
|
|
83
|
+
box-shadow: var(--tct-message-box-shadow, var(--t-message-box-shadow, inherit));
|
|
84
|
+
border-radius: var(--tct-message-border-radius, var(--t-message-border-radius, inherit));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.message-icon {
|
|
88
|
+
width: 24px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.message-content {
|
|
92
|
+
flex: 1;
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
::slotted(ul) {
|
|
88
|
-
|
|
96
|
+
padding-left: var(--tct-scale-l3, var(--app-scale-3, 15px));
|
|
89
97
|
}
|
|
90
98
|
|
|
91
99
|
:host(:not([appearance])),
|
|
92
|
-
:host([appearance=
|
|
93
|
-
|
|
100
|
+
:host([appearance=standard]) {
|
|
101
|
+
margin: var(--tct-scale-l3, var(--app-scale-3, 15px)) 0;
|
|
94
102
|
}
|
|
95
|
-
|
|
96
103
|
:host(:not([appearance])) .message,
|
|
97
|
-
:host([appearance=
|
|
98
|
-
|
|
104
|
+
:host([appearance=standard]) .message {
|
|
105
|
+
grid-template-columns: 24px 1fr;
|
|
106
|
+
--comp-padding: var(--tct-message-padding, var(--t-message-padding, var(--app-scale-3, 15px)));
|
|
107
|
+
padding: var(--comp-padding);
|
|
108
|
+
padding-top: calc(var(--comp-padding) - var(--tct-scale-1, var(--app-scale-1, 5px)));
|
|
109
|
+
padding-left: calc(var(--comp-padding) - var(--tct-scale-2, var(--app-scale-2, 10px)));
|
|
110
|
+
}
|
|
111
|
+
:host(:not([appearance])) .message-content,
|
|
112
|
+
:host([appearance=standard]) .message-content {
|
|
113
|
+
padding-top: var(--tct-scale-1, var(--app-scale-1, 5px));
|
|
99
114
|
}
|
|
100
|
-
|
|
101
115
|
:host(:not([appearance])) ::slotted(ul),
|
|
102
|
-
:host([appearance=
|
|
103
|
-
|
|
116
|
+
:host([appearance=standard]) ::slotted(ul) {
|
|
117
|
+
margin: var(--tct-scale-l3, var(--app-scale-3, 15px)) 0;
|
|
104
118
|
}
|
|
105
119
|
|
|
106
|
-
:host([appearance=
|
|
107
|
-
|
|
120
|
+
:host([appearance=minimal]) {
|
|
121
|
+
margin: 0;
|
|
108
122
|
}
|
|
109
|
-
:host([appearance=
|
|
110
|
-
|
|
123
|
+
:host([appearance=minimal]) .message {
|
|
124
|
+
padding: var(--tct-message-minimal-padding, var(--t-message-minimal-padding, var(--app-scale-2, 10px)));
|
|
125
|
+
grid-template-columns: 1fr;
|
|
111
126
|
}
|
|
112
|
-
:host([appearance=
|
|
113
|
-
|
|
127
|
+
:host([appearance=minimal]) ::slotted(ul) {
|
|
128
|
+
margin: var(--tct-scale-1, var(--app-scale-1, 5px)) 0;
|
|
114
129
|
}
|
|
115
130
|
|
|
116
131
|
:host(:not([type])) .message,
|
|
117
|
-
:host([type=
|
|
118
|
-
|
|
132
|
+
:host([type=info]) .message {
|
|
133
|
+
border-left-color: var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1));
|
|
119
134
|
}
|
|
120
|
-
|
|
121
135
|
:host(:not([type])) .message-icon,
|
|
122
|
-
:host([type
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
:host([type='success']) .message {
|
|
128
|
-
border-left-color: var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00));
|
|
129
|
-
}
|
|
130
|
-
:host([type='success']) .message-icon {
|
|
131
|
-
--tct-icon-stroke-primary: var(
|
|
132
|
-
--tct-stoplight-success,
|
|
133
|
-
var(--const-stoplight-success, #0e8a00)
|
|
134
|
-
);
|
|
135
|
-
--tct-icon-stroke-secondary: var(
|
|
136
|
-
--tct-stoplight-success,
|
|
137
|
-
var(--const-stoplight-success, #0e8a00)
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
:host([type='warning']) .message {
|
|
142
|
-
border-left-color: var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400));
|
|
136
|
+
:host(:not([type])) .message-icon,
|
|
137
|
+
:host([type=info]) .message-icon,
|
|
138
|
+
:host([type=info]) .message-icon {
|
|
139
|
+
--tct-icon-stroke-primary: var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1));
|
|
140
|
+
--tct-icon-stroke-secondary: var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1));
|
|
143
141
|
}
|
|
144
142
|
|
|
145
|
-
:host([type=
|
|
146
|
-
|
|
147
|
-
--tct-stoplight-warning,
|
|
148
|
-
var(--const-stoplight-warning, #f0b400)
|
|
149
|
-
);
|
|
150
|
-
--tct-icon-stroke-secondary: var(
|
|
151
|
-
--tct-stoplight-warning,
|
|
152
|
-
var(--const-stoplight-warning, #f0b400)
|
|
153
|
-
);
|
|
143
|
+
:host([type=success]) .message {
|
|
144
|
+
border-left-color: var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00));
|
|
154
145
|
}
|
|
155
|
-
|
|
156
|
-
:
|
|
157
|
-
:
|
|
158
|
-
border-left-color: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
146
|
+
:host([type=success]) .message-icon {
|
|
147
|
+
--tct-icon-stroke-primary: var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00));
|
|
148
|
+
--tct-icon-stroke-secondary: var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00));
|
|
159
149
|
}
|
|
160
150
|
|
|
161
|
-
:host([type=
|
|
162
|
-
:
|
|
163
|
-
--tct-icon-stroke-primary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
164
|
-
--tct-icon-stroke-secondary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
151
|
+
:host([type=warning]) .message {
|
|
152
|
+
border-left-color: var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400));
|
|
165
153
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
margin-top: calc(var(--tct-scale-1, var(--app-scale-1, 5px)) * -1);
|
|
170
|
-
margin-right: var(--tct-scale-1, var(--app-scale-1, 5px));
|
|
171
|
-
margin-left: calc(var(--tct-scale-2, var(--app-scale-2, 10px)) * -1);
|
|
154
|
+
:host([type=warning]) .message-icon {
|
|
155
|
+
--tct-icon-stroke-primary: var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400));
|
|
156
|
+
--tct-icon-stroke-secondary: var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400));
|
|
172
157
|
}
|
|
173
158
|
|
|
174
|
-
.message
|
|
175
|
-
|
|
159
|
+
:host([type=error]) .message,
|
|
160
|
+
:host([type=danger]) .message {
|
|
161
|
+
border-left-color: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
176
162
|
}
|
|
163
|
+
:host([type=error]) .message-icon,
|
|
164
|
+
:host([type=error]) .message-icon,
|
|
165
|
+
:host([type=danger]) .message-icon,
|
|
166
|
+
:host([type=danger]) .message-icon {
|
|
167
|
+
--tct-icon-stroke-primary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
168
|
+
--tct-icon-stroke-secondary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
169
|
+
}
|
|
@@ -70,7 +70,11 @@ export class Q2RadioGroup {
|
|
|
70
70
|
}
|
|
71
71
|
inputDom() {
|
|
72
72
|
if (this.tilelayout) {
|
|
73
|
-
|
|
73
|
+
const { tileAlignment } = this;
|
|
74
|
+
const alignment = ['left', 'center', 'right'].includes(tileAlignment)
|
|
75
|
+
? tileAlignment
|
|
76
|
+
: 'center';
|
|
77
|
+
return (h("div", { class: `flexed ${alignment}` },
|
|
74
78
|
h("slot", null)));
|
|
75
79
|
}
|
|
76
80
|
else {
|
|
@@ -193,8 +197,8 @@ export class Q2RadioGroup {
|
|
|
193
197
|
"type": "string",
|
|
194
198
|
"mutable": false,
|
|
195
199
|
"complexType": {
|
|
196
|
-
"original": "
|
|
197
|
-
"resolved": "
|
|
200
|
+
"original": "'left' | 'center' | 'right'",
|
|
201
|
+
"resolved": "\"center\" | \"left\" | \"right\"",
|
|
198
202
|
"references": {}
|
|
199
203
|
},
|
|
200
204
|
"required": false,
|