@ecopages/radiant-ui 0.2.4 → 0.2.5
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/components/ui/calendar/calendar.d.ts +3 -1
- package/dist/components/ui/calendar/index.js +1 -1
- package/dist/components/ui/calendar/index.js.map +3 -3
- package/dist/components/ui/date-field/date-field.d.ts +3 -2
- package/dist/components/ui/date-field/index.js +1 -1
- package/dist/components/ui/date-field/index.js.map +3 -3
- package/dist/components/ui/date-input/date-input.d.ts +3 -2
- package/dist/components/ui/date-input/index.js +1 -1
- package/dist/components/ui/date-input/index.js.map +3 -3
- package/dist/components/ui/date-range-picker/date-range-picker.d.ts +4 -3
- package/dist/components/ui/date-range-picker/index.js +1 -1
- package/dist/components/ui/date-range-picker/index.js.map +3 -3
- package/dist/components/ui/meter/meter.d.ts +4 -2
- package/dist/components/ui/separator/separator.d.ts +2 -1
- package/dist/components/ui/toast/index.js +1 -1
- package/dist/components/ui/toast/index.js.map +3 -3
- package/dist/components/ui/toast/toast.d.ts +6 -3
- package/dist/components/ui/toc/toc.d.ts +3 -1
- package/dist/components/ui/tooltip/index.js +1 -1
- package/dist/components/ui/tooltip/index.js.map +3 -3
- package/dist/components/ui/tooltip/tooltip.script.d.ts +7 -14
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/lib/without-children.d.ts +10 -0
- package/package.json +11 -11
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props of a view whose custom element renders its own content.
|
|
3
|
+
*
|
|
4
|
+
* @remarks `children?: never` is what makes TypeScript reject body children. `Omit<Props, 'children'>` does not,
|
|
5
|
+
* because the props type has a `data-*` index signature and a tag with no other attributes then accepts any
|
|
6
|
+
* JSX body. Import it by relative path: the `@/` alias is not rewritten in the published declarations.
|
|
7
|
+
*/
|
|
8
|
+
export type WithoutChildren<Props> = Props & {
|
|
9
|
+
children?: never;
|
|
10
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecopages/radiant-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Accessible light-DOM UI components built with @ecopages/radiant",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"**/index.js"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@ecopages/jsx": ">=0.5.
|
|
26
|
-
"@ecopages/radiant": ">=0.5.
|
|
27
|
-
"@ecopages/signals": ">=0.5.
|
|
25
|
+
"@ecopages/jsx": ">=0.5.1",
|
|
26
|
+
"@ecopages/radiant": ">=0.5.1",
|
|
27
|
+
"@ecopages/signals": ">=0.5.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/core": "^7.28.0",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"typescript": "~7.0.2",
|
|
58
58
|
"vite": "^8.1.1",
|
|
59
59
|
"vitest": "^4.1.10",
|
|
60
|
-
"@ecopages/jsx": "0.5.
|
|
61
|
-
"@ecopages/
|
|
62
|
-
"@ecopages/
|
|
63
|
-
"@ecopages/
|
|
64
|
-
"@ecopages/radiant
|
|
65
|
-
"@ecopages/
|
|
66
|
-
"@ecopages/
|
|
60
|
+
"@ecopages/jsx": "0.5.1",
|
|
61
|
+
"@ecopages/radiant-themes": "0.2.5",
|
|
62
|
+
"@ecopages/signals": "0.5.1",
|
|
63
|
+
"@ecopages/storybook-radiant-vite": "0.1.1",
|
|
64
|
+
"@ecopages/radiant": "0.5.1",
|
|
65
|
+
"@ecopages/vite-plugin-radiant": "0.1.1",
|
|
66
|
+
"@ecopages/oxlint-config": "0.0.0"
|
|
67
67
|
},
|
|
68
68
|
"exports": {
|
|
69
69
|
"./package.json": "./package.json",
|