vuiii 1.0.0-beta.89 → 1.0.0-beta.90

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.
@@ -1,4 +1,4 @@
1
- import { Extractor, InputSize, ValueParser } from '../types';
1
+ import { ButtonVariant, Extractor, InputSize, ValueParser } from '../types';
2
2
  type __VLS_Props = {
3
3
  options: any[] | any;
4
4
  optionLabel?: Extractor;
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  optionIcon?: Extractor;
8
8
  optionDescription?: Extractor;
9
9
  valueParser?: ValueParser<string>;
10
+ variant?: ButtonVariant;
10
11
  disabled?: boolean;
11
12
  size?: InputSize;
12
13
  };
package/dist/vuiii.js CHANGED
@@ -1333,6 +1333,7 @@ const gs = /* @__PURE__ */ B({
1333
1333
  optionIcon: { type: [String, Number, Function] },
1334
1334
  optionDescription: { type: [String, Number, Function] },
1335
1335
  valueParser: {},
1336
+ variant: {},
1336
1337
  disabled: { type: Boolean },
1337
1338
  size: {}
1338
1339
  }, {
@@ -1358,15 +1359,15 @@ const gs = /* @__PURE__ */ B({
1358
1359
  default: D(() => [
1359
1360
  (u(!0), f(M, null, O(s.value, (c) => (u(), V(se, {
1360
1361
  key: c.value,
1361
- variant: "primary",
1362
1362
  outlined: !c.isSelected,
1363
1363
  label: c.label,
1364
1364
  disabled: n.$props.disabled || c.disabled,
1365
1365
  title: c.description,
1366
1366
  "prefix-icon": c.icon,
1367
- size: n.$props.size,
1367
+ variant: e.variant,
1368
+ size: e.size,
1368
1369
  onClick: (r) => o.value = c.value
1369
- }, null, 8, ["outlined", "label", "disabled", "title", "prefix-icon", "size", "onClick"]))), 128))
1370
+ }, null, 8, ["outlined", "label", "disabled", "title", "prefix-icon", "variant", "size", "onClick"]))), 128))
1370
1371
  ]),
1371
1372
  _: 1
1372
1373
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vuiii",
3
- "version": "1.0.0-beta.89",
3
+ "version": "1.0.0-beta.90",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/greegus/vuiii.git"