@iroco/ui 0.20.0 → 0.50.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/Alert.svelte +72 -0
- package/Alert.svelte.d.ts +18 -0
- package/{lib/iroco.css → Button.svelte} +69 -88
- package/Button.svelte.d.ts +43 -0
- package/DataTable.svelte +94 -0
- package/DataTable.svelte.d.ts +27 -0
- package/{src/IconBurger.svelte → IconBurger.svelte} +2 -3
- package/IconBurger.svelte.d.ts +17 -0
- package/{src/IconClose.svelte → IconClose.svelte} +2 -3
- package/IconClose.svelte.d.ts +17 -0
- package/{src/IconFloppyDisk.svelte → IconFloppyDisk.svelte} +3 -4
- package/IconFloppyDisk.svelte.d.ts +18 -0
- package/{src/IconInfo.svelte → IconInfo.svelte} +2 -3
- package/IconInfo.svelte.d.ts +17 -0
- package/{src/IconIrocoLogo.svelte → IconIrocoLogo.svelte} +2 -3
- package/IconIrocoLogo.svelte.d.ts +17 -0
- package/IconMastodon.svelte +19 -0
- package/IconMastodon.svelte.d.ts +18 -0
- package/{src/IconMoreSign.svelte → IconMoreSign.svelte} +2 -3
- package/IconMoreSign.svelte.d.ts +17 -0
- package/{src/IconTrashCan.svelte → IconTrashCan.svelte} +4 -11
- package/IconTrashCan.svelte.d.ts +18 -0
- package/IrocoLogo.svelte +49 -0
- package/IrocoLogo.svelte.d.ts +19 -0
- package/{src/Loader.svelte → Loader.svelte} +1 -2
- package/Loader.svelte.d.ts +14 -0
- package/NavBar.svelte +669 -0
- package/NavBar.svelte.d.ts +21 -0
- package/Navigation.svelte +325 -0
- package/Navigation.svelte.d.ts +19 -0
- package/NumberInput.svelte +117 -0
- package/NumberInput.svelte.d.ts +25 -0
- package/NumberInputSized.svelte +4 -0
- package/NumberInputSized.svelte.d.ts +14 -0
- package/README.md +21 -31
- package/RadioButton.svelte +93 -0
- package/RadioButton.svelte.d.ts +23 -0
- package/RadioButtonTest.svelte +10 -0
- package/RadioButtonTest.svelte.d.ts +19 -0
- package/SlottedComponentWrapper.svelte +7 -0
- package/SlottedComponentWrapper.svelte.d.ts +23 -0
- package/TextInput.svelte +148 -0
- package/TextInput.svelte.d.ts +30 -0
- package/{src/TopBar.svelte → TopBar.svelte} +0 -0
- package/TopBar.svelte.d.ts +23 -0
- package/definition.d.ts +28 -0
- package/definition.js +35 -0
- package/index.d.ts +18 -0
- package/index.js +18 -0
- package/package.json +71 -113
- package/scss/button.scss +57 -55
- package/scss/check.scss +45 -46
- package/scss/colors.scss +39 -17
- package/scss/constants.scss +1 -1
- package/scss/containers.scss +126 -130
- package/scss/fields/_checkbox.scss +37 -42
- package/scss/fields/_input.scss +160 -169
- package/scss/fonts.scss +7 -7
- package/scss/forms.scss +53 -55
- package/scss/iroco.scss +22 -22
- package/scss/layouts.scss +21 -7
- package/scss/loader.scss +18 -16
- package/scss/style.scss +5 -5
- package/lib/button.scss +0 -61
- package/lib/check.scss +0 -48
- package/lib/colors.scss +0 -23
- package/lib/constants.scss +0 -1
- package/lib/containers.scss +0 -226
- package/lib/fields/_checkbox.scss +0 -44
- package/lib/fields/_input.scss +0 -171
- package/lib/fields/_style.scss +0 -2
- package/lib/fonts.scss +0 -11
- package/lib/forms.scss +0 -67
- package/lib/index.js +0 -5807
- package/lib/index.min.js +0 -330
- package/lib/index.mjs +0 -5780
- package/lib/index.mjs.css +0 -906
- package/lib/iroco.css.map +0 -1
- package/lib/iroco.scss +0 -37
- package/lib/layouts.scss +0 -7
- package/lib/loader.scss +0 -20
- package/lib/style.scss +0 -5
- package/src/Alert.svelte +0 -34
- package/src/Button.svelte +0 -24
- package/src/DataTable.svelte +0 -72
- package/src/Icon.svelte +0 -29
- package/src/IconMastodon.svelte +0 -13
- package/src/IrocoLogo.svelte +0 -45
- package/src/NavBar.svelte +0 -154
- package/src/Navigation.svelte +0 -107
- package/src/NumberInput.svelte +0 -23
- package/src/RadioButton.svelte +0 -56
- package/src/TextInput.svelte +0 -119
- package/src/definition.ts +0 -30
- package/src/index.ts +0 -21
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
width?: string | undefined;
|
|
5
|
+
height?: string | undefined;
|
|
6
|
+
stroke?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
events: {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
};
|
|
11
|
+
slots: {};
|
|
12
|
+
};
|
|
13
|
+
export type IconTrashCanProps = typeof __propDef.props;
|
|
14
|
+
export type IconTrashCanEvents = typeof __propDef.events;
|
|
15
|
+
export type IconTrashCanSlots = typeof __propDef.slots;
|
|
16
|
+
export default class IconTrashCan extends SvelteComponentTyped<IconTrashCanProps, IconTrashCanEvents, IconTrashCanSlots> {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
package/IrocoLogo.svelte
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script>import { createEventDispatcher } from "svelte";
|
|
2
|
+
export let width = "10rem";
|
|
3
|
+
export let height = "10rem";
|
|
4
|
+
const dispatch = createEventDispatcher();
|
|
5
|
+
function clickOnLogo() {
|
|
6
|
+
dispatch("click_logo");
|
|
7
|
+
}
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<a class="iroco-logo" href="/" on:click={clickOnLogo}>
|
|
11
|
+
<svg viewBox="0 0 832.33 249.52" {width} {height}>
|
|
12
|
+
<title>Iroco</title>
|
|
13
|
+
<path
|
|
14
|
+
fill="white"
|
|
15
|
+
d="M412,81.41c-7.34,0-12.07-5.19-12.07-12.37S404.77,56.66,412,56.66,424.17,61.85,424.17,69,419.13,81.41,412,81.41Zm10.7,118.4H401V103.54h21.7Z"
|
|
16
|
+
transform="translate(-0.44 -0.49)"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
fill="white"
|
|
20
|
+
d="M505.77,123.71h-6.72c-18,0-27.2,8.26-27.2,28.43v47.67h-21.7V103.54h21.7v14.21h.3c5.5-9.32,15.44-15.28,28.43-15.28h5.19Z"
|
|
21
|
+
transform="translate(-0.44 -0.49)"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
fill="white"
|
|
25
|
+
d="M566.44,201.34c-33,0-49.21-21.54-49.21-49.66S533.43,102,566.44,102s49.35,21.39,49.35,49.66C615.79,179.64,599.29,201.34,566.44,201.34Zm0-80.22c-19.26,0-27.51,12.68-27.51,30.56,0,17.72,8.4,30.56,27.66,30.56s27.5-12.68,27.5-30.56S585.69,121.12,566.44,121.12Z"
|
|
26
|
+
transform="translate(-0.44 -0.49)"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
fill="white"
|
|
30
|
+
d="M721.23,186.52c-11.77,10.7-24.45,14.82-39.12,14.82-33.62,0-49.51-21.54-49.51-48.9,0-28.11,17.88-50.42,49.81-50.42,15.9,0,28,4.27,38.51,14.21L706.1,131.05c-6.88-6.72-14.21-9.93-23.53-9.93-18.8.15-28.27,13.9-28.27,31.32,0,16.66,8.1,29.8,28,29.8,9.17,0,16.35-2.9,24.3-10.54Z"
|
|
31
|
+
transform="translate(-0.44 -0.49)"
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
fill="white"
|
|
35
|
+
d="M783.42,201.34c-33,0-49.21-21.54-49.21-49.66S750.41,102,783.42,102s49.35,21.39,49.35,49.66C832.77,179.64,816.27,201.34,783.42,201.34Zm0-80.22c-19.26,0-27.51,12.68-27.51,30.56,0,17.72,8.41,30.56,27.66,30.56s27.5-12.68,27.5-30.56S802.67,121.12,783.42,121.12Z"
|
|
36
|
+
transform="translate(-0.44 -0.49)"
|
|
37
|
+
/>
|
|
38
|
+
<path
|
|
39
|
+
fill="white"
|
|
40
|
+
d="M122.8,144.26a30.6,30.6,0,0,0-8.07,1.23,5.53,5.53,0,0,0-3.46,3.53,28,28,0,0,0-.92,8.46v76.24a28,28,0,0,0,.92,8.46,5.53,5.53,0,0,0,3.46,3.53,30.18,30.18,0,0,0,8.07,1.23V250q-7.06-.45-19.52-.46-13.22,0-19.67.46v-3.07a30.33,30.33,0,0,0,8.07-1.23,5.49,5.49,0,0,0,3.45-3.53,27.59,27.59,0,0,0,.93-8.46V157.48a27.59,27.59,0,0,0-.93-8.46,5.49,5.49,0,0,0-3.45-3.53,30.75,30.75,0,0,0-8.07-1.23v-3.08q6.45.47,19.67.47,12.3,0,19.52-.47Z"
|
|
41
|
+
transform="translate(-0.44 -0.49)"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
fill="#00D692"
|
|
45
|
+
d="M64.64,198.52a102.78,102.78,0,1,1,77.13,0l-7.41-18.29a83,83,0,1,0-62.31,0Z"
|
|
46
|
+
transform="translate(-0.44 -0.49)"
|
|
47
|
+
/>
|
|
48
|
+
</svg>
|
|
49
|
+
</a>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
width?: string | undefined;
|
|
5
|
+
height?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
click_logo: CustomEvent<any>;
|
|
9
|
+
} & {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
};
|
|
12
|
+
slots: {};
|
|
13
|
+
};
|
|
14
|
+
export type IrocoLogoProps = typeof __propDef.props;
|
|
15
|
+
export type IrocoLogoEvents = typeof __propDef.events;
|
|
16
|
+
export type IrocoLogoSlots = typeof __propDef.slots;
|
|
17
|
+
export default class IrocoLogo extends SvelteComponentTyped<IrocoLogoProps, IrocoLogoEvents, IrocoLogoSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type LoaderProps = typeof __propDef.props;
|
|
10
|
+
export type LoaderEvents = typeof __propDef.events;
|
|
11
|
+
export type LoaderSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Loader extends SvelteComponentTyped<LoaderProps, LoaderEvents, LoaderSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|