@stealthscale/component-collections 0.1.1 → 0.1.3
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/cyclonedx/bom.json +1 -1
- package/dist/index.js +1 -5700
- package/dist/pages/data-list/data-list.js +351 -0
- package/dist/pages/data-list/data-list.props.js +3 -0
- package/dist/pages/listbox/listbox.js +1277 -0
- package/dist/pages/listbox/listbox.props.js +3 -0
- package/dist/pages/pages.json +105 -0
- package/dist/pages/sortable/sortable.js +576 -0
- package/dist/pages/sortable/sortable.props.js +3 -0
- package/dist/pages/status-matrix/status-matrix.js +1403 -0
- package/dist/pages/status-matrix/status-matrix.props.js +3 -0
- package/dist/pages/swipe-actions/swipe-actions.js +212 -0
- package/dist/pages/swipe-actions/swipe-actions.props.js +3 -0
- package/dist/pages/table/table.js +1701 -0
- package/dist/pages/table/table.props.js +3 -0
- package/dist/pages/timeline/timeline.js +380 -0
- package/dist/pages/timeline/timeline.props.js +3 -0
- package/dist/pages/transfer/transfer.js +465 -0
- package/dist/pages/transfer/transfer.props.js +3 -0
- package/dist/pages/tree-view/tree-view.js +1059 -0
- package/dist/pages/tree-view/tree-view.props.js +3 -0
- package/dist/shared-DVn824MJ.js +5701 -0
- package/dist/theme.js +23 -13
- package/locales/en/specimen/data-list.json +64 -0
- package/locales/en/specimen/listbox.json +98 -0
- package/locales/en/specimen/sortable.json +65 -0
- package/locales/en/specimen/status-matrix.json +47 -0
- package/locales/en/specimen/swipe-actions.json +32 -0
- package/locales/en/specimen/table.json +94 -0
- package/locales/en/specimen/timeline.json +72 -0
- package/locales/en/specimen/transfer.json +34 -0
- package/locales/en/specimen/tree-view.json +107 -0
- package/package.json +10 -9
- /package/dist/{recipe-C1oaF8pO.js → recipes-C1oaF8pO.js} +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Renders nested rows that open and close, walked by the keyboard as one control. A branch row opens the rows under it and an item row ends a path. The tree reads a collection, and a render function renders each node's row from the node and its state.",
|
|
3
|
+
"docs": {
|
|
4
|
+
"about": "An item with an `href` renders a link, which follows its address on a press and on Enter. `TreeView.BranchIndentGuide`, passed to `TreeView.Nodes` as `indentGuide`, runs a line down every open branch under its indicator.",
|
|
5
|
+
"actions": "Actions",
|
|
6
|
+
"button": "Button",
|
|
7
|
+
"changelog": "Changelog",
|
|
8
|
+
"collections": "Collections",
|
|
9
|
+
"components": "Components",
|
|
10
|
+
"configure": "Configure",
|
|
11
|
+
"install": "Install",
|
|
12
|
+
"label": "Documentation",
|
|
13
|
+
"listbox": "Listbox",
|
|
14
|
+
"start": "Getting started",
|
|
15
|
+
"themes": "Themes",
|
|
16
|
+
"title": "Links",
|
|
17
|
+
"toggle-group": "Toggle group",
|
|
18
|
+
"tree-view": "Tree view"
|
|
19
|
+
},
|
|
20
|
+
"effect": {
|
|
21
|
+
"about": "The glow surrounds a selected row in the palette's solid color.",
|
|
22
|
+
"title": "Effects"
|
|
23
|
+
},
|
|
24
|
+
"explorer": {
|
|
25
|
+
"label": "Files"
|
|
26
|
+
},
|
|
27
|
+
"lazy": {
|
|
28
|
+
"about": "A branch that declares `childrenCount` loads its children through `loadChildren` the first time it opens. The row reports `aria-busy` while it loads, and the example turns its indicator into a spinner. The caller keeps the collection that `onLoadChildrenComplete` returns.",
|
|
29
|
+
"americas": "Americas",
|
|
30
|
+
"amsterdam": "Amsterdam",
|
|
31
|
+
"asia": "Asia",
|
|
32
|
+
"berlin": "Berlin",
|
|
33
|
+
"europe": "Europe",
|
|
34
|
+
"label": "Offices",
|
|
35
|
+
"lisbon": "Lisbon",
|
|
36
|
+
"new-york": "New York",
|
|
37
|
+
"sao-paulo": "São Paulo",
|
|
38
|
+
"singapore": "Singapore",
|
|
39
|
+
"title": "Loading children",
|
|
40
|
+
"tokyo": "Tokyo"
|
|
41
|
+
},
|
|
42
|
+
"outline": {
|
|
43
|
+
"about": "With `expandOnClick={false}` a press on a row selects it, and a press on `TreeView.BranchTrigger` opens it. The caller controls `expandedValue`, so two buttons open and close every branch. A node with `disabled` takes no selection and opens no rows.",
|
|
44
|
+
"appendix": "Appendix",
|
|
45
|
+
"collapse": "Collapse all",
|
|
46
|
+
"errors": "Errors",
|
|
47
|
+
"expand": "Expand all",
|
|
48
|
+
"findings": "Findings",
|
|
49
|
+
"goals": "Goals",
|
|
50
|
+
"introduction": "Introduction",
|
|
51
|
+
"label": "Report outline",
|
|
52
|
+
"latency": "Latency",
|
|
53
|
+
"raw-data": "Raw data",
|
|
54
|
+
"results": "Results",
|
|
55
|
+
"summary": "Summary",
|
|
56
|
+
"survey": "Survey",
|
|
57
|
+
"title": "Outline"
|
|
58
|
+
},
|
|
59
|
+
"palette": {
|
|
60
|
+
"about": "The palette sets the selected fill, the focus ring and the checkboxes.",
|
|
61
|
+
"title": "Palettes"
|
|
62
|
+
},
|
|
63
|
+
"permissions": {
|
|
64
|
+
"about": "With `checkable`, every row reports `aria-checked` and Space toggles the check. A branch is checked while every node under it is, and partly checked while some are. `TreeView.NodeCheckbox` shows the check and toggles it under a pointer.",
|
|
65
|
+
"billing": "Billing",
|
|
66
|
+
"change-plan": "Change plan",
|
|
67
|
+
"count": "{{count}} of {{total}} permissions granted",
|
|
68
|
+
"delete-workspace": "Delete workspace",
|
|
69
|
+
"download-invoices": "Download invoices",
|
|
70
|
+
"invite-members": "Invite members",
|
|
71
|
+
"label": "Permissions",
|
|
72
|
+
"members": "Members",
|
|
73
|
+
"remove-members": "Remove members",
|
|
74
|
+
"rename-workspace": "Rename workspace",
|
|
75
|
+
"settings": "Settings",
|
|
76
|
+
"title": "Checkable",
|
|
77
|
+
"view-invoices": "View invoices"
|
|
78
|
+
},
|
|
79
|
+
"rename": {
|
|
80
|
+
"about": "With `canRename`, F2 opens `TreeView.NodeRenameInput` over the focused row. Enter keeps the new name, Escape cancels, and focus returns to the row. The caller replaces the node in its collection in `onRenameComplete`.",
|
|
81
|
+
"hint": "Select a file and press",
|
|
82
|
+
"input": "Rename",
|
|
83
|
+
"label": "Drafts",
|
|
84
|
+
"title": "Renaming"
|
|
85
|
+
},
|
|
86
|
+
"search": {
|
|
87
|
+
"about": "`filter` returns a collection of the matching nodes and their branches. While a query is typed, every branch of that collection is open.",
|
|
88
|
+
"clear": "Clear search",
|
|
89
|
+
"empty": "No documents match “{{query}}”.",
|
|
90
|
+
"field": "Search documents",
|
|
91
|
+
"label": "Documents",
|
|
92
|
+
"title": "Filtering"
|
|
93
|
+
},
|
|
94
|
+
"selected": {
|
|
95
|
+
"about": "The fill of a selected row. Subtle and solid fill it with the palette, and plain sets its text in medium weight.",
|
|
96
|
+
"title": "Selected looks"
|
|
97
|
+
},
|
|
98
|
+
"selection": {
|
|
99
|
+
"about": "In `multiple` mode Ctrl or Cmd with a press adds a row to the selection, Shift with a press or an arrow extends it, and Ctrl+A selects every row.",
|
|
100
|
+
"title": "Selection modes"
|
|
101
|
+
},
|
|
102
|
+
"size": {
|
|
103
|
+
"about": "Rows measure 24, 32 and 40px. The size also sets the text, the marks, the inset and the indent of each level.",
|
|
104
|
+
"title": "Sizes"
|
|
105
|
+
},
|
|
106
|
+
"title": "Tree view"
|
|
107
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stealthscale/component-collections",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Renders a set of records: lists, tables, grids, trees, and lists and boards a person reorders by dragging.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"collections",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"dist",
|
|
23
23
|
"LICENSE",
|
|
24
|
+
"locales",
|
|
24
25
|
"README.md"
|
|
25
26
|
],
|
|
26
27
|
"type": "module",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"@dnd-kit/dom": "^0.5",
|
|
42
43
|
"@dnd-kit/helpers": "^0.5",
|
|
43
44
|
"@dnd-kit/react": "^0.5",
|
|
44
|
-
"@stealthscale/component-actions": "^0.2.
|
|
45
|
+
"@stealthscale/component-actions": "^0.2.3",
|
|
45
46
|
"@zag-js/collection": "1.45.0",
|
|
46
47
|
"@zag-js/focus-visible": "1.45.0",
|
|
47
48
|
"@zag-js/i18n-utils": "1.45.0",
|
|
@@ -52,16 +53,16 @@
|
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@arethetypeswrong/core": "^0.18",
|
|
55
|
-
"@stealthscale/component-disclosure": "^0.2.
|
|
56
|
-
"@stealthscale/component-layout": "^0.2.
|
|
57
|
-
"@stealthscale/component-primitives": "^0.3.
|
|
56
|
+
"@stealthscale/component-disclosure": "^0.2.4",
|
|
57
|
+
"@stealthscale/component-layout": "^0.2.2",
|
|
58
|
+
"@stealthscale/component-primitives": "^0.3.1",
|
|
58
59
|
"@stealthscale/hooks": "^0.3.0",
|
|
59
60
|
"@stealthscale/theme": "^0.5.0",
|
|
60
61
|
"@stealthscale/vite-config": "^0.8.0",
|
|
61
|
-
"@stealthscale/vite-config-i18n": "^0.2.
|
|
62
|
+
"@stealthscale/vite-config-i18n": "^0.2.2",
|
|
62
63
|
"@stealthscale/vite-config-react": "^0.9.1",
|
|
63
|
-
"@stealthscale/vite-config-specimen": "^0.
|
|
64
|
-
"@stealthscale/vite-config-theme": "^0.
|
|
64
|
+
"@stealthscale/vite-config-specimen": "^0.3.0",
|
|
65
|
+
"@stealthscale/vite-config-theme": "^0.3.0",
|
|
65
66
|
"@stealthscale/vite-config-typescript": "^0.3.0",
|
|
66
67
|
"@testing-library/react": "^16.3",
|
|
67
68
|
"@types/react": "^19.3",
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
"vitest": "5.0.3"
|
|
77
78
|
},
|
|
78
79
|
"peerDependencies": {
|
|
79
|
-
"@stealthscale/component-primitives": "^0.3.
|
|
80
|
+
"@stealthscale/component-primitives": "^0.3.1",
|
|
80
81
|
"@stealthscale/hooks": "^0.3.0",
|
|
81
82
|
"@stealthscale/theme": "^0.5.0",
|
|
82
83
|
"react": "^19.3",
|
|
File without changes
|