@hkdigital/lib-sveltekit 0.0.95 → 0.0.97

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 (69) hide show
  1. package/dist/components/buttons/index.d.ts +1 -0
  2. package/dist/components/buttons/index.js +1 -0
  3. package/dist/components/buttons/plain-button/PlainButton.svelte +37 -0
  4. package/dist/components/buttons/plain-button/PlainButton.svelte.d.ts +10 -0
  5. package/dist/components/inputs/index.d.ts +1 -0
  6. package/dist/components/inputs/index.js +1 -0
  7. package/dist/components/inputs/text-input/TestTextInput.svelte__ +102 -0
  8. package/dist/components/inputs/text-input/TextInput.svelte +226 -0
  9. package/dist/components/inputs/text-input/TextInput.svelte.d.ts +26 -0
  10. package/dist/components/inputs/text-input/TextInput.svelte___ +83 -0
  11. package/dist/components/inputs/text-input/assets/IconInvalid.svelte +14 -0
  12. package/dist/components/inputs/text-input/assets/IconInvalid.svelte.d.ts +26 -0
  13. package/dist/components/inputs/text-input/assets/IconValid.svelte +12 -0
  14. package/dist/components/inputs/text-input/assets/IconValid.svelte.d.ts +26 -0
  15. package/dist/components/panels/index.d.ts +1 -0
  16. package/dist/components/panels/index.js +1 -0
  17. package/dist/components/panels/plain-panel/PlainPanel.svelte +33 -0
  18. package/dist/components/panels/plain-panel/PlainPanel.svelte.d.ts +10 -0
  19. package/dist/components/rows/index.d.ts +2 -0
  20. package/dist/components/rows/index.js +3 -0
  21. package/dist/components/rows/panel-grid-row/PanelGridRow.svelte +104 -0
  22. package/dist/components/rows/panel-grid-row/PanelGridRow.svelte.d.ts +12 -0
  23. package/dist/components/rows/panel-row-2/PanelRow2.svelte +40 -0
  24. package/dist/components/rows/panel-row-2/PanelRow2.svelte.d.ts +12 -0
  25. package/dist/components/widgets/scale-control/ScaleControl.svelte +0 -0
  26. package/dist/components/widgets/scale-control/ScaleControl.svelte.d.ts +26 -0
  27. package/dist/components/widgets/scale-control/index.d.ts +1 -0
  28. package/dist/components/widgets/scale-control/index.js +1 -0
  29. package/dist/config/tailwind.extend.d.ts +8 -8
  30. package/dist/config/tailwind.extend.js +51 -55
  31. package/dist/constants/css-states/index.d.ts +1 -0
  32. package/dist/constants/css-states/index.js +1 -0
  33. package/dist/constants/css-states/input-states.d.ts +8 -0
  34. package/dist/constants/css-states/input-states.js +11 -0
  35. package/dist/constants/index.js +1 -0
  36. package/dist/index.d.ts +0 -1
  37. package/dist/index.js +0 -6
  38. package/dist/themes/hkdev/components/boxes/game-box.postcss +13 -0
  39. package/dist/themes/hkdev/components/buttons/plain-button.postcss +73 -0
  40. package/dist/themes/hkdev/components/buttons/skip-button.postcss +8 -0
  41. package/dist/themes/hkdev/components/inputs/text-input.postcss +108 -0
  42. package/dist/themes/hkdev/components/panels/plain-panel.postcss +46 -0
  43. package/dist/themes/hkdev/components/panels/speech-bubble.postcss +52 -0
  44. package/dist/themes/hkdev/components/rows/panel-grid-row.postcss +7 -0
  45. package/dist/themes/hkdev/components/rows/panel-row-2.postcss +9 -0
  46. package/dist/themes/hkdev/components.postcss +49 -0
  47. package/dist/themes/hkdev/debug.postcss +2 -0
  48. package/dist/themes/hkdev/global/layout.postcss +39 -0
  49. package/dist/themes/hkdev/global/on-colors.postcss +53 -0
  50. package/dist/themes/hkdev/global/text.postcss__ +35 -0
  51. package/dist/themes/hkdev/global/vars.postcss__ +7 -0
  52. package/dist/themes/hkdev/globals.postcss +12 -0
  53. package/dist/themes/hkdev/responsive.postcss +12 -0
  54. package/dist/themes/hkdev/theme-ext.d.ts +4 -0
  55. package/dist/themes/hkdev/theme-ext.js +15 -0
  56. package/dist/themes/hkdev/theme.d.ts +226 -0
  57. package/dist/themes/hkdev/theme.js +227 -0
  58. package/dist/themes/index.d.ts +1 -0
  59. package/dist/themes/index.js +1 -0
  60. package/dist/util/sveltekit/index.d.ts +1 -0
  61. package/dist/util/sveltekit/index.js +1 -0
  62. package/dist/util/sveltekit/route-folders/index.d.ts +23 -0
  63. package/dist/util/sveltekit/route-folders/index.js +82 -0
  64. package/package.json +3 -1
  65. package/dist/components/input/HkInputField.svelte +0 -50
  66. package/dist/components/input/HkInputField.svelte.d.ts +0 -14
  67. package/dist/components/input/index.d.ts +0 -1
  68. package/dist/components/input/index.js +0 -1
  69. /package/dist/css/{tw-prose.postcss → tw-prose.postcss__} +0 -0
@@ -0,0 +1 @@
1
+ export { default as PlainButton } from "./plain-button/PlainButton.svelte";
@@ -0,0 +1 @@
1
+ export { default as PlainButton } from './plain-button/PlainButton.svelte';
@@ -0,0 +1,37 @@
1
+ <script>
2
+ /**
3
+ * @type {{
4
+ * base?: string,
5
+ * bg?: string,
6
+ * variant?: string,
7
+ * classes?: string,
8
+ * role?: 'primary' | 'secondary',
9
+ * children: import('svelte').Snippet,
10
+ * [key: string]: any
11
+ * }}
12
+ */
13
+ const {
14
+ // Style
15
+ base,
16
+ bg,
17
+ variant,
18
+ classes,
19
+
20
+ role = 'primary',
21
+
22
+ // Snippets
23
+ children,
24
+
25
+ // Attributes
26
+ ...attrs
27
+ } = $props();
28
+ </script>
29
+
30
+ <button
31
+ data-button="plain-button"
32
+ type="button"
33
+ class="{base} {bg} {variant} {classes} role-{role}"
34
+ {...attrs}
35
+ >
36
+ <p class="p">{@render children()}</p>
37
+ </button>
@@ -0,0 +1,10 @@
1
+ export default PlainButton;
2
+ declare const PlainButton: import("svelte").Component<{
3
+ [key: string]: any;
4
+ base?: string;
5
+ bg?: string;
6
+ variant?: string;
7
+ classes?: string;
8
+ role?: "primary" | "secondary";
9
+ children: import("svelte").Snippet;
10
+ }, {}, "">;
@@ -0,0 +1 @@
1
+ export { default as TextInput } from "./text-input/TextInput.svelte";
@@ -0,0 +1 @@
1
+ export { default as TextInput } from './text-input/TextInput.svelte';
@@ -0,0 +1,102 @@
1
+ <script>
2
+ /**
3
+ * @type {{
4
+ * base?: string,
5
+ * error?: string,
6
+ * classes?: string,
7
+ * fieldClasses?: string,
8
+ * fieldError?: string,
9
+ * legendBase?: string,
10
+ * legendClasses?: string,
11
+ * legendError?: string,
12
+ * value?: string,
13
+ * type?: 'text' | 'url' | 'email' | 'number',
14
+ * pattern?: string,
15
+ * required?: boolean,
16
+ * title?: string,
17
+ * valid?: boolean,
18
+ * pristine?: boolean,
19
+ * validate?: (value: string) => string | undefined,
20
+ * } & { [attr: string]: * }}
21
+ */
22
+ let {
23
+ base = '',
24
+ error = '',
25
+ classes = '',
26
+
27
+ fieldClasses,
28
+ fieldError,
29
+
30
+ legendBase = 'ml-16p px-8p',
31
+ legendClasses,
32
+ legendError,
33
+
34
+ value = $bindable(''),
35
+ type = 'text',
36
+ pattern,
37
+ required = false,
38
+
39
+ title = '',
40
+
41
+ valid = $bindable(true),
42
+ pristine = $bindable(true),
43
+
44
+ validate,
45
+
46
+ ...attrs
47
+ } = $props();
48
+
49
+ let inputRef = $state();
50
+ let validationMessage = $state('');
51
+ let initialValue = $state('');
52
+
53
+ $effect(() => {
54
+ if (!inputRef) return;
55
+ initialValue = value;
56
+ validateInput(inputRef, value);
57
+ });
58
+
59
+ function validateInput(input, currentValue) {
60
+ input.setCustomValidity('');
61
+ const isBuiltInValid = input.checkValidity();
62
+
63
+ if (isBuiltInValid && validate) {
64
+ const customError = validate(currentValue);
65
+ input.setCustomValidity(customError || '');
66
+ }
67
+
68
+ pristine = currentValue === initialValue;
69
+ valid = input.validity.valid;
70
+ validationMessage = input.validationMessage;
71
+ }
72
+
73
+ function handleInput(event) {
74
+ validateInput(event.target, event.target.value);
75
+ }
76
+ </script>
77
+
78
+ <fieldset
79
+ data-inputs="text-input"
80
+ class="flex w-full items-center rounded {fieldClasses}"
81
+ >
82
+ <legend class="{legendBase} {legendClasses}">{title}</legend>
83
+
84
+ <input
85
+ bind:this={inputRef}
86
+ {type}
87
+ {pattern}
88
+ {required}
89
+ {value}
90
+ class="w-full border-none bg-transparent {base} {classes}"
91
+ aria-invalid={!valid}
92
+ aria-errormessage={!valid ? 'validation-message' : undefined}
93
+ oninput={handleInput}
94
+ {...attrs}
95
+ />
96
+
97
+ {#if !valid}
98
+ <small id="validation-message" class="text-error" role="alert">
99
+ {validationMessage}
100
+ </small>
101
+ {/if}
102
+ </fieldset>
@@ -0,0 +1,226 @@
1
+ <script>
2
+ import IconValid from './assets/IconValid.svelte';
3
+ import IconInvalid from './assets/IconInvalid.svelte';
4
+
5
+ import { Star, ExclamationTriangle, CheckCircle } from '@steeze-ui/heroicons';
6
+
7
+ import { HkIcon } from '../../icon/index.js';
8
+
9
+ import {
10
+ PRISTINE,
11
+ DIRTY,
12
+ FOCUSED,
13
+ UNFOCUSED,
14
+ VALID,
15
+ INVALID,
16
+ REQUIRED,
17
+ DISABLED
18
+ } from '../../../constants/css-states/index.js';
19
+
20
+ /**
21
+ * @type {{
22
+ * base?: string,
23
+ * borderShape?: string,
24
+ * classes?: string,
25
+ * inputBase?: string,
26
+ * inputClasses?: string,
27
+ * legendBase?: string,
28
+ * legendClasses?: string,
29
+ * iconClasses?: string,
30
+ * value?: string,
31
+ * type?: 'text' | 'url' | 'email' | 'number',
32
+ * pattern?: string,
33
+ * required?: boolean,
34
+ * title?: string,
35
+ * placeholder?: string,
36
+ * isValid?: boolean,
37
+ * isPristine?: boolean,
38
+ * hasFocus?: boolean,
39
+ * validate?: (value: string) => string | undefined,
40
+ * iconRequired?: import('svelte').Snippet,
41
+ * iconValid?: import('svelte').Snippet,
42
+ * iconInvalid?: import('svelte').Snippet
43
+ * } & { [attr: string]: * }}
44
+ */
45
+ let {
46
+ value = $bindable(''),
47
+
48
+ isValid = $bindable(true),
49
+ isPristine = $bindable(true),
50
+ hasFocus = $bindable(false),
51
+
52
+ ...otherProps
53
+ } = $props();
54
+
55
+ let {
56
+ // Fieldset
57
+ base = 'px-10p pb-10p',
58
+ borderShape = 'border-1p rounded-xs',
59
+
60
+ classes = '',
61
+
62
+ // Input
63
+ inputBase = 'w-full outline-none border-none bg-transparent',
64
+ inputClasses,
65
+
66
+ // Legend
67
+ legendBase,
68
+ legendClasses,
69
+
70
+ // Icon
71
+ iconBase = 'w-[24px] h-[24px]',
72
+ iconClasses = '',
73
+
74
+ // Input type and built-in validation
75
+
76
+ type = 'text',
77
+ required = false,
78
+ disabled = false,
79
+
80
+ title = '',
81
+ placeholder = '',
82
+
83
+ // legend = 'Invalid',
84
+ // legendInvalid?
85
+
86
+ iconRequired,
87
+ iconValid,
88
+ iconInvalid,
89
+
90
+ validate,
91
+
92
+ ...attrs
93
+ } = otherProps;
94
+
95
+ let inputRef = $state();
96
+ let validationMessage = $state('');
97
+ let initialValue = $state('');
98
+
99
+ $effect(() => {
100
+ if (!inputRef) return;
101
+ initialValue = value;
102
+ validateInput(inputRef, value);
103
+ });
104
+
105
+ function validateInput(input, currentValue) {
106
+ input.setCustomValidity('');
107
+ const isBuiltInValid = input.checkValidity();
108
+
109
+ if (isBuiltInValid && validate) {
110
+ const customError = validate(currentValue);
111
+ input.setCustomValidity(customError || '');
112
+ }
113
+
114
+ isPristine = currentValue === initialValue;
115
+ isValid = input.validity.valid;
116
+ validationMessage = input.validationMessage;
117
+ }
118
+
119
+ function handleInput(event) {
120
+ validateInput(event.target, event.target.value);
121
+ }
122
+
123
+ // let legendHeight = $state(0);
124
+
125
+ // let paddingBottomStyle = $derived.by(() => {
126
+ // return `padding-bottom: ${legendHeight / 2}px;`;
127
+ // });
128
+
129
+ let hideLegendStyle = $derived.by(() => {
130
+ if (isValid && !title) {
131
+ return 'width: 0;';
132
+ }
133
+ });
134
+
135
+ let stateClasses = $derived.by(() => {
136
+ //
137
+ // Return CSS classes that indicate the component's state
138
+ //
139
+ // @see $lib/constants/css-states
140
+ //
141
+ const outArr = [];
142
+
143
+ outArr.push(isPristine ? PRISTINE : DIRTY);
144
+ outArr.push(hasFocus ? FOCUSED : UNFOCUSED);
145
+ outArr.push(isValid ? VALID : INVALID);
146
+
147
+ if (required) {
148
+ outArr.push(REQUIRED);
149
+ }
150
+
151
+ if (disabled) {
152
+ outArr.push(DISABLED);
153
+ }
154
+
155
+ return outArr.join(' ');
156
+ });
157
+ </script>
158
+
159
+ <!-- {#snippet defaultWarning()}
160
+ <WarningIcon />
161
+ {/snippet} -->
162
+
163
+ <fieldset
164
+ data-input="text-input"
165
+ class="{base} {borderShape} {classes} {stateClasses}"
166
+ >
167
+ <legend
168
+ data-child="legend"
169
+ class="{legendBase} {legendClasses}"
170
+ style={hideLegendStyle}
171
+ >
172
+ {#if title}
173
+ {title}
174
+ <!-- {:else if !isValid}
175
+ {invalidTitle} -->
176
+ {:else}
177
+ &nbsp;
178
+ {/if}
179
+ </legend>
180
+
181
+ <div class="grid grid-cols-[1fr_auto] items-center">
182
+ <input
183
+ data-child="input"
184
+ bind:this={inputRef}
185
+ {type}
186
+ {required}
187
+ {disabled}
188
+ {value}
189
+ {placeholder}
190
+ class="{inputBase} {inputClasses}"
191
+ aria-invalid={!isValid}
192
+ aria-errormessage={!isValid ? 'validation-message' : undefined}
193
+ oninput={handleInput}
194
+ onfocus={() => {
195
+ hasFocus = true;
196
+ }}
197
+ onblur={() => {
198
+ hasFocus = false;
199
+ }}
200
+ {...attrs}
201
+ />
202
+
203
+ <div data-child="icon-box" class="{iconBase} {iconClasses}">
204
+ {#if isPristine && required}
205
+ {#if iconRequired}
206
+ {@render iconRequired()}
207
+ {:else}
208
+ <HkIcon src={Star} theme="solid" />
209
+ {/if}
210
+ {:else if isValid}
211
+ {#if iconValid}
212
+ {@render iconValid()}
213
+ {:else}
214
+ <HkIcon src={CheckCircle} theme="solid" />
215
+ {/if}
216
+ {:else if iconInvalid}
217
+ {@render iconInvalid()}
218
+ {:else}
219
+ <HkIcon src={ExclamationTriangle} theme="solid" />
220
+ {/if}
221
+ </div>
222
+ </div>
223
+ </fieldset>
224
+
225
+ <style>
226
+ </style>
@@ -0,0 +1,26 @@
1
+ export default TextInput;
2
+ declare const TextInput: import("svelte").Component<{
3
+ base?: string;
4
+ borderShape?: string;
5
+ classes?: string;
6
+ inputBase?: string;
7
+ inputClasses?: string;
8
+ legendBase?: string;
9
+ legendClasses?: string;
10
+ iconClasses?: string;
11
+ value?: string;
12
+ type?: "text" | "url" | "email" | "number";
13
+ pattern?: string;
14
+ required?: boolean;
15
+ title?: string;
16
+ placeholder?: string;
17
+ isValid?: boolean;
18
+ isPristine?: boolean;
19
+ hasFocus?: boolean;
20
+ validate?: (value: string) => string | undefined;
21
+ iconRequired?: import("svelte").Snippet;
22
+ iconValid?: import("svelte").Snippet;
23
+ iconInvalid?: import("svelte").Snippet;
24
+ } & {
25
+ [attr: string]: any;
26
+ }, {}, "value" | "isValid" | "isPristine" | "hasFocus">;
@@ -0,0 +1,83 @@
1
+ <script>
2
+ /**
3
+ * @type {{
4
+ * classes?: string,
5
+ * fieldClasses?: string,
6
+ * legendClasses?: string,
7
+ * legendTitle?: string,
8
+ * error?: boolean,
9
+ * type?: string,
10
+ * placeholder: string,
11
+ * required: boolean,
12
+ * snippetWarning?: import('svelte').Snippet,
13
+ * } & { [attr: string]: * }}
14
+ */
15
+ let {
16
+ // Style
17
+ classes,
18
+ fieldClasses,
19
+ legendClasses,
20
+
21
+ // Functionality
22
+ name,
23
+ disabled,
24
+ required,
25
+
26
+ // initialValue
27
+ // value
28
+ // readonly
29
+ // pattern
30
+ // minlength
31
+ // maxlength
32
+
33
+ // Text placeholders
34
+ legendTitle,
35
+ placeholder,
36
+
37
+ type,
38
+ snippetWarning,
39
+
40
+ // Attributes
41
+ ...attrs
42
+ } = $props();
43
+ </script>
44
+
45
+ {#snippet defaultWarning()}
46
+ <svg
47
+ width="17"
48
+ height="16"
49
+ viewBox="0 0 17 16"
50
+ fill="none"
51
+ xmlns="http://www.w3.org/2000/svg"
52
+ >
53
+ <path
54
+ fill-rule="evenodd"
55
+ clip-rule="evenodd"
56
+ d="M6.36747 1.28014C7.3152 -0.426712 9.68492 -0.426712 10.6318 1.28014L16.6669 12.1596C17.6138 13.8664 16.429 16 14.5343 16H2.46497C0.570331 16 -0.613713 13.8664 0.333194 12.1596L6.36665 1.28014H6.36747ZM8.50006 5.75805C8.66328 5.75805 8.81981 5.82549 8.93522 5.94553C9.05063 6.06556 9.11547 6.22837 9.11547 6.39812V9.59846C9.11547 9.76822 9.05063 9.93102 8.93522 10.0511C8.81981 10.1711 8.66328 10.2385 8.50006 10.2385C8.33684 10.2385 8.18031 10.1711 8.0649 10.0511C7.94949 9.93102 7.88465 9.76822 7.88465 9.59846V6.39812C7.88465 6.22837 7.94949 6.06556 8.0649 5.94553C8.18031 5.82549 8.33684 5.75805 8.50006 5.75805ZM8.50006 12.7988C8.66328 12.7988 8.81981 12.7314 8.93522 12.6113C9.05063 12.4913 9.11547 12.3285 9.11547 12.1587C9.11547 11.989 9.05063 11.8262 8.93522 11.7061C8.81981 11.5861 8.66328 11.5187 8.50006 11.5187C8.33684 11.5187 8.18031 11.5861 8.0649 11.7061C7.94949 11.8262 7.88465 11.989 7.88465 12.1587C7.88465 12.3285 7.94949 12.4913 8.0649 12.6113C8.18031 12.7314 8.33684 12.7988 8.50006 12.7988Z"
57
+ fill="#F8705E"
58
+ />
59
+ </svg>
60
+ {/snippet}
61
+
62
+ <fieldset
63
+ data-input="text-input"
64
+ class="flex w-full items-center rounded {fieldClasses}"
65
+ >
66
+ <legend class="px-2 {legendClasses}" class:error>{legendTitle}</legend>
67
+ <input
68
+ class="w-full border-none bg-transparent {classes}"
69
+ {type}
70
+ {placeholder}
71
+ {name}
72
+ {required}
73
+ {...attrs}
74
+ />
75
+ {#if error}
76
+ {#if snippetWarning}
77
+ {@render snippetWarning()}
78
+ {:else}
79
+ {@render defaultWarning()}
80
+ {/if}
81
+ <!-- <img src={warningSymbol} class="mb-2 mr-8" alt="Warning" /> -->
82
+ {/if}
83
+ </fieldset>
@@ -0,0 +1,14 @@
1
+ <svg
2
+ width="17"
3
+ height="16"
4
+ viewBox="0 0 17 16"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ fill-rule="evenodd"
10
+ clip-rule="evenodd"
11
+ d="M6.36747 1.28014C7.3152 -0.426712 9.68492 -0.426712 10.6318 1.28014L16.6669 12.1596C17.6138 13.8664 16.429 16 14.5343 16H2.46497C0.570331 16 -0.613713 13.8664 0.333194 12.1596L6.36665 1.28014H6.36747ZM8.50006 5.75805C8.66328 5.75805 8.81981 5.82549 8.93522 5.94553C9.05063 6.06556 9.11547 6.22837 9.11547 6.39812V9.59846C9.11547 9.76822 9.05063 9.93102 8.93522 10.0511C8.81981 10.1711 8.66328 10.2385 8.50006 10.2385C8.33684 10.2385 8.18031 10.1711 8.0649 10.0511C7.94949 9.93102 7.88465 9.76822 7.88465 9.59846V6.39812C7.88465 6.22837 7.94949 6.06556 8.0649 5.94553C8.18031 5.82549 8.33684 5.75805 8.50006 5.75805ZM8.50006 12.7988C8.66328 12.7988 8.81981 12.7314 8.93522 12.6113C9.05063 12.4913 9.11547 12.3285 9.11547 12.1587C9.11547 11.989 9.05063 11.8262 8.93522 11.7061C8.81981 11.5861 8.66328 11.5187 8.50006 11.5187C8.33684 11.5187 8.18031 11.5861 8.0649 11.7061C7.94949 11.8262 7.88465 11.989 7.88465 12.1587C7.88465 12.3285 7.94949 12.4913 8.0649 12.6113C8.18031 12.7314 8.33684 12.7988 8.50006 12.7988Z"
12
+ fill="currentColor"
13
+ />
14
+ </svg>
@@ -0,0 +1,26 @@
1
+ export default IconInvalid;
2
+ type IconInvalid = SvelteComponent<{
3
+ [x: string]: never;
4
+ }, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> & {
7
+ $$bindings?: string;
8
+ };
9
+ declare const IconInvalid: $$__sveltets_2_IsomorphicComponent<{
10
+ [x: string]: never;
11
+ }, {
12
+ [evt: string]: CustomEvent<any>;
13
+ }, {}, {}, string>;
14
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
+ new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
+ $$bindings?: Bindings;
17
+ } & Exports;
18
+ (internal: unknown, props: {
19
+ $$events?: Events;
20
+ $$slots?: Slots;
21
+ }): Exports & {
22
+ $set?: any;
23
+ $on?: any;
24
+ };
25
+ z_$$bindings?: Bindings;
26
+ }
@@ -0,0 +1,12 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 24 24"
4
+ fill="currentColor"
5
+ class="size-6"
6
+ >
7
+ <path
8
+ fill-rule="evenodd"
9
+ d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z"
10
+ clip-rule="evenodd"
11
+ />
12
+ </svg>
@@ -0,0 +1,26 @@
1
+ export default IconValid;
2
+ type IconValid = SvelteComponent<{
3
+ [x: string]: never;
4
+ }, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> & {
7
+ $$bindings?: string;
8
+ };
9
+ declare const IconValid: $$__sveltets_2_IsomorphicComponent<{
10
+ [x: string]: never;
11
+ }, {
12
+ [evt: string]: CustomEvent<any>;
13
+ }, {}, {}, string>;
14
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
+ new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
+ $$bindings?: Bindings;
17
+ } & Exports;
18
+ (internal: unknown, props: {
19
+ $$events?: Events;
20
+ $$slots?: Slots;
21
+ }): Exports & {
22
+ $set?: any;
23
+ $on?: any;
24
+ };
25
+ z_$$bindings?: Bindings;
26
+ }
@@ -0,0 +1 @@
1
+ export { default as PlainPanel } from "./plain-panel/PlainPanel.svelte";
@@ -0,0 +1 @@
1
+ export { default as PlainPanel } from './plain-panel/PlainPanel.svelte';
@@ -0,0 +1,33 @@
1
+ <script>
2
+ /**
3
+ * @example
4
+ *
5
+ *
6
+ */
7
+
8
+ /**
9
+ * @type {{
10
+ * base?: string,
11
+ * bg?: string,
12
+ * width?: string,
13
+ * classes?: string
14
+ * children?: import('svelte').Snippet,
15
+ * } & { [attr: string]: * }}
16
+ */
17
+ const {
18
+ // Style
19
+ base,
20
+ bg,
21
+ width,
22
+ classes,
23
+
24
+ children,
25
+
26
+ // Attributes
27
+ ...attrs
28
+ } = $props();
29
+ </script>
30
+
31
+ <div data-panel="plain-panel" class="{base} {bg} {width} {classes}" {...attrs}>
32
+ {@render children()}
33
+ </div>
@@ -0,0 +1,10 @@
1
+ export default PlainPanel;
2
+ declare const PlainPanel: import("svelte").Component<{
3
+ base?: string;
4
+ bg?: string;
5
+ width?: string;
6
+ classes?: string;
7
+ children?: import("svelte").Snippet;
8
+ } & {
9
+ [attr: string]: any;
10
+ }, {}, "">;
@@ -0,0 +1,2 @@
1
+ export { default as PanelGridRow } from "./panel-grid-row/PanelGridRow.svelte";
2
+ export { default as PanelRow2 } from "./panel-row-2/PanelRow2.svelte";
@@ -0,0 +1,3 @@
1
+ export { default as PanelGridRow } from './panel-grid-row/PanelGridRow.svelte';
2
+
3
+ export { default as PanelRow2 } from './panel-row-2/PanelRow2.svelte';