@aotearoan/neon 21.0.2 → 22.0.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/components/navigation/dropdown-menu/NeonDropdownMenu.cjs.js +1 -1
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.cjs.js.map +1 -1
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.es.js +30 -31
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.es.js.map +1 -1
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.vue.cjs.js +1 -1
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.vue.cjs.js.map +1 -1
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.vue.es.js +23 -23
- package/dist/components/navigation/dropdown-menu/NeonDropdownMenu.vue.es.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.cjs.js +1 -1
- package/dist/components/navigation/menu/NeonMenu.cjs.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.es.js +57 -55
- package/dist/components/navigation/menu/NeonMenu.es.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.cjs.js +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.cjs.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.es.js +20 -21
- package/dist/components/navigation/menu/NeonMenu.vue.es.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.es.js +38 -47
- package/dist/components/presentation/dropdown/NeonDropdown.es.js.map +1 -1
- package/dist/components/user-input/search/NeonSearch.cjs.js +1 -1
- package/dist/components/user-input/search/NeonSearch.cjs.js.map +1 -1
- package/dist/components/user-input/search/NeonSearch.es.js +95 -82
- package/dist/components/user-input/search/NeonSearch.es.js.map +1 -1
- package/dist/components/user-input/search/NeonSearch.vue.cjs.js +1 -1
- package/dist/components/user-input/search/NeonSearch.vue.cjs.js.map +1 -1
- package/dist/components/user-input/search/NeonSearch.vue.es.js +19 -19
- package/dist/components/user-input/search/NeonSearch.vue.es.js.map +1 -1
- package/dist/components/user-input/toggle/NeonToggle.cjs.js +1 -1
- package/dist/components/user-input/toggle/NeonToggle.cjs.js.map +1 -1
- package/dist/components/user-input/toggle/NeonToggle.es.js +10 -10
- package/dist/components/user-input/toggle/NeonToggle.es.js.map +1 -1
- package/dist/components/user-input/toggle/NeonToggle.vue.cjs.js +1 -1
- package/dist/components/user-input/toggle/NeonToggle.vue.cjs.js.map +1 -1
- package/dist/components/user-input/toggle/NeonToggle.vue.es.js +1 -1
- package/dist/components/user-input/toggle/NeonToggle.vue.es.js.map +1 -1
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +134 -83
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +38 -18
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +14 -11
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +34 -27
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +5 -18
- package/dist/src/components/user-input/search/NeonSearch.d.ts +188 -208
- package/dist/src/components/user-input/select/NeonSelect.d.ts +21 -110
- package/dist/src/components/user-input/toggle/NeonToggle.d.ts +1 -1
- package/package.json +1 -1
- package/src/sass/components/_badge.scss +1 -0
- package/src/sass/components/_card.scss +7 -7
- package/src/sass/components/_skeleton-loader.scss +3 -4
- package/src/sass/components/_slider.scss +1 -1
- package/src/sass/components/_toggle.scss +9 -3
- package/src/sass/variables.scss +10 -7
|
@@ -111,27 +111,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
};
|
|
112
112
|
}>, {
|
|
113
113
|
dropdown: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
-
/**
|
|
115
|
-
* Display the placeholder as the first option in the select, this is useful as an alternative to a label.
|
|
116
|
-
*/
|
|
117
114
|
id: {
|
|
118
115
|
type: StringConstructor;
|
|
119
116
|
};
|
|
120
117
|
modelValue: {
|
|
121
118
|
type: BooleanConstructor;
|
|
122
|
-
required: true;
|
|
123
|
-
|
|
124
|
-
*/
|
|
125
|
-
}; /**
|
|
126
|
-
* Optional placeholder icon.
|
|
127
|
-
*/
|
|
119
|
+
required: true;
|
|
120
|
+
};
|
|
128
121
|
label: {
|
|
129
122
|
type: StringConstructor;
|
|
130
123
|
default: null;
|
|
131
124
|
};
|
|
132
|
-
/**
|
|
133
|
-
* A list of options to render in the select.
|
|
134
|
-
*/
|
|
135
125
|
image: {
|
|
136
126
|
type: StringConstructor;
|
|
137
127
|
default: null;
|
|
@@ -172,11 +162,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
162
|
default: NeonDropdownStyle;
|
|
173
163
|
};
|
|
174
164
|
placement: {
|
|
175
|
-
type: () => NeonDropdownPlacement;
|
|
176
|
-
* emitted when the user changes the selection.
|
|
177
|
-
* @type {string | string[]} either the selected option's key (single select) or an array of the selected keys
|
|
178
|
-
* (multi-select).
|
|
179
|
-
*/
|
|
165
|
+
type: () => NeonDropdownPlacement;
|
|
180
166
|
default: NeonDropdownPlacement;
|
|
181
167
|
};
|
|
182
168
|
placementContainer: {
|
|
@@ -192,7 +178,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
192
178
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
193
179
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
194
180
|
"onDropdown-placement"?: ((...args: any[]) => any) | undefined;
|
|
195
|
-
"onButton-ref"?: ((...args: any[]) => any) | undefined;
|
|
196
181
|
}>, {
|
|
197
182
|
dropdownButton: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
198
183
|
dropdownContent: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
@@ -214,7 +199,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
214
199
|
toggleOpen: () => void;
|
|
215
200
|
onBlur: () => void;
|
|
216
201
|
onFocus: () => void;
|
|
217
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement"
|
|
202
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement")[], import("vue").PublicProps, {
|
|
218
203
|
disabled: boolean;
|
|
219
204
|
label: string;
|
|
220
205
|
placement: NeonDropdownPlacement;
|
|
@@ -817,27 +802,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
817
802
|
M: {};
|
|
818
803
|
Defaults: {};
|
|
819
804
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
820
|
-
/**
|
|
821
|
-
* Display the placeholder as the first option in the select, this is useful as an alternative to a label.
|
|
822
|
-
*/
|
|
823
805
|
id: {
|
|
824
806
|
type: StringConstructor;
|
|
825
807
|
};
|
|
826
808
|
modelValue: {
|
|
827
809
|
type: BooleanConstructor;
|
|
828
|
-
required: true;
|
|
829
|
-
|
|
830
|
-
*/
|
|
831
|
-
}; /**
|
|
832
|
-
* Optional placeholder icon.
|
|
833
|
-
*/
|
|
810
|
+
required: true;
|
|
811
|
+
};
|
|
834
812
|
label: {
|
|
835
813
|
type: StringConstructor;
|
|
836
814
|
default: null;
|
|
837
815
|
};
|
|
838
|
-
/**
|
|
839
|
-
* A list of options to render in the select.
|
|
840
|
-
*/
|
|
841
816
|
image: {
|
|
842
817
|
type: StringConstructor;
|
|
843
818
|
default: null;
|
|
@@ -878,11 +853,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
878
853
|
default: NeonDropdownStyle;
|
|
879
854
|
};
|
|
880
855
|
placement: {
|
|
881
|
-
type: () => NeonDropdownPlacement;
|
|
882
|
-
* emitted when the user changes the selection.
|
|
883
|
-
* @type {string | string[]} either the selected option's key (single select) or an array of the selected keys
|
|
884
|
-
* (multi-select).
|
|
885
|
-
*/
|
|
856
|
+
type: () => NeonDropdownPlacement;
|
|
886
857
|
default: NeonDropdownPlacement;
|
|
887
858
|
};
|
|
888
859
|
placementContainer: {
|
|
@@ -898,7 +869,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
898
869
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
899
870
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
900
871
|
"onDropdown-placement"?: ((...args: any[]) => any) | undefined;
|
|
901
|
-
"onButton-ref"?: ((...args: any[]) => any) | undefined;
|
|
902
872
|
}>, {
|
|
903
873
|
dropdownButton: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
904
874
|
dropdownContent: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
@@ -935,27 +905,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
935
905
|
dropdownStyle: NeonDropdownStyle;
|
|
936
906
|
openOnHover: boolean;
|
|
937
907
|
}> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
938
|
-
/**
|
|
939
|
-
* Display the placeholder as the first option in the select, this is useful as an alternative to a label.
|
|
940
|
-
*/
|
|
941
908
|
id: {
|
|
942
909
|
type: StringConstructor;
|
|
943
910
|
};
|
|
944
911
|
modelValue: {
|
|
945
912
|
type: BooleanConstructor;
|
|
946
|
-
required: true;
|
|
947
|
-
|
|
948
|
-
*/
|
|
949
|
-
}; /**
|
|
950
|
-
* Optional placeholder icon.
|
|
951
|
-
*/
|
|
913
|
+
required: true;
|
|
914
|
+
};
|
|
952
915
|
label: {
|
|
953
916
|
type: StringConstructor;
|
|
954
917
|
default: null;
|
|
955
918
|
};
|
|
956
|
-
/**
|
|
957
|
-
* A list of options to render in the select.
|
|
958
|
-
*/
|
|
959
919
|
image: {
|
|
960
920
|
type: StringConstructor;
|
|
961
921
|
default: null;
|
|
@@ -996,11 +956,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
996
956
|
default: NeonDropdownStyle;
|
|
997
957
|
};
|
|
998
958
|
placement: {
|
|
999
|
-
type: () => NeonDropdownPlacement;
|
|
1000
|
-
* emitted when the user changes the selection.
|
|
1001
|
-
* @type {string | string[]} either the selected option's key (single select) or an array of the selected keys
|
|
1002
|
-
* (multi-select).
|
|
1003
|
-
*/
|
|
959
|
+
type: () => NeonDropdownPlacement;
|
|
1004
960
|
default: NeonDropdownPlacement;
|
|
1005
961
|
};
|
|
1006
962
|
placementContainer: {
|
|
@@ -1016,7 +972,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1016
972
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1017
973
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1018
974
|
"onDropdown-placement"?: ((...args: any[]) => any) | undefined;
|
|
1019
|
-
"onButton-ref"?: ((...args: any[]) => any) | undefined;
|
|
1020
975
|
}>, {
|
|
1021
976
|
dropdownButton: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
1022
977
|
dropdownContent: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
@@ -1038,7 +993,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1038
993
|
toggleOpen: () => void;
|
|
1039
994
|
onBlur: () => void;
|
|
1040
995
|
onFocus: () => void;
|
|
1041
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement"
|
|
996
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement")[], import("vue").PublicProps, {
|
|
1042
997
|
disabled: boolean;
|
|
1043
998
|
label: string;
|
|
1044
999
|
placement: NeonDropdownPlacement;
|
|
@@ -1641,27 +1596,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1641
1596
|
M: {};
|
|
1642
1597
|
Defaults: {};
|
|
1643
1598
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1644
|
-
/**
|
|
1645
|
-
* Display the placeholder as the first option in the select, this is useful as an alternative to a label.
|
|
1646
|
-
*/
|
|
1647
1599
|
id: {
|
|
1648
1600
|
type: StringConstructor;
|
|
1649
1601
|
};
|
|
1650
1602
|
modelValue: {
|
|
1651
1603
|
type: BooleanConstructor;
|
|
1652
|
-
required: true;
|
|
1653
|
-
|
|
1654
|
-
*/
|
|
1655
|
-
}; /**
|
|
1656
|
-
* Optional placeholder icon.
|
|
1657
|
-
*/
|
|
1604
|
+
required: true;
|
|
1605
|
+
};
|
|
1658
1606
|
label: {
|
|
1659
1607
|
type: StringConstructor;
|
|
1660
1608
|
default: null;
|
|
1661
1609
|
};
|
|
1662
|
-
/**
|
|
1663
|
-
* A list of options to render in the select.
|
|
1664
|
-
*/
|
|
1665
1610
|
image: {
|
|
1666
1611
|
type: StringConstructor;
|
|
1667
1612
|
default: null;
|
|
@@ -1702,11 +1647,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1702
1647
|
default: NeonDropdownStyle;
|
|
1703
1648
|
};
|
|
1704
1649
|
placement: {
|
|
1705
|
-
type: () => NeonDropdownPlacement;
|
|
1706
|
-
* emitted when the user changes the selection.
|
|
1707
|
-
* @type {string | string[]} either the selected option's key (single select) or an array of the selected keys
|
|
1708
|
-
* (multi-select).
|
|
1709
|
-
*/
|
|
1650
|
+
type: () => NeonDropdownPlacement;
|
|
1710
1651
|
default: NeonDropdownPlacement;
|
|
1711
1652
|
};
|
|
1712
1653
|
placementContainer: {
|
|
@@ -1722,7 +1663,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1722
1663
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1723
1664
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1724
1665
|
"onDropdown-placement"?: ((...args: any[]) => any) | undefined;
|
|
1725
|
-
"onButton-ref"?: ((...args: any[]) => any) | undefined;
|
|
1726
1666
|
}>, {
|
|
1727
1667
|
dropdownButton: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
1728
1668
|
dropdownContent: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
@@ -1885,27 +1825,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1885
1825
|
placeholderAsOption: boolean;
|
|
1886
1826
|
}, {}, {
|
|
1887
1827
|
NeonDropdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1888
|
-
/**
|
|
1889
|
-
* Display the placeholder as the first option in the select, this is useful as an alternative to a label.
|
|
1890
|
-
*/
|
|
1891
1828
|
id: {
|
|
1892
1829
|
type: StringConstructor;
|
|
1893
1830
|
};
|
|
1894
1831
|
modelValue: {
|
|
1895
1832
|
type: BooleanConstructor;
|
|
1896
|
-
required: true;
|
|
1897
|
-
|
|
1898
|
-
*/
|
|
1899
|
-
}; /**
|
|
1900
|
-
* Optional placeholder icon.
|
|
1901
|
-
*/
|
|
1833
|
+
required: true;
|
|
1834
|
+
};
|
|
1902
1835
|
label: {
|
|
1903
1836
|
type: StringConstructor;
|
|
1904
1837
|
default: null;
|
|
1905
1838
|
};
|
|
1906
|
-
/**
|
|
1907
|
-
* A list of options to render in the select.
|
|
1908
|
-
*/
|
|
1909
1839
|
image: {
|
|
1910
1840
|
type: StringConstructor;
|
|
1911
1841
|
default: null;
|
|
@@ -1946,11 +1876,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1946
1876
|
default: NeonDropdownStyle;
|
|
1947
1877
|
};
|
|
1948
1878
|
placement: {
|
|
1949
|
-
type: () => NeonDropdownPlacement;
|
|
1950
|
-
* emitted when the user changes the selection.
|
|
1951
|
-
* @type {string | string[]} either the selected option's key (single select) or an array of the selected keys
|
|
1952
|
-
* (multi-select).
|
|
1953
|
-
*/
|
|
1879
|
+
type: () => NeonDropdownPlacement;
|
|
1954
1880
|
default: NeonDropdownPlacement;
|
|
1955
1881
|
};
|
|
1956
1882
|
placementContainer: {
|
|
@@ -1982,28 +1908,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1982
1908
|
toggleOpen: () => void;
|
|
1983
1909
|
onBlur: () => void;
|
|
1984
1910
|
onFocus: () => void;
|
|
1985
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement"
|
|
1986
|
-
/**
|
|
1987
|
-
* Display the placeholder as the first option in the select, this is useful as an alternative to a label.
|
|
1988
|
-
*/
|
|
1911
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement")[], "update:modelValue" | "focus" | "blur" | "dropdown-placement", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1989
1912
|
id: {
|
|
1990
1913
|
type: StringConstructor;
|
|
1991
1914
|
};
|
|
1992
1915
|
modelValue: {
|
|
1993
1916
|
type: BooleanConstructor;
|
|
1994
|
-
required: true;
|
|
1995
|
-
|
|
1996
|
-
*/
|
|
1997
|
-
}; /**
|
|
1998
|
-
* Optional placeholder icon.
|
|
1999
|
-
*/
|
|
1917
|
+
required: true;
|
|
1918
|
+
};
|
|
2000
1919
|
label: {
|
|
2001
1920
|
type: StringConstructor;
|
|
2002
1921
|
default: null;
|
|
2003
1922
|
};
|
|
2004
|
-
/**
|
|
2005
|
-
* A list of options to render in the select.
|
|
2006
|
-
*/
|
|
2007
1923
|
image: {
|
|
2008
1924
|
type: StringConstructor;
|
|
2009
1925
|
default: null;
|
|
@@ -2044,11 +1960,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2044
1960
|
default: NeonDropdownStyle;
|
|
2045
1961
|
};
|
|
2046
1962
|
placement: {
|
|
2047
|
-
type: () => NeonDropdownPlacement;
|
|
2048
|
-
* emitted when the user changes the selection.
|
|
2049
|
-
* @type {string | string[]} either the selected option's key (single select) or an array of the selected keys
|
|
2050
|
-
* (multi-select).
|
|
2051
|
-
*/
|
|
1963
|
+
type: () => NeonDropdownPlacement;
|
|
2052
1964
|
default: NeonDropdownPlacement;
|
|
2053
1965
|
};
|
|
2054
1966
|
placementContainer: {
|
|
@@ -2064,7 +1976,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2064
1976
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
2065
1977
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2066
1978
|
"onDropdown-placement"?: ((...args: any[]) => any) | undefined;
|
|
2067
|
-
"onButton-ref"?: ((...args: any[]) => any) | undefined;
|
|
2068
1979
|
}>, {
|
|
2069
1980
|
disabled: boolean;
|
|
2070
1981
|
label: string;
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
};
|
|
66
66
|
}>, {
|
|
67
67
|
selectOption: (option: NeonToggleModel) => void;
|
|
68
|
-
onInput: (
|
|
68
|
+
onInput: (option: NeonToggleModel) => void;
|
|
69
69
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
70
70
|
[x: string]: unknown;
|
|
71
71
|
}>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aotearoan/neon",
|
|
3
3
|
"description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "22.0.0",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
.neon-card-body,
|
|
36
36
|
.neon-card-footer {
|
|
37
37
|
&:not(:last-child) {
|
|
38
|
-
border-right: var(--neon-border);
|
|
38
|
+
border-right: var(--neon-border-card);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
position: relative;
|
|
46
46
|
border-radius: var(--neon-border-radius-card);
|
|
47
47
|
border: var(--neon-border-card);
|
|
48
|
-
box-shadow: var(--neon-
|
|
48
|
+
box-shadow: var(--neon-box-shadow-card);
|
|
49
49
|
|
|
50
50
|
&--s {
|
|
51
51
|
& > .neon-card-header,
|
|
@@ -164,11 +164,11 @@
|
|
|
164
164
|
|
|
165
165
|
.neon-card-body--full-width {
|
|
166
166
|
padding: 0;
|
|
167
|
-
width: calc(100% + var(--neon-border-width));
|
|
167
|
+
width: calc(100% + var(--neon-border-width-card));
|
|
168
168
|
|
|
169
169
|
img {
|
|
170
|
-
margin-left: calc(-1 * var(--neon-border-width));
|
|
171
|
-
margin-right: calc(-1 * var(--neon-border-width));
|
|
170
|
+
margin-left: calc(-1 * var(--neon-border-width-card));
|
|
171
|
+
margin-right: calc(-1 * var(--neon-border-width-card));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
&:not(:first-child) {
|
|
@@ -178,8 +178,8 @@
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
& > * {
|
|
181
|
-
max-width: calc(100% + var(--neon-border-width));
|
|
182
|
-
width: calc(100% + var(--neon-border-width));
|
|
181
|
+
max-width: calc(100% + var(--neon-border-width-card));
|
|
182
|
+
width: calc(100% + var(--neon-border-width-card));
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
&:first-child {
|
|
@@ -9,14 +9,13 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
flex: 1 1 auto;
|
|
12
|
+
gap: var(--neon-gap-skeleton-loader);
|
|
12
13
|
|
|
13
14
|
&__item {
|
|
14
15
|
display: flex;
|
|
15
16
|
flex: 1 1 auto;
|
|
16
|
-
width:
|
|
17
|
-
min-height: var(--neon-
|
|
18
|
-
margin-top: var(--neon-space-4);
|
|
19
|
-
margin-bottom: var(--neon-space-4);
|
|
17
|
+
width: var(--neon-width-skeleton-loader);
|
|
18
|
+
min-height: var(--neon-height-skeleton-loader);
|
|
20
19
|
border-radius: var(--neon-border-radius-skeleton-loader);
|
|
21
20
|
position: relative;
|
|
22
21
|
overflow: hidden;
|
|
@@ -111,7 +111,7 @@ $neon-width-slider-tooltip: 201rem;
|
|
|
111
111
|
letter-spacing: 0;
|
|
112
112
|
padding: var(--neon-space-8);
|
|
113
113
|
border-radius: var(--neon-border-radius-slider-tooltip);
|
|
114
|
-
box-shadow: var(--neon-
|
|
114
|
+
box-shadow: var(--neon-box-shadow-slider);
|
|
115
115
|
color: var(--neon-color-inverse);
|
|
116
116
|
|
|
117
117
|
&:after {
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: center;
|
|
20
20
|
white-space: nowrap;
|
|
21
|
-
border: var(--neon-border-toggle);
|
|
22
21
|
|
|
23
22
|
&:focus {
|
|
24
23
|
outline: none;
|
|
@@ -31,6 +30,7 @@
|
|
|
31
30
|
|
|
32
31
|
&--toggle {
|
|
33
32
|
.neon-toggle__label {
|
|
33
|
+
border: var(--neon-border-toggle);
|
|
34
34
|
padding: var(--neon-space-8) var(--neon-space-12);
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -97,11 +97,17 @@
|
|
|
97
97
|
|
|
98
98
|
&:hover,
|
|
99
99
|
&:focus {
|
|
100
|
-
.neon-
|
|
101
|
-
|
|
100
|
+
&:not(.neon-toggle__label--checked) {
|
|
101
|
+
.neon-toggle__radio-button {
|
|
102
|
+
background: var(--neon-color-radio-button-bg-active);
|
|
103
|
+
}
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
106
|
|
|
107
|
+
&:focus {
|
|
108
|
+
border-bottom-color: var(--neon-color-#{$color});
|
|
109
|
+
}
|
|
110
|
+
|
|
105
111
|
&.neon-toggle__label--checked {
|
|
106
112
|
color: var(--neon-color-text-secondary);
|
|
107
113
|
|
package/src/sass/variables.scss
CHANGED
|
@@ -186,8 +186,8 @@
|
|
|
186
186
|
--neon-side-nav-width: calc(80 * var(--neon-space-4));
|
|
187
187
|
|
|
188
188
|
/* card */
|
|
189
|
-
--neon-border-
|
|
190
|
-
--neon-
|
|
189
|
+
--neon-border-width-card: 0;
|
|
190
|
+
--neon-box-shadow-card: none;
|
|
191
191
|
|
|
192
192
|
/* checkbox */
|
|
193
193
|
--neon-border-width-checkbox: 1rem;
|
|
@@ -295,7 +295,10 @@
|
|
|
295
295
|
--neon-opacity-input-background-active: 0.03125;
|
|
296
296
|
|
|
297
297
|
/* skeleton loader */
|
|
298
|
-
--neon-border-radius-skeleton-loader:
|
|
298
|
+
--neon-border-radius-skeleton-loader: 0rem;
|
|
299
|
+
--neon-height-skeleton-loader: var(--neon-size-m);
|
|
300
|
+
--neon-width-skeleton-loader: 100%;
|
|
301
|
+
--neon-gap-skeleton-loader: 5rem;
|
|
299
302
|
|
|
300
303
|
/* expansion panel */
|
|
301
304
|
--neon-border-width-expansion-panel: 1rem;
|
|
@@ -518,8 +521,8 @@
|
|
|
518
521
|
/* radio buttons */
|
|
519
522
|
--neon-background-radio-button: none;
|
|
520
523
|
--neon-border-radio-button: var(--neon-border-width) var(--neon-border-style) var(--neon-color-neutral-d2);
|
|
521
|
-
--neon-color-radio-button-bg-active: rgba(var(--neon-rgb-neutral-l3), 0.
|
|
522
|
-
--neon-color-radio-button-label: var(--neon-color-
|
|
524
|
+
--neon-color-radio-button-bg-active: rgba(var(--neon-rgb-neutral-l3), 0.125);
|
|
525
|
+
--neon-color-radio-button-label: var(--neon-color-label);
|
|
523
526
|
|
|
524
527
|
/* drawer */
|
|
525
528
|
--neon-background-color-drawer: var(--neon-background-color-card);
|
|
@@ -825,8 +828,8 @@
|
|
|
825
828
|
/* radio buttons */
|
|
826
829
|
--neon-background-radio-button: none;
|
|
827
830
|
--neon-border-radio-button: var(--neon-border-width) var(--neon-border-style) var(--neon-color-neutral-l3);
|
|
828
|
-
--neon-color-radio-button-bg-active: rgba(var(--neon-rgb-neutral-l3), 0.
|
|
829
|
-
--neon-color-radio-button-label: var(--neon-color-
|
|
831
|
+
--neon-color-radio-button-bg-active: rgba(var(--neon-rgb-neutral-l3), 0.25);
|
|
832
|
+
--neon-color-radio-button-label: var(--neon-color-label);
|
|
830
833
|
|
|
831
834
|
/* input */
|
|
832
835
|
--neon-color-input: var(--neon-color-text);
|