vueless 0.0.605 → 0.0.606

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/constants.js CHANGED
@@ -171,21 +171,21 @@ export const TAILWIND_MERGE_EXTENSION = {
171
171
  "ring-offset-w": [{ "ring-offset": ["dynamic"] }],
172
172
  "ring-offset-color": [{ "ring-offset": ["color-dynamic"] }],
173
173
  "font-size": [{ text: ["2xs"] }],
174
- rounded: [{ rounded: ["dynamic"] }],
175
- "rounded-s": [{ "rounded-s": ["dynamic"] }],
176
- "rounded-e": [{ "rounded-e": ["dynamic"] }],
177
- "rounded-t": [{ "rounded-t": ["dynamic"] }],
178
- "rounded-r": [{ "rounded-r": ["dynamic"] }],
179
- "rounded-b": [{ "rounded-b": ["dynamic"] }],
180
- "rounded-l": [{ "rounded-l": ["dynamic"] }],
181
- "rounded-ss": [{ "rounded-ss": ["dynamic"] }],
182
- "rounded-se": [{ "rounded-se": ["dynamic"] }],
183
- "rounded-ee": [{ "rounded-ee": ["dynamic"] }],
184
- "rounded-es": [{ "rounded-es": ["dynamic"] }],
185
- "rounded-tl": [{ "rounded-tl": ["dynamic"] }],
186
- "rounded-tr": [{ "rounded-tr": ["dynamic"] }],
187
- "rounded-br": [{ "rounded-br": ["dynamic"] }],
188
- "rounded-bl": [{ "rounded-bl": ["dynamic"] }],
174
+ rounded: [{ rounded: ["dynamic", "inherit"] }],
175
+ "rounded-s": [{ "rounded-s": ["dynamic", "inherit"] }],
176
+ "rounded-e": [{ "rounded-e": ["dynamic", "inherit"] }],
177
+ "rounded-t": [{ "rounded-t": ["dynamic", "inherit"] }],
178
+ "rounded-r": [{ "rounded-r": ["dynamic", "inherit"] }],
179
+ "rounded-b": [{ "rounded-b": ["dynamic", "inherit"] }],
180
+ "rounded-l": [{ "rounded-l": ["dynamic", "inherit"] }],
181
+ "rounded-ss": [{ "rounded-ss": ["dynamic", "inherit"] }],
182
+ "rounded-se": [{ "rounded-se": ["dynamic", "inherit"] }],
183
+ "rounded-ee": [{ "rounded-ee": ["dynamic", "inherit"] }],
184
+ "rounded-es": [{ "rounded-es": ["dynamic", "inherit"] }],
185
+ "rounded-tl": [{ "rounded-tl": ["dynamic", "inherit"] }],
186
+ "rounded-tr": [{ "rounded-tr": ["dynamic", "inherit"] }],
187
+ "rounded-br": [{ "rounded-br": ["dynamic", "inherit"] }],
188
+ "rounded-bl": [{ "rounded-bl": ["dynamic", "inherit"] }],
189
189
  },
190
190
  },
191
191
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.605",
3
+ "version": "0.0.606",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -87,6 +87,7 @@ export const vuelessTailwindConfig = {
87
87
  "2xs": ["0.625rem", "0.875rem"] /* 10px / 14px */,
88
88
  },
89
89
  borderRadius: {
90
+ inherit: "inherit",
90
91
  dynamic: "var(--vl-rounding)",
91
92
  },
92
93
  ringWidth: {
@@ -4,10 +4,10 @@ export default /*tw*/ {
4
4
  datepickerInputActive: {
5
5
  base: "{UInput} {>datepickerInput}",
6
6
  wrapper: {
7
- base: "ring-dynamic rounded-dynamic ring-offset-dynamic ring-brand-700/15 border-brand-500 hover:border-brand-500",
7
+ base: "ring-dynamic ring-offset-dynamic ring-brand-700/15 border-brand-500 hover:border-brand-500",
8
8
  variants: {
9
9
  error: {
10
- true: "ring-red-700/15",
10
+ true: "ring-red-700/15 border-red-500 hover:border-red-500",
11
11
  },
12
12
  },
13
13
  },
@@ -4,10 +4,10 @@ export default /*tw*/ {
4
4
  datepickerInputActive: {
5
5
  base: "{UInput} {>datepickerInput}",
6
6
  wrapper: {
7
- base: "ring-dynamic rounded-dynamic ring-offset-dynamic ring-brand-700/15 border-brand-500 hover:border-brand-500",
7
+ base: "ring-dynamic ring-offset-dynamic ring-brand-700/15 border-brand-500 hover:border-brand-500",
8
8
  variants: {
9
9
  error: {
10
- true: "ring-red-700/15",
10
+ true: "ring-red-700/15 border-red-500 hover:border-red-500",
11
11
  },
12
12
  },
13
13
  },
@@ -16,21 +16,21 @@ export default /*tw*/ {
16
16
  },
17
17
  disabled: {
18
18
  true: `
19
- focus-within:ring-0 focus-within:ring-offset-0 bg-gray-100
19
+ focus-within:ring-0 focus-within:ring-offset-0 bg-gray-100
20
20
  hover:border-gray-300 focus-within:border-gray-300 hover:focus-within:border-gray-300
21
21
  `,
22
22
  },
23
23
  },
24
24
  },
25
- rightIconWrapper: "flex items-center justify-end whitespace-nowrap pr-2.5 gap-1 rounded-dynamic rounded-l-none",
26
- leftIconWrapper: "flex items-center justify-end whitespace-nowrap pl-2.5 gap-1 rounded-dynamic rounded-r-none",
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
27
  leftIcon: "{UIcon}",
28
28
  rightIcon: "{UIcon}",
29
29
  passwordIcon: "{UIcon}",
30
30
  input: {
31
31
  base: `
32
32
  block w-full py-2 px-3 font-normal !leading-none text-gray-900 bg-transparent
33
- border-none rounded-dynamic transition focus:ring-0
33
+ border-none rounded-inherit transition focus:ring-0
34
34
  placeholder:font-normal placeholder-gray-400
35
35
  disabled:text-gray-700 disabled:cursor-not-allowed
36
36
  `,
@@ -213,6 +213,7 @@ const { textareaAttrs, textareaLabelAttrs, textareaWrapperAttrs, leftSlotAttrs,
213
213
  <!-- @slot Use it to add something before the text. -->
214
214
  <slot name="left" />
215
215
  </label>
216
+
216
217
  <label ref="textareaWrapperRef" :for="elementId" v-bind="textareaWrapperAttrs">
217
218
  <textarea
218
219
  :id="elementId"
@@ -232,9 +233,10 @@ const { textareaAttrs, textareaLabelAttrs, textareaWrapperAttrs, leftSlotAttrs,
232
233
  @mousedown="onMousedown"
233
234
  @click="onClick"
234
235
  @keydown.enter="onEnter"
235
- @keydown.backspace="onBackspace"
236
+ @keydown.delete="onBackspace"
236
237
  />
237
238
  </label>
239
+
238
240
  <label v-if="hasSlotContent($slots['right'])" :for="elementId" v-bind="rightSlotAttrs">
239
241
  <!-- @slot Use it to add something after the text. -->
240
242
  <slot name="right" />
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.605",
4
+ "version": "0.0.606",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",