@arkitektbedriftene/fe-lib 4.3.2 → 5.1.0

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.
Files changed (67) hide show
  1. package/dist/elements/components/CompanyLogo.d.ts +8 -14
  2. package/dist/elements/elements.d.ts +1 -1
  3. package/dist/elements.d.ts +1 -0
  4. package/dist/elements.es.js +23 -23
  5. package/dist/icons.d.ts +1 -0
  6. package/dist/icons.es.js +3 -4
  7. package/dist/{index.esm-fa9e6ea7.js → index.esm-Dzt91gSZ.js} +29 -32
  8. package/dist/normalize.css.d.ts +1 -1
  9. package/dist/oidc/impersonate.d.ts +1 -1
  10. package/dist/oidc/oidc.d.ts +6 -6
  11. package/dist/oidc.d.ts +1 -0
  12. package/dist/oidc.es.js +5 -5
  13. package/dist/rich-text/Editor.d.ts +13 -18
  14. package/dist/rich-text/Plugins/Image/ImageComponent.d.ts +1 -1
  15. package/dist/rich-text/Plugins/Image/ImageNode.d.ts +2 -3
  16. package/dist/rich-text/Plugins/Image/ImagePlugin.d.ts +3 -3
  17. package/dist/rich-text/Plugins/LinkInsertPlugin.d.ts +3 -3
  18. package/dist/rich-text/Plugins/LinkTargetNode.d.ts +2 -2
  19. package/dist/rich-text/Plugins/ParsePlugin.d.ts +2 -2
  20. package/dist/rich-text/Plugins/RutineLinkNode.d.ts +12 -12
  21. package/dist/rich-text/Toolbar/Toolbar.d.ts +3 -119
  22. package/dist/rich-text/config.d.ts +9 -8
  23. package/dist/rich-text/editorContext.d.ts +7 -7
  24. package/dist/rich-text/getSelectedNode.d.ts +1 -1
  25. package/dist/rich-text/state.d.ts +5 -5
  26. package/dist/rich-text/styles.d.ts +100 -94
  27. package/dist/rich-text/theme.d.ts +1 -1
  28. package/dist/rich-text/trim.d.ts +3 -3
  29. package/dist/rich-text.d.ts +1 -0
  30. package/dist/rich-text.es.js +452 -432
  31. package/dist/ui/components/Alert.d.ts +95 -96
  32. package/dist/ui/components/Avatar.d.ts +97 -215
  33. package/dist/ui/components/Badge.d.ts +94 -94
  34. package/dist/ui/components/Box.d.ts +94 -94
  35. package/dist/ui/components/Button.d.ts +95 -96
  36. package/dist/ui/components/Card.d.ts +94 -94
  37. package/dist/ui/components/Dialog.d.ts +284 -400
  38. package/dist/ui/components/Form/Checkbox.d.ts +97 -216
  39. package/dist/ui/components/Form/Combobox.d.ts +2 -2
  40. package/dist/ui/components/Form/ReactSelect.d.ts +4 -2
  41. package/dist/ui/components/Form/Select.d.ts +3 -3
  42. package/dist/ui/components/Form/Switch.d.ts +195 -549
  43. package/dist/ui/components/Form/TextArea.d.ts +96 -97
  44. package/dist/ui/components/Form/TextInput.d.ts +96 -97
  45. package/dist/ui/components/Form/text.d.ts +188 -188
  46. package/dist/ui/components/Menu/DropdownMenu.d.ts +287 -287
  47. package/dist/ui/components/Menu/Menu.d.ts +281 -281
  48. package/dist/ui/components/NavBar.d.ts +98 -222
  49. package/dist/ui/components/OverlayCard.d.ts +94 -95
  50. package/dist/ui/components/Popover.d.ts +7 -124
  51. package/dist/ui/components/Spinner.d.ts +95 -96
  52. package/dist/ui/components/Stack.d.ts +95 -95
  53. package/dist/ui/components/Toolbar.d.ts +381 -382
  54. package/dist/ui/stitches.config.d.ts +569 -568
  55. package/dist/ui.css.d.ts +1 -1
  56. package/dist/ui.d.ts +1 -0
  57. package/dist/ui.es.js +54 -55
  58. package/package.json +5 -17
  59. package/dist/colors/colors.d.ts +0 -18
  60. package/dist/colors.d.ts +0 -1
  61. package/dist/colors.es.js +0 -20
  62. package/dist/hooks/hooks.d.ts +0 -2
  63. package/dist/hooks.d.ts +0 -1
  64. package/dist/hooks.es.js +0 -4
  65. package/dist/index.d.ts +0 -1
  66. package/dist/index.es.js +0 -4
  67. /package/dist/{stitches.config-00c23cdb.js → stitches.config-CEYOm13b.js} +0 -0
@@ -1,4 +1,4 @@
1
- export declare const Card: import("@stitches/react/types/styled-component").StyledComponent<"div", {
1
+ export declare const Card: import('@stitches/react/types/styled-component').StyledComponent<"div", {
2
2
  variant?: "primary" | undefined;
3
3
  elevation?: "none" | "raised" | undefined;
4
4
  rounded?: "md" | "none" | undefined;
@@ -6,115 +6,115 @@ export declare const Card: import("@stitches/react/types/styled-component").Styl
6
6
  }, {
7
7
  lg: "(min-width: 1200px)";
8
8
  print: "print";
9
- }, import("@stitches/react/types/css-util").CSS<{
9
+ }, import('@stitches/react/types/css-util').CSS<{
10
10
  lg: "(min-width: 1200px)";
11
11
  print: "print";
12
12
  }, {
13
13
  colors: {
14
- gray50: string;
15
- gray100: string;
16
- gray200: string;
17
- gray300: string;
18
- gray400: string;
19
- gray500: string;
20
- gray600: string;
21
- gray700: string;
22
- gray800: string;
23
- gray900: string;
24
- blue50: string;
25
- blue100: string;
26
- blue200: string;
27
- blue300: string;
28
- blue400: string;
29
- blue500: string;
30
- blue600: string;
31
- blue700: string;
32
- blue800: string;
33
- blue900: string;
34
- yellow50: string;
35
- yellow100: string;
36
- yellow200: string;
37
- yellow300: string;
38
- yellow400: string;
39
- yellow500: string;
40
- yellow600: string;
41
- yellow700: string;
42
- yellow800: string;
43
- yellow900: string;
44
- orange500: string;
45
- red50: string;
46
- red100: string;
47
- red200: string;
48
- red300: string;
49
- red400: string;
50
- red500: string;
51
- red600: string;
52
- red700: string;
53
- red800: string;
54
- red900: string;
55
- green50: string;
56
- green100: string;
57
- green200: string;
58
- green300: string;
59
- green400: string;
60
- green500: string;
61
- green600: string;
62
- green700: string;
63
- green800: string;
64
- green900: string;
65
- primaryTextOnLightBg: string;
66
- primaryBg: string;
67
- primaryBgHover: string;
68
- primaryTextOnWhite: string;
69
- bodyGray: string;
70
- hoverDarker: string;
71
- borderDarker: string;
72
- selectedDarker: string;
73
- selectedOnBodyGray: string;
74
- darkGrayBg: string;
75
- border: string;
76
- text: string;
77
- secondaryText: string;
78
- focusRing: string;
14
+ gray50: "#F9FAFA";
15
+ gray100: "#EBEEEE";
16
+ gray200: "#CFD6D7";
17
+ gray300: "#B3BEC0";
18
+ gray400: "#97A6A8";
19
+ gray500: "#7C8E91";
20
+ gray600: "#627578";
21
+ gray700: "#4F5F61";
22
+ gray800: "#414D4F";
23
+ gray900: "#2C3435";
24
+ blue50: "#F7FBFB";
25
+ blue100: "#E3F0F2";
26
+ blue200: "#BADADF";
27
+ blue300: "#92C5CC";
28
+ blue400: "#67AEB8";
29
+ blue500: "#3C97A3";
30
+ blue600: "#1F7D8A";
31
+ blue700: "#19656F";
32
+ blue800: "#14525B";
33
+ blue900: "#0E383E";
34
+ yellow50: "#FDFAEF";
35
+ yellow100: "#F9EDCA";
36
+ yellow200: "#EFD27A";
37
+ yellow300: "#E5B626";
38
+ yellow400: "#C89E1C";
39
+ yellow500: "#AA8618";
40
+ yellow600: "#8C6E14";
41
+ yellow700: "#715910";
42
+ yellow800: "#5C490D";
43
+ yellow900: "#3E3109";
44
+ orange500: "#D1721C";
45
+ red50: "#FDF9F9";
46
+ red100: "#F7EBEB";
47
+ red200: "#EBCECD";
48
+ red300: "#DFB1B0";
49
+ red400: "#D39392";
50
+ red500: "#C67473";
51
+ red600: "#B85250";
52
+ red700: "#A92F2D";
53
+ red800: "#901F1E";
54
+ red900: "#631614";
55
+ green50: "#F8FAF9";
56
+ green100: "#E7F0EA";
57
+ green200: "#C5D9CB";
58
+ green300: "#A4C4AD";
59
+ green400: "#82AD8D";
60
+ green500: "#60976F";
61
+ green600: "#3C7F4E";
62
+ green700: "#296839";
63
+ green800: "#21552F";
64
+ green900: "#163920";
65
+ primaryTextOnLightBg: "#194b58";
66
+ primaryBg: "$blue600";
67
+ primaryBgHover: "$blue700";
68
+ primaryTextOnWhite: "$blue600";
69
+ bodyGray: "$gray100";
70
+ hoverDarker: "hsla(214deg, 25%, 21%, 0.06)";
71
+ borderDarker: "hsla(214deg, 25%, 21%, 0.1)";
72
+ selectedDarker: "hsla(214deg, 25%, 21%, 0.06)";
73
+ selectedOnBodyGray: "hsl(214deg, 35%, 80%)";
74
+ darkGrayBg: "#1f2937";
75
+ border: "hsl(214deg, 25%, 80%)";
76
+ text: "#1f2937";
77
+ secondaryText: "$gray500";
78
+ focusRing: "hsla(214deg, 15%, 10%, 0.6)";
79
79
  };
80
80
  fontSizes: {
81
- xs: string;
82
- sm: string;
83
- md: string;
84
- lg: string;
85
- xl: string;
86
- "2xl": string;
87
- "3xl": string;
81
+ xs: "0.75rem";
82
+ sm: "0.875rem";
83
+ md: "1rem";
84
+ lg: "1.125rem";
85
+ xl: "1.25rem";
86
+ "2xl": "1.5rem";
87
+ "3xl": "1.875rem";
88
88
  };
89
89
  fontWeights: {
90
- normal: string;
91
- medium: string;
92
- bold: string;
90
+ normal: "var(--ui-font-weight-normal)";
91
+ medium: "var(--ui-font-weight-semibold)";
92
+ bold: "var(--ui-font-weight-bold)";
93
93
  };
94
94
  space: {
95
- 1: string;
96
- 2: string;
97
- 3: string;
98
- 4: string;
99
- 6: string;
100
- 8: string;
95
+ 1: "0.25rem";
96
+ 2: "0.5rem";
97
+ 3: "0.75rem";
98
+ 4: "1rem";
99
+ 6: "1.5rem";
100
+ 8: "2rem";
101
101
  };
102
102
  shadows: {
103
- xs: string;
104
- sm: string;
105
- md: string;
106
- lg: string;
107
- overlayCard: string;
103
+ xs: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
104
+ sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
105
+ md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
106
+ lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
107
+ overlayCard: "0 5px 50px 0px rgb(0 0 0 / 0.15), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
108
108
  };
109
109
  radii: {
110
- xs: string;
111
- sm: string;
112
- md: string;
113
- mdmd: string;
114
- full: string;
110
+ xs: "0.125rem";
111
+ sm: "0.25rem";
112
+ md: "0.5rem";
113
+ mdmd: "calc(0.5rem - 0.125rem)";
114
+ full: "9999px";
115
115
  };
116
116
  zIndices: {
117
117
  toast: number;
118
118
  overlayCard: number;
119
119
  };
120
- }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
120
+ }, import('@stitches/react/types/config').DefaultThemeMap, {}>>;