vueless 0.0.627 → 0.0.629

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.627",
3
+ "version": "0.0.629",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -66,7 +66,7 @@
66
66
  "@vue/eslint-config-prettier": "^10.0.0",
67
67
  "@vue/eslint-config-typescript": "^14.1.1",
68
68
  "@vue/tsconfig": "^0.5.1",
69
- "@vueless/storybook": "^0.0.52",
69
+ "@vueless/storybook": "^0.0.53",
70
70
  "@vueless/web-types": "^0.0.21",
71
71
  "autoprefixer": "^10.4.19",
72
72
  "cssnano": "^6.1.2",
@@ -300,33 +300,27 @@ watchEffect(() => {
300
300
  @keydown.esc="deactivate"
301
301
  @keydown="onTextInputKeyDown"
302
302
  >
303
- <template #left>
304
- <!-- @slot Use it add something before the date. -->
305
- <slot name="left" />
306
- </template>
307
-
308
- <template #left-icon="{ iconName }">
303
+ <template #left="{ iconName }">
309
304
  <!--
310
- @slot Use it add an icon before the date.
305
+ @slot Use it add something before the date.
311
306
  @binding {string} icon-name
312
307
  -->
313
308
  <slot name="left-icon" :icon-name="iconName" />
314
309
  </template>
315
310
 
316
311
  <template #right-icon="{ iconName }">
312
+ <slot name="left" :icon-name="iconName" />
313
+ </template>
314
+
315
+ <template #right="{ iconName }">
317
316
  <!--
318
- @slot Use it add an icon after the date.
317
+ @slot Use it add something after the date.
319
318
  @binding {string} icon-name
320
319
  -->
321
- <slot name="right-icon" :icon-name="iconName">
320
+ <slot name="right" :icon-name="iconName">
322
321
  <UIcon :name="iconName" color="gray" v-bind="rightIconAttrs" />
323
322
  </slot>
324
323
  </template>
325
-
326
- <template #right>
327
- <!-- @slot Use it add something after the date. -->
328
- <slot name="right" />
329
- </template>
330
324
  </UInput>
331
325
 
332
326
  <Transition v-bind="config.datepickerCalendarTransition">
@@ -178,27 +178,3 @@ export const RightIcon = DefaultTemplate.bind({});
178
178
  RightIcon.args = {
179
179
  rightIcon: "star",
180
180
  };
181
-
182
- export const LeftIconSlot = DefaultTemplate.bind({});
183
- LeftIconSlot.args = {
184
- slotTemplate: `
185
- <template #left-icon>
186
- <UIcon
187
- name="archive"
188
- color="red"
189
- />
190
- </template>
191
- `,
192
- };
193
-
194
- export const RightIconSlot = DefaultTemplate.bind({});
195
- RightIconSlot.args = {
196
- slotTemplate: `
197
- <template #right-icon>
198
- <UIcon
199
- name="archive"
200
- color="red"
201
- />
202
- </template>
203
- `,
204
- };
@@ -600,30 +600,23 @@ watchEffect(() => {
600
600
  @focus="activate"
601
601
  @keydown.esc="deactivate"
602
602
  >
603
- <template #left>
604
- <!-- @slot Use it to add something before the date. -->
605
- <slot name="left" />
606
- </template>
607
-
608
- <template #left-icon>
609
- <!-- @slot Use it to add icon before the date. -->
610
- <slot name="left-icon" />
603
+ <template #left="{ iconName }">
604
+ <!--
605
+ @slot Use it to add something before the date.
606
+ @binding {string} icon-name
607
+ -->
608
+ <slot name="left" :icon-name="iconName" />
611
609
  </template>
612
610
 
613
- <template #right-icon="{ iconName }">
611
+ <template #right="{ iconName }">
614
612
  <!--
615
- @slot Use it add an icon after the date.
613
+ @slot Use it to add something after the date.
616
614
  @binding {string} icon-name
617
615
  -->
618
- <slot name="right-icon" :icon-name="iconName">
616
+ <slot name="right" :icon-name="iconName">
619
617
  <UIcon :name="iconName" color="gray" v-bind="rightIconAttrs" />
620
618
  </slot>
621
619
  </template>
622
-
623
- <template #right>
624
- <!-- @slot Use it to add something after the date. -->
625
- <slot name="right" />
626
- </template>
627
620
  </UInput>
628
621
 
629
622
  <div v-if="isVariant.button" v-bind="buttonWrapperAttrs">
@@ -194,32 +194,6 @@ LeftIcon.args = { leftIcon: "star", variant: "input" };
194
194
  export const RightIcon = DefaultTemplate.bind({});
195
195
  RightIcon.args = { rightIcon: "star", variant: "input" };
196
196
 
197
- export const LeftIconSlot = DefaultTemplate.bind({});
198
- LeftIconSlot.args = {
199
- variant: "input",
200
- slotTemplate: `
201
- <template #left-icon>
202
- <UIcon
203
- name="archive"
204
- color="red"
205
- />
206
- </template>
207
- `,
208
- };
209
-
210
- export const RightIconSlot = DefaultTemplate.bind({});
211
- RightIconSlot.args = {
212
- variant: "input",
213
- slotTemplate: `
214
- <template #right-icon>
215
- <UIcon
216
- name="archive"
217
- color="red"
218
- />
219
- </template>
220
- `,
221
- };
222
-
223
197
  export const LeftSlot = DefaultTemplate.bind({});
224
198
  LeftSlot.args = {
225
199
  variant: "input",
@@ -203,8 +203,7 @@ useMutationObserver(leftSlotWrapperRef, (mutations) => {
203
203
  });
204
204
 
205
205
  function setLabelPosition() {
206
- const shouldAlignLabelOnTop =
207
- !hasSlotContent(slots["left-icon"]) && !hasSlotContent(slots["left"]) && !props.leftIcon;
206
+ const shouldAlignLabelOnTop = !hasSlotContent(slots["left"]) && !props.leftIcon;
208
207
 
209
208
  if (props.labelAlign === "top" || shouldAlignLabelOnTop) {
210
209
  return;
@@ -245,10 +244,11 @@ const {
245
244
  wrapperAttrs,
246
245
  inputLabelAttrs,
247
246
  passwordIconAttrs,
248
- leftIconWrapperAttrs,
249
247
  leftIconAttrs,
248
+ leftSlotAttrs,
250
249
  rightIconAttrs,
251
- rightIconWrapperAttrs,
250
+ rightSlotAttrs,
251
+ passwordIconWrapperAttrs,
252
252
  } = useUI<Config>(defaultConfig, mutatedProps);
253
253
  </script>
254
254
 
@@ -267,22 +267,17 @@ const {
267
267
  v-bind="inputLabelAttrs"
268
268
  >
269
269
  <label :for="elementId" v-bind="wrapperAttrs">
270
- <span v-if="hasSlotContent($slots['left'])" ref="leftSlotWrapperRef">
271
- <!-- @slot Use it to add something before the text. -->
272
- <slot name="left" />
273
- </span>
274
-
275
270
  <span
276
- v-if="hasSlotContent($slots['left-icon']) || leftIcon"
271
+ v-if="hasSlotContent($slots['left']) || leftIcon"
272
+ v-bind="leftSlotAttrs"
277
273
  ref="leftSlotWrapperRef"
278
- v-bind="leftIconWrapperAttrs"
279
274
  >
280
275
  <!--
281
- @slot Use it to add icon before the text.
276
+ @slot Use it to add something before the text.
282
277
  @binding {string} icon-name
283
278
  -->
284
- <slot name="left-icon" :icon-name="leftIcon">
285
- <UIcon v-if="leftIcon" :name="leftIcon" internal v-bind="leftIconAttrs" />
279
+ <slot name="left" :icon-name="leftIcon">
280
+ <UIcon v-if="leftIcon" internal color="inherit" :name="leftIcon" v-bind="leftIconAttrs" />
286
281
  </slot>
287
282
  </span>
288
283
 
@@ -308,7 +303,7 @@ const {
308
303
  @copy="onCopy"
309
304
  />
310
305
 
311
- <label v-if="isTypePassword" v-bind="rightIconWrapperAttrs" :for="elementId">
306
+ <label v-if="isTypePassword" v-bind="passwordIconWrapperAttrs" :for="elementId">
312
307
  <UIcon
313
308
  v-if="isTypePassword"
314
309
  :name="passwordIcon"
@@ -321,18 +316,21 @@ const {
321
316
  />
322
317
  </label>
323
318
 
324
- <span v-if="hasSlotContent($slots['right-icon']) || rightIcon" v-bind="rightIconWrapperAttrs">
319
+ <div v-if="hasSlotContent($slots['right']) || rightIcon" v-bind="rightSlotAttrs">
325
320
  <!--
326
- @slot Use it to add icon after the text.
321
+ @slot Use it to add something after the text.
327
322
  @binding {string} icon-name
328
323
  -->
329
- <slot name="right-icon" :icon-name="rightIcon">
330
- <UIcon v-if="rightIcon" :name="rightIcon" internal v-bind="rightIconAttrs" />
324
+ <slot name="right" :icon-name="rightIcon">
325
+ <UIcon
326
+ v-if="rightIcon"
327
+ internal
328
+ color="inherit"
329
+ :name="rightIcon"
330
+ v-bind="rightIconAttrs"
331
+ />
331
332
  </slot>
332
- </span>
333
-
334
- <!-- @slot Use it to add something after the text. -->
335
- <slot name="right" />
333
+ </div>
336
334
  </label>
337
335
  </ULabel>
338
336
  </template>
@@ -22,8 +22,6 @@ export default /*tw*/ {
22
22
  },
23
23
  },
24
24
  },
25
- rightIconWrapper: "flex items-center justify-end whitespace-nowrap pr-2.5 gap-1 rounded-inherit rounded-l-none",
26
- leftIconWrapper: "flex items-center justify-end whitespace-nowrap pl-2.5 gap-1 rounded-inherit rounded-r-none",
27
25
  inputIcon: {
28
26
  base: "{UIcon}",
29
27
  defaults: {
@@ -37,6 +35,9 @@ export default /*tw*/ {
37
35
  leftIcon: "{UIcon} {>inputIcon}",
38
36
  rightIcon: "{UIcon} {>inputIcon}",
39
37
  passwordIcon: "{UIcon} {>inputIcon}",
38
+ passwordIconWrapper: "flex items-center justify-end whitespace-nowrap pr-2.5 gap-1 rounded-inherit rounded-l-none",
39
+ leftSlot: "pl-3 flex items-center",
40
+ rightSlot: "pr-3 flex items-center",
40
41
  input: {
41
42
  base: `
42
43
  block w-full py-2 px-3 font-normal !leading-none text-gray-900 bg-transparent
@@ -110,36 +110,11 @@ LeftIcon.args = { leftIcon: "star" };
110
110
  export const RightIcon = DefaultTemplate.bind({});
111
111
  RightIcon.args = { rightIcon: "star" };
112
112
 
113
- export const LeftIconSlot = DefaultTemplate.bind({});
114
- LeftIconSlot.args = {
115
- slotTemplate: `
116
- <template #left-icon>
117
- <UIcon
118
- name="star"
119
- color="green"
120
- />
121
- </template>
122
- `,
123
- };
124
-
125
- export const RightIconSlot = DefaultTemplate.bind({});
126
- RightIconSlot.args = {
127
- slotTemplate: `
128
- <template #right-icon>
129
- <UIcon
130
- interactive
131
- name="star"
132
- color="green"
133
- />
134
- </template>
135
- `,
136
- };
137
-
138
113
  export const LeftSlot = DefaultTemplate.bind({});
139
114
  LeftSlot.args = {
140
115
  slotTemplate: `
141
116
  <template #left>
142
- <UButton variant="thirdary" filled square noRing label="Filter" class="rounded-r-none h-full" />
117
+ <UIcon name="star" />
143
118
  </template>
144
119
  `,
145
120
  };
@@ -148,7 +123,7 @@ export const RightSlot = DefaultTemplate.bind({});
148
123
  RightSlot.args = {
149
124
  slotTemplate: `
150
125
  <template #right>
151
- <UButton variant="thirdary" filled square noRing label="Filter" class="rounded-l-none" />
126
+ <UIcon name="star" />
152
127
  </template>
153
128
  `,
154
129
  };
@@ -130,23 +130,19 @@ const { moneyInputAttrs } = useUI<Config>(defaultConfig);
130
130
  @input="onInput"
131
131
  >
132
132
  <template #left>
133
- <!-- @slot Use it to add something left. -->
134
- <slot name="left" />
135
- </template>
136
-
137
- <template #left-icon>
138
- <!-- @slot Use it to add icon before the text. -->
139
- <slot name="left-icon" />
140
- </template>
141
-
142
- <template #right-icon>
143
- <!-- @slot Use it to add icon after the text. -->
144
- <slot name="right-icon" />
133
+ <!--
134
+ @slot Use it to add something left.
135
+ @binding {string} icon-name
136
+ -->
137
+ <slot name="left" :icon-name="leftIcon" />
145
138
  </template>
146
139
 
147
140
  <template #right>
148
- <!-- @slot Use it to add something right. -->
149
- <slot name="right" />
141
+ <!--
142
+ @slot Use it to add something right.
143
+ @binding {string} icon-name
144
+ -->
145
+ <slot name="right" :icon-name="leftIcon" />
150
146
  </template>
151
147
  </UInput>
152
148
  </template>
@@ -125,30 +125,6 @@ LeftIcon.args = { leftIcon: "star" };
125
125
  export const RightIcon = DefaultTemplate.bind({});
126
126
  RightIcon.args = { rightIcon: "star" };
127
127
 
128
- export const LeftIconSlot = DefaultTemplate.bind({});
129
- LeftIconSlot.args = {
130
- slotTemplate: `
131
- <template #left-icon>
132
- <UIcon
133
- name="archive"
134
- color="red"
135
- />
136
- </template>
137
- `,
138
- };
139
-
140
- export const RightIconSlot = DefaultTemplate.bind({});
141
- RightIconSlot.args = {
142
- slotTemplate: `
143
- <template #right-icon>
144
- <UIcon
145
- name="archive"
146
- color="red"
147
- />
148
- </template>
149
- `,
150
- };
151
-
152
128
  export const LeftSlot = DefaultTemplate.bind({});
153
129
  LeftSlot.args = {
154
130
  slotTemplate: `
@@ -104,9 +104,14 @@ defineExpose({
104
104
  * Get element / nested component attributes for each config token ✨
105
105
  * Applies: `class`, `config`, redefined default `props` and dev `vl-...` attributes.
106
106
  */
107
-
108
- const { config, searchInputAttrs, searchIconAttrs, clearIconAttrs, searchButtonAttrs } =
109
- useUI<Config>(defaultConfig);
107
+ const {
108
+ config,
109
+ searchInputAttrs,
110
+ searchInputWithButtonAttrs,
111
+ searchIconAttrs,
112
+ clearIconAttrs,
113
+ searchButtonAttrs,
114
+ } = useUI<Config>(defaultConfig);
110
115
  </script>
111
116
 
112
117
  <template>
@@ -124,7 +129,7 @@ const { config, searchInputAttrs, searchIconAttrs, clearIconAttrs, searchButtonA
124
129
  :placeholder="placeholder"
125
130
  inputmode="search"
126
131
  :left-icon="leftIcon"
127
- v-bind="searchInputAttrs"
132
+ v-bind="searchButtonLabel ? searchInputWithButtonAttrs : searchInputAttrs"
128
133
  :data-test="dataTest"
129
134
  @update:model-value="onUpdateValue"
130
135
  @keyup.enter="onKeyupEnter"
@@ -134,12 +139,7 @@ const { config, searchInputAttrs, searchIconAttrs, clearIconAttrs, searchButtonA
134
139
  <slot name="left" />
135
140
  </template>
136
141
 
137
- <template #left-icon>
138
- <!-- @slot Use it to add icon before the text. -->
139
- <slot name="left-icon" />
140
- </template>
141
-
142
- <template #right-icon>
142
+ <template #right>
143
143
  <UIcon
144
144
  v-if="localValue"
145
145
  internal
@@ -151,10 +151,13 @@ const { config, searchInputAttrs, searchIconAttrs, clearIconAttrs, searchButtonA
151
151
  @click="onClickClear"
152
152
  />
153
153
 
154
- <!-- @slot Use it to add icon after the text. -->
154
+ <!--
155
+ @slot Use it to add something after the text.
156
+ @binding {string} icon-name
157
+ -->
155
158
  <slot
156
- name="right-icon"
157
- :icon-name="config.defaults.searchIcon"
159
+ name="right"
160
+ :icon-name="rightIcon || config.defaults.searchIcon"
158
161
  :search-button-label="searchButtonLabel"
159
162
  >
160
163
  <UIcon
@@ -166,12 +169,7 @@ const { config, searchInputAttrs, searchIconAttrs, clearIconAttrs, searchButtonA
166
169
  :data-test="`${dataTest}-search-icon`"
167
170
  @click="onClickSearch"
168
171
  />
169
- </slot>
170
- </template>
171
172
 
172
- <template #right>
173
- <!-- @slot Use it to add something after the text. -->
174
- <slot name="right">
175
173
  <UButton
176
174
  v-if="searchButtonLabel"
177
175
  :label="searchButtonLabel"
@@ -1,5 +1,9 @@
1
1
  export default /*tw*/ {
2
2
  searchInput: "{UInput}",
3
+ searchInputWithButton: {
4
+ base: "{UInput} {>searchInput}",
5
+ rightSlot: "pr-0",
6
+ },
3
7
  clearIcon: {
4
8
  base: "{UIcon}",
5
9
  defaults: {
@@ -86,35 +86,11 @@ LeftIcon.args = { leftIcon: "star" };
86
86
  export const RightIcon = DefaultTemplate.bind({});
87
87
  RightIcon.args = { rightIcon: "star" };
88
88
 
89
- export const LeftIconSlot = DefaultTemplate.bind({});
90
- LeftIconSlot.args = {
91
- slotTemplate: `
92
- <template #left-icon>
93
- <UIcon
94
- name="archive"
95
- color="red"
96
- />
97
- </template>
98
- `,
99
- };
100
-
101
- export const RightIconSlot = DefaultTemplate.bind({});
102
- RightIconSlot.args = {
103
- slotTemplate: `
104
- <template #right-icon>
105
- <UIcon
106
- name="archive"
107
- color="red"
108
- />
109
- </template>
110
- `,
111
- };
112
-
113
89
  export const LeftSlot = DefaultTemplate.bind({});
114
90
  LeftSlot.args = {
115
91
  slotTemplate: `
116
92
  <template #left>
117
- <UButton variant="thirdary" filled square label="Filter" class="rounded-r-none h-full" />
93
+ <UIcon name="star" />
118
94
  </template>
119
95
  `,
120
96
  };
@@ -123,7 +99,7 @@ export const RightSlot = DefaultTemplate.bind({});
123
99
  RightSlot.args = {
124
100
  slotTemplate: `
125
101
  <template #right>
126
- <UButton variant="thirdary" filled square label="Filter" class="rounded-l-none" />
102
+ <UIcon name="star" />
127
103
  </template>
128
104
  `,
129
105
  };
@@ -335,11 +335,7 @@ function onMouseDownClear() {
335
335
  }
336
336
 
337
337
  function setLabelPosition() {
338
- if (
339
- props.labelAlign === "top" ||
340
- !hasSlotContent(slots["left"]) ||
341
- (!hasSlotContent(slots["left-icon"]) && !props.leftIcon)
342
- ) {
338
+ if (props.labelAlign === "top" || (!hasSlotContent(slots["left"]) && !props.leftIcon)) {
343
339
  return;
344
340
  }
345
341
 
@@ -423,8 +419,8 @@ const {
423
419
  selectLabelAttrs,
424
420
  wrapperAttrs,
425
421
  innerWrapperAttrs,
426
- leftIconWrapperAttrs,
427
- rightIconWrapperAttrs,
422
+ leftSlotAttrs,
423
+ rightSlotAttrs,
428
424
  leftIconAttrs,
429
425
  rightIconAttrs,
430
426
  beforeCaretAttrs,
@@ -473,15 +469,12 @@ const {
473
469
  @keydown.enter.tab.stop.self="dropdownListRef?.addPointerElement()"
474
470
  @keyup.esc="deactivate"
475
471
  >
476
- <!-- @slot Use it to add something right. -->
477
- <slot name="right" />
478
-
479
- <div v-if="hasSlotContent($slots['right-icon']) || rightIcon" v-bind="rightIconWrapperAttrs">
472
+ <div v-if="hasSlotContent($slots['right']) || rightIcon" v-bind="rightSlotAttrs">
480
473
  <!--
481
- @slot Use it to add icon right.
474
+ @slot Use it to add something to the right of input.
482
475
  @binding {string} icon-name
483
476
  -->
484
- <slot name="right-icon" :icon-name="rightIcon">
477
+ <slot name="right" :icon-name="rightIcon">
485
478
  <UIcon v-if="rightIcon" :name="rightIcon" internal v-bind="rightIconAttrs" />
486
479
  </slot>
487
480
  </div>
@@ -554,24 +547,19 @@ const {
554
547
 
555
548
  <div ref="innerWrapperRef" v-bind="innerWrapperAttrs">
556
549
  <span
557
- v-if="hasSlotContent($slots['left-icon']) || leftIcon"
550
+ v-if="hasSlotContent($slots['left']) || leftIcon"
558
551
  ref="leftSlotWrapperRef"
559
- v-bind="leftIconWrapperAttrs"
552
+ v-bind="leftSlotAttrs"
560
553
  >
561
554
  <!--
562
- @slot Use it to add icon left.
555
+ @slot Use it to add something to the left of input.
563
556
  @binding {string} icon-name
564
557
  -->
565
- <slot name="left-icon" :icon-name="leftIcon">
558
+ <slot name="left" :icon-name="leftIcon">
566
559
  <UIcon v-if="leftIcon" :name="leftIcon" internal v-bind="leftIconAttrs" />
567
560
  </slot>
568
561
  </span>
569
562
 
570
- <span v-if="hasSlotContent($slots['left'])" ref="leftSlotWrapperRef">
571
- <!-- @slot Use it to add something left. -->
572
- <slot name="left" />
573
- </span>
574
-
575
563
  <div v-if="multiple && localValue?.length" v-bind="selectedLabelsAttrs">
576
564
  <div
577
565
  v-for="item in localValue as Option[]"
@@ -75,10 +75,10 @@ export default /*tw*/ {
75
75
  },
76
76
  },
77
77
  },
78
- leftIconWrapper: "pr-1.5",
79
- rightIconWrapper: "{>caret} pr-3",
80
78
  leftIcon: "{UIcon} {>selectIcon}",
81
79
  rightIcon: "{UIcon} {>selectIcon}",
80
+ leftSlot: "pr-1.5",
81
+ rightSlot: "{>caret} pr-3",
82
82
  beforeCaret: "{>caret}",
83
83
  afterCaret: "{>caret} mr-3",
84
84
  caret: {
@@ -290,24 +290,6 @@ LeftIcon.args = { leftIcon: "star" };
290
290
  export const RightIcon = DefaultTemplate.bind({});
291
291
  RightIcon.args = { rightIcon: "star" };
292
292
 
293
- export const LeftIconSlot = DefaultTemplate.bind({});
294
- LeftIconSlot.args = {
295
- slotTemplate: `
296
- <template #left-icon>
297
- <UIcon name="star" color="green" />
298
- </template>
299
- `,
300
- };
301
-
302
- export const RightIconSlot = DefaultTemplate.bind({});
303
- RightIconSlot.args = {
304
- slotTemplate: `
305
- <template #right-icon>
306
- <UIcon name="star" color="green" />
307
- </template>
308
- `,
309
- };
310
-
311
293
  export const SlotLeft = DefaultTemplate.bind({});
312
294
  SlotLeft.args = {
313
295
  slotTemplate: `
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.627",
4
+ "version": "0.0.629",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -3101,14 +3101,10 @@
3101
3101
  }
3102
3102
  ],
3103
3103
  "slots": [
3104
- {
3105
- "name": "left",
3106
- "description": "Use it add something before the date."
3107
- },
3108
3104
  {
3109
3105
  "name": "left-icon",
3110
3106
  "scoped": true,
3111
- "description": "Use it add an icon before the date.",
3107
+ "description": "Use it add something before the date.",
3112
3108
  "bindings": [
3113
3109
  {
3114
3110
  "type": "string",
@@ -3117,19 +3113,24 @@
3117
3113
  ]
3118
3114
  },
3119
3115
  {
3120
- "name": "right-icon",
3116
+ "name": "left",
3121
3117
  "scoped": true,
3122
- "description": "Use it add an icon after the date.",
3123
3118
  "bindings": [
3124
3119
  {
3125
- "type": "string",
3126
3120
  "name": "icon-name"
3127
3121
  }
3128
3122
  ]
3129
3123
  },
3130
3124
  {
3131
3125
  "name": "right",
3132
- "description": "Use it add something after the date."
3126
+ "scoped": true,
3127
+ "description": "Use it add something after the date.",
3128
+ "bindings": [
3129
+ {
3130
+ "type": "string",
3131
+ "name": "icon-name"
3132
+ }
3133
+ ]
3133
3134
  }
3134
3135
  ],
3135
3136
  "exposes": [
@@ -3425,16 +3426,8 @@
3425
3426
  "slots": [
3426
3427
  {
3427
3428
  "name": "left",
3428
- "description": "Use it to add something before the date."
3429
- },
3430
- {
3431
- "name": "left-icon",
3432
- "description": "Use it to add icon before the date."
3433
- },
3434
- {
3435
- "name": "right-icon",
3436
3429
  "scoped": true,
3437
- "description": "Use it add an icon after the date.",
3430
+ "description": "Use it to add something before the date.",
3438
3431
  "bindings": [
3439
3432
  {
3440
3433
  "type": "string",
@@ -3444,7 +3437,14 @@
3444
3437
  },
3445
3438
  {
3446
3439
  "name": "right",
3447
- "description": "Use it to add something after the date."
3440
+ "scoped": true,
3441
+ "description": "Use it to add something after the date.",
3442
+ "bindings": [
3443
+ {
3444
+ "type": "string",
3445
+ "name": "icon-name"
3446
+ }
3447
+ ]
3448
3448
  }
3449
3449
  ],
3450
3450
  "source": {
@@ -5998,12 +5998,8 @@
5998
5998
  "slots": [
5999
5999
  {
6000
6000
  "name": "left",
6001
- "description": "Use it to add something before the text."
6002
- },
6003
- {
6004
- "name": "left-icon",
6005
6001
  "scoped": true,
6006
- "description": "Use it to add icon before the text.",
6002
+ "description": "Use it to add something before the text.",
6007
6003
  "bindings": [
6008
6004
  {
6009
6005
  "type": "string",
@@ -6012,19 +6008,15 @@
6012
6008
  ]
6013
6009
  },
6014
6010
  {
6015
- "name": "right-icon",
6011
+ "name": "right",
6016
6012
  "scoped": true,
6017
- "description": "Use it to add icon after the text.",
6013
+ "description": "Use it to add something after the text.",
6018
6014
  "bindings": [
6019
6015
  {
6020
6016
  "type": "string",
6021
6017
  "name": "icon-name"
6022
6018
  }
6023
6019
  ]
6024
- },
6025
- {
6026
- "name": "right",
6027
- "description": "Use it to add something after the text."
6028
6020
  }
6029
6021
  ],
6030
6022
  "exposes": [
@@ -6490,19 +6482,25 @@
6490
6482
  "slots": [
6491
6483
  {
6492
6484
  "name": "left",
6493
- "description": "Use it to add something left."
6494
- },
6495
- {
6496
- "name": "left-icon",
6497
- "description": "Use it to add icon before the text."
6498
- },
6499
- {
6500
- "name": "right-icon",
6501
- "description": "Use it to add icon after the text."
6485
+ "scoped": true,
6486
+ "description": "Use it to add something left. ",
6487
+ "bindings": [
6488
+ {
6489
+ "type": "string",
6490
+ "name": "icon-name"
6491
+ }
6492
+ ]
6502
6493
  },
6503
6494
  {
6504
6495
  "name": "right",
6505
- "description": "Use it to add something right."
6496
+ "scoped": true,
6497
+ "description": "Use it to add something right. ",
6498
+ "bindings": [
6499
+ {
6500
+ "type": "string",
6501
+ "name": "icon-name"
6502
+ }
6503
+ ]
6506
6504
  }
6507
6505
  ],
6508
6506
  "exposes": [
@@ -7102,25 +7100,18 @@
7102
7100
  "description": "Use it to add something before the text."
7103
7101
  },
7104
7102
  {
7105
- "name": "left-icon",
7106
- "description": "Use it to add icon before the text."
7107
- },
7108
- {
7109
- "name": "right-icon",
7103
+ "name": "right",
7110
7104
  "scoped": true,
7111
- "description": "Use it to add icon after the text.",
7105
+ "description": "Use it to add something after the text. ",
7112
7106
  "bindings": [
7113
7107
  {
7108
+ "type": "string",
7114
7109
  "name": "icon-name"
7115
7110
  },
7116
7111
  {
7117
7112
  "name": "search-button-label"
7118
7113
  }
7119
7114
  ]
7120
- },
7121
- {
7122
- "name": "right",
7123
- "description": "Use it to add something after the text."
7124
7115
  }
7125
7116
  ],
7126
7117
  "exposes": [
@@ -10130,12 +10121,8 @@
10130
10121
  "slots": [
10131
10122
  {
10132
10123
  "name": "right",
10133
- "description": "Use it to add something right."
10134
- },
10135
- {
10136
- "name": "right-icon",
10137
10124
  "scoped": true,
10138
- "description": "Use it to add icon right.",
10125
+ "description": "Use it to add something to the right of input.",
10139
10126
  "bindings": [
10140
10127
  {
10141
10128
  "type": "string",
@@ -10192,9 +10179,9 @@
10192
10179
  ]
10193
10180
  },
10194
10181
  {
10195
- "name": "left-icon",
10182
+ "name": "left",
10196
10183
  "scoped": true,
10197
- "description": "Use it to add icon left.",
10184
+ "description": "Use it to add something to the left of input.",
10198
10185
  "bindings": [
10199
10186
  {
10200
10187
  "type": "string",
@@ -10202,10 +10189,6 @@
10202
10189
  }
10203
10190
  ]
10204
10191
  },
10205
- {
10206
- "name": "left",
10207
- "description": "Use it to add something left."
10208
- },
10209
10192
  {
10210
10193
  "name": "selected-label",
10211
10194
  "scoped": true,