@northlight/ui 2.35.0 → 2.35.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 +1 -1
- package/dist/es/northlight.js +18 -0
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +18 -0
- 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 +2 -2
package/dist/es/northlight.d.ts
CHANGED
|
@@ -700,7 +700,7 @@ declare const ColorPicker: ({ onChange, clearable, colors, expandedColors, value
|
|
|
700
700
|
declare const ColorPickerField: ({ name, label, direction, isRequired, validate, ...rest }: ColorPickerFieldProps) => JSX.Element;
|
|
701
701
|
|
|
702
702
|
type FlipButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
703
|
-
type FlipButtonVariant = 'default' | 'brand';
|
|
703
|
+
type FlipButtonVariant = 'default' | 'brand' | 'light';
|
|
704
704
|
type StyleType = {
|
|
705
705
|
opacity: '0';
|
|
706
706
|
width: '0';
|
package/dist/es/northlight.js
CHANGED
|
@@ -2148,6 +2148,24 @@ const FlipButton$1 = {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
}
|
|
2150
2150
|
}),
|
|
2151
|
+
light: ({ theme: { colors: color }, sx }) => ({
|
|
2152
|
+
container: merge({
|
|
2153
|
+
bgColor: color["base-alt"]
|
|
2154
|
+
}, sx),
|
|
2155
|
+
button: {
|
|
2156
|
+
bgColor: "mono.transparent",
|
|
2157
|
+
_hover: {
|
|
2158
|
+
bgColor: color.background.button["ghost-hover"]
|
|
2159
|
+
},
|
|
2160
|
+
_checked: {
|
|
2161
|
+
color: color.text["flip-button"].default,
|
|
2162
|
+
bgColor: "bg.base",
|
|
2163
|
+
_hover: {
|
|
2164
|
+
bgColor: "bg.base"
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
}),
|
|
2151
2169
|
ai: ({ theme: { colors: color }, sx }) => ({
|
|
2152
2170
|
container: merge({
|
|
2153
2171
|
bgColor: color.background["flip-button"]["default-deselected-brand"]
|