@scania/tegel 0.0.1-beta.6 → 0.0.1-beta.7

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 (140) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tegel.cjs.js +1 -1
  3. package/dist/collection/collection-manifest.json +2 -2
  4. package/dist/esm/loader.js +1 -1
  5. package/dist/esm/tegel.js +1 -1
  6. package/package.json +4 -4
  7. package/dist/collection/components/accordion/accordion.stories.js +0 -91
  8. package/dist/collection/components/badge/badge.stories.js +0 -101
  9. package/dist/collection/components/banner/banner.stories.js +0 -93
  10. package/dist/collection/components/block/block.stories.js +0 -46
  11. package/dist/collection/components/breadcrumb/breadcrumb.stories.js +0 -26
  12. package/dist/collection/components/button/button-native.stories.js +0 -183
  13. package/dist/collection/components/button/button-webcomponent.stories.js +0 -182
  14. package/dist/collection/components/card/card.stories.js +0 -181
  15. package/dist/collection/components/checkbox/checkbox.stories.js +0 -54
  16. package/dist/collection/components/chips/chips.stories.js +0 -124
  17. package/dist/collection/components/data-table/native-table.stories.js +0 -182
  18. package/dist/collection/components/data-table/table-component-basic.stories.js +0 -163
  19. package/dist/collection/components/data-table/table-component-batch-actions.stories.js +0 -129
  20. package/dist/collection/components/data-table/table-component-bodydata.stories.js +0 -58
  21. package/dist/collection/components/data-table/table-component-custom-width.stories.js +0 -198
  22. package/dist/collection/components/data-table/table-component-event-listeners.stories.js +0 -153
  23. package/dist/collection/components/data-table/table-component-expandable-rows.stories.js +0 -137
  24. package/dist/collection/components/data-table/table-component-filtering.stories.js +0 -139
  25. package/dist/collection/components/data-table/table-component-multiselect.stories.js +0 -160
  26. package/dist/collection/components/data-table/table-component-pagination.stories.js +0 -129
  27. package/dist/collection/components/data-table/table-component-sorting.stories.js +0 -107
  28. package/dist/collection/components/datetime/datetime.stories.js +0 -149
  29. package/dist/collection/components/divider/divider.stories.js +0 -116
  30. package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.stories.js +0 -130
  31. package/dist/collection/components/dropdown/dropdown-native.stories.js +0 -90
  32. package/dist/collection/components/dropdown/dropdown-wc-default.stories.js +0 -151
  33. package/dist/collection/components/dropdown/dropdown-wc-multiselect.stories.js +0 -146
  34. package/dist/collection/components/footer/footer.stories.js +0 -100
  35. package/dist/collection/components/header/header-all.stories.js +0 -217
  36. package/dist/collection/components/header/header-default.stories.js +0 -47
  37. package/dist/collection/components/header/header-inline.stories.js +0 -113
  38. package/dist/collection/components/header/header-search.stories.js +0 -263
  39. package/dist/collection/components/header/header-toolbar.stories.js +0 -204
  40. package/dist/collection/components/icon/icon-font.stories.js +0 -57
  41. package/dist/collection/components/icon/icon-web-component.stories.js +0 -51
  42. package/dist/collection/components/link/link.stories.js +0 -45
  43. package/dist/collection/components/message/message.stories.js +0 -117
  44. package/dist/collection/components/modal/modal-native.stories.js +0 -121
  45. package/dist/collection/components/modal/modal-webcomponent.stories.js +0 -78
  46. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +0 -87
  47. package/dist/collection/components/popover-menu/popover-menu-icons.stories.js +0 -132
  48. package/dist/collection/components/popover-menu/popover-menu.stories.js +0 -109
  49. package/dist/collection/components/radio-button/radio-button.stories.js +0 -68
  50. package/dist/collection/components/side-menu/side-menu.stories.js +0 -182
  51. package/dist/collection/components/slider/slider.stories.js +0 -251
  52. package/dist/collection/components/spinner/spinner.stories.js +0 -59
  53. package/dist/collection/components/stepper/stepper.stories.js +0 -139
  54. package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.stories.js +0 -65
  55. package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.js +0 -43
  56. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +0 -32
  57. package/dist/collection/components/textarea/textarea.stories.js +0 -149
  58. package/dist/collection/components/textfield/textfield.stories.js +0 -222
  59. package/dist/collection/components/toast/toast.stories.js +0 -119
  60. package/dist/collection/components/toggle/toggle.stories.js +0 -62
  61. package/dist/collection/components/tooltip/tooltip.stories.js +0 -113
  62. package/dist/collection/components/utility/colour/background-color.stories.js +0 -96
  63. package/dist/collection/components/utility/colour/text-color.stories.js +0 -94
  64. package/dist/collection/foundations-stories/colour/colour-brand.stories.js +0 -38
  65. package/dist/collection/foundations-stories/colour/colour-scales.stories.js +0 -71
  66. package/dist/collection/foundations-stories/colour/colour-semantic.stories.js +0 -40
  67. package/dist/collection/foundations-stories/grid/grid.stories.js +0 -386
  68. package/dist/collection/foundations-stories/spacing/spacing-element.stories.js +0 -100
  69. package/dist/collection/foundations-stories/spacing/spacing-layout.stories.js +0 -94
  70. package/dist/collection/foundations-stories/typography/typography-body.stories.js +0 -16
  71. package/dist/collection/foundations-stories/typography/typography-detail.stories.js +0 -17
  72. package/dist/collection/foundations-stories/typography/typography-headline.stories.js +0 -39
  73. package/dist/collection/foundations-stories/typography/typography-paragraph.stories.js +0 -12
  74. package/dist/types/components/accordion/accordion.stories.d.ts +0 -77
  75. package/dist/types/components/badge/badge.stories.d.ts +0 -66
  76. package/dist/types/components/banner/banner.stories.d.ts +0 -68
  77. package/dist/types/components/block/block.stories.d.ts +0 -31
  78. package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +0 -12
  79. package/dist/types/components/button/button-native.stories.d.ts +0 -144
  80. package/dist/types/components/button/button-webcomponent.stories.d.ts +0 -143
  81. package/dist/types/components/card/card.stories.d.ts +0 -114
  82. package/dist/types/components/checkbox/checkbox.stories.d.ts +0 -39
  83. package/dist/types/components/chips/chips.stories.d.ts +0 -81
  84. package/dist/types/components/data-table/native-table.stories.d.ts +0 -147
  85. package/dist/types/components/data-table/table-component-basic.stories.d.ts +0 -100
  86. package/dist/types/components/data-table/table-component-batch-actions.stories.d.ts +0 -98
  87. package/dist/types/components/data-table/table-component-bodydata.stories.d.ts +0 -38
  88. package/dist/types/components/data-table/table-component-custom-width.stories.d.ts +0 -147
  89. package/dist/types/components/data-table/table-component-event-listeners.stories.d.ts +0 -87
  90. package/dist/types/components/data-table/table-component-expandable-rows.stories.d.ts +0 -87
  91. package/dist/types/components/data-table/table-component-filtering.stories.d.ts +0 -100
  92. package/dist/types/components/data-table/table-component-multiselect.stories.d.ts +0 -100
  93. package/dist/types/components/data-table/table-component-pagination.stories.d.ts +0 -100
  94. package/dist/types/components/data-table/table-component-sorting.stories.d.ts +0 -79
  95. package/dist/types/components/datetime/datetime.stories.d.ts +0 -80
  96. package/dist/types/components/divider/divider.stories.d.ts +0 -72
  97. package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.stories.d.ts +0 -73
  98. package/dist/types/components/dropdown/dropdown-native.stories.d.ts +0 -57
  99. package/dist/types/components/dropdown/dropdown-wc-default.stories.d.ts +0 -115
  100. package/dist/types/components/dropdown/dropdown-wc-multiselect.stories.d.ts +0 -115
  101. package/dist/types/components/footer/footer.stories.d.ts +0 -23
  102. package/dist/types/components/header/header-all.stories.d.ts +0 -29
  103. package/dist/types/components/header/header-default.stories.d.ts +0 -29
  104. package/dist/types/components/header/header-inline.stories.d.ts +0 -29
  105. package/dist/types/components/header/header-search.stories.d.ts +0 -29
  106. package/dist/types/components/header/header-toolbar.stories.d.ts +0 -29
  107. package/dist/types/components/icon/icon-font.stories.d.ts +0 -38
  108. package/dist/types/components/icon/icon-web-component.stories.d.ts +0 -38
  109. package/dist/types/components/link/link.stories.d.ts +0 -33
  110. package/dist/types/components/message/message.stories.d.ts +0 -67
  111. package/dist/types/components/modal/modal-native.stories.d.ts +0 -51
  112. package/dist/types/components/modal/modal-webcomponent.stories.d.ts +0 -44
  113. package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +0 -25
  114. package/dist/types/components/popover-menu/popover-menu-icons.stories.d.ts +0 -27
  115. package/dist/types/components/popover-menu/popover-menu.stories.d.ts +0 -27
  116. package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -41
  117. package/dist/types/components/side-menu/side-menu.stories.d.ts +0 -42
  118. package/dist/types/components/slider/slider.stories.d.ts +0 -156
  119. package/dist/types/components/spinner/spinner.stories.d.ts +0 -37
  120. package/dist/types/components/stepper/stepper.stories.d.ts +0 -56
  121. package/dist/types/components/tabs/inline-tabs-default/inline-tabs.stories.d.ts +0 -41
  122. package/dist/types/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.d.ts +0 -25
  123. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +0 -13
  124. package/dist/types/components/textarea/textarea.stories.d.ts +0 -111
  125. package/dist/types/components/textfield/textfield.stories.d.ts +0 -176
  126. package/dist/types/components/toast/toast.stories.d.ts +0 -58
  127. package/dist/types/components/toggle/toggle.stories.d.ts +0 -42
  128. package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -54
  129. package/dist/types/components/utility/colour/background-color.stories.d.ts +0 -58
  130. package/dist/types/components/utility/colour/text-color.stories.d.ts +0 -58
  131. package/dist/types/foundations-stories/colour/colour-brand.stories.d.ts +0 -13
  132. package/dist/types/foundations-stories/colour/colour-scales.stories.d.ts +0 -13
  133. package/dist/types/foundations-stories/colour/colour-semantic.stories.d.ts +0 -13
  134. package/dist/types/foundations-stories/grid/grid.stories.d.ts +0 -35
  135. package/dist/types/foundations-stories/spacing/spacing-element.stories.d.ts +0 -8
  136. package/dist/types/foundations-stories/spacing/spacing-layout.stories.d.ts +0 -8
  137. package/dist/types/foundations-stories/typography/typography-body.stories.d.ts +0 -8
  138. package/dist/types/foundations-stories/typography/typography-detail.stories.d.ts +0 -8
  139. package/dist/types/foundations-stories/typography/typography-headline.stories.d.ts +0 -21
  140. package/dist/types/foundations-stories/typography/typography-paragraph.stories.d.ts +0 -8
@@ -1,44 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- notes: any;
6
- design: {
7
- name: string;
8
- type: string;
9
- url: string;
10
- }[];
11
- };
12
- argTypes: {
13
- size: {
14
- name: string;
15
- description: string;
16
- control: {
17
- type: string;
18
- };
19
- options: string[];
20
- };
21
- actions: {
22
- name: string;
23
- description: string;
24
- control: {
25
- type: string;
26
- };
27
- options: string[];
28
- };
29
- headline: {
30
- name: string;
31
- description: string;
32
- control: {
33
- type: string;
34
- };
35
- };
36
- };
37
- args: {
38
- headline: string;
39
- actions: string;
40
- size: string;
41
- };
42
- };
43
- export default _default;
44
- export declare const WebComponent: any;
@@ -1,25 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- notes: any;
6
- };
7
- argTypes: {
8
- canvasPosition: {
9
- name: string;
10
- description: string;
11
- type: {
12
- summary: string;
13
- };
14
- control: {
15
- type: string;
16
- };
17
- options: string[];
18
- };
19
- };
20
- args: {
21
- canvasPosition: string;
22
- };
23
- };
24
- export default _default;
25
- export declare const Default: any;
@@ -1,27 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- notes: any;
6
- design: {
7
- name: string;
8
- type: string;
9
- url: string;
10
- }[];
11
- };
12
- argTypes: {
13
- menuPosition: {
14
- name: string;
15
- description: string;
16
- control: {
17
- type: string;
18
- };
19
- options: string[];
20
- };
21
- };
22
- args: {
23
- menuPosition: string;
24
- };
25
- };
26
- export default _default;
27
- export declare const WithIcons: any;
@@ -1,27 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- notes: any;
6
- design: {
7
- name: string;
8
- type: string;
9
- url: string;
10
- }[];
11
- };
12
- argTypes: {
13
- menuPosition: {
14
- name: string;
15
- description: string;
16
- control: {
17
- type: string;
18
- };
19
- options: string[];
20
- };
21
- };
22
- args: {
23
- menuPosition: string;
24
- };
25
- };
26
- export default _default;
27
- export declare const Default: any;
@@ -1,41 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- design: {
6
- name: string;
7
- type: string;
8
- url: string;
9
- }[];
10
- };
11
- argTypes: {
12
- label: {
13
- name: string;
14
- description: string;
15
- controls: {
16
- type: string;
17
- };
18
- };
19
- disabled: {
20
- name: string;
21
- description: string;
22
- control: {
23
- type: string;
24
- };
25
- };
26
- checked: {
27
- name: string;
28
- description: string;
29
- control: {
30
- type: string;
31
- };
32
- };
33
- };
34
- args: {
35
- label: string;
36
- disabled: boolean;
37
- checked: boolean;
38
- };
39
- };
40
- export default _default;
41
- export declare const Default: any;
@@ -1,42 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- docs: {
6
- source: {
7
- state: string;
8
- };
9
- };
10
- design: {
11
- name: string;
12
- type: string;
13
- url: string;
14
- }[];
15
- };
16
- argTypes: {
17
- collapsed: {
18
- name: string;
19
- description: string;
20
- control: {
21
- type: string;
22
- };
23
- };
24
- showIcons: {
25
- name: string;
26
- description: string;
27
- control: {
28
- type: string;
29
- };
30
- if: {
31
- arg: string;
32
- neq: boolean;
33
- };
34
- };
35
- };
36
- args: {
37
- collapsed: boolean;
38
- showIcons: boolean;
39
- };
40
- };
41
- export default _default;
42
- export declare const Default: any;
@@ -1,156 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- argTypes: {
4
- initialValue: {
5
- name: string;
6
- description: string;
7
- control: {
8
- type: string;
9
- };
10
- };
11
- min: {
12
- name: string;
13
- description: string;
14
- control: {
15
- type: string;
16
- };
17
- };
18
- max: {
19
- name: string;
20
- description: string;
21
- control: {
22
- type: string;
23
- };
24
- };
25
- showLabel: {
26
- name: string;
27
- description: string;
28
- control: {
29
- type: string;
30
- };
31
- };
32
- labelText: {
33
- name: string;
34
- description: string;
35
- control: {
36
- type: string;
37
- };
38
- if: {
39
- arg: string;
40
- truthy: boolean;
41
- };
42
- };
43
- showTooltip: {
44
- name: string;
45
- description: string;
46
- control: {
47
- type: string;
48
- };
49
- };
50
- showTicks: {
51
- name: string;
52
- description: string;
53
- control: {
54
- type: string;
55
- };
56
- };
57
- numTicks: {
58
- name: string;
59
- description: string;
60
- control: {
61
- type: string;
62
- };
63
- if: {
64
- arg: string;
65
- truthy: boolean;
66
- };
67
- };
68
- snapToTicks: {
69
- name: string;
70
- description: string;
71
- control: {
72
- type: string;
73
- };
74
- if: {
75
- arg: string;
76
- truthy: boolean;
77
- };
78
- };
79
- showTickNumbers: {
80
- name: string;
81
- description: string;
82
- control: {
83
- type: string;
84
- };
85
- if: {
86
- arg: string;
87
- truthy: boolean;
88
- };
89
- };
90
- showControls: {
91
- name: string;
92
- description: string;
93
- control: {
94
- type: string;
95
- };
96
- };
97
- step: {
98
- name: string;
99
- description: string;
100
- control: {
101
- type: string;
102
- };
103
- if: {
104
- arg: string;
105
- truthy: boolean;
106
- };
107
- };
108
- showInput: {
109
- name: string;
110
- description: string;
111
- control: {
112
- type: string;
113
- };
114
- if: {
115
- arg: string;
116
- truthy: boolean;
117
- };
118
- };
119
- disabled: {
120
- name: string;
121
- description: string;
122
- control: {
123
- type: string;
124
- };
125
- };
126
- readonly: {
127
- name: string;
128
- description: string;
129
- control: {
130
- type: string;
131
- };
132
- };
133
- small: {
134
- name: string;
135
- description: string;
136
- control: {
137
- type: string;
138
- };
139
- };
140
- };
141
- parameters: {
142
- notes: any;
143
- design: {
144
- name: string;
145
- type: string;
146
- url: string;
147
- }[];
148
- };
149
- args: {
150
- min: number;
151
- max: number;
152
- value: number;
153
- };
154
- };
155
- export default _default;
156
- export declare const Default: any;
@@ -1,37 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- notes: any;
6
- design: {
7
- name: string;
8
- type: string;
9
- url: string;
10
- }[];
11
- };
12
- argTypes: {
13
- variant: {
14
- name: string;
15
- control: {
16
- type: string;
17
- };
18
- options: string[];
19
- description: string;
20
- };
21
- size: {
22
- name: string;
23
- control: {
24
- type: string;
25
- };
26
- options: string[];
27
- description: string;
28
- };
29
- };
30
- args: {
31
- variant: string;
32
- size: string;
33
- };
34
- };
35
- export default _default;
36
- export declare const Default: any;
37
- export declare const Inverted: any;
@@ -1,56 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- layout: string;
5
- design: {
6
- name: string;
7
- type: string;
8
- url: string;
9
- }[];
10
- };
11
- argTypes: {
12
- size: {
13
- name: string;
14
- description: string;
15
- control: {
16
- type: string;
17
- };
18
- options: string[];
19
- };
20
- style: {
21
- name: string;
22
- description: string;
23
- control: {
24
- type: string;
25
- };
26
- options: string[];
27
- };
28
- showLabel: {
29
- name: string;
30
- description: string;
31
- control: {
32
- type: string;
33
- };
34
- };
35
- iconType: {
36
- name: string;
37
- description: string;
38
- control: {
39
- type: string;
40
- };
41
- options: string[];
42
- };
43
- };
44
- args: {
45
- size: string;
46
- style: string;
47
- showLabel: boolean;
48
- iconType: string;
49
- };
50
- };
51
- export default _default;
52
- export declare const Default: any;
53
- export declare const Small: any;
54
- export declare const TextOnSide: any;
55
- export declare const Vertical: any;
56
- export declare const HideLabel: any;
@@ -1,41 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- notes: any;
5
- backgrounds: {
6
- default: string;
7
- };
8
- design: {
9
- name: string;
10
- type: string;
11
- url: string;
12
- }[];
13
- };
14
- argTypes: {
15
- autoHeight: {
16
- name: string;
17
- description: string;
18
- control: {
19
- type: string;
20
- };
21
- };
22
- modeVariant: {
23
- name: string;
24
- control: {
25
- type: string;
26
- };
27
- options: string[];
28
- };
29
- backgrounds: {
30
- table: {
31
- disable: boolean;
32
- };
33
- };
34
- };
35
- args: {
36
- autoHeight: boolean;
37
- modeVariant: string;
38
- };
39
- };
40
- export default _default;
41
- export declare const InlineTabs: any;
@@ -1,25 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- notes: any;
5
- design: {
6
- name: string;
7
- type: string;
8
- url: string;
9
- }[];
10
- };
11
- argTypes: {
12
- modeVariant: {
13
- name: string;
14
- control: {
15
- type: string;
16
- };
17
- options: string[];
18
- };
19
- };
20
- args: {
21
- modeVariant: string;
22
- };
23
- };
24
- export default _default;
25
- export declare const InlineTabsFullbleed: any;
@@ -1,13 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- notes: any;
5
- design: {
6
- name: string;
7
- type: string;
8
- url: string;
9
- }[];
10
- };
11
- };
12
- export default _default;
13
- export declare const NavigationTabs: any;
@@ -1,111 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- notes: any;
5
- layout: string;
6
- design: {
7
- name: string;
8
- type: string;
9
- url: string;
10
- }[];
11
- };
12
- argTypes: {
13
- placeholder: {
14
- name: string;
15
- description: string;
16
- control: {
17
- type: string;
18
- };
19
- };
20
- disabled: {
21
- description: string;
22
- name: string;
23
- control: {
24
- type: string;
25
- };
26
- table: {
27
- defaultValue: {
28
- summary: boolean;
29
- };
30
- };
31
- };
32
- readonly: {
33
- description: string;
34
- name: string;
35
- control: {
36
- type: string;
37
- };
38
- table: {
39
- defaultValue: {
40
- summary: boolean;
41
- };
42
- };
43
- };
44
- label: {
45
- description: string;
46
- name: string;
47
- control: {
48
- type: string;
49
- };
50
- };
51
- labelPosition: {
52
- name: string;
53
- control: {
54
- type: string;
55
- };
56
- options: string[];
57
- description: string;
58
- };
59
- helper: {
60
- name: string;
61
- description: string;
62
- control: {
63
- type: string;
64
- };
65
- };
66
- maxLength: {
67
- name: string;
68
- description: string;
69
- control: {
70
- type: string;
71
- };
72
- };
73
- rows: {
74
- name: string;
75
- description: string;
76
- control: {
77
- type: string;
78
- };
79
- };
80
- state: {
81
- name: string;
82
- description: string;
83
- control: {
84
- type: string;
85
- };
86
- options: string[];
87
- };
88
- variant: {
89
- name: string;
90
- description: string;
91
- control: {
92
- type: string;
93
- };
94
- options: string[];
95
- };
96
- };
97
- args: {
98
- placeholder: string;
99
- disabled: boolean;
100
- readonly: boolean;
101
- label: string;
102
- labelPosition: string;
103
- helper: string;
104
- maxLength: number;
105
- rows: number;
106
- state: string;
107
- variant: string;
108
- };
109
- };
110
- export default _default;
111
- export declare const Default: any;