@northlight/ui 2.34.3 → 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.
@@ -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';
@@ -907,9 +907,9 @@ interface DatePickerSettings {
907
907
  isClearable?: boolean;
908
908
  variant?: 'outline' | 'filled';
909
909
  }
910
- interface DatePickerProps extends AriaDatePickerProps<DateValue>, DatePickerSettings {
910
+ interface DatePickerProps extends Omit<AriaDatePickerProps<DateValue>, 'firstDayOfWeek'>, DatePickerSettings {
911
911
  }
912
- interface DateRangePickerProps extends Omit<AriaDateRangePickerProps<DateValue>, 'onChange' | 'value' | 'minValue' | 'maxValue'>, DatePickerSettings {
912
+ interface DateRangePickerProps extends Omit<AriaDateRangePickerProps<DateValue>, 'firstDayOfWeek' | 'onChange' | 'value' | 'minValue' | 'maxValue'>, DatePickerSettings {
913
913
  onChange?: (date: null | DateRange) => void;
914
914
  onSave?: () => void;
915
915
  value: DateRange | null;
@@ -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"]