@flux-ui/components 3.0.0-next.28 → 3.0.0-next.29
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/component/primitive/FilterBadge.vue.d.ts +12 -0
- package/dist/component/primitive/index.d.ts +2 -0
- package/dist/index.css +151 -109
- package/dist/index.js +263 -167
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/component/FluxFilterBar.vue +32 -8
- package/src/component/FluxOverflowBar.vue +11 -1
- package/src/component/primitive/FilterBadge.vue +43 -0
- package/src/component/primitive/index.ts +2 -0
- package/src/css/component/Badge.module.scss +1 -0
- package/src/css/component/Filter.module.scss +31 -2
- package/src/css/component/Icon.module.scss +25 -23
- package/src/css/component/Item.module.scss +2 -1
- package/src/css/component/Menu.module.scss +3 -0
- package/src/css/component/Timeline.module.scss +6 -2
- package/src/css/component/base/Button.module.scss +10 -0
- package/src/css/typography.scss +4 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FluxFilterItem, FluxFilterValue } from '@flux-ui/types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
readonly item: FluxFilterItem;
|
|
5
|
+
readonly value: FluxFilterValue;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
click: (args_0: MouseEvent) => any;
|
|
9
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onClick?: (args_0: MouseEvent) => any;
|
|
11
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { default as Anchor } from './Anchor.vue';
|
|
2
2
|
export { default as AnchorPopup } from './AnchorPopup.vue';
|
|
3
|
+
export { default as FilterBadge } from './FilterBadge.vue';
|
|
4
|
+
export { default as FilterItem } from './FilterItem.vue';
|
|
3
5
|
export { default as FilterOptionBase } from './FilterOptionBase.vue';
|
|
4
6
|
export { default as SelectBase } from './SelectBase.vue';
|
|
5
7
|
export { default as SliderBase } from './SliderBase.vue';
|
package/dist/index.css
CHANGED
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
}
|
|
259
259
|
h1 {
|
|
260
260
|
color: var(--foreground-prominent);
|
|
261
|
-
font-size:
|
|
261
|
+
font-size: 27px;
|
|
262
262
|
}
|
|
263
263
|
h2 {
|
|
264
264
|
color: var(--foreground-prominent);
|
|
@@ -280,8 +280,10 @@
|
|
|
280
280
|
a:not([class]), a[class=""] {
|
|
281
281
|
color: var(--primary-600);
|
|
282
282
|
text-decoration: underline;
|
|
283
|
+
text-decoration-color: var(--primary-400);
|
|
284
|
+
text-decoration-skip: auto;
|
|
283
285
|
text-decoration-thickness: 1px;
|
|
284
|
-
text-underline-offset:
|
|
286
|
+
text-underline-offset: 2px;
|
|
285
287
|
}
|
|
286
288
|
a:not([class]):hover, a[class=""]:hover {
|
|
287
289
|
text-decoration: none;
|
|
@@ -541,32 +543,31 @@
|
|
|
541
543
|
.base-pane > .base-pane-element:only-child,
|
|
542
544
|
.base-pane > .form > .base-pane-element:only-child {
|
|
543
545
|
border: 0;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
.font-awesome-icon {
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
546
|
+
}@layer flux-base {
|
|
547
|
+
.icon {
|
|
548
|
+
height: 1em;
|
|
549
|
+
width: 1em;
|
|
550
|
+
flex-shrink: 0;
|
|
551
|
+
font-size: 20px;
|
|
552
|
+
line-height: 1;
|
|
553
|
+
overflow: visible;
|
|
554
|
+
}
|
|
555
|
+
.font-awesome-icon {
|
|
556
|
+
display: inline-block;
|
|
557
|
+
}
|
|
558
|
+
.icon-boxed {
|
|
559
|
+
display: flex;
|
|
560
|
+
height: 1em;
|
|
561
|
+
width: 1em;
|
|
562
|
+
align-items: center;
|
|
563
|
+
flex-shrink: 0;
|
|
564
|
+
justify-content: center;
|
|
565
|
+
font-size: 42px;
|
|
566
|
+
}
|
|
567
|
+
.icon-boxed .icon {
|
|
568
|
+
font-size: 0.45em;
|
|
569
|
+
}
|
|
568
570
|
}
|
|
569
|
-
|
|
570
571
|
.icon-boxed-default {
|
|
571
572
|
box-shadow: var(--shadow-sm);
|
|
572
573
|
}
|
|
@@ -712,6 +713,12 @@
|
|
|
712
713
|
margin-right: 6px;
|
|
713
714
|
min-width: 42px;
|
|
714
715
|
}
|
|
716
|
+
.badge:first-child {
|
|
717
|
+
margin-left: -6px;
|
|
718
|
+
}
|
|
719
|
+
.badge:last-child {
|
|
720
|
+
margin-right: -6px;
|
|
721
|
+
}
|
|
715
722
|
}.action {
|
|
716
723
|
height: 30px;
|
|
717
724
|
width: 30px;
|
|
@@ -1789,6 +1796,7 @@
|
|
|
1789
1796
|
color: var(--foreground-prominent);
|
|
1790
1797
|
font-size: 13px;
|
|
1791
1798
|
font-weight: 500;
|
|
1799
|
+
font-variant-numeric: tabular-nums;
|
|
1792
1800
|
}
|
|
1793
1801
|
.badge:is(a) {
|
|
1794
1802
|
color: var(--foreground-prominent);
|
|
@@ -1924,6 +1932,111 @@
|
|
|
1924
1932
|
}
|
|
1925
1933
|
|
|
1926
1934
|
.tag-warning {
|
|
1935
|
+
}.filter {
|
|
1936
|
+
max-height: 50dvh;
|
|
1937
|
+
max-width: 100%;
|
|
1938
|
+
padding: 9px;
|
|
1939
|
+
width: 270px;
|
|
1940
|
+
overflow: auto;
|
|
1941
|
+
scrollbar-width: none;
|
|
1942
|
+
transition: height 150ms var(--deceleration-curve);
|
|
1943
|
+
z-index: 0;
|
|
1944
|
+
}
|
|
1945
|
+
.filter::-webkit-scrollbar {
|
|
1946
|
+
display: none;
|
|
1947
|
+
height: 0;
|
|
1948
|
+
width: 0;
|
|
1949
|
+
}
|
|
1950
|
+
.filter .menu > :where(.divider, .separator) {
|
|
1951
|
+
margin: 3px -9px;
|
|
1952
|
+
}
|
|
1953
|
+
.filter .menu > .menu-group > .menu-sub-header {
|
|
1954
|
+
top: 51px;
|
|
1955
|
+
}
|
|
1956
|
+
.filter .menu > .menu-group:has(.filter-search) > .menu-sub-header {
|
|
1957
|
+
top: 105px;
|
|
1958
|
+
}
|
|
1959
|
+
.filter .menu .menu-item-label {
|
|
1960
|
+
min-width: 0;
|
|
1961
|
+
overflow: hidden;
|
|
1962
|
+
text-overflow: ellipsis;
|
|
1963
|
+
white-space: nowrap;
|
|
1964
|
+
}
|
|
1965
|
+
.filter .pane-body {
|
|
1966
|
+
margin: -9px;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
.filter-badge {
|
|
1970
|
+
padding-left: 6px;
|
|
1971
|
+
padding-right: 6px;
|
|
1972
|
+
background: var(--primary-50);
|
|
1973
|
+
border: 1px dashed var(--primary-300);
|
|
1974
|
+
font-weight: 500;
|
|
1975
|
+
}
|
|
1976
|
+
.filter-badge .badge-label {
|
|
1977
|
+
color: var(--primary-900);
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.filter-button {
|
|
1981
|
+
border: 1px solid var(--surface-stroke);
|
|
1982
|
+
box-shadow: none;
|
|
1983
|
+
}
|
|
1984
|
+
.filter-button .badge {
|
|
1985
|
+
border-radius: var(--radius-half);
|
|
1986
|
+
}
|
|
1987
|
+
.filter-button .button-icon {
|
|
1988
|
+
color: var(--primary-700);
|
|
1989
|
+
font-size: 16px;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
.filter-header {
|
|
1993
|
+
position: sticky;
|
|
1994
|
+
margin: -9px -9px 3px;
|
|
1995
|
+
padding: 9px;
|
|
1996
|
+
top: -9px;
|
|
1997
|
+
background: var(--surface);
|
|
1998
|
+
border-bottom: 1px solid var(--surface-stroke);
|
|
1999
|
+
z-index: 2;
|
|
2000
|
+
}
|
|
2001
|
+
.filter-header:first-child {
|
|
2002
|
+
border-top-left-radius: var(--radius);
|
|
2003
|
+
border-top-right-radius: var(--radius);
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
.filter-back {
|
|
2007
|
+
flex-grow: 1;
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
.filter-reset {
|
|
2011
|
+
width: 42px;
|
|
2012
|
+
justify-content: center;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.filter-date-picker {
|
|
2016
|
+
margin: -9px;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.filter-search {
|
|
2020
|
+
position: sticky;
|
|
2021
|
+
margin: -9px -9px 0;
|
|
2022
|
+
padding: 9px;
|
|
2023
|
+
background: linear-gradient(to bottom, var(--surface) 75%, transparent);
|
|
2024
|
+
z-index: 1;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
.filter-header + .menu-group .filter-search {
|
|
2028
|
+
top: 52px;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
.filter-bar {
|
|
2032
|
+
display: flex;
|
|
2033
|
+
flex-flow: row nowrap;
|
|
2034
|
+
flex-grow: 1;
|
|
2035
|
+
gap: 15px;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
.filter-bar-search {
|
|
2039
|
+
max-width: 300px;
|
|
1927
2040
|
}.menu {
|
|
1928
2041
|
display: flex;
|
|
1929
2042
|
flex-flow: column;
|
|
@@ -1976,7 +2089,10 @@
|
|
|
1976
2089
|
}
|
|
1977
2090
|
|
|
1978
2091
|
.menu-item-icon {
|
|
2092
|
+
margin-left: 2px;
|
|
2093
|
+
margin-right: 2px;
|
|
1979
2094
|
color: var(--foreground-prominent);
|
|
2095
|
+
font-size: 16px;
|
|
1980
2096
|
}
|
|
1981
2097
|
|
|
1982
2098
|
.menu-item-label {
|
|
@@ -2952,85 +3068,6 @@
|
|
|
2952
3068
|
.toggle-input::after {
|
|
2953
3069
|
transition: 210ms var(--swift-out);
|
|
2954
3070
|
transition-property: background, border-color, color, opacity, scale, translate, outline-color, outline-offset;
|
|
2955
|
-
}.filter {
|
|
2956
|
-
max-height: 50dvh;
|
|
2957
|
-
max-width: 100%;
|
|
2958
|
-
padding: 9px;
|
|
2959
|
-
width: 300px;
|
|
2960
|
-
overflow: auto;
|
|
2961
|
-
scrollbar-width: none;
|
|
2962
|
-
transition: height 150ms var(--deceleration-curve);
|
|
2963
|
-
z-index: 0;
|
|
2964
|
-
}
|
|
2965
|
-
.filter::-webkit-scrollbar {
|
|
2966
|
-
display: none;
|
|
2967
|
-
height: 0;
|
|
2968
|
-
width: 0;
|
|
2969
|
-
}
|
|
2970
|
-
.filter .menu > :where(.divider, .separator) {
|
|
2971
|
-
margin: 3px -9px;
|
|
2972
|
-
}
|
|
2973
|
-
.filter .menu > .menu-group > .menu-sub-header {
|
|
2974
|
-
top: 51px;
|
|
2975
|
-
}
|
|
2976
|
-
.filter .menu > .menu-group:has(.filter-search) > .menu-sub-header {
|
|
2977
|
-
top: 105px;
|
|
2978
|
-
}
|
|
2979
|
-
.filter .menu .menu-item-label {
|
|
2980
|
-
min-width: 0;
|
|
2981
|
-
overflow: hidden;
|
|
2982
|
-
text-overflow: ellipsis;
|
|
2983
|
-
white-space: nowrap;
|
|
2984
|
-
}
|
|
2985
|
-
.filter .pane-body {
|
|
2986
|
-
margin: -9px;
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2989
|
-
.filter-header {
|
|
2990
|
-
position: sticky;
|
|
2991
|
-
margin: -9px -9px 3px;
|
|
2992
|
-
padding: 9px;
|
|
2993
|
-
top: -9px;
|
|
2994
|
-
background: var(--surface);
|
|
2995
|
-
border-bottom: 1px solid var(--surface-stroke);
|
|
2996
|
-
z-index: 2;
|
|
2997
|
-
}
|
|
2998
|
-
.filter-header:first-child {
|
|
2999
|
-
border-top-left-radius: var(--radius);
|
|
3000
|
-
border-top-right-radius: var(--radius);
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
|
-
.filter-back {
|
|
3004
|
-
flex-grow: 1;
|
|
3005
|
-
}
|
|
3006
|
-
|
|
3007
|
-
.filter-reset {
|
|
3008
|
-
width: 42px;
|
|
3009
|
-
justify-content: center;
|
|
3010
|
-
}
|
|
3011
|
-
|
|
3012
|
-
.filter-date-picker {
|
|
3013
|
-
margin: -9px;
|
|
3014
|
-
}
|
|
3015
|
-
|
|
3016
|
-
.filter-search {
|
|
3017
|
-
position: sticky;
|
|
3018
|
-
top: 52px;
|
|
3019
|
-
margin: -9px -9px 0;
|
|
3020
|
-
padding: 9px;
|
|
3021
|
-
background: linear-gradient(to bottom, var(--surface) 75%, transparent);
|
|
3022
|
-
z-index: 1;
|
|
3023
|
-
}
|
|
3024
|
-
|
|
3025
|
-
.filter-bar {
|
|
3026
|
-
display: flex;
|
|
3027
|
-
flex-flow: row nowrap;
|
|
3028
|
-
flex-grow: 1;
|
|
3029
|
-
gap: 15px;
|
|
3030
|
-
}
|
|
3031
|
-
|
|
3032
|
-
.filter-bar-search {
|
|
3033
|
-
max-width: 300px;
|
|
3034
3071
|
}.slider {
|
|
3035
3072
|
position: relative;
|
|
3036
3073
|
display: flex;
|
|
@@ -4663,7 +4700,8 @@ tfoot .table-cell {
|
|
|
4663
4700
|
}
|
|
4664
4701
|
|
|
4665
4702
|
.item-media > .icon {
|
|
4666
|
-
|
|
4703
|
+
margin: 1px;
|
|
4704
|
+
font-size: 20px;
|
|
4667
4705
|
}
|
|
4668
4706
|
|
|
4669
4707
|
.item-media > .icon-boxed {
|
|
@@ -5859,14 +5897,18 @@ tfoot .table-cell {
|
|
|
5859
5897
|
|
|
5860
5898
|
.timeline-item-body {
|
|
5861
5899
|
position: relative;
|
|
5862
|
-
|
|
5900
|
+
display: flex;
|
|
5863
5901
|
padding-top: 9px;
|
|
5864
5902
|
padding-bottom: 9px;
|
|
5903
|
+
align-items: flex-start;
|
|
5904
|
+
align-self: center;
|
|
5905
|
+
flex-flow: column;
|
|
5906
|
+
gap: 15px;
|
|
5865
5907
|
}
|
|
5866
5908
|
|
|
5867
5909
|
.timeline-item-header {
|
|
5868
5910
|
display: flex;
|
|
5869
|
-
margin-bottom: 9px;
|
|
5911
|
+
margin-bottom: -9px;
|
|
5870
5912
|
flex-flow: column;
|
|
5871
5913
|
}
|
|
5872
5914
|
.timeline-item-header :is(strong) {
|