globuswebcomponents 0.5.4 → 0.5.5
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/{gb-avatar_28.cjs.entry.js → gb-avatar_34.cjs.entry.js} +358 -80
- package/dist/cjs/gb-avatar_34.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close_2.cjs.entry.js +1 -1
- package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
- package/dist/cjs/gb-password-button.cjs.entry.js +27 -0
- package/dist/{components/p-624a1576.js.map → cjs/gb-password-button.cjs.entry.js.map} +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +1 -1
- package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
- package/dist/cjs/gb-toast.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +38 -2
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +49 -7
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.js +4 -4
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +3 -3
- package/dist/collection/components/gb-checkbox/gb-checkbox.css +6 -2
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +20 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.js.map +1 -1
- package/dist/collection/components/gb-header/gb-header.js +37 -1
- package/dist/collection/components/gb-header/gb-header.js.map +1 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.css +2686 -0
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +80 -0
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js.map +1 -0
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +17 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +29 -41
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +5 -5
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +4 -2
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
- package/dist/collection/components/gb-input-field/gb-input-field.css +10 -315
- package/dist/collection/components/gb-input-field/gb-input-field.js +8 -14
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +9 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/gb-slider/gb-slider.js +1 -1
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag/gb-tag.js.map +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.css +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +21 -7
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +2 -2
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +5 -5
- package/dist/components/gb-checkbox.js +1 -1
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +4 -4
- package/dist/components/gb-header.js +17 -3
- package/dist/components/gb-header.js.map +1 -1
- package/dist/components/gb-help-dropdown.js +2 -2
- package/dist/components/gb-help-tooltip.d.ts +11 -0
- package/dist/components/gb-help-tooltip.js +8 -0
- package/dist/components/gb-help-tooltip.js.map +1 -0
- package/dist/components/gb-horizontal-tabs.js +5 -5
- package/dist/components/gb-input-dropdown-menu-item.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +9 -33
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-megainput-field.js +1 -1
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +2 -2
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +2 -2
- package/dist/components/gb-password-button.js +50 -1
- package/dist/components/gb-password-button.js.map +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-rich-text.js +36 -24
- package/dist/components/gb-rich-text.js.map +1 -1
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +7 -7
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +3 -3
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +3 -3
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +3 -3
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/{p-6f80ffdd.js → p-0767d31b.js} +3 -3
- package/dist/components/{p-6f80ffdd.js.map → p-0767d31b.js.map} +1 -1
- package/dist/components/{p-828cdee0.js → p-12d84b99.js} +3 -3
- package/dist/components/{p-828cdee0.js.map → p-12d84b99.js.map} +1 -1
- package/dist/components/{p-d35a5ebf.js → p-14ae77f4.js} +2 -2
- package/dist/components/{p-d35a5ebf.js.map → p-14ae77f4.js.map} +1 -1
- package/dist/components/{p-80e5c981.js → p-1787a21b.js} +3 -3
- package/dist/components/{p-80e5c981.js.map → p-1787a21b.js.map} +1 -1
- package/dist/components/{p-45b383f3.js → p-1c27c0dc.js} +7 -7
- package/dist/components/p-1c27c0dc.js.map +1 -0
- package/dist/components/{p-5c8697f4.js → p-200efa06.js} +7 -7
- package/dist/components/{p-5c8697f4.js.map → p-200efa06.js.map} +1 -1
- package/dist/components/{p-0def795f.js → p-2849e182.js} +2 -2
- package/dist/components/{p-0def795f.js.map → p-2849e182.js.map} +1 -1
- package/dist/components/{p-1bf71f2b.js → p-43c70bd8.js} +2 -2
- package/dist/components/{p-1bf71f2b.js.map → p-43c70bd8.js.map} +1 -1
- package/dist/components/{p-86b97b4e.js → p-443d3de1.js} +2 -2
- package/dist/components/{p-86b97b4e.js.map → p-443d3de1.js.map} +1 -1
- package/dist/components/{p-01ca2c76.js → p-55426266.js} +5 -5
- package/dist/components/{p-01ca2c76.js.map → p-55426266.js.map} +1 -1
- package/dist/components/{p-3f0f1542.js → p-5ba87b93.js} +2 -2
- package/dist/components/{p-3f0f1542.js.map → p-5ba87b93.js.map} +1 -1
- package/dist/components/{p-69a17ca1.js → p-65de39d5.js} +21 -18
- package/dist/components/p-65de39d5.js.map +1 -0
- package/dist/components/{p-a621882d.js → p-6b8ad833.js} +9 -7
- package/dist/components/p-6b8ad833.js.map +1 -0
- package/dist/components/{p-4ad10413.js → p-8ae9de24.js} +5 -3
- package/dist/components/p-8ae9de24.js.map +1 -0
- package/dist/components/{p-29e457b4.js → p-9023f483.js} +5 -5
- package/dist/components/p-9023f483.js.map +1 -0
- package/dist/components/{p-16a63898.js → p-92877dec.js} +2 -2
- package/dist/components/{p-16a63898.js.map → p-92877dec.js.map} +1 -1
- package/dist/components/{p-136d6625.js → p-9af82179.js} +2 -2
- package/dist/components/{p-136d6625.js.map → p-9af82179.js.map} +1 -1
- package/dist/components/{p-4bc4b9d4.js → p-a8fc1a6f.js} +31 -11
- package/dist/components/p-a8fc1a6f.js.map +1 -0
- package/dist/components/{p-b3a3cd2c.js → p-ad5a06e5.js} +4 -4
- package/dist/components/{p-b3a3cd2c.js.map → p-ad5a06e5.js.map} +1 -1
- package/dist/components/{p-2ff90ce5.js → p-b20e1208.js} +35 -23
- package/dist/components/p-b20e1208.js.map +1 -0
- package/dist/components/p-c2bbed0e.js +55 -0
- package/dist/components/p-c2bbed0e.js.map +1 -0
- package/dist/components/{p-fa3dbfc9.js → p-d033be88.js} +7 -7
- package/dist/components/p-d033be88.js.map +1 -0
- package/dist/components/{p-c3435528.js → p-dacb769c.js} +3 -3
- package/dist/components/{p-c3435528.js.map → p-dacb769c.js.map} +1 -1
- package/dist/components/{p-684a3a44.js → p-e4b16ff4.js} +2 -2
- package/dist/components/{p-684a3a44.js.map → p-e4b16ff4.js.map} +1 -1
- package/dist/components/{p-85c64917.js → p-eaaefb80.js} +3 -3
- package/dist/components/{p-85c64917.js.map → p-eaaefb80.js.map} +1 -1
- package/dist/components/{p-da4c5b74.js → p-f260054c.js} +62 -45
- package/dist/components/p-f260054c.js.map +1 -0
- package/dist/components/{p-502ce20d.js → p-fc3b2733.js} +2 -2
- package/dist/components/{p-502ce20d.js.map → p-fc3b2733.js.map} +1 -1
- package/dist/esm/{gb-avatar_28.entry.js → gb-avatar_34.entry.js} +352 -80
- package/dist/esm/gb-avatar_34.entry.js.map +1 -0
- package/dist/esm/gb-button-close_2.entry.js +1 -1
- package/dist/esm/gb-megainput-field.entry.js +2 -2
- package/dist/esm/gb-notification-content.entry.js +1 -1
- package/dist/{components/p-624a1576.js → esm/gb-password-button.entry.js} +9 -40
- package/dist/esm/gb-password-button.entry.js.map +1 -0
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +1 -1
- package/dist/esm/gb-scrollbar.entry.js +1 -1
- package/dist/esm/gb-slider-control-handle.entry.js +1 -1
- package/dist/esm/gb-slider.entry.js +1 -1
- package/dist/esm/gb-toast-button.entry.js +1 -1
- package/dist/esm/gb-toast.entry.js +1 -1
- package/dist/esm/gb-toggle-base.entry.js +2 -2
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field.entry.js +1 -1
- package/dist/esm/gb-verification-code-field.entry.js +2 -2
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/globuscomponents/gb-button.tsx +3 -3
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/p-1d2985a5.entry.js +2 -0
- package/dist/globuscomponents/{p-7d39e1bb.entry.js → p-2adda6a5.entry.js} +2 -2
- package/dist/globuscomponents/p-2f557384.entry.js +2 -0
- package/dist/globuscomponents/p-2f557384.entry.js.map +1 -0
- package/dist/globuscomponents/{p-5e5e8adb.entry.js → p-3e8c8ead.entry.js} +2 -2
- package/dist/globuscomponents/{p-c319a1ac.entry.js → p-3fc3956d.entry.js} +2 -2
- package/dist/globuscomponents/{p-ae1e9810.entry.js → p-40f11c62.entry.js} +2 -2
- package/dist/globuscomponents/{p-c72859a2.entry.js → p-427cfeeb.entry.js} +2 -2
- package/dist/globuscomponents/{p-98dbf27b.entry.js → p-4e97f7cd.entry.js} +2 -2
- package/dist/globuscomponents/p-5ea9e5cd.entry.js +2 -0
- package/dist/globuscomponents/{p-f75875e4.entry.js → p-67b452b7.entry.js} +2 -2
- package/dist/globuscomponents/p-92c7f3ab.entry.js +2 -0
- package/dist/globuscomponents/p-92c7f3ab.entry.js.map +1 -0
- package/dist/globuscomponents/{p-9f6d25da.entry.js → p-aa4006c2.entry.js} +2 -2
- package/dist/globuscomponents/{p-74dc85da.entry.js → p-c6e2e53a.entry.js} +2 -2
- package/dist/globuscomponents/{p-934f454a.entry.js → p-cf24a49c.entry.js} +2 -2
- package/dist/globuscomponents/{p-52b8180e.entry.js → p-d1103820.entry.js} +2 -2
- package/dist/globuscomponents/{p-e52d8cdf.entry.js → p-d6fb070d.entry.js} +2 -2
- package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +3 -0
- package/dist/types/components/gb-avatar-label-group/gb-avatar-label-group.d.ts +3 -1
- package/dist/types/components/gb-checkbox/gb-checkbox.d.ts +1 -0
- package/dist/types/components/gb-header/gb-header.d.ts +3 -1
- package/dist/types/components/gb-help-tooltip/gb-help-tooltip.d.ts +8 -0
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +2 -3
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -1
- package/dist/types/components.d.ts +29 -6
- package/package.json +1 -1
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -44
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -77
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar_28.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -31
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js +0 -34
- package/dist/cjs/gb-header-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-header.cjs.entry.js +0 -42
- package/dist/cjs/gb-header.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-notification-pane.cjs.entry.js +0 -45
- package/dist/cjs/gb-notification-pane.cjs.entry.js.map +0 -1
- package/dist/components/p-29e457b4.js.map +0 -1
- package/dist/components/p-2ff90ce5.js.map +0 -1
- package/dist/components/p-45b383f3.js.map +0 -1
- package/dist/components/p-4ad10413.js.map +0 -1
- package/dist/components/p-4bc4b9d4.js.map +0 -1
- package/dist/components/p-69a17ca1.js.map +0 -1
- package/dist/components/p-a621882d.js.map +0 -1
- package/dist/components/p-da4c5b74.js.map +0 -1
- package/dist/components/p-fa3dbfc9.js.map +0 -1
- package/dist/esm/gb-avatar-dropdown.entry.js +0 -40
- package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-avatar-label-group.entry.js +0 -73
- package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
- package/dist/esm/gb-avatar_28.entry.js.map +0 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -27
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
- package/dist/esm/gb-header-icon.entry.js +0 -30
- package/dist/esm/gb-header-icon.entry.js.map +0 -1
- package/dist/esm/gb-header.entry.js +0 -38
- package/dist/esm/gb-header.entry.js.map +0 -1
- package/dist/esm/gb-notification-pane.entry.js +0 -41
- package/dist/esm/gb-notification-pane.entry.js.map +0 -1
- package/dist/globuscomponents/p-071f2e68.entry.js +0 -2
- package/dist/globuscomponents/p-071f2e68.entry.js.map +0 -1
- package/dist/globuscomponents/p-130d1778.entry.js +0 -2
- package/dist/globuscomponents/p-130d1778.entry.js.map +0 -1
- package/dist/globuscomponents/p-1626936d.entry.js +0 -2
- package/dist/globuscomponents/p-1626936d.entry.js.map +0 -1
- package/dist/globuscomponents/p-2a3cf534.entry.js +0 -2
- package/dist/globuscomponents/p-2a3cf534.entry.js.map +0 -1
- package/dist/globuscomponents/p-74d432cd.entry.js +0 -2
- package/dist/globuscomponents/p-85954677.entry.js +0 -2
- package/dist/globuscomponents/p-85954677.entry.js.map +0 -1
- package/dist/globuscomponents/p-863cf07a.entry.js +0 -2
- package/dist/globuscomponents/p-863cf07a.entry.js.map +0 -1
- package/dist/globuscomponents/p-8f90b024.entry.js +0 -2
- package/dist/globuscomponents/p-9f1b85de.entry.js +0 -2
- package/dist/globuscomponents/p-9f1b85de.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-8f90b024.entry.js.map → p-1d2985a5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7d39e1bb.entry.js.map → p-2adda6a5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5e5e8adb.entry.js.map → p-3e8c8ead.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c319a1ac.entry.js.map → p-3fc3956d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ae1e9810.entry.js.map → p-40f11c62.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c72859a2.entry.js.map → p-427cfeeb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-98dbf27b.entry.js.map → p-4e97f7cd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-74d432cd.entry.js.map → p-5ea9e5cd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f75875e4.entry.js.map → p-67b452b7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9f6d25da.entry.js.map → p-aa4006c2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-74dc85da.entry.js.map → p-c6e2e53a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-934f454a.entry.js.map → p-cf24a49c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-52b8180e.entry.js.map → p-d1103820.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e52d8cdf.entry.js.map → p-d6fb070d.entry.js.map} +0 -0
|
@@ -2674,39 +2674,13 @@
|
|
|
2674
2674
|
margin-top: -0.416em;
|
|
2675
2675
|
}
|
|
2676
2676
|
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
font-style: normal;
|
|
2680
|
-
letter-spacing: var(--Font-Letter-spacing-T-md, 0rem);
|
|
2677
|
+
input{
|
|
2678
|
+
height: 100%;
|
|
2681
2679
|
}
|
|
2682
2680
|
|
|
2683
|
-
|
|
2681
|
+
.input{
|
|
2684
2682
|
display: flex;
|
|
2685
|
-
width:
|
|
2686
|
-
flex-direction: column;
|
|
2687
|
-
align-items: flex-start;
|
|
2688
|
-
gap: var(--spacing-2);
|
|
2689
|
-
}
|
|
2690
|
-
|
|
2691
|
-
div.md {
|
|
2692
|
-
display: flex;
|
|
2693
|
-
width: 24.3125rem;
|
|
2694
|
-
flex-direction: column;
|
|
2695
|
-
align-items: flex-start;
|
|
2696
|
-
gap: var(--spacing-2);
|
|
2697
|
-
}
|
|
2698
|
-
|
|
2699
|
-
.input-with-label {
|
|
2700
|
-
display: flex;
|
|
2701
|
-
flex-direction: column;
|
|
2702
|
-
align-items: flex-start;
|
|
2703
|
-
gap: var(--spacing-2);
|
|
2704
|
-
align-self: stretch;
|
|
2705
|
-
}
|
|
2706
|
-
|
|
2707
|
-
.input-wrapper {
|
|
2708
|
-
display: flex;
|
|
2709
|
-
justify-content: space-between;
|
|
2683
|
+
width: 100%;
|
|
2710
2684
|
align-items: center;
|
|
2711
2685
|
gap: var(--spacing-2);
|
|
2712
2686
|
align-self: stretch;
|
|
@@ -2715,291 +2689,12 @@ div.md {
|
|
|
2715
2689
|
background: var(--color-background-card, #FFFFFF);
|
|
2716
2690
|
}
|
|
2717
2691
|
|
|
2718
|
-
.sm
|
|
2719
|
-
height:
|
|
2720
|
-
padding:
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
.md .input-wrapper{
|
|
2724
|
-
height: 3rem;
|
|
2725
|
-
padding: 0.45rem var(--spacing-3, 0.75rem);
|
|
2726
|
-
}
|
|
2727
|
-
|
|
2728
|
-
.leading_text .input-wrapper.sm,
|
|
2729
|
-
.leading_text .input-wrapper.md {
|
|
2730
|
-
flex-direction: row;
|
|
2731
|
-
}
|
|
2732
|
-
|
|
2733
|
-
.count .input-wrapper.md,
|
|
2734
|
-
.count .input-wrapper.sm {
|
|
2735
|
-
padding: 0;
|
|
2736
|
-
flex-direction: row;
|
|
2737
|
-
}
|
|
2738
|
-
|
|
2739
|
-
.input-wrapper:focus-within,
|
|
2740
|
-
.leading_text:focus-within .text-input {
|
|
2741
|
-
border: 1.3px solid var(--color-border-selected,#075DB2);
|
|
2742
|
-
}
|
|
2743
|
-
|
|
2744
|
-
.content{
|
|
2745
|
-
display: flex;
|
|
2746
|
-
align-items: center;
|
|
2747
|
-
align-content: center;
|
|
2748
|
-
gap: 0.5rem var(--spacing-2);
|
|
2749
|
-
flex: 1 0 0;
|
|
2750
|
-
align-self: stretch;
|
|
2751
|
-
}
|
|
2752
|
-
|
|
2753
|
-
.password .content{
|
|
2754
|
-
padding: var(--spacing-2) var(--spacing-none) var(--spacing-2) var(--spacing-3);
|
|
2755
|
-
flex-wrap: wrap;
|
|
2756
|
-
}
|
|
2757
|
-
|
|
2758
|
-
.icon {
|
|
2759
|
-
position: relative;
|
|
2760
|
-
top: 3px;
|
|
2761
|
-
}
|
|
2762
|
-
|
|
2763
|
-
.leading_text{
|
|
2764
|
-
display: flex;
|
|
2765
|
-
}
|
|
2766
|
-
|
|
2767
|
-
.leading_text_wrapper{
|
|
2768
|
-
display: flex;
|
|
2769
|
-
width: fit-content;
|
|
2770
|
-
border-radius: var(--rounded-sm);
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
.add-on {
|
|
2774
|
-
display: flex;
|
|
2775
|
-
align-items: center;
|
|
2776
|
-
align-self: stretch;
|
|
2777
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
2778
|
-
border-radius: 0.5rem var(--rounded-none) var(--rounded-none) 0.5rem;
|
|
2779
|
-
border: 1px solid var(--color-border-input, #CDD5DF);
|
|
2780
|
-
border-right: none;
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
|
-
.dropdown {
|
|
2784
|
-
display: flex;
|
|
2785
|
-
align-items: center;
|
|
2786
|
-
gap: var(--spacing-1);
|
|
2787
|
-
align-self: stretch;
|
|
2788
|
-
margin-top: 0.1rem;
|
|
2789
|
-
}
|
|
2790
|
-
|
|
2791
|
-
select {
|
|
2792
|
-
border: none;
|
|
2793
|
-
background-color: var(--color-background-card, #FFFFFF);
|
|
2794
|
-
color: #374151; /* Text color */
|
|
2795
|
-
box-shadow: none; /* Remove default box shadow */
|
|
2796
|
-
outline: none;
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
select:focus {
|
|
2800
|
-
border:none; /* Maintain light border on focus */
|
|
2801
|
-
box-shadow: none; /* Ensure no additional shadow appears on focus */
|
|
2802
|
-
}
|
|
2803
|
-
|
|
2804
|
-
.text-input {
|
|
2805
|
-
display: flex;
|
|
2806
|
-
align-items: center;
|
|
2807
|
-
gap: var(--spacing-Positive-spacing-2, 0.5rem);
|
|
2808
|
-
flex: 1 0 0;
|
|
2809
|
-
align-self: stretch;
|
|
2810
|
-
}
|
|
2811
|
-
|
|
2812
|
-
.trailing_button .text-input {
|
|
2813
|
-
padding: var(--spacing-Positive-spacing-2, 0.5rem) var(--spacing-Positive-spacing-3, 0.75rem);
|
|
2814
|
-
}
|
|
2815
|
-
|
|
2816
|
-
.count .text-input {
|
|
2817
|
-
padding: var(--spacing-Positive-spacing-2, 0.5rem) 0rem var(--spacing-Positive-spacing-2, 0.5rem) var(--spacing-Positive-spacing-3, 0.75rem);
|
|
2818
|
-
border-radius: 0.5rem var(--Radius-rounded-none, 0rem) var(--Radius-rounded-none, 0rem) 0.5rem;
|
|
2819
|
-
border: 1px solid var(--color-boarder-input, #CDD5DF);
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
|
-
.leading_dropdown .text-input {
|
|
2823
|
-
padding: var(--spacing-Positive-spacing-2, 0.5rem) var(--spacing-Positive-spacing-3, 0.75rem) var(--spacing-Positive-spacing-2, 0.5rem) 0rem;
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
|
-
.leading_text .text-input {
|
|
2827
|
-
width: 14.4rem;
|
|
2828
|
-
padding: 0.625rem 0.875rem;
|
|
2829
|
-
border: 1px solid var(--gray-300, #D0D5DD);
|
|
2830
|
-
border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
.trailing_dropdown .dropdown {
|
|
2834
|
-
display: flex;
|
|
2835
|
-
padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) 0;
|
|
2836
|
-
justify-content: space-between;
|
|
2837
|
-
}
|
|
2838
|
-
|
|
2839
|
-
.count-action {
|
|
2840
|
-
display: flex;
|
|
2841
|
-
justify-content: space-between;
|
|
2842
|
-
padding-right: var(--spacing-1);
|
|
2843
|
-
align-items: center;
|
|
2844
|
-
gap: var(--spacing-none);
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
.decrease-btn {
|
|
2848
|
-
display: flex;
|
|
2849
|
-
width: 2.5rem;
|
|
2850
|
-
height: 2.5rem;
|
|
2851
|
-
justify-content: center;
|
|
2852
|
-
align-items: center;
|
|
2853
|
-
border-radius: var(--rounded-none);
|
|
2854
|
-
border-right: 1px solid var(--color-border-input, #CDD5DF);
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
.payment-method {
|
|
2858
|
-
display: flex;
|
|
2859
|
-
width: 2.125rem;
|
|
2860
|
-
height: var(--spacing-6);
|
|
2861
|
-
justify-content: center;
|
|
2862
|
-
align-items: center;
|
|
2863
|
-
border-radius: var(--rounded-xs);
|
|
2864
|
-
border: 1px solid var(--color-border-subtler, #E3E8EF);
|
|
2865
|
-
background: var(--color-background-card, #FFFFFF);
|
|
2866
|
-
}
|
|
2867
|
-
|
|
2868
|
-
.tags-box {
|
|
2869
|
-
display: flex;
|
|
2870
|
-
align-items: center;
|
|
2871
|
-
align-content: center;
|
|
2872
|
-
gap: 0.375rem;
|
|
2873
|
-
flex-wrap: wrap;
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
.tags input {
|
|
2877
|
-
width: 160px;
|
|
2878
|
-
padding-right: 8px;
|
|
2879
|
-
}
|
|
2880
|
-
|
|
2881
|
-
input {
|
|
2882
|
-
border: none;
|
|
2883
|
-
background-color: var(--color-background-card, #FFFFFF);
|
|
2884
|
-
color: var(--color-text, #4B5565);
|
|
2885
|
-
box-shadow: none; /* Remove default box shadow */
|
|
2886
|
-
outline: none;
|
|
2887
|
-
font-family: var(--Font-Family-Body, Sora);
|
|
2888
|
-
font-style: normal;
|
|
2889
|
-
letter-spacing: var(--Font-Letter-spacing-T-md, 0rem);
|
|
2890
|
-
width: 100%;
|
|
2891
|
-
}
|
|
2892
|
-
|
|
2893
|
-
.trailing-btn {
|
|
2894
|
-
display: flex;
|
|
2895
|
-
width: var(--spacing-Positive-spacing-8, 2.5rem);
|
|
2896
|
-
height: var(--spacing-Positive-spacing-8, 2.5rem);
|
|
2897
|
-
justify-content: center;
|
|
2898
|
-
align-items: center;
|
|
2899
|
-
}
|
|
2900
|
-
|
|
2901
|
-
.trailing_dropdown .help-icon {
|
|
2902
|
-
margin-left: -5px;
|
|
2903
|
-
}
|
|
2904
|
-
|
|
2905
|
-
.trailing_dropdown .help-icon svg {
|
|
2906
|
-
position: relative;
|
|
2907
|
-
left: 5%;
|
|
2908
|
-
top: 2px;
|
|
2909
|
-
}
|
|
2910
|
-
|
|
2911
|
-
.tags .help-icon svg {
|
|
2912
|
-
left: -52%;
|
|
2913
|
-
}
|
|
2914
|
-
|
|
2915
|
-
.help-icon{
|
|
2916
|
-
display: flex;
|
|
2917
|
-
align-items: center;
|
|
2918
|
-
}
|
|
2919
|
-
|
|
2920
|
-
.help-svg {
|
|
2921
|
-
margin-right: 0.4rem;
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
label{
|
|
2925
|
-
color: var(--color-text, #4B5565);
|
|
2926
|
-
}
|
|
2927
|
-
|
|
2928
|
-
.hint_text{
|
|
2929
|
-
color: var(--color-text-subtle, #697586);
|
|
2930
|
-
}
|
|
2931
|
-
|
|
2932
|
-
/* Destructive State Styles */
|
|
2933
|
-
.help_icon.destructive{
|
|
2934
|
-
stroke: var(--color-icon-danger, #B51726);
|
|
2935
|
-
}
|
|
2936
|
-
|
|
2937
|
-
.hint_text.destructive{
|
|
2938
|
-
color: var(--color-text-danger, #B51726);
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
.input-wrapper.destructive{
|
|
2942
|
-
border: 1px solid var(--color-border-danger, #B51726);
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
|
-
.leading_text.destructive .text-input {
|
|
2946
|
-
border: 1.5px solid var(--color-border-danger, #B51726);
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
/* Disabled Styles */
|
|
2950
|
-
.input-wrapper.disabled,
|
|
2951
|
-
.leading_text.disabled .text-input,
|
|
2952
|
-
.input-wrapper.default.disabled {
|
|
2953
|
-
border: 1px solid var(--color-border-disabled, #E3E8EF);
|
|
2954
|
-
background: var(--color-background-disabled, #F6F8FA);
|
|
2955
|
-
pointer-events: none;
|
|
2956
|
-
cursor: not-allowed;
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
.input-wrapper.disabled input,
|
|
2960
|
-
.leading_text.disabled input{
|
|
2961
|
-
background: var(--color-background-disabled, #F6F8FA);
|
|
2962
|
-
}
|
|
2963
|
-
|
|
2964
|
-
.hint_text.disabled{
|
|
2965
|
-
color: var(--color-text-subtle, #697586);
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
|
-
.icon_leading_svg.disabled path{
|
|
2969
|
-
stroke: var(--color-icon-disabled, #CDD5DF);
|
|
2970
|
-
}
|
|
2971
|
-
|
|
2972
|
-
.leading_dropdown.disabled select,
|
|
2973
|
-
.trailing_dropdown.disabled select{
|
|
2974
|
-
background: var(--color-background-disabled, #F6F8FA);
|
|
2975
|
-
color: var(--color-text-subtle, #697586);
|
|
2976
|
-
}
|
|
2977
|
-
|
|
2978
|
-
.password_dropdown{
|
|
2979
|
-
display: flex;
|
|
2980
|
-
padding-left: var(--spacing-3);
|
|
2981
|
-
align-items: center;
|
|
2982
|
-
gap: var(--spacing-1);
|
|
2983
|
-
align-self: stretch;
|
|
2984
|
-
}
|
|
2985
|
-
|
|
2986
|
-
option{
|
|
2987
|
-
display: flex;
|
|
2988
|
-
padding: var(--spacing-none);
|
|
2989
|
-
flex-direction: column;
|
|
2990
|
-
align-items: flex-start;
|
|
2991
|
-
align-items: stretch;
|
|
2992
|
-
border-radius: var(--rounded-sm);
|
|
2993
|
-
border: 1px solid var(--color-border-subtler, red);
|
|
2994
|
-
background: var(--color-surface, #FFFFFF);
|
|
2995
|
-
box-shadow: var(--shadow-sm);
|
|
2996
|
-
position: absolute;
|
|
2997
|
-
top: 4.5rem;
|
|
2998
|
-
z-index: 10;
|
|
2999
|
-
gap: var(--spacing-none);
|
|
2692
|
+
.input.sm{
|
|
2693
|
+
min-height: 2.5rem;
|
|
2694
|
+
padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--spacing-3);
|
|
3000
2695
|
}
|
|
3001
2696
|
|
|
3002
|
-
.
|
|
3003
|
-
|
|
3004
|
-
|
|
2697
|
+
.input.md{
|
|
2698
|
+
min-height: 3rem;
|
|
2699
|
+
padding: var(--spacing-4) 0.875rem var(--spacing-4) var(--spacing-3);
|
|
3005
2700
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StateEnum } from "../../models/reusableModels";
|
|
1
|
+
import { h } from "@stencil/core";
|
|
3
2
|
export class GbInputField {
|
|
4
3
|
constructor() {
|
|
5
4
|
this.size = undefined;
|
|
@@ -11,7 +10,7 @@ export class GbInputField {
|
|
|
11
10
|
this.showHintText = false;
|
|
12
11
|
this.hintText = '';
|
|
13
12
|
this.showPlaceholder = false;
|
|
14
|
-
this.
|
|
13
|
+
this.placeholder = '';
|
|
15
14
|
this.showHelpIcon = false;
|
|
16
15
|
this.showValidation = false;
|
|
17
16
|
this.iconSwap = undefined;
|
|
@@ -31,15 +30,10 @@ export class GbInputField {
|
|
|
31
30
|
this.isPasswordVisible = !this.isPasswordVisible;
|
|
32
31
|
}
|
|
33
32
|
render() {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
destructive: this.destructive,
|
|
39
|
-
disabled: this.state === 'disabled',
|
|
40
|
-
};
|
|
41
|
-
return (h("div", { key: '10f38408497a6aea7be9f2818eb13d49f0294f75', class: classes }, h("div", { key: '16c2cae02a4f42b78bc22437490e1f864efb51ea', class: "input-with-label" }, this.showLabel && (h("label", { key: '07e1139d058ec966ec27f23655df9250c54f7ecf', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: 'e816e007279bcad82852f441623130db09f6a1e4', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '9d83cace3043fec9f200b6ad08ef4990a7ee66de', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: 'ae6c72fb14196515de6e7131fa344ea83e8768f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'd510bc1ba34f8844adfce4969963184cf943162d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : this.destructive && this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (this.destructive &&
|
|
42
|
-
this.state === 'disabled' && (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'icon_leading' && (h("div", { key: '134402af35dcac4228f592fdbaf549c72d98ae2c', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '815d9209eee1a4afc0d3e4ed82d279a88d1d8f5c', class: "content" }, h("div", { key: '24ddc2dde4ee249699640bf5c7b2cbf84ec689da', class: "icon" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `icon_leading_svg ${this.state}` }, h("path", { d: "M5.83342 7.08334L8.2851 8.53286C9.71443 9.37794 10.2857 9.37794 11.7151 8.53286L14.1668 7.08334M7.58243 2.94713C9.1995 2.9065 10.8007 2.9065 12.4177 2.94713C15.0415 3.01305 16.3534 3.04602 17.296 3.99221C18.2386 4.9384 18.2658 6.21571 18.3203 8.77032C18.3378 9.59172 18.3378 10.4083 18.3203 11.2297C18.2658 13.7843 18.2386 15.0616 17.296 16.0078C16.3533 16.954 15.0415 16.9869 12.4177 17.0529C10.8007 17.0935 9.19951 17.0935 7.58244 17.0529C4.95869 16.9869 3.64682 16.954 2.70421 16.0078C1.76161 15.0616 1.73437 13.7843 1.67989 11.2297C1.66237 10.4083 1.66237 9.59171 1.67989 8.77031C1.73436 6.21569 1.7616 4.93839 2.70421 3.9922C3.64682 3.046 4.95869 3.01304 7.58243 2.94713Z", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("input", { key: 'e6ce0ae2341eb4c4bc2b38de4cd03533755d4a36', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '43620f29e80357303a9e8c9f082407f256404e2f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '0f18552e0174f72c48bc445e5e64c7674e42490a', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '937ddb867ab7ea920fe9d5a47d53af8d1c9c6a88', size: "sm", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/cancel-button.svg" })))), this.type === 'leading_dropdown' && (h("div", { key: '5e4d2d6d138e841debd5a7e3708ed5a087cb13da', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7745812e56bd27824897fee5c49acecb4ade330a', class: "dropdown" }, h("div", { key: 'e2c315dd23d5dcf7d9473d69e9f22310f735c469', class: "country-icon" }, h("svg", { key: '89d350e728f4f3525ff0dee033ae2b7449faf8fb', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'da63c41e00ff6952edd2e66b87a03a505ac24237', d: "M-0.000488281 12.0002C-0.000488281 17.1599 3.25601 21.5583 7.82562 23.2539V0.746674C3.25601 2.44214 -0.000488281 6.84071 -0.000488281 12.0002Z", fill: "#6DA544" }), h("path", { key: '0f5777b7a888f7133760d62349eaef7f9cefa314', d: "M23.9999 12.0002C23.9999 6.8407 20.7434 2.44214 16.1738 0.746674V23.2539C20.7434 21.5583 23.9999 17.1599 23.9999 12.0002Z", fill: "#6DA544" }))), h("select", { key: 'd30fb32d4b4037d6b2452cd2854fdd7062a70eea', class: "text-md-regular" }, h("option", { key: 'a953cf608eef2538a9fe32a1269e0dad4f6d0dce', value: "option 1", selected: true }, "+234"), h("slot", { key: '968b0382a7e573b4dad92c49fae31974e90ec356', name: "country-option" }))), h("div", { key: '1a7503dbb59fe5b999d578066747f17b42035db6', class: "text-input" }, h("input", { key: 'c91e68c3ad58e5ec63cec01995ecefa2abfc8cc7', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: 'c5b043c1aa4b3332f2da8cf937f935902d3b3e3a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'f8e9a579154011109f78e265dcd7c0dea69322b8', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_dropdown' && (h("div", { key: 'cedd8fe2b1d0ea94e9be1a4b7916288257475fc1', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6fe02b8b31c78ddd367c54eac65260b2dcaf474a', class: "content" }, h("div", { key: '89d069df8cbfbc94bec58318a9a42033626dc1cd', class: "text-input" }, h("p", { key: 'eea8348a7ad1a95f7e31eccd64ef4dd829e23ff3', class: "text-md-regular" }, "$"), h("input", { key: '2a5b7abae9668477396c2a1fd892071ae41180af', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '473460c0403359f48f9380fd76ddb4e277dbe36c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'bf4c1a66da4e9650a4cbe12a7d6a8444622d0239', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '1ff2a5fa458b585006643f71c656660988aab247', class: "dropdown" }, h("select", { key: '611b4fa329b1905662e10ccb0ab93e98f25dad9b', class: "text-md-regular" }, h("option", { key: 'b9b49d3373d7aba701ebfcc1ff3038565626f864', value: "option 1", selected: true }, "USD"), h("slot", { key: 'b2ef5d331510853ff1141f9b346b6c5bd0be7e91', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: 'dfccde3a7292a6cd8edf2140ae06807820320001', class: "leading_text_wrapper" }, h("div", { key: 'a45d04ff78e35152f04efd61b063ed9e0ae7d59a', class: "add-on" }, h("p", { key: 'd48c87c958948cb412109ae5c645e8a944fa5538', class: "text-md-regular" }, "http://")), h("div", { key: '53d7dc369ff9e3a3123a81ce413a09daee0ce861', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c176999d4acd94e9640211ff6ca681bd3594e83a', class: "text-input" }, h("input", { key: 'a3787e260a5df6d7b16b5ea4beae35fcb668c798', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: '94f3086781eb359aae3a45d46209cc1c57a01d6d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '1f0950c2545211e5b87c84e740269d3900b31e4b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'payment_input' && (h("div", { key: 'a042419202b23547cee114d7a809aad9bcc385aa', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'cf89f2c4666fe8c0f0f02f2304f1019f7c3cba43', class: "content" }, h("div", { key: 'e36641ec52d3a99067a5ea652553cf903f55a906', class: "payment-method" }, h("svg", { key: '341091e617c43796f0540b1d1ff60cd61f9532aa', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '25334f80b2001d44cc504b5d553c78eaa7584914', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'f7de982a96be34b26272ca7266c943f15054b3eb', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'dc38a8975707dd0ba6c84cb004bed55e0c85a9af', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" }))), h("input", { key: '9249b161b275d8f9ca03c145f4054814dfcafee6', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '6310b38048081b50ee7940d2b1ff79fe181df403', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'ca988b417b3e505616cb42ea7dd191d054eacfbf', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b900ec3851ba71c8a6b316d9043d41762d7692f9', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'tags' && (h("div", { key: '31f19ec5d03125056e15c657e10990f3d20ee09d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '158bc8ed04b7eb505df81ef376cf97ca2f07de31', class: "content" }, h("div", { key: 'f70c99728d5134eabd55015d220626d4947b7fc9', class: "tags-box" }, h("slot", { key: 'b67ff42e32ca0406f28ef02f2f0f5fccda25b83a', name: "tag-option" })), h("input", { key: '768b6aaf7196ee1d4d3feb8d0d735fc511a4f21f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '1435b38672ba4ee76faf2d79647366f6800e110c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '550bd6fe06b45c98df9ed93eecde6a295ee9545d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'f39bb5b4b029dee26cbb1256fbb8f3ca9b2892f3', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'fa8e0f790ef7bf2286da58c864b2bcec36c628c7', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6a99099bcfd9729ddcfbd26f1b9ea7fc6d894c8e', class: "text-input" }, h("input", { key: '3dce46e99076f3559c4abdf1d228bb172671eb45', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: '2f8fabb1d74da75a4c5b60f8f2b124bd6d736644', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '4d97578d3498b4186b1f215dbb033db3894b7b9c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'd2019d27c8c751843ce84a66d4f1f5dd93ac5320', class: "trailing-btn" }, h("gb-button", { key: 'd0fc2a47f5023db1b97e3f561c59369bc04a520c', size: "md", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/copy.svg" })))), this.type === 'password' && (h("div", { key: 'dda7c763e19d79450d36795504378b58567fee00', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '731e8b19e35a5d1342238aaf62b0a2089b7eaeb6', class: "content" }, h("div", { key: '35ae8ec65725332cdc897f5f827f5bed424042fc', class: "text-input" }, h("input", { key: '80df6d292274b5473630c49168e7b8d63c0b5396', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', type: this.isPasswordVisible ? 'text' : 'password', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: 'dd6a6cf1bf1e6a538f2ddc0e7777c6d83501b2fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'c54bb5d0b9c89be4ef51c2cab68ae84aa23898fe', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'bc27f0e552bf12955de526563917896c978d6d5b', class: "password_dropdown" }, h("gb-password-button", { key: '063fe91693a791c6c0e8bbae773892204f27cca4', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '33adcb3e5ded31cdbfdb1d7b5b13f2c66d0dde40', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c32dbfec23fbfda6847066d12a13edc0c90a4ca1', class: "content" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5024 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5024 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5024 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5024 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58257L13.7347 6.83336L13.7003 7.58257ZM13.7003 18.2507L13.7347 19L13.7003 18.2507ZM16.4435 15.7039L15.7002 15.6039L16.4435 15.7039ZM6.29973 7.58257L6.33417 8.33178L6.29973 7.58257ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2507L6.33417 17.5015L6.29973 18.2507ZM3.55652 15.7039L4.29981 15.6039L3.55652 15.7039ZM5.50001 7.49999C5.50001 7.9142 5.8358 8.24999 6.25001 8.24999C6.66422 8.24999 7.00001 7.9142 7.00001 7.49999H5.50001ZM13 7.49999C13 7.9142 13.3358 8.24999 13.75 8.24999C14.1642 8.24999 14.5 7.9142 14.5 7.49999H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8141 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2294C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.24999C11.3095 8.24999 12.4972 8.27805 13.6659 8.33178L13.7347 6.83336C12.5424 6.77855 11.3317 6.74999 10 6.74999V8.24999ZM6.33417 8.33178C7.50287 8.27805 8.69057 8.24999 10 8.24999V6.74999C8.66829 6.74999 7.45761 6.77855 6.26528 6.83336L6.33417 8.33178ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2294L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8141 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29065 15.5122 6.91507 13.7347 6.83336L13.6659 8.33178C14.6943 8.37906 15.5595 9.18436 15.7002 10.2294L17.1868 10.0293ZM13.7347 19C15.5122 18.9182 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83336C4.48781 6.91507 3.04732 8.29065 2.81323 10.0293L4.29981 10.2294C4.44052 9.18436 5.30576 8.37906 6.33417 8.33178L6.26528 6.83336ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9182 6.26528 19L6.33417 17.5015ZM7.00001 7.49999V5.41666H5.50001V7.49999H7.00001ZM13 5.41666V7.49999H14.5V5.41666H13ZM10 2.41666C11.6569 2.41666 13 3.7598 13 5.41666H14.5C14.5 2.93138 12.4853 0.916656 10 0.916656V2.41666ZM7.00001 5.41666C7.00001 3.7598 8.34316 2.41666 10 2.41666V0.916656C7.51473 0.916656 5.50001 2.93138 5.50001 5.41666H7.00001Z", fill: "#4B5565" }))), h("input", { key: 'd529c8176fd157a3e91d782fd0b690092ed481ad', class: "text-md-regular", type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '10e3cc84b6b21194cef141a77a7aba21942202de', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '026c44c9f576b40f35d50e43fdd1bbf37ea595f0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("div", { key: '8c2c1c90fed2591affb04b0ead6471e977759c06', class: "password_dropdown" }, h("gb-password-button", { key: '8449424820c049f67096fca425f9e746ae7b2dfb', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'count' && (h("div", { key: '8bde1c8bfafc275b66c81300b4ab592e2c47c580', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'cd6d5cd2f22f1faffd569fc22f2d9a6844990908', class: "text-input" }, h("input", { key: '9cc05213278a46e26d0dbf729327e71cff5c9b80', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '882bfcad915d205671619ad4efb143eaf6ec33c6', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '09fbce30bee48542ee7d075662798b272a683e00', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '7f8d489b2e47e06db159d65997ba821ad7fdfcb0', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: 'bd958959817ece586aa4fc3dcecde63ecaacc56b', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: 'f24483c5fc50e7d749322fd61a0b68792ab52fba', class: "increase-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/plus_sign.svg" }))))), this.showHintText && h("p", { key: 'b3cd8e31640f1daa4912da7c0f3b7e012b341f5c', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
|
|
33
|
+
return (h("div", { key: '5efa05e2e98e30b74236c412c333b0b13797ae96', class: `input_container` }, h("div", { key: 'f7db7664a9c3f81438d71e3fe309581e64d0785c', class: `input_with_label` }, this.showLabel && (h("p", { key: '5ca865d38dba106c2296186702228edb1b1fe924', class: "text-sm-medium" }, this.label)), h("div", { key: 'a41498bd72627ec9e9095d94e4a334240cfef663', class: `input ${this.size}` }, this.type === 'default' && [
|
|
34
|
+
h("input", { key: '3ae2e2a35e7cdecb9b833fe28b7910161c0d74df', type: "text", placeholder: this.placeholder ? this.placeholder : '' }),
|
|
35
|
+
h("div", { key: '108a4760e3fee45dfbc77258e7d311cba502b868', class: `help_circle` })
|
|
36
|
+
])), this.showHintText && (h("p", { key: '015a785d505058c62a6c97710e5afe092a6b97a3', class: "text-sm-regular" }, this.hintText))));
|
|
43
37
|
}
|
|
44
38
|
static get is() { return "gb-input-field"; }
|
|
45
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -226,7 +220,7 @@ export class GbInputField {
|
|
|
226
220
|
"reflect": false,
|
|
227
221
|
"defaultValue": "false"
|
|
228
222
|
},
|
|
229
|
-
"
|
|
223
|
+
"placeholder": {
|
|
230
224
|
"type": "string",
|
|
231
225
|
"mutable": false,
|
|
232
226
|
"complexType": {
|
|
@@ -240,7 +234,7 @@ export class GbInputField {
|
|
|
240
234
|
"tags": [],
|
|
241
235
|
"text": ""
|
|
242
236
|
},
|
|
243
|
-
"attribute": "placeholder
|
|
237
|
+
"attribute": "placeholder",
|
|
244
238
|
"reflect": false,
|
|
245
239
|
"defaultValue": "''"
|
|
246
240
|
},
|