@aerogel/cli 0.0.0-next.44f5953d2450ac149ceabae6448a967b9def9d2a → 0.0.0-next.46a3020f90bb19fb98d8b9c75a7228de4fe76346

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.
@@ -5,20 +5,20 @@
5
5
  :current-report="activeReportIndex + 1"
6
6
  :total-reports="reports.length"
7
7
  />
8
- <AGButton color="clear" :disabled="activeReportIndex === 0" @click="activeReportIndex--">
8
+ <Button color="ghost" :disabled="activeReportIndex === 0" @click="activeReportIndex--">
9
9
  {{ previousReportText }}
10
- </AGButton>
11
- <AGButton color="clear" :disabled="activeReportIndex === reports.length - 1" @click="activeReportIndex++">
10
+ </Button>
11
+ <Button color="ghost" :disabled="activeReportIndex === reports.length - 1" @click="activeReportIndex++">
12
12
  {{ nextReportText }}
13
- </AGButton>
13
+ </Button>
14
14
  <AGErrorReportModalButtons :report="report">
15
15
  <template
16
16
  #default="{ url, handler, iconComponent, description }: IAGErrorReportModalButtonsDefaultSlotProps"
17
17
  >
18
- <AGButton :url="url" :aria-label="description" @click="handler">
18
+ <Button :url="url" :aria-label="description" @click="handler">
19
19
  <component :is="iconComponent" />
20
20
  {{ description }}
21
- </AGButton>
21
+ </Button>
22
22
  </template>
23
23
  </AGErrorReportModalButtons>
24
24
  <AGMarkdown v-if="report.description" :text="report.description" />
@@ -11,12 +11,12 @@
11
11
 
12
12
  <script setup lang="ts">
13
13
  import { ref } from 'vue';
14
- import { useModalExpose, useModalProps } from '@aerogel/core';
14
+ import { modalExpose, modalProps } from '@aerogel/core';
15
15
  import type { IAGHeadlessModal, IAGModal } from '@aerogel/core';
16
16
 
17
- const props = defineProps(useModalProps());
17
+ const props = defineProps(modalProps());
18
18
  const $modal = ref<IAGHeadlessModal>();
19
19
 
20
20
  defineOptions({ inheritAttrs: false });
21
- defineExpose<IAGModal>(useModalExpose($modal));
21
+ defineExpose(modalExpose($modal));
22
22
  </script>
@@ -2,14 +2,14 @@
2
2
  <AGHeadlessSnackbar :class="colorClasses">
3
3
  <AGMarkdown :text="message" inline />
4
4
 
5
- <AGButton
5
+ <Button
6
6
  v-for="(action, i) of actions"
7
7
  :key="i"
8
- :color="color"
8
+ :variant="color"
9
9
  @click="activate(action)"
10
10
  >
11
11
  {{ action.text }}
12
- </AGButton>
12
+ </Button>
13
13
  </AGHeadlessSnackbar>
14
14
  </template>
15
15
 
@@ -2,21 +2,21 @@
2
2
  <Story :layout="{ type: 'grid', width: '90%' }">
3
3
  <Variant title="Playground">
4
4
  <div class="flex space-x-3">
5
- <AGButton @click="$ui.alert(alertTitle, alertMessage)">
5
+ <Button @click="$ui.alert(alertTitle, alertMessage)">
6
6
  Alert
7
- </AGButton>
8
- <AGButton @click="$ui.confirm(confirmTitle, confirmMessage)">
7
+ </Button>
8
+ <Button @click="$ui.confirm(confirmTitle, confirmMessage)">
9
9
  Confirm
10
- </AGButton>
11
- <AGButton @click="$ui.loading(loadingMessage, after({ seconds: loadingDuration }))">
10
+ </Button>
11
+ <Button @click="$ui.loading(loadingMessage, after({ seconds: loadingDuration }))">
12
12
  Loading
13
- </AGButton>
14
- <AGButton @click="$ui.showSnackbar(snackbarMessage, snackbarOptions)">
13
+ </Button>
14
+ <Button @click="$ui.showSnackbar(snackbarMessage, snackbarOptions)">
15
15
  Snackbar
16
- </AGButton>
17
- <AGButton @click="$errors.inspect(errorReports)">
16
+ </Button>
17
+ <Button @click="$errors.inspect(errorReports)">
18
18
  Error Report
19
- </AGButton>
19
+ </Button>
20
20
  </div>
21
21
 
22
22
  <AGAppOverlays />
@@ -1,6 +0,0 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
@@ -1,5 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- content: ['./index.html', './src/**/*.{vue,ts}', '<% &contentPath %>'],
4
- plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
5
- };
@@ -1,15 +0,0 @@
1
- const plugins = {
2
- tailwindcss: {},
3
- autoprefixer: {},
4
- };
5
-
6
- if (process.env.NODE_ENV === 'development') {
7
- plugins['postcss-pseudo-classes'] = {
8
- blacklist: [],
9
- restrictTo: ['focus', 'focus-visible', 'focus-within', 'hover'],
10
- allCombinations: true,
11
- preserveBeforeAfter: false,
12
- };
13
- }
14
-
15
- module.exports = { plugins };