@nova-design-system/nova-base 3.0.0-beta.36 → 3.0.0-beta.38
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/assets/icons/icon-sprite.svg +1 -1
- package/dist/cjs/generated/nova-tailwind-components.js +128 -17
- package/dist/cjs/plugin/nova-plugin.js +4 -0
- package/dist/cjs/plugin/nova-theme.js +1 -0
- package/dist/css/mccs.css +155 -120
- package/dist/css/nova-utils.css +153 -100
- package/dist/css/ocean.css +179 -138
- package/dist/css/spark.css +181 -140
- package/dist/generated/nova-tailwind-components.d.ts +112 -1
- package/dist/generated/nova-tailwind-components.js +128 -17
- package/dist/js/mccs_dark.d.ts +37 -20
- package/dist/js/mccs_dark.js +41 -24
- package/dist/js/mccs_light.d.ts +37 -20
- package/dist/js/mccs_light.js +40 -23
- package/dist/js/ocean_dark.d.ts +49 -32
- package/dist/js/ocean_dark.js +53 -36
- package/dist/js/ocean_light.d.ts +49 -32
- package/dist/js/ocean_light.js +52 -35
- package/dist/js/primitives.d.ts +0 -6
- package/dist/js/primitives.js +0 -6
- package/dist/js/spacings.d.ts +75 -62
- package/dist/js/spacings.js +77 -64
- package/dist/js/spark_dark.d.ts +49 -32
- package/dist/js/spark_dark.js +53 -36
- package/dist/js/spark_light.d.ts +49 -32
- package/dist/js/spark_light.js +54 -37
- package/dist/plugin/nova-plugin.d.ts +1 -0
- package/dist/plugin/nova-plugin.js +4 -0
- package/dist/plugin/nova-theme.d.ts +1 -0
- package/dist/plugin/nova-theme.js +1 -0
- package/package.json +7 -2
package/dist/js/spark_light.js
CHANGED
|
@@ -2,18 +2,6 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export const ColorInteractionContainerBrandedHighBorder = "#ffffff";
|
|
6
|
-
export const ColorInteractionContainerBrandedHighBorderActive = "#ffffff";
|
|
7
|
-
export const ColorInteractionContainerBrandedHighBorderHover = "#ffffff";
|
|
8
|
-
export const ColorInteractionContainerBrandedHighBackground = "#e75420";
|
|
9
|
-
export const ColorInteractionContainerBrandedHighBackgroundActive = "#bf451a";
|
|
10
|
-
export const ColorInteractionContainerBrandedHighBackgroundHover = "#bf451a";
|
|
11
|
-
export const ColorInteractionContainerBrandedHighIcon = "#ffffff";
|
|
12
|
-
export const ColorInteractionContainerBrandedHighIconActive = "#ffffff";
|
|
13
|
-
export const ColorInteractionContainerBrandedHighIconHover = "#ffffff";
|
|
14
|
-
export const ColorInteractionContainerBrandedHighText = "#ffffff";
|
|
15
|
-
export const ColorInteractionContainerBrandedHighTextActive = "#ffffff";
|
|
16
|
-
export const ColorInteractionContainerBrandedHighTextHover = "#ffffff";
|
|
17
5
|
export const ColorInteractionContainerBrandedLowBackground = "#ffffff";
|
|
18
6
|
export const ColorInteractionContainerBrandedLowBackgroundActive = "#fceae3";
|
|
19
7
|
export const ColorInteractionContainerBrandedLowBackgroundHover = "#fceae3";
|
|
@@ -26,6 +14,18 @@ export const ColorInteractionContainerBrandedLowIconHover = "#bf451a";
|
|
|
26
14
|
export const ColorInteractionContainerBrandedLowText = "#e75420";
|
|
27
15
|
export const ColorInteractionContainerBrandedLowTextActive = "#bf451a";
|
|
28
16
|
export const ColorInteractionContainerBrandedLowTextHover = "#bf451a";
|
|
17
|
+
export const ColorInteractionContainerBrandedHighBackground = "#e75420";
|
|
18
|
+
export const ColorInteractionContainerBrandedHighBackgroundActive = "#bf451a";
|
|
19
|
+
export const ColorInteractionContainerBrandedHighBackgroundHover = "#bf451a";
|
|
20
|
+
export const ColorInteractionContainerBrandedHighBorder = "#e75420";
|
|
21
|
+
export const ColorInteractionContainerBrandedHighBorderActive = "#bf451a";
|
|
22
|
+
export const ColorInteractionContainerBrandedHighBorderHover = "#bf451a";
|
|
23
|
+
export const ColorInteractionContainerBrandedHighIcon = "#ffffff";
|
|
24
|
+
export const ColorInteractionContainerBrandedHighIconActive = "#ffffff";
|
|
25
|
+
export const ColorInteractionContainerBrandedHighIconHover = "#ffffff";
|
|
26
|
+
export const ColorInteractionContainerBrandedHighText = "#ffffff";
|
|
27
|
+
export const ColorInteractionContainerBrandedHighTextActive = "#ffffff";
|
|
28
|
+
export const ColorInteractionContainerBrandedHighTextHover = "#ffffff";
|
|
29
29
|
export const ColorInteractionContainerNeutralBackground = "#ffffff";
|
|
30
30
|
export const ColorInteractionContainerNeutralBackgroundHover = "#a5a5a5";
|
|
31
31
|
export const ColorInteractionContainerNeutralBackgroundActive = "#fceae3";
|
|
@@ -50,6 +50,8 @@ export const ColorInteractionLinkInvertedTextHover = "#e75420";
|
|
|
50
50
|
export const ColorInteractionLinkInvertedIcon = "#919191";
|
|
51
51
|
export const ColorInteractionLinkInvertedIconHover = "#e75420";
|
|
52
52
|
export const ColorBlack = "#000000";
|
|
53
|
+
export const ColorWhite = "#ffffff";
|
|
54
|
+
export const ColorTransparent = "#ffffff";
|
|
53
55
|
export const ColorLevel10Background = "#f6f6f6";
|
|
54
56
|
export const ColorLevel15Background = "#ededed";
|
|
55
57
|
export const ColorLevel20Background = "#ffffff";
|
|
@@ -186,6 +188,8 @@ export const ColorRainbow10Text = "#484848";
|
|
|
186
188
|
export const ColorDontUseBorder = "#e3e3e3";
|
|
187
189
|
export const ColorDontUseContent = "#e3e3e3";
|
|
188
190
|
export const ColorDontUseBackground = "#f6f6f6";
|
|
191
|
+
export const OpacityDisabled = "50%";
|
|
192
|
+
export const OpacityDisabled2 = "50%";
|
|
189
193
|
export const ShadowColorOpacity0 = "#000000";
|
|
190
194
|
export const ShadowColorOpacity1 = "#0e0e0e";
|
|
191
195
|
export const ShadowColorOpacity2 = "#0e0e0e";
|
|
@@ -212,13 +216,12 @@ export const ShadowYAxisLg2 = "10px";
|
|
|
212
216
|
export const ShadowYAxisXl1 = "10px";
|
|
213
217
|
export const ShadowYAxisXl2 = "20px";
|
|
214
218
|
export const ShadowYAxis2xl = "25px";
|
|
215
|
-
export const ComponentsWpfComponents2 = "#ffffff";
|
|
216
219
|
export const ComponentsButtonHighBorder = "#ffffff";
|
|
217
220
|
export const ComponentsButtonHighBackground = "#e75420";
|
|
218
221
|
export const ComponentsButtonHighBackgroundActive = "#bf451a";
|
|
219
222
|
export const ComponentsButtonHighBackgroundHover = "#bf451a";
|
|
220
|
-
export const ComponentsButtonHighBorderHover = "#
|
|
221
|
-
export const ComponentsButtonHighBorderActive = "#
|
|
223
|
+
export const ComponentsButtonHighBorderHover = "#bf451a";
|
|
224
|
+
export const ComponentsButtonHighBorderActive = "#bf451a";
|
|
222
225
|
export const ComponentsButtonHighText = "#ffffff";
|
|
223
226
|
export const ComponentsButtonHighTextActive = "#ffffff";
|
|
224
227
|
export const ComponentsButtonHighTextHover = "#ffffff";
|
|
@@ -271,8 +274,8 @@ export const ComponentsButtonMediumIconHover = "#bf451a";
|
|
|
271
274
|
export const ComponentsButtonMediumText = "#e75420";
|
|
272
275
|
export const ComponentsButtonMediumTextActive = "#bf451a";
|
|
273
276
|
export const ComponentsButtonMediumTextHover = "#bf451a";
|
|
274
|
-
export const ComponentsFormOpacityDefault = "
|
|
275
|
-
export const ComponentsFormOpacityDisabled = "
|
|
277
|
+
export const ComponentsFormOpacityDefault = "100%";
|
|
278
|
+
export const ComponentsFormOpacityDisabled = "50%";
|
|
276
279
|
export const ComponentsFormTextRequired = "#da2424";
|
|
277
280
|
export const ComponentsFormTextInfoIcon = "#6d6d6d";
|
|
278
281
|
export const ComponentsFormTextLabelDefault = "#1d1d1d";
|
|
@@ -324,17 +327,21 @@ export const ComponentsListNativeItemBackgroundDefault = "#ffffff";
|
|
|
324
327
|
export const ComponentsListNativeItemBackgroundHover = "#4e7fdf";
|
|
325
328
|
export const ComponentsListNativeItemBackgroundDisabled = "#ffffff";
|
|
326
329
|
export const ComponentsListNativeItemBackgroundTitle = "#ffffff";
|
|
327
|
-
export const
|
|
328
|
-
export const
|
|
329
|
-
export const
|
|
330
|
-
export const
|
|
331
|
-
export const
|
|
332
|
-
export const
|
|
333
|
-
export const
|
|
334
|
-
export const
|
|
335
|
-
export const
|
|
336
|
-
export const
|
|
337
|
-
export const
|
|
330
|
+
export const ComponentsListDropdownBackground = "#ffffff";
|
|
331
|
+
export const ComponentsListDropdownHeaderBackground = "#f6f6f6";
|
|
332
|
+
export const ComponentsListDropdownItemLabelDefault = "#414141";
|
|
333
|
+
export const ComponentsListDropdownItemLabelHover = "#1d1d1d";
|
|
334
|
+
export const ComponentsListDropdownItemLabelDisabled = "#6d6d6d";
|
|
335
|
+
export const ComponentsListDropdownItemDescriptionDefault = "#6d6d6d";
|
|
336
|
+
export const ComponentsListDropdownItemDescriptionHover = "#414141";
|
|
337
|
+
export const ComponentsListDropdownItemDescriptionDisabled = "#a9a9a9";
|
|
338
|
+
export const ComponentsListDropdownItemBackgroundDefault = "#ffffff";
|
|
339
|
+
export const ComponentsListDropdownItemBackgroundHover = "#a5a5a5";
|
|
340
|
+
export const ComponentsListDropdownItemBackgroundDisabled = "#ffffff";
|
|
341
|
+
export const ComponentsListDropdownItemBackgroundTitle = "#ffffff";
|
|
342
|
+
export const ComponentsListDropdownItemTitleContent = "#414141";
|
|
343
|
+
export const ComponentsListDropdownSeparator = "#e3e3e3";
|
|
344
|
+
export const ComponentsListDropdownBorder = "#e3e3e3";
|
|
338
345
|
export const ComponentsLoaderWhiteBackground = "#ffffff";
|
|
339
346
|
export const ComponentsLoaderWhiteForeground = "#ffffff";
|
|
340
347
|
export const ComponentsLoaderBrandBackground = "#fceae3";
|
|
@@ -369,7 +376,7 @@ export const ComponentsButtonDestructiveLowerIcon = "#e3e3e3";
|
|
|
369
376
|
export const ComponentsButtonDestructiveLowerIconHover = "#e3e3e3";
|
|
370
377
|
export const ComponentsButtonDestructiveLowerBorder = "#e3e3e3";
|
|
371
378
|
export const ComponentsButtonDestructiveLowerBorderHover = "#e3e3e3";
|
|
372
|
-
export const ComponentsOverlayOpacity = "
|
|
379
|
+
export const ComponentsOverlayOpacity = "55%";
|
|
373
380
|
export const ComponentsOverlayBackground = "#161616";
|
|
374
381
|
export const ComponentsAlertInformationBackground = "#f0f6ff";
|
|
375
382
|
export const ComponentsAlertInformationIcon = "#2660c2";
|
|
@@ -418,6 +425,16 @@ export const ComponentsAvatarContent7 = "#106f15";
|
|
|
418
425
|
export const ComponentsAvatarContent8 = "#1f717d";
|
|
419
426
|
export const ComponentsAvatarContent9 = "#5c6e1f";
|
|
420
427
|
export const ComponentsAvatarContent10 = "#484848";
|
|
428
|
+
export const ComponentsFieldTimeBackgroundDefault = "#ffffff";
|
|
429
|
+
export const ComponentsFieldTimeBackgroundHover = "#a5a5a5";
|
|
430
|
+
export const ComponentsFieldTimeBackgroundActive = "#fceae3";
|
|
431
|
+
export const ComponentsFieldTimeTextDefault = "#6d6d6d";
|
|
432
|
+
export const ComponentsFieldTimeTextHover = "#414141";
|
|
433
|
+
export const ComponentsFieldTimeTextActive = "#bf451a";
|
|
434
|
+
export const ComponentsFieldTimeBorderActive = "#bf451a";
|
|
435
|
+
export const ComponentsBreadcrumbText = "#6d6d6d";
|
|
436
|
+
export const ComponentsBreadcrumbTextActive = "#414141";
|
|
437
|
+
export const ComponentsBreadcrumbTextHover = "#e75420";
|
|
421
438
|
export const ComponentsNotificationInformationBackground = "#ffffff";
|
|
422
439
|
export const ComponentsNotificationInformationIcon = "#2660c2";
|
|
423
440
|
export const ComponentsNotificationInformationBorder = "#2660c2";
|
|
@@ -435,14 +452,6 @@ export const ComponentsNotificationSuccessIcon = "#34ae3b";
|
|
|
435
452
|
export const ComponentsNotificationNeutralBackground = "#ffffff";
|
|
436
453
|
export const ComponentsNotificationNeutralBorder = "#6d6d6d";
|
|
437
454
|
export const ComponentsNotificationNeutralIcon = "#6d6d6d";
|
|
438
|
-
export const ComponentsPopoverBackground = "#f6f6f6";
|
|
439
|
-
export const ComponentsPopoverBorder = "#e3e3e3";
|
|
440
|
-
export const ComponentsPopoverText = "#414141";
|
|
441
|
-
export const ComponentsPopoverSupportingText = "#6d6d6d";
|
|
442
|
-
export const ComponentsTooltipBackground = "#0e0e0e";
|
|
443
|
-
export const ComponentsTooltipBorder = "#0e0e0e";
|
|
444
|
-
export const ComponentsTooltipText = "#f6f6f6";
|
|
445
|
-
export const ComponentsTooltipSupportingText = "#919191";
|
|
446
455
|
export const ComponentsMenuContextualBackground = "#ffffff";
|
|
447
456
|
export const ComponentsMenuContextualBorder = "#e3e3e3";
|
|
448
457
|
export const ComponentsMenuContextualItemBackground = "#ffffff";
|
|
@@ -451,3 +460,11 @@ export const ComponentsMenuContextualItemShortcut = "#a9a9a9";
|
|
|
451
460
|
export const ComponentsMenuContextualItemContent = "#6d6d6d";
|
|
452
461
|
export const ComponentsMenuContextualItemContentDisabled = "#a9a9a9";
|
|
453
462
|
export const ComponentsMenuContextualItemContentHover = "#414141";
|
|
463
|
+
export const ComponentsPopoverBackground = "#ffffff";
|
|
464
|
+
export const ComponentsPopoverBorder = "#e3e3e3";
|
|
465
|
+
export const ComponentsPopoverText = "#414141";
|
|
466
|
+
export const ComponentsPopoverSupportingText = "#6d6d6d";
|
|
467
|
+
export const ComponentsTooltipBackground = "#0e0e0e";
|
|
468
|
+
export const ComponentsTooltipBorder = "#0e0e0e";
|
|
469
|
+
export const ComponentsTooltipText = "#f6f6f6";
|
|
470
|
+
export const ComponentsTooltipSupportingText = "#919191";
|
|
@@ -29,6 +29,9 @@ export const novaTailwindPlugin = plugin(({ addUtilities, addComponents, addBase
|
|
|
29
29
|
'a:hover': {
|
|
30
30
|
color: 'var(--color-interaction-link-high-text-hover)',
|
|
31
31
|
},
|
|
32
|
+
'no-underline': {
|
|
33
|
+
'text-decoration': 'none',
|
|
34
|
+
},
|
|
32
35
|
h1: {
|
|
33
36
|
fontSize: 'var(--global-typography-h1-font-size)',
|
|
34
37
|
lineHeight: 'var(--global-typography-h1-line-height)',
|
|
@@ -102,3 +105,4 @@ export const novaTailwindPlugin = plugin(({ addUtilities, addComponents, addBase
|
|
|
102
105
|
},
|
|
103
106
|
});
|
|
104
107
|
});
|
|
108
|
+
export default novaTailwindPlugin;
|
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.38",
|
|
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",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
|
-
"generate-tokens": "tsx scripts/extract-tokens.ts && tsx scripts/generate-token-files.ts",
|
|
14
|
+
"generate-tokens": "tsx scripts/extract-tokens/extract-tokens.ts && tsx scripts/generate-token-files.ts",
|
|
15
15
|
"generate-css-utils": "tailwindcss -i ./plugin/tailwind.css -o ./dist/css/nova-utils.css",
|
|
16
16
|
"generate-tailwind-tokens": "tsx scripts/generate-tailwind-tokens.ts",
|
|
17
17
|
"generate-tailwind-components": "tsx scripts/generate-tailwind-components.ts",
|
|
@@ -40,6 +40,11 @@
|
|
|
40
40
|
"import": "./dist/plugin/index.js",
|
|
41
41
|
"require": "./dist/cjs/plugin/index.js",
|
|
42
42
|
"types": "./dist/plugin/index.d.ts"
|
|
43
|
+
},
|
|
44
|
+
"./theme/plugin": {
|
|
45
|
+
"import": "./dist/plugin/nova-plugin.js",
|
|
46
|
+
"require": "./dist/cjs/plugin/nova-plugin.js",
|
|
47
|
+
"types": "./dist/plugin/nova-plugin.d.ts"
|
|
43
48
|
}
|
|
44
49
|
}
|
|
45
50
|
}
|