sveltekit-ui 1.0.7 → 1.0.9

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.
Files changed (43) hide show
  1. package/dist/Components/ContentInput/index.svelte.js +1 -0
  2. package/dist/Components/Location/index.svelte +5 -11
  3. package/dist/Components/Location/index.svelte.js +9 -13
  4. package/dist/Components/LocationInput/index.svelte +5 -10
  5. package/dist/Components/LocationInput/index.svelte.js +16 -6
  6. package/dist/Components/TextInput/index.svelte.js +1 -0
  7. package/dist/client/types/index.js +78 -2238
  8. package/package.json +11 -8
  9. package/src/app.html +1 -0
  10. package/src/lib/Components/ContentInput/index.svelte.js +1 -0
  11. package/src/lib/Components/Location/index.svelte +5 -11
  12. package/src/lib/Components/Location/index.svelte.js +9 -13
  13. package/src/lib/Components/LocationInput/index.svelte +5 -10
  14. package/src/lib/Components/LocationInput/index.svelte.js +16 -6
  15. package/src/lib/Components/TextInput/index.svelte.js +1 -0
  16. package/src/lib/client/types/index.js +78 -2238
  17. package/src/routes/[component]/+page.svelte +3 -3
  18. package/svelte.config.js +1 -1
  19. package/dist/Components/FunctionInput/Node/helpers/DefinedTargetInput/index.svelte +0 -110
  20. package/dist/Components/FunctionInput/Node/helpers/Field/index.svelte +0 -109
  21. package/dist/Components/FunctionInput/Node/helpers/Field/index.svelte.js +0 -207
  22. package/dist/Components/FunctionInput/Node/helpers/InlineDropArea/index.svelte +0 -97
  23. package/dist/Components/FunctionInput/Node/helpers/InlineDropArea/index.svelte.js +0 -105
  24. package/dist/Components/FunctionInput/Node/helpers/ObjectInput/index.svelte +0 -198
  25. package/dist/Components/FunctionInput/Node/helpers/StackArea/index.svelte +0 -169
  26. package/dist/Components/FunctionInput/Node/helpers/StackArea/index.svelte.js +0 -152
  27. package/dist/Components/FunctionInput/Node/index.svelte +0 -144
  28. package/dist/Components/FunctionInput/Node/index.svelte.js +0 -134
  29. package/dist/Components/FunctionInput/index.svelte +0 -356
  30. package/dist/Components/FunctionInput/index.svelte.js +0 -1215
  31. package/src/lib/Components/FunctionInput/Node/helpers/DefinedTargetInput/index.svelte +0 -110
  32. package/src/lib/Components/FunctionInput/Node/helpers/Field/index.svelte +0 -109
  33. package/src/lib/Components/FunctionInput/Node/helpers/Field/index.svelte.js +0 -207
  34. package/src/lib/Components/FunctionInput/Node/helpers/InlineDropArea/index.svelte +0 -97
  35. package/src/lib/Components/FunctionInput/Node/helpers/InlineDropArea/index.svelte.js +0 -105
  36. package/src/lib/Components/FunctionInput/Node/helpers/ObjectInput/index.svelte +0 -198
  37. package/src/lib/Components/FunctionInput/Node/helpers/StackArea/index.svelte +0 -169
  38. package/src/lib/Components/FunctionInput/Node/helpers/StackArea/index.svelte.js +0 -152
  39. package/src/lib/Components/FunctionInput/Node/index.svelte +0 -144
  40. package/src/lib/Components/FunctionInput/Node/index.svelte.js +0 -134
  41. package/src/lib/Components/FunctionInput/index.svelte +0 -356
  42. package/src/lib/Components/FunctionInput/index.svelte.js +0 -1215
  43. package/src/routes/[component]/Showcase/FunctionInput/index.svelte +0 -77
@@ -1,198 +0,0 @@
1
- <!-- <script>
2
- import Button from "$lib/Components/Button/index.svelte"
3
- import TextInput from "$lib/Components/TextInput/index.svelte"
4
- import Dropdown from "$lib/Components/Dropdown/index.svelte"
5
- import Frame from "../../helpers/Frame/index.svelte"
6
- import InlineDropArea from "../../helpers/InlineDropArea/index.svelte"
7
- import { function_builder_manager } from "$lib/Components/FunctionInput/index.svelte.js"
8
-
9
- export let node_path = null
10
- export let node_type = null
11
- export let is_preview = false
12
- export let is_clickable_only = false
13
-
14
- let { set_node_value, selected_version } = function_builder_manager
15
-
16
- let options = []
17
- let variable_options = []
18
- function dropdown_opened() {
19
- const get_defined_at_path_res = get_defined_at_path(
20
- $selected_version,
21
- "main_actor_000000000",
22
- [],
23
- node_path,
24
- input_path
25
- )
26
- console.log("node_vars", get_defined_at_path_res)
27
- let variable_options_loc = []
28
- let options_loc = []
29
- if (Object.keys(get_defined_at_path_res?.defined || {}).length > 0) {
30
- for (let [defined_node_path, defined_item] of Object.entries(get_defined_at_path_res?.defined || {})) {
31
- if (defined_item?.node_type == "define_variable") {
32
- variable_options_loc.push({
33
- key: defined_node_path,
34
- name: $selected_version?.[defined_node_path]?.input?.name ?? "Name not found",
35
- })
36
- } else if (defined_item?.node_type == "define_actor" && defined_node_path != "main_actor_000000000") {
37
- options_loc.push({
38
- key: defined_node_path,
39
- name: $selected_version?.[defined_node_path]?.input?.name ?? "Name not found",
40
- })
41
- }
42
- }
43
- }
44
- options = options_loc
45
- variable_options = variable_options_loc
46
- }
47
-
48
- function add_item() {
49
- let new_input = [
50
- {
51
- key: null,
52
- value: null,
53
- },
54
- ]
55
- if (Array.isArray($selected_version[node_path].input)) {
56
- new_input = [
57
- ...$selected_version[node_path].input,
58
- {
59
- key: null,
60
- value: null,
61
- },
62
- ]
63
- }
64
- set_node_value(node_path, new_input, false)
65
- }
66
-
67
- function delete_item(i) {
68
- if (Array.isArray($selected_version[node_path].input)) {
69
- const new_input = $selected_version[node_path].input.filter((_, index) => index !== i)
70
- set_node_value(node_path, new_input, false)
71
- }
72
- }
73
-
74
- let edit_key_i = -1
75
- let key_name = null
76
-
77
- function edit_key(i) {
78
- key_name = $selected_version?.[node_path]?.input?.[i]?.key
79
- edit_key_i = i
80
- }
81
-
82
- function save_key_name(i) {
83
- set_node_value([...node_path, i, "key"], key_name, false)
84
- key_name = null
85
- edit_key_i = -1
86
- }
87
- </script>
88
-
89
- @ -1,197 +0,0 @@
90
- <Frame {node_path} {node_type} {is_preview} {is_clickable_only}>
91
- <div slot="main" style="display: flex; gap: .5rem;">
92
- <div class="object_container">
93
- {#if Array.isArray($selected_version?.[node_path]?.input) && $selected_version?.[node_path]?.input.length > 0}
94
- {#each $selected_version?.[node_path]?.input as key_val, i}
95
- <div class="object_item">
96
- <div style="display: flex; gap: .5rem;">
97
- <div>
98
- <div class="object_key">
99
- <Button
100
- type="outlined"
101
- support_icon="x"
102
- h={12}
103
- l={6}
104
- c={2}
105
- icon_sw={40}
106
- icon_size={1.4}
107
- pt={0}
108
- pl={0}
109
- pr={0}
110
- pb={0}
111
- is_uniform={true}
112
- min_height={2}
113
- border_radius={0.5}
114
- is_disabled={is_preview}
115
- onclick={() => delete_item(i)}
116
- />
117
- {#if $selected_version?.[node_path]?.input[i]?.key && edit_key_i != i}
118
- <p>
119
- {$selected_version?.[node_path]?.input[i]?.key}
120
- </p>
121
- <Button
122
- type="plain"
123
- support_icon="edit"
124
- h={12}
125
- l={6}
126
- c={2}
127
- icon_sw={40}
128
- icon_size={1.6}
129
- font_size={1.2}
130
- is_uniform={true}
131
- min_height={2}
132
- border_radius={0.5}
133
- is_disabled={is_preview}
134
- onclick={() => edit_key(i)}
135
- />
136
- {:else}
137
- <div>
138
- <TextInput
139
- type="text"
140
- placeholder="some_key_name"
141
- is_disabled={is_preview}
142
- bind:val={key_name}
143
- is_bind_val={true}
144
- />
145
- </div>
146
- <Button
147
- is_disabled={is_preview}
148
- support_icon="save"
149
- onclick={() => save_key_name(i)}
150
- is_uniform={true}
151
- />
152
- {#if $selected_version?.[node_path]?.input[i]?.key}
153
- <Button
154
- type="outlined"
155
- h={1}
156
- l={5}
157
- c={1}
158
- support_icon="x"
159
- is_uniform={true}
160
- is_disabled={is_preview}
161
- onclick={() => (edit_key_i = -1)}
162
- />
163
- {/if}
164
- {/if}
165
- </div>
166
- </div>
167
- </div>
168
- :
169
- <InlineDropArea {node_path} {node_type} input_path={[i, "value"]} {is_preview} />
170
- </div>
171
- {/each}
172
- {:else}
173
- <p>No key-value pairs</p>
174
- {/if}
175
- <Button text="Add Item" support_icon="plus" onclick={() => add_item()} />
176
- </div>
177
- </div>
178
- </Frame>
179
-
180
- <style>
181
- .object_container {
182
- display: flex;
183
- flex-direction: column;
184
- flex: 1;
185
- gap: 1rem;
186
- }
187
- .object_item {
188
- display: flex;
189
- gap: 0.5rem;
190
- }
191
- .object_key {
192
- display: flex;
193
- align-items: center;
194
- gap: 0.5rem;
195
- font-size: 1.4rem;
196
- min-width: 15rem;
197
- }
198
- </style> -->
@@ -1,169 +0,0 @@
1
- <script>
2
- import Button from "$lib/Components/Button/index.svelte"
3
- import Popover from "$lib/Components/Popover/index.svelte"
4
- import Node from "../../index.svelte"
5
-
6
- let { manager } = $props()
7
- </script>
8
-
9
- <div>
10
- <!-- <pre>{JSON.stringify(manager?.node_value_prepped,null,2)}</pre> -->
11
- {#if Array.isArray(manager?.node_value) && manager?.node_value.length > 0}
12
- {#each manager?.node_value_prepped as stack_item, i}
13
- {#if i == 0}
14
- <div class="inline_drop_container">
15
- <div
16
- class="dropzone"
17
- class:inline_draggedover={manager?.is_preview && manager?.is_drag_enter && manager?.hovered_node_drop_zone == i}
18
- role="button"
19
- tabindex="0"
20
- aria-label="Drop area"
21
- draggable={manager?.is_preview}
22
- ondragstart={(e) => manager?.prevent_drag(e)}
23
- ondragenter={() => manager?.handle_drag_enter(i)}
24
- ondragleave={() => manager?.handle_drag_leave()}
25
- ondragover={(e) => e.preventDefault()}
26
- ondrop={(e) => manager?.handle_drop([...manager?.node_path, i], true, e)}
27
- >
28
- {#if manager?.is_drag_enter && manager?.hovered_node_drop_zone == i}
29
- Drop Area
30
- {/if}
31
- </div>
32
- </div>
33
- {/if}
34
- {#if manager?.node_types?.hasOwnProperty(stack_item?.type)}
35
- <Node manager={stack_item?.node_manager} />
36
- <!-- <Node node_path={[...node_path, i]} node_value={stack_item?.value} node_type={stack_item?.type} {is_preview} /> -->
37
- {:else}
38
- <pre>{JSON.stringify(stack_item, null, 2)}</pre>
39
- {/if}
40
- <div class="inline_drop_container">
41
- <div
42
- class="dropzone"
43
- class:inline_draggedover={manager?.is_preview && manager?.is_drag_enter && manager?.hovered_node_drop_zone == i + 1}
44
- role="button"
45
- tabindex="0"
46
- aria-label="Drop area"
47
- draggable={manager?.is_preview}
48
- ondragstart={(e) => manager?.prevent_drag(e)}
49
- ondragenter={() => manager?.handle_drag_enter(i + 1)}
50
- ondragleave={() => manager?.handle_drag_leave()}
51
- ondragover={(e) => e.preventDefault()}
52
- ondrop={(e) => manager?.handle_drop([...manager?.node_path, i + 1], true,e)}
53
- >
54
- {#if manager?.is_drag_enter && manager?.hovered_node_drop_zone == i + 1}
55
- Drop Area
56
- {/if}
57
- </div>
58
- </div>
59
- {/each}
60
- {:else}
61
- <div
62
- class="droparea"
63
- class:draggedover={manager?.is_preview && manager?.is_drag_enter && manager?.hovered_node_drop_zone == "empty"}
64
- role="button"
65
- tabindex="0"
66
- aria-label="Drop area"
67
- draggable={manager?.is_preview}
68
- ondragstart={(e) => manager?.prevent_drag(e)}
69
- ondragenter={() => manager?.handle_drag_enter("empty")}
70
- ondragleave={() => manager?.handle_drag_leave()}
71
- ondragover={(e) => e.preventDefault()}
72
- ondrop={(e) => manager?.handle_drop([...manager?.node_path, 0], true, e)}
73
- >
74
- <p>Drop Component or</p>
75
- <Button manager={manager?.choose_node_popover_toggle_button_manager} />
76
- <Popover manager={manager?.choose_node_popover_manager}>
77
- {#snippet content()}
78
- <div style="cursor: default;">
79
- {#if typeof manager?.node_types == "object"}
80
- <div class="node_types">
81
- {#if Array.isArray(manager?.node_types?.[manager?.node_type]?.child_node_options) && manager?.node_types?.[manager?.node_type]?.child_node_options.length > 0}
82
- {#each manager?.node_types?.[manager?.node_type]?.child_node_options as node_type}
83
- <div
84
- class="node_container"
85
- role="button"
86
- tabindex="0"
87
- onclick={() => manager?.handle_node_click(manager?.node_type, [...manager?.node_path, 0], true)}
88
- onkeypress={() => handle_node_click(manager?.node_type, [...manager?.node_path, 0], true)}
89
- >
90
- node_tbd2
91
- <!-- <Node {node_type} is_preview={true} is_clickable_only={true} /> -->
92
- </div>
93
- {/each}
94
- {:else}
95
- <p>No node options found</p>
96
- {/if}
97
- </div>
98
- {/if}
99
- </div>
100
- {/snippet}
101
- </Popover>
102
- </div>
103
- {/if}
104
- </div>
105
-
106
- <style>
107
- .droparea {
108
- display: flex;
109
- align-items: center;
110
- gap: 1rem;
111
- padding: 1rem;
112
- border: 1px dashed var(--g6-t);
113
- background-color: var(--shadow5-t);
114
- width: 30rem;
115
- border-radius: 0.5rem;
116
- margin-bottom: -1px;
117
- }
118
- .draggedover {
119
- border: 1px dashed var(--g3-t);
120
- background-color: var(--shadow8-t);
121
- }
122
- .inline_drop_container {
123
- position: relative;
124
- }
125
- .dropzone {
126
- position: absolute;
127
- top: 0;
128
- left: 0;
129
- min-width: 30rem;
130
- width: 100%;
131
- min-height: 20px;
132
- transform: translateY(-50%);
133
- z-index: 1;
134
- font-size: 1.2rem;
135
- line-height: 1.4rem;
136
- padding-left: 0.5rem;
137
- display: flex;
138
- align-items: center;
139
- color: oklch(var(--l9) var(--c20) var(--h9));
140
- border-radius: 0.5rem;
141
- }
142
- .inline_draggedover {
143
- background-color: oklch(var(--l18) var(--c20) var(--h9) / var(--o15));
144
- border: 1px dotted oklch(var(--l18) var(--c20) var(--h9));
145
- }
146
- .node_types {
147
- padding: 1rem;
148
- display: flex;
149
- flex-direction: column;
150
- }
151
- .node_container {
152
- position: relative;
153
- padding: 1rem;
154
- }
155
- .node_container::after {
156
- content: "";
157
- position: absolute;
158
- top: 0;
159
- right: 0;
160
- bottom: -1px;
161
- left: 0;
162
- z-index: 3;
163
- border-radius: 1rem;
164
- }
165
- .node_container:hover::after {
166
- border: 1px solid var(--shadow5-t);
167
- background-color: var(--shadow3-t);
168
- }
169
- </style>
@@ -1,152 +0,0 @@
1
- import { create_popover_manager } from "$lib/Components/Popover/index.svelte.js"
2
- import { create_button_manager } from "$lib/Components/Button/index.svelte.js"
3
- import { create_node_manager } from "$lib/Components/FunctionInput/Node/index.svelte.js"
4
-
5
- export function create_stack_area_manager(config) {
6
- console.log("create_stack_area_manager")
7
- let is_drag_enter = $state(false)
8
- let drag_counter = $state(0)
9
- let hovered_node_drop_zone = $state(null)
10
- let node_value_prepped = $state(null)
11
-
12
- let choose_node_popover_manager = $state(null)
13
- let choose_node_popover_toggle_button_manager = $state(null)
14
-
15
- function handle_drag_enter(zone_id) {
16
- drag_counter++
17
- is_drag_enter = drag_counter > 0
18
- hovered_node_drop_zone = zone_id
19
- }
20
-
21
- function handle_drag_leave() {
22
- drag_counter--
23
- if (drag_counter === 0) {
24
- is_drag_enter = false
25
- }
26
- hovered_node_drop_zone = null
27
- }
28
-
29
- function handle_drop(input_path, is_insert, e) {
30
- e.stopPropagation()
31
- hovered_node_drop_zone = null
32
- console.log("drop", { input_path, node_type: config?.node_type })
33
- config?.drag_or_select_node(input_path, config?.node_type, false, null)
34
- }
35
-
36
- function handle_node_click(clicked_node_type, input_path, is_insert, toggle_popover) {
37
- if (toggle_popover) {
38
- toggle()
39
- }
40
- config?.drag_or_select_node(input_path, config?.node_type, true, clicked_node_type)
41
- }
42
-
43
- function prevent_drag(e) {
44
- e.stopPropagation()
45
- e.preventDefault()
46
- }
47
-
48
- function set_node_value_prepped() {
49
- let node_value_prepped_loc = []
50
- if (Array.isArray(config?.node_value) && config?.node_value.length > 0) {
51
- for (let i = 0; i < config?.node_value.length; i++) {
52
- let node_path = [...config?.node_path, i]
53
- let node_type = config?.node_value[i]?.type
54
- let node_manager = $state(null)
55
- node_manager = create_node_manager({
56
- node_type: node_type,
57
- node_path: node_path,
58
- node_value: config?.node_value[i]?.node_value,
59
- is_clickable_only: false,
60
- is_preview: false,
61
- node_types: config?.node_types,
62
- node_categories: config?.node_categories,
63
- c: 12,
64
- handle_node_drag_start: () =>
65
- config?.handle_node_drag_start({
66
- node_path: node_path,
67
- node_type: node_type,
68
- }),
69
- handle_node_drag_end: () =>
70
- config?.handle_node_drag_end({
71
- node_path: node_path,
72
- node_type: node_type,
73
- }),
74
- on_set_node_value: (input) => set_node_value(input),
75
- drag_or_select_node: config?.drag_or_select_node,
76
- })
77
- node_value_prepped_loc.push({
78
- ...config?.node_value?.[i],
79
- node_manager: node_manager,
80
- })
81
- }
82
- }
83
- node_value_prepped = node_value_prepped_loc
84
- }
85
-
86
- function init(config) {
87
- choose_node_popover_manager = create_popover_manager({
88
- header: "Choose Node",
89
- min_width: 280,
90
- target_width: 600,
91
- min_height: 250,
92
- target_height: 600,
93
- type: "center",
94
- anchor_id: () => `button_${choose_node_popover_toggle_button_manager?.id}`,
95
- })
96
- choose_node_popover_toggle_button_manager = create_button_manager({
97
- text: "Choose",
98
- is_disabled: () => !config?.is_preview,
99
- min_height: 3.4,
100
- pt: 0.2,
101
- pb: 0.2,
102
- popover_target: () => `popover_${choose_node_popover_manager?.id}`,
103
- })
104
- set_node_value_prepped()
105
- }
106
-
107
- init(config)
108
-
109
- return {
110
- get node_types() {
111
- return config?.node_types
112
- },
113
- get parent_node_type() {
114
- return config?.parent_node_type
115
- },
116
- get node_path() {
117
- return config?.node_path
118
- },
119
- get node_type() {
120
- return config?.node_type
121
- },
122
- get node_value() {
123
- return config?.node_value
124
- },
125
- get is_preview() {
126
- return !!config?.is_preview
127
- },
128
- get is_drag_enter() {
129
- return is_drag_enter
130
- },
131
- get drag_counter() {
132
- return drag_counter
133
- },
134
- get hovered_node_drop_zone() {
135
- return hovered_node_drop_zone
136
- },
137
- get choose_node_popover_manager() {
138
- return choose_node_popover_manager
139
- },
140
- get choose_node_popover_toggle_button_manager() {
141
- return choose_node_popover_toggle_button_manager
142
- },
143
- get node_value_prepped() {
144
- return node_value_prepped
145
- },
146
- handle_drag_enter,
147
- handle_drag_leave,
148
- handle_drop,
149
- handle_node_click,
150
- prevent_drag,
151
- }
152
- }
@@ -1,144 +0,0 @@
1
- <script>
2
- import { slide, fade } from "svelte/transition"
3
- import Field from "./helpers/Field/index.svelte"
4
- import StackArea from "./helpers/StackArea/index.svelte"
5
-
6
- let { manager } = $props()
7
- </script>
8
-
9
- <div>
10
- {#if manager?.is_preview}
11
- <p class="label">
12
- {manager?.preview_text}
13
- </p>
14
- {/if}
15
- {#if Array.isArray(manager?.node_structure) && manager?.node_structure.length > 0}
16
- <div
17
- class="container"
18
- class:is_clickable_only={manager?.is_clickable_only}
19
- draggable={!manager?.is_clickable_only}
20
- role="button"
21
- tabindex="0"
22
- ondragstart={(e) => manager?.handle_drag_start(e)}
23
- ondragend={(e) => manager?.handle_drag_end(e)}
24
- style="--fill_color: oklch(var(--l16-t) var(--c{manager?.c}) {manager?.h > -1
25
- ? `var(--h${manager?.h})`
26
- : 'var(--primary-h)'}); --border_color: oklch(var(--l6-t) var(--c3) {manager?.h > -1
27
- ? `var(--h${manager?.h})`
28
- : 'var(--primary-h)'});"
29
- >
30
- {#each manager?.node_structure as node_item, i}
31
- {#if node_item?.ui_type == "stack"}
32
- <div class="children_container">
33
- <div class="side_bar"></div>
34
- {#if manager?.node_value?.is_collapsed}
35
- <div class="collapsed_content" in:fade={{ delay: 600, duration: 300 }}>collapsed...</div>
36
- {:else}
37
- <div transition:slide={{ duration: 600 }}>
38
- <StackArea manager={node_item?.stack_area_manager} />
39
- </div>
40
- {/if}
41
- </div>
42
- {:else}
43
- <div
44
- class="bar"
45
- class:is_solo_bar={i == 0 && manager?.full_node_type.node_structure.length == 1}
46
- class:is_top_bar_of_many={i == 0 && manager?.full_node_type.node_structure.length > 0}
47
- class:is_closing_bar={manager?.full_node_type.node_structure.length - 1 == i}
48
- >
49
- {#if Array.isArray(node_item) && node_item.length > 0}
50
- {#each node_item as bar_item}
51
- <Field manager={bar_item?.field_manager} />
52
- {/each}
53
- {:else}
54
- <p>No Node Fields</p>
55
- {/if}
56
- </div>
57
- {/if}
58
- {#if manager?.full_node_type.node_structure.length - 1 == i && node_item?.ui_type == "stack"}
59
- <div class="bar closing_bar"></div>
60
- {/if}
61
- {/each}
62
- </div>
63
- {:else}
64
- Node Not found {manager?.node_type}, {Array.isArray(manager?.node_path) ? `[${manager?.node_path.join(", ")}]` : ""}
65
- {/if}
66
- </div>
67
-
68
- <style>
69
- .container {
70
- position: relative;
71
- display: flex;
72
- flex-direction: column;
73
- cursor: grab;
74
- }
75
- .container:active {
76
- cursor: grabbing;
77
- }
78
- .bar {
79
- background-color: var(--fill_color);
80
- position: relative;
81
- width: fit-content;
82
- display: flex;
83
- flex-wrap: wrap;
84
- gap: 0.5rem;
85
- min-width: 2rem;
86
- min-height: 4rem;
87
- padding: 0.5rem;
88
- padding-left: 1rem;
89
- border-top-right-radius: 1rem;
90
- border-bottom-right-radius: 1rem;
91
- border: 1px solid var(--border_color);
92
- margin-bottom: -1px;
93
- }
94
- .is_solo_bar {
95
- border-top-left-radius: 1rem;
96
- border-bottom-left-radius: 1rem;
97
- padding-left: 0.5rem;
98
- }
99
- .is_top_bar_of_many {
100
- border-top-left-radius: 1rem;
101
- }
102
- .is_closing_bar {
103
- border-bottom-left-radius: 1rem;
104
- }
105
- .closing_bar {
106
- min-height: 2rem;
107
- min-width: 8rem;
108
- border-bottom-left-radius: 1rem;
109
- }
110
- .children_container {
111
- display: flex;
112
- }
113
- .side_bar {
114
- position: relative;
115
- min-width: 10px;
116
- max-width: 10px;
117
- background-color: var(--fill_color);
118
- border-left: 1px solid var(--border_color);
119
- border-right: 1px solid var(--border_color);
120
- margin-right: -1px;
121
- }
122
- .side_bar::after {
123
- position: absolute;
124
- content: "";
125
- background-color: var(--fill_color);
126
- border-right: 1px solid var(--border_color);
127
- z-index: 3;
128
- top: 0;
129
- left: 0;
130
- bottom: -1px;
131
- right: -1px;
132
- }
133
- .collapsed_content {
134
- background-color: var(--shadow5-t);
135
- border: 1px solid var(--shadow8-t);
136
- border-radius: 0.5rem;
137
- font-size: 1.2rem;
138
- color: var(--g8-t);
139
- padding: 0.2rem 0.5rem;
140
- }
141
- .is_clickable_only {
142
- cursor: pointer !important;
143
- }
144
- </style>