globuswebcomponents 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{gb-avatar_19.cjs.entry.js → gb-avatar_21.cjs.entry.js} +76 -3
- package/dist/cjs/gb-avatar_21.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/top_bar_active_bar.svg +3 -0
- package/dist/collection/assets/top_bar_active_bar_red.svg +3 -0
- package/dist/collection/assets/top_bar_pattern.svg +2409 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-detail-cell/gb-detail-cell.css +1 -5
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +54 -52
- package/dist/collection/components/gb-header/gb-header.css +1 -1
- package/dist/collection/components/gb-top-bar/gb-top-bar.css +45 -0
- package/dist/collection/components/gb-top-bar/gb-top-bar.js +490 -0
- package/dist/collection/components/gb-top-bar/gb-top-bar.js.map +1 -0
- package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.css +2763 -0
- package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js +37 -2
- package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js.map +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-detail-cell.js +1 -1
- package/dist/components/gb-detail-cell.js.map +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-header.js +1 -1
- package/dist/components/gb-header.js.map +1 -1
- package/dist/components/gb-help-dropdown.js +1 -1
- package/dist/components/gb-top-bar-item.js +1 -39
- package/dist/components/gb-top-bar-item.js.map +1 -1
- package/dist/components/gb-top-bar.d.ts +11 -0
- package/dist/components/gb-top-bar.js +102 -0
- package/dist/components/gb-top-bar.js.map +1 -0
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +2 -2
- package/dist/components/{p-c1b2bd3f.js → p-954d7fe7.js} +2 -2
- package/dist/components/p-954d7fe7.js.map +1 -0
- package/dist/components/{p-442f7c82.js → p-98f5c49f.js} +2 -2
- package/dist/components/{p-442f7c82.js.map → p-98f5c49f.js.map} +1 -1
- package/dist/components/p-d0a741ae.js +64 -0
- package/dist/components/p-d0a741ae.js.map +1 -0
- package/dist/components/test-input-tag.js +2 -2
- package/dist/docs.json +622 -21
- package/dist/esm/{gb-avatar_19.entry.js → gb-avatar_21.entry.js} +75 -4
- package/dist/esm/gb-avatar_21.entry.js.map +1 -0
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
- package/dist/esm/gb-vertical-tabs.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/top_bar_active_bar.svg +3 -0
- package/dist/globuscomponents/assets/top_bar_active_bar_red.svg +3 -0
- package/dist/globuscomponents/assets/top_bar_pattern.svg +2409 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-36d21d06.entry.js → p-0e9e58ed.entry.js} +2 -2
- package/dist/globuscomponents/p-0e9e58ed.entry.js.map +1 -0
- package/dist/globuscomponents/{p-a3f329c6.entry.js → p-16bc1a62.entry.js} +2 -2
- package/dist/globuscomponents/p-16bc1a62.entry.js.map +1 -0
- package/dist/globuscomponents/{p-901567ac.entry.js → p-96fb5dcf.entry.js} +2 -2
- package/dist/globuscomponents/{p-95246d99.entry.js → p-a2c16d5c.entry.js} +2 -2
- package/dist/globuscomponents/{p-217cf260.entry.js → p-d2b16d4d.entry.js} +2 -2
- package/dist/globuscomponents/{p-a1534e92.entry.js → p-fd67e1e0.entry.js} +2 -2
- package/dist/types/components/gb-top-bar/gb-top-bar.d.ts +30 -0
- package/dist/types/components/gb-top-bar-item/gb-top-bar-item.d.ts +6 -1
- package/dist/types/components.d.ts +77 -0
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_19.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-top-bar-item.cjs.entry.js +0 -26
- package/dist/cjs/gb-top-bar-item.cjs.entry.js.map +0 -1
- package/dist/components/p-c1b2bd3f.js.map +0 -1
- package/dist/esm/gb-avatar_19.entry.js.map +0 -1
- package/dist/esm/gb-top-bar-item.entry.js +0 -22
- package/dist/esm/gb-top-bar-item.entry.js.map +0 -1
- package/dist/globuscomponents/p-36d21d06.entry.js.map +0 -1
- package/dist/globuscomponents/p-778ef7cc.entry.js +0 -2
- package/dist/globuscomponents/p-778ef7cc.entry.js.map +0 -1
- package/dist/globuscomponents/p-a3f329c6.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-901567ac.entry.js.map → p-96fb5dcf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-95246d99.entry.js.map → p-a2c16d5c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-217cf260.entry.js.map → p-d2b16d4d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a1534e92.entry.js.map → p-fd67e1e0.entry.js.map} +0 -0
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"components/gb-token-field-compact/gb-token-field-compact.js",
|
|
75
75
|
"components/gb-token-field-compressed/gb-token-field-compressed.js",
|
|
76
76
|
"components/gb-tooltip/gb-tooltip.js",
|
|
77
|
+
"components/gb-top-bar/gb-top-bar.js",
|
|
77
78
|
"components/gb-top-bar-item/gb-top-bar-item.js",
|
|
78
79
|
"components/gb-vertical-tabs/gb-vertical-tabs.js",
|
|
79
80
|
"components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js",
|
|
@@ -2682,17 +2682,13 @@
|
|
|
2682
2682
|
|
|
2683
2683
|
.detail_cell_div.standard {
|
|
2684
2684
|
height: 5rem;
|
|
2685
|
+
padding: var(--spacing-none) var(--spacing-6);
|
|
2685
2686
|
}
|
|
2686
2687
|
|
|
2687
2688
|
.detail_cell_div.compact {
|
|
2688
2689
|
padding: 0;
|
|
2689
2690
|
}
|
|
2690
2691
|
|
|
2691
|
-
.detail_cell_div.standard.information,
|
|
2692
|
-
.detail_cell_div.standard.status {
|
|
2693
|
-
padding: var(--spacing-none) var(--spacing-6);
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
2692
|
.info_text_div,
|
|
2697
2693
|
.status_text_div,
|
|
2698
2694
|
.document_text_div {
|
|
@@ -2660,121 +2660,123 @@
|
|
|
2660
2660
|
}
|
|
2661
2661
|
|
|
2662
2662
|
.shortcut-container {
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2663
|
+
display: flex;
|
|
2664
|
+
width: 100%;
|
|
2665
|
+
padding: var(--spacing-half) var(--spacing-1);
|
|
2666
|
+
align-items: center;
|
|
2667
|
+
gap: var(--spacing-none);
|
|
2668
|
+
border-radius: var(--rounded-none);
|
|
2669
|
+
cursor: pointer;
|
|
2670
2670
|
}
|
|
2671
2671
|
|
|
2672
2672
|
.shortcut {
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2673
|
+
display: flex;
|
|
2674
|
+
padding: var(--spacing-2);
|
|
2675
|
+
justify-content: center;
|
|
2676
|
+
align-items: center;
|
|
2677
|
+
gap: var(--spacing-2);
|
|
2678
|
+
flex: 1 0 0;
|
|
2679
|
+
border-radius: var(--rounded-xs);
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
|
-
.shortcut.destructive:hover{
|
|
2683
|
-
|
|
2682
|
+
.shortcut.destructive:hover {
|
|
2683
|
+
background-color: var(--color-background-danger-subtlest, #fef1f2);
|
|
2684
2684
|
}
|
|
2685
2685
|
|
|
2686
|
-
.shortcut.destructive:active{
|
|
2687
|
-
|
|
2686
|
+
.shortcut.destructive:active {
|
|
2687
|
+
background-color: var(--color-background-danger-subtler, #fde3e5);
|
|
2688
2688
|
}
|
|
2689
2689
|
|
|
2690
2690
|
.label_div {
|
|
2691
|
-
|
|
2691
|
+
flex-grow: 1;
|
|
2692
2692
|
}
|
|
2693
2693
|
|
|
2694
2694
|
.label {
|
|
2695
|
-
|
|
2695
|
+
color: var(--color-text, #4b5565);
|
|
2696
2696
|
}
|
|
2697
2697
|
|
|
2698
2698
|
.label.destructive {
|
|
2699
|
-
|
|
2699
|
+
color: var(--color-text-danger, #b51726);
|
|
2700
2700
|
}
|
|
2701
2701
|
|
|
2702
2702
|
.shortcut-icon {
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2703
|
+
display: flex;
|
|
2704
|
+
justify-content: flex-end;
|
|
2705
|
+
color: var(--color-text, #4b5565);
|
|
2706
|
+
font-family: var(--Font-Family-Body, Sora);
|
|
2707
|
+
font-size: var(--Font-Size-T-xs, 12px);
|
|
2708
|
+
font-style: normal;
|
|
2709
|
+
font-weight: var(--Font-Weight-Regular, 400);
|
|
2710
|
+
line-height: var(--Font-Line-height-T-xs, 18px); /* 150% */
|
|
2711
|
+
letter-spacing: var(--Font-Letter-spacing-T-xs, 0px);
|
|
2712
2712
|
}
|
|
2713
2713
|
|
|
2714
2714
|
.icon_div {
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2715
|
+
padding-left: 7px;
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
.icon {
|
|
2719
|
+
width: 1.25rem;
|
|
2720
|
+
height: 1.25rem;
|
|
2718
2721
|
}
|
|
2719
2722
|
|
|
2720
2723
|
.icon path[stroke] {
|
|
2721
|
-
|
|
2724
|
+
stroke: var(--color-icon, #4b5565);
|
|
2722
2725
|
}
|
|
2723
2726
|
|
|
2724
2727
|
.icon path[fill] {
|
|
2725
|
-
|
|
2728
|
+
fill: var(--color-icon, #4b5565);
|
|
2726
2729
|
}
|
|
2727
2730
|
|
|
2728
2731
|
.icon.disabled path[stroke],
|
|
2729
2732
|
.icon.disabled.destructive path[stroke] {
|
|
2730
|
-
|
|
2733
|
+
stroke: var(--color-icon-disabled, #cdd5df);
|
|
2731
2734
|
}
|
|
2732
2735
|
|
|
2733
2736
|
.icon.disabled path[fill],
|
|
2734
2737
|
.icon.disabled.destructive path[fill] {
|
|
2735
|
-
|
|
2738
|
+
fill: var(--color-icon-disabled, #cdd5df);
|
|
2736
2739
|
}
|
|
2737
2740
|
|
|
2738
2741
|
.icon.destructive path[stroke] {
|
|
2739
|
-
|
|
2742
|
+
stroke: var(--color-icon-danger, #b51726);
|
|
2740
2743
|
}
|
|
2741
2744
|
|
|
2742
2745
|
.icon.destructive path[fill] {
|
|
2743
|
-
|
|
2746
|
+
fill: var(--color-icon-danger, #b51726);
|
|
2744
2747
|
}
|
|
2745
2748
|
|
|
2746
2749
|
gb-checkbox {
|
|
2747
|
-
|
|
2748
|
-
|
|
2750
|
+
padding-top: 4px;
|
|
2751
|
+
padding-left: 7px;
|
|
2749
2752
|
}
|
|
2750
2753
|
|
|
2751
2754
|
.shortcut:hover {
|
|
2752
|
-
|
|
2755
|
+
background-color: var(--color-background-gray-subtler, #eef2f6);
|
|
2753
2756
|
}
|
|
2754
2757
|
.shortcut:active {
|
|
2755
|
-
|
|
2758
|
+
background: var(--color-background-gray-subtle, #e3e8ef);
|
|
2756
2759
|
}
|
|
2757
2760
|
|
|
2758
2761
|
.shortcut.disabled {
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
+
background-color: var(---color-background-card, #ffffff);
|
|
2763
|
+
color: var(--color-text-disabled, #cdd5df);
|
|
2764
|
+
pointer-events: none;
|
|
2762
2765
|
}
|
|
2763
2766
|
|
|
2764
2767
|
.shortcut.disabled .label,
|
|
2765
2768
|
.shortcut.disabled .shortcut-icon,
|
|
2766
2769
|
.shortcut.disabled gb-checkbox {
|
|
2767
|
-
|
|
2770
|
+
color: var(--color-text-disabled, #cdd5df); /* Ensures all text/icons use the disabled color */
|
|
2768
2771
|
}
|
|
2769
2772
|
|
|
2770
2773
|
.shortcut.disabled .icon img {
|
|
2771
|
-
|
|
2772
|
-
|
|
2774
|
+
opacity: 0.5;
|
|
2775
|
+
stroke: var(--color-icon-disabled, #cdd5df); /* Reduce opacity for the icon in disabled state */
|
|
2773
2776
|
}
|
|
2774
2777
|
|
|
2775
2778
|
/* Optional: You can also change the checkbox appearance */
|
|
2776
2779
|
.shortcut.disabled gb-checkbox {
|
|
2777
|
-
|
|
2778
|
-
|
|
2780
|
+
pointer-events: none;
|
|
2781
|
+
opacity: 0.5; /* Dim the checkbox when disabled */
|
|
2779
2782
|
}
|
|
2780
|
-
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.top_bar_div {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 5rem;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.top_bar_div.colored_background {
|
|
13
|
+
border-bottom: 1px solid var(--color-border-subtler, #e3e8ef);
|
|
14
|
+
background: linear-gradient(63deg, #075db2 16.72%, #053e77 68.99%, #042f59 83.39%);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.top_bar_div.plain_background {
|
|
18
|
+
border-bottom: 1px solid var(--color-border-subtler, #E3E8EF);
|
|
19
|
+
background: var(--color-surface);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.top_bar_content {
|
|
23
|
+
display: flex;
|
|
24
|
+
padding: 0rem 2rem;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
align-items: center;
|
|
27
|
+
flex: 1 0 0;
|
|
28
|
+
align-self: stretch;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.content {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 1rem;
|
|
35
|
+
flex: 1 0 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.pattern {
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
mix-blend-mode: multiply;
|
|
45
|
+
}
|