@object-ui/components 17.5.0 → 17.6.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/CHANGELOG.md +1405 -0
- package/README.md +15 -7
- package/dist/custom/button-group.d.ts +1 -1
- package/dist/custom/character-count.d.ts +56 -0
- package/dist/custom/config-field-renderer.d.ts +1 -1
- package/dist/custom/config-panel-renderer.d.ts +3 -3
- package/dist/custom/export-progress-dialog.d.ts +1 -1
- package/dist/custom/filter-builder.d.ts +284 -4
- package/dist/custom/fullscreen-editor.d.ts +48 -2
- package/dist/custom/index.d.ts +28 -28
- package/dist/custom/item.d.ts +1 -1
- package/dist/custom/resizable.d.ts +1 -1
- package/dist/debug/index.d.ts +2 -2
- package/dist/index.css +22 -6
- package/dist/index.d.ts +21 -21
- package/dist/index.js +3958 -3650
- package/dist/index.umd.cjs +10 -6
- package/dist/lib/form-control-dom-props.d.ts +77 -0
- package/dist/lib/slider-thumb.d.ts +86 -0
- package/dist/notifications/index.d.ts +5 -5
- package/dist/renderers/basic/elements.d.ts +3 -3
- package/dist/renderers/basic/html-elements.d.ts +1 -1
- package/dist/renderers/form/validationRuleKeys.d.ts +45 -0
- package/dist/renderers/layout/react-page.d.ts +12 -2
- package/dist/share/index.d.ts +2 -2
- package/dist/ui/calendar.d.ts +1 -1
- package/dist/ui/carousel.d.ts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/index.d.ts +47 -47
- package/dist/ui/pagination.d.ts +1 -1
- package/dist/ui/sidebar.d.ts +2 -2
- package/dist/ui/slider.d.ts +2 -1
- package/package.json +12 -12
- package/dist/custom/action-param-dialog.d.ts +0 -21
- package/dist/renderers/data-display/table.d.ts +0 -2
package/dist/index.css
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
60
60
|
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
61
61
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
62
|
+
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
62
63
|
--color-black: #000;
|
|
63
64
|
--color-white: #fff;
|
|
64
65
|
--spacing: 0.25rem;
|
|
@@ -419,6 +420,9 @@
|
|
|
419
420
|
.bottom-0 {
|
|
420
421
|
bottom: 0px;
|
|
421
422
|
}
|
|
423
|
+
.bottom-2 {
|
|
424
|
+
bottom: calc(var(--spacing) * 2);
|
|
425
|
+
}
|
|
422
426
|
.bottom-4 {
|
|
423
427
|
bottom: calc(var(--spacing) * 4);
|
|
424
428
|
}
|
|
@@ -782,9 +786,6 @@
|
|
|
782
786
|
.h-16 {
|
|
783
787
|
height: calc(var(--spacing) * 16);
|
|
784
788
|
}
|
|
785
|
-
.h-24 {
|
|
786
|
-
height: calc(var(--spacing) * 24);
|
|
787
|
-
}
|
|
788
789
|
.h-48 {
|
|
789
790
|
height: calc(var(--spacing) * 48);
|
|
790
791
|
}
|
|
@@ -1076,6 +1077,9 @@
|
|
|
1076
1077
|
.max-w-7xl {
|
|
1077
1078
|
max-width: var(--container-7xl);
|
|
1078
1079
|
}
|
|
1080
|
+
.max-w-\[12ch\] {
|
|
1081
|
+
max-width: 12ch;
|
|
1082
|
+
}
|
|
1079
1083
|
.max-w-\[16rem\] {
|
|
1080
1084
|
max-width: 16rem;
|
|
1081
1085
|
}
|
|
@@ -1151,6 +1155,9 @@
|
|
|
1151
1155
|
.min-w-\[1rem\] {
|
|
1152
1156
|
min-width: 1rem;
|
|
1153
1157
|
}
|
|
1158
|
+
.min-w-\[6ch\] {
|
|
1159
|
+
min-width: 6ch;
|
|
1160
|
+
}
|
|
1154
1161
|
.min-w-\[8rem\] {
|
|
1155
1162
|
min-width: 8rem;
|
|
1156
1163
|
}
|
|
@@ -2034,6 +2041,9 @@
|
|
|
2034
2041
|
.p-1 {
|
|
2035
2042
|
padding: var(--spacing);
|
|
2036
2043
|
}
|
|
2044
|
+
.p-1\.5 {
|
|
2045
|
+
padding: calc(var(--spacing) * 1.5);
|
|
2046
|
+
}
|
|
2037
2047
|
.p-2 {
|
|
2038
2048
|
padding: calc(var(--spacing) * 2);
|
|
2039
2049
|
}
|
|
@@ -2376,6 +2386,12 @@
|
|
|
2376
2386
|
color: color-mix(in oklab, var(--color-foreground) 50%, transparent);
|
|
2377
2387
|
}
|
|
2378
2388
|
}
|
|
2389
|
+
.text-gray-400 {
|
|
2390
|
+
color: var(--color-gray-400);
|
|
2391
|
+
}
|
|
2392
|
+
.text-green-500 {
|
|
2393
|
+
color: var(--color-green-500);
|
|
2394
|
+
}
|
|
2379
2395
|
.text-green-600 {
|
|
2380
2396
|
color: var(--color-green-600);
|
|
2381
2397
|
}
|
|
@@ -2448,6 +2464,9 @@
|
|
|
2448
2464
|
.capitalize {
|
|
2449
2465
|
text-transform: capitalize;
|
|
2450
2466
|
}
|
|
2467
|
+
.lowercase {
|
|
2468
|
+
text-transform: lowercase;
|
|
2469
|
+
}
|
|
2451
2470
|
.uppercase {
|
|
2452
2471
|
text-transform: uppercase;
|
|
2453
2472
|
}
|
|
@@ -4021,9 +4040,6 @@
|
|
|
4021
4040
|
.sm\:max-w-\[200px\] {
|
|
4022
4041
|
max-width: 200px;
|
|
4023
4042
|
}
|
|
4024
|
-
.sm\:max-w-\[425px\] {
|
|
4025
|
-
max-width: 425px;
|
|
4026
|
-
}
|
|
4027
4043
|
.sm\:max-w-\[var\(--ov-w\)\] {
|
|
4028
4044
|
max-width: var(--ov-w);
|
|
4029
4045
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { cn } from './lib/utils';
|
|
2
|
-
export { renderChildren } from './lib/utils';
|
|
1
|
+
export { cn } from './lib/utils.js';
|
|
2
|
+
export { renderChildren } from './lib/utils.js';
|
|
3
3
|
export { cva } from 'class-variance-authority';
|
|
4
|
-
export { getLazyIcon, isLucideIconName, LazyIcon, toKebabIconName } from './lib/lazy-icon';
|
|
5
|
-
export { hasDeclaredVisibilityGate } from './renderers/action/visibility-gate';
|
|
6
|
-
export { registerPlaceholders } from './renderers/placeholders';
|
|
7
|
-
export { GridFieldAuthoringProvider, useGridFieldAuthoring, type GridFieldAuthoring, } from './context/gridFieldAuthoring';
|
|
8
|
-
export * from './ui';
|
|
9
|
-
export * from './custom';
|
|
10
|
-
export * from './notifications';
|
|
11
|
-
export { TOASTER_POSITIONS } from './renderers/feedback/toaster';
|
|
12
|
-
export { useConfigDraft } from './hooks/use-config-draft';
|
|
13
|
-
export type { UseConfigDraftOptions, UseConfigDraftReturn } from './hooks/use-config-draft';
|
|
14
|
-
export { useIsMobile } from './hooks/use-mobile';
|
|
15
|
-
export { useResizeObserver } from './hooks/use-resize-observer';
|
|
16
|
-
export type { ElementSize } from './hooks/use-resize-observer';
|
|
17
|
-
export { useExportJob } from './hooks/use-export-job';
|
|
18
|
-
export type { UseExportJobOptions, UseExportJobReturn } from './hooks/use-export-job';
|
|
19
|
-
export { useRelatedCount, useRelatedCountVersion, RelatedCountStore } from './hooks/related-count-store';
|
|
20
|
-
export type { ControlType, ConfigField, ConfigSection, ConfigPanelSchema, } from './types/config-panel';
|
|
4
|
+
export { getLazyIcon, isLucideIconName, LazyIcon, toKebabIconName } from './lib/lazy-icon.js';
|
|
5
|
+
export { hasDeclaredVisibilityGate } from './renderers/action/visibility-gate.js';
|
|
6
|
+
export { registerPlaceholders } from './renderers/placeholders.js';
|
|
7
|
+
export { GridFieldAuthoringProvider, useGridFieldAuthoring, type GridFieldAuthoring, } from './context/gridFieldAuthoring.js';
|
|
8
|
+
export * from './ui/index.js';
|
|
9
|
+
export * from './custom/index.js';
|
|
10
|
+
export * from './notifications/index.js';
|
|
11
|
+
export { TOASTER_POSITIONS } from './renderers/feedback/toaster.js';
|
|
12
|
+
export { useConfigDraft } from './hooks/use-config-draft.js';
|
|
13
|
+
export type { UseConfigDraftOptions, UseConfigDraftReturn } from './hooks/use-config-draft.js';
|
|
14
|
+
export { useIsMobile } from './hooks/use-mobile.js';
|
|
15
|
+
export { useResizeObserver } from './hooks/use-resize-observer.js';
|
|
16
|
+
export type { ElementSize } from './hooks/use-resize-observer.js';
|
|
17
|
+
export { useExportJob } from './hooks/use-export-job.js';
|
|
18
|
+
export type { UseExportJobOptions, UseExportJobReturn } from './hooks/use-export-job.js';
|
|
19
|
+
export { useRelatedCount, useRelatedCountVersion, RelatedCountStore } from './hooks/related-count-store.js';
|
|
20
|
+
export type { ControlType, ConfigField, ConfigSection, ConfigPanelSchema, } from './types/config-panel.js';
|
|
21
21
|
export declare function initializeComponents(): boolean;
|
|
22
|
-
export * from './debug';
|
|
23
|
-
export * from './share';
|
|
22
|
+
export * from './debug/index.js';
|
|
23
|
+
export * from './share/index.js';
|