Skip to content

Commit c4284ae

Browse files
committed
Merge branch 'prime4'
# Conflicts: # package.json
2 parents 38cce2d + 32e883f commit c4284ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1253
-1581
lines changed

CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,75 @@
1+
## v2.0.3
2+
3+
[compare changes](https://github.com/sfxcode/formkit-primevue/compare/v2.0.2...v2.0.3)
4+
5+
### 🩹 Fixes
6+
7+
- **imports:** Removed direct import of PrimeVue components - ([6ef02e8](https://github.com/sfxcode/formkit-primevue/commit/6ef02e8))
8+
9+
### ❤️ Contributors
10+
11+
- Sfxcode ([@sfxcode](http://github.com/sfxcode))
12+
13+
## v2.0.2
14+
15+
[compare changes](https://github.com/sfxcode/formkit-primevue/compare/v2.0.1...v2.0.2)
16+
17+
### 🩹 Fixes
18+
19+
- **primevue4:** Remove TriStateCheckBox and add direct import of components ([fd8f4a9](https://github.com/sfxcode/formkit-primevue/commit/fd8f4a9))
20+
- **primevue4:** Remove TriStateCheckBox and add direct import of components ([7562160](https://github.com/sfxcode/formkit-primevue/commit/7562160))
21+
- **PrimeInputText:** Add imports ([57d8a39](https://github.com/sfxcode/formkit-primevue/commit/57d8a39))
22+
23+
### 💅 Refactors
24+
25+
- **primevue4:** Remove Imports for input components used by formkit ([f7411f5](https://github.com/sfxcode/formkit-primevue/commit/f7411f5))
26+
- **primevue4:** Some changes in demo app ([4231bbb](https://github.com/sfxcode/formkit-primevue/commit/4231bbb))
27+
- **primevue4:** Some changes in demo app ([c94c961](https://github.com/sfxcode/formkit-primevue/commit/c94c961))
28+
- **Toast:** Show header in meessage ([7a53172](https://github.com/sfxcode/formkit-primevue/commit/7a53172))
29+
30+
### 🏡 Chore
31+
32+
- **build:** Add pnpm as default package manager ([96facc6](https://github.com/sfxcode/formkit-primevue/commit/96facc6))
33+
34+
### ❤️ Contributors
35+
36+
- Sfxcode ([@sfxcode](http://github.com/sfxcode))
37+
38+
## v2.0.1
39+
40+
[compare changes](https://github.com/sfxcode/formkit-primevue/compare/v2.0.0...v2.0.1)
41+
42+
### 🩹 Fixes
43+
44+
- **PrimeInputText:** Remove iconPosition from IconField - property no longer exists in V4 ([314bf89](https://github.com/sfxcode/formkit-primevue/commit/314bf89))
45+
46+
### 🏡 Chore
47+
48+
- **dependencies:** Update to primevue 4 RC 3 ([485318b](https://github.com/sfxcode/formkit-primevue/commit/485318b))
49+
50+
### ❤️ Contributors
51+
52+
- Sfxcode ([@sfxcode](http://github.com/sfxcode))
53+
54+
## v2.0.0
55+
56+
[compare changes](https://github.com/sfxcode/formkit-primevue/compare/v1.11.3...v2.0.0)
57+
58+
### 💅 Refactors
59+
60+
- **primevue:** Update to primevue 4 ([2987e55](https://github.com/sfxcode/formkit-primevue/commit/2987e55))
61+
- **primevue:** Update to primevue 4 ([765d9e1](https://github.com/sfxcode/formkit-primevue/commit/765d9e1))
62+
63+
### 🏡 Chore
64+
65+
- **dependencies:** Update all ([3c826c5](https://github.com/sfxcode/formkit-primevue/commit/3c826c5))
66+
- **dependencies:** Update all ([ca00768](https://github.com/sfxcode/formkit-primevue/commit/ca00768))
67+
- **dependencies:** Update all ([6dbde4b](https://github.com/sfxcode/formkit-primevue/commit/6dbde4b))
68+
69+
### ❤️ Contributors
70+
71+
- Sfxcode ([@sfxcode](http://github.com/sfxcode))
72+
173
## v1.11.3
274

375
[compare changes](https://github.com/sfxcode/formkit-primevue/compare/v1.11.1...v1.11.3)

dev/components/app/AppTopbar.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const items = ref([
3434
{ label: 'InputNumber', icon: 'pi pi-fw pi-user-edit', route: '/inputs/inputNumber' },
3535
{ label: 'InputOtp', icon: 'pi pi-fw pi-user-edit', route: '/inputs/inputOtp' },
3636
{ label: 'InputMask', icon: 'pi pi-fw pi-user-edit', route: '/inputs/inputMask' },
37-
{ label: 'Calendar', icon: 'pi pi-fw pi-user-edit', route: '/inputs/calendar' },
37+
{ label: 'DatePicker', icon: 'pi pi-fw pi-user-edit', route: '/inputs/datePicker' },
3838
{ label: 'Chips', icon: 'pi pi-fw pi-user-edit', route: '/inputs/chips' },
3939
{ label: 'Editor', icon: 'pi pi-fw pi-user-edit', route: '/inputs/editor' },
4040
{ label: 'Password', icon: 'pi pi-fw pi-user-edit', route: '/inputs/password' },
@@ -44,8 +44,7 @@ const items = ref([
4444
label: 'Check',
4545
items: [
4646
{ label: 'Checkbox', icon: 'pi pi-fw pi-user-edit', route: '/inputs/checkBox' },
47-
{ label: 'TriStateCheckbox', icon: 'pi pi-fw pi-user-edit', route: '/inputs/triStateCheckbox' },
48-
{ label: 'InputSwitch', icon: 'pi pi-fw pi-user-edit', route: '/inputs/inputSwitch' },
47+
{ label: 'ToggleSwitch', icon: 'pi pi-fw pi-user-edit', route: '/inputs/toggleSwitch' },
4948
],
5049
},
5150
],
@@ -54,7 +53,7 @@ const items = ref([
5453
label: 'Select',
5554
items: [
5655
{ label: 'CascadeSelect', icon: 'pi pi-fw pi-user-edit', route: '/inputs/cascadeSelect' },
57-
{ label: 'Dropdown', icon: 'pi pi-fw pi-user-edit', route: '/inputs/dropdown' },
56+
{ label: 'Select', icon: 'pi pi-fw pi-user-edit', route: '/inputs/select' },
5857
{ label: 'Listbox', icon: 'pi pi-fw pi-user-edit', route: '/inputs/listbox' },
5958
{ label: 'MultiSelect', icon: 'pi pi-fw pi-user-edit', route: '/inputs/multiSelect' },
6059
{ label: 'RadioButton', icon: 'pi pi-fw pi-user-edit', route: '/inputs/radioButton' },

dev/components/demo/PrimeInput.vue

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const formData = ref(props.data)
2525
const documentationLink = `https://primevue.org/${props.header.replace('Prime', '').toLowerCase()}`
2626
2727
async function submitHandler() {
28-
showMessage('success', 'Form Submitted ...', 'Form submitted successfully')
2928
await new Promise(resolve => setTimeout(resolve, 2000))
29+
showMessage('success', 'Form Submitted ...', `${props.header} submitted successfully`)
3030
}
3131
</script>
3232

@@ -54,36 +54,49 @@ async function submitHandler() {
5454
<pre>{{ formData }}</pre>
5555
</div>
5656
<div class="">
57-
<TabView>
57+
<Tabs>
58+
<TabList>
59+
<Tab value="0">
60+
Supported Attributes
61+
</Tab>
62+
<Tab value="1">
63+
Schema Editor
64+
</Tab>
65+
<Tab value="2">
66+
Data Editor
67+
</Tab>
68+
</TabList>
5869
<TabPanel header="Schema">
5970
<pre>{{ formSchema }}</pre>
6071
</TabPanel>
61-
<TabPanel v-if="primeAttributes || customAttributes" header="Supported Attributes">
62-
<h4>Base Attributes</h4>
63-
<div>
64-
<span>disabled, readonly, style, class, tabindex, ariaLabel, ariaLabelledby, pt, ptOptions, unstyled</span>
65-
</div>
66-
<h4>PrimeVue Attributes</h4>
67-
<div>
68-
<a :href="documentationLink" target="_blank" class="text-xl">Open Documentation</a>
69-
</div>
70-
<div class="mt-2">
71-
<span>{{ primeAttributes }}</span>
72-
</div>
73-
<h4 v-if="customAttributes">
74-
Custom Attributes
75-
</h4>
76-
<div>
77-
<span v-if="customAttributes">{{ customAttributes }}</span>
78-
</div>
79-
</TabPanel>
80-
<TabPanel header="Schema Editor">
81-
<JsonEditorVue v-model="formSchema" v-bind="{ mode: 'tree' }" class="jse-theme-dark" />
82-
</TabPanel>
83-
<TabPanel header="Data Editor">
84-
<JsonEditorVue v-model="formData" v-bind="{ mode: 'tree' }" class="jse-theme-dark" />
85-
</TabPanel>
86-
</TabView>
72+
<TabPanels>
73+
<TabPanel v-if="primeAttributes || customAttributes" value="0">
74+
<h4>Base Attributes</h4>
75+
<div>
76+
<span>disabled, readonly, style, class, tabindex, ariaLabel, ariaLabelledby, pt, ptOptions, unstyled</span>
77+
</div>
78+
<h4>PrimeVue Attributes</h4>
79+
<div>
80+
<a :href="documentationLink" target="_blank" class="text-xl">Open Documentation</a>
81+
</div>
82+
<div class="mt-2">
83+
<span>{{ primeAttributes }}</span>
84+
</div>
85+
<h4 v-if="customAttributes">
86+
Custom Attributes
87+
</h4>
88+
<div>
89+
<span v-if="customAttributes">{{ customAttributes }}</span>
90+
</div>
91+
</TabPanel>
92+
<TabPanel value="1">
93+
<JsonEditorVue v-model="formSchema" v-bind="{ mode: 'tree' }" class="jse-theme-dark" />
94+
</TabPanel>
95+
<TabPanel value="2">
96+
<JsonEditorVue v-model="formData" v-bind="{ mode: 'tree' }" class="jse-theme-dark" />
97+
</TabPanel>
98+
</TabPanels>
99+
</Tabs>
87100
</div>
88101
</div>
89102
</div>

dev/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en" style="font-size: 14px;">
2+
<html lang="en" style="font-size: 14px;" class="p-dark">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" href="./assets/favicon.ico" />

0 commit comments

Comments
 (0)