rimecms 1.0.1 → 1.1.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/dist/core/i18n/en/fields.d.ts +1 -1
- package/dist/core/i18n/en/fields.js +1 -1
- package/dist/core/i18n/fr/fields.d.ts +1 -1
- package/dist/core/i18n/fr/fields.js +1 -1
- package/dist/fields/blocks/component/AddBlockButton.svelte +1 -1
- package/dist/fields/blocks/component/Block.svelte +4 -5
- package/dist/fields/blocks/component/Blocks.svelte +17 -13
- package/dist/fields/blocks/component/focus/BlocksFocus.svelte +52 -64
- package/dist/fields/blocks/component/focus/DefaultRender.svelte +108 -0
- package/dist/fields/blocks/component/focus/{RenderPlaceholder.svelte.d.ts → DefaultRender.svelte.d.ts} +3 -3
- package/dist/fields/blocks/component/focus/Inspector.svelte +160 -0
- package/dist/fields/blocks/component/focus/Inspector.svelte.d.ts +7 -0
- package/dist/fields/blocks/component/focus/Layers.svelte +16 -3
- package/dist/fields/blocks/component/focus/LayersList.svelte +28 -11
- package/dist/fields/blocks/component/focus/LayersList.svelte.d.ts +2 -0
- package/dist/fields/blocks/component/focus/Palette.svelte +3 -3
- package/dist/fields/blocks/component/focus/Renders.svelte +66 -15
- package/dist/fields/blocks/component/focus/Renders.svelte.d.ts +5 -1
- package/dist/fields/blocks/component/focus/StagePlaceholder.svelte +1 -4
- package/dist/fields/blocks/component/focus/focus.svelte.d.ts +26 -12
- package/dist/fields/blocks/component/focus/focus.svelte.js +114 -57
- package/dist/fields/blocks/component/picker/BlockTile.svelte +3 -5
- package/dist/fields/blocks/index.js +3 -1
- package/dist/fields/combobox/component/ComboBox.svelte +1 -1
- package/dist/fields/combobox/component/combobox.css +1 -1
- package/dist/fields/date/component/Date.svelte +1 -1
- package/dist/fields/group/component/Group.svelte +4 -4
- package/dist/fields/link/component/Link.svelte +1 -1
- package/dist/fields/link/component/RessourceInput.svelte +2 -2
- package/dist/fields/number/component/Number.svelte +1 -1
- package/dist/fields/relation/component/Cell.svelte +3 -1
- package/dist/fields/relation/component/RelationInline.svelte +50 -19
- package/dist/fields/relation/component/default/Default.svelte +3 -3
- package/dist/fields/relation/component/upload/Browse.svelte +2 -2
- package/dist/fields/relation/component/upload/Upload.svelte +2 -2
- package/dist/fields/relation/util.d.ts +9 -21
- package/dist/fields/relation/util.js +11 -28
- package/dist/fields/rich-text/component/bubble-menu/bubble-menu.css +1 -1
- package/dist/fields/rich-text/component/bubble-menu/node-selector/node-selector.css +1 -1
- package/dist/fields/rich-text/core/features/link/component/link-selector.svelte +2 -2
- package/dist/fields/rich-text/core/features/resource/resource.svelte +1 -1
- package/dist/fields/rich-text/core/features/upload/upload.svelte +1 -1
- package/dist/fields/select/component/Select.svelte +2 -2
- package/dist/fields/text/component/TextInline.svelte +113 -0
- package/dist/fields/text/component/TextInline.svelte.d.ts +14 -0
- package/dist/fields/textarea/component/TextArea.svelte +1 -1
- package/dist/fields/tree/component/TreeBlock.svelte +4 -4
- package/dist/live/context.svelte.js +7 -3
- package/dist/panel/components/fields/Error.svelte +1 -1
- package/dist/panel/components/fields/FieldsPreview.svelte +1 -1
- package/dist/panel/components/fields/FieldsPreviewTrigger.svelte +1 -1
- package/dist/panel/components/fields/Hint.svelte +1 -1
- package/dist/panel/components/fields/setting.css +6 -6
- package/dist/panel/components/sections/auth/AuthForm.svelte +2 -2
- package/dist/panel/components/sections/collection/Avatar.svelte +1 -1
- package/dist/panel/components/sections/collection/bulk-upload/FileDrop.svelte +1 -1
- package/dist/panel/components/sections/collection/bulk-upload/PageDrop.svelte +3 -3
- package/dist/panel/components/sections/collection/bulk-upload/UploadProgress.svelte +1 -1
- package/dist/panel/components/sections/collection/folder/Folder.svelte +1 -1
- package/dist/panel/components/sections/collection/folder/FolderWithActions.svelte +2 -2
- package/dist/panel/components/sections/collection/grid/grid-item/GridItem.svelte +1 -1
- package/dist/panel/components/sections/collection/header/DisplayMode.svelte +1 -2
- package/dist/panel/components/sections/collection/list/CollectionList.svelte +2 -2
- package/dist/panel/components/sections/collection/list/header/Header.svelte +1 -1
- package/dist/panel/components/sections/collection/list/row/Row.svelte +1 -1
- package/dist/panel/components/sections/collection/tree/CollectionTree.svelte +1 -1
- package/dist/panel/components/sections/collection/tree/CollectionTreeNode.svelte +1 -1
- package/dist/panel/components/sections/collection/upload-thumb-cell/UploadThumbCell.svelte +1 -1
- package/dist/panel/components/sections/commands/CommandButton.svelte +1 -1
- package/dist/panel/components/sections/document/AuthAPIKeyDialog.svelte +1 -1
- package/dist/panel/components/sections/document/AuthFooter.svelte +2 -2
- package/dist/panel/components/sections/document/AutoSaveBanner.svelte +2 -2
- package/dist/panel/components/sections/document/ButtonStatus.svelte +1 -1
- package/dist/panel/components/sections/document/ChangeSlugDialog.svelte +1 -1
- package/dist/panel/components/sections/document/DocumentChildren.svelte +2 -2
- package/dist/panel/components/sections/document/upload-header/UploadHeader.svelte +2 -2
- package/dist/panel/components/sections/document/upload-header/drop-zone/DropZone.svelte +1 -1
- package/dist/panel/components/sections/live/LiveFloatingUI.svelte +2 -2
- package/dist/panel/components/ui/breadcrumb/BreadCrumb.svelte +1 -1
- package/dist/panel/components/ui/button/button.svelte +3 -4
- package/dist/panel/components/ui/card/card.svelte +2 -2
- package/dist/panel/components/ui/card-document/card-document.svelte +2 -2
- package/dist/panel/components/ui/card-resource/card-resource.svelte +2 -2
- package/dist/panel/components/ui/command/command-dialog.svelte +2 -8
- package/dist/panel/components/ui/command/command-dialog.svelte.d.ts +1 -1
- package/dist/panel/components/ui/command/command-input.svelte +1 -1
- package/dist/panel/components/ui/context-menu/context-menu.css +1 -1
- package/dist/panel/components/ui/dialog/dialog-content.css +1 -1
- package/dist/panel/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/panel/components/ui/dropdown-menu/dropdown-menu-content.css +1 -1
- package/dist/panel/components/ui/input/input.svelte +1 -1
- package/dist/panel/components/ui/nav/Nav.svelte +2 -3
- package/dist/panel/components/ui/nav/NavGroup.svelte +1 -1
- package/dist/panel/components/ui/nav/NavItemButton.svelte +1 -1
- package/dist/panel/components/ui/nav/UserButton.svelte +1 -1
- package/dist/panel/components/ui/page-header/PageHeader.svelte +1 -1
- package/dist/panel/components/ui/popover/popover-content.css +1 -1
- package/dist/panel/components/ui/radio-row-group/radio-row-group.css +0 -1
- package/dist/panel/components/ui/sheet/sheet.css +1 -1
- package/dist/panel/components/ui/sonner/sonner.css +1 -1
- package/dist/panel/components/ui/switch/switch.css +0 -2
- package/dist/panel/components/ui/tabs/tabs.css +2 -1
- package/dist/panel/components/ui/tag/tag.svelte +1 -1
- package/dist/panel/components/ui/tree/tree-rows.css +3 -3
- package/dist/panel/index.d.ts +2 -1
- package/dist/panel/index.js +2 -1
- package/dist/panel/pages/auth/forgot-password/ForgotPassword.svelte +1 -1
- package/dist/panel/pages/dashboard/Dashboard.svelte +1 -1
- package/dist/panel/pages/dashboard/DashboardCard.svelte +2 -2
- package/dist/panel/pages/dashboard/DashboardCollection.svelte +1 -1
- package/dist/panel/pages/dashboard/DashboardRow.svelte +1 -1
- package/dist/panel/style/index.css +13 -37
- package/dist/panel/style/mixins/index.css +1 -1
- package/dist/panel/style/palette.css +3 -3
- package/dist/panel/style/scheme.css +10 -34
- package/package.json +2 -2
- package/dist/fields/blocks/component/focus/RenderPlaceholder.svelte +0 -77
- package/dist/fields/blocks/component/focus/Stage.svelte +0 -190
- package/dist/fields/blocks/component/focus/Stage.svelte.d.ts +0 -8
- package/dist/panel/components/ui/tooltip/index.d.ts +0 -7
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
</Button>
|
|
43
43
|
{/if}
|
|
44
44
|
|
|
45
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
45
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
46
46
|
|
|
47
47
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
48
48
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</Dialog.Content>
|
|
56
56
|
</Dialog.Root>
|
|
57
57
|
|
|
58
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
58
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
59
59
|
|
|
60
60
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
61
61
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
</div>
|
|
78
78
|
{/if}
|
|
79
79
|
|
|
80
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
80
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
81
81
|
|
|
82
82
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
83
83
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
background-color: var(--rz-bg-raised);
|
|
98
98
|
box-shadow:
|
|
99
99
|
0 0 0 1px var(--rz-border),
|
|
100
|
-
var(--rz-shadow-raised);
|
|
100
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
101
101
|
display: grid;
|
|
102
102
|
gap: var(--rz-size-5);
|
|
103
103
|
padding: var(--rz-size-4) var(--rz-size-3-5);
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
{/if}
|
|
88
88
|
|
|
89
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
89
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
90
90
|
|
|
91
91
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
92
92
|
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
background-color: var(--rz-bg-float);
|
|
123
123
|
box-shadow:
|
|
124
124
|
0 0 0 1px var(--rz-border),
|
|
125
|
-
var(--rz-shadow-float);
|
|
125
|
+
var(--rz-shadow-float, 0 0 transparent);
|
|
126
126
|
}
|
|
127
127
|
.rz-auto-save-banner__actions {
|
|
128
128
|
display: flex;
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</Dialog.Content>
|
|
104
104
|
</Dialog.Root>
|
|
105
105
|
|
|
106
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
106
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
107
107
|
|
|
108
108
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
109
109
|
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</Dialog.Content>
|
|
107
107
|
</Dialog.Root>
|
|
108
108
|
|
|
109
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
109
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
110
110
|
|
|
111
111
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
112
112
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
</section>
|
|
74
74
|
{/if}
|
|
75
75
|
|
|
76
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
76
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
77
77
|
|
|
78
78
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
79
79
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
background-color: var(--rz-bg-raised);
|
|
130
130
|
box-shadow:
|
|
131
131
|
0 0 0 1px var(--rz-border),
|
|
132
|
-
var(--rz-shadow-raised);
|
|
132
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
133
133
|
display: grid;
|
|
134
134
|
overflow: hidden;
|
|
135
135
|
border-radius: var(--rz-radius-lg);
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
{/if}
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
120
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
121
121
|
|
|
122
122
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
123
123
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
background-color: var(--rz-bg-raised);
|
|
143
143
|
box-shadow:
|
|
144
144
|
0 0 0 1px var(--rz-border),
|
|
145
|
-
var(--rz-shadow-raised);
|
|
145
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
146
146
|
overflow: hidden;
|
|
147
147
|
border-radius: var(--rz-radius-xl);
|
|
148
148
|
}
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
/>
|
|
117
117
|
</label>
|
|
118
118
|
|
|
119
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
119
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
120
120
|
|
|
121
121
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
122
122
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
</Button>
|
|
88
88
|
</div>
|
|
89
89
|
|
|
90
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
90
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
91
91
|
|
|
92
92
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
93
93
|
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
background-color: var(--rz-bg-float);
|
|
113
113
|
box-shadow:
|
|
114
114
|
0 0 0 1px var(--rz-border),
|
|
115
|
-
var(--rz-shadow-float);
|
|
115
|
+
var(--rz-shadow-float, 0 0 transparent);
|
|
116
116
|
padding: var(--rz-size-2);
|
|
117
117
|
border-radius: var(--rz-radius-md);
|
|
118
118
|
z-index: 1000;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
{/each}
|
|
24
24
|
</nav>
|
|
25
25
|
|
|
26
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
26
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
27
27
|
|
|
28
28
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
29
29
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</button>
|
|
62
62
|
{/if}
|
|
63
63
|
|
|
64
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
64
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
65
65
|
|
|
66
66
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
67
67
|
|
|
@@ -203,9 +203,8 @@
|
|
|
203
203
|
|
|
204
204
|
/** Default */
|
|
205
205
|
.rz-button--default {
|
|
206
|
-
background: var(--rz-
|
|
206
|
+
background-color: var(--rz-bg-inverse);
|
|
207
207
|
color: var(--rz-fg-inverse);
|
|
208
|
-
box-shadow: var(--rz-shadow-primary);
|
|
209
208
|
&:hover:not(:disabled) {
|
|
210
209
|
filter: brightness(1.12);
|
|
211
210
|
}
|
|
@@ -256,7 +255,7 @@
|
|
|
256
255
|
background-color: var(--rz-bg-raised);
|
|
257
256
|
box-shadow:
|
|
258
257
|
0 0 0 1px var(--rz-border),
|
|
259
|
-
var(--rz-shadow-raised);
|
|
258
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
260
259
|
background-color: var(--rz-button-secondary-bg);
|
|
261
260
|
color: var(--rz-button-secondary-fg);
|
|
262
261
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{@render children?.()}
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
19
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
20
20
|
|
|
21
21
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
22
22
|
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
background-color: var(--rz-bg-raised);
|
|
40
40
|
box-shadow:
|
|
41
41
|
0 0 0 1px var(--rz-border),
|
|
42
|
-
var(--rz-shadow-raised);
|
|
42
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
43
43
|
background-color: var(--rz-card-color-bg);
|
|
44
44
|
border-radius: var(--rz-radius-lg);
|
|
45
45
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
40
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
40
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
41
41
|
|
|
42
42
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
43
43
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
background-color: var(--rz-bg-raised);
|
|
59
59
|
box-shadow:
|
|
60
60
|
0 0 0 1px var(--rz-border),
|
|
61
|
-
var(--rz-shadow-raised);
|
|
61
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
62
62
|
border-radius: var(--rz-radius-lg);
|
|
63
63
|
aspect-ratio: 4 / 5;
|
|
64
64
|
width: 100%;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</button>
|
|
56
56
|
</div>
|
|
57
57
|
|
|
58
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
58
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
59
59
|
|
|
60
60
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
61
61
|
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
background-color: var(--rz-bg-raised);
|
|
83
83
|
box-shadow:
|
|
84
84
|
0 0 0 1px var(--rz-border),
|
|
85
|
-
var(--rz-shadow-raised);
|
|
85
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
86
86
|
background-color: var(--rz-ressource-card-bg);
|
|
87
87
|
position: relative;
|
|
88
88
|
display: flex;
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
let {
|
|
13
13
|
open = $bindable(false),
|
|
14
14
|
ref = $bindable(null),
|
|
15
|
-
value = $bindable(''),
|
|
16
15
|
preventScroll = true,
|
|
17
16
|
onCloseAutoFocus,
|
|
18
17
|
children,
|
|
@@ -26,14 +25,9 @@
|
|
|
26
25
|
} = $props();
|
|
27
26
|
</script>
|
|
28
27
|
|
|
28
|
+
<!-- The command mounts with each opening, so its selection starts on the first line. -->
|
|
29
29
|
<Dialog.Root bind:open {...restProps}>
|
|
30
30
|
<Dialog.Content class="rz-command-dialog-content" {preventScroll} {onCloseAutoFocus}>
|
|
31
|
-
<Command
|
|
32
|
-
class="rz-command-dialog-content__command"
|
|
33
|
-
{...restProps}
|
|
34
|
-
bind:value
|
|
35
|
-
bind:ref
|
|
36
|
-
{children}
|
|
37
|
-
/>
|
|
31
|
+
<Command class="rz-command-dialog-content__command" {...restProps} bind:ref {children} />
|
|
38
32
|
</Dialog.Content>
|
|
39
33
|
</Dialog.Root>
|
|
@@ -7,6 +7,6 @@ type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.RootProps> & With
|
|
|
7
7
|
/** The dialog is giving the focus back to where it was. */
|
|
8
8
|
onCloseAutoFocus?: (event: Event) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "
|
|
10
|
+
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "ref" | "open">;
|
|
11
11
|
type CommandDialog = ReturnType<typeof CommandDialog>;
|
|
12
12
|
export default CommandDialog;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{@render end?.()}
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
29
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
30
30
|
|
|
31
31
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
32
32
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
{/snippet}
|
|
36
36
|
</DropdownMenuPrimitive.CheckboxItem>
|
|
37
37
|
|
|
38
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
38
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
39
39
|
|
|
40
40
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
41
41
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
background-color: var(--rz-bg-float);
|
|
3
3
|
box-shadow:
|
|
4
4
|
0 0 0 1px var(--rz-border),
|
|
5
|
-
var(--rz-shadow-float);
|
|
5
|
+
var(--rz-shadow-float, 0 0 transparent);
|
|
6
6
|
/* Over the sidebar (300) and a dialog (1010), which a menu can open from. */
|
|
7
7
|
z-index: 1100;
|
|
8
8
|
min-width: var(--min-width, 8rem);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<input bind:this={ref} class="rz-input" bind:value {...restProps} />
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
28
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
29
29
|
|
|
30
30
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
31
31
|
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
<UserButton navCollapsed={isCollapsed} />
|
|
96
96
|
</aside>
|
|
97
97
|
|
|
98
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
98
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
99
99
|
|
|
100
100
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
101
101
|
|
|
@@ -174,9 +174,8 @@
|
|
|
174
174
|
border-radius: var(--rz-radius-sm);
|
|
175
175
|
font-size: var(--rz-text-xs);
|
|
176
176
|
text-transform: uppercase;
|
|
177
|
-
background: var(--rz-
|
|
177
|
+
background-color: var(--rz-bg-inverse);
|
|
178
178
|
color: var(--rz-fg-inverse);
|
|
179
|
-
box-shadow: var(--rz-shadow-primary);
|
|
180
179
|
}
|
|
181
180
|
|
|
182
181
|
.rz-nav__brand-name {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
|
|
48
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
48
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
49
49
|
|
|
50
50
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
51
51
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
{/if}
|
|
25
25
|
</a>
|
|
26
26
|
|
|
27
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
27
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
28
28
|
|
|
29
29
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
30
30
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</DropdownMenu.Portal>
|
|
76
76
|
</DropdownMenu.Root>
|
|
77
77
|
|
|
78
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
78
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
79
79
|
|
|
80
80
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
81
81
|
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
{/if}
|
|
77
77
|
{/if}
|
|
78
78
|
|
|
79
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
79
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
80
80
|
|
|
81
81
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
82
82
|
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
border-radius: var(--rz-radius-full);
|
|
15
15
|
border: 2px solid transparent;
|
|
16
|
-
box-shadow: var(--rz-shadow-raised);
|
|
17
16
|
transition: all 0.1s ease;
|
|
18
17
|
outline: none;
|
|
19
18
|
}
|
|
@@ -47,7 +46,6 @@
|
|
|
47
46
|
display: block;
|
|
48
47
|
transition: translate 0.25s ease;
|
|
49
48
|
border-radius: var(--rz-radius-full);
|
|
50
|
-
box-shadow: var(--rz-shadow-knob);
|
|
51
49
|
background-color: var(--rz-switch-color-thumb);
|
|
52
50
|
}
|
|
53
51
|
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
color: var(--rz-fg-muted);
|
|
17
17
|
font-variation-settings: 'wght' 380;
|
|
18
18
|
font-weight: 380;
|
|
19
|
+
border: 1px solid transparent;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
.rz-tabs-trigger:hover {
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
|
|
38
39
|
.rz-tabs-trigger[data-state='active'] {
|
|
39
40
|
background-color: var(--rz-bg-knob);
|
|
40
|
-
|
|
41
|
+
border: 1px solid var(--rz-border);
|
|
41
42
|
position: relative;
|
|
42
43
|
font-variation-settings: 'wght' 450;
|
|
43
44
|
font-weight: 450;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</button>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
<style global>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
23
|
+
<style global>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
24
24
|
|
|
25
25
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
26
26
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
background-color: var(--rz-bg-raised);
|
|
22
22
|
box-shadow:
|
|
23
23
|
0 0 0 1px var(--rz-border),
|
|
24
|
-
var(--rz-shadow-raised);
|
|
24
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
25
25
|
border-radius: var(--rz-radius-xl);
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
/* Inside a group, a block, a tree item or
|
|
35
|
-
:is(.rz-group-field__content, .rz-block__fields, .rz-tree-item__fields, .rz-
|
|
34
|
+
/* Inside a group, a block, a tree item or the inspector: a hairline, no second fill. */
|
|
35
|
+
:is(.rz-group-field__content, .rz-block__fields, .rz-tree-item__fields, .rz-inspector__fields)
|
|
36
36
|
.rz-tree-card:not([data-empty]) {
|
|
37
37
|
background-color: transparent;
|
|
38
38
|
box-shadow: 0 0 0 1px var(--rz-border);
|
package/dist/panel/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { Snippet } from 'svelte';
|
|
|
5
5
|
import { Field } from './components/fields/index.js';
|
|
6
6
|
import RelationInline from '../fields/relation/component/RelationInline.svelte';
|
|
7
7
|
import RichTextInline from '../fields/rich-text/component/RichTextInline.svelte';
|
|
8
|
+
import TextInline from '../fields/text/component/TextInline.svelte';
|
|
8
9
|
import RenderFields from './components/fields/RenderFields.svelte';
|
|
9
10
|
import Panel from './components/Root.svelte';
|
|
10
11
|
import Doc from './components/sections/document/Document.svelte';
|
|
@@ -19,7 +20,7 @@ import Live from './pages/live/Live.svelte';
|
|
|
19
20
|
import type { Route } from './types.js';
|
|
20
21
|
import { populate } from '../fields/relation/populate.js';
|
|
21
22
|
import { useCommands } from './context/commands.svelte.js';
|
|
22
|
-
export { Area, Button, Collection, CollectionDoc, Dashboard, Doc, Field, Input, Live, Panel, RelationInline, RenderFields, RichTextInline, SpinLoader, populate, useCommands };
|
|
23
|
+
export { Area, Button, Collection, CollectionDoc, Dashboard, Doc, Field, Input, Live, Panel, RelationInline, RenderFields, RichTextInline, TextInline, SpinLoader, populate, useCommands };
|
|
23
24
|
export declare const CONTEXT: {
|
|
24
25
|
COLLECTION: symbol;
|
|
25
26
|
LIVE: symbol;
|
package/dist/panel/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Field } from './components/fields/index.js';
|
|
2
2
|
import RelationInline from '../fields/relation/component/RelationInline.svelte';
|
|
3
3
|
import RichTextInline from '../fields/rich-text/component/RichTextInline.svelte';
|
|
4
|
+
import TextInline from '../fields/text/component/TextInline.svelte';
|
|
4
5
|
import RenderFields from './components/fields/RenderFields.svelte';
|
|
5
6
|
import Panel from './components/Root.svelte';
|
|
6
7
|
import Doc from './components/sections/document/Document.svelte';
|
|
@@ -22,7 +23,7 @@ import { populate } from '../fields/relation/populate.js';
|
|
|
22
23
|
import { useCommands } from './context/commands.svelte.js';
|
|
23
24
|
export {
|
|
24
25
|
// Components
|
|
25
|
-
Area, Button, Collection, CollectionDoc, Dashboard, Doc, Field, Input, Live, Panel, RelationInline, RenderFields, RichTextInline, SpinLoader,
|
|
26
|
+
Area, Button, Collection, CollectionDoc, Dashboard, Doc, Field, Input, Live, Panel, RelationInline, RenderFields, RichTextInline, TextInline, SpinLoader,
|
|
26
27
|
// A block render's relations, resolved as the API answers them
|
|
27
28
|
populate,
|
|
28
29
|
// The commands a component offers while mounted: palette lines, keys
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
{/if}
|
|
53
53
|
</AuthForm>
|
|
54
54
|
|
|
55
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
55
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
56
56
|
|
|
57
57
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
58
58
|
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
{/snippet}
|
|
126
126
|
</Page>
|
|
127
127
|
|
|
128
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
128
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
129
129
|
|
|
130
130
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
131
131
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
{@render children()}
|
|
39
39
|
</section>
|
|
40
40
|
|
|
41
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
41
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
42
42
|
|
|
43
43
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
44
44
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
background-color: var(--rz-bg-raised);
|
|
59
59
|
box-shadow:
|
|
60
60
|
0 0 0 1px var(--rz-border),
|
|
61
|
-
var(--rz-shadow-raised);
|
|
61
|
+
var(--rz-shadow-raised, 0 0 transparent);
|
|
62
62
|
border-radius: var(--rz-radius-lg);
|
|
63
63
|
overflow: hidden;
|
|
64
64
|
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<BulkUploadDialog target={uploadTarget} bind:open={uploadOpen} />
|
|
126
126
|
{/if}
|
|
127
127
|
|
|
128
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
128
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
129
129
|
|
|
130
130
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
131
131
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</a>
|
|
34
34
|
</li>
|
|
35
35
|
|
|
36
|
-
<style>/* A level: its fill, a hairline, its shadow. raised, float. */
|
|
36
|
+
<style>/* A level: its fill, a hairline, and its shadow when it has one. raised has none, float does. */
|
|
37
37
|
|
|
38
38
|
/* A well: an input, a track, a dropzone. Its edge shows on hover. */
|
|
39
39
|
|