globuswebcomponents 0.3.8 → 0.4.0
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-label-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
- package/dist/cjs/{gb-avatar_28.cjs.entry.js → gb-avatar_32.cjs.entry.js} +208 -39
- package/dist/cjs/gb-avatar_32.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/gb-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +2 -2
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +9 -9
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-input-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/gb-megainput-field.cjs.entry.js +21 -2
- package/dist/cjs/gb-megainput-field.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-notification-panel.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-number-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +34 -0
- package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
- package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +2 -2
- package/dist/cjs/gb-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +11 -8
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +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-input-field.cjs.entry.js → gb-token-field.cjs.entry.js} +12 -26
- package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +32 -0
- package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +9 -5
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +33 -0
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +28 -0
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/cancel-button.svg +3 -0
- package/dist/collection/assets/copy.svg +3 -0
- package/dist/collection/assets/minus_sign.svg +3 -0
- package/dist/collection/assets/plus_sign.svg +3 -0
- package/dist/collection/collection-manifest.json +8 -2
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +52 -1
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js +65 -3
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js.map +1 -1
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2149 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js +223 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js.map +1 -0
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js +65 -0
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js.map +1 -0
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.tsx +43 -0
- package/dist/collection/components/gb-avatar/gb-avatar.js +1 -1
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js +1 -1
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js +1 -1
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +1 -1
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +1 -1
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js +1 -1
- package/dist/collection/components/gb-badge-close/gb-badge-close.js +1 -1
- package/dist/collection/components/gb-badges/gb-badges.js +1 -1
- package/dist/collection/components/gb-btn/gb-btn.js +1 -1
- package/dist/collection/components/gb-button/gb-button.js +1 -1
- package/dist/collection/components/gb-button/readme.md +44 -44
- package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.css +1 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +1 -1
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +1 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +5 -1
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +21 -2
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +2 -2
- package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.css +243 -26
- package/dist/collection/components/gb-input-field/gb-input-field.js +159 -32
- 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.css +82 -38
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +42 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js.map +1 -1
- package/dist/collection/components/gb-notification-content/gb-notification-content.css +1 -1
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-panel/gb-notification-panel.css +1 -1
- package/dist/collection/components/gb-notification-panel/gb-notification-panel.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.css +2154 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js +30 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -0
- 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.css +2149 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +173 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.js.map +1 -0
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +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.js +3 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js.map +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +5 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +1 -1
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
- package/dist/collection/components/gb-sliders/slider.css +1 -1
- package/dist/collection/components/gb-sliders/slider.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-checkbox/gb-tag-checkbox.css +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-tagcount → gb-tag-count}/gb-tag-count.css +1 -1
- package/dist/collection/components/{gb-tagcount → gb-tag-count}/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js.map +1 -0
- package/dist/collection/components/gb-tags/gb-tags.css +1 -1
- package/dist/collection/components/gb-tags/gb-tags.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +97 -9
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +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.css +2149 -0
- package/dist/collection/components/gb-token-field/gb-token-field.js +141 -0
- package/dist/collection/components/gb-token-field/gb-token-field.js.map +1 -0
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2174 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +145 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js.map +1 -0
- package/dist/collection/global/typo.css +1 -1
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +7 -7
- package/dist/components/gb-avatar-group.js +6 -6
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +4 -4
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge-close.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-btn.js +1 -112
- package/dist/components/gb-btn.js.map +1 -1
- package/dist/components/gb-button-close.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-carousel-arrow.js +1 -1
- package/dist/components/gb-checkbox-base.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +6 -6
- package/dist/components/gb-checkbox-group.js +1 -1
- 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 +14 -14
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +5 -5
- package/dist/components/gb-help-dropdown.js +5 -5
- package/dist/components/gb-help-dropdown.js.map +1 -1
- package/dist/components/gb-horizontal-tabs.js +11 -9
- package/dist/components/gb-horizontal-tabs.js.map +1 -1
- package/dist/components/gb-input-dropdown-menu-item.js +7 -7
- package/dist/components/gb-input-dropdown.js +1 -87
- package/dist/components/gb-input-dropdown.js.map +1 -1
- package/dist/components/gb-input-field.js +49 -23
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-megainput-field.js +1 -33
- package/dist/components/gb-megainput-field.js.map +1 -1
- package/dist/components/gb-notification-content.js +2 -2
- package/dist/components/gb-notification-content.js.map +1 -1
- package/dist/components/gb-notification-panel.js +2 -2
- package/dist/components/gb-notification-panel.js.map +1 -1
- 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.d.ts +11 -0
- package/dist/components/gb-password-button.js +8 -0
- package/dist/components/gb-password-button.js.map +1 -0
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-rich-text.d.ts +11 -0
- package/dist/components/gb-rich-text.js +94 -0
- package/dist/components/gb-rich-text.js.map +1 -0
- package/dist/components/gb-scrollbar.js +2 -2
- package/dist/components/gb-scrollbar.js.map +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +13 -9
- package/dist/components/gb-sidebar.js.map +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +4 -4
- package/dist/components/gb-slider.js.map +1 -1
- 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 +8 -8
- package/dist/components/gb-tag.js.map +1 -1
- package/dist/components/gb-textarea-input-field.js +17 -9
- package/dist/components/gb-textarea-input-field.js.map +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +4 -4
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.d.ts +11 -0
- package/dist/components/gb-token-field.js +56 -0
- package/dist/components/gb-token-field.js.map +1 -0
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.d.ts +11 -0
- package/dist/components/gb-verification-code-field.js +60 -0
- package/dist/components/gb-verification-code-field.js.map +1 -0
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -33
- package/dist/components/gb-wysiwyg-editor-icon.js.map +1 -1
- package/dist/components/gb-wysiwyg-toolbar.d.ts +11 -0
- package/dist/components/gb-wysiwyg-toolbar.js +8 -0
- package/dist/components/gb-wysiwyg-toolbar.js.map +1 -0
- package/dist/components/gb-wysiwyg-tooltip.d.ts +11 -0
- package/dist/components/gb-wysiwyg-tooltip.js +52 -0
- package/dist/components/gb-wysiwyg-tooltip.js.map +1 -0
- package/dist/components/{p-12322f66.js → p-01a43936.js} +5 -5
- package/dist/components/{p-12322f66.js.map → p-01a43936.js.map} +1 -1
- package/dist/components/p-0b7ddf83.js +91 -0
- package/dist/components/p-0b7ddf83.js.map +1 -0
- package/dist/components/{p-3d701766.js → p-33cee611.js} +2 -2
- package/dist/components/{p-3d701766.js.map → p-33cee611.js.map} +1 -1
- package/dist/components/{p-5ca81eb7.js → p-3bc9a6de.js} +6 -6
- package/dist/components/{p-5ca81eb7.js.map → p-3bc9a6de.js.map} +1 -1
- package/dist/components/{p-6bc16ba5.js → p-3ca89df3.js} +2 -2
- package/dist/components/{p-6bc16ba5.js.map → p-3ca89df3.js.map} +1 -1
- package/dist/components/{p-837365c7.js → p-4efe7d37.js} +4 -4
- package/dist/components/{p-837365c7.js.map → p-4efe7d37.js.map} +1 -1
- package/dist/components/{p-ad0c1ea8.js → p-5673e871.js} +3 -3
- package/dist/components/{p-ad0c1ea8.js.map → p-5673e871.js.map} +1 -1
- package/dist/components/{p-f8571b98.js → p-5678b018.js} +5 -5
- package/dist/components/{p-f8571b98.js.map → p-5678b018.js.map} +1 -1
- package/dist/components/{p-21fecbde.js → p-5fbe4056.js} +2 -2
- package/dist/components/{p-21fecbde.js.map → p-5fbe4056.js.map} +1 -1
- package/dist/components/{p-51e2668d.js → p-60a9a3e4.js} +3 -3
- package/dist/components/{p-51e2668d.js.map → p-60a9a3e4.js.map} +1 -1
- package/dist/{cjs/gb-collapse-button.cjs.entry.js → components/p-65e3a60b.js} +38 -36
- package/dist/components/p-65e3a60b.js.map +1 -0
- package/dist/components/{p-aab9eb10.js → p-6a23f252.js} +3 -3
- package/dist/components/{p-aab9eb10.js.map → p-6a23f252.js.map} +1 -1
- package/dist/components/{p-1827cb1a.js → p-763387fe.js} +5 -5
- package/dist/components/{p-1827cb1a.js.map → p-763387fe.js.map} +1 -1
- package/dist/components/{p-c4acf10a.js → p-7788ed42.js} +6 -6
- package/dist/components/{p-c4acf10a.js.map → p-7788ed42.js.map} +1 -1
- package/dist/components/p-824a17f3.js +45 -0
- package/dist/components/p-824a17f3.js.map +1 -0
- package/dist/components/{p-cdd31473.js → p-854a5dd6.js} +4 -4
- package/dist/components/{p-cdd31473.js.map → p-854a5dd6.js.map} +1 -1
- package/dist/components/{p-5f271172.js → p-8ae04b5e.js} +9 -9
- package/dist/components/{p-5f271172.js.map → p-8ae04b5e.js.map} +1 -1
- package/dist/components/p-95d013c6.js +116 -0
- package/dist/components/p-95d013c6.js.map +1 -0
- package/dist/components/{p-30b12163.js → p-a5850f8c.js} +2 -2
- package/dist/components/{p-30b12163.js.map → p-a5850f8c.js.map} +1 -1
- package/dist/components/{p-fdf0b922.js → p-b0d34887.js} +2 -2
- package/dist/components/{p-fdf0b922.js.map → p-b0d34887.js.map} +1 -1
- package/dist/components/p-b1668ded.js +87 -0
- package/dist/components/p-b1668ded.js.map +1 -0
- package/dist/components/{p-7c00ed41.js → p-bcb5102e.js} +10 -8
- package/dist/components/p-bcb5102e.js.map +1 -0
- package/dist/components/{p-b641c4fb.js → p-bf0baa3e.js} +3 -3
- package/dist/components/{p-b641c4fb.js.map → p-bf0baa3e.js.map} +1 -1
- package/dist/components/p-c9d9fcb1.js +58 -0
- package/dist/components/p-c9d9fcb1.js.map +1 -0
- package/dist/components/{p-8a964b82.js → p-cd0bf808.js} +2 -2
- package/dist/components/{p-8a964b82.js.map → p-cd0bf808.js.map} +1 -1
- package/dist/components/{p-883f5915.js → p-dc99caac.js} +5 -5
- package/dist/components/{p-883f5915.js.map → p-dc99caac.js.map} +1 -1
- package/dist/components/{p-925f37a4.js → p-e42cad12.js} +4 -4
- package/dist/components/{p-925f37a4.js.map → p-e42cad12.js.map} +1 -1
- package/dist/components/{p-337ee2c8.js → p-e7e9af72.js} +2 -2
- package/dist/components/{p-337ee2c8.js.map → p-e7e9af72.js.map} +1 -1
- package/dist/components/{p-9a07bbad.js → p-ef61b191.js} +2 -2
- package/dist/components/{p-9a07bbad.js.map → p-ef61b191.js.map} +1 -1
- package/dist/components/{p-578443b7.js → p-f6343b5c.js} +3 -3
- package/dist/components/p-f6343b5c.js.map +1 -0
- package/dist/components/{p-63fbf5d6.js → p-fc8afe63.js} +2 -2
- package/dist/components/{p-63fbf5d6.js.map → p-fc8afe63.js.map} +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
- package/dist/esm/{gb-avatar_28.entry.js → gb-avatar_32.entry.js} +205 -40
- package/dist/esm/gb-avatar_32.entry.js.map +1 -0
- package/dist/esm/gb-checkbox-group.entry.js +1 -1
- package/dist/esm/gb-checkbox.entry.js +2 -2
- package/dist/esm/gb-checkbox.entry.js.map +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +2 -2
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +9 -9
- package/dist/esm/gb-help-dropdown.entry.js +2 -2
- package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-input-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/gb-megainput-field.entry.js +22 -3
- package/dist/esm/gb-megainput-field.entry.js.map +1 -1
- package/dist/esm/gb-notification-content.entry.js +2 -2
- package/dist/esm/gb-notification-content.entry.js.map +1 -1
- package/dist/esm/gb-notification-panel.entry.js +2 -2
- package/dist/esm/gb-notification-panel.entry.js.map +1 -1
- package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
- package/dist/esm/gb-pagination-number-base.entry.js +1 -1
- package/dist/esm/gb-progress-bar.entry.js +1 -1
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +30 -0
- package/dist/esm/gb-rich-text.entry.js.map +1 -0
- package/dist/esm/gb-scrollbar.entry.js +2 -2
- package/dist/esm/gb-scrollbar.entry.js.map +1 -1
- package/dist/esm/gb-slider-control-handle.entry.js +2 -2
- package/dist/esm/gb-slider-control-handle.entry.js.map +1 -1
- package/dist/esm/gb-slider.entry.js +2 -2
- package/dist/esm/gb-slider.entry.js.map +1 -1
- package/dist/esm/gb-textarea-input-field.entry.js +11 -8
- package/dist/esm/gb-textarea-input-field.entry.js.map +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-input-field.entry.js → gb-token-field.entry.js} +13 -27
- package/dist/esm/gb-token-field.entry.js.map +1 -0
- package/dist/esm/gb-verification-code-field.entry.js +28 -0
- package/dist/esm/gb-verification-code-field.entry.js.map +1 -0
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +9 -5
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
- package/dist/esm/{gb-collapse-button.entry.js → gb-wysiwyg-toolbar.entry.js} +18 -29
- package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -0
- package/dist/esm/gb-wysiwyg-tooltip.entry.js +24 -0
- package/dist/esm/gb-wysiwyg-tooltip.entry.js.map +1 -0
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/globuscomponents/assets/cancel-button.svg +3 -0
- package/dist/globuscomponents/assets/copy.svg +3 -0
- package/dist/globuscomponents/assets/minus_sign.svg +3 -0
- package/dist/globuscomponents/assets/plus_sign.svg +3 -0
- package/dist/globuscomponents/global/typo.css +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-3ea96652.entry.js → p-01b163c6.entry.js} +2 -2
- package/dist/globuscomponents/p-02d7e7ad.entry.js +2 -0
- package/dist/globuscomponents/{p-35adb7dc.entry.js → p-04ca94bb.entry.js} +2 -2
- package/dist/globuscomponents/p-04ca94bb.entry.js.map +1 -0
- package/dist/globuscomponents/{p-bd5d5134.entry.js → p-04d04d5a.entry.js} +2 -2
- package/dist/globuscomponents/{p-fd2fe69d.entry.js → p-0eb9a7fa.entry.js} +2 -2
- package/dist/globuscomponents/p-0eb9a7fa.entry.js.map +1 -0
- package/dist/globuscomponents/p-0ff9fb66.entry.js +2 -0
- package/dist/globuscomponents/p-0ff9fb66.entry.js.map +1 -0
- package/dist/globuscomponents/p-173cf34c.entry.js +2 -0
- package/dist/globuscomponents/p-173cf34c.entry.js.map +1 -0
- package/dist/globuscomponents/{p-d5d413ce.entry.js → p-18daffd5.entry.js} +2 -2
- package/dist/globuscomponents/{p-9e99ab9c.entry.js → p-32b0b977.entry.js} +2 -2
- package/dist/globuscomponents/{p-9e99ab9c.entry.js.map → p-32b0b977.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-50462ff8.entry.js → p-342531d5.entry.js} +2 -2
- package/dist/globuscomponents/{p-7a831b7e.entry.js → p-3573409d.entry.js} +2 -2
- package/dist/globuscomponents/p-3573409d.entry.js.map +1 -0
- package/dist/globuscomponents/p-40a8904d.entry.js +2 -0
- package/dist/globuscomponents/{p-9e4b037a.entry.js.map → p-40a8904d.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-c61a9239.entry.js → p-4f6eebab.entry.js} +2 -2
- package/dist/globuscomponents/p-4f6eebab.entry.js.map +1 -0
- package/dist/globuscomponents/{p-db1ff54c.entry.js → p-5479adcd.entry.js} +2 -2
- package/dist/globuscomponents/{p-7226b570.entry.js → p-54de529a.entry.js} +2 -2
- package/dist/globuscomponents/{p-7226b570.entry.js.map → p-54de529a.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-9d48138c.entry.js → p-626cb855.entry.js} +2 -2
- package/dist/globuscomponents/{p-71499239.entry.js → p-6a3a7691.entry.js} +2 -2
- package/dist/globuscomponents/{p-5a2196b5.entry.js → p-6be1f290.entry.js} +2 -2
- package/dist/globuscomponents/{p-5a2196b5.entry.js.map → p-6be1f290.entry.js.map} +1 -1
- package/dist/globuscomponents/p-91d5bce7.entry.js +2 -0
- package/dist/globuscomponents/{p-fc232e79.entry.js.map → p-91d5bce7.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-b8fb116a.entry.js → p-922821b6.entry.js} +2 -2
- package/dist/globuscomponents/{p-58e27fb1.entry.js → p-a947e6f1.entry.js} +2 -2
- package/dist/globuscomponents/{p-03237e7b.entry.js → p-ac73163c.entry.js} +2 -2
- package/dist/globuscomponents/{p-d120830e.entry.js → p-bc401188.entry.js} +2 -2
- package/dist/globuscomponents/{p-9ce274b1.entry.js → p-c5f36e24.entry.js} +2 -2
- package/dist/globuscomponents/{p-9ce274b1.entry.js.map → p-c5f36e24.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-21430c20.entry.js → p-cd91a716.entry.js} +2 -2
- package/dist/globuscomponents/p-cd91a716.entry.js.map +1 -0
- package/dist/globuscomponents/{p-9e4b037a.entry.js → p-d54be15f.entry.js} +2 -2
- package/dist/globuscomponents/p-d54be15f.entry.js.map +1 -0
- package/dist/globuscomponents/p-da71e4b5.entry.js +2 -0
- package/dist/globuscomponents/p-da71e4b5.entry.js.map +1 -0
- package/dist/globuscomponents/{p-168d0d14.entry.js → p-e8c4960e.entry.js} +2 -2
- package/dist/globuscomponents/{p-168d0d14.entry.js.map → p-e8c4960e.entry.js.map} +1 -1
- package/dist/globuscomponents/p-f9619e08.entry.js +2 -0
- package/dist/globuscomponents/p-f9619e08.entry.js.map +1 -0
- package/dist/globuscomponents/readme.md +44 -44
- package/dist/types/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.d.ts +3 -1
- package/dist/types/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.d.ts +14 -0
- package/dist/types/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.d.ts +5 -0
- package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +3 -1
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +13 -6
- package/dist/types/components/gb-megainput-field-base/gb-megainput-field.d.ts +4 -0
- package/dist/types/components/gb-password-button/gb-password-button.d.ts +5 -0
- package/dist/types/components/gb-rich-text/gb-rich-text.d.ts +11 -0
- package/dist/types/components/gb-textarea-input-field/gb-textarea-input-field.d.ts +7 -2
- package/dist/types/components/gb-token-field/gb-token-field.d.ts +10 -0
- package/dist/types/components/gb-verification-code-field/gb-verification-code-field.d.ts +10 -0
- package/dist/types/components.d.ts +203 -11
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_28.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-collapse-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-input-field.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-sidebar.cjs.entry.js +0 -80
- package/dist/cjs/gb-sidebar.cjs.entry.js.map +0 -1
- package/dist/collection/components/gb-tagcount/gb-tag-count.js.map +0 -1
- package/dist/components/p-578443b7.js.map +0 -1
- package/dist/components/p-7c00ed41.js.map +0 -1
- package/dist/esm/gb-avatar_28.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button.entry.js.map +0 -1
- package/dist/esm/gb-input-field.entry.js.map +0 -1
- package/dist/esm/gb-sidebar.entry.js +0 -76
- package/dist/esm/gb-sidebar.entry.js.map +0 -1
- package/dist/globuscomponents/p-21430c20.entry.js.map +0 -1
- package/dist/globuscomponents/p-30ab7cd5.entry.js +0 -2
- package/dist/globuscomponents/p-35adb7dc.entry.js.map +0 -1
- package/dist/globuscomponents/p-7a831b7e.entry.js.map +0 -1
- package/dist/globuscomponents/p-83c2f6ea.entry.js +0 -2
- package/dist/globuscomponents/p-83c2f6ea.entry.js.map +0 -1
- package/dist/globuscomponents/p-a6522c5c.entry.js +0 -2
- package/dist/globuscomponents/p-a6522c5c.entry.js.map +0 -1
- package/dist/globuscomponents/p-c61a9239.entry.js.map +0 -1
- package/dist/globuscomponents/p-f2556695.entry.js +0 -2
- package/dist/globuscomponents/p-f2556695.entry.js.map +0 -1
- package/dist/globuscomponents/p-fc232e79.entry.js +0 -2
- package/dist/globuscomponents/p-fd2fe69d.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-3ea96652.entry.js.map → p-01b163c6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-30ab7cd5.entry.js.map → p-02d7e7ad.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-bd5d5134.entry.js.map → p-04d04d5a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d5d413ce.entry.js.map → p-18daffd5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-50462ff8.entry.js.map → p-342531d5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-db1ff54c.entry.js.map → p-5479adcd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9d48138c.entry.js.map → p-626cb855.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-71499239.entry.js.map → p-6a3a7691.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b8fb116a.entry.js.map → p-922821b6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-58e27fb1.entry.js.map → p-a947e6f1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-03237e7b.entry.js.map → p-ac73163c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d120830e.entry.js.map → p-bc401188.entry.js.map} +0 -0
- /package/dist/types/components/{gb-tagcount → gb-tag-count}/gb-tag-count.d.ts +0 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class GbWysiwygToolbar {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.breakpoint = undefined;
|
|
5
|
+
this.fontSelector = undefined;
|
|
6
|
+
this.bold = undefined;
|
|
7
|
+
this.italic = undefined;
|
|
8
|
+
this.h1 = undefined;
|
|
9
|
+
this.h2 = undefined;
|
|
10
|
+
this.quote = undefined;
|
|
11
|
+
this.link = undefined;
|
|
12
|
+
this.image = undefined;
|
|
13
|
+
this.bulletList = undefined;
|
|
14
|
+
this.numberList = undefined;
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("div", { key: '1e4d1718c8bec9e9e262197801fc427b2634c462', class: this.breakpoint }, this.fontSelector && (h("gb-input-dropdown", { key: '57ae7fa538c7ce67e1d89848ba2226e8b5a29e88', size: "sm" })), h("div", { key: 'd992ae1263aa002fa15a7d0cbb71807a30d5c7a1', class: "icons" }, this.bold && (h("gb-wysiwyg-editor-icon", { key: '4e19915bea8577b53a9cc252694bcbf62fc0411b', type: "bold" })), this.italic && (h("gb-wysiwyg-editor-icon", { key: '2314b5c48980359e5784465ca4bd28697b4b15e9', type: "italic" })), this.h1 && (h("gb-wysiwyg-editor-icon", { key: 'fd8a77b0e7cc2845a820f5864b9635e1dc4a9f46', type: "H1" })), this.h2 && (h("gb-wysiwyg-editor-icon", { key: '6567ac6e51cde80e6135b9df11b736de57fba064', type: "H2" })), this.quote && (h("gb-wysiwyg-editor-icon", { key: '8d118bb99b241eb8932884ef9dcd6f315dc38791', type: "quote" })), this.link && (h("gb-wysiwyg-editor-icon", { key: 'fde7745f69aeb5795d96c1abd38f0df0c193595c', type: "link" })), this.image && (h("gb-wysiwyg-editor-icon", { key: '68bf3d2c45b88527640e405a1fffe3e3bcf123b8', type: "photo" })), this.bulletList && (h("gb-wysiwyg-editor-icon", { key: 'db65182902f71d8abda0634396d82f5849508a82', type: "list_bullet" })), this.numberList && (h("gb-wysiwyg-editor-icon", { key: '3d2570ac160c361c2a36b1aa696b80716a935d3a', type: "list_numbers" })))));
|
|
18
|
+
}
|
|
19
|
+
static get is() { return "gb-wysiwyg-toolbar"; }
|
|
20
|
+
static get encapsulation() { return "shadow"; }
|
|
21
|
+
static get originalStyleUrls() {
|
|
22
|
+
return {
|
|
23
|
+
"$": ["gb-WYSIWYG-toolbar.css"]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
static get styleUrls() {
|
|
27
|
+
return {
|
|
28
|
+
"$": ["gb-WYSIWYG-toolbar.css"]
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
static get properties() {
|
|
32
|
+
return {
|
|
33
|
+
"breakpoint": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"mutable": false,
|
|
36
|
+
"complexType": {
|
|
37
|
+
"original": "'desktop' | 'mobile'",
|
|
38
|
+
"resolved": "\"desktop\" | \"mobile\"",
|
|
39
|
+
"references": {}
|
|
40
|
+
},
|
|
41
|
+
"required": false,
|
|
42
|
+
"optional": false,
|
|
43
|
+
"docs": {
|
|
44
|
+
"tags": [],
|
|
45
|
+
"text": ""
|
|
46
|
+
},
|
|
47
|
+
"attribute": "breakpoint",
|
|
48
|
+
"reflect": false
|
|
49
|
+
},
|
|
50
|
+
"fontSelector": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "boolean",
|
|
55
|
+
"resolved": "boolean",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": ""
|
|
63
|
+
},
|
|
64
|
+
"attribute": "font-selector",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
67
|
+
"bold": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "boolean",
|
|
72
|
+
"resolved": "boolean",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": false,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": ""
|
|
80
|
+
},
|
|
81
|
+
"attribute": "bold",
|
|
82
|
+
"reflect": false
|
|
83
|
+
},
|
|
84
|
+
"italic": {
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"mutable": false,
|
|
87
|
+
"complexType": {
|
|
88
|
+
"original": "boolean",
|
|
89
|
+
"resolved": "boolean",
|
|
90
|
+
"references": {}
|
|
91
|
+
},
|
|
92
|
+
"required": false,
|
|
93
|
+
"optional": false,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": ""
|
|
97
|
+
},
|
|
98
|
+
"attribute": "italic",
|
|
99
|
+
"reflect": false
|
|
100
|
+
},
|
|
101
|
+
"h1": {
|
|
102
|
+
"type": "boolean",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "boolean",
|
|
106
|
+
"resolved": "boolean",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": ""
|
|
114
|
+
},
|
|
115
|
+
"attribute": "h-1",
|
|
116
|
+
"reflect": false
|
|
117
|
+
},
|
|
118
|
+
"h2": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"mutable": false,
|
|
121
|
+
"complexType": {
|
|
122
|
+
"original": "boolean",
|
|
123
|
+
"resolved": "boolean",
|
|
124
|
+
"references": {}
|
|
125
|
+
},
|
|
126
|
+
"required": false,
|
|
127
|
+
"optional": false,
|
|
128
|
+
"docs": {
|
|
129
|
+
"tags": [],
|
|
130
|
+
"text": ""
|
|
131
|
+
},
|
|
132
|
+
"attribute": "h-2",
|
|
133
|
+
"reflect": false
|
|
134
|
+
},
|
|
135
|
+
"quote": {
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"mutable": false,
|
|
138
|
+
"complexType": {
|
|
139
|
+
"original": "boolean",
|
|
140
|
+
"resolved": "boolean",
|
|
141
|
+
"references": {}
|
|
142
|
+
},
|
|
143
|
+
"required": false,
|
|
144
|
+
"optional": false,
|
|
145
|
+
"docs": {
|
|
146
|
+
"tags": [],
|
|
147
|
+
"text": ""
|
|
148
|
+
},
|
|
149
|
+
"attribute": "quote",
|
|
150
|
+
"reflect": false
|
|
151
|
+
},
|
|
152
|
+
"link": {
|
|
153
|
+
"type": "boolean",
|
|
154
|
+
"mutable": false,
|
|
155
|
+
"complexType": {
|
|
156
|
+
"original": "boolean",
|
|
157
|
+
"resolved": "boolean",
|
|
158
|
+
"references": {}
|
|
159
|
+
},
|
|
160
|
+
"required": false,
|
|
161
|
+
"optional": false,
|
|
162
|
+
"docs": {
|
|
163
|
+
"tags": [],
|
|
164
|
+
"text": ""
|
|
165
|
+
},
|
|
166
|
+
"attribute": "link",
|
|
167
|
+
"reflect": false
|
|
168
|
+
},
|
|
169
|
+
"image": {
|
|
170
|
+
"type": "boolean",
|
|
171
|
+
"mutable": false,
|
|
172
|
+
"complexType": {
|
|
173
|
+
"original": "boolean",
|
|
174
|
+
"resolved": "boolean",
|
|
175
|
+
"references": {}
|
|
176
|
+
},
|
|
177
|
+
"required": false,
|
|
178
|
+
"optional": false,
|
|
179
|
+
"docs": {
|
|
180
|
+
"tags": [],
|
|
181
|
+
"text": ""
|
|
182
|
+
},
|
|
183
|
+
"attribute": "image",
|
|
184
|
+
"reflect": false
|
|
185
|
+
},
|
|
186
|
+
"bulletList": {
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"mutable": false,
|
|
189
|
+
"complexType": {
|
|
190
|
+
"original": "boolean",
|
|
191
|
+
"resolved": "boolean",
|
|
192
|
+
"references": {}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [],
|
|
198
|
+
"text": ""
|
|
199
|
+
},
|
|
200
|
+
"attribute": "bullet-list",
|
|
201
|
+
"reflect": false
|
|
202
|
+
},
|
|
203
|
+
"numberList": {
|
|
204
|
+
"type": "boolean",
|
|
205
|
+
"mutable": false,
|
|
206
|
+
"complexType": {
|
|
207
|
+
"original": "boolean",
|
|
208
|
+
"resolved": "boolean",
|
|
209
|
+
"references": {}
|
|
210
|
+
},
|
|
211
|
+
"required": false,
|
|
212
|
+
"optional": false,
|
|
213
|
+
"docs": {
|
|
214
|
+
"tags": [],
|
|
215
|
+
"text": ""
|
|
216
|
+
},
|
|
217
|
+
"attribute": "number-list",
|
|
218
|
+
"reflect": false
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
//# sourceMappingURL=gb-WYSIWYG-toolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-WYSIWYG-toolbar.js","sourceRoot":"","sources":["../../../src/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQnD,MAAM,OAAO,gBAAgB;;;;;;;;;;;;;;IAazB,MAAM;QACF,OAAO,CACH,4DAAK,KAAK,EAAE,IAAI,CAAC,UAAU;YACtB,IAAI,CAAC,YAAY,IAAI,CAClB,0EAAmB,IAAI,EAAC,IAAI,GAAqB,CACpD;YACD,4DAAK,KAAK,EAAC,OAAO;gBACb,IAAI,CAAC,IAAI,IAAI,CACV,+EAAwB,IAAI,EAAC,MAAM,GAA0B,CAChE;gBACA,IAAI,CAAC,MAAM,IAAI,CACZ,+EAAwB,IAAI,EAAC,QAAQ,GAA0B,CAClE;gBACA,IAAI,CAAC,EAAE,IAAG,CACP,+EAAwB,IAAI,EAAC,IAAI,GAA0B,CAC9D;gBACA,IAAI,CAAC,EAAE,IAAI,CACR,+EAAwB,IAAI,EAAC,IAAI,GAA0B,CAC9D;gBACA,IAAI,CAAC,KAAK,IAAI,CACX,+EAAwB,IAAI,EAAC,OAAO,GAA0B,CACjE;gBACA,IAAI,CAAC,IAAI,IAAI,CACV,+EAAwB,IAAI,EAAC,MAAM,GAA0B,CAChE;gBACA,IAAI,CAAC,KAAK,IAAI,CACX,+EAAwB,IAAI,EAAC,OAAO,GAA0B,CACjE;gBACA,IAAI,CAAC,UAAU,IAAI,CAChB,+EAAwB,IAAI,EAAC,aAAa,GAA0B,CACvE;gBACA,IAAI,CAAC,UAAU,IAAI,CAChB,+EAAwB,IAAI,EAAC,cAAc,GAA0B,CACxE,CACC,CACJ,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: 'gb-wysiwyg-toolbar',\r\n styleUrl: 'gb-WYSIWYG-toolbar.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbWysiwygToolbar {\r\n @Prop() breakpoint: 'desktop' | 'mobile';\r\n @Prop() fontSelector: boolean;\r\n @Prop() bold: boolean;\r\n @Prop() italic: boolean;\r\n @Prop() h1: boolean;\r\n @Prop() h2: boolean;\r\n @Prop() quote: boolean;\r\n @Prop() link: boolean;\r\n @Prop() image: boolean;\r\n @Prop() bulletList: boolean;\r\n @Prop() numberList: boolean;\r\n\r\n render() {\r\n return (\r\n <div class={this.breakpoint}>\r\n {this.fontSelector && (\r\n <gb-input-dropdown size=\"sm\"></gb-input-dropdown>\r\n )}\r\n <div class=\"icons\">\r\n {this.bold && (\r\n <gb-wysiwyg-editor-icon type=\"bold\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.italic && ( \r\n <gb-wysiwyg-editor-icon type=\"italic\"></gb-wysiwyg-editor-icon>\r\n )} \r\n {this.h1 &&(\r\n <gb-wysiwyg-editor-icon type=\"H1\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.h2 && (\r\n <gb-wysiwyg-editor-icon type=\"H2\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.quote && (\r\n <gb-wysiwyg-editor-icon type=\"quote\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.link && (\r\n <gb-wysiwyg-editor-icon type=\"link\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.image && (\r\n <gb-wysiwyg-editor-icon type=\"photo\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.bulletList && (\r\n <gb-wysiwyg-editor-icon type=\"list_bullet\"></gb-wysiwyg-editor-icon>\r\n )}\r\n {this.numberList && (\r\n <gb-wysiwyg-editor-icon type=\"list_numbers\"></gb-wysiwyg-editor-icon>\r\n )}\r\n </div>\r\n </div>\r\n )\r\n }\r\n}"]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class GbWysiwygTooltip {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.arrow = undefined;
|
|
5
|
+
this.breakpoint = undefined;
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
const classes = {
|
|
9
|
+
[this.arrow]: true,
|
|
10
|
+
[this.breakpoint]: true
|
|
11
|
+
};
|
|
12
|
+
return (h("div", { key: '6049be630ceadccdbe472fca100f7f8bb8bc855d', class: classes }, h("div", { key: '37c7f18c5deef18ed76ece14e035156a2c629aa2', class: "container" }, h("div", { key: '297759a3248df960155d7d53d1e165865c6ff6da', class: "icons" }, h("gb-wysiwyg-editor-icon", { key: 'a7323977c09557261a4c358e6392534007c9f0ba', type: "bold" }), h("gb-wysiwyg-editor-icon", { key: '5f7a5f29db072c1014ce322b1d1522a1aef8b1e7', type: "italic" }), h("gb-wysiwyg-editor-icon", { key: '43a53d7d728f0da412ba3085d9101a20f07c9d95', type: "H1" }), h("gb-wysiwyg-editor-icon", { key: '35c2082c7aa9e5de64803b133cd598c54fa1e4ad', type: "H2" }), h("gb-wysiwyg-editor-icon", { key: '0fd5faa61a5cfae75278f1c083775cda62ae26c8', type: "quote" }), h("gb-wysiwyg-editor-icon", { key: '0c8b8e17374603897577f298e43ca614f6cfd7c9', type: "link" }), h("gb-wysiwyg-editor-icon", { key: '0a3f8c38f80fae9b962f6a74002fa63689b55073', type: "photo" }), h("gb-wysiwyg-editor-icon", { key: '814d11cab8231663ea74a244b148e62b64937b3a', type: "list_bullet" }), h("gb-wysiwyg-editor-icon", { key: 'a2db4e0a1a599688bd04ab2425656b571ccae796', type: "list_numbers" })), h("div", { key: 'c952767fd099bd03a0c8a273f8cf3ff3b6e7efa2', class: "tooltip-arrow" }, h("svg", { key: '29927566cb00085528e01bb36c14a3adda7daad6', xmlns: "http://www.w3.org/2000/svg", width: "18", height: "9", viewBox: "0 0 18 9", fill: "none" }, h("path", { key: 'c39879e133b95b2716432ca36a7b778c717acf59', d: "M17.4853 0.485287L9.70711 8.26347C9.31658 8.65399 8.68342 8.65399 8.29289 8.26347L0.514724 0.485287H17.4853Z", fill: "white" }))))));
|
|
13
|
+
}
|
|
14
|
+
static get is() { return "gb-wysiwyg-tooltip"; }
|
|
15
|
+
static get encapsulation() { return "shadow"; }
|
|
16
|
+
static get originalStyleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["gb-WYSIWYG-tooltip"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static get styleUrls() {
|
|
22
|
+
return {
|
|
23
|
+
"$": ["gb-WYSIWYG-tooltip.css"]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
static get properties() {
|
|
27
|
+
return {
|
|
28
|
+
"arrow": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"mutable": false,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "'center' | 'left' | 'right'",
|
|
33
|
+
"resolved": "\"center\" | \"left\" | \"right\"",
|
|
34
|
+
"references": {}
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"optional": false,
|
|
38
|
+
"docs": {
|
|
39
|
+
"tags": [],
|
|
40
|
+
"text": ""
|
|
41
|
+
},
|
|
42
|
+
"attribute": "arrow",
|
|
43
|
+
"reflect": false
|
|
44
|
+
},
|
|
45
|
+
"breakpoint": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "'default' | 'mobile'",
|
|
50
|
+
"resolved": "\"default\" | \"mobile\"",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": ""
|
|
58
|
+
},
|
|
59
|
+
"attribute": "breakpoint",
|
|
60
|
+
"reflect": false
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=gb-WYSIWYG-tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-WYSIWYG-tooltip.js","sourceRoot":"","sources":["../../../src/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQnD,MAAM,OAAO,gBAAgB;;;;;IAIzB,MAAM;QAEF,MAAM,OAAO,GAAE;YACX,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI;YAClB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,IAAI;SAC1B,CAAA;QAED,OAAM,CACF,4DAAK,KAAK,EAAE,OAAO;YACf,4DAAK,KAAK,EAAC,WAAW;gBAClB,4DAAK,KAAK,EAAC,OAAO;oBACd,+EAAwB,IAAI,EAAC,MAAM,GAA0B;oBAC7D,+EAAwB,IAAI,EAAC,QAAQ,GAA0B;oBAC/D,+EAAwB,IAAI,EAAC,IAAI,GAA0B;oBAC3D,+EAAwB,IAAI,EAAC,IAAI,GAA0B;oBAC3D,+EAAwB,IAAI,EAAC,OAAO,GAA0B;oBAC9D,+EAAwB,IAAI,EAAC,MAAM,GAA0B;oBAC7D,+EAAwB,IAAI,EAAC,OAAO,GAA0B;oBAC9D,+EAAwB,IAAI,EAAC,aAAa,GAA0B;oBACpE,+EAAwB,IAAI,EAAC,cAAc,GAA0B,CACnE;gBACN,4DAAK,KAAK,EAAC,eAAe;oBACtB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,OAAO,EAAC,UAAU,EAAC,IAAI,EAAC,MAAM;wBACxF,6DAAM,CAAC,EAAC,8GAA8G,EAAC,IAAI,EAAC,OAAO,GAAE,CACnI,CACJ,CACJ,CACJ,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: 'gb-wysiwyg-tooltip',\r\n styleUrl: 'gb-WYSIWYG-tooltip',\r\n shadow: true\r\n})\r\n\r\nexport class GbWysiwygTooltip {\r\n @Prop() arrow: 'center' | 'left' | 'right';\r\n @Prop() breakpoint: 'default' | 'mobile';\r\n\r\n render() {\r\n\r\n const classes= {\r\n [this.arrow]: true,\r\n [this.breakpoint]: true \r\n }\r\n\r\n return(\r\n <div class={classes}>\r\n <div class=\"container\">\r\n <div class=\"icons\">\r\n <gb-wysiwyg-editor-icon type=\"bold\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"italic\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"H1\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"H2\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"quote\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"link\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"photo\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"list_bullet\"></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon type=\"list_numbers\"></gb-wysiwyg-editor-icon>\r\n </div>\r\n <div class=\"tooltip-arrow\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"9\" viewBox=\"0 0 18 9\" fill=\"none\">\r\n <path d=\"M17.4853 0.485287L9.70711 8.26347C9.31658 8.65399 8.68342 8.65399 8.29289 8.26347L0.514724 0.485287H17.4853Z\" fill=\"white\"/>\r\n </svg>\r\n </div>\r\n </div>\r\n </div>\r\n )\r\n }\r\n}"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Component, Prop, h } from "@stencil/core";
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
tag: 'gb-wysiwyg-tooltip',
|
|
5
|
+
styleUrl: 'gb-WYSIWYG-tooltip',
|
|
6
|
+
shadow: true
|
|
7
|
+
})
|
|
8
|
+
|
|
9
|
+
export class GbWysiwygTooltip {
|
|
10
|
+
@Prop() arrow: 'center' | 'left' | 'right';
|
|
11
|
+
@Prop() breakpoint: 'default' | 'mobile';
|
|
12
|
+
|
|
13
|
+
render() {
|
|
14
|
+
|
|
15
|
+
const classes= {
|
|
16
|
+
[this.arrow]: true,
|
|
17
|
+
[this.breakpoint]: true
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return(
|
|
21
|
+
<div class={classes}>
|
|
22
|
+
<div class="container">
|
|
23
|
+
<div class="icons">
|
|
24
|
+
<gb-wysiwyg-editor-icon type="bold"></gb-wysiwyg-editor-icon>
|
|
25
|
+
<gb-wysiwyg-editor-icon type="italic"></gb-wysiwyg-editor-icon>
|
|
26
|
+
<gb-wysiwyg-editor-icon type="H1"></gb-wysiwyg-editor-icon>
|
|
27
|
+
<gb-wysiwyg-editor-icon type="H2"></gb-wysiwyg-editor-icon>
|
|
28
|
+
<gb-wysiwyg-editor-icon type="quote"></gb-wysiwyg-editor-icon>
|
|
29
|
+
<gb-wysiwyg-editor-icon type="link"></gb-wysiwyg-editor-icon>
|
|
30
|
+
<gb-wysiwyg-editor-icon type="photo"></gb-wysiwyg-editor-icon>
|
|
31
|
+
<gb-wysiwyg-editor-icon type="list_bullet"></gb-wysiwyg-editor-icon>
|
|
32
|
+
<gb-wysiwyg-editor-icon type="list_numbers"></gb-wysiwyg-editor-icon>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="tooltip-arrow">
|
|
35
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="9" viewBox="0 0 18 9" fill="none">
|
|
36
|
+
<path d="M17.4853 0.485287L9.70711 8.26347C9.31658 8.65399 8.68342 8.65399 8.29289 8.26347L0.514724 0.485287H17.4853Z" fill="white"/>
|
|
37
|
+
</svg>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -40,7 +40,7 @@ export class GbAvatar {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
return [
|
|
43
|
-
h("div", { key: '
|
|
43
|
+
h("div", { key: '16f2bb3ddda00ce219fee23a5ed85e7920fa1e36', class: "avatar" }, h("gb-avatar-contrast-inner-border", { key: 'dda3aff29b71c26b5e59fb64a4f25ab563eb361e', "border-size": this.size, weight: this.weight }, h("div", { key: '9ba13e41e5cb076874596bab26b98bd28d4fe7ad', class: `inner_content ${this.size}` }, !this.text ? (h("slot", { name: "image" })) : (h("div", { class: "initials" }, h("slot", { name: "initials" }))), this.placeholder && (h("div", { key: '2758b4015a0ab92f737649c246d5aaf032698fa8', class: `placeholder` }, this.icon === 'user' && (h("svg", { key: 'f417f4a8fc60730de185aff5b960afaed3b7c640', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `user_avatar ${this.size}` }, h("path", { key: 'eee69e30606de6cbb52e1c3674da76da8bb627a5', d: "M11.8706 9.89137C11.9482 9.93754 12.044 9.99158 12.1524 10.0528C12.6276 10.3209 13.3459 10.7261 13.8381 11.2078C14.1458 11.5091 14.4383 11.9061 14.4914 12.3924C14.548 12.9097 14.3223 13.395 13.8697 13.8263C13.0887 14.5703 12.1515 15.1666 10.9393 15.1666H5.06045C3.84825 15.1666 2.91106 14.5703 2.13009 13.8263C1.67741 13.395 1.45177 12.9097 1.50831 12.3924C1.56147 11.9061 1.85391 11.5091 2.16169 11.2078C2.6538 10.7261 3.37214 10.3209 3.84735 10.0528C3.95578 9.99158 4.05158 9.93754 4.12912 9.89137C6.49848 8.48055 9.50126 8.48055 11.8706 9.89137Z", fill: "#697586" }), h("path", { key: '8666943f628f286d8cb3d807cb1f9f11ad5ac5d1', d: "M4.49987 4.33325C4.49987 2.40026 6.06688 0.833252 7.99987 0.833252C9.93287 0.833252 11.4999 2.40026 11.4999 4.33325C11.4999 6.26625 9.93287 7.83325 7.99987 7.83325C6.06688 7.83325 4.49987 6.26625 4.49987 4.33325Z", fill: "#697586" }))))))), h("gb-status-indicator", { key: '8d6fb344f4759a4de9434aac122c94d3e733f805', class: `indicator ${this.size}`, "status-icon": this.statusIcon, size: this.size, state: this.state }))
|
|
44
44
|
];
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "gb-avatar"; }
|
|
@@ -7,7 +7,7 @@ export class GbAvatarAddButton {
|
|
|
7
7
|
this.el = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '354d48e400ab38aa3e394fea398047ce1166146d' }, this.showToolTip && (h("gb-tooltip", { key: 'c2f684ad0d47ffdee960705b7ed8fa5b06d64b4c', class: `tooltip ${this.size}`, arrow: "bottom_center", "show-supporting-text": "false" }, h("p", { key: '96213de6051d2e1e34cb43263c6c826f4c916e54', slot: "label", class: "text-xs-semi-bold" }, "Add User"))), h("div", { key: '43174d8ba7de4ab213ba4a2cd15a52cea5ac3ed7', class: `avatar_back ${this.size} ${this.state}`, onMouseEnter: () => { this.showToolTip = true; }, onMouseLeave: () => { this.showToolTip = false; } }, h("svg", { key: '85abfe07bead0aedd74ba612b5f3ca98baf09f93', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `plus_sign ${this.size} ${this.state}` }, h("path", { key: '9cbf03f1af588dfc32863ad2e7083505d997869b', d: "M8.00008 2.6665V13.3332M13.3334 7.99984H2.66675", stroke: "#697586", "stroke-width": "1.33", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "gb-avatar-add-button"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,7 +30,7 @@ export class GbAvatarContrastInnerBorder {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '6200344aec5a6821e579a6b9bf254709bf8575d6', class: `inner_border ${this.size} ${this.weight}` }, h("slot", { key: '7d5aeee34aa80942c4968bbe502dbc541ab5cce9' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "gb-avatar-contrast-inner-border"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class GbAvatarGroup {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '47341d899174c2ad30b9d4b0a4db8593e91fb263', class: `avatar_group ${this.size}` }, this.images.map(image => (h("div", { class: `avatar ${this.size}` }, h("gb-avatar", { size: this.size, weight: this.setWeight() }, h("img", { src: image, alt: "" }))))), this.moreUsers && (h("div", { key: '0f4f8a7cd3bccc5b73cb630562c46cbd7dbd8a02', class: `avatar ${this.size}` }, h("gb-avatar", { key: '6edafef0b92886d22747a6d7631bb185bbd6bd09', text: this.text, size: this.size, weight: this.setWeight() }, h("slot", { key: '2911fe0a19b53dfe2330223fc36a32891126f945', name: "initials", slot: "initials" })))), this.addMoreButton && h("gb-avatar-add-button", { key: 'd3f46aad48ba06ef808e285c94a7f95cd57b8ee4', state: this.state, size: this.size })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "gb-avatar-group"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class GbAvatarLabelGroup {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '0bac1d55eb84ed9ff01951453257c266580a1804', class: `label ${this.size}` }, h("div", { key: '8012c151faeaee65635a3fcc7184780971775e20', class: "label_pic" }, h("gb-avatar", { key: '620c75c7badd4e5504d4bfc8e3bc32864da0b5e5', size: this.size, "status-icon": this.statusIcon, state: this.state, text: this.text, placeholder: this.placeholder }, !this.text ? (h("slot", { name: "image", slot: "image" })) : (h("slot", { name: "initials", slot: "initials" })))), h("div", { key: '87ca63333cb2e41ebe4b13ba50c823f2b620cbb1', class: "label_text" }, h("slot", { key: '27c5a2ea1ef64ebd0232ca814f4ea2b0f620a446', name: "name" }), h("slot", { key: '74451549d4fafc72f0227edb36a6f1674d45059f', name: "supporting_text" }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "gb-avatar-label-group"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class GbAvatarProfilePhoto {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const profileSize = this.getProfileSize();
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '7dd684f7e42f699f15bb685ec02b56b0de254071', class: `profile_photo ${profileSize}` }, h("gb-avatar", { key: 'dd60c81ef6437f36320483a3343f2785adfe1d88', size: profileSize, icon: "user", text: this.text, "status-icon": this.verified && ('verified'), weight: this.setWeight() }, !this.text ? (h("slot", { name: "image", slot: "image" })) : (h("slot", { name: "initials", slot: "initials" })), this.placeholder && (h("div", { key: '5f9da6cb0a34f757ac9b92b7e38aafed55c12305', class: `placeholder` }, h("svg", { key: '94650ae4f80e57d9e32c49d87f1d43a295c2ef5d', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `user_avatar ${this.size}` }, h("path", { key: '6cae1b7983c7f9644d3bbc437c2321eb5f576898', d: "M11.8706 9.89137C11.9482 9.93754 12.044 9.99158 12.1524 10.0528C12.6276 10.3209 13.3459 10.7261 13.8381 11.2078C14.1458 11.5091 14.4383 11.9061 14.4914 12.3924C14.548 12.9097 14.3223 13.395 13.8697 13.8263C13.0887 14.5703 12.1515 15.1666 10.9393 15.1666H5.06045C3.84825 15.1666 2.91106 14.5703 2.13009 13.8263C1.67741 13.395 1.45177 12.9097 1.50831 12.3924C1.56147 11.9061 1.85391 11.5091 2.16169 11.2078C2.6538 10.7261 3.37214 10.3209 3.84735 10.0528C3.95578 9.99158 4.05158 9.93754 4.12912 9.89137C6.49848 8.48055 9.50126 8.48055 11.8706 9.89137Z", fill: "#697586" }), h("path", { key: '44f3480159f5770d4e1de31f7f0c60001139064e', d: "M4.49987 4.33325C4.49987 2.40026 6.06688 0.833252 7.99987 0.833252C9.93287 0.833252 11.4999 2.40026 11.4999 4.33325C11.4999 6.26625 9.93287 7.83325 7.99987 7.83325C6.06688 7.83325 4.49987 6.26625 4.49987 4.33325Z", fill: "#697586" })))))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "gb-avatar-profile-photo"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class BadgeClose {
|
|
|
5
5
|
this.type = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'edc7820b2ccecd2b27b536498160c9db2a4453e2', class: `${this.color} ${this.type}` }, h("svg", { key: '4e7f4d55a30af348792187e2e69a788c08b131ba', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '06e5ff64fdf938b69818273388b3e7ec963b94f0', d: "M9.50024 2.5L2.50024 9.5M2.50024 2.5L9.50024 9.5", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-badge-close"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -74,7 +74,7 @@ export class GbBadges {
|
|
|
74
74
|
};
|
|
75
75
|
const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);
|
|
76
76
|
const dotColor = this.type === 'badge_modern' ? this.getDotColor(this.color) : 'currentColor';
|
|
77
|
-
return (h("div", { key: '
|
|
77
|
+
return (h("div", { key: 'b7a34ef8ca29d33bb5f38e58cdffb9edf7bed272', class: classes }, this.icon === 'dot' && (h("svg", { key: 'd21ee30850227a486bc1de1e1eadb57664ad18ed', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: dotColor }, h("circle", { key: 'a43b0b2888270b7f2092398689d50c935017c39c', cx: "4", cy: "4", r: "3" }))), this.icon === 'icon_leading' && this.iconLeadingSwap && (h("div", { key: '977d0793bfae6564e5b080d0daa37ec256eff086', class: "icon left-icon", innerHTML: this.leadingIconContent, style: { color: this.color } })), this.icon === 'country' && (h("div", { key: '17cb13147d778ee1476cdff5d3a461d0dfe85db3', class: "icon left-icon" }, h("img", { key: '284411201af640d82bd3f0d859e4687ace2c2750', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: '48e8a2ad284b63546a2235ba88b01a65d42cad34', class: "avatar-icon", size: "xxs", "status-icon": "false" }, h("slot", { key: 'd2090648ba63f7b23977cc71f3b8fd2a3b230978', name: 'image', slot: 'image' }))), this.icon !== 'only' && (h("slot", { key: 'f49e95dbf1b39a9a45ed1e484f6af23b6cb74180' })), this.icon === 'icon_trailing' && this.iconTrailingSwap && (h("div", { key: 'd9db02c3a2fa0c24473291f263b03fe314039652', class: "icon right-icon", innerHTML: this.trailingIconContent, style: { color: this.color } })), this.icon === 'only' && (h("div", { key: '6a2a38d82211c5ec7610e65738124079f65b24f8', id: "icon-only" }, h("svg", { key: '104beeb6549d4d7572682b2741602c31533d779e', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", stroke: dotColor }, h("path", { key: '6de6e8a308446829a26b3d4a73f3ba39af1e2cac', d: "M6 2L6 10M10 6L2 6", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.closeButton && this.icon !== 'only' && h("gb-badge-close", { key: 'cb8437b24aa42ea9a2674d0db28d6c800e2ec05c', color: this.color, type: 'rounded' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "gb-badge"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,7 +73,7 @@ export class GbButton {
|
|
|
73
73
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h("button", { key: '
|
|
76
|
+
return (h("button", { key: 'd7fa8e4213cc95cceb3aba53756544db2404c535', class: this.getButtonClasses() }, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && h("slot", { key: '4ef99f89d5082d2bc4654b965faab0bf5674ca8c' }), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "gb-btn"; }
|
|
79
79
|
static get originalStyleUrls() {
|
|
@@ -68,7 +68,7 @@ export class MyButton {
|
|
|
68
68
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h("button", { key: '
|
|
71
|
+
return (h("button", { key: '9377e08a8b0167ee761fc455419db23f1369b92a', class: this.getButtonClasses() }, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && h("slot", { key: 'f89ddcef3c42b7f5562a4dc8ef75f6badd3888dd' }), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "gb-button"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
# test-button
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| ------------------ | -------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
12
|
-
| `destructive` | `destructive` | | `boolean` | `false` |
|
|
13
|
-
| `hierarchy` | `hierarchy` | | `"link_color" \| "link_gray" \| "primary" \| "secondary_color" \| "secondary_gray" \| "tertiary_color" \| "tertiary_gray"` | `undefined` |
|
|
14
|
-
| `icon` | `icon` | | `"default" \| "only"` | `undefined` |
|
|
15
|
-
| `iconLeading` | `icon-leading` | | `boolean` | `false` |
|
|
16
|
-
| `iconLeadingSwap` | `icon-leading-swap` | | `string` | `undefined` |
|
|
17
|
-
| `iconTrailing` | `icon-trailing` | | `boolean` | `false` |
|
|
18
|
-
| `iconTrailingSwap` | `icon-trailing-swap` | | `string` | `undefined` |
|
|
19
|
-
| `size` | `size` | | `"lg" \| "md" \| "profile_lg" \| "profile_md" \| "profile_sm" \| "sm" \| "xl" \| "xl2" \| "xl3" \| "xl4" \| "xs" \| "xxs"` | `undefined` |
|
|
20
|
-
| `state` | `state` | | `"default" \| "disabled" \| "hover" \| "pressed"` | `undefined` |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## Dependencies
|
|
24
|
-
|
|
25
|
-
### Used by
|
|
26
|
-
|
|
27
|
-
- [gb-checkbox-group-item](../gb-checkbox-group-item)
|
|
28
|
-
- [gb-file-upload-item-base](../gb-file-upload-item-base)
|
|
29
|
-
- [gb-pagination](../gb-pagination)
|
|
30
|
-
- [gb-toast](../gb-toast)
|
|
31
|
-
|
|
32
|
-
### Graph
|
|
33
|
-
```mermaid
|
|
34
|
-
graph TD;
|
|
35
|
-
gb-checkbox-group-item --> gb-button
|
|
36
|
-
gb-file-upload-item-base --> gb-button
|
|
37
|
-
gb-pagination --> gb-button
|
|
38
|
-
gb-toast --> gb-button
|
|
39
|
-
style gb-button fill:#f9f,stroke:#333,stroke-width:4px
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
----------------------------------------------
|
|
43
|
-
|
|
44
|
-
*Built with [StencilJS](https://stenciljs.com/)*
|
|
1
|
+
# test-button
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------------ | -------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
12
|
+
| `destructive` | `destructive` | | `boolean` | `false` |
|
|
13
|
+
| `hierarchy` | `hierarchy` | | `"link_color" \| "link_gray" \| "primary" \| "secondary_color" \| "secondary_gray" \| "tertiary_color" \| "tertiary_gray"` | `undefined` |
|
|
14
|
+
| `icon` | `icon` | | `"default" \| "only"` | `undefined` |
|
|
15
|
+
| `iconLeading` | `icon-leading` | | `boolean` | `false` |
|
|
16
|
+
| `iconLeadingSwap` | `icon-leading-swap` | | `string` | `undefined` |
|
|
17
|
+
| `iconTrailing` | `icon-trailing` | | `boolean` | `false` |
|
|
18
|
+
| `iconTrailingSwap` | `icon-trailing-swap` | | `string` | `undefined` |
|
|
19
|
+
| `size` | `size` | | `"lg" \| "md" \| "profile_lg" \| "profile_md" \| "profile_sm" \| "sm" \| "xl" \| "xl2" \| "xl3" \| "xl4" \| "xs" \| "xxs"` | `undefined` |
|
|
20
|
+
| `state` | `state` | | `"default" \| "disabled" \| "hover" \| "pressed"` | `undefined` |
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## Dependencies
|
|
24
|
+
|
|
25
|
+
### Used by
|
|
26
|
+
|
|
27
|
+
- [gb-checkbox-group-item](../gb-checkbox-group-item)
|
|
28
|
+
- [gb-file-upload-item-base](../gb-file-upload-item-base)
|
|
29
|
+
- [gb-pagination](../gb-pagination)
|
|
30
|
+
- [gb-toast](../gb-toast)
|
|
31
|
+
|
|
32
|
+
### Graph
|
|
33
|
+
```mermaid
|
|
34
|
+
graph TD;
|
|
35
|
+
gb-checkbox-group-item --> gb-button
|
|
36
|
+
gb-file-upload-item-base --> gb-button
|
|
37
|
+
gb-pagination --> gb-button
|
|
38
|
+
gb-toast --> gb-button
|
|
39
|
+
style gb-button fill:#f9f,stroke:#333,stroke-width:4px
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
----------------------------------------------
|
|
43
|
+
|
|
44
|
+
*Built with [StencilJS](https://stenciljs.com/)*
|
|
@@ -5,7 +5,7 @@ export class GbButtonClose {
|
|
|
5
5
|
this.color = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'f965d1f3f4440468782234c6006913962bc875cf', class: `${this.size} ${this.color}` }, h("svg", { key: '51535e3f50579ff7bd526a587e2c2552fcb261cc', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `${this.size}` }, h("path", { key: 'e570690d4d01aeb6a27135fa1eee6840f1393827', d: "M19.0005 4.99988L5.00049 18.9999M5.00049 4.99988L19.0005 18.9999", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-button-close"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class GbCarouselArrow {
|
|
|
5
5
|
this.chevron = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'ddc68064d8d4c0895fb38ba14363eb3d5800fe49', class: `carousel_arrow ${this.size}` }, this.chevron === 'left' && (h("svg", { key: '47b8f1ecb60f733cc07e7d2ac1949474c3f85d7d', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'ec531d905cdf77af97902882c5ee8b257f9a3f6d', d: "M15 5.99989C15 5.99989 9.00001 10.4188 9 11.9999C8.99999 13.5811 15 17.9999 15 17.9999", stroke: "#202939", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.chevron === 'right' && (h("svg", { key: '3505f5e8bfcc8a063114015d4048a984f7b25741', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '52626105796a890ad190d06cc05e836a042e610c', d: "M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18", stroke: "#202939", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-carousel-arrow"; }
|
|
11
11
|
static get originalStyleUrls() {
|