@incursa/ui-kit 0.3.1 → 0.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/README.md +5 -5
- package/dist/inc-design-language.css +131 -0
- package/dist/inc-design-language.css.map +1 -1
- package/dist/inc-design-language.js +363 -13
- package/dist/inc-design-language.min.css +1 -1
- package/dist/inc-design-language.min.css.map +1 -1
- package/package.json +1 -12
- package/src/inc-design-language.js +363 -13
- package/src/inc-design-language.scss +153 -0
|
@@ -712,6 +712,37 @@
|
|
|
712
712
|
@extend .form-floating;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
+
&__fieldset {
|
|
716
|
+
margin: 0;
|
|
717
|
+
padding: 1rem 1rem 0.875rem;
|
|
718
|
+
border: 1px solid $inc-border-subtle;
|
|
719
|
+
border-radius: $inc-radius-md;
|
|
720
|
+
background: linear-gradient(180deg, rgba($inc-surface-secondary, 0.72), $inc-surface-primary 3rem);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
&__legend {
|
|
724
|
+
float: none;
|
|
725
|
+
width: auto;
|
|
726
|
+
margin: 0;
|
|
727
|
+
padding: 0 0.375rem;
|
|
728
|
+
color: $body-color;
|
|
729
|
+
font-size: 0.8125rem;
|
|
730
|
+
font-weight: 600;
|
|
731
|
+
line-height: 1.4;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
&__choices {
|
|
735
|
+
display: flex;
|
|
736
|
+
flex-direction: column;
|
|
737
|
+
gap: 0.75rem;
|
|
738
|
+
|
|
739
|
+
&--inline {
|
|
740
|
+
flex-direction: row;
|
|
741
|
+
flex-wrap: wrap;
|
|
742
|
+
gap: 0.75rem 1rem;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
|
|
715
746
|
&__field {
|
|
716
747
|
display: flex;
|
|
717
748
|
align-items: center;
|
|
@@ -2171,6 +2202,7 @@
|
|
|
2171
2202
|
align-items: center;
|
|
2172
2203
|
gap: 0.5rem;
|
|
2173
2204
|
padding: 1rem;
|
|
2205
|
+
font: inherit;
|
|
2174
2206
|
color: $inc-ink-600;
|
|
2175
2207
|
border-top-left-radius: $inc-radius-panel;
|
|
2176
2208
|
border-top-right-radius: $inc-radius-panel;
|
|
@@ -2178,6 +2210,8 @@
|
|
|
2178
2210
|
height: 2.5rem;
|
|
2179
2211
|
text-decoration: none;
|
|
2180
2212
|
border: 1px solid $inc-border-subtle;
|
|
2213
|
+
cursor: pointer;
|
|
2214
|
+
appearance: none;
|
|
2181
2215
|
|
|
2182
2216
|
.inc-tab-icon {
|
|
2183
2217
|
color: $inc-brand-800;
|
|
@@ -2234,9 +2268,14 @@
|
|
|
2234
2268
|
align-items: center;
|
|
2235
2269
|
gap: 0.5rem;
|
|
2236
2270
|
padding: 1rem 0.25rem;
|
|
2271
|
+
font: inherit;
|
|
2237
2272
|
color: $inc-text-secondary;
|
|
2273
|
+
background: none;
|
|
2274
|
+
border: 0;
|
|
2238
2275
|
text-decoration: none;
|
|
2239
2276
|
border-bottom: 2px solid transparent;
|
|
2277
|
+
cursor: pointer;
|
|
2278
|
+
appearance: none;
|
|
2240
2279
|
|
|
2241
2280
|
.inc-tab-icon {
|
|
2242
2281
|
color: $inc-brand-800;
|
|
@@ -2584,6 +2623,19 @@ dialog.inc-native-dialog {
|
|
|
2584
2623
|
}
|
|
2585
2624
|
}
|
|
2586
2625
|
|
|
2626
|
+
dialog.inc-native-dialog.inc-native-dialog--drawer {
|
|
2627
|
+
width: min(100vw, 34rem);
|
|
2628
|
+
max-width: 34rem;
|
|
2629
|
+
height: 100dvh;
|
|
2630
|
+
max-height: none;
|
|
2631
|
+
margin: 0 0 0 auto;
|
|
2632
|
+
|
|
2633
|
+
&::backdrop {
|
|
2634
|
+
background: rgba($inc-ink-900, 0.42);
|
|
2635
|
+
backdrop-filter: none;
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2587
2639
|
.inc-native-dialog__surface {
|
|
2588
2640
|
border: 1px solid $inc-border-subtle;
|
|
2589
2641
|
border-radius: $inc-radius-panel;
|
|
@@ -2592,6 +2644,14 @@ dialog.inc-native-dialog {
|
|
|
2592
2644
|
overflow: hidden;
|
|
2593
2645
|
}
|
|
2594
2646
|
|
|
2647
|
+
dialog.inc-native-dialog.inc-native-dialog--drawer .inc-native-dialog__surface {
|
|
2648
|
+
height: 100%;
|
|
2649
|
+
border-radius: 0;
|
|
2650
|
+
display: flex;
|
|
2651
|
+
flex-direction: column;
|
|
2652
|
+
border-right: 0;
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2595
2655
|
.inc-native-dialog__header {
|
|
2596
2656
|
display: flex;
|
|
2597
2657
|
align-items: center;
|
|
@@ -2612,6 +2672,11 @@ dialog.inc-native-dialog {
|
|
|
2612
2672
|
padding: 1.25rem;
|
|
2613
2673
|
}
|
|
2614
2674
|
|
|
2675
|
+
dialog.inc-native-dialog.inc-native-dialog--drawer .inc-native-dialog__body {
|
|
2676
|
+
flex: 1 1 auto;
|
|
2677
|
+
overflow-y: auto;
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2615
2680
|
.inc-native-dialog__footer {
|
|
2616
2681
|
display: flex;
|
|
2617
2682
|
justify-content: flex-end;
|
|
@@ -2692,6 +2757,91 @@ dialog.inc-native-dialog {
|
|
|
2692
2757
|
}
|
|
2693
2758
|
}
|
|
2694
2759
|
|
|
2760
|
+
.inc-live-region {
|
|
2761
|
+
display: flex;
|
|
2762
|
+
flex-direction: column;
|
|
2763
|
+
gap: 0.75rem;
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
.inc-progress,
|
|
2767
|
+
.inc-meter {
|
|
2768
|
+
width: 100%;
|
|
2769
|
+
height: 0.75rem;
|
|
2770
|
+
overflow: hidden;
|
|
2771
|
+
border: 0;
|
|
2772
|
+
border-radius: 999px;
|
|
2773
|
+
background: $inc-surface-muted;
|
|
2774
|
+
vertical-align: middle;
|
|
2775
|
+
appearance: none;
|
|
2776
|
+
--inc-track-color: #{$inc-surface-muted};
|
|
2777
|
+
--inc-fill-color: #{$primary};
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
.inc-progress {
|
|
2781
|
+
&--sm {
|
|
2782
|
+
height: 0.5rem;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
&--success {
|
|
2786
|
+
--inc-fill-color: #{$success};
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
&--warning {
|
|
2790
|
+
--inc-fill-color: #{$warning};
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
&--danger {
|
|
2794
|
+
--inc-fill-color: #{$danger};
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
&::-webkit-progress-bar {
|
|
2798
|
+
background: var(--inc-track-color);
|
|
2799
|
+
border-radius: inherit;
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
&::-webkit-progress-value {
|
|
2803
|
+
background: var(--inc-fill-color);
|
|
2804
|
+
border-radius: inherit;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
&::-moz-progress-bar {
|
|
2808
|
+
background: var(--inc-fill-color);
|
|
2809
|
+
border-radius: inherit;
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
.inc-meter {
|
|
2814
|
+
&--success {
|
|
2815
|
+
--inc-fill-color: #{$success};
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
&--warning {
|
|
2819
|
+
--inc-fill-color: #{$warning};
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
&--danger {
|
|
2823
|
+
--inc-fill-color: #{$danger};
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
&::-webkit-meter-bar {
|
|
2827
|
+
background: var(--inc-track-color);
|
|
2828
|
+
border: 0;
|
|
2829
|
+
border-radius: inherit;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
&::-webkit-meter-optimum-value,
|
|
2833
|
+
&::-webkit-meter-suboptimum-value,
|
|
2834
|
+
&::-webkit-meter-even-less-good-value {
|
|
2835
|
+
background: var(--inc-fill-color);
|
|
2836
|
+
border-radius: inherit;
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
&::-moz-meter-bar {
|
|
2840
|
+
background: var(--inc-fill-color);
|
|
2841
|
+
border-radius: inherit;
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2695
2845
|
.inc-alert-container {
|
|
2696
2846
|
@extend .container-xxl;
|
|
2697
2847
|
position: relative;
|
|
@@ -4106,6 +4256,7 @@ body.inc-offcanvas-open {
|
|
|
4106
4256
|
flex-direction: column;
|
|
4107
4257
|
gap: 0.25rem;
|
|
4108
4258
|
min-width: 0;
|
|
4259
|
+
margin: 0;
|
|
4109
4260
|
|
|
4110
4261
|
&--card {
|
|
4111
4262
|
padding: 0.875rem 1rem;
|
|
@@ -4115,6 +4266,7 @@ body.inc-offcanvas-open {
|
|
|
4115
4266
|
}
|
|
4116
4267
|
|
|
4117
4268
|
&__label {
|
|
4269
|
+
margin: 0;
|
|
4118
4270
|
color: $text-muted;
|
|
4119
4271
|
font-size: 0.75rem;
|
|
4120
4272
|
font-weight: 600;
|
|
@@ -4123,6 +4275,7 @@ body.inc-offcanvas-open {
|
|
|
4123
4275
|
}
|
|
4124
4276
|
|
|
4125
4277
|
&__value {
|
|
4278
|
+
margin: 0;
|
|
4126
4279
|
color: $body-color;
|
|
4127
4280
|
font-size: 0.875rem;
|
|
4128
4281
|
font-weight: 500;
|