@iroco/ui 1.0.0-3 → 1.0.0-4

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 (52) hide show
  1. package/dist/Alert.stories.svelte +31 -0
  2. package/dist/Alert.stories.svelte.d.ts +37 -0
  3. package/dist/Alert.svelte +60 -7
  4. package/dist/Button.stories.svelte +3 -2
  5. package/dist/Button.stories.svelte.d.ts +6 -3
  6. package/dist/Button.svelte +70 -18
  7. package/dist/DataTable.stories.svelte +33 -0
  8. package/dist/DataTable.stories.svelte.d.ts +29 -0
  9. package/dist/DataTable.svelte +55 -2
  10. package/dist/IconBurger.stories.svelte +32 -0
  11. package/dist/IconBurger.stories.svelte.d.ts +48 -0
  12. package/dist/IconClose.stories.svelte +32 -0
  13. package/dist/IconClose.stories.svelte.d.ts +48 -0
  14. package/dist/IconFloppyDisk.stories.svelte +36 -0
  15. package/dist/IconFloppyDisk.stories.svelte.d.ts +55 -0
  16. package/dist/IconInfo.stories.svelte +34 -0
  17. package/dist/IconInfo.stories.svelte.d.ts +50 -0
  18. package/dist/IconIrocoLogo.stories.svelte +37 -0
  19. package/dist/IconIrocoLogo.stories.svelte.d.ts +57 -0
  20. package/dist/IconMoreSign.stories.svelte +34 -0
  21. package/dist/IconMoreSign.stories.svelte.d.ts +50 -0
  22. package/dist/IconTrashCan.stories.svelte +34 -0
  23. package/dist/IconTrashCan.stories.svelte.d.ts +50 -0
  24. package/dist/IrocoLogo.stories.svelte +37 -0
  25. package/dist/IrocoLogo.stories.svelte.d.ts +50 -0
  26. package/dist/Loader.stories.svelte +23 -0
  27. package/dist/Loader.stories.svelte.d.ts +29 -0
  28. package/dist/NavBar.stories.svelte +38 -0
  29. package/dist/NavBar.stories.svelte.d.ts +37 -0
  30. package/dist/NavBar.svelte +132 -27
  31. package/dist/Navigation.svelte +57 -4
  32. package/dist/NumberInput.stories.svelte +50 -0
  33. package/dist/NumberInput.stories.svelte.d.ts +77 -0
  34. package/dist/NumberInput.svelte +60 -7
  35. package/dist/RadioButton.stories.svelte +53 -0
  36. package/dist/RadioButton.stories.svelte.d.ts +56 -0
  37. package/dist/RadioButton.svelte +57 -5
  38. package/dist/RadioButton.svelte.d.ts +0 -2
  39. package/dist/TextInput.stories.svelte +75 -0
  40. package/dist/TextInput.stories.svelte.d.ts +111 -0
  41. package/dist/TextInput.svelte +61 -8
  42. package/dist/scss/button.scss +17 -17
  43. package/dist/scss/colors.scss +68 -33
  44. package/dist/scss/fields/_input.scss +4 -5
  45. package/dist/scss/forms.scss +7 -7
  46. package/package.json +3 -2
  47. package/dist/NumberInputSized.svelte +0 -4
  48. package/dist/NumberInputSized.svelte.d.ts +0 -14
  49. package/dist/TopBar.svelte +0 -0
  50. package/dist/TopBar.svelte.d.ts +0 -23
  51. package/dist/scss/check.scss +0 -48
  52. package/dist/scss/iroco.scss +0 -38
@@ -1,14 +0,0 @@
1
- import { SvelteComponent } 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 NumberInputSizedProps = typeof __propDef.props;
10
- export type NumberInputSizedEvents = typeof __propDef.events;
11
- export type NumberInputSizedSlots = typeof __propDef.slots;
12
- export default class NumberInputSized extends SvelteComponent<NumberInputSizedProps, NumberInputSizedEvents, NumberInputSizedSlots> {
13
- }
14
- export {};
File without changes
@@ -1,23 +0,0 @@
1
- /** @typedef {typeof __propDef.props} TopBarProps */
2
- /** @typedef {typeof __propDef.events} TopBarEvents */
3
- /** @typedef {typeof __propDef.slots} TopBarSlots */
4
- export default class TopBar extends SvelteComponent<{
5
- [x: string]: never;
6
- }, {
7
- [evt: string]: CustomEvent<any>;
8
- }, {}> {
9
- }
10
- export type TopBarProps = typeof __propDef.props;
11
- export type TopBarEvents = typeof __propDef.events;
12
- export type TopBarSlots = typeof __propDef.slots;
13
- import { SvelteComponent } from "svelte";
14
- declare const __propDef: {
15
- props: {
16
- [x: string]: never;
17
- };
18
- events: {
19
- [evt: string]: CustomEvent<any>;
20
- };
21
- slots: {};
22
- };
23
- export {};
@@ -1,48 +0,0 @@
1
- /* @deprecated does not seem to be used anywhere */
2
- .ui-check {
3
- width: 30px;
4
- min-width: 30px;
5
- height: 30px;
6
- min-height: 30px;
7
- background: rgba($darkBeige, 0.1);
8
- border: solid rgba($darkBeige, 0.4) 1px;
9
- cursor: pointer;
10
- outline: none;
11
- display: flex;
12
- align-items: center;
13
- justify-content: center;
14
- position: relative;
15
- transition: all cubic-bezier(0.215, 0.61, 0.355, 1) 400ms;
16
- border-radius: 2px;
17
-
18
- &.tag {
19
- width: auto;
20
- padding: 0 10px;
21
- }
22
-
23
- &:focus {
24
- outline: none;
25
- box-shadow: 0 0 5px rgba($blue, 0.3);
26
- }
27
-
28
- > svg {
29
- stroke-dashoffset: 100;
30
- transition: stroke-dashoffset cubic-bezier(0.215, 0.61, 0.355, 1) 400ms;
31
- }
32
-
33
- > span {
34
- @include Arial(1em, $darkBeige);
35
- }
36
-
37
- &[aria-pressed='true'] {
38
- border: solid $blue 1px;
39
-
40
- > svg {
41
- stroke-dashoffset: 0;
42
- }
43
-
44
- > span {
45
- color: $blue;
46
- }
47
- }
48
- }
@@ -1,38 +0,0 @@
1
- @use 'colors';
2
- @use 'fonts';
3
- @use 'style';
4
-
5
- /** @deprectated : does not seem to be used anywhere */
6
-
7
- *,
8
- *::before,
9
- *::after {
10
- -webkit-box-sizing: border-box;
11
- box-sizing: border-box;
12
- }
13
-
14
- a,
15
- a:visited,
16
- a:active,
17
- button {
18
- text-decoration: none;
19
- font-size: 14px;
20
- color: colors.$beige;
21
- }
22
-
23
- html {
24
- margin: 0;
25
- padding: 0;
26
-
27
- > body {
28
- @include fonts.Arial(14px, white);
29
- margin: 0;
30
- padding: 0;
31
- cursor: default;
32
- text-rendering: optimizeLegibility;
33
- -webkit-font-smoothing: antialiased;
34
- -moz-osx-font-smoothing: grayscale;
35
- font-kerning: normal;
36
- background: colors.$background;
37
- }
38
- }