@3t-transform/threeteeui 0.1.29 → 0.1.30

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 (138) hide show
  1. package/dist/cjs/{index-b8a62ede.js → index-457ca775.js} +16 -0
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/tttx-button.cjs.entry.js +24 -24
  4. package/dist/cjs/tttx-filter.cjs.entry.js +159 -159
  5. package/dist/cjs/tttx-form.cjs.entry.js +376 -364
  6. package/dist/cjs/tttx-icon.cjs.entry.js +11 -11
  7. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +59 -59
  8. package/dist/cjs/tttx-list.cjs.entry.js +43 -43
  9. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
  10. package/dist/cjs/tttx-sorter.cjs.entry.js +102 -102
  11. package/dist/cjs/tttx-standalone-input.cjs.entry.js +62 -62
  12. package/dist/cjs/tttx-toolbar.cjs.entry.js +10 -10
  13. package/dist/cjs/tttx.cjs.js +2 -2
  14. package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -110
  15. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +14 -14
  16. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -62
  17. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -22
  18. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +109 -109
  19. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +38 -38
  20. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -67
  21. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
  22. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +334 -334
  23. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +62 -62
  24. package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +37 -35
  25. package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +58 -58
  26. package/dist/collection/components/molecules/tttx-form/tttx-form.css +5 -0
  27. package/dist/collection/components/molecules/tttx-form/tttx-form.js +396 -364
  28. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +248 -127
  29. package/dist/collection/components/molecules/tttx-list/tttx-list.js +105 -105
  30. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +43 -43
  31. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +224 -224
  32. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +42 -42
  33. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.css +5 -0
  34. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +645 -645
  35. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +163 -163
  36. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +44 -44
  37. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +14 -14
  38. package/dist/collection/components/palette.stories.js +7 -7
  39. package/dist/collection/docs/gettingstarted-developer.stories.js +5 -5
  40. package/dist/collection/icons.js +2838 -2838
  41. package/dist/collection/index.js +1 -1
  42. package/dist/collection/shared/domsanitiser.options.js +14 -14
  43. package/dist/components/tttx-button.js +48 -48
  44. package/dist/components/tttx-filter.js +191 -191
  45. package/dist/components/tttx-form.js +394 -381
  46. package/dist/components/tttx-icon2.js +28 -28
  47. package/dist/components/tttx-keyvalue-block.js +76 -76
  48. package/dist/components/tttx-list.js +65 -65
  49. package/dist/components/tttx-loading-spinner.js +33 -33
  50. package/dist/components/tttx-sorter.js +130 -130
  51. package/dist/components/tttx-standalone-input.js +110 -110
  52. package/dist/components/tttx-toolbar.js +26 -26
  53. package/dist/esm/{index-e888a5f4.js → index-d784fb3e.js} +16 -0
  54. package/dist/esm/loader.js +3 -3
  55. package/dist/esm/polyfills/core-js.js +0 -0
  56. package/dist/esm/polyfills/dom.js +0 -0
  57. package/dist/esm/polyfills/es5-html-element.js +0 -0
  58. package/dist/esm/polyfills/index.js +0 -0
  59. package/dist/esm/polyfills/system.js +0 -0
  60. package/dist/esm/tttx-button.entry.js +24 -24
  61. package/dist/esm/tttx-filter.entry.js +159 -159
  62. package/dist/esm/tttx-form.entry.js +376 -364
  63. package/dist/esm/tttx-icon.entry.js +11 -11
  64. package/dist/esm/tttx-keyvalue-block.entry.js +59 -59
  65. package/dist/esm/tttx-list.entry.js +43 -43
  66. package/dist/esm/tttx-loading-spinner.entry.js +16 -16
  67. package/dist/esm/tttx-sorter.entry.js +102 -102
  68. package/dist/esm/tttx-standalone-input.entry.js +62 -62
  69. package/dist/esm/tttx-toolbar.entry.js +10 -10
  70. package/dist/esm/tttx.js +3 -3
  71. package/dist/tttx/p-0ebffdfc.js +2 -0
  72. package/dist/tttx/p-1112ed2e.entry.js +1 -0
  73. package/dist/tttx/p-13495422.entry.js +1 -0
  74. package/dist/tttx/{p-ccd0065e.entry.js → p-1ed7a43d.entry.js} +1 -1
  75. package/dist/tttx/p-237fe0d5.entry.js +1 -0
  76. package/dist/tttx/p-2731fbc6.entry.js +1 -0
  77. package/dist/tttx/p-280b8e45.entry.js +1 -0
  78. package/dist/tttx/p-3772f4d0.entry.js +1 -0
  79. package/dist/tttx/p-390d97dd.entry.js +1 -0
  80. package/dist/tttx/p-49796abf.entry.js +1 -0
  81. package/dist/tttx/p-4f68f1eb.entry.js +1 -0
  82. package/dist/tttx/p-53793ed2.entry.js +1 -0
  83. package/dist/tttx/p-5f335153.entry.js +1 -0
  84. package/dist/tttx/p-60a0fee2.entry.js +1 -0
  85. package/dist/tttx/p-6ab75c0b.entry.js +1 -0
  86. package/dist/tttx/{p-5631f7c2.entry.js → p-6b006ccf.entry.js} +1 -1
  87. package/dist/tttx/p-6cbe1824.entry.js +1 -0
  88. package/dist/tttx/p-6cefa1ce.entry.js +1 -0
  89. package/dist/tttx/{p-6dff6b5a.entry.js → p-72e7f7dd.entry.js} +1 -1
  90. package/dist/tttx/{p-dc5c356b.entry.js → p-798a098a.entry.js} +1 -1
  91. package/dist/tttx/p-824af346.entry.js +1 -0
  92. package/dist/tttx/{p-b3a03986.entry.js → p-91e42647.entry.js} +1 -1
  93. package/dist/tttx/{p-043f9b8a.entry.js → p-b720c4ad.entry.js} +1 -1
  94. package/dist/tttx/p-c06f1207.entry.js +1 -0
  95. package/dist/tttx/p-c0a15524.entry.js +1 -0
  96. package/dist/tttx/{p-96bbf1ed.entry.js → p-c4162029.entry.js} +1 -1
  97. package/dist/tttx/p-c7c968dd.entry.js +1 -0
  98. package/dist/tttx/{p-82bb3136.entry.js → p-cac26a1b.entry.js} +1 -1
  99. package/dist/tttx/p-ce728715.entry.js +1 -0
  100. package/dist/tttx/p-d3932db5.entry.js +1 -0
  101. package/dist/tttx/p-d575ef2d.entry.js +1 -0
  102. package/dist/tttx/{p-7578055e.entry.js → p-d83edcfb.entry.js} +1 -1
  103. package/dist/tttx/p-d8e03ed6.entry.js +1 -0
  104. package/dist/tttx/p-ebb496a2.entry.js +1 -0
  105. package/dist/tttx/p-fb5e737b.entry.js +1 -0
  106. package/dist/tttx/p-fce571c2.entry.js +1 -0
  107. package/dist/tttx/tttx.esm.js +1 -1
  108. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -10
  109. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -10
  110. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -5
  111. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -20
  112. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +7 -7
  113. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +9 -9
  114. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -6
  115. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -17
  116. package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +39 -39
  117. package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +68 -68
  118. package/dist/types/components/molecules/tttx-form/lib/setErrorState.d.ts +13 -13
  119. package/dist/types/components/molecules/tttx-form/lib/validityCheck.d.ts +17 -17
  120. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +111 -114
  121. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +13 -13
  122. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +11 -11
  123. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +14 -14
  124. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.d.ts +19 -19
  125. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.stories.d.ts +30 -30
  126. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +60 -60
  127. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +128 -128
  128. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.d.ts +4 -4
  129. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.stories.d.ts +13 -13
  130. package/dist/types/components/palette.stories.d.ts +6 -6
  131. package/dist/types/components.d.ts +3 -2
  132. package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -5
  133. package/dist/types/icons.d.ts +2 -2
  134. package/dist/types/index.d.ts +1 -1
  135. package/dist/types/shared/domsanitiser.options.d.ts +10 -10
  136. package/package.json +1 -1
  137. package/dist/tttx/p-65adb464.entry.js +0 -1
  138. package/dist/tttx/p-f764ffc4.js +0 -2
@@ -1,83 +1,83 @@
1
- import icons from '../../../icons';
2
- export default {
3
- title: 'Molecules/Standalone Input',
4
- component: 'tttx-standalone-input',
5
- argTypes: {
6
- iconleft: {
7
- options: icons,
8
- control: { type: 'select' },
9
- },
10
- iconright: {
11
- options: icons,
12
- control: { type: 'select' },
13
- },
14
- inputicon: {
15
- options: icons,
16
- control: { type: 'select' },
17
- },
18
- label: {
19
- control: { type: 'text' },
20
- },
21
- secondarylabel: {
22
- control: { type: 'text' },
23
- },
24
- errormsg: {
25
- control: { type: 'text' },
26
- },
27
- showerrorbubble: {
28
- control: { type: 'boolean' },
29
- },
30
- showerrormsg: {
31
- control: { type: 'boolean' },
32
- },
33
- inline: {
34
- control: { type: 'boolean' },
35
- },
36
- checked: {
37
- control: { type: 'boolean' },
38
- },
39
- disabled: {
40
- control: { type: 'boolean' },
41
- },
42
- max: {
43
- control: { type: 'text' },
44
- },
45
- maxlength: {
46
- control: { type: 'text' },
47
- },
48
- min: {
49
- control: { type: 'text' },
50
- },
51
- minlength: {
52
- control: { type: 'text' },
53
- },
54
- name: {
55
- control: { type: 'text' },
56
- },
57
- pattern: {
58
- control: { type: 'text' },
59
- },
60
- placeholder: {
61
- control: { type: 'text' },
62
- },
63
- readonly: {
64
- control: { type: 'boolean' },
65
- },
66
- required: {
67
- control: { type: 'boolean' },
68
- },
69
- step: {
70
- control: { type: 'text' },
71
- },
72
- type: {
73
- options: ['text', 'password', 'email', 'number'],
74
- control: { type: 'radio' },
75
- },
76
- value: {
77
- control: { type: 'text' },
78
- },
79
- },
80
- };
1
+ import icons from '../../../icons';
2
+ export default {
3
+ title: 'Molecules/Standalone Input',
4
+ component: 'tttx-standalone-input',
5
+ argTypes: {
6
+ iconleft: {
7
+ options: icons,
8
+ control: { type: 'select' },
9
+ },
10
+ iconright: {
11
+ options: icons,
12
+ control: { type: 'select' },
13
+ },
14
+ inputicon: {
15
+ options: icons,
16
+ control: { type: 'select' },
17
+ },
18
+ label: {
19
+ control: { type: 'text' },
20
+ },
21
+ secondarylabel: {
22
+ control: { type: 'text' },
23
+ },
24
+ errormsg: {
25
+ control: { type: 'text' },
26
+ },
27
+ showerrorbubble: {
28
+ control: { type: 'boolean' },
29
+ },
30
+ showerrormsg: {
31
+ control: { type: 'boolean' },
32
+ },
33
+ inline: {
34
+ control: { type: 'boolean' },
35
+ },
36
+ checked: {
37
+ control: { type: 'boolean' },
38
+ },
39
+ disabled: {
40
+ control: { type: 'boolean' },
41
+ },
42
+ max: {
43
+ control: { type: 'text' },
44
+ },
45
+ maxlength: {
46
+ control: { type: 'text' },
47
+ },
48
+ min: {
49
+ control: { type: 'text' },
50
+ },
51
+ minlength: {
52
+ control: { type: 'text' },
53
+ },
54
+ name: {
55
+ control: { type: 'text' },
56
+ },
57
+ pattern: {
58
+ control: { type: 'text' },
59
+ },
60
+ placeholder: {
61
+ control: { type: 'text' },
62
+ },
63
+ readonly: {
64
+ control: { type: 'boolean' },
65
+ },
66
+ required: {
67
+ control: { type: 'boolean' },
68
+ },
69
+ step: {
70
+ control: { type: 'text' },
71
+ },
72
+ type: {
73
+ options: ['text', 'password', 'email', 'number'],
74
+ control: { type: 'radio' },
75
+ },
76
+ value: {
77
+ control: { type: 'text' },
78
+ },
79
+ },
80
+ };
81
81
  const TemplateTextInput = ({ iconleft, iconright, inputicon, label, secondarylabel, errormsg, showerrorbubble, showerrormsg, inline, checked, disabled, max, maxlength, min, minlength, name, pattern, placeholder, readonly, required, step, type, value, }) => `
82
82
  <tttx-standalone-input
83
83
  iconleft="${iconleft || ''}"
@@ -104,86 +104,86 @@ const TemplateTextInput = ({ iconleft, iconright, inputicon, label, secondarylab
104
104
  type="${type}"
105
105
  value="${value}"
106
106
  />
107
- `;
108
- export const InputField = TemplateTextInput.bind({});
109
- InputField.args = {
110
- value: '',
111
- label: 'First name',
112
- secondarylabel: 'First name can be up to 100 characters long',
113
- maxlength: '100',
114
- type: 'text',
115
- errormsg: 'Please enter your first name',
116
- required: false,
117
- showerrormsg: false,
118
- placeholder: 'Enter first name',
119
- };
120
- export const searchField = TemplateTextInput.bind({});
121
- searchField.args = {
122
- value: '',
123
- label: '',
124
- type: 'text',
125
- errormsg: 'Please enter your first name',
126
- required: true,
127
- showerrormsg: false,
128
- showerrorbubble: false,
129
- placeholder: 'Search',
130
- inline: false,
131
- inputicon: 'search',
132
- iconright: 'cancel'
133
- };
134
- // export const TextInputIconLeft = TemplateTextInput.bind({});
135
- // TextInputIconLeft.args = {
136
- // value: 'Uh egg',
137
- // label: 'Please tell me about your egg',
138
- // iconleft: 'egg',
139
- // type: 'text',
140
- // errormsg: 'Incorrect egg, please egg again.',
141
- // required: true,
142
- // showerrormsg: true,
143
- // placeholder: 'Please for the love of god tell me about your egg',
144
- // };
145
- // export const TextInputIconRight = TemplateTextInput.bind({});
146
- // TextInputIconRight.args = {
147
- // value: 'Uh egg',
148
- // label: 'Please tell me about your egg',
149
- // iconright: 'egg',
150
- // type: 'text',
151
- // errormsg: 'Incorrect egg, please egg again.',
152
- // required: true,
153
- // showerrormsg: true,
154
- // placeholder: 'Please for the love of god tell me about your egg',
155
- // };
156
- // export const PasswordInputBasic = TemplateTextInput.bind({});
157
- // PasswordInputBasic.args = {
158
- // value: 'qwefdweferg',
159
- // label: 'Input your Password',
160
- // iconleft: 'lock',
161
- // type: 'password',
162
- // errormsg: 'Password is not strong enough',
163
- // required: true,
164
- // showerrormsg: true,
165
- // placeholder: 'Your password',
166
- // };
167
- // export const EmailInputBasic = TemplateTextInput.bind({});
168
- // EmailInputBasic.args = {
169
- // value: 'email.address@website.com',
170
- // label: 'Choose an email address',
171
- // iconleft: 'mail',
172
- // type: 'email',
173
- // errormsg: 'This email smells funny',
174
- // required: true,
175
- // valid: false,
176
- // showerrormsg: true,
177
- // placeholder: 'Your email address',
178
- // };
179
- // export const NumberInputBasic = TemplateTextInput.bind({});
180
- // NumberInputBasic.args = {
181
- // value: '42069',
182
- // label: 'What is your favourite number?',
183
- // iconleft: '123',
184
- // type: 'number',
185
- // errormsg: 'This number feels wrong',
186
- // required: true,
187
- // showerrormsg: true,
188
- // placeholder: 'Your favourite number',
189
- // };
107
+ `;
108
+ export const InputField = TemplateTextInput.bind({});
109
+ InputField.args = {
110
+ value: '',
111
+ label: 'First name',
112
+ secondarylabel: 'First name can be up to 100 characters long',
113
+ maxlength: '100',
114
+ type: 'text',
115
+ errormsg: 'Please enter your first name',
116
+ required: false,
117
+ showerrormsg: false,
118
+ placeholder: 'Enter first name',
119
+ };
120
+ export const searchField = TemplateTextInput.bind({});
121
+ searchField.args = {
122
+ value: '',
123
+ label: '',
124
+ type: 'text',
125
+ errormsg: 'Please enter your first name',
126
+ required: true,
127
+ showerrormsg: false,
128
+ showerrorbubble: false,
129
+ placeholder: 'Search',
130
+ inline: false,
131
+ inputicon: 'search',
132
+ iconright: 'cancel'
133
+ };
134
+ // export const TextInputIconLeft = TemplateTextInput.bind({});
135
+ // TextInputIconLeft.args = {
136
+ // value: 'Uh egg',
137
+ // label: 'Please tell me about your egg',
138
+ // iconleft: 'egg',
139
+ // type: 'text',
140
+ // errormsg: 'Incorrect egg, please egg again.',
141
+ // required: true,
142
+ // showerrormsg: true,
143
+ // placeholder: 'Please for the love of god tell me about your egg',
144
+ // };
145
+ // export const TextInputIconRight = TemplateTextInput.bind({});
146
+ // TextInputIconRight.args = {
147
+ // value: 'Uh egg',
148
+ // label: 'Please tell me about your egg',
149
+ // iconright: 'egg',
150
+ // type: 'text',
151
+ // errormsg: 'Incorrect egg, please egg again.',
152
+ // required: true,
153
+ // showerrormsg: true,
154
+ // placeholder: 'Please for the love of god tell me about your egg',
155
+ // };
156
+ // export const PasswordInputBasic = TemplateTextInput.bind({});
157
+ // PasswordInputBasic.args = {
158
+ // value: 'qwefdweferg',
159
+ // label: 'Input your Password',
160
+ // iconleft: 'lock',
161
+ // type: 'password',
162
+ // errormsg: 'Password is not strong enough',
163
+ // required: true,
164
+ // showerrormsg: true,
165
+ // placeholder: 'Your password',
166
+ // };
167
+ // export const EmailInputBasic = TemplateTextInput.bind({});
168
+ // EmailInputBasic.args = {
169
+ // value: 'email.address@website.com',
170
+ // label: 'Choose an email address',
171
+ // iconleft: 'mail',
172
+ // type: 'email',
173
+ // errormsg: 'This email smells funny',
174
+ // required: true,
175
+ // valid: false,
176
+ // showerrormsg: true,
177
+ // placeholder: 'Your email address',
178
+ // };
179
+ // export const NumberInputBasic = TemplateTextInput.bind({});
180
+ // NumberInputBasic.args = {
181
+ // value: '42069',
182
+ // label: 'What is your favourite number?',
183
+ // iconleft: '123',
184
+ // type: 'number',
185
+ // errormsg: 'This number feels wrong',
186
+ // required: true,
187
+ // showerrormsg: true,
188
+ // placeholder: 'Your favourite number',
189
+ // };
@@ -1,44 +1,44 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import { h, Host } from '@stencil/core';
3
- export class TttxToolbar {
4
- constructor() {
5
- this.border = true;
6
- }
7
- render() {
8
- return (h(Host, { class: this.border ? 'bordered' : '' }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' })));
9
- }
10
- static get is() { return "tttx-toolbar"; }
11
- static get encapsulation() { return "shadow"; }
12
- static get originalStyleUrls() {
13
- return {
14
- "$": ["tttx-toolbar.scss"]
15
- };
16
- }
17
- static get styleUrls() {
18
- return {
19
- "$": ["tttx-toolbar.css"]
20
- };
21
- }
22
- static get properties() {
23
- return {
24
- "border": {
25
- "type": "boolean",
26
- "mutable": false,
27
- "complexType": {
28
- "original": "boolean",
29
- "resolved": "boolean",
30
- "references": {}
31
- },
32
- "required": false,
33
- "optional": false,
34
- "docs": {
35
- "tags": [],
36
- "text": ""
37
- },
38
- "attribute": "border",
39
- "reflect": false,
40
- "defaultValue": "true"
41
- }
42
- };
43
- }
44
- }
1
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
+ import { h, Host } from '@stencil/core';
3
+ export class TttxToolbar {
4
+ constructor() {
5
+ this.border = true;
6
+ }
7
+ render() {
8
+ return (h(Host, { class: this.border ? 'bordered' : '' }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' })));
9
+ }
10
+ static get is() { return "tttx-toolbar"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["tttx-toolbar.scss"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["tttx-toolbar.css"]
20
+ };
21
+ }
22
+ static get properties() {
23
+ return {
24
+ "border": {
25
+ "type": "boolean",
26
+ "mutable": false,
27
+ "complexType": {
28
+ "original": "boolean",
29
+ "resolved": "boolean",
30
+ "references": {}
31
+ },
32
+ "required": false,
33
+ "optional": false,
34
+ "docs": {
35
+ "tags": [],
36
+ "text": ""
37
+ },
38
+ "attribute": "border",
39
+ "reflect": false,
40
+ "defaultValue": "true"
41
+ }
42
+ };
43
+ }
44
+ }
@@ -1,20 +1,20 @@
1
- export default {
2
- title: 'molecules/Toolbar',
3
- component: 'tttx-toolbar',
4
- argTypes: {
5
- border: {
6
- control: { type: 'boolean' }
7
- },
8
- },
9
- };
1
+ export default {
2
+ title: 'molecules/Toolbar',
3
+ component: 'tttx-toolbar',
4
+ argTypes: {
5
+ border: {
6
+ control: { type: 'boolean' }
7
+ },
8
+ },
9
+ };
10
10
  const Default = ({ border }) => `
11
11
  <tttx-toolbar border="${border ? 'true' : 'false'}">
12
12
  <span slot="before"><tttx-button design="primary">Before</tttx-button></span>
13
13
  <span slot="center"><div style="position: relative; top: -4px;"><tttx-standalone-input placeholder="center" inline required showerrorbubble="false" inputicon="search" /></div></span>
14
14
  <span slot="after"><tttx-keyvalue-block horizontal keyvalues='{"Position":"after"}' /></span>
15
15
  </tttx-toolbar>
16
- `;
17
- export const BasicStringList = Default.bind({});
18
- BasicStringList.args = {
19
- border: true
20
- };
16
+ `;
17
+ export const BasicStringList = Default.bind({});
18
+ BasicStringList.args = {
19
+ border: true
20
+ };
@@ -1,7 +1,7 @@
1
- export default {
2
- title: 'Foundations/Palette',
3
- component: 'tttx-palette',
4
- };
1
+ export default {
2
+ title: 'Foundations/Palette',
3
+ component: 'tttx-palette',
4
+ };
5
5
  const Swatch = (colour, name = '') => `
6
6
  <div class="swatch">
7
7
  <div class="swatchcontent" style="background-color:${colour};">
@@ -9,7 +9,7 @@ const Swatch = (colour, name = '') => `
9
9
  </div>
10
10
  <p>${name}</p>
11
11
  </div>
12
- `;
12
+ `;
13
13
  const Template = () => `
14
14
 
15
15
  <style>
@@ -84,5 +84,5 @@ ${Swatch('#EA6100', '$dv-high')}
84
84
  ${Swatch('#DC0000', '$dv-very-high')}
85
85
  ${Swatch('#A20000', '$dv-highest')}
86
86
 
87
- `;
88
- export const Default = Template.bind({});
87
+ `;
88
+ export const Default = Template.bind({});
@@ -1,9 +1,9 @@
1
- export default {
2
- title: 'Getting Started/Developer',
3
- };
1
+ export default {
2
+ title: 'Getting Started/Developer',
3
+ };
4
4
  const Template = () => `
5
5
  <tttx-typography>
6
6
  <p>Quick start guide for developers</p>
7
7
  </tttx-typography>
8
- `;
9
- export const Default = Template.bind({});
8
+ `;
9
+ export const Default = Template.bind({});