@northlight/ui 2.27.4 → 2.28.1
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/es/northlight.d.ts +32 -5
- package/dist/es/northlight.js +49 -2
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +52 -1
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +3 -3
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +3 -3
package/dist/umd/northlight.cjs
CHANGED
|
@@ -514,6 +514,7 @@
|
|
|
514
514
|
}),
|
|
515
515
|
option: (provided, state) => __spreadProps$w(__spreadValues$2k({}, provided), {
|
|
516
516
|
background: state.isFocused && "background.select.option-focus",
|
|
517
|
+
overflowWrap: "anywhere",
|
|
517
518
|
_active: {
|
|
518
519
|
background: "background.select.option-active"
|
|
519
520
|
}
|
|
@@ -3034,6 +3035,7 @@
|
|
|
3034
3035
|
variants: {
|
|
3035
3036
|
default: ({ theme: { colors: color } }) => ({
|
|
3036
3037
|
bgColor: color.background.button.default,
|
|
3038
|
+
color: color.text.button.default,
|
|
3037
3039
|
_hover: {
|
|
3038
3040
|
bgColor: color.background.button["default-hover"]
|
|
3039
3041
|
},
|
|
@@ -3721,6 +3723,11 @@
|
|
|
3721
3723
|
|
|
3722
3724
|
const Tabs$1 = {
|
|
3723
3725
|
parts: ["tab"],
|
|
3726
|
+
baseStyle: ({ theme: { fontWeights: coreFontWeight } }) => ({
|
|
3727
|
+
tab: {
|
|
3728
|
+
fontWeight: coreFontWeight.semiBold
|
|
3729
|
+
}
|
|
3730
|
+
}),
|
|
3724
3731
|
variants: {
|
|
3725
3732
|
"soft-rounded": ({ theme: { colors: color } }) => ({
|
|
3726
3733
|
tab: {
|
|
@@ -3730,6 +3737,27 @@
|
|
|
3730
3737
|
bg: color.background.tabs["soft-rounded-active"],
|
|
3731
3738
|
color: color.text.tabs["soft-rounded-active"]
|
|
3732
3739
|
},
|
|
3740
|
+
_hover: {
|
|
3741
|
+
color: color.text.tabs["soft-rounded-active"]
|
|
3742
|
+
},
|
|
3743
|
+
_focusVisible: {
|
|
3744
|
+
ring: "2px",
|
|
3745
|
+
ringColor: color.border.wcag,
|
|
3746
|
+
ringOffset: "1px"
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
}),
|
|
3750
|
+
rounded: ({ theme: { colors: color, radii: borderRadius } }) => ({
|
|
3751
|
+
tab: {
|
|
3752
|
+
color: color.text.subdued,
|
|
3753
|
+
borderRadius: borderRadius.button.default,
|
|
3754
|
+
_selected: {
|
|
3755
|
+
bg: color.background.tabs["soft-rounded-active"],
|
|
3756
|
+
color: color.text.tabs["soft-rounded-active"]
|
|
3757
|
+
},
|
|
3758
|
+
_hover: {
|
|
3759
|
+
color: color.text.tabs["soft-rounded-active"]
|
|
3760
|
+
},
|
|
3733
3761
|
_focusVisible: {
|
|
3734
3762
|
ring: "2px",
|
|
3735
3763
|
ringColor: color.border.wcag,
|
|
@@ -3750,6 +3778,25 @@
|
|
|
3750
3778
|
ringOffset: "1px"
|
|
3751
3779
|
}
|
|
3752
3780
|
}
|
|
3781
|
+
}),
|
|
3782
|
+
line: ({ theme: { colors: color } }) => ({
|
|
3783
|
+
tab: {
|
|
3784
|
+
color: color.text.subdued,
|
|
3785
|
+
_selected: {
|
|
3786
|
+
color: color.text.tabs["soft-rounded-active"]
|
|
3787
|
+
},
|
|
3788
|
+
_hover: {
|
|
3789
|
+
color: color.text.tabs["soft-rounded-active"]
|
|
3790
|
+
},
|
|
3791
|
+
_active: {
|
|
3792
|
+
bg: color.mono.transparent
|
|
3793
|
+
},
|
|
3794
|
+
_focusVisible: {
|
|
3795
|
+
ring: "2px",
|
|
3796
|
+
ringColor: color.border.wcag,
|
|
3797
|
+
ringOffset: "1px"
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3753
3800
|
})
|
|
3754
3801
|
}
|
|
3755
3802
|
};
|
|
@@ -12629,7 +12676,7 @@
|
|
|
12629
12676
|
const Tabs = (_a) => {
|
|
12630
12677
|
var _b = _a, {
|
|
12631
12678
|
children,
|
|
12632
|
-
variant = "
|
|
12679
|
+
variant = "rounded",
|
|
12633
12680
|
isManual = true
|
|
12634
12681
|
} = _b, rest = __objRest$i(_b, [
|
|
12635
12682
|
"children",
|
|
@@ -14328,6 +14375,10 @@
|
|
|
14328
14375
|
enumerable: true,
|
|
14329
14376
|
get: function () { return react.ListItem; }
|
|
14330
14377
|
});
|
|
14378
|
+
Object.defineProperty(exports, 'Mark', {
|
|
14379
|
+
enumerable: true,
|
|
14380
|
+
get: function () { return react.Mark; }
|
|
14381
|
+
});
|
|
14331
14382
|
Object.defineProperty(exports, 'MenuButton', {
|
|
14332
14383
|
enumerable: true,
|
|
14333
14384
|
get: function () { return react.MenuButton; }
|