@charpente-ui/vue 1.0.0 → 1.1.0

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
@@ -81,12 +81,13 @@ The button can change its HTML tag while keeping its behavior.
81
81
 
82
82
  ## Components
83
83
 
84
- | Name | Status | Tag |
85
- |----------|--------|-------------|
86
- | Button | Ready | `CButton` |
87
- | Checkbox | Ready | `CCheckbox` |
88
- | Input | Ready | `CInput` |
89
- | Label | Ready | `CLabel` |
90
- | Radio | Ready | `CRadio` |
91
- | Select | Ready | `CSelect` |
92
- | Textarea | Ready | `CTextarea` |
84
+ | Name | Core Logic | Tag | Status |
85
+ |----------|----------------------------------------------------------------------------------|-------------|--------|
86
+ | Button | **Polymorphic:** Switches tags _(a, button, etc...)_ while keeping logic. | `CButton` | Ready |
87
+ | Checkbox | **Smart Toggle:** Handles array state and booleans natively. | `CCheckbox` | Ready |
88
+ | Form | **Auto-Submit:** Integrated `preventDefault` and event handling. | `CForm` | Ready |
89
+ | Input | **Auto-ID:** Auto-links to labels via `useId()` and full attributes inheritance. | `CInput` | Ready |
90
+ | Label | **Context-Aware:** Simple, accessible binding for any input. | `CLabel` | Ready |
91
+ | Radio | **Selection:** Minimalist wrapper for native radio input. | `CRadio` | Ready |
92
+ | Select | **Native Wrapper:** Easy option management without the boilerplate. | `CSelect` | Ready |
93
+ | Textarea | **Flexible Binding:** Auto-ID and reactive model management. | `CTextarea` | Ready |
@@ -0,0 +1,21 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ submit: (event: Event) => any;
12
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
13
+ onSubmit?: ((event: Event) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charpente-ui/vue",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Charpente UI is a headless CSS Vue component library.",
5
5
  "type": "module",
6
6
  "scripts": {