@cere/cere-design-system 0.0.45 → 0.2.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 (164) hide show
  1. package/README.md +76 -0
  2. package/dist/buttons.d.mts +119 -0
  3. package/dist/buttons.d.ts +119 -0
  4. package/dist/buttons.js +19 -0
  5. package/dist/buttons.js.map +1 -0
  6. package/dist/buttons.mjs +19 -0
  7. package/dist/buttons.mjs.map +1 -0
  8. package/dist/carousel.d.mts +51 -0
  9. package/dist/carousel.d.ts +51 -0
  10. package/dist/carousel.js +185 -0
  11. package/dist/carousel.js.map +1 -0
  12. package/dist/carousel.mjs +185 -0
  13. package/dist/carousel.mjs.map +1 -0
  14. package/dist/charts.d.mts +187 -0
  15. package/dist/charts.d.ts +187 -0
  16. package/dist/charts.js +13 -0
  17. package/dist/charts.js.map +1 -0
  18. package/dist/charts.mjs +13 -0
  19. package/dist/charts.mjs.map +1 -0
  20. package/dist/chunk-2EBCST6X.js +25 -0
  21. package/dist/chunk-2EBCST6X.js.map +1 -0
  22. package/dist/chunk-2KDN37PQ.js +486 -0
  23. package/dist/chunk-2KDN37PQ.js.map +1 -0
  24. package/dist/chunk-34LFXT6C.mjs +486 -0
  25. package/dist/chunk-34LFXT6C.mjs.map +1 -0
  26. package/dist/chunk-3KCXCVOX.mjs +411 -0
  27. package/dist/chunk-3KCXCVOX.mjs.map +1 -0
  28. package/dist/chunk-4OKTICU5.js +374 -0
  29. package/dist/chunk-4OKTICU5.js.map +1 -0
  30. package/dist/chunk-5ASG6G6U.mjs +40 -0
  31. package/dist/chunk-5ASG6G6U.mjs.map +1 -0
  32. package/dist/chunk-72TQ56EP.js +280 -0
  33. package/dist/chunk-72TQ56EP.js.map +1 -0
  34. package/dist/chunk-7KXKK2RE.js +43 -0
  35. package/dist/chunk-7KXKK2RE.js.map +1 -0
  36. package/dist/chunk-ARSCL4ZZ.js +111 -0
  37. package/dist/chunk-ARSCL4ZZ.js.map +1 -0
  38. package/dist/chunk-AWVNEU6R.mjs +1478 -0
  39. package/dist/chunk-AWVNEU6R.mjs.map +1 -0
  40. package/dist/chunk-BH4FNZKK.mjs +1472 -0
  41. package/dist/chunk-BH4FNZKK.mjs.map +1 -0
  42. package/dist/chunk-BIZK6FUD.js +37 -0
  43. package/dist/chunk-BIZK6FUD.js.map +1 -0
  44. package/dist/chunk-BOQPWZIB.mjs +147 -0
  45. package/dist/chunk-BOQPWZIB.mjs.map +1 -0
  46. package/dist/chunk-BT7XUTT5.mjs +392 -0
  47. package/dist/chunk-BT7XUTT5.mjs.map +1 -0
  48. package/dist/chunk-D7D25O6E.mjs +280 -0
  49. package/dist/chunk-D7D25O6E.mjs.map +1 -0
  50. package/dist/chunk-DRGMEIPT.mjs +162 -0
  51. package/dist/chunk-DRGMEIPT.mjs.map +1 -0
  52. package/dist/chunk-DZXNYLVG.js +392 -0
  53. package/dist/chunk-DZXNYLVG.js.map +1 -0
  54. package/dist/chunk-GR52ENYI.mjs +527 -0
  55. package/dist/chunk-GR52ENYI.mjs.map +1 -0
  56. package/dist/chunk-GTBKQXXI.js +1472 -0
  57. package/dist/chunk-GTBKQXXI.js.map +1 -0
  58. package/dist/chunk-HJ24WKU4.js +120 -0
  59. package/dist/chunk-HJ24WKU4.js.map +1 -0
  60. package/dist/chunk-JBHRAAN3.js +31 -0
  61. package/dist/chunk-JBHRAAN3.js.map +1 -0
  62. package/dist/chunk-KKIKOIMP.js +1478 -0
  63. package/dist/chunk-KKIKOIMP.js.map +1 -0
  64. package/dist/chunk-LVJSKRX3.js +147 -0
  65. package/dist/chunk-LVJSKRX3.js.map +1 -0
  66. package/dist/chunk-OWWDNDF4.js +40 -0
  67. package/dist/chunk-OWWDNDF4.js.map +1 -0
  68. package/dist/chunk-PFZZJZ64.js +162 -0
  69. package/dist/chunk-PFZZJZ64.js.map +1 -0
  70. package/dist/chunk-PHMNZK2R.mjs +18 -0
  71. package/dist/chunk-PHMNZK2R.mjs.map +1 -0
  72. package/dist/chunk-POCAW2G4.mjs +111 -0
  73. package/dist/chunk-POCAW2G4.mjs.map +1 -0
  74. package/dist/chunk-QBCRH7YF.mjs +37 -0
  75. package/dist/chunk-QBCRH7YF.mjs.map +1 -0
  76. package/dist/chunk-QCFLZ7X3.js +527 -0
  77. package/dist/chunk-QCFLZ7X3.js.map +1 -0
  78. package/dist/chunk-SG2TD7FQ.mjs +374 -0
  79. package/dist/chunk-SG2TD7FQ.mjs.map +1 -0
  80. package/dist/chunk-SSFALO6S.mjs +120 -0
  81. package/dist/chunk-SSFALO6S.mjs.map +1 -0
  82. package/dist/chunk-U2QHFISG.js +18 -0
  83. package/dist/chunk-U2QHFISG.js.map +1 -0
  84. package/dist/chunk-UPGFBPFX.mjs +25 -0
  85. package/dist/chunk-UPGFBPFX.mjs.map +1 -0
  86. package/dist/chunk-WC2TCWXK.mjs +445 -0
  87. package/dist/chunk-WC2TCWXK.mjs.map +1 -0
  88. package/dist/chunk-XZZZ4MZV.js +445 -0
  89. package/dist/chunk-XZZZ4MZV.js.map +1 -0
  90. package/dist/chunk-YCDCQSYH.js +411 -0
  91. package/dist/chunk-YCDCQSYH.js.map +1 -0
  92. package/dist/chunk-ZDAZYIXB.mjs +43 -0
  93. package/dist/chunk-ZDAZYIXB.mjs.map +1 -0
  94. package/dist/chunk-ZP26PGMS.mjs +31 -0
  95. package/dist/chunk-ZP26PGMS.mjs.map +1 -0
  96. package/dist/feedback.d.mts +368 -0
  97. package/dist/feedback.d.ts +368 -0
  98. package/dist/feedback.js +43 -0
  99. package/dist/feedback.js.map +1 -0
  100. package/dist/feedback.mjs +43 -0
  101. package/dist/feedback.mjs.map +1 -0
  102. package/dist/fonts/HumanSans-BlackOblique.otf +0 -0
  103. package/dist/fonts/HumanSans-Thin.otf +0 -0
  104. package/dist/fonts/HumanSans-ThinOblique.otf +0 -0
  105. package/dist/fonts/human-sans-font.css +88 -0
  106. package/dist/fonts/human-sans.css +3 -0
  107. package/dist/fonts/inter.css +3 -0
  108. package/dist/icons.d.mts +21 -0
  109. package/dist/icons.d.ts +21 -0
  110. package/dist/icons.js +23 -0
  111. package/dist/icons.js.map +1 -0
  112. package/dist/icons.mjs +23 -0
  113. package/dist/icons.mjs.map +1 -0
  114. package/dist/index.d.mts +196 -3082
  115. package/dist/index.d.ts +196 -3082
  116. package/dist/index.js +253 -10082
  117. package/dist/index.js.map +1 -1
  118. package/dist/index.mjs +229 -10017
  119. package/dist/index.mjs.map +1 -1
  120. package/dist/inputs.d.mts +129 -0
  121. package/dist/inputs.d.ts +129 -0
  122. package/dist/inputs.js +43 -0
  123. package/dist/inputs.js.map +1 -0
  124. package/dist/inputs.mjs +43 -0
  125. package/dist/inputs.mjs.map +1 -0
  126. package/dist/layout.d.mts +681 -0
  127. package/dist/layout.d.ts +681 -0
  128. package/dist/layout.js +98 -0
  129. package/dist/layout.js.map +1 -0
  130. package/dist/layout.mjs +98 -0
  131. package/dist/layout.mjs.map +1 -0
  132. package/dist/navigation.d.mts +611 -0
  133. package/dist/navigation.d.ts +611 -0
  134. package/dist/navigation.js +54 -0
  135. package/dist/navigation.js.map +1 -0
  136. package/dist/navigation.mjs +54 -0
  137. package/dist/navigation.mjs.map +1 -0
  138. package/dist/third-party.d.mts +113 -0
  139. package/dist/third-party.d.ts +113 -0
  140. package/dist/third-party.js +7 -0
  141. package/dist/third-party.js.map +1 -0
  142. package/dist/third-party.mjs +7 -0
  143. package/dist/third-party.mjs.map +1 -0
  144. package/dist/tokens.css +45 -71
  145. package/dist/utilities.d.mts +39 -0
  146. package/dist/utilities.d.ts +39 -0
  147. package/dist/utilities.js +17 -0
  148. package/dist/utilities.js.map +1 -0
  149. package/dist/utilities.mjs +17 -0
  150. package/dist/utilities.mjs.map +1 -0
  151. package/package.json +76 -8
  152. package/dist/index.css +0 -79
  153. package/dist/index.css.map +0 -1
  154. /package/dist/{HumanSans-Black-C4YJONK7.otf → fonts/HumanSans-Black.otf} +0 -0
  155. /package/dist/{HumanSans-Bold-4EAJ3L3T.otf → fonts/HumanSans-Bold.otf} +0 -0
  156. /package/dist/{HumanSans-BoldOblique-4D325T4F.otf → fonts/HumanSans-BoldOblique.otf} +0 -0
  157. /package/dist/{HumanSans-ExtraLight-VL7DEKQ4.otf → fonts/HumanSans-ExtraLight.otf} +0 -0
  158. /package/dist/{HumanSans-ExtraLightOblique-VK2JTUXF.otf → fonts/HumanSans-ExtraLightOblique.otf} +0 -0
  159. /package/dist/{HumanSans-Light-YV7AFKRB.otf → fonts/HumanSans-Light.otf} +0 -0
  160. /package/dist/{HumanSans-LightOblique-VIXV7QA6.otf → fonts/HumanSans-LightOblique.otf} +0 -0
  161. /package/dist/{HumanSans-Medium-UULJ3PIR.otf → fonts/HumanSans-Medium.otf} +0 -0
  162. /package/dist/{HumanSans-MediumOblique-M7FHDZRS.otf → fonts/HumanSans-MediumOblique.otf} +0 -0
  163. /package/dist/{HumanSans-Regular-QMFEP3F6.otf → fonts/HumanSans-Regular.otf} +0 -0
  164. /package/dist/{HumanSans-RegularOblique-YPKQJAAM.otf → fonts/HumanSans-RegularOblique.otf} +0 -0
@@ -0,0 +1,54 @@
1
+ import {
2
+ AccountSection,
3
+ ConnectionStatus,
4
+ Dropdown,
5
+ DropdownAnchor,
6
+ Menu,
7
+ MenuItem,
8
+ NavigationItem,
9
+ NavigationList,
10
+ NumberedStepper,
11
+ Pagination,
12
+ Selector,
13
+ SideNav,
14
+ SideNavHeader,
15
+ Sidebar,
16
+ SidebarItem,
17
+ Step,
18
+ StepButton,
19
+ StepContent,
20
+ StepLabel,
21
+ Stepper,
22
+ Tab
23
+ } from "./chunk-AWVNEU6R.mjs";
24
+ import "./chunk-5ASG6G6U.mjs";
25
+ import "./chunk-ZP26PGMS.mjs";
26
+ import "./chunk-PHMNZK2R.mjs";
27
+ import "./chunk-BOQPWZIB.mjs";
28
+ import "./chunk-QBCRH7YF.mjs";
29
+ import "./chunk-D7D25O6E.mjs";
30
+ import "./chunk-WC2TCWXK.mjs";
31
+ export {
32
+ AccountSection,
33
+ ConnectionStatus,
34
+ Dropdown,
35
+ DropdownAnchor,
36
+ Menu,
37
+ MenuItem,
38
+ NavigationItem,
39
+ NavigationList,
40
+ NumberedStepper,
41
+ Pagination,
42
+ Selector,
43
+ SideNav,
44
+ SideNavHeader,
45
+ Sidebar,
46
+ SidebarItem,
47
+ Step,
48
+ StepButton,
49
+ StepContent,
50
+ StepLabel,
51
+ Stepper,
52
+ Tab
53
+ };
54
+ //# sourceMappingURL=navigation.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,113 @@
1
+ import React__default from 'react';
2
+ import { Monaco } from '@monaco-editor/react';
3
+ import { BoxProps } from '@mui/material/Box';
4
+ import { editor } from 'monaco-editor';
5
+
6
+ type CodeEditorLanguage = 'typescript' | 'javascript' | 'json' | 'html' | 'css' | 'python' | 'yaml' | 'markdown' | 'sql' | 'xml' | 'plaintext';
7
+ interface CodeEditorProps {
8
+ /**
9
+ * Current value of the editor
10
+ */
11
+ value: string;
12
+ /**
13
+ * Callback when value changes
14
+ */
15
+ onChange: (value: string) => void;
16
+ /**
17
+ * Programming language
18
+ * @default 'typescript'
19
+ */
20
+ language?: CodeEditorLanguage;
21
+ /**
22
+ * Height of the editor
23
+ * @default '400px'
24
+ */
25
+ height?: string | number;
26
+ /**
27
+ * Minimum height
28
+ */
29
+ minHeight?: string | number;
30
+ /**
31
+ * Theme ('light' | 'dark' | 'vs-dark' | 'hc-black')
32
+ * If not provided, will use theme from design system
33
+ */
34
+ theme?: string;
35
+ /**
36
+ * Show line numbers
37
+ * @default 'on'
38
+ */
39
+ lineNumbers?: 'on' | 'off' | 'relative' | 'interval';
40
+ /**
41
+ * Editor options (monaco editor options)
42
+ */
43
+ options?: editor.IStandaloneEditorConstructionOptions;
44
+ /**
45
+ * Callback when editor is mounted
46
+ */
47
+ onMount?: (editor: editor.IStandaloneCodeEditor, monaco: Monaco) => void;
48
+ /**
49
+ * Callback for validation errors
50
+ */
51
+ onValidate?: (markers: editor.IMarker[]) => void;
52
+ /**
53
+ * Ref to editor instance
54
+ */
55
+ editorRef?: React__default.MutableRefObject<editor.IStandaloneCodeEditor | null>;
56
+ /**
57
+ * Ref to Monaco instance
58
+ */
59
+ monacoRef?: React__default.MutableRefObject<Monaco | null>;
60
+ /**
61
+ * Callback when fullscreen state changes
62
+ */
63
+ onFullscreenChange?: (isFullscreen: boolean) => void;
64
+ /**
65
+ * Props for the container Box.
66
+ */
67
+ containerProps?: BoxProps;
68
+ /**
69
+ * Additional TypeScript type definitions to add to the editor context.
70
+ * Can be a string with type definitions or an array of type definition strings.
71
+ * Each string will be added as a separate extra lib to Monaco.
72
+ *
73
+ * @example
74
+ * ```tsx
75
+ * <CodeEditor
76
+ * value={code}
77
+ * onChange={setCode}
78
+ * typeDefinitions={`
79
+ * declare interface MyCustomType {
80
+ * id: string;
81
+ * name: string;
82
+ * }
83
+ * `}
84
+ * />
85
+ * ```
86
+ */
87
+ typeDefinitions?: string | string[];
88
+ /**
89
+ * When true, the editor skips internal value syncing and lets an external
90
+ * source (e.g. useCodeEditorWorkspace) manage Monaco models directly.
91
+ * The `value` prop is still used as the initial/display value but won't
92
+ * be force-synced to the editor.
93
+ * @default false
94
+ */
95
+ externalModelManagement?: boolean;
96
+ }
97
+ /**
98
+ * CodeEditor component - wrapper around Monaco Editor matching dynamic-indexer-client implementation
99
+ *
100
+ * @example
101
+ * ```tsx
102
+ * <CodeEditor
103
+ * value={code}
104
+ * onChange={setCode}
105
+ * language="typescript"
106
+ * height="500px"
107
+ * onValidate={(markers) => console.log('Errors:', markers)}
108
+ * />
109
+ * ```
110
+ */
111
+ declare const CodeEditor: React__default.FC<CodeEditorProps>;
112
+
113
+ export { CodeEditor, type CodeEditorLanguage, type CodeEditorProps };
@@ -0,0 +1,113 @@
1
+ import React__default from 'react';
2
+ import { Monaco } from '@monaco-editor/react';
3
+ import { BoxProps } from '@mui/material/Box';
4
+ import { editor } from 'monaco-editor';
5
+
6
+ type CodeEditorLanguage = 'typescript' | 'javascript' | 'json' | 'html' | 'css' | 'python' | 'yaml' | 'markdown' | 'sql' | 'xml' | 'plaintext';
7
+ interface CodeEditorProps {
8
+ /**
9
+ * Current value of the editor
10
+ */
11
+ value: string;
12
+ /**
13
+ * Callback when value changes
14
+ */
15
+ onChange: (value: string) => void;
16
+ /**
17
+ * Programming language
18
+ * @default 'typescript'
19
+ */
20
+ language?: CodeEditorLanguage;
21
+ /**
22
+ * Height of the editor
23
+ * @default '400px'
24
+ */
25
+ height?: string | number;
26
+ /**
27
+ * Minimum height
28
+ */
29
+ minHeight?: string | number;
30
+ /**
31
+ * Theme ('light' | 'dark' | 'vs-dark' | 'hc-black')
32
+ * If not provided, will use theme from design system
33
+ */
34
+ theme?: string;
35
+ /**
36
+ * Show line numbers
37
+ * @default 'on'
38
+ */
39
+ lineNumbers?: 'on' | 'off' | 'relative' | 'interval';
40
+ /**
41
+ * Editor options (monaco editor options)
42
+ */
43
+ options?: editor.IStandaloneEditorConstructionOptions;
44
+ /**
45
+ * Callback when editor is mounted
46
+ */
47
+ onMount?: (editor: editor.IStandaloneCodeEditor, monaco: Monaco) => void;
48
+ /**
49
+ * Callback for validation errors
50
+ */
51
+ onValidate?: (markers: editor.IMarker[]) => void;
52
+ /**
53
+ * Ref to editor instance
54
+ */
55
+ editorRef?: React__default.MutableRefObject<editor.IStandaloneCodeEditor | null>;
56
+ /**
57
+ * Ref to Monaco instance
58
+ */
59
+ monacoRef?: React__default.MutableRefObject<Monaco | null>;
60
+ /**
61
+ * Callback when fullscreen state changes
62
+ */
63
+ onFullscreenChange?: (isFullscreen: boolean) => void;
64
+ /**
65
+ * Props for the container Box.
66
+ */
67
+ containerProps?: BoxProps;
68
+ /**
69
+ * Additional TypeScript type definitions to add to the editor context.
70
+ * Can be a string with type definitions or an array of type definition strings.
71
+ * Each string will be added as a separate extra lib to Monaco.
72
+ *
73
+ * @example
74
+ * ```tsx
75
+ * <CodeEditor
76
+ * value={code}
77
+ * onChange={setCode}
78
+ * typeDefinitions={`
79
+ * declare interface MyCustomType {
80
+ * id: string;
81
+ * name: string;
82
+ * }
83
+ * `}
84
+ * />
85
+ * ```
86
+ */
87
+ typeDefinitions?: string | string[];
88
+ /**
89
+ * When true, the editor skips internal value syncing and lets an external
90
+ * source (e.g. useCodeEditorWorkspace) manage Monaco models directly.
91
+ * The `value` prop is still used as the initial/display value but won't
92
+ * be force-synced to the editor.
93
+ * @default false
94
+ */
95
+ externalModelManagement?: boolean;
96
+ }
97
+ /**
98
+ * CodeEditor component - wrapper around Monaco Editor matching dynamic-indexer-client implementation
99
+ *
100
+ * @example
101
+ * ```tsx
102
+ * <CodeEditor
103
+ * value={code}
104
+ * onChange={setCode}
105
+ * language="typescript"
106
+ * height="500px"
107
+ * onValidate={(markers) => console.log('Errors:', markers)}
108
+ * />
109
+ * ```
110
+ */
111
+ declare const CodeEditor: React__default.FC<CodeEditorProps>;
112
+
113
+ export { CodeEditor, type CodeEditorLanguage, type CodeEditorProps };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkYCDCQSYHjs = require('./chunk-YCDCQSYH.js');
4
+
5
+
6
+ exports.CodeEditor = _chunkYCDCQSYHjs.CodeEditor;
7
+ //# sourceMappingURL=third-party.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/cere-design-system/cere-design-system/dist/third-party.js"],"names":[],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B;AACE;AACF,iDAAC","file":"/home/runner/work/cere-design-system/cere-design-system/dist/third-party.js"}
@@ -0,0 +1,7 @@
1
+ import {
2
+ CodeEditor
3
+ } from "./chunk-3KCXCVOX.mjs";
4
+ export {
5
+ CodeEditor
6
+ };
7
+ //# sourceMappingURL=third-party.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/dist/tokens.css CHANGED
@@ -1,78 +1,52 @@
1
- /*
2
- * @cere/cere-design-system root CSS tokens.
3
- *
4
- * Mirror of `webSurfaceTokens` / `motion` / `borderRadius` / font families.
5
- * Import once at app root: import '@cere/cere-design-system/tokens.css';
6
- *
7
- * The companion test (src/theme/__tests__/webSurfaceTokens.test.ts) locks
8
- * this file against the JS token modules — if values drift, the build fails.
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
9
3
  */
10
4
 
11
5
  :root {
12
- /* Brand */
13
- --c-violet: #aa44f2;
14
- --c-violet-tint: #a54aff;
15
- --c-violet-light: #f0e0fb;
16
- --c-violet-dark: #7c59ac;
17
- --c-pink: #f941e6;
18
- --c-pink-light: #fcdff9;
19
- --c-red: #ff4f59;
20
- --c-green: #49bf63;
21
- --c-blue-light: #e7f4fe;
22
- --c-blue-dark: #598ab8;
23
-
24
- /* ROB extended */
25
- --rob-fandango: #BD32A7;
6
+ --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'HumanSans', sans-serif;
7
+ --font-display: 'Inter', sans-serif;
8
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
9
+ --c-violet-light: #f0e0fb;
10
+ --c-violet: #aa44f2;
11
+ --c-violet-dark: #7c59ac;
12
+ --c-violet-tint: #a54aff;
13
+ --c-pink: #f941e6;
14
+ --c-pink-light: #fcdff9;
15
+ --c-red: #ff4f59;
16
+ --c-green: #49bf63;
17
+ --c-blue-light: #e7f4fe;
18
+ --c-blue-dark: #598ab8;
19
+ --surface-low: #f5f1f7;
20
+ --surface-mid: #f5f1f7;
21
+ --surface-high: #fefcff;
22
+ --surface-contrast: #ffffff;
23
+ --bg-default: #f5f5f5;
24
+ --bg-dim: #e6e0e9;
25
+ --bg-success: #eef5f0;
26
+ --bg-warning: #fef8e8;
27
+ --bg-danger: #f9dedc;
28
+ --text-on-danger: #8c1d18;
29
+ --text-primary: #1d1b20;
30
+ --text-secondary: #5f5c64;
31
+ --text-muted: #938f99;
32
+ --stroke-on-low: #e6e0e9;
33
+ --stroke-on-med: #dad1e0;
34
+ --rob-fandango: #BD32A7;
26
35
  --rob-electric-violet: #8B00EC;
27
- --rob-ultra-violet: #6750A4;
28
- --rob-bright-1: #5311e3;
29
- --rob-near-black-2: #0d0627;
30
- --rob-near-black-4: #23194b;
31
- --rob-periwinkle: #D0BCFF;
32
-
33
- /* Surfaces */
34
- --surface-low: #f5f1f7;
35
- --surface-mid: #f5f1f7;
36
- --surface-high: #fefcff;
37
- --surface-contrast: #ffffff;
38
-
39
- /* Backgrounds */
40
- --bg-default: #f5f5f5;
41
- --bg-dim: #e6e0e9;
42
- --bg-success: #eef5f0;
43
- --bg-warning: #fef8e8;
44
- --bg-danger: #f9dedc;
45
- /* Foreground for content sitting on var(--bg-danger). NOT a surface. */
46
- --text-on-danger: #8c1d18;
47
-
48
- /* Text */
49
- --text-primary: #1d1b20;
50
- --text-secondary: #5f5c64;
51
- --text-muted: #938f99;
52
- --text-link: #aa44f2;
53
-
54
- /* Strokes */
55
- --stroke-on-low: #e6e0e9;
56
- --stroke-on-med: #dad1e0;
57
-
58
- /* Radius */
59
- --radius-sm: 8px;
60
- --radius-md: 12px;
61
- --radius-lg: 16px;
62
- --radius-xl: 20px;
63
- --radius-pill: 999px;
64
-
65
- /* Elevation */
66
- --shadow-sm: 0px 2px 8px rgba(0,0,0,0.04);
67
- --shadow-md: 0px 4px 20px rgba(0,0,0,0.05);
36
+ --rob-ultra-violet: #6750A4;
37
+ --rob-periwinkle: #D0BCFF;
38
+ --rob-bright-1: #5311e3;
39
+ --rob-near-black-2: #0d0627;
40
+ --rob-near-black-4: #23194b;
41
+ --shadow-sm: 0px 2px 8px rgba(0,0,0,0.04);
42
+ --shadow-md: 0px 4px 20px rgba(0,0,0,0.05);
68
43
  --shadow-focus: 0 0 0 4px rgba(170,68,242,0.25);
69
-
70
- /* Motion */
44
+ --radius-sm: 8px;
45
+ --radius-md: 12px;
46
+ --radius-lg: 16px;
47
+ --radius-xl: 20px;
48
+ --radius-pill: 999px;
49
+ --dur-fast: 120ms;
71
50
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
72
- --dur-fast: 120ms;
73
-
74
- /* Type */
75
- --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
76
- --font-display: 'Inter', sans-serif;
77
- --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
51
+ --text-link: #aa44f2;
78
52
  }
@@ -0,0 +1,39 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { ReactNode, AriaAttributes } from 'react';
4
+ import { QRCodeProps as QRCodeProps$1 } from 'react-qr-code';
5
+
6
+ type MarkdownProps = {
7
+ children?: string;
8
+ content?: string;
9
+ };
10
+ declare const Markdown: ({ content, children }: MarkdownProps) => react_jsx_runtime.JSX.Element;
11
+
12
+ interface OnboardingContextType {
13
+ isOnboardingActive: boolean;
14
+ startOnboarding: () => void;
15
+ stopOnboarding: () => void;
16
+ restartOnboarding: () => void;
17
+ }
18
+ declare const useOnboarding: () => OnboardingContextType;
19
+ declare const OnboardingProvider: ({ children }: {
20
+ children: ReactNode;
21
+ }) => react_jsx_runtime.JSX.Element;
22
+
23
+ type TruncateProps = AriaAttributes & {
24
+ text: string;
25
+ maxLength?: number;
26
+ endingLength?: number;
27
+ variant?: 'text' | 'email' | 'hex';
28
+ };
29
+ declare const Truncate: ({ text, variant, maxLength, endingLength, ...props }: TruncateProps) => react_jsx_runtime.JSX.Element;
30
+
31
+ type BytesSizeProps = {
32
+ bytes: number;
33
+ };
34
+ declare const BytesSize: ({ bytes }: BytesSizeProps) => react_jsx_runtime.JSX.Element;
35
+
36
+ type QRCodeProps = Omit<QRCodeProps$1, 'ref'>;
37
+ declare const QRCode: React.ForwardRefExoticComponent<QRCodeProps & React.RefAttributes<SVGElement>>;
38
+
39
+ export { BytesSize, type BytesSizeProps, Markdown, type MarkdownProps, OnboardingProvider, QRCode, type QRCodeProps, Truncate, type TruncateProps, useOnboarding };
@@ -0,0 +1,39 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { ReactNode, AriaAttributes } from 'react';
4
+ import { QRCodeProps as QRCodeProps$1 } from 'react-qr-code';
5
+
6
+ type MarkdownProps = {
7
+ children?: string;
8
+ content?: string;
9
+ };
10
+ declare const Markdown: ({ content, children }: MarkdownProps) => react_jsx_runtime.JSX.Element;
11
+
12
+ interface OnboardingContextType {
13
+ isOnboardingActive: boolean;
14
+ startOnboarding: () => void;
15
+ stopOnboarding: () => void;
16
+ restartOnboarding: () => void;
17
+ }
18
+ declare const useOnboarding: () => OnboardingContextType;
19
+ declare const OnboardingProvider: ({ children }: {
20
+ children: ReactNode;
21
+ }) => react_jsx_runtime.JSX.Element;
22
+
23
+ type TruncateProps = AriaAttributes & {
24
+ text: string;
25
+ maxLength?: number;
26
+ endingLength?: number;
27
+ variant?: 'text' | 'email' | 'hex';
28
+ };
29
+ declare const Truncate: ({ text, variant, maxLength, endingLength, ...props }: TruncateProps) => react_jsx_runtime.JSX.Element;
30
+
31
+ type BytesSizeProps = {
32
+ bytes: number;
33
+ };
34
+ declare const BytesSize: ({ bytes }: BytesSizeProps) => react_jsx_runtime.JSX.Element;
35
+
36
+ type QRCodeProps = Omit<QRCodeProps$1, 'ref'>;
37
+ declare const QRCode: React.ForwardRefExoticComponent<QRCodeProps & React.RefAttributes<SVGElement>>;
38
+
39
+ export { BytesSize, type BytesSizeProps, Markdown, type MarkdownProps, OnboardingProvider, QRCode, type QRCodeProps, Truncate, type TruncateProps, useOnboarding };
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkHJ24WKU4js = require('./chunk-HJ24WKU4.js');
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+ exports.BytesSize = _chunkHJ24WKU4js.BytesSize; exports.Markdown = _chunkHJ24WKU4js.Markdown; exports.OnboardingProvider = _chunkHJ24WKU4js.OnboardingProvider; exports.QRCode = _chunkHJ24WKU4js.QRCode; exports.Truncate = _chunkHJ24WKU4js.Truncate; exports.useOnboarding = _chunkHJ24WKU4js.useOnboarding;
17
+ //# sourceMappingURL=utilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/cere-design-system/cere-design-system/dist/utilities.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,+SAAC","file":"/home/runner/work/cere-design-system/cere-design-system/dist/utilities.js"}
@@ -0,0 +1,17 @@
1
+ import {
2
+ BytesSize,
3
+ Markdown,
4
+ OnboardingProvider,
5
+ QRCode,
6
+ Truncate,
7
+ useOnboarding
8
+ } from "./chunk-SSFALO6S.mjs";
9
+ export {
10
+ BytesSize,
11
+ Markdown,
12
+ OnboardingProvider,
13
+ QRCode,
14
+ Truncate,
15
+ useOnboarding
16
+ };
17
+ //# sourceMappingURL=utilities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}