@scattered-light/loomiere-base-ui 0.6.1 → 0.7.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 +135 -5
- package/dist/chunk-JUUPOOQQ.js +3723 -0
- package/dist/chunk-JUUPOOQQ.js.map +1 -0
- package/dist/chunk-M7KJASGK.js +802 -0
- package/dist/chunk-M7KJASGK.js.map +1 -0
- package/dist/chunk-Y2CPBMFJ.js +147 -0
- package/dist/chunk-Y2CPBMFJ.js.map +1 -0
- package/dist/custom/collection/index.d.ts +540 -0
- package/dist/custom/collection/index.js +1489 -0
- package/dist/custom/collection/index.js.map +1 -0
- package/dist/custom/index.d.ts +5 -0
- package/dist/custom/index.js +4 -0
- package/dist/custom/index.js.map +1 -0
- package/dist/design-system/components/Badge/README.md +35 -0
- package/dist/design-system/components/Badge/preview.html +19 -0
- package/dist/design-system/components/Collection/README.md +14 -0
- package/dist/design-system/components/CollectionPagination/README.md +15 -0
- package/dist/design-system/components/CollectionToolbar/README.md +29 -0
- package/dist/design-system/components/DataList/README.md +39 -0
- package/dist/design-system/components/DataList/preview.html +475 -0
- package/dist/design-system/components/DataTable/README.md +41 -0
- package/dist/design-system/components/DataTable/preview.html +475 -0
- package/dist/design-system/components/DatePicker/README.md +55 -0
- package/dist/design-system/components/DatePicker/preview.html +475 -0
- package/dist/design-system/components/EditableList/README.md +33 -0
- package/dist/design-system/components/EditableList/preview.html +475 -0
- package/dist/design-system/components/EmptyState/README.md +60 -0
- package/dist/design-system/components/EmptyState/preview.html +475 -0
- package/dist/design-system/components/ListDetail/README.md +43 -0
- package/dist/design-system/components/ListDetail/preview.html +475 -0
- package/dist/design-system/components/MoneyField/README.md +52 -0
- package/dist/design-system/components/MoneyField/preview.html +475 -0
- package/dist/design-system/components/Splitter/README.md +42 -0
- package/dist/design-system/components/Splitter/preview.html +475 -0
- package/dist/design-system/components/Table/README.md +2 -1
- package/dist/design-system/components/Table/preview.html +1 -1
- package/dist/design-system/components/bundle.js +7 -5
- package/dist/design-system/components/index.d.ts +3 -21
- package/dist/design-system/components/styles.css +2349 -186
- package/dist/index-ChJXlxzq.d.ts +809 -0
- package/dist/index.d.ts +3 -21
- package/dist/index.js +176 -891
- package/dist/index.js.map +1 -1
- package/dist/styles/components/Accordion.css +1 -1
- package/dist/styles/components/AlertDialog.css +1 -1
- package/dist/styles/components/Autocomplete.css +1 -1
- package/dist/styles/components/Avatar.css +1 -1
- package/dist/styles/components/Button.css +1 -1
- package/dist/styles/components/Checkbox.css +1 -1
- package/dist/styles/components/CheckboxGroup.css +1 -1
- package/dist/styles/components/Collapsible.css +1 -1
- package/dist/styles/components/Combobox.css +1 -1
- package/dist/styles/components/ContextMenu.css +1 -1
- package/dist/styles/components/Dialog.css +1 -1
- package/dist/styles/components/Drawer.css +1 -1
- package/dist/styles/components/Field.css +1 -1
- package/dist/styles/components/Fieldset.css +1 -1
- package/dist/styles/components/Form.css +1 -1
- package/dist/styles/components/Input.css +1 -1
- package/dist/styles/components/Menu.css +1 -1
- package/dist/styles/components/Menubar.css +1 -1
- package/dist/styles/components/Meter.css +1 -1
- package/dist/styles/components/NavigationMenu.css +1 -1
- package/dist/styles/components/NumberField.css +1 -1
- package/dist/styles/components/OTPField.css +1 -1
- package/dist/styles/components/Popover.css +1 -1
- package/dist/styles/components/PreviewCard.css +1 -1
- package/dist/styles/components/Progress.css +1 -1
- package/dist/styles/components/Radio.css +1 -1
- package/dist/styles/components/ScrollArea.css +1 -1
- package/dist/styles/components/Select.css +1 -1
- package/dist/styles/components/Separator.css +1 -1
- package/dist/styles/components/Slider.css +1 -1
- package/dist/styles/components/Switch.css +1 -1
- package/dist/styles/components/Tabs.css +1 -1
- package/dist/styles/components/Toast.css +1 -1
- package/dist/styles/components/Toggle.css +1 -1
- package/dist/styles/components/ToggleGroup.css +1 -1
- package/dist/styles/components/Toolbar.css +1 -1
- package/dist/styles/components/Tooltip.css +1 -1
- package/dist/styles/custom/Badge.css +104 -0
- package/dist/styles/custom/Collection.css +15 -0
- package/dist/styles/custom/CollectionPagination.css +24 -0
- package/dist/styles/custom/CollectionToolbar.css +140 -0
- package/dist/styles/custom/DataList.css +123 -0
- package/dist/styles/custom/DataTable.css +120 -0
- package/dist/styles/custom/DatePicker.css +572 -0
- package/dist/styles/custom/EditableList.css +98 -0
- package/dist/styles/custom/EmptyState.css +255 -0
- package/dist/styles/custom/ListDetail.css +126 -0
- package/dist/styles/custom/MoneyField.css +344 -0
- package/dist/styles/custom/Splitter.css +207 -0
- package/dist/styles/{components → custom}/Table.css +31 -4
- package/dist/styles/index.css +12 -2
- package/dist/styles/reset/accessibility.css +1 -1
- package/dist/styles/reset/reset-accessibility.css +1 -1
- package/dist/styles/reset/reset-tailwind.css +1 -1
- package/dist/styles/reset/reset.css +1 -1
- package/dist/styles/tailwind.css +12 -2
- package/package.json +35 -7
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scattered-light/loomiere-base-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Base UI components styled by any Loomiere theme. Brand-free: every value is a --sl- variable.",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"base-ui",
|
|
7
|
+
"react",
|
|
8
|
+
"components",
|
|
9
|
+
"design-tokens",
|
|
10
|
+
"loomiere"
|
|
11
|
+
],
|
|
6
12
|
"repository": {
|
|
7
13
|
"type": "git",
|
|
8
14
|
"url": "git+https://github.com/ScatteredLight/loomiere.git",
|
|
@@ -13,7 +19,9 @@
|
|
|
13
19
|
"$comment": "The @base-ui/react release these styles were written and checked against. npm run check:base-ui compares it with the installed version."
|
|
14
20
|
},
|
|
15
21
|
"type": "module",
|
|
16
|
-
"sideEffects": [
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"*.css"
|
|
24
|
+
],
|
|
17
25
|
"main": "./dist/index.js",
|
|
18
26
|
"module": "./dist/index.js",
|
|
19
27
|
"types": "./dist/index.d.ts",
|
|
@@ -23,16 +31,29 @@
|
|
|
23
31
|
"import": "./dist/index.js",
|
|
24
32
|
"default": "./dist/index.js"
|
|
25
33
|
},
|
|
34
|
+
"./custom": {
|
|
35
|
+
"types": "./dist/custom/index.d.ts",
|
|
36
|
+
"import": "./dist/custom/index.js",
|
|
37
|
+
"default": "./dist/custom/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./custom/collection": {
|
|
40
|
+
"types": "./dist/custom/collection/index.d.ts",
|
|
41
|
+
"import": "./dist/custom/collection/index.js",
|
|
42
|
+
"default": "./dist/custom/collection/index.js"
|
|
43
|
+
},
|
|
26
44
|
"./styles.css": "./dist/styles/index.css",
|
|
27
45
|
"./tailwind.css": "./dist/styles/tailwind.css",
|
|
28
46
|
"./styles/*": "./dist/styles/*",
|
|
29
47
|
"./design-system/*": "./dist/design-system/*",
|
|
30
48
|
"./package.json": "./package.json"
|
|
31
49
|
},
|
|
32
|
-
"files": [
|
|
50
|
+
"files": [
|
|
51
|
+
"dist"
|
|
52
|
+
],
|
|
33
53
|
"scripts": {
|
|
34
|
-
"build": "npm run check:base-ui && tsup && node build/build-styles.mjs && node build/build-design-system.mjs",
|
|
54
|
+
"build": "npm run check:base-ui && tsup && node build/check-collection.mjs && node build/build-styles.mjs && node build/build-design-system.mjs",
|
|
35
55
|
"check:base-ui": "node build/check-base-ui.mjs",
|
|
56
|
+
"test": "TZ=America/New_York node --test test/date-utils.test.mjs test/money-utils.test.mjs test/splitter-layout.test.mjs test/collection-utils.test.mjs && TZ=Australia/Sydney node --test test/date-utils.test.mjs test/money-utils.test.mjs test/splitter-layout.test.mjs test/collection-utils.test.mjs",
|
|
36
57
|
"prepack": "npm run build"
|
|
37
58
|
},
|
|
38
59
|
"publishConfig": {
|
|
@@ -46,9 +67,16 @@
|
|
|
46
67
|
"@base-ui/react": "^1.9.0",
|
|
47
68
|
"@material-symbols/font-400": "^0.39.0 || ^0.44.0",
|
|
48
69
|
"react": "^18.0.0 || ^19.0.0",
|
|
49
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
70
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
71
|
+
"@tanstack/react-table": "^9.3.1"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"@tanstack/react-table": {
|
|
75
|
+
"optional": true
|
|
76
|
+
}
|
|
50
77
|
},
|
|
51
78
|
"devDependencies": {
|
|
52
|
-
"@scattered-light/loomiere": "0.
|
|
79
|
+
"@scattered-light/loomiere": "0.7.1",
|
|
80
|
+
"@tanstack/react-table": "^9.3.1"
|
|
53
81
|
}
|
|
54
82
|
}
|