@stlhorizon/vue-ui 3.2.0 → 3.3.1

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/README.md CHANGED
@@ -580,7 +580,7 @@ A dropdown menu component with customizable trigger and placement.
580
580
  </template>
581
581
  <DropdownItem @click="action1">Action 1</DropdownItem>
582
582
  <DropdownItem @click="action2">Action 2</DropdownItem>
583
- <DropdownItem variant="destructive" @click="delete">Delete</DropdownItem>
583
+ <DropdownItem variant="danger" @click="delete">Delete</DropdownItem>
584
584
  </Dropdown>
585
585
  </template>
586
586
 
@@ -607,7 +607,7 @@ An individual item within a dropdown menu.
607
607
  | `icon` | `String` | - | Icon name |
608
608
  | `shortcut` | `String` | - | Keyboard shortcut text |
609
609
  | `disabled` | `Boolean` | `false` | Whether disabled |
610
- | `variant` | `String` | `'default'` | Visual variant (default, destructive) |
610
+ | `variant` | `String` | `'default'` | Visual variant (default, danger) |
611
611
 
612
612
  ### Events
613
613
 
@@ -984,7 +984,7 @@ A versatile button component with multiple variants, sizes, and states.
984
984
 
985
985
  | Prop | Type | Default | Description |
986
986
  |------|------|---------|-------------|
987
- | `variant` | `String` | `'default'` | Visual style (default, destructive, outline, secondary, ghost, link, success, warning, info, subtle, dark, light, primaryOutline, destructiveOutline, successOutline, gradient) |
987
+ | `variant` | `String` | `'default'` | Visual style (default, danger, outline, secondary, ghost, link, success, warning, info, subtle, dark, light, primaryOutline, dangerOutline, successOutline, gradient) |
988
988
  | `size` | `String` | `'default'` | Size variant (default, xs, sm, lg, icon) |
989
989
  | `disabled` | `Boolean` | `false` | Whether the button is disabled |
990
990
  | `loading` | `Boolean` | `false` | Shows loading spinner |
@@ -1004,7 +1004,7 @@ A versatile button component with multiple variants, sizes, and states.
1004
1004
  <div class="space-x-2">
1005
1005
  <Button variant="default">Default</Button>
1006
1006
  <Button variant="outline" size="sm">Outline</Button>
1007
- <Button variant="destructive" :loading="true" loadingText="Deleting...">
1007
+ <Button variant="danger" :loading="true" loadingText="Deleting...">
1008
1008
  Delete
1009
1009
  </Button>
1010
1010
  <Button variant="icon" size="icon">
@@ -1030,7 +1030,7 @@ A notification component for displaying messages with different variants and opt
1030
1030
 
1031
1031
  | Prop | Type | Default | Description |
1032
1032
  |------|------|---------|-------------|
1033
- | `variant` | `String` | `'info'` | Alert style (info, success, warning, error, default, destructive) |
1033
+ | `variant` | `String` | `'info'` | Alert style (info, success, warning, error, default, danger) |
1034
1034
  | `title` | `String` | - | Alert title |
1035
1035
  | `message` | `String` | - | Alert message |
1036
1036
  | `dismissible` | `Boolean` | `false` | Show dismiss button |
@@ -1091,7 +1091,7 @@ A small label component for displaying status, tags, or counts with multiple var
1091
1091
 
1092
1092
  | Prop | Type | Default | Description |
1093
1093
  |------|------|---------|-------------|
1094
- | `variant` | `String` | `'default'` | Visual style (default, secondary, destructive, primary, outline, success, warning, info, ghost, link, subtle, dark, light, primaryOutline, destructiveOutline, successOutline, gradient) |
1094
+ | `variant` | `String` | `'default'` | Visual style (default, secondary, danger, primary, outline, success, warning, info, ghost, link, subtle, dark, light, primaryOutline, dangerOutline, successOutline, gradient) |
1095
1095
  | `size` | `String` | `'md'` | Size variant (sm, md, lg) |
1096
1096
  | `shape` | `String` | `'rounded'` | Shape variant (rounded, pill, square) |
1097
1097
  | `icon` | `String \| Object` | `null` | Icon component |
@@ -1120,7 +1120,7 @@ A small label component for displaying status, tags, or counts with multiple var
1120
1120
  <Badge variant="secondary">Secondary</Badge>
1121
1121
  <Badge variant="success" size="sm">Active</Badge>
1122
1122
  <Badge variant="warning" shape="pill">Pending</Badge>
1123
- <Badge variant="destructive" icon="ExclamationIcon">Error</Badge>
1123
+ <Badge variant="danger" icon="ExclamationIcon">Error</Badge>
1124
1124
  <Badge variant="info">Info</Badge>
1125
1125
  <Badge variant="ghost">Ghost</Badge>
1126
1126
  <Badge variant="link">Link</Badge>
@@ -1128,7 +1128,7 @@ A small label component for displaying status, tags, or counts with multiple var
1128
1128
  <Badge variant="dark">Dark</Badge>
1129
1129
  <Badge variant="light">Light</Badge>
1130
1130
  <Badge variant="primaryOutline">Primary Outline</Badge>
1131
- <Badge variant="destructiveOutline">Destructive Outline</Badge>
1131
+ <Badge variant="dangerOutline">danger Outline</Badge>
1132
1132
  <Badge variant="successOutline">Success Outline</Badge>
1133
1133
  <Badge variant="gradient">Gradient</Badge>
1134
1134
  <Badge variant="outline" dismissible @dismiss="handleDismiss">
@@ -1968,7 +1968,7 @@ A progress bar component for showing completion status.
1968
1968
  | `value` | `Number` | `0` | Current progress value |
1969
1969
  | `max` | `Number` | `100` | Maximum value |
1970
1970
  | `size` | `String` | `'default'` | Size variant (sm, default, md, lg) |
1971
- | `variant` | `String` | `'default'` | Color variant (default, success, warning, destructive) |
1971
+ | `variant` | `String` | `'default'` | Color variant (default, success, warning, danger) |
1972
1972
 
1973
1973
  ### Example
1974
1974
 
@@ -1978,7 +1978,7 @@ A progress bar component for showing completion status.
1978
1978
  <Progress :value="progress" />
1979
1979
  <Progress :value="75" variant="success" size="sm" />
1980
1980
  <Progress :value="50" variant="warning" />
1981
- <Progress :value="25" variant="destructive" size="lg" />
1981
+ <Progress :value="25" variant="danger" size="lg" />
1982
1982
  </div>
1983
1983
  </template>
1984
1984