@cal.macconnachie/web-components 1.0.2 → 1.0.4

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
@@ -4,7 +4,6 @@ A collection of lightweight, framework-agnostic web components built with Lit.
4
4
 
5
5
  ## Components
6
6
 
7
- - **auth-form** - Authentication with OAuth and email/password
8
7
  - **base-button** - Customizable button component
9
8
  - **base-card** - Card container component
10
9
  - **base-date-picker** - Date selection input
@@ -27,14 +26,13 @@ Load from CDN:
27
26
  <script type="module" src="https://cdn.cals-api.com/index.js"></script>
28
27
 
29
28
  <!-- Or load individual components -->
30
- <script type="module" src="https://cdn.cals-api.com/components/auth-form.js"></script>
29
+ <script type="module" src="https://cdn.cals-api.com/components/base-button.js"></script>
31
30
  ```
32
31
 
33
32
  Use in your HTML:
34
33
 
35
34
  ```html
36
- <base-button>Click me</base-button>
37
- <auth-form app-name="My App"></auth-form>
35
+ <base-button variant="solid-primary">Primary</base-button>
38
36
  ```
39
37
 
40
38
  ## Playground
package/dist/index.d.ts CHANGED
@@ -436,7 +436,7 @@ export declare class BaseTimePicker extends BaseElement {
436
436
 
437
437
  declare type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
438
438
 
439
- declare type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'ghost-danger' | 'ghost-warning' | 'ghost-info' | 'ghost-success';
439
+ declare type ButtonVariant = 'solid-primary' | 'solid-secondary' | 'solid-danger' | 'solid-warning' | 'solid-info' | 'solid-success' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'outlined-warning' | 'outlined-info' | 'outlined-success' | 'ghost-primary' | 'ghost-secondary' | 'ghost-danger' | 'ghost-warning' | 'ghost-info' | 'ghost-success' | 'link-primary' | 'link-secondary' | 'link-danger' | 'link-warning' | 'link-info' | 'link-success' | 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';
440
440
 
441
441
  declare type CardPadding = 'auto' | 'none' | 'sm' | 'md' | 'lg';
442
442