@noya-app/noya-designsystem 0.0.13 → 0.0.14

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.
@@ -6,13 +6,13 @@
6
6
  CLI Target: esnext
7
7
  CJS Build start
8
8
  ESM Build start
9
- CJS dist/index.js 184.20 KB
10
- CJS dist/index.js.map 366.85 KB
11
- CJS ⚡️ Build success in 138ms
12
- ESM dist/index.mjs 167.94 KB
13
- ESM dist/index.mjs.map 365.94 KB
14
- ESM ⚡️ Build success in 139ms
9
+ CJS dist/index.js 184.94 KB
10
+ CJS dist/index.js.map 368.98 KB
11
+ CJS ⚡️ Build success in 86ms
12
+ ESM dist/index.mjs 168.67 KB
13
+ ESM dist/index.mjs.map 368.07 KB
14
+ ESM ⚡️ Build success in 86ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 6080ms
17
- DTS dist/index.d.ts 53.26 KB
18
- DTS dist/index.d.mts 53.26 KB
16
+ DTS ⚡️ Build success in 5856ms
17
+ DTS dist/index.d.ts 53.86 KB
18
+ DTS dist/index.d.mts 53.86 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @noya-app/noya-designsystem
2
2
 
3
+ ## 0.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Bump version
8
+ - Updated dependencies
9
+ - @noya-app/noya-colorpicker@0.0.8
10
+ - @noya-app/noya-geometry@0.0.12
11
+ - @noya-app/noya-icons@0.0.5
12
+ - @noya-app/noya-keymap@0.0.7
13
+ - @noya-app/noya-utils@0.0.11
14
+
3
15
  ## 0.0.13
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -34,17 +34,19 @@ declare function Avatar({ image, name, fallback, size, overflow, }: {
34
34
  overflow?: number;
35
35
  }): React__default.JSX.Element;
36
36
 
37
- type ButtonVariant = 'normal' | 'primary' | 'secondary' | 'secondaryBright' | 'white' | 'thin' | 'floating' | 'none';
38
- type ButtonSize = 'normal' | 'large';
37
+ type ButtonVariant = "normal" | "primary" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
38
+ type ButtonSize = "normal" | "large";
39
39
  declare const ButtonElement: styled_components.StyledComponent<"button", styled_components.DefaultTheme, {
40
40
  active: boolean;
41
41
  variant: ButtonVariant;
42
42
  size: ButtonSize;
43
- flex?: CSSProperties['flex'];
43
+ flex?: CSSProperties["flex"];
44
44
  }, never>;
45
45
  interface ButtonRootProps {
46
46
  id?: string;
47
- flex?: CSSProperties['flex'];
47
+ className?: string;
48
+ style?: CSSProperties;
49
+ flex?: CSSProperties["flex"];
48
50
  tabIndex?: number;
49
51
  children: ReactNode;
50
52
  active?: boolean;
@@ -91,6 +93,7 @@ declare const colors$1: {
91
93
  textMuted: string;
92
94
  textSubtle: string;
93
95
  textDisabled: string;
96
+ textDecorativeLight: string;
94
97
  dividerSubtle: string;
95
98
  divider: string;
96
99
  dividerStrong: string;
@@ -104,6 +107,9 @@ declare const colors$1: {
104
107
  inputBackground: string;
105
108
  inputBackgroundLight: string;
106
109
  codeBackground: string;
110
+ codeBackgroundLight: string;
111
+ readonly codeBackgroundDark: string;
112
+ codeBackgroundDecorativeDark: string;
107
113
  selectedBackground: string;
108
114
  transparentChecker: string;
109
115
  activeBackground: string;
@@ -142,6 +148,7 @@ declare const colors$1: {
142
148
  readonly dragOutline: string;
143
149
  selection: string;
144
150
  thumbnailBackground: string;
151
+ thumbnailShadow: string;
145
152
  };
146
153
  declare const fonts: {
147
154
  normal: string;
@@ -336,7 +343,7 @@ type GridProps = {
336
343
  background?: keyof Colors;
337
344
  };
338
345
 
339
- type GridViewSize = 'xxs' | 'xs' | 'small' | 'large';
346
+ type GridViewSize = "xxs" | "xs" | "small" | "medium" | "large" | "xl";
340
347
  interface ItemProps$2<MenuItemType extends string = string> {
341
348
  id: string;
342
349
  title?: ReactNode;
@@ -351,10 +358,11 @@ interface ItemProps$2<MenuItemType extends string = string> {
351
358
  menuItems?: MenuItem<MenuItemType>[];
352
359
  onSelectMenuItem?: (value: MenuItemType) => void;
353
360
  onContextMenu?: () => void;
361
+ style?: CSSProperties;
354
362
  }
355
363
  type GridViewContextValue = {
356
364
  size: GridViewSize;
357
- textPosition: 'overlay' | 'below' | 'toolip';
365
+ textPosition: "overlay" | "below" | "toolip";
358
366
  bordered: boolean;
359
367
  disabled: boolean;
360
368
  };
@@ -377,6 +385,8 @@ declare namespace GridView {
377
385
 
378
386
  declare const IconButton: (props: Omit<ButtonRootProps, "children" | "size" | "flex" | "variant"> & {
379
387
  iconName: keyof typeof Icons;
388
+ className?: string | undefined;
389
+ style?: React__default.CSSProperties | undefined;
380
390
  selected?: boolean | undefined;
381
391
  color?: string | undefined;
382
392
  size?: number | undefined;
@@ -676,6 +686,7 @@ type Props$b = {
676
686
  onDeleteWhenEmpty?: () => void;
677
687
  size?: InputFieldSize;
678
688
  style?: React__default.CSSProperties;
689
+ className?: string;
679
690
  children?: React__default.ReactNode;
680
691
  hideChildrenWhenFocused?: boolean;
681
692
  hideMenuWhenEmptyValue?: boolean;
@@ -876,45 +887,46 @@ interface Props$3 {
876
887
  declare const Switch: ({ value, onChange, variant, }: Props$3) => React__default.JSX.Element;
877
888
 
878
889
  type StyleProps = {
879
- flex?: CSSProperties$1['flex'];
880
- padding?: CSSProperties$1['padding'];
881
- background?: CSSProperties$1['background'];
882
- borderRadius?: CSSProperties$1['borderRadius'];
883
- textAlign?: CSSProperties$1['textAlign'];
884
- fontWeight?: CSSProperties$1['fontWeight'];
885
- fontStyle?: CSSProperties$1['fontStyle'];
886
- fontSize?: CSSProperties$1['fontSize'];
887
- lineHeight?: CSSProperties$1['lineHeight'];
888
- fontFamily?: CSSProperties$1['fontFamily'];
889
- wordBreak?: CSSProperties$1['wordBreak'];
890
- whiteSpace?: CSSProperties$1['whiteSpace'];
891
- height?: CSSProperties$1['height'];
892
- width?: CSSProperties$1['width'];
893
- opacity?: CSSProperties$1['opacity'];
894
- position?: CSSProperties$1['position'];
895
- overflow?: CSSProperties$1['overflow'];
896
- textOverflow?: CSSProperties$1['textOverflow'];
897
- textDecoration?: CSSProperties$1['textDecoration'];
898
- display?: CSSProperties$1['display'];
899
- top?: CSSProperties$1['top'];
900
- right?: CSSProperties$1['right'];
901
- bottom?: CSSProperties$1['bottom'];
902
- left?: CSSProperties$1['left'];
903
- userSelect?: CSSProperties$1['userSelect'];
890
+ flex?: CSSProperties$1["flex"];
891
+ padding?: CSSProperties$1["padding"];
892
+ background?: CSSProperties$1["background"];
893
+ borderRadius?: CSSProperties$1["borderRadius"];
894
+ textAlign?: CSSProperties$1["textAlign"];
895
+ fontWeight?: CSSProperties$1["fontWeight"];
896
+ fontStyle?: CSSProperties$1["fontStyle"];
897
+ fontSize?: CSSProperties$1["fontSize"];
898
+ lineHeight?: CSSProperties$1["lineHeight"];
899
+ fontFamily?: CSSProperties$1["fontFamily"];
900
+ wordBreak?: CSSProperties$1["wordBreak"];
901
+ whiteSpace?: CSSProperties$1["whiteSpace"];
902
+ height?: CSSProperties$1["height"];
903
+ width?: CSSProperties$1["width"];
904
+ opacity?: CSSProperties$1["opacity"];
905
+ position?: CSSProperties$1["position"];
906
+ overflow?: CSSProperties$1["overflow"];
907
+ textOverflow?: CSSProperties$1["textOverflow"];
908
+ textDecoration?: CSSProperties$1["textDecoration"];
909
+ display?: CSSProperties$1["display"];
910
+ top?: CSSProperties$1["top"];
911
+ right?: CSSProperties$1["right"];
912
+ bottom?: CSSProperties$1["bottom"];
913
+ left?: CSSProperties$1["left"];
914
+ userSelect?: CSSProperties$1["userSelect"];
915
+ cursor?: CSSProperties$1["cursor"];
904
916
  };
905
917
  type TextBreakpointList = BreakpointCollection<StyleProps>;
906
918
  interface Props$2 extends StyleProps {
907
919
  as?: keyof ReactHTML;
908
920
  href?: string;
909
921
  className?: string;
910
- variant: keyof Theme['textStyles'];
922
+ variant: keyof Theme["textStyles"];
911
923
  breakpoints?: BreakpointCollection<StyleProps> | null | false;
912
924
  color?: ThemeColorName;
913
925
  children: ReactNode;
914
926
  onClick?: () => void;
915
927
  }
916
928
  declare const Text$1: (props: Props$2 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
917
- type PresetProps = Omit<Props$2, 'variant'>;
929
+ type PresetProps = Omit<Props$2, "variant">;
918
930
  declare const Heading1: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
919
931
  declare const Heading2: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
920
932
  declare const Heading3: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
@@ -1108,6 +1120,7 @@ declare const colors: {
1108
1120
  textMuted: string;
1109
1121
  textSubtle: string;
1110
1122
  textDisabled: string;
1123
+ textDecorativeLight: string;
1111
1124
  dividerSubtle: string;
1112
1125
  divider: string;
1113
1126
  dividerStrong: string;
@@ -1121,6 +1134,9 @@ declare const colors: {
1121
1134
  inputBackground: string;
1122
1135
  inputBackgroundLight: string;
1123
1136
  codeBackground: string;
1137
+ codeBackgroundLight: string;
1138
+ readonly codeBackgroundDark: string;
1139
+ codeBackgroundDecorativeDark: string;
1124
1140
  selectedBackground: string;
1125
1141
  transparentChecker: string;
1126
1142
  activeBackground: string;
@@ -1159,6 +1175,7 @@ declare const colors: {
1159
1175
  readonly dragOutline: string;
1160
1176
  selection: string;
1161
1177
  thumbnailBackground: string;
1178
+ thumbnailShadow: string;
1162
1179
  };
1163
1180
 
1164
1181
  declare const dark_colors: typeof colors;
package/dist/index.d.ts CHANGED
@@ -34,17 +34,19 @@ declare function Avatar({ image, name, fallback, size, overflow, }: {
34
34
  overflow?: number;
35
35
  }): React__default.JSX.Element;
36
36
 
37
- type ButtonVariant = 'normal' | 'primary' | 'secondary' | 'secondaryBright' | 'white' | 'thin' | 'floating' | 'none';
38
- type ButtonSize = 'normal' | 'large';
37
+ type ButtonVariant = "normal" | "primary" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
38
+ type ButtonSize = "normal" | "large";
39
39
  declare const ButtonElement: styled_components.StyledComponent<"button", styled_components.DefaultTheme, {
40
40
  active: boolean;
41
41
  variant: ButtonVariant;
42
42
  size: ButtonSize;
43
- flex?: CSSProperties['flex'];
43
+ flex?: CSSProperties["flex"];
44
44
  }, never>;
45
45
  interface ButtonRootProps {
46
46
  id?: string;
47
- flex?: CSSProperties['flex'];
47
+ className?: string;
48
+ style?: CSSProperties;
49
+ flex?: CSSProperties["flex"];
48
50
  tabIndex?: number;
49
51
  children: ReactNode;
50
52
  active?: boolean;
@@ -91,6 +93,7 @@ declare const colors$1: {
91
93
  textMuted: string;
92
94
  textSubtle: string;
93
95
  textDisabled: string;
96
+ textDecorativeLight: string;
94
97
  dividerSubtle: string;
95
98
  divider: string;
96
99
  dividerStrong: string;
@@ -104,6 +107,9 @@ declare const colors$1: {
104
107
  inputBackground: string;
105
108
  inputBackgroundLight: string;
106
109
  codeBackground: string;
110
+ codeBackgroundLight: string;
111
+ readonly codeBackgroundDark: string;
112
+ codeBackgroundDecorativeDark: string;
107
113
  selectedBackground: string;
108
114
  transparentChecker: string;
109
115
  activeBackground: string;
@@ -142,6 +148,7 @@ declare const colors$1: {
142
148
  readonly dragOutline: string;
143
149
  selection: string;
144
150
  thumbnailBackground: string;
151
+ thumbnailShadow: string;
145
152
  };
146
153
  declare const fonts: {
147
154
  normal: string;
@@ -336,7 +343,7 @@ type GridProps = {
336
343
  background?: keyof Colors;
337
344
  };
338
345
 
339
- type GridViewSize = 'xxs' | 'xs' | 'small' | 'large';
346
+ type GridViewSize = "xxs" | "xs" | "small" | "medium" | "large" | "xl";
340
347
  interface ItemProps$2<MenuItemType extends string = string> {
341
348
  id: string;
342
349
  title?: ReactNode;
@@ -351,10 +358,11 @@ interface ItemProps$2<MenuItemType extends string = string> {
351
358
  menuItems?: MenuItem<MenuItemType>[];
352
359
  onSelectMenuItem?: (value: MenuItemType) => void;
353
360
  onContextMenu?: () => void;
361
+ style?: CSSProperties;
354
362
  }
355
363
  type GridViewContextValue = {
356
364
  size: GridViewSize;
357
- textPosition: 'overlay' | 'below' | 'toolip';
365
+ textPosition: "overlay" | "below" | "toolip";
358
366
  bordered: boolean;
359
367
  disabled: boolean;
360
368
  };
@@ -377,6 +385,8 @@ declare namespace GridView {
377
385
 
378
386
  declare const IconButton: (props: Omit<ButtonRootProps, "children" | "size" | "flex" | "variant"> & {
379
387
  iconName: keyof typeof Icons;
388
+ className?: string | undefined;
389
+ style?: React__default.CSSProperties | undefined;
380
390
  selected?: boolean | undefined;
381
391
  color?: string | undefined;
382
392
  size?: number | undefined;
@@ -676,6 +686,7 @@ type Props$b = {
676
686
  onDeleteWhenEmpty?: () => void;
677
687
  size?: InputFieldSize;
678
688
  style?: React__default.CSSProperties;
689
+ className?: string;
679
690
  children?: React__default.ReactNode;
680
691
  hideChildrenWhenFocused?: boolean;
681
692
  hideMenuWhenEmptyValue?: boolean;
@@ -876,45 +887,46 @@ interface Props$3 {
876
887
  declare const Switch: ({ value, onChange, variant, }: Props$3) => React__default.JSX.Element;
877
888
 
878
889
  type StyleProps = {
879
- flex?: CSSProperties$1['flex'];
880
- padding?: CSSProperties$1['padding'];
881
- background?: CSSProperties$1['background'];
882
- borderRadius?: CSSProperties$1['borderRadius'];
883
- textAlign?: CSSProperties$1['textAlign'];
884
- fontWeight?: CSSProperties$1['fontWeight'];
885
- fontStyle?: CSSProperties$1['fontStyle'];
886
- fontSize?: CSSProperties$1['fontSize'];
887
- lineHeight?: CSSProperties$1['lineHeight'];
888
- fontFamily?: CSSProperties$1['fontFamily'];
889
- wordBreak?: CSSProperties$1['wordBreak'];
890
- whiteSpace?: CSSProperties$1['whiteSpace'];
891
- height?: CSSProperties$1['height'];
892
- width?: CSSProperties$1['width'];
893
- opacity?: CSSProperties$1['opacity'];
894
- position?: CSSProperties$1['position'];
895
- overflow?: CSSProperties$1['overflow'];
896
- textOverflow?: CSSProperties$1['textOverflow'];
897
- textDecoration?: CSSProperties$1['textDecoration'];
898
- display?: CSSProperties$1['display'];
899
- top?: CSSProperties$1['top'];
900
- right?: CSSProperties$1['right'];
901
- bottom?: CSSProperties$1['bottom'];
902
- left?: CSSProperties$1['left'];
903
- userSelect?: CSSProperties$1['userSelect'];
890
+ flex?: CSSProperties$1["flex"];
891
+ padding?: CSSProperties$1["padding"];
892
+ background?: CSSProperties$1["background"];
893
+ borderRadius?: CSSProperties$1["borderRadius"];
894
+ textAlign?: CSSProperties$1["textAlign"];
895
+ fontWeight?: CSSProperties$1["fontWeight"];
896
+ fontStyle?: CSSProperties$1["fontStyle"];
897
+ fontSize?: CSSProperties$1["fontSize"];
898
+ lineHeight?: CSSProperties$1["lineHeight"];
899
+ fontFamily?: CSSProperties$1["fontFamily"];
900
+ wordBreak?: CSSProperties$1["wordBreak"];
901
+ whiteSpace?: CSSProperties$1["whiteSpace"];
902
+ height?: CSSProperties$1["height"];
903
+ width?: CSSProperties$1["width"];
904
+ opacity?: CSSProperties$1["opacity"];
905
+ position?: CSSProperties$1["position"];
906
+ overflow?: CSSProperties$1["overflow"];
907
+ textOverflow?: CSSProperties$1["textOverflow"];
908
+ textDecoration?: CSSProperties$1["textDecoration"];
909
+ display?: CSSProperties$1["display"];
910
+ top?: CSSProperties$1["top"];
911
+ right?: CSSProperties$1["right"];
912
+ bottom?: CSSProperties$1["bottom"];
913
+ left?: CSSProperties$1["left"];
914
+ userSelect?: CSSProperties$1["userSelect"];
915
+ cursor?: CSSProperties$1["cursor"];
904
916
  };
905
917
  type TextBreakpointList = BreakpointCollection<StyleProps>;
906
918
  interface Props$2 extends StyleProps {
907
919
  as?: keyof ReactHTML;
908
920
  href?: string;
909
921
  className?: string;
910
- variant: keyof Theme['textStyles'];
922
+ variant: keyof Theme["textStyles"];
911
923
  breakpoints?: BreakpointCollection<StyleProps> | null | false;
912
924
  color?: ThemeColorName;
913
925
  children: ReactNode;
914
926
  onClick?: () => void;
915
927
  }
916
928
  declare const Text$1: (props: Props$2 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
917
- type PresetProps = Omit<Props$2, 'variant'>;
929
+ type PresetProps = Omit<Props$2, "variant">;
918
930
  declare const Heading1: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
919
931
  declare const Heading2: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
920
932
  declare const Heading3: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
@@ -1108,6 +1120,7 @@ declare const colors: {
1108
1120
  textMuted: string;
1109
1121
  textSubtle: string;
1110
1122
  textDisabled: string;
1123
+ textDecorativeLight: string;
1111
1124
  dividerSubtle: string;
1112
1125
  divider: string;
1113
1126
  dividerStrong: string;
@@ -1121,6 +1134,9 @@ declare const colors: {
1121
1134
  inputBackground: string;
1122
1135
  inputBackgroundLight: string;
1123
1136
  codeBackground: string;
1137
+ codeBackgroundLight: string;
1138
+ readonly codeBackgroundDark: string;
1139
+ codeBackgroundDecorativeDark: string;
1124
1140
  selectedBackground: string;
1125
1141
  transparentChecker: string;
1126
1142
  activeBackground: string;
@@ -1159,6 +1175,7 @@ declare const colors: {
1159
1175
  readonly dragOutline: string;
1160
1176
  selection: string;
1161
1177
  thumbnailBackground: string;
1178
+ thumbnailShadow: string;
1162
1179
  };
1163
1180
 
1164
1181
  declare const dark_colors: typeof colors;
package/dist/index.js CHANGED
@@ -245,9 +245,9 @@ var ButtonElement = import_styled_components4.default.button(({ theme, active, d
245
245
  textAlign: "left",
246
246
  borderRadius: "4px",
247
247
  paddingTop: variant === "none" ? "0px" : "4px",
248
- paddingRight: variant === "none" ? "0px" : variant === "thin" ? "1px" : "6px",
248
+ paddingRight: variant === "none" ? "0px" : variant === "thin" ? "1px" : "8px",
249
249
  paddingBottom: variant === "none" ? "0px" : "4px",
250
- paddingLeft: variant === "none" ? "0px" : variant === "thin" ? "1px" : "6px",
250
+ paddingLeft: variant === "none" ? "0px" : variant === "thin" ? "1px" : "8px",
251
251
  ...size2 === "large" && {
252
252
  paddingTop: "12px",
253
253
  paddingRight: "16px",
@@ -332,6 +332,8 @@ var ButtonContent = import_styled_components4.default.span(({ theme }) => ({
332
332
  }));
333
333
  var Button = (0, import_react4.forwardRef)(function Button2({
334
334
  id,
335
+ className,
336
+ style,
335
337
  flex,
336
338
  tabIndex,
337
339
  tooltip,
@@ -350,6 +352,8 @@ var Button = (0, import_react4.forwardRef)(function Button2({
350
352
  {
351
353
  ref: forwardedRef,
352
354
  id,
355
+ className,
356
+ style,
353
357
  flex,
354
358
  tabIndex,
355
359
  active,
@@ -2751,10 +2755,20 @@ var sizes = {
2751
2755
  itemHeight: 170,
2752
2756
  gap: 20
2753
2757
  },
2758
+ medium: {
2759
+ itemWidth: 220,
2760
+ itemHeight: 220,
2761
+ gap: 16
2762
+ },
2754
2763
  large: {
2755
2764
  itemWidth: 280,
2756
2765
  itemHeight: 280,
2757
- gap: 20
2766
+ gap: 24
2767
+ },
2768
+ xl: {
2769
+ itemWidth: 400,
2770
+ itemHeight: 400,
2771
+ gap: 32
2758
2772
  }
2759
2773
  };
2760
2774
  var Grid2 = import_styled_components23.default.div(({ theme, size: size2, padding }) => {
@@ -2914,7 +2928,8 @@ var GridViewItem = (0, import_react27.forwardRef)(function GridViewItem2({
2914
2928
  children,
2915
2929
  menuItems,
2916
2930
  onSelectMenuItem,
2917
- onContextMenu
2931
+ onContextMenu,
2932
+ style
2918
2933
  }, forwardedRef) {
2919
2934
  const [hovered, setHovered] = import_react27.default.useState(false);
2920
2935
  const { hoverProps } = useHover({
@@ -2963,7 +2978,8 @@ var GridViewItem = (0, import_react27.forwardRef)(function GridViewItem2({
2963
2978
  hovered: !disabled && hovered,
2964
2979
  onClick: handleClick,
2965
2980
  onDoubleClick,
2966
- onContextMenu
2981
+ onContextMenu,
2982
+ style
2967
2983
  },
2968
2984
  children
2969
2985
  ),
@@ -4072,6 +4088,7 @@ var InputFieldWithCompletions = (0, import_react31.memo)(
4072
4088
  onBlur,
4073
4089
  onDeleteWhenEmpty,
4074
4090
  style,
4091
+ className,
4075
4092
  children,
4076
4093
  hideChildrenWhenFocused = false,
4077
4094
  hideMenuWhenEmptyValue = false
@@ -4273,6 +4290,7 @@ var InputFieldWithCompletions = (0, import_react31.memo)(
4273
4290
  onFocusCapture: handleFocus,
4274
4291
  onKeyDown: handleKeyDown,
4275
4292
  style,
4293
+ className,
4276
4294
  autoCapitalize: "off",
4277
4295
  autoComplete: "off",
4278
4296
  autoCorrect: "off",
@@ -4908,6 +4926,7 @@ var colors = {
4908
4926
  textMuted: "rgb(85, 85, 85)",
4909
4927
  textSubtle: "rgb(121, 121, 121)",
4910
4928
  textDisabled: "rgb(160, 160, 160)",
4929
+ textDecorativeLight: "rgb(168, 185, 212)",
4911
4930
  dividerSubtle: "rgba(0, 0, 0, 0.04)",
4912
4931
  divider: "rgba(0, 0, 0, 0.07)",
4913
4932
  dividerStrong: "rgba(0, 0, 0, 0.09)",
@@ -4921,6 +4940,11 @@ var colors = {
4921
4940
  inputBackground: "rgb(240, 240, 242)",
4922
4941
  inputBackgroundLight: "rgb(243, 243, 245)",
4923
4942
  codeBackground: "rgb(250, 250, 250)",
4943
+ codeBackgroundLight: "rgb(250, 250, 250)",
4944
+ get codeBackgroundDark() {
4945
+ return colors.text;
4946
+ },
4947
+ codeBackgroundDecorativeDark: "#435080",
4924
4948
  selectedBackground: "rgb(242, 245, 250)",
4925
4949
  transparentChecker: "rgba(255,255,255,0.8)",
4926
4950
  activeBackground: "rgba(0,0,0,0.1)",
@@ -4962,10 +4986,11 @@ var colors = {
4962
4986
  return colors.primary;
4963
4987
  },
4964
4988
  selection: "rgb(179,215,254)",
4965
- thumbnailBackground: "#E1DAFF"
4989
+ thumbnailBackground: "#E1DAFF",
4990
+ thumbnailShadow: "#D3CEED66"
4966
4991
  };
4967
4992
  var fonts = {
4968
- normal: "-apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
4993
+ normal: "'__Inter_6b0edc', '__Inter_Fallback_6b0edc', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
4969
4994
  monospace: "Menlo, Monaco, Consolas, 'Courier New', monospace"
4970
4995
  };
4971
4996
  var typeScale = [3.052, 2.441, 1.953, 1.563, 1.25, 1, 0.85];
@@ -4975,6 +5000,7 @@ var textStyles = {
4975
5000
  fontSize: `${typeScale[0]}rem`,
4976
5001
  fontWeight: "bold",
4977
5002
  lineHeight: "1.4",
5003
+ letterSpacing: "-0.05em",
4978
5004
  [mediaQuery.small]: {
4979
5005
  fontSize: "36px"
4980
5006
  }
@@ -4984,6 +5010,7 @@ var textStyles = {
4984
5010
  fontSize: `${typeScale[3]}rem`,
4985
5011
  fontWeight: 500,
4986
5012
  lineHeight: "1.75",
5013
+ letterSpacing: "-0.05em",
4987
5014
  [mediaQuery.small]: {
4988
5015
  fontSize: "18px"
4989
5016
  }
@@ -4992,19 +5019,22 @@ var textStyles = {
4992
5019
  fontFamily: fonts.normal,
4993
5020
  fontSize: `${typeScale[2]}rem`,
4994
5021
  fontWeight: 500,
4995
- lineHeight: "1.75"
5022
+ lineHeight: "1.75",
5023
+ letterSpacing: "-0.025em"
4996
5024
  },
4997
5025
  heading2: {
4998
5026
  fontFamily: fonts.normal,
4999
5027
  fontSize: `${typeScale[3]}rem`,
5000
5028
  fontWeight: 500,
5001
- lineHeight: "1.75"
5029
+ lineHeight: "1.75",
5030
+ letterSpacing: "-0.025em"
5002
5031
  },
5003
5032
  heading3: {
5004
5033
  fontFamily: fonts.normal,
5005
5034
  fontSize: `${typeScale[4]}rem`,
5006
5035
  fontWeight: 500,
5007
- lineHeight: "1.75"
5036
+ lineHeight: "1.75",
5037
+ letterSpacing: "-0.025em"
5008
5038
  },
5009
5039
  heading4: {
5010
5040
  fontFamily: fonts.normal,
@@ -5100,6 +5130,8 @@ var colors2 = (0, import_immer.default)(colors, (colors3) => {
5100
5130
  colors3.placeholderDots = "rgba(255,255,255,0.3)";
5101
5131
  colors3.dragOutline = "white";
5102
5132
  colors3.activeBackground = "rgba(181,178,255,0.08)";
5133
+ colors3.thumbnailBackground = "#1f1d33";
5134
+ colors3.thumbnailShadow = "#1f1d3366";
5103
5135
  });
5104
5136
 
5105
5137
  // src/utils/createSectionedMenu.ts
@@ -5188,7 +5220,7 @@ var Column = import_styled_components34.default.div(({ theme }) => ({
5188
5220
  flex: "1",
5189
5221
  display: "flex",
5190
5222
  flexDirection: "column",
5191
- gap: "2px"
5223
+ gap: "4px"
5192
5224
  }));
5193
5225
  var Checkbox = import_styled_components34.default.input(({ theme }) => ({
5194
5226
  margin: 0