@nova-design-system/nova-base 3.0.0-beta.44 → 3.0.0-beta.45
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/plugin/nova-plugin.js +1 -11
- package/dist/cjs/plugin/nova-safelist.js +0 -1
- package/dist/cjs/plugin/nova-theme.js +13 -25
- package/dist/css/nova-utils.css +0 -158
- package/dist/plugin/nova-plugin.js +0 -11
- package/dist/plugin/nova-safelist.js +0 -1
- package/dist/plugin/nova-theme.d.ts +13 -13
- package/dist/plugin/nova-theme.js +13 -25
- package/package.json +1 -1
|
@@ -88,17 +88,7 @@ exports.novaTailwindPlugin = (0, plugin_js_1.default)(function (_a) {
|
|
|
88
88
|
},
|
|
89
89
|
});
|
|
90
90
|
addComponents(__assign({}, nova_tailwind_components_js_1.NOVA_TAILWIND_COMPONENTS));
|
|
91
|
-
addUtilities(__assign(__assign({}, nova_tailwind_tokens_js_1.NOVA_TAILWIND_TOKENS), { '.
|
|
92
|
-
position: 'absolute',
|
|
93
|
-
padding: '0',
|
|
94
|
-
border: '0',
|
|
95
|
-
overflow: 'hidden',
|
|
96
|
-
'white-space': 'nowrap',
|
|
97
|
-
width: '1px',
|
|
98
|
-
height: '1px',
|
|
99
|
-
margin: '-1px',
|
|
100
|
-
clip: 'rect(0, 0, 0, 0)',
|
|
101
|
-
}, '.w-inherit': {
|
|
91
|
+
addUtilities(__assign(__assign({}, nova_tailwind_tokens_js_1.NOVA_TAILWIND_TOKENS), { '.w-inherit': {
|
|
102
92
|
width: 'inherit',
|
|
103
93
|
}, '.w-initial': {
|
|
104
94
|
width: 'initial',
|
|
@@ -325,7 +325,6 @@ var resize = [
|
|
|
325
325
|
];
|
|
326
326
|
// From the nova tailwind plugin (nova-plugin.ts)
|
|
327
327
|
var utils = [
|
|
328
|
-
{ pattern: /^visually-hidden$/, variants: exports.responsive },
|
|
329
328
|
{ pattern: /^text-(high|medium|low)$/ },
|
|
330
329
|
{ pattern: /^bg-level-(00|10|20|30|40)(-hover)?$/ },
|
|
331
330
|
{ pattern: /^border-(high|medium|low)$/ },
|
|
@@ -57,19 +57,19 @@ exports.borderRadius = {
|
|
|
57
57
|
full: 'var(--radius-rounded-full)',
|
|
58
58
|
};
|
|
59
59
|
exports.fontSize = {
|
|
60
|
-
xs:
|
|
61
|
-
sm:
|
|
62
|
-
md:
|
|
63
|
-
lg:
|
|
64
|
-
xl:
|
|
65
|
-
'2xl':
|
|
66
|
-
'3xl':
|
|
67
|
-
'4xl':
|
|
68
|
-
'5xl':
|
|
69
|
-
'6xl':
|
|
70
|
-
'7xl':
|
|
71
|
-
'8xl':
|
|
72
|
-
'9xl':
|
|
60
|
+
xs: 'var(--font-size-xs)',
|
|
61
|
+
sm: 'var(--font-size-sm)',
|
|
62
|
+
md: 'var(--font-size-md)',
|
|
63
|
+
lg: 'var(--font-size-lg)',
|
|
64
|
+
xl: 'var(--font-size-xl)',
|
|
65
|
+
'2xl': 'var(--font-size-2xl)',
|
|
66
|
+
'3xl': 'var(--font-size-3xl)',
|
|
67
|
+
'4xl': 'var(--font-size-4xl)',
|
|
68
|
+
'5xl': 'var(--font-size-5xl)',
|
|
69
|
+
'6xl': 'var(--font-size-6xl)',
|
|
70
|
+
'7xl': 'var(--font-size-7xl)',
|
|
71
|
+
'8xl': 'var(--font-size-8xl)',
|
|
72
|
+
'9xl': 'var(--font-size-9xl)',
|
|
73
73
|
};
|
|
74
74
|
exports.lineHeight = {
|
|
75
75
|
xs: 'var(--line-height-xs)',
|
|
@@ -89,18 +89,6 @@ exports.lineHeight = {
|
|
|
89
89
|
exports.colors = {
|
|
90
90
|
background: 'var(--color-level-00-background)',
|
|
91
91
|
text: 'var(--color-content-medium-text)',
|
|
92
|
-
brand: {
|
|
93
|
-
50: 'var(--color-brand-50)',
|
|
94
|
-
100: 'var(--color-brand-100)',
|
|
95
|
-
200: 'var(--color-brand-200)',
|
|
96
|
-
300: 'var(--color-brand-300)',
|
|
97
|
-
400: 'var(--color-brand-400)',
|
|
98
|
-
500: 'var(--color-brand-500)',
|
|
99
|
-
600: 'var(--color-brand-600)',
|
|
100
|
-
700: 'var(--color-brand-700)',
|
|
101
|
-
800: 'var(--color-brand-800)',
|
|
102
|
-
900: 'var(--color-brand-900)',
|
|
103
|
-
},
|
|
104
92
|
green: {
|
|
105
93
|
50: 'var(--color-green-50)',
|
|
106
94
|
100: 'var(--color-green-100)',
|
package/dist/css/nova-utils.css
CHANGED
|
@@ -6160,67 +6160,54 @@ h6 {
|
|
|
6160
6160
|
|
|
6161
6161
|
.text-2xl {
|
|
6162
6162
|
font-size: var(--font-size-2xl) !important;
|
|
6163
|
-
line-height: var(--line-height-2xl) !important;
|
|
6164
6163
|
}
|
|
6165
6164
|
|
|
6166
6165
|
.text-3xl {
|
|
6167
6166
|
font-size: var(--font-size-3xl) !important;
|
|
6168
|
-
line-height: var(--line-height-3xl) !important;
|
|
6169
6167
|
}
|
|
6170
6168
|
|
|
6171
6169
|
.text-4xl {
|
|
6172
6170
|
font-size: var(--font-size-4xl) !important;
|
|
6173
|
-
line-height: var(--line-height-4xl) !important;
|
|
6174
6171
|
}
|
|
6175
6172
|
|
|
6176
6173
|
.text-5xl {
|
|
6177
6174
|
font-size: var(--font-size-5xl) !important;
|
|
6178
|
-
line-height: var(--line-height-5xl) !important;
|
|
6179
6175
|
}
|
|
6180
6176
|
|
|
6181
6177
|
.text-6xl {
|
|
6182
6178
|
font-size: var(--font-size-6xl) !important;
|
|
6183
|
-
line-height: var(--line-height-6xl) !important;
|
|
6184
6179
|
}
|
|
6185
6180
|
|
|
6186
6181
|
.text-7xl {
|
|
6187
6182
|
font-size: var(--font-size-7xl) !important;
|
|
6188
|
-
line-height: var(--line-height-7xl) !important;
|
|
6189
6183
|
}
|
|
6190
6184
|
|
|
6191
6185
|
.text-8xl {
|
|
6192
6186
|
font-size: var(--font-size-8xl) !important;
|
|
6193
|
-
line-height: var(--line-height-8xl) !important;
|
|
6194
6187
|
}
|
|
6195
6188
|
|
|
6196
6189
|
.text-9xl {
|
|
6197
6190
|
font-size: var(--font-size-9xl) !important;
|
|
6198
|
-
line-height: var(--line-height-9xl) !important;
|
|
6199
6191
|
}
|
|
6200
6192
|
|
|
6201
6193
|
.text-lg {
|
|
6202
6194
|
font-size: var(--font-size-lg) !important;
|
|
6203
|
-
line-height: var(--line-height-lg) !important;
|
|
6204
6195
|
}
|
|
6205
6196
|
|
|
6206
6197
|
.text-md {
|
|
6207
6198
|
font-size: var(--font-size-md) !important;
|
|
6208
|
-
line-height: var(--line-height-md) !important;
|
|
6209
6199
|
}
|
|
6210
6200
|
|
|
6211
6201
|
.text-sm {
|
|
6212
6202
|
font-size: var(--font-size-sm) !important;
|
|
6213
|
-
line-height: var(--line-height-sm) !important;
|
|
6214
6203
|
}
|
|
6215
6204
|
|
|
6216
6205
|
.text-xl {
|
|
6217
6206
|
font-size: var(--font-size-xl) !important;
|
|
6218
|
-
line-height: var(--line-height-xl) !important;
|
|
6219
6207
|
}
|
|
6220
6208
|
|
|
6221
6209
|
.text-xs {
|
|
6222
6210
|
font-size: var(--font-size-xs) !important;
|
|
6223
|
-
line-height: var(--line-height-xs) !important;
|
|
6224
6211
|
}
|
|
6225
6212
|
|
|
6226
6213
|
.font-black {
|
|
@@ -7363,18 +7350,6 @@ h6 {
|
|
|
7363
7350
|
color: var(--color-rainbow-9-text) !important;
|
|
7364
7351
|
}
|
|
7365
7352
|
|
|
7366
|
-
.visually-hidden {
|
|
7367
|
-
position: absolute !important;
|
|
7368
|
-
padding: 0 !important;
|
|
7369
|
-
border: 0 !important;
|
|
7370
|
-
overflow: hidden !important;
|
|
7371
|
-
white-space: nowrap !important;
|
|
7372
|
-
width: 1px !important;
|
|
7373
|
-
height: 1px !important;
|
|
7374
|
-
margin: -1px !important;
|
|
7375
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
7376
|
-
}
|
|
7377
|
-
|
|
7378
7353
|
.w-inherit {
|
|
7379
7354
|
width: inherit !important;
|
|
7380
7355
|
}
|
|
@@ -11906,74 +11881,50 @@ h6 {
|
|
|
11906
11881
|
|
|
11907
11882
|
.sm\:text-2xl {
|
|
11908
11883
|
font-size: var(--font-size-2xl) !important;
|
|
11909
|
-
line-height: var(--line-height-2xl) !important;
|
|
11910
11884
|
}
|
|
11911
11885
|
|
|
11912
11886
|
.sm\:text-3xl {
|
|
11913
11887
|
font-size: var(--font-size-3xl) !important;
|
|
11914
|
-
line-height: var(--line-height-3xl) !important;
|
|
11915
11888
|
}
|
|
11916
11889
|
|
|
11917
11890
|
.sm\:text-4xl {
|
|
11918
11891
|
font-size: var(--font-size-4xl) !important;
|
|
11919
|
-
line-height: var(--line-height-4xl) !important;
|
|
11920
11892
|
}
|
|
11921
11893
|
|
|
11922
11894
|
.sm\:text-5xl {
|
|
11923
11895
|
font-size: var(--font-size-5xl) !important;
|
|
11924
|
-
line-height: var(--line-height-5xl) !important;
|
|
11925
11896
|
}
|
|
11926
11897
|
|
|
11927
11898
|
.sm\:text-6xl {
|
|
11928
11899
|
font-size: var(--font-size-6xl) !important;
|
|
11929
|
-
line-height: var(--line-height-6xl) !important;
|
|
11930
11900
|
}
|
|
11931
11901
|
|
|
11932
11902
|
.sm\:text-7xl {
|
|
11933
11903
|
font-size: var(--font-size-7xl) !important;
|
|
11934
|
-
line-height: var(--line-height-7xl) !important;
|
|
11935
11904
|
}
|
|
11936
11905
|
|
|
11937
11906
|
.sm\:text-8xl {
|
|
11938
11907
|
font-size: var(--font-size-8xl) !important;
|
|
11939
|
-
line-height: var(--line-height-8xl) !important;
|
|
11940
11908
|
}
|
|
11941
11909
|
|
|
11942
11910
|
.sm\:text-9xl {
|
|
11943
11911
|
font-size: var(--font-size-9xl) !important;
|
|
11944
|
-
line-height: var(--line-height-9xl) !important;
|
|
11945
11912
|
}
|
|
11946
11913
|
|
|
11947
11914
|
.sm\:text-lg {
|
|
11948
11915
|
font-size: var(--font-size-lg) !important;
|
|
11949
|
-
line-height: var(--line-height-lg) !important;
|
|
11950
11916
|
}
|
|
11951
11917
|
|
|
11952
11918
|
.sm\:text-sm {
|
|
11953
11919
|
font-size: var(--font-size-sm) !important;
|
|
11954
|
-
line-height: var(--line-height-sm) !important;
|
|
11955
11920
|
}
|
|
11956
11921
|
|
|
11957
11922
|
.sm\:text-xl {
|
|
11958
11923
|
font-size: var(--font-size-xl) !important;
|
|
11959
|
-
line-height: var(--line-height-xl) !important;
|
|
11960
11924
|
}
|
|
11961
11925
|
|
|
11962
11926
|
.sm\:text-xs {
|
|
11963
11927
|
font-size: var(--font-size-xs) !important;
|
|
11964
|
-
line-height: var(--line-height-xs) !important;
|
|
11965
|
-
}
|
|
11966
|
-
|
|
11967
|
-
.sm\:visually-hidden {
|
|
11968
|
-
position: absolute !important;
|
|
11969
|
-
padding: 0 !important;
|
|
11970
|
-
border: 0 !important;
|
|
11971
|
-
overflow: hidden !important;
|
|
11972
|
-
white-space: nowrap !important;
|
|
11973
|
-
width: 1px !important;
|
|
11974
|
-
height: 1px !important;
|
|
11975
|
-
margin: -1px !important;
|
|
11976
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
11977
11928
|
}
|
|
11978
11929
|
}
|
|
11979
11930
|
|
|
@@ -15901,74 +15852,50 @@ h6 {
|
|
|
15901
15852
|
|
|
15902
15853
|
.md\:text-2xl {
|
|
15903
15854
|
font-size: var(--font-size-2xl) !important;
|
|
15904
|
-
line-height: var(--line-height-2xl) !important;
|
|
15905
15855
|
}
|
|
15906
15856
|
|
|
15907
15857
|
.md\:text-3xl {
|
|
15908
15858
|
font-size: var(--font-size-3xl) !important;
|
|
15909
|
-
line-height: var(--line-height-3xl) !important;
|
|
15910
15859
|
}
|
|
15911
15860
|
|
|
15912
15861
|
.md\:text-4xl {
|
|
15913
15862
|
font-size: var(--font-size-4xl) !important;
|
|
15914
|
-
line-height: var(--line-height-4xl) !important;
|
|
15915
15863
|
}
|
|
15916
15864
|
|
|
15917
15865
|
.md\:text-5xl {
|
|
15918
15866
|
font-size: var(--font-size-5xl) !important;
|
|
15919
|
-
line-height: var(--line-height-5xl) !important;
|
|
15920
15867
|
}
|
|
15921
15868
|
|
|
15922
15869
|
.md\:text-6xl {
|
|
15923
15870
|
font-size: var(--font-size-6xl) !important;
|
|
15924
|
-
line-height: var(--line-height-6xl) !important;
|
|
15925
15871
|
}
|
|
15926
15872
|
|
|
15927
15873
|
.md\:text-7xl {
|
|
15928
15874
|
font-size: var(--font-size-7xl) !important;
|
|
15929
|
-
line-height: var(--line-height-7xl) !important;
|
|
15930
15875
|
}
|
|
15931
15876
|
|
|
15932
15877
|
.md\:text-8xl {
|
|
15933
15878
|
font-size: var(--font-size-8xl) !important;
|
|
15934
|
-
line-height: var(--line-height-8xl) !important;
|
|
15935
15879
|
}
|
|
15936
15880
|
|
|
15937
15881
|
.md\:text-9xl {
|
|
15938
15882
|
font-size: var(--font-size-9xl) !important;
|
|
15939
|
-
line-height: var(--line-height-9xl) !important;
|
|
15940
15883
|
}
|
|
15941
15884
|
|
|
15942
15885
|
.md\:text-lg {
|
|
15943
15886
|
font-size: var(--font-size-lg) !important;
|
|
15944
|
-
line-height: var(--line-height-lg) !important;
|
|
15945
15887
|
}
|
|
15946
15888
|
|
|
15947
15889
|
.md\:text-sm {
|
|
15948
15890
|
font-size: var(--font-size-sm) !important;
|
|
15949
|
-
line-height: var(--line-height-sm) !important;
|
|
15950
15891
|
}
|
|
15951
15892
|
|
|
15952
15893
|
.md\:text-xl {
|
|
15953
15894
|
font-size: var(--font-size-xl) !important;
|
|
15954
|
-
line-height: var(--line-height-xl) !important;
|
|
15955
15895
|
}
|
|
15956
15896
|
|
|
15957
15897
|
.md\:text-xs {
|
|
15958
15898
|
font-size: var(--font-size-xs) !important;
|
|
15959
|
-
line-height: var(--line-height-xs) !important;
|
|
15960
|
-
}
|
|
15961
|
-
|
|
15962
|
-
.md\:visually-hidden {
|
|
15963
|
-
position: absolute !important;
|
|
15964
|
-
padding: 0 !important;
|
|
15965
|
-
border: 0 !important;
|
|
15966
|
-
overflow: hidden !important;
|
|
15967
|
-
white-space: nowrap !important;
|
|
15968
|
-
width: 1px !important;
|
|
15969
|
-
height: 1px !important;
|
|
15970
|
-
margin: -1px !important;
|
|
15971
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
15972
15899
|
}
|
|
15973
15900
|
}
|
|
15974
15901
|
|
|
@@ -19896,74 +19823,50 @@ h6 {
|
|
|
19896
19823
|
|
|
19897
19824
|
.lg\:text-2xl {
|
|
19898
19825
|
font-size: var(--font-size-2xl) !important;
|
|
19899
|
-
line-height: var(--line-height-2xl) !important;
|
|
19900
19826
|
}
|
|
19901
19827
|
|
|
19902
19828
|
.lg\:text-3xl {
|
|
19903
19829
|
font-size: var(--font-size-3xl) !important;
|
|
19904
|
-
line-height: var(--line-height-3xl) !important;
|
|
19905
19830
|
}
|
|
19906
19831
|
|
|
19907
19832
|
.lg\:text-4xl {
|
|
19908
19833
|
font-size: var(--font-size-4xl) !important;
|
|
19909
|
-
line-height: var(--line-height-4xl) !important;
|
|
19910
19834
|
}
|
|
19911
19835
|
|
|
19912
19836
|
.lg\:text-5xl {
|
|
19913
19837
|
font-size: var(--font-size-5xl) !important;
|
|
19914
|
-
line-height: var(--line-height-5xl) !important;
|
|
19915
19838
|
}
|
|
19916
19839
|
|
|
19917
19840
|
.lg\:text-6xl {
|
|
19918
19841
|
font-size: var(--font-size-6xl) !important;
|
|
19919
|
-
line-height: var(--line-height-6xl) !important;
|
|
19920
19842
|
}
|
|
19921
19843
|
|
|
19922
19844
|
.lg\:text-7xl {
|
|
19923
19845
|
font-size: var(--font-size-7xl) !important;
|
|
19924
|
-
line-height: var(--line-height-7xl) !important;
|
|
19925
19846
|
}
|
|
19926
19847
|
|
|
19927
19848
|
.lg\:text-8xl {
|
|
19928
19849
|
font-size: var(--font-size-8xl) !important;
|
|
19929
|
-
line-height: var(--line-height-8xl) !important;
|
|
19930
19850
|
}
|
|
19931
19851
|
|
|
19932
19852
|
.lg\:text-9xl {
|
|
19933
19853
|
font-size: var(--font-size-9xl) !important;
|
|
19934
|
-
line-height: var(--line-height-9xl) !important;
|
|
19935
19854
|
}
|
|
19936
19855
|
|
|
19937
19856
|
.lg\:text-lg {
|
|
19938
19857
|
font-size: var(--font-size-lg) !important;
|
|
19939
|
-
line-height: var(--line-height-lg) !important;
|
|
19940
19858
|
}
|
|
19941
19859
|
|
|
19942
19860
|
.lg\:text-sm {
|
|
19943
19861
|
font-size: var(--font-size-sm) !important;
|
|
19944
|
-
line-height: var(--line-height-sm) !important;
|
|
19945
19862
|
}
|
|
19946
19863
|
|
|
19947
19864
|
.lg\:text-xl {
|
|
19948
19865
|
font-size: var(--font-size-xl) !important;
|
|
19949
|
-
line-height: var(--line-height-xl) !important;
|
|
19950
19866
|
}
|
|
19951
19867
|
|
|
19952
19868
|
.lg\:text-xs {
|
|
19953
19869
|
font-size: var(--font-size-xs) !important;
|
|
19954
|
-
line-height: var(--line-height-xs) !important;
|
|
19955
|
-
}
|
|
19956
|
-
|
|
19957
|
-
.lg\:visually-hidden {
|
|
19958
|
-
position: absolute !important;
|
|
19959
|
-
padding: 0 !important;
|
|
19960
|
-
border: 0 !important;
|
|
19961
|
-
overflow: hidden !important;
|
|
19962
|
-
white-space: nowrap !important;
|
|
19963
|
-
width: 1px !important;
|
|
19964
|
-
height: 1px !important;
|
|
19965
|
-
margin: -1px !important;
|
|
19966
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
19967
19870
|
}
|
|
19968
19871
|
}
|
|
19969
19872
|
|
|
@@ -23891,74 +23794,50 @@ h6 {
|
|
|
23891
23794
|
|
|
23892
23795
|
.xl\:text-2xl {
|
|
23893
23796
|
font-size: var(--font-size-2xl) !important;
|
|
23894
|
-
line-height: var(--line-height-2xl) !important;
|
|
23895
23797
|
}
|
|
23896
23798
|
|
|
23897
23799
|
.xl\:text-3xl {
|
|
23898
23800
|
font-size: var(--font-size-3xl) !important;
|
|
23899
|
-
line-height: var(--line-height-3xl) !important;
|
|
23900
23801
|
}
|
|
23901
23802
|
|
|
23902
23803
|
.xl\:text-4xl {
|
|
23903
23804
|
font-size: var(--font-size-4xl) !important;
|
|
23904
|
-
line-height: var(--line-height-4xl) !important;
|
|
23905
23805
|
}
|
|
23906
23806
|
|
|
23907
23807
|
.xl\:text-5xl {
|
|
23908
23808
|
font-size: var(--font-size-5xl) !important;
|
|
23909
|
-
line-height: var(--line-height-5xl) !important;
|
|
23910
23809
|
}
|
|
23911
23810
|
|
|
23912
23811
|
.xl\:text-6xl {
|
|
23913
23812
|
font-size: var(--font-size-6xl) !important;
|
|
23914
|
-
line-height: var(--line-height-6xl) !important;
|
|
23915
23813
|
}
|
|
23916
23814
|
|
|
23917
23815
|
.xl\:text-7xl {
|
|
23918
23816
|
font-size: var(--font-size-7xl) !important;
|
|
23919
|
-
line-height: var(--line-height-7xl) !important;
|
|
23920
23817
|
}
|
|
23921
23818
|
|
|
23922
23819
|
.xl\:text-8xl {
|
|
23923
23820
|
font-size: var(--font-size-8xl) !important;
|
|
23924
|
-
line-height: var(--line-height-8xl) !important;
|
|
23925
23821
|
}
|
|
23926
23822
|
|
|
23927
23823
|
.xl\:text-9xl {
|
|
23928
23824
|
font-size: var(--font-size-9xl) !important;
|
|
23929
|
-
line-height: var(--line-height-9xl) !important;
|
|
23930
23825
|
}
|
|
23931
23826
|
|
|
23932
23827
|
.xl\:text-lg {
|
|
23933
23828
|
font-size: var(--font-size-lg) !important;
|
|
23934
|
-
line-height: var(--line-height-lg) !important;
|
|
23935
23829
|
}
|
|
23936
23830
|
|
|
23937
23831
|
.xl\:text-sm {
|
|
23938
23832
|
font-size: var(--font-size-sm) !important;
|
|
23939
|
-
line-height: var(--line-height-sm) !important;
|
|
23940
23833
|
}
|
|
23941
23834
|
|
|
23942
23835
|
.xl\:text-xl {
|
|
23943
23836
|
font-size: var(--font-size-xl) !important;
|
|
23944
|
-
line-height: var(--line-height-xl) !important;
|
|
23945
23837
|
}
|
|
23946
23838
|
|
|
23947
23839
|
.xl\:text-xs {
|
|
23948
23840
|
font-size: var(--font-size-xs) !important;
|
|
23949
|
-
line-height: var(--line-height-xs) !important;
|
|
23950
|
-
}
|
|
23951
|
-
|
|
23952
|
-
.xl\:visually-hidden {
|
|
23953
|
-
position: absolute !important;
|
|
23954
|
-
padding: 0 !important;
|
|
23955
|
-
border: 0 !important;
|
|
23956
|
-
overflow: hidden !important;
|
|
23957
|
-
white-space: nowrap !important;
|
|
23958
|
-
width: 1px !important;
|
|
23959
|
-
height: 1px !important;
|
|
23960
|
-
margin: -1px !important;
|
|
23961
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
23962
23841
|
}
|
|
23963
23842
|
}
|
|
23964
23843
|
|
|
@@ -27886,74 +27765,50 @@ h6 {
|
|
|
27886
27765
|
|
|
27887
27766
|
.\32xl\:text-2xl {
|
|
27888
27767
|
font-size: var(--font-size-2xl) !important;
|
|
27889
|
-
line-height: var(--line-height-2xl) !important;
|
|
27890
27768
|
}
|
|
27891
27769
|
|
|
27892
27770
|
.\32xl\:text-3xl {
|
|
27893
27771
|
font-size: var(--font-size-3xl) !important;
|
|
27894
|
-
line-height: var(--line-height-3xl) !important;
|
|
27895
27772
|
}
|
|
27896
27773
|
|
|
27897
27774
|
.\32xl\:text-4xl {
|
|
27898
27775
|
font-size: var(--font-size-4xl) !important;
|
|
27899
|
-
line-height: var(--line-height-4xl) !important;
|
|
27900
27776
|
}
|
|
27901
27777
|
|
|
27902
27778
|
.\32xl\:text-5xl {
|
|
27903
27779
|
font-size: var(--font-size-5xl) !important;
|
|
27904
|
-
line-height: var(--line-height-5xl) !important;
|
|
27905
27780
|
}
|
|
27906
27781
|
|
|
27907
27782
|
.\32xl\:text-6xl {
|
|
27908
27783
|
font-size: var(--font-size-6xl) !important;
|
|
27909
|
-
line-height: var(--line-height-6xl) !important;
|
|
27910
27784
|
}
|
|
27911
27785
|
|
|
27912
27786
|
.\32xl\:text-7xl {
|
|
27913
27787
|
font-size: var(--font-size-7xl) !important;
|
|
27914
|
-
line-height: var(--line-height-7xl) !important;
|
|
27915
27788
|
}
|
|
27916
27789
|
|
|
27917
27790
|
.\32xl\:text-8xl {
|
|
27918
27791
|
font-size: var(--font-size-8xl) !important;
|
|
27919
|
-
line-height: var(--line-height-8xl) !important;
|
|
27920
27792
|
}
|
|
27921
27793
|
|
|
27922
27794
|
.\32xl\:text-9xl {
|
|
27923
27795
|
font-size: var(--font-size-9xl) !important;
|
|
27924
|
-
line-height: var(--line-height-9xl) !important;
|
|
27925
27796
|
}
|
|
27926
27797
|
|
|
27927
27798
|
.\32xl\:text-lg {
|
|
27928
27799
|
font-size: var(--font-size-lg) !important;
|
|
27929
|
-
line-height: var(--line-height-lg) !important;
|
|
27930
27800
|
}
|
|
27931
27801
|
|
|
27932
27802
|
.\32xl\:text-sm {
|
|
27933
27803
|
font-size: var(--font-size-sm) !important;
|
|
27934
|
-
line-height: var(--line-height-sm) !important;
|
|
27935
27804
|
}
|
|
27936
27805
|
|
|
27937
27806
|
.\32xl\:text-xl {
|
|
27938
27807
|
font-size: var(--font-size-xl) !important;
|
|
27939
|
-
line-height: var(--line-height-xl) !important;
|
|
27940
27808
|
}
|
|
27941
27809
|
|
|
27942
27810
|
.\32xl\:text-xs {
|
|
27943
27811
|
font-size: var(--font-size-xs) !important;
|
|
27944
|
-
line-height: var(--line-height-xs) !important;
|
|
27945
|
-
}
|
|
27946
|
-
|
|
27947
|
-
.\32xl\:visually-hidden {
|
|
27948
|
-
position: absolute !important;
|
|
27949
|
-
padding: 0 !important;
|
|
27950
|
-
border: 0 !important;
|
|
27951
|
-
overflow: hidden !important;
|
|
27952
|
-
white-space: nowrap !important;
|
|
27953
|
-
width: 1px !important;
|
|
27954
|
-
height: 1px !important;
|
|
27955
|
-
margin: -1px !important;
|
|
27956
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
27957
27812
|
}
|
|
27958
27813
|
}
|
|
27959
27814
|
|
|
@@ -28516,67 +28371,54 @@ h6 {
|
|
|
28516
28371
|
|
|
28517
28372
|
.dark\:text-2xl {
|
|
28518
28373
|
font-size: var(--font-size-2xl) !important;
|
|
28519
|
-
line-height: var(--line-height-2xl) !important;
|
|
28520
28374
|
}
|
|
28521
28375
|
|
|
28522
28376
|
.dark\:text-3xl {
|
|
28523
28377
|
font-size: var(--font-size-3xl) !important;
|
|
28524
|
-
line-height: var(--line-height-3xl) !important;
|
|
28525
28378
|
}
|
|
28526
28379
|
|
|
28527
28380
|
.dark\:text-4xl {
|
|
28528
28381
|
font-size: var(--font-size-4xl) !important;
|
|
28529
|
-
line-height: var(--line-height-4xl) !important;
|
|
28530
28382
|
}
|
|
28531
28383
|
|
|
28532
28384
|
.dark\:text-5xl {
|
|
28533
28385
|
font-size: var(--font-size-5xl) !important;
|
|
28534
|
-
line-height: var(--line-height-5xl) !important;
|
|
28535
28386
|
}
|
|
28536
28387
|
|
|
28537
28388
|
.dark\:text-6xl {
|
|
28538
28389
|
font-size: var(--font-size-6xl) !important;
|
|
28539
|
-
line-height: var(--line-height-6xl) !important;
|
|
28540
28390
|
}
|
|
28541
28391
|
|
|
28542
28392
|
.dark\:text-7xl {
|
|
28543
28393
|
font-size: var(--font-size-7xl) !important;
|
|
28544
|
-
line-height: var(--line-height-7xl) !important;
|
|
28545
28394
|
}
|
|
28546
28395
|
|
|
28547
28396
|
.dark\:text-8xl {
|
|
28548
28397
|
font-size: var(--font-size-8xl) !important;
|
|
28549
|
-
line-height: var(--line-height-8xl) !important;
|
|
28550
28398
|
}
|
|
28551
28399
|
|
|
28552
28400
|
.dark\:text-9xl {
|
|
28553
28401
|
font-size: var(--font-size-9xl) !important;
|
|
28554
|
-
line-height: var(--line-height-9xl) !important;
|
|
28555
28402
|
}
|
|
28556
28403
|
|
|
28557
28404
|
.dark\:text-lg {
|
|
28558
28405
|
font-size: var(--font-size-lg) !important;
|
|
28559
|
-
line-height: var(--line-height-lg) !important;
|
|
28560
28406
|
}
|
|
28561
28407
|
|
|
28562
28408
|
.dark\:text-md {
|
|
28563
28409
|
font-size: var(--font-size-md) !important;
|
|
28564
|
-
line-height: var(--line-height-md) !important;
|
|
28565
28410
|
}
|
|
28566
28411
|
|
|
28567
28412
|
.dark\:text-sm {
|
|
28568
28413
|
font-size: var(--font-size-sm) !important;
|
|
28569
|
-
line-height: var(--line-height-sm) !important;
|
|
28570
28414
|
}
|
|
28571
28415
|
|
|
28572
28416
|
.dark\:text-xl {
|
|
28573
28417
|
font-size: var(--font-size-xl) !important;
|
|
28574
|
-
line-height: var(--line-height-xl) !important;
|
|
28575
28418
|
}
|
|
28576
28419
|
|
|
28577
28420
|
.dark\:text-xs {
|
|
28578
28421
|
font-size: var(--font-size-xs) !important;
|
|
28579
|
-
line-height: var(--line-height-xs) !important;
|
|
28580
28422
|
}
|
|
28581
28423
|
|
|
28582
28424
|
.dark\:text-amber-100 {
|
|
@@ -74,17 +74,6 @@ export const novaTailwindPlugin = plugin(({ addUtilities, addComponents, addBase
|
|
|
74
74
|
});
|
|
75
75
|
addUtilities({
|
|
76
76
|
...NOVA_TAILWIND_TOKENS,
|
|
77
|
-
'.visually-hidden': {
|
|
78
|
-
position: 'absolute',
|
|
79
|
-
padding: '0',
|
|
80
|
-
border: '0',
|
|
81
|
-
overflow: 'hidden',
|
|
82
|
-
'white-space': 'nowrap',
|
|
83
|
-
width: '1px',
|
|
84
|
-
height: '1px',
|
|
85
|
-
margin: '-1px',
|
|
86
|
-
clip: 'rect(0, 0, 0, 0)',
|
|
87
|
-
},
|
|
88
77
|
'.w-inherit': {
|
|
89
78
|
width: 'inherit',
|
|
90
79
|
},
|
|
@@ -313,7 +313,6 @@ const resize = [
|
|
|
313
313
|
];
|
|
314
314
|
// From the nova tailwind plugin (nova-plugin.ts)
|
|
315
315
|
const utils = [
|
|
316
|
-
{ pattern: /^visually-hidden$/, variants: responsive },
|
|
317
316
|
{ pattern: /^text-(high|medium|low)$/ },
|
|
318
317
|
{ pattern: /^bg-level-(00|10|20|30|40)(-hover)?$/ },
|
|
319
318
|
{ pattern: /^border-(high|medium|low)$/ },
|
|
@@ -55,19 +55,19 @@ export declare const borderRadius: {
|
|
|
55
55
|
full: string;
|
|
56
56
|
};
|
|
57
57
|
export declare const fontSize: {
|
|
58
|
-
xs:
|
|
59
|
-
sm:
|
|
60
|
-
md:
|
|
61
|
-
lg:
|
|
62
|
-
xl:
|
|
63
|
-
'2xl':
|
|
64
|
-
'3xl':
|
|
65
|
-
'4xl':
|
|
66
|
-
'5xl':
|
|
67
|
-
'6xl':
|
|
68
|
-
'7xl':
|
|
69
|
-
'8xl':
|
|
70
|
-
'9xl':
|
|
58
|
+
xs: string;
|
|
59
|
+
sm: string;
|
|
60
|
+
md: string;
|
|
61
|
+
lg: string;
|
|
62
|
+
xl: string;
|
|
63
|
+
'2xl': string;
|
|
64
|
+
'3xl': string;
|
|
65
|
+
'4xl': string;
|
|
66
|
+
'5xl': string;
|
|
67
|
+
'6xl': string;
|
|
68
|
+
'7xl': string;
|
|
69
|
+
'8xl': string;
|
|
70
|
+
'9xl': string;
|
|
71
71
|
};
|
|
72
72
|
export declare const lineHeight: {
|
|
73
73
|
xs: string;
|
|
@@ -54,19 +54,19 @@ export const borderRadius = {
|
|
|
54
54
|
full: 'var(--radius-rounded-full)',
|
|
55
55
|
};
|
|
56
56
|
export const fontSize = {
|
|
57
|
-
xs:
|
|
58
|
-
sm:
|
|
59
|
-
md:
|
|
60
|
-
lg:
|
|
61
|
-
xl:
|
|
62
|
-
'2xl':
|
|
63
|
-
'3xl':
|
|
64
|
-
'4xl':
|
|
65
|
-
'5xl':
|
|
66
|
-
'6xl':
|
|
67
|
-
'7xl':
|
|
68
|
-
'8xl':
|
|
69
|
-
'9xl':
|
|
57
|
+
xs: 'var(--font-size-xs)',
|
|
58
|
+
sm: 'var(--font-size-sm)',
|
|
59
|
+
md: 'var(--font-size-md)',
|
|
60
|
+
lg: 'var(--font-size-lg)',
|
|
61
|
+
xl: 'var(--font-size-xl)',
|
|
62
|
+
'2xl': 'var(--font-size-2xl)',
|
|
63
|
+
'3xl': 'var(--font-size-3xl)',
|
|
64
|
+
'4xl': 'var(--font-size-4xl)',
|
|
65
|
+
'5xl': 'var(--font-size-5xl)',
|
|
66
|
+
'6xl': 'var(--font-size-6xl)',
|
|
67
|
+
'7xl': 'var(--font-size-7xl)',
|
|
68
|
+
'8xl': 'var(--font-size-8xl)',
|
|
69
|
+
'9xl': 'var(--font-size-9xl)',
|
|
70
70
|
};
|
|
71
71
|
export const lineHeight = {
|
|
72
72
|
xs: 'var(--line-height-xs)',
|
|
@@ -86,18 +86,6 @@ export const lineHeight = {
|
|
|
86
86
|
export const colors = {
|
|
87
87
|
background: 'var(--color-level-00-background)',
|
|
88
88
|
text: 'var(--color-content-medium-text)',
|
|
89
|
-
brand: {
|
|
90
|
-
50: 'var(--color-brand-50)',
|
|
91
|
-
100: 'var(--color-brand-100)',
|
|
92
|
-
200: 'var(--color-brand-200)',
|
|
93
|
-
300: 'var(--color-brand-300)',
|
|
94
|
-
400: 'var(--color-brand-400)',
|
|
95
|
-
500: 'var(--color-brand-500)',
|
|
96
|
-
600: 'var(--color-brand-600)',
|
|
97
|
-
700: 'var(--color-brand-700)',
|
|
98
|
-
800: 'var(--color-brand-800)',
|
|
99
|
-
900: 'var(--color-brand-900)',
|
|
100
|
-
},
|
|
101
89
|
green: {
|
|
102
90
|
50: 'var(--color-green-50)',
|
|
103
91
|
100: 'var(--color-green-100)',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-design-system/nova-base",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.45",
|
|
4
4
|
"description": "Nova is a design system created by Elia Group to empower creators to efficiently build solutions that people love to use.",
|
|
5
5
|
"author": "Elia Group",
|
|
6
6
|
"homepage": "https://nova.eliagroup.io",
|