@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 +2 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1509 -1292
- package/package.json +4 -8
- package/dist/components/auth-form.js +0 -2436
- package/dist/components/base-button.js +0 -894
- package/dist/components/base-card.js +0 -879
- package/dist/components/base-date-picker.js +0 -1458
- package/dist/components/base-datetime-picker.js +0 -1697
- package/dist/components/base-drawer.js +0 -1300
- package/dist/components/base-input.js +0 -883
- package/dist/components/base-select.js +0 -1076
- package/dist/components/base-tab.js +0 -653
- package/dist/components/base-tabs.js +0 -1246
- package/dist/components/base-textarea.js +0 -921
- package/dist/components/base-time-picker.js +0 -1141
- package/dist/components/favicon.ico +0 -0
- package/dist/components/index.d.ts +0 -511
- package/dist/components/quantity-select.js +0 -859
- package/dist/components/theme-toggle.js +0 -807
- package/dist/favicon.ico +0 -0
- package/dist/stylesheets/main.css +0 -1
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/
|
|
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>
|
|
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' | '
|
|
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
|
|