@arnilo/liveframe-starter 0.0.0-stage → 0.3.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.
package/dist/ui.gen.js ADDED
@@ -0,0 +1,102 @@
1
+ // Generated by liveframe gen. Do not edit.
2
+ import { primitive, } from "@arnilo/liveframe/sdk";
3
+ /**
4
+ * A generic container. Variants add a plate, rule or callout; `semantics` picks the element.
5
+ */
6
+ export const Box = primitive("box");
7
+ /**
8
+ * Lays its children out in a column.
9
+ */
10
+ export const Stack = primitive("stack");
11
+ /**
12
+ * Lays its children out in a row.
13
+ */
14
+ export const Inline = primitive("inline");
15
+ /**
16
+ * Lays its children out on a grid whose tracks the author sets.
17
+ */
18
+ export const Grid = primitive("grid");
19
+ /**
20
+ * A named, keyboard-focusable region that scrolls its children.
21
+ */
22
+ export const Scroll = primitive("scroll");
23
+ /**
24
+ * A thin rule between groups of content.
25
+ */
26
+ export const Separator = primitive("separator");
27
+ /**
28
+ * A run of text. Use `tone` and `textStyle` to emphasise it.
29
+ */
30
+ export const Text = primitive("text");
31
+ /**
32
+ * Secondary text that describes another control; a control's `describedBy` can reference it.
33
+ */
34
+ export const Hint = primitive("hint");
35
+ /**
36
+ * A section heading, level 1 to 6.
37
+ */
38
+ export const Heading = primitive("heading");
39
+ /**
40
+ * A small glyph from the app's icon set.
41
+ */
42
+ export const Icon = primitive("icon");
43
+ /**
44
+ * An image from a `https` or relative URL.
45
+ */
46
+ export const Image = primitive("image");
47
+ /**
48
+ * A link to a `https` or relative URL.
49
+ */
50
+ export const Link = primitive("link");
51
+ /**
52
+ * Runs one intent when pressed. `tone` marks a critical action.
53
+ */
54
+ export const Button = primitive("button");
55
+ /**
56
+ * A single- or multi-line text input. `onChange` carries the text; `onCommit` fires on Enter.
57
+ */
58
+ export const TextField = primitive("textField");
59
+ /**
60
+ * Chooses one value from a list of options.
61
+ */
62
+ export const Select = primitive("select");
63
+ /**
64
+ * A box that is checked or not.
65
+ */
66
+ export const Checkbox = primitive("checkbox");
67
+ /**
68
+ * A two-state toggle that takes effect at once.
69
+ */
70
+ export const Switch = primitive("switch");
71
+ /**
72
+ * A button that opens a list of menu items.
73
+ */
74
+ export const Menu = primitive("menu");
75
+ /**
76
+ * One action in a menu.
77
+ */
78
+ export const MenuItem = primitive("menuItem");
79
+ /**
80
+ * A button that opens a small floating panel of children.
81
+ */
82
+ export const Popover = primitive("popover");
83
+ /**
84
+ * A modal panel over the surface. `onClose` fires when it is dismissed.
85
+ */
86
+ export const Dialog = primitive("dialog");
87
+ /**
88
+ * Short text shown when its children are hovered or focused.
89
+ */
90
+ export const Tooltip = primitive("tooltip");
91
+ /**
92
+ * A row of tabs with one panel visible at a time.
93
+ */
94
+ export const Tabs = primitive("tabs");
95
+ /**
96
+ * A summary label that expands its children locally; `onToggle` reports the new state.
97
+ */
98
+ export const Disclosure = primitive("disclosure");
99
+ /**
100
+ * One tab and its panel; a child of `tabs`.
101
+ */
102
+ export const Tab = primitive("tab");
package/package.json CHANGED
@@ -1,6 +1,57 @@
1
1
  {
2
2
  "name": "@arnilo/liveframe-starter",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.0",
4
+ "description": "A starting point for a Liveframe host: a reference catalog, React implementations, themes and a design system that pass every conformance suite. Copy it or extend it.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "engines": {
8
+ "bun": ">=1.4.2"
9
+ },
10
+ "author": "Niloy Rahman",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/ashiqrniloy/liveframe.git",
14
+ "directory": "packages/starter"
15
+ },
16
+ "homepage": "https://github.com/ashiqrniloy/liveframe#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/ashiqrniloy/liveframe/issues"
19
+ },
20
+ "keywords": [
21
+ "liveframe",
22
+ "catalog",
23
+ "react",
24
+ "design-system",
25
+ "bun"
26
+ ],
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "tag": "next"
30
+ },
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./dist/index.js"
35
+ },
36
+ "./ui": {
37
+ "types": "./dist/ui.gen.d.ts",
38
+ "default": "./dist/ui.gen.js"
39
+ },
40
+ "./definitions": {
41
+ "types": "./dist/ui.definitions.gen.d.ts",
42
+ "default": "./dist/ui.definitions.gen.js"
43
+ },
44
+ "./catalog.json": "./dist/catalog.json",
45
+ "./package.json": "./package.json"
46
+ },
47
+ "files": [
48
+ "dist"
49
+ ],
50
+ "peerDependencies": {
51
+ "@arnilo/liveframe": "~0.3.0",
52
+ "react": "^19.0.0",
53
+ "react-dom": "^19.0.0",
54
+ "react-aria-components": "^1.22.0"
55
+ },
56
+ "sideEffects": false
57
+ }