@kcascend/liquid-ui 0.0.9 → 0.0.11
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/components/HeaderShell/HeaderShell.d.ts +2 -2
- package/dist/components/HeaderShell/HeaderShell.d.ts.map +1 -1
- package/dist/components/HeaderShell/HeaderShell.js +60 -20
- package/dist/components/Loading/Loading.d.ts +3 -0
- package/dist/components/Loading/Loading.d.ts.map +1 -0
- package/dist/components/Loading/Loading.js +7 -0
- package/dist/components/LoadingInline/LoadingInline.d.ts +3 -0
- package/dist/components/LoadingInline/LoadingInline.d.ts.map +1 -0
- package/dist/components/LoadingInline/LoadingInline.js +15 -0
- package/dist/components/Skeleton/Skeleton.d.ts +3 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.js +45 -0
- package/dist/generated/tokens.d.ts +168 -0
- package/dist/generated/tokens.d.ts.map +1 -1
- package/dist/generated/tokens.js +168 -0
- package/dist/governance/headerShellGovernance.d.ts.map +1 -1
- package/dist/governance/headerShellGovernance.js +4 -0
- package/dist/governance/loadingGovernance.d.ts +3 -0
- package/dist/governance/loadingGovernance.d.ts.map +1 -0
- package/dist/governance/loadingGovernance.js +11 -0
- package/dist/governance/loadingInlineGovernance.d.ts +3 -0
- package/dist/governance/loadingInlineGovernance.d.ts.map +1 -0
- package/dist/governance/loadingInlineGovernance.js +12 -0
- package/dist/governance/skeletonGovernance.d.ts +3 -0
- package/dist/governance/skeletonGovernance.d.ts.map +1 -0
- package/dist/governance/skeletonGovernance.js +11 -0
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/styles.css +347 -36
- package/dist/tokens/components.css +35 -0
- package/dist/types.d.ts +26 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -2
package/dist/styles.css
CHANGED
|
@@ -886,6 +886,7 @@
|
|
|
886
886
|
--component-header-shell-padding-inline: var(--semantic-layout-inset-md);
|
|
887
887
|
--component-header-shell-identity-gap: var(--semantic-layout-inline-md);
|
|
888
888
|
--component-header-shell-nav-gap: var(--semantic-layout-inline-sm);
|
|
889
|
+
--component-header-shell-nav-menu-gap: var(--primitives-space-4);
|
|
889
890
|
--component-header-shell-brand-text: var(--semantic-color-text-text-primary);
|
|
890
891
|
--component-header-shell-brand-family: var(--semantic-type-label-label-02-family);
|
|
891
892
|
--component-header-shell-brand-size: var(--semantic-type-label-label-02-size);
|
|
@@ -902,10 +903,13 @@
|
|
|
902
903
|
--component-header-shell-link-line-height: var(--semantic-type-label-label-02-line-height);
|
|
903
904
|
--component-header-shell-link-letter-spacing: var(--semantic-type-label-label-02-letter-spacing);
|
|
904
905
|
--component-header-shell-link-padding-x: var(--semantic-layout-inset-md);
|
|
906
|
+
--component-header-shell-link-submenu-icon-size: var(--primitives-space-16);
|
|
905
907
|
--component-header-shell-link-background-hover: var(--semantic-color-surface-surface-01-hover);
|
|
906
908
|
--component-header-shell-link-focus-ring: var(--semantic-color-focus-focus);
|
|
907
909
|
--component-header-shell-link-indicator: var(--semantic-color-border-border-brand);
|
|
910
|
+
--component-header-shell-link-indicator-height: 3px;
|
|
908
911
|
--component-header-shell-action-size: var(--semantic-layout-control-height-lg);
|
|
912
|
+
--component-header-shell-action-icon-size: var(--primitives-space-24);
|
|
909
913
|
--component-header-shell-action-icon-default: var(--semantic-color-text-text-secondary);
|
|
910
914
|
--component-header-shell-action-icon-hover: var(--semantic-color-text-text-primary);
|
|
911
915
|
--component-header-shell-action-icon-disabled: var(--semantic-color-text-text-disabled);
|
|
@@ -914,6 +918,7 @@
|
|
|
914
918
|
--component-header-shell-action-seam: var(--semantic-color-border-border-subtle);
|
|
915
919
|
--component-header-shell-menu-trigger-icon: var(--semantic-color-text-text-primary);
|
|
916
920
|
--component-header-shell-menu-trigger-size: var(--semantic-layout-control-height-lg);
|
|
921
|
+
--component-header-shell-menu-trigger-icon-size: var(--primitives-space-24);
|
|
917
922
|
--component-index-background-default: var(--semantic-color-background-background);
|
|
918
923
|
--component-index-background-hover: var(--semantic-color-surface-surface-01-hover);
|
|
919
924
|
--component-index-background-selected: var(--semantic-color-background-background-selected);
|
|
@@ -999,6 +1004,29 @@
|
|
|
999
1004
|
--component-link-standalone-label-lg-letter-spacing: 0px;
|
|
1000
1005
|
--component-link-standalone-icon-gap: var(--semantic-layout-inline-2xs);
|
|
1001
1006
|
--component-link-standalone-border-focus: var(--semantic-color-focus-focus);
|
|
1007
|
+
--component-loading-layout-gap: var(--primitives-space-16);
|
|
1008
|
+
--component-loading-layout-indicator-size: 88px;
|
|
1009
|
+
--component-loading-layout-indicator-stroke-width: 8.8px;
|
|
1010
|
+
--component-loading-color-indicator: var(--semantic-color-status-status-info);
|
|
1011
|
+
--component-loading-color-label: var(--semantic-color-text-text-secondary);
|
|
1012
|
+
--component-loading-typography-label-family: var(--semantic-type-label-label-02-family);
|
|
1013
|
+
--component-loading-typography-label-weight: var(--semantic-type-label-label-02-weight);
|
|
1014
|
+
--component-loading-typography-label-size: var(--semantic-type-label-label-02-size);
|
|
1015
|
+
--component-loading-typography-label-line-height: var(--semantic-type-label-label-02-line-height);
|
|
1016
|
+
--component-loading-typography-label-letter-spacing: var(--semantic-type-label-label-02-letter-spacing);
|
|
1017
|
+
--component-inline-loading-layout-gap: var(--primitives-space-8);
|
|
1018
|
+
--component-inline-loading-layout-indicator-size: 16px;
|
|
1019
|
+
--component-inline-loading-layout-indicator-stroke-width: 3px;
|
|
1020
|
+
--component-inline-loading-layout-status-icon-size: 16px;
|
|
1021
|
+
--component-inline-loading-color-indicator-active: var(--semantic-color-status-status-info);
|
|
1022
|
+
--component-inline-loading-color-indicator-finish: var(--semantic-color-status-status-success);
|
|
1023
|
+
--component-inline-loading-color-indicator-error: var(--semantic-color-status-status-error);
|
|
1024
|
+
--component-inline-loading-color-label: var(--semantic-color-text-text-secondary);
|
|
1025
|
+
--component-inline-loading-typography-label-family: var(--semantic-type-label-label-01-family);
|
|
1026
|
+
--component-inline-loading-typography-label-weight: var(--semantic-type-label-label-01-weight);
|
|
1027
|
+
--component-inline-loading-typography-label-size: var(--semantic-type-label-label-01-size);
|
|
1028
|
+
--component-inline-loading-typography-label-line-height: var(--semantic-type-label-label-01-line-height);
|
|
1029
|
+
--component-inline-loading-typography-label-letter-spacing: var(--semantic-type-label-label-01-letter-spacing);
|
|
1002
1030
|
--component-modal-layout-width-md: 608px;
|
|
1003
1031
|
--component-modal-layout-padding-x: var(--primitives-space-24);
|
|
1004
1032
|
--component-modal-layout-padding-y: var(--primitives-space-24);
|
|
@@ -1104,6 +1132,13 @@
|
|
|
1104
1132
|
--component-select-line-height-value: 24px;
|
|
1105
1133
|
--component-select-letter-spacing-type: dimension;
|
|
1106
1134
|
--component-select-letter-spacing-value: 0px;
|
|
1135
|
+
--component-skeleton-layout-border-radius: 4px;
|
|
1136
|
+
--component-skeleton-layout-text-line-height: 16px;
|
|
1137
|
+
--component-skeleton-layout-text-heading-height: 24px;
|
|
1138
|
+
--component-skeleton-layout-text-line-gap: var(--primitives-space-8);
|
|
1139
|
+
--component-skeleton-layout-placeholder-height: 188px;
|
|
1140
|
+
--component-skeleton-color-background: var(--semantic-color-surface-surface-01);
|
|
1141
|
+
--component-skeleton-color-element: var(--semantic-color-surface-surface-01-hover);
|
|
1107
1142
|
--component-structured-list-layout-width: 500px;
|
|
1108
1143
|
--component-structured-list-layout-padding-x: var(--primitives-space-16);
|
|
1109
1144
|
--component-structured-list-layout-column-gap: var(--primitives-space-16);
|
|
@@ -2586,22 +2621,24 @@
|
|
|
2586
2621
|
line-height: var(--component-header-shell-brand-line-height, 18px);
|
|
2587
2622
|
letter-spacing: var(--component-header-shell-brand-letter-spacing, 0.16px);
|
|
2588
2623
|
white-space: nowrap;
|
|
2624
|
+
border-right: 1px solid var(--component-header-shell-divider, #e0e0e0);
|
|
2589
2625
|
}
|
|
2590
2626
|
|
|
2591
2627
|
.liquid-header-shell__nav {
|
|
2592
2628
|
min-width: 0;
|
|
2629
|
+
overflow: visible;
|
|
2593
2630
|
}
|
|
2594
2631
|
|
|
2595
2632
|
.liquid-header-shell__nav-list {
|
|
2596
2633
|
display: flex;
|
|
2597
2634
|
align-items: center;
|
|
2598
|
-
gap: var(--component-header-shell-nav-gap,
|
|
2635
|
+
gap: var(--component-header-shell-nav-menu-gap, 4px);
|
|
2599
2636
|
min-height: var(--component-header-shell-height, 48px);
|
|
2600
|
-
overflow
|
|
2601
|
-
scrollbar-width: thin;
|
|
2637
|
+
overflow: visible;
|
|
2602
2638
|
}
|
|
2603
2639
|
|
|
2604
2640
|
.liquid-header-shell__nav-link {
|
|
2641
|
+
box-sizing: border-box;
|
|
2605
2642
|
position: relative;
|
|
2606
2643
|
min-height: var(--component-header-shell-height, 48px);
|
|
2607
2644
|
display: inline-flex;
|
|
@@ -2620,9 +2657,7 @@
|
|
|
2620
2657
|
text-decoration: none;
|
|
2621
2658
|
white-space: nowrap;
|
|
2622
2659
|
cursor: pointer;
|
|
2623
|
-
transition:
|
|
2624
|
-
background-color 120ms ease,
|
|
2625
|
-
color 120ms ease,
|
|
2660
|
+
transition: background-color 120ms ease, color 120ms ease,
|
|
2626
2661
|
box-shadow 120ms ease;
|
|
2627
2662
|
}
|
|
2628
2663
|
|
|
@@ -2640,14 +2675,15 @@
|
|
|
2640
2675
|
position: absolute;
|
|
2641
2676
|
left: 0;
|
|
2642
2677
|
right: 0;
|
|
2643
|
-
|
|
2644
|
-
height:
|
|
2678
|
+
bottom: 0;
|
|
2679
|
+
height: var(--component-header-shell-link-indicator-height, 3px);
|
|
2645
2680
|
background: var(--component-header-shell-link-indicator, #187089);
|
|
2646
2681
|
}
|
|
2647
2682
|
|
|
2648
2683
|
.liquid-header-shell__nav-link:focus-visible {
|
|
2649
2684
|
outline: none;
|
|
2650
|
-
box-shadow: inset 0 0 0 2px
|
|
2685
|
+
box-shadow: inset 0 0 0 2px
|
|
2686
|
+
var(--component-header-shell-link-focus-ring, #0f62fe);
|
|
2651
2687
|
}
|
|
2652
2688
|
|
|
2653
2689
|
.liquid-header-shell__nav-link:disabled {
|
|
@@ -2668,10 +2704,14 @@
|
|
|
2668
2704
|
}
|
|
2669
2705
|
|
|
2670
2706
|
.liquid-header-shell__action {
|
|
2671
|
-
width: var(
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2707
|
+
width: var(
|
|
2708
|
+
--component-header-shell-action-size,
|
|
2709
|
+
var(--component-header-shell-height, 48px)
|
|
2710
|
+
);
|
|
2711
|
+
height: var(
|
|
2712
|
+
--component-header-shell-action-size,
|
|
2713
|
+
var(--component-header-shell-height, 48px)
|
|
2714
|
+
);
|
|
2675
2715
|
display: inline-flex;
|
|
2676
2716
|
align-items: center;
|
|
2677
2717
|
justify-content: center;
|
|
@@ -2682,9 +2722,7 @@
|
|
|
2682
2722
|
color: var(--component-header-shell-action-icon-default, #525252);
|
|
2683
2723
|
text-decoration: none;
|
|
2684
2724
|
cursor: pointer;
|
|
2685
|
-
transition:
|
|
2686
|
-
background-color 120ms ease,
|
|
2687
|
-
color 120ms ease,
|
|
2725
|
+
transition: background-color 120ms ease, color 120ms ease,
|
|
2688
2726
|
box-shadow 120ms ease;
|
|
2689
2727
|
}
|
|
2690
2728
|
|
|
@@ -2699,7 +2737,8 @@
|
|
|
2699
2737
|
|
|
2700
2738
|
.liquid-header-shell__action:focus-visible {
|
|
2701
2739
|
outline: none;
|
|
2702
|
-
box-shadow: inset 0 0 0 2px
|
|
2740
|
+
box-shadow: inset 0 0 0 2px
|
|
2741
|
+
var(--component-header-shell-action-focus-ring, #0f62fe);
|
|
2703
2742
|
color: var(--component-header-shell-action-icon-hover, #262626);
|
|
2704
2743
|
}
|
|
2705
2744
|
|
|
@@ -2714,16 +2753,51 @@
|
|
|
2714
2753
|
pointer-events: none;
|
|
2715
2754
|
}
|
|
2716
2755
|
|
|
2717
|
-
.liquid-header-shell__action
|
|
2756
|
+
.liquid-header-shell__action + .liquid-header-shell__action {
|
|
2718
2757
|
border-left: 1px solid var(--component-header-shell-action-seam, #e0e0e0);
|
|
2719
2758
|
}
|
|
2720
2759
|
|
|
2721
2760
|
.liquid-header-shell__menu-trigger {
|
|
2722
2761
|
color: var(--component-header-shell-menu-trigger-icon, #262626);
|
|
2723
|
-
width: var(
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2762
|
+
width: var(
|
|
2763
|
+
--component-header-shell-menu-trigger-size,
|
|
2764
|
+
var(--component-header-shell-action-size, 48px)
|
|
2765
|
+
);
|
|
2766
|
+
height: var(
|
|
2767
|
+
--component-header-shell-menu-trigger-size,
|
|
2768
|
+
var(--component-header-shell-action-size, 48px)
|
|
2769
|
+
);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
.liquid-header-shell__menu-trigger > span,
|
|
2773
|
+
.liquid-header-shell__menu-trigger svg {
|
|
2774
|
+
width: var(--component-header-shell-menu-trigger-icon-size, 24px);
|
|
2775
|
+
height: var(--component-header-shell-menu-trigger-icon-size, 24px);
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
.liquid-header-shell__submenu {
|
|
2779
|
+
position: relative;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
.liquid-header-shell__submenu-trigger {
|
|
2783
|
+
gap: var(--component-header-shell-nav-menu-gap, 4px);
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
.liquid-header-shell__submenu-panel {
|
|
2787
|
+
position: absolute;
|
|
2788
|
+
top: 100%;
|
|
2789
|
+
left: 0;
|
|
2790
|
+
z-index: 20;
|
|
2791
|
+
min-width: 180px;
|
|
2792
|
+
padding-block: 4px;
|
|
2793
|
+
background: var(--component-header-shell-background, #ffffff);
|
|
2794
|
+
border: 1px solid var(--component-header-shell-divider, #e0e0e0);
|
|
2795
|
+
box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
.liquid-header-shell__submenu-panel .liquid-header-shell__nav-link {
|
|
2799
|
+
width: 100%;
|
|
2800
|
+
justify-content: flex-start;
|
|
2727
2801
|
}
|
|
2728
2802
|
|
|
2729
2803
|
.liquid-header-shell__right-spacer {
|
|
@@ -2740,12 +2814,14 @@
|
|
|
2740
2814
|
}
|
|
2741
2815
|
|
|
2742
2816
|
@media (max-width: 671px) {
|
|
2743
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2817
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2818
|
+
.liquid-header-shell__inner {
|
|
2744
2819
|
position: relative;
|
|
2745
2820
|
justify-content: flex-start;
|
|
2746
2821
|
}
|
|
2747
2822
|
|
|
2748
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2823
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2824
|
+
.liquid-header-shell__left {
|
|
2749
2825
|
width: 100%;
|
|
2750
2826
|
}
|
|
2751
2827
|
|
|
@@ -2754,31 +2830,40 @@
|
|
|
2754
2830
|
padding-inline: 8px;
|
|
2755
2831
|
}
|
|
2756
2832
|
|
|
2757
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2833
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2834
|
+
.liquid-header-shell__brand {
|
|
2758
2835
|
position: absolute;
|
|
2759
2836
|
left: 50%;
|
|
2760
2837
|
transform: translateX(-50%);
|
|
2761
2838
|
padding-inline: 8px;
|
|
2839
|
+
border-right: 0;
|
|
2762
2840
|
}
|
|
2763
2841
|
|
|
2764
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2765
|
-
|
|
2842
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2843
|
+
.liquid-header-shell__nav,
|
|
2844
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2845
|
+
.liquid-header-shell__actions {
|
|
2766
2846
|
display: none;
|
|
2767
2847
|
}
|
|
2768
2848
|
|
|
2769
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2849
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2850
|
+
.liquid-header-shell__menu-trigger {
|
|
2770
2851
|
display: inline-flex;
|
|
2771
2852
|
}
|
|
2772
2853
|
|
|
2773
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2854
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2855
|
+
.liquid-header-shell__right-spacer {
|
|
2774
2856
|
display: block;
|
|
2775
|
-
width: var(
|
|
2776
|
-
|
|
2857
|
+
width: var(
|
|
2858
|
+
--component-header-shell-menu-trigger-size,
|
|
2859
|
+
var(--component-header-shell-action-size, 48px)
|
|
2860
|
+
);
|
|
2777
2861
|
height: 1px;
|
|
2778
2862
|
margin-left: auto;
|
|
2779
2863
|
}
|
|
2780
2864
|
|
|
2781
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2865
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2866
|
+
.liquid-header-shell__mobile-layer {
|
|
2782
2867
|
position: fixed;
|
|
2783
2868
|
inset: 0;
|
|
2784
2869
|
top: var(--component-header-shell-height, 48px);
|
|
@@ -2786,7 +2871,8 @@
|
|
|
2786
2871
|
display: none;
|
|
2787
2872
|
}
|
|
2788
2873
|
|
|
2789
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2874
|
+
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
2875
|
+
.liquid-header-shell__mobile-layer[data-open='true'] {
|
|
2790
2876
|
display: block;
|
|
2791
2877
|
}
|
|
2792
2878
|
|
|
@@ -2827,13 +2913,28 @@
|
|
|
2827
2913
|
min-height: 44px;
|
|
2828
2914
|
}
|
|
2829
2915
|
|
|
2830
|
-
.liquid-header-shell__mobile-nav-list
|
|
2916
|
+
.liquid-header-shell__mobile-nav-list
|
|
2917
|
+
.liquid-header-shell__nav-link[data-selected='true']::before {
|
|
2831
2918
|
left: 0;
|
|
2832
2919
|
right: auto;
|
|
2833
2920
|
width: 2px;
|
|
2834
2921
|
height: 100%;
|
|
2835
2922
|
}
|
|
2836
2923
|
|
|
2924
|
+
.liquid-header-shell__mobile-nav-list .liquid-header-shell__submenu-panel {
|
|
2925
|
+
position: static;
|
|
2926
|
+
min-width: 0;
|
|
2927
|
+
padding-block: 0;
|
|
2928
|
+
border: 0;
|
|
2929
|
+
box-shadow: none;
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
.liquid-header-shell__mobile-nav-list
|
|
2933
|
+
.liquid-header-shell__submenu-panel
|
|
2934
|
+
.liquid-header-shell__nav-link {
|
|
2935
|
+
padding-inline-start: 28px;
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2837
2938
|
.liquid-header-shell__mobile-actions {
|
|
2838
2939
|
display: grid;
|
|
2839
2940
|
grid-template-columns: 1fr;
|
|
@@ -2850,7 +2951,9 @@
|
|
|
2850
2951
|
padding-inline: 12px;
|
|
2851
2952
|
}
|
|
2852
2953
|
|
|
2853
|
-
.liquid-header-shell__mobile-actions
|
|
2954
|
+
.liquid-header-shell__mobile-actions
|
|
2955
|
+
.liquid-header-shell__action
|
|
2956
|
+
+ .liquid-header-shell__action {
|
|
2854
2957
|
border-left: 0;
|
|
2855
2958
|
}
|
|
2856
2959
|
|
|
@@ -2870,7 +2973,6 @@
|
|
|
2870
2973
|
}
|
|
2871
2974
|
|
|
2872
2975
|
@media (min-width: 672px) {
|
|
2873
|
-
|
|
2874
2976
|
.liquid-header-shell__menu-trigger,
|
|
2875
2977
|
.liquid-header-shell__right-spacer,
|
|
2876
2978
|
.liquid-header-shell__mobile-layer,
|
|
@@ -3267,6 +3369,120 @@
|
|
|
3267
3369
|
height: 20px;
|
|
3268
3370
|
}
|
|
3269
3371
|
|
|
3372
|
+
.liquid-loading {
|
|
3373
|
+
display: flex;
|
|
3374
|
+
flex-direction: column;
|
|
3375
|
+
align-items: center;
|
|
3376
|
+
gap: var(--component-loading-layout-gap, 16px);
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
.liquid-loading__spinner {
|
|
3380
|
+
box-sizing: border-box;
|
|
3381
|
+
display: block;
|
|
3382
|
+
width: var(--component-loading-layout-indicator-size, 88px);
|
|
3383
|
+
height: var(--component-loading-layout-indicator-size, 88px);
|
|
3384
|
+
border: var(--component-loading-layout-indicator-stroke-width, 8.8px) solid
|
|
3385
|
+
transparent;
|
|
3386
|
+
border-top-color: var(--component-loading-color-indicator, #0f62fe);
|
|
3387
|
+
border-right-color: var(--component-loading-color-indicator, #0f62fe);
|
|
3388
|
+
border-radius: 50%;
|
|
3389
|
+
animation: liquid-loading-spin 0.9s linear infinite;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
.liquid-loading__label {
|
|
3393
|
+
color: var(--component-loading-color-label, #525252);
|
|
3394
|
+
font-family: var(--component-loading-typography-label-family, Cabin);
|
|
3395
|
+
font-size: var(--component-loading-typography-label-size, 12px);
|
|
3396
|
+
font-weight: var(--component-loading-typography-label-weight, 500);
|
|
3397
|
+
line-height: var(--component-loading-typography-label-line-height, 16px);
|
|
3398
|
+
letter-spacing: var(
|
|
3399
|
+
--component-loading-typography-label-letter-spacing,
|
|
3400
|
+
0.32px
|
|
3401
|
+
);
|
|
3402
|
+
}
|
|
3403
|
+
|
|
3404
|
+
@keyframes liquid-loading-spin {
|
|
3405
|
+
to {
|
|
3406
|
+
transform: rotate(360deg);
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
|
|
3410
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3411
|
+
.liquid-loading__spinner {
|
|
3412
|
+
animation: none;
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
.liquid-loading-inline {
|
|
3417
|
+
display: inline-flex;
|
|
3418
|
+
align-items: center;
|
|
3419
|
+
gap: var(--component-inline-loading-layout-gap, 8px);
|
|
3420
|
+
vertical-align: middle;
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3423
|
+
.liquid-loading-inline__spinner {
|
|
3424
|
+
box-sizing: border-box;
|
|
3425
|
+
display: inline-block;
|
|
3426
|
+
width: var(--component-inline-loading-layout-indicator-size, 16px);
|
|
3427
|
+
height: var(--component-inline-loading-layout-indicator-size, 16px);
|
|
3428
|
+
flex: 0 0 auto;
|
|
3429
|
+
border: var(--component-inline-loading-layout-indicator-stroke-width, 3px)
|
|
3430
|
+
solid transparent;
|
|
3431
|
+
border-top-color: var(
|
|
3432
|
+
--component-inline-loading-color-indicator-active,
|
|
3433
|
+
#0f62fe
|
|
3434
|
+
);
|
|
3435
|
+
border-right-color: var(
|
|
3436
|
+
--component-inline-loading-color-indicator-active,
|
|
3437
|
+
#0f62fe
|
|
3438
|
+
);
|
|
3439
|
+
border-radius: 50%;
|
|
3440
|
+
animation: liquid-loading-inline-spin 0.9s linear infinite;
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3443
|
+
.liquid-loading-inline__status-icon {
|
|
3444
|
+
display: inline-flex;
|
|
3445
|
+
width: var(--component-inline-loading-layout-status-icon-size, 16px);
|
|
3446
|
+
height: var(--component-inline-loading-layout-status-icon-size, 16px);
|
|
3447
|
+
flex: 0 0 auto;
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3450
|
+
.liquid-loading-inline[data-state='finish']
|
|
3451
|
+
.liquid-loading-inline__status-icon {
|
|
3452
|
+
color: var(--component-inline-loading-color-indicator-finish, #24a148);
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
.liquid-loading-inline[data-state='error'] .liquid-loading-inline__status-icon {
|
|
3456
|
+
color: var(--component-inline-loading-color-indicator-error, #da1e28);
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
.liquid-loading-inline__label {
|
|
3460
|
+
color: var(--component-inline-loading-color-label, #525252);
|
|
3461
|
+
font-family: var(--component-inline-loading-typography-label-family, Cabin);
|
|
3462
|
+
font-size: var(--component-inline-loading-typography-label-size, 14px);
|
|
3463
|
+
font-weight: var(--component-inline-loading-typography-label-weight, 500);
|
|
3464
|
+
line-height: var(
|
|
3465
|
+
--component-inline-loading-typography-label-line-height,
|
|
3466
|
+
18px
|
|
3467
|
+
);
|
|
3468
|
+
letter-spacing: var(
|
|
3469
|
+
--component-inline-loading-typography-label-letter-spacing,
|
|
3470
|
+
0.16px
|
|
3471
|
+
);
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
@keyframes liquid-loading-inline-spin {
|
|
3475
|
+
to {
|
|
3476
|
+
transform: rotate(360deg);
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3481
|
+
.liquid-loading-inline__spinner {
|
|
3482
|
+
animation: none;
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3270
3486
|
.liquid-modal {
|
|
3271
3487
|
width: min(100%, var(--component-modal-layout-width-md, 608px));
|
|
3272
3488
|
display: flex;
|
|
@@ -4009,6 +4225,101 @@
|
|
|
4009
4225
|
color: var(--component-select-field-text-disabled, #a8a8a8);
|
|
4010
4226
|
}
|
|
4011
4227
|
|
|
4228
|
+
.liquid-skeleton {
|
|
4229
|
+
box-sizing: border-box;
|
|
4230
|
+
display: block;
|
|
4231
|
+
width: 100%;
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
.liquid-skeleton__text,
|
|
4235
|
+
.liquid-skeleton__placeholder {
|
|
4236
|
+
box-sizing: border-box;
|
|
4237
|
+
position: relative;
|
|
4238
|
+
display: block;
|
|
4239
|
+
overflow: hidden;
|
|
4240
|
+
border: none;
|
|
4241
|
+
border-radius: var(--component-skeleton-layout-border-radius, 4px);
|
|
4242
|
+
background: var(--component-skeleton-color-background, #f4f4f4);
|
|
4243
|
+
pointer-events: none;
|
|
4244
|
+
}
|
|
4245
|
+
|
|
4246
|
+
.liquid-skeleton__text {
|
|
4247
|
+
width: 100%;
|
|
4248
|
+
height: var(--component-skeleton-layout-text-line-height, 16px);
|
|
4249
|
+
margin-block-end: var(--component-skeleton-layout-text-line-gap, 8px);
|
|
4250
|
+
}
|
|
4251
|
+
|
|
4252
|
+
.liquid-skeleton__text:last-child {
|
|
4253
|
+
margin-block-end: 0;
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4256
|
+
.liquid-skeleton__text--heading {
|
|
4257
|
+
height: var(--component-skeleton-layout-text-heading-height, 24px);
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4260
|
+
.liquid-skeleton__placeholder {
|
|
4261
|
+
width: 100%;
|
|
4262
|
+
height: var(--component-skeleton-layout-placeholder-height, 188px);
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
.liquid-skeleton__text::before,
|
|
4266
|
+
.liquid-skeleton__placeholder::before {
|
|
4267
|
+
content: '';
|
|
4268
|
+
position: absolute;
|
|
4269
|
+
inset-inline-start: 0;
|
|
4270
|
+
width: 100%;
|
|
4271
|
+
height: 100%;
|
|
4272
|
+
background: var(--component-skeleton-color-element, #e0e0e0);
|
|
4273
|
+
animation: liquid-skeleton-shimmer 3000ms ease-in-out infinite;
|
|
4274
|
+
will-change: transform, opacity;
|
|
4275
|
+
}
|
|
4276
|
+
|
|
4277
|
+
@keyframes liquid-skeleton-shimmer {
|
|
4278
|
+
0% {
|
|
4279
|
+
opacity: 0.3;
|
|
4280
|
+
transform: scaleX(0);
|
|
4281
|
+
transform-origin: left;
|
|
4282
|
+
}
|
|
4283
|
+
20% {
|
|
4284
|
+
opacity: 1;
|
|
4285
|
+
transform: scaleX(1);
|
|
4286
|
+
transform-origin: left;
|
|
4287
|
+
}
|
|
4288
|
+
28% {
|
|
4289
|
+
transform: scaleX(1);
|
|
4290
|
+
transform-origin: right;
|
|
4291
|
+
}
|
|
4292
|
+
51%,
|
|
4293
|
+
58% {
|
|
4294
|
+
transform: scaleX(0);
|
|
4295
|
+
transform-origin: right;
|
|
4296
|
+
}
|
|
4297
|
+
82% {
|
|
4298
|
+
transform: scaleX(1);
|
|
4299
|
+
transform-origin: right;
|
|
4300
|
+
}
|
|
4301
|
+
83% {
|
|
4302
|
+
transform: scaleX(1);
|
|
4303
|
+
transform-origin: left;
|
|
4304
|
+
}
|
|
4305
|
+
96% {
|
|
4306
|
+
transform: scaleX(0);
|
|
4307
|
+
transform-origin: left;
|
|
4308
|
+
}
|
|
4309
|
+
100% {
|
|
4310
|
+
opacity: 0.3;
|
|
4311
|
+
transform: scaleX(0);
|
|
4312
|
+
transform-origin: left;
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4317
|
+
.liquid-skeleton__text::before,
|
|
4318
|
+
.liquid-skeleton__placeholder::before {
|
|
4319
|
+
animation: none;
|
|
4320
|
+
}
|
|
4321
|
+
}
|
|
4322
|
+
|
|
4012
4323
|
.liquid-structured-list {
|
|
4013
4324
|
width: min(100%, var(--component-structured-list-layout-width, 500px));
|
|
4014
4325
|
}
|
|
@@ -282,6 +282,7 @@
|
|
|
282
282
|
--component-header-shell-padding-inline: var(--semantic-layout-inset-md);
|
|
283
283
|
--component-header-shell-identity-gap: var(--semantic-layout-inline-md);
|
|
284
284
|
--component-header-shell-nav-gap: var(--semantic-layout-inline-sm);
|
|
285
|
+
--component-header-shell-nav-menu-gap: var(--primitives-space-4);
|
|
285
286
|
--component-header-shell-brand-text: var(--semantic-color-text-text-primary);
|
|
286
287
|
--component-header-shell-brand-family: var(--semantic-type-label-label-02-family);
|
|
287
288
|
--component-header-shell-brand-size: var(--semantic-type-label-label-02-size);
|
|
@@ -298,10 +299,13 @@
|
|
|
298
299
|
--component-header-shell-link-line-height: var(--semantic-type-label-label-02-line-height);
|
|
299
300
|
--component-header-shell-link-letter-spacing: var(--semantic-type-label-label-02-letter-spacing);
|
|
300
301
|
--component-header-shell-link-padding-x: var(--semantic-layout-inset-md);
|
|
302
|
+
--component-header-shell-link-submenu-icon-size: var(--primitives-space-16);
|
|
301
303
|
--component-header-shell-link-background-hover: var(--semantic-color-surface-surface-01-hover);
|
|
302
304
|
--component-header-shell-link-focus-ring: var(--semantic-color-focus-focus);
|
|
303
305
|
--component-header-shell-link-indicator: var(--semantic-color-border-border-brand);
|
|
306
|
+
--component-header-shell-link-indicator-height: 3px;
|
|
304
307
|
--component-header-shell-action-size: var(--semantic-layout-control-height-lg);
|
|
308
|
+
--component-header-shell-action-icon-size: var(--primitives-space-24);
|
|
305
309
|
--component-header-shell-action-icon-default: var(--semantic-color-text-text-secondary);
|
|
306
310
|
--component-header-shell-action-icon-hover: var(--semantic-color-text-text-primary);
|
|
307
311
|
--component-header-shell-action-icon-disabled: var(--semantic-color-text-text-disabled);
|
|
@@ -310,6 +314,7 @@
|
|
|
310
314
|
--component-header-shell-action-seam: var(--semantic-color-border-border-subtle);
|
|
311
315
|
--component-header-shell-menu-trigger-icon: var(--semantic-color-text-text-primary);
|
|
312
316
|
--component-header-shell-menu-trigger-size: var(--semantic-layout-control-height-lg);
|
|
317
|
+
--component-header-shell-menu-trigger-icon-size: var(--primitives-space-24);
|
|
313
318
|
--component-index-background-default: var(--semantic-color-background-background);
|
|
314
319
|
--component-index-background-hover: var(--semantic-color-surface-surface-01-hover);
|
|
315
320
|
--component-index-background-selected: var(--semantic-color-background-background-selected);
|
|
@@ -395,6 +400,29 @@
|
|
|
395
400
|
--component-link-standalone-label-lg-letter-spacing: 0px;
|
|
396
401
|
--component-link-standalone-icon-gap: var(--semantic-layout-inline-2xs);
|
|
397
402
|
--component-link-standalone-border-focus: var(--semantic-color-focus-focus);
|
|
403
|
+
--component-loading-layout-gap: var(--primitives-space-16);
|
|
404
|
+
--component-loading-layout-indicator-size: 88px;
|
|
405
|
+
--component-loading-layout-indicator-stroke-width: 8.8px;
|
|
406
|
+
--component-loading-color-indicator: var(--semantic-color-status-status-info);
|
|
407
|
+
--component-loading-color-label: var(--semantic-color-text-text-secondary);
|
|
408
|
+
--component-loading-typography-label-family: var(--semantic-type-label-label-02-family);
|
|
409
|
+
--component-loading-typography-label-weight: var(--semantic-type-label-label-02-weight);
|
|
410
|
+
--component-loading-typography-label-size: var(--semantic-type-label-label-02-size);
|
|
411
|
+
--component-loading-typography-label-line-height: var(--semantic-type-label-label-02-line-height);
|
|
412
|
+
--component-loading-typography-label-letter-spacing: var(--semantic-type-label-label-02-letter-spacing);
|
|
413
|
+
--component-inline-loading-layout-gap: var(--primitives-space-8);
|
|
414
|
+
--component-inline-loading-layout-indicator-size: 16px;
|
|
415
|
+
--component-inline-loading-layout-indicator-stroke-width: 3px;
|
|
416
|
+
--component-inline-loading-layout-status-icon-size: 16px;
|
|
417
|
+
--component-inline-loading-color-indicator-active: var(--semantic-color-status-status-info);
|
|
418
|
+
--component-inline-loading-color-indicator-finish: var(--semantic-color-status-status-success);
|
|
419
|
+
--component-inline-loading-color-indicator-error: var(--semantic-color-status-status-error);
|
|
420
|
+
--component-inline-loading-color-label: var(--semantic-color-text-text-secondary);
|
|
421
|
+
--component-inline-loading-typography-label-family: var(--semantic-type-label-label-01-family);
|
|
422
|
+
--component-inline-loading-typography-label-weight: var(--semantic-type-label-label-01-weight);
|
|
423
|
+
--component-inline-loading-typography-label-size: var(--semantic-type-label-label-01-size);
|
|
424
|
+
--component-inline-loading-typography-label-line-height: var(--semantic-type-label-label-01-line-height);
|
|
425
|
+
--component-inline-loading-typography-label-letter-spacing: var(--semantic-type-label-label-01-letter-spacing);
|
|
398
426
|
--component-modal-layout-width-md: 608px;
|
|
399
427
|
--component-modal-layout-padding-x: var(--primitives-space-24);
|
|
400
428
|
--component-modal-layout-padding-y: var(--primitives-space-24);
|
|
@@ -500,6 +528,13 @@
|
|
|
500
528
|
--component-select-line-height-value: 24px;
|
|
501
529
|
--component-select-letter-spacing-type: dimension;
|
|
502
530
|
--component-select-letter-spacing-value: 0px;
|
|
531
|
+
--component-skeleton-layout-border-radius: 4px;
|
|
532
|
+
--component-skeleton-layout-text-line-height: 16px;
|
|
533
|
+
--component-skeleton-layout-text-heading-height: 24px;
|
|
534
|
+
--component-skeleton-layout-text-line-gap: var(--primitives-space-8);
|
|
535
|
+
--component-skeleton-layout-placeholder-height: 188px;
|
|
536
|
+
--component-skeleton-color-background: var(--semantic-color-surface-surface-01);
|
|
537
|
+
--component-skeleton-color-element: var(--semantic-color-surface-surface-01-hover);
|
|
503
538
|
--component-structured-list-layout-width: 500px;
|
|
504
539
|
--component-structured-list-layout-padding-x: var(--primitives-space-16);
|
|
505
540
|
--component-structured-list-layout-column-gap: var(--primitives-space-16);
|
package/dist/types.d.ts
CHANGED
|
@@ -25,6 +25,25 @@ export type LinkSize = 'sm' | 'md' | 'lg';
|
|
|
25
25
|
export type LinkState = 'default' | 'hover' | 'focus' | 'visited';
|
|
26
26
|
export type InlineNotificationKind = 'default' | 'actionable';
|
|
27
27
|
export type InlineNotificationStatus = 'information' | 'success' | 'warning' | 'error';
|
|
28
|
+
export interface LoadingProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role' | 'aria-live' | 'aria-atomic' | 'aria-label'> {
|
|
29
|
+
label?: string;
|
|
30
|
+
showLabel?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export type SkeletonVariant = 'text' | 'placeholder';
|
|
33
|
+
export interface SkeletonProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
34
|
+
heading?: boolean;
|
|
35
|
+
label?: string;
|
|
36
|
+
lineCount?: number;
|
|
37
|
+
paragraph?: boolean;
|
|
38
|
+
variant?: SkeletonVariant;
|
|
39
|
+
width?: string;
|
|
40
|
+
}
|
|
41
|
+
export type LoadingInlineState = 'active' | 'finish' | 'error';
|
|
42
|
+
export interface LoadingInlineProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children' | 'role' | 'aria-live' | 'aria-atomic' | 'aria-label'> {
|
|
43
|
+
label?: string;
|
|
44
|
+
showLabel?: boolean;
|
|
45
|
+
state?: LoadingInlineState;
|
|
46
|
+
}
|
|
28
47
|
export type GridBreakpoint = 'sm' | 'md' | 'lg' | 'xlg' | 'max';
|
|
29
48
|
export interface GridColumnSpan {
|
|
30
49
|
offset?: number;
|
|
@@ -177,8 +196,10 @@ export type LinkProps = LinkBaseProps & (LinkAnchorProps | LinkButtonProps);
|
|
|
177
196
|
export interface HeaderShellNavigationItem {
|
|
178
197
|
id: string;
|
|
179
198
|
label: ReactNode;
|
|
199
|
+
type?: 'link' | 'submenu';
|
|
180
200
|
href?: string;
|
|
181
201
|
disabled?: boolean;
|
|
202
|
+
submenuItems?: HeaderShellNavigationItem[];
|
|
182
203
|
}
|
|
183
204
|
export interface HeaderShellUtilityAction {
|
|
184
205
|
id: string;
|
|
@@ -187,6 +208,9 @@ export interface HeaderShellUtilityAction {
|
|
|
187
208
|
href?: string;
|
|
188
209
|
iconSize?: number;
|
|
189
210
|
disabled?: boolean;
|
|
211
|
+
expanded?: boolean;
|
|
212
|
+
expandedControlsId?: string;
|
|
213
|
+
hasPopup?: boolean;
|
|
190
214
|
onClick?: () => void;
|
|
191
215
|
}
|
|
192
216
|
export interface HeaderShellProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'onChange'> {
|
|
@@ -201,6 +225,8 @@ export interface HeaderShellProps extends Omit<HTMLAttributes<HTMLElement>, 'chi
|
|
|
201
225
|
onMenuTriggerClick?: () => void;
|
|
202
226
|
onNavigationChange?: (itemId: string, item: HeaderShellNavigationItem) => void;
|
|
203
227
|
showMenuTrigger?: boolean;
|
|
228
|
+
showNav?: boolean;
|
|
229
|
+
showUtilities?: boolean;
|
|
204
230
|
}
|
|
205
231
|
export interface InlineNotificationProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'title'> {
|
|
206
232
|
actionHref?: string;
|