aidos-ui 3.0.0 → 3.0.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/README.md +2 -2
- package/dist/Badge.d.ts +1 -2
- package/dist/BaseLink.d.ts +1 -1
- package/dist/BaseList.d.ts +1 -1
- package/dist/BaseListAddOn.d.ts +1 -1
- package/dist/BaseListItem.d.ts +1 -1
- package/dist/BaseView.d.ts +1 -1
- package/dist/Box.d.ts +1 -2
- package/dist/Card.d.ts +1 -1
- package/dist/Checkbox.d.ts +1 -2
- package/dist/Circle.d.ts +1 -2
- package/dist/Column.d.ts +1 -1
- package/dist/DarkMode.d.ts +2 -2
- package/dist/DatePicker.d.ts +1 -2
- package/dist/DesignBook.d.ts +1 -2
- package/dist/Dialog.d.ts +2 -2
- package/dist/Dropdown.d.ts +1 -2
- package/dist/FlexLayout.d.ts +1 -1
- package/dist/Icon.d.ts +1 -1
- package/dist/List.d.ts +2 -2
- package/dist/List.js +10 -2
- package/dist/List.js.map +1 -1
- package/dist/ListButtonItem.d.ts +1 -1
- package/dist/ListDivider.d.ts +1 -2
- package/dist/ListHeaderItem.d.ts +1 -1
- package/dist/ListItem.d.ts +1 -1
- package/dist/ListLinkItem.d.ts +1 -1
- package/dist/ListSpacer.d.ts +1 -2
- package/dist/Popover.d.ts +2 -2
- package/dist/ProgressBar.d.ts +1 -2
- package/dist/ProgressCircle.d.ts +1 -2
- package/dist/Providers.d.ts +1 -1
- package/dist/RootView.d.ts +1 -1
- package/dist/Router.d.ts +1 -2
- package/dist/RouterState.d.ts +1 -1
- package/dist/Row.d.ts +1 -1
- package/dist/StackContext.d.ts +1 -1
- package/dist/StaticCheckbox.d.ts +1 -2
- package/dist/Sublist.d.ts +3 -2
- package/dist/Sublist.js +2 -2
- package/dist/Sublist.js.map +1 -1
- package/dist/SubmitIconInput.d.ts +1 -2
- package/dist/Tabs.d.ts +1 -1
- package/dist/Text.d.ts +8 -8
- package/dist/TextInputWithState.d.ts +1 -1
- package/dist/TextPairing.d.ts +1 -1
- package/dist/Tooltip.d.ts +1 -1
- package/dist/jss.d.ts +2 -2
- package/dist/stateMachineContextFactory.d.ts +1 -1
- package/package.json +8 -3
- package/public/index.json +1 -0
- package/scripts/embeddings.js +93 -0
- package/scripts/publish.js +1 -0
- package/scripts/test_embeddings.js +47 -0
- package/src/List.tsx +12 -2
- package/src/Sublist.tsx +3 -0
- package/src/docs/mdx.tsx +99 -0
- package/src/docs/pages.ts +112 -0
- package/src/pages/Badge.mdx +1 -1
- package/src/pages/Button.mdx +4 -4
- package/src/pages/Link.mdx +3 -3
- package/src/pages/List.mdx +99 -1
- package/src/pages/_app.tsx +126 -241
- package/src/pages/index.mdx +1 -1
package/dist/Text.d.ts
CHANGED
|
@@ -15,11 +15,11 @@ export interface TextProps {
|
|
|
15
15
|
htmlFor?: string;
|
|
16
16
|
}
|
|
17
17
|
export type TextType = "label" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "li";
|
|
18
|
-
export declare function Text({ children, color, size, align, bold, ellipsis, grow, type: Type, jsStyle, id, htmlFor, }: TextProps): JSX.Element;
|
|
19
|
-
export declare function Label({ size, type, ...rest }: TextProps): JSX.Element;
|
|
20
|
-
export declare function Span({ size, type, ...rest }: TextProps): JSX.Element;
|
|
21
|
-
export declare function P({ size, type, ...rest }: TextProps): JSX.Element;
|
|
22
|
-
export declare function H1({ size, type, ...rest }: TextProps): JSX.Element;
|
|
23
|
-
export declare function H2({ size, type, ...rest }: TextProps): JSX.Element;
|
|
24
|
-
export declare function H3({ size, type, ...rest }: TextProps): JSX.Element;
|
|
25
|
-
export declare function Li({ size, type, ...rest }: TextProps): JSX.Element;
|
|
18
|
+
export declare function Text({ children, color, size, align, bold, ellipsis, grow, type: Type, jsStyle, id, htmlFor, }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function Label({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function Span({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function P({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function H1({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function H2({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function H3({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function Li({ size, type, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface TextInputWithStateProps extends BaseInputProps {
|
|
|
7
7
|
icon?: IconType;
|
|
8
8
|
onChange?: undefined;
|
|
9
9
|
}
|
|
10
|
-
export declare function TextInputWithState({ valueRef, onValueChange: externalOnChange, icon, ...otherProps }: TextInputWithStateProps): JSX.Element;
|
|
10
|
+
export declare function TextInputWithState({ valueRef, onValueChange: externalOnChange, icon, ...otherProps }: TextInputWithStateProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/TextPairing.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export interface TextPairingProps {
|
|
|
18
18
|
headlineBold?: boolean;
|
|
19
19
|
jsStyle?: JSStyle;
|
|
20
20
|
}
|
|
21
|
-
export declare function TextPairing({ headline, body, headlineColor, headlineSize, headlineAddOn, bodyColor, bodySize, addOn, addOnPosition, gap, align, grow, shrink, headlineBold, padding, jsStyle, }: TextPairingProps): JSX.Element;
|
|
21
|
+
export declare function TextPairing({ headline, body, headlineColor, headlineSize, headlineAddOn, bodyColor, bodySize, addOn, addOnPosition, gap, align, grow, shrink, headlineBold, padding, jsStyle, }: TextPairingProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/Tooltip.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ interface TooltipProps {
|
|
|
7
7
|
tag?: keyof HTMLElementTagNameMap;
|
|
8
8
|
children: JSX.Element;
|
|
9
9
|
}
|
|
10
|
-
export declare function Tooltip({ content, jsStyle, tag, children }: TooltipProps): JSX.Element;
|
|
10
|
+
export declare function Tooltip({ content, jsStyle, tag, children }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
package/dist/jss.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ export declare function JSStylesProvider({ themes, children, }: {
|
|
|
11
11
|
light: Theme;
|
|
12
12
|
};
|
|
13
13
|
children: JSX.Element;
|
|
14
|
-
}): JSX.Element;
|
|
15
|
-
export declare function JSServerStyles(): JSX.Element;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function JSServerStyles(): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export type Size = "xsmall" | "small" | "medium" | "large" | "xlarge";
|
|
17
17
|
export type Spacing = "none" | Size;
|
|
18
18
|
export type Gap = Spacing;
|
|
@@ -30,7 +30,7 @@ type StateMachineContextType<State, Context> = {
|
|
|
30
30
|
export declare function stateMachineContextFactory<State, Transition, Context>(stateMachineConfig: StateMachineConfig<State, Transition, Context>): {
|
|
31
31
|
Provider: ({ children }: {
|
|
32
32
|
children: ReactNode;
|
|
33
|
-
}) => JSX.Element;
|
|
33
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
useStateMachine: () => StateMachineContextType<State, Context>;
|
|
35
35
|
};
|
|
36
36
|
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aidos-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "A simple UI framework",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
+
"embeddings": "node ./scripts/embeddings.js",
|
|
8
9
|
"dev": "next dev",
|
|
9
10
|
"publish:patch": "node ./scripts/publish.js --patch",
|
|
10
11
|
"build": "next build",
|
|
@@ -20,9 +21,11 @@
|
|
|
20
21
|
"@mdx-js/loader": "^2.3.0",
|
|
21
22
|
"@mdx-js/react": "^2.3.0",
|
|
22
23
|
"@next/mdx": "^13.4.9",
|
|
24
|
+
"@types/node": "^20.4.4",
|
|
23
25
|
"@types/prismjs": "^1.26.0",
|
|
24
26
|
"@types/react": "^18.0.26",
|
|
25
27
|
"@types/react-dom": "^18.0.10",
|
|
28
|
+
"@xenova/transformers": "^2.4.2",
|
|
26
29
|
"csstype": "^3.1.1",
|
|
27
30
|
"install": "^0.13.0",
|
|
28
31
|
"next": "latest",
|
|
@@ -30,9 +33,11 @@
|
|
|
30
33
|
"prismjs": "^1.29.0",
|
|
31
34
|
"process": "^0.11.10",
|
|
32
35
|
"react-dom": "latest",
|
|
36
|
+
"remark-mdx": "^2.3.0",
|
|
37
|
+
"remark-parse": "^10.0.2",
|
|
33
38
|
"rimraf": "^5.0.1",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
39
|
+
"typescript": "^4.9.4",
|
|
40
|
+
"unified": "^10.1.2"
|
|
36
41
|
},
|
|
37
42
|
"peerDependencies": {
|
|
38
43
|
"react": "latest"
|