@xui/spinner 2.0.0-alpha.8

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 ADDED
@@ -0,0 +1,162 @@
1
+ <p style="font-size: 5rem; font-weight: 700; text-align: center">
2
+ <span style="color: #1f75cb">x</span>UI
3
+ </p>
4
+
5
+ ---
6
+
7
+ ![Build Status](https://github.com/rikarin/xui/actions/workflows/publish.yaml/badge.svg?branch=develop)
8
+ [![Demo](https://img.shields.io/badge/demo-online-ed1c46)](https://xuijs.org/)
9
+ [![npm](https://img.shields.io/npm/v/%40xui/core.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/org/xui)
10
+ [![License](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](/LICENSE)
11
+ [![Netlify Status](https://api.netlify.com/api/v1/badges/fa0cfd14-97df-47fa-8a7c-152e6d4cfda2/deploy-status)](https://app.netlify.com/sites/xui/deploys)
12
+
13
+ xUI is a customizable Angular 20 UI Library with full support of TailwindCSS styling based on popular React library ShardCN and its Angular alternative SpartanUI.
14
+
15
+ ## Features
16
+
17
+ - **35+ High-Quality Angular Components:** Ready to use out of the box.
18
+ - **Powerful Theme Customization:** Detailed customization options with default themes.
19
+ - **High Performance:** Supports Zoneless, OnPush mode, and Signals for optimized performance.
20
+ - **Accessibility:** Supports WCAG 2.0 standards.
21
+ - **Powerful Theme Customization:** Install each visual component and customize it according your needs
22
+ - **TypeScript:** Written with predictable static types.
23
+
24
+ ## Table of Contents
25
+
26
+ - [Storybook](https://develop--67d2b4c756077a325913e5d9.chromatic.com/?globals=theme:dark)
27
+ - [StackBlitz Demo](https://stackblitz.com/fork/xui)
28
+ - [Documentation](https://xuijs.org)
29
+ - [Live Demo](https://cord.dj/r)
30
+ - [Packages](#packages)
31
+ - [Installation](#installation)
32
+ - [Browser Support](#browser-support)
33
+ - [Development](#development)
34
+ - [Issues](#issues)
35
+ - [Roadmap](#roadmap)
36
+
37
+ ## Packages
38
+
39
+ | Package | Usage | Description |
40
+ | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
41
+ | Core | [![Downloads](https://img.shields.io/npm/dt/%40xui/core.svg)](https://www.npmjs.com/package/%40xui/core)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/core.svg)](https://www.npmjs.com/package/%40xui/core)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/core)](https://bundlephobia.com/result?p=%40xui/core) | Core package required by all other packages |
42
+ | Badge | [![Downloads](https://img.shields.io/npm/dt/%40xui/badge.svg)](https://www.npmjs.com/package/%40xui/badge)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/badge.svg)](https://www.npmjs.com/package/%40xui/badge)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/badge)](https://bundlephobia.com/result?p=%40xui/badge) | Badge component |
43
+ | Breadcrumb | [![Downloads](https://img.shields.io/npm/dt/%40xui/breadcrumb.svg)](https://www.npmjs.com/package/%40xui/breadcrumb)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/breadcrumb.svg)](https://www.npmjs.com/package/%40xui/breadcrumb)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/breadcrumb)](https://bundlephobia.com/result?p=%40xui/breadcrumb) | Breadcrumb component |
44
+ | Button | [![Downloads](https://img.shields.io/npm/dt/%40xui/button.svg)](https://www.npmjs.com/package/%40xui/button)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/button.svg)](https://www.npmjs.com/package/%40xui/button)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/button)](https://bundlephobia.com/result?p=%40xui/button) | Button component |
45
+ | Button Group | [![Downloads](https://img.shields.io/npm/dt/%40xui/button-group.svg)](https://www.npmjs.com/package/%40xui/button-group)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/button-group.svg)](https://www.npmjs.com/package/%40xui/button-group)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/button-group)](https://bundlephobia.com/result?p=%40xui/button-group) | Button Group component |
46
+ | Checkbox | [![Downloads](https://img.shields.io/npm/dt/%40xui/checkbox.svg)](https://www.npmjs.com/package/%40xui/checkbox)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/checkbox.svg)](https://www.npmjs.com/package/%40xui/checkbox)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/checkbox)](https://bundlephobia.com/result?p=%40xui/checkbox) | Checkbox component |
47
+ | Form Field | [![Downloads](https://img.shields.io/npm/dt/%40xui/form-field.svg)](https://www.npmjs.com/package/%40xui/form-field)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/form-field.svg)](https://www.npmjs.com/package/%40xui/form-field)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/form-field)](https://bundlephobia.com/result?p=%40xui/form-field) | Form Field component |
48
+ | Icon | [![Downloads](https://img.shields.io/npm/dt/%40xui/icon.svg)](https://www.npmjs.com/package/%40xui/icon)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/icon.svg)](https://www.npmjs.com/package/%40xui/icon)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/icon)](https://bundlephobia.com/result?p=%40xui/icon) | Icon component |
49
+ | Input | [![Downloads](https://img.shields.io/npm/dt/%40xui/input.svg)](https://www.npmjs.com/package/%40xui/input)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/input.svg)](https://www.npmjs.com/package/%40xui/input)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/input)](https://bundlephobia.com/result?p=%40xui/input) | Input component |
50
+ | Label | [![Downloads](https://img.shields.io/npm/dt/%40xui/label.svg)](https://www.npmjs.com/package/%40xui/label)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/label.svg)](https://www.npmjs.com/package/%40xui/label)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/label)](https://bundlephobia.com/result?p=%40xui/label) | Label component |
51
+ | Skeleton | [![Downloads](https://img.shields.io/npm/dt/%40xui/skeleton.svg)](https://www.npmjs.com/package/%40xui/skeleton)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/skeleton.svg)](https://www.npmjs.com/package/%40xui/skeleton)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/skeleton)](https://bundlephobia.com/result?p=%40xui/skeleton) | Skeleton component |
52
+ | Sonner | [![Downloads](https://img.shields.io/npm/dt/%40xui/sonner.svg)](https://www.npmjs.com/package/%40xui/sonner)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/sonner.svg)](https://www.npmjs.com/package/%40xui/sonner)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/sonner)](https://bundlephobia.com/result?p=%40xui/sonner) | Sonner component |
53
+ | Status | [![Downloads](https://img.shields.io/npm/dt/%40xui/status.svg)](https://www.npmjs.com/package/%40xui/status)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/status.svg)](https://www.npmjs.com/package/%40xui/status)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/status)](https://bundlephobia.com/result?p=%40xui/status) | Status component |
54
+ | Table | [![Downloads](https://img.shields.io/npm/dt/%40xui/table.svg)](https://www.npmjs.com/package/%40xui/table)<br />[![Monthly Downloads](https://img.shields.io/npm/dm/%40xui/table.svg)](https://www.npmjs.com/package/%40xui/table)<br />[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/%40xui/table)](https://bundlephobia.com/result?p=%40xui/table) | Table component |
55
+
56
+ ## Installation
57
+
58
+ Install package with **PNPM**
59
+
60
+ ```bash
61
+ pnpm i @xui/core ....
62
+ ```
63
+
64
+ ## Browser Support
65
+
66
+ xUI Supports most recent browsers according to Angular [support](https://angular.io/guide/browser-support).
67
+
68
+ ## Development
69
+
70
+ The project uses `NX` and `Angular` to build the package.
71
+
72
+ To start docs page use
73
+
74
+ ```bash
75
+ pnpm start
76
+ ```
77
+
78
+ To start storybook use
79
+
80
+ ```bash
81
+ pnpm storybook
82
+ ```
83
+
84
+ ## Issues
85
+
86
+ If you find any issues in the library or have and idea for an improvement feel free to open an [issue](https://github.com/Rikarin/xui/issues).
87
+
88
+ ## Roadmap
89
+
90
+ - [ ] Accordion
91
+ - [ ] Alert
92
+ - [ ] Alert Dialog
93
+ - [ ] Avatar
94
+ - [ ] Calendar
95
+ - [ ] Card
96
+ - [ ] Carousel
97
+ - [ ] Collapsible
98
+ - [ ] Combobox
99
+ - [ ] Command
100
+ - [ ] Date Picker
101
+ - [ ] Date Range Picker
102
+ - [ ] Dialog
103
+ - [ ] Hover Card
104
+ - [ ] Menu
105
+ - [ ] Pagination
106
+ - [ ] Popover
107
+ - [ ] Progress
108
+ - [ ] Radio Group
109
+ - [ ] Scroll Area
110
+ - [ ] Select
111
+ - [ ] Separator
112
+ - [ ] Sheet
113
+ - [ ] Slider
114
+ - [ ] Spinner
115
+ - [ ] Switch
116
+ - [ ] Tabs
117
+ - [ ] Toggle
118
+ - [ ] Tooltip
119
+ - [ ] Typography
120
+ - [ ] Input OTP
121
+ - [ ] Toggle Group
122
+
123
+ ### Additional
124
+
125
+ - [ ] Decagram
126
+ - [ ] Settings
127
+ - [ ] Drawer
128
+ - [ ] Panel Bar
129
+ - [ ] Textarea
130
+ - [ ] Time Picker
131
+ - [ ] Image Upload
132
+ - [ ] Banner
133
+ - [ ] Snack bar
134
+
135
+ ## Opinionated "components"
136
+
137
+ - [ ] Graph View (Nodes)
138
+ - [ ] Analysis
139
+ - [ ] Charts (NG Charts?)
140
+
141
+ ## CLI
142
+
143
+ Make cli to install the components
144
+
145
+ ## TODO
146
+
147
+ - Button
148
+
149
+ - Icon
150
+ - Shine
151
+
152
+ - Breadcrumb
153
+
154
+ - fix styling issues
155
+ - on hover stuff
156
+ - data driven component
157
+
158
+ - Sonner
159
+
160
+ - Colors
161
+
162
+ - adjust generator to generate stories into the apps/storybook
@@ -0,0 +1,101 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, computed, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import { xui } from '@xui/core';
4
+ import { cva } from 'class-variance-authority';
5
+
6
+ const spinnerVariants = cva(['inline-block'], {
7
+ variants: {
8
+ variant: {
9
+ default: 'animate-spin'
10
+ },
11
+ size: {
12
+ xs: 'h-4 w-4',
13
+ sm: 'h-6 w-6',
14
+ md: 'w-8 h-8',
15
+ lg: 'w-12 h-12',
16
+ xl: 'w-16 h-16'
17
+ },
18
+ color: {
19
+ primary: '[&>svg]:text-primary/30 [&>svg]:fill-primary',
20
+ secondary: '[&>svg]:text-secondary/30 [&>svg]:fill-secondary',
21
+ success: '[&>svg]:text-success/30 [&>svg]:fill-success',
22
+ error: '[&>svg]:text-error/30 [&>svg]:fill-error',
23
+ info: '[&>svg]:text-info/30 [&>svg]:fill-info',
24
+ warning: '[&>svg]:text-warning/30 [&>svg]:fill-warning'
25
+ }
26
+ },
27
+ defaultVariants: {
28
+ variant: 'default',
29
+ size: 'md',
30
+ color: 'primary'
31
+ }
32
+ });
33
+ class XuiSpinnerComponent {
34
+ /** The user-defined classes */
35
+ class = input('');
36
+ color = input();
37
+ size = input();
38
+ variant = input();
39
+ /** The classes to apply to the component merged with the user-defined classes */
40
+ computedClass = computed(() => xui(spinnerVariants({ variant: this.variant(), color: this.color(), size: this.size() }), this.class()));
41
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: XuiSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", type: XuiSpinnerComponent, isStandalone: true, selector: "xui-spinner", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "class": "computedClass()" } }, ngImport: i0, template: `
43
+ <svg aria-hidden="true" class="animate-spin" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
44
+ <path
45
+ d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
46
+ fill="currentColor"
47
+ />
48
+ <path
49
+ d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
50
+ fill="currentFill"
51
+ />
52
+ </svg>
53
+ <span class="sr-only"><ng-content /></span>
54
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ }
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: XuiSpinnerComponent, decorators: [{
57
+ type: Component,
58
+ args: [{
59
+ selector: 'xui-spinner',
60
+ imports: [],
61
+ changeDetection: ChangeDetectionStrategy.OnPush,
62
+ template: `
63
+ <svg aria-hidden="true" class="animate-spin" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
64
+ <path
65
+ d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
66
+ fill="currentColor"
67
+ />
68
+ <path
69
+ d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
70
+ fill="currentFill"
71
+ />
72
+ </svg>
73
+ <span class="sr-only"><ng-content /></span>
74
+ `,
75
+ host: {
76
+ '[class]': 'computedClass()',
77
+ role: 'status'
78
+ }
79
+ }]
80
+ }] });
81
+
82
+ const XuiSpinnerImports = [XuiSpinnerComponent];
83
+ class XuiSpinnerModule {
84
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: XuiSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
85
+ /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.3", ngImport: i0, type: XuiSpinnerModule, imports: [XuiSpinnerComponent], exports: [XuiSpinnerComponent] });
86
+ /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: XuiSpinnerModule });
87
+ }
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: XuiSpinnerModule, decorators: [{
89
+ type: NgModule,
90
+ args: [{
91
+ imports: [...XuiSpinnerImports],
92
+ exports: [...XuiSpinnerImports]
93
+ }]
94
+ }] });
95
+
96
+ /**
97
+ * Generated bundle index. Do not edit.
98
+ */
99
+
100
+ export { XuiSpinnerComponent, XuiSpinnerImports, XuiSpinnerModule };
101
+ //# sourceMappingURL=xui-spinner.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xui-spinner.mjs","sources":["../tmp-esm2022/lib/spinner.component.js","../tmp-esm2022/index.js","../tmp-esm2022/xui-spinner.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { xui } from '@xui/core';\nimport { cva } from 'class-variance-authority';\nimport * as i0 from \"@angular/core\";\nconst spinnerVariants = cva(['inline-block'], {\n variants: {\n variant: {\n default: 'animate-spin'\n },\n size: {\n xs: 'h-4 w-4',\n sm: 'h-6 w-6',\n md: 'w-8 h-8',\n lg: 'w-12 h-12',\n xl: 'w-16 h-16'\n },\n color: {\n primary: '[&>svg]:text-primary/30 [&>svg]:fill-primary',\n secondary: '[&>svg]:text-secondary/30 [&>svg]:fill-secondary',\n success: '[&>svg]:text-success/30 [&>svg]:fill-success',\n error: '[&>svg]:text-error/30 [&>svg]:fill-error',\n info: '[&>svg]:text-info/30 [&>svg]:fill-info',\n warning: '[&>svg]:text-warning/30 [&>svg]:fill-warning'\n }\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n color: 'primary'\n }\n});\nexport class XuiSpinnerComponent {\n /** The user-defined classes */\n class = input('');\n color = input();\n size = input();\n variant = input();\n /** The classes to apply to the component merged with the user-defined classes */\n computedClass = computed(() => xui(spinnerVariants({ variant: this.variant(), color: this.color(), size: this.size() }), this.class()));\n /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: XuiSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.0.3\", type: XuiSpinnerComponent, isStandalone: true, selector: \"xui-spinner\", inputs: { class: { classPropertyName: \"class\", publicName: \"class\", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: \"color\", publicName: \"color\", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: \"size\", publicName: \"size\", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: \"variant\", publicName: \"variant\", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { \"role\": \"status\" }, properties: { \"class\": \"computedClass()\" } }, ngImport: i0, template: `\n <svg aria-hidden=\"true\" class=\"animate-spin\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\"\n fill=\"currentFill\"\n />\n </svg>\n <span class=\"sr-only\"><ng-content /></span>\n `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: XuiSpinnerComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'xui-spinner',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <svg aria-hidden=\"true\" class=\"animate-spin\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\"\n fill=\"currentFill\"\n />\n </svg>\n <span class=\"sr-only\"><ng-content /></span>\n `,\n host: {\n '[class]': 'computedClass()',\n role: 'status'\n }\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL3NwaW5uZXIveHVpL3NyYy9saWIvc3Bpbm5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDaEMsT0FBTyxFQUFFLEdBQUcsRUFBZ0IsTUFBTSwwQkFBMEIsQ0FBQzs7QUFHN0QsTUFBTSxlQUFlLEdBQUcsR0FBRyxDQUFDLENBQUMsY0FBYyxDQUFDLEVBQUU7SUFDNUMsUUFBUSxFQUFFO1FBQ1IsT0FBTyxFQUFFO1lBQ1AsT0FBTy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HByb3RlY3RlZCByZWFkb25seSBjb21wdXRlZENsYXNzID0gY29tcHV0ZWQoKCkgPT5cbiAgICB4dWkoc3Bpbm5lclZhcmlhbnRzKHsgdmFyaWFudDogdGhpcy52YXJpYW50KCksIGNvbG9yOiB0aGlzLmNvbG9yKCksIHNpemU6IHRoaXMuc2l6ZSgpIH0pLCB0aGlzLmNsYXNzKCkpXG4gICk7XG59XG4iXX0=","import { NgModule } from '@angular/core';\nimport { XuiSpinnerComponent } from './lib/spinner.component';\nimport * as i0 from \"@angular/core\";\nexport * from './lib/spinner.component';\nexport const XuiSpinnerImports = [XuiSpinnerComponent];\nexport class XuiSpinnerModule {\n /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: XuiSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.0.3\", ngImport: i0, type: XuiSpinnerModule, imports: [XuiSpinnerComponent], exports: [XuiSpinnerComponent] });\n /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: XuiSpinnerModule });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: XuiSpinnerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [...XuiSpinnerImports],\n exports: [...XuiSpinnerImports]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL3NwaW5uZXIveHVpL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQUM5RCxjQUFjLHlCQUF5QixDQUFDO0FBRXhDLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLENBQUMsbUJBQW1CLENBQVUsQ0FBQztBQU1oRSxNQUFNLE9BQU8sZ0JBQWdCOzBIQUFoQixnQkFBZ0I7MkhBQWhCLGdCQUFnQixZQU5LLG1CQUFtQixhQUFuQixtQkFBbUI7MkhBTXhDLGdCQUFnQjs7MkZBQWhCLGdCQUFnQjtrQkFKNUIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxHQUFHLGlCQUFpQixDQUFDO29CQUMvQixPQUFPLEVBQUUsQ0FBQyxHQUFHLGlCQUFpQixDQUFDO2lCQUNoQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBYdWlTcGlubmVyQ29tcG9uZW50IH0gZnJvbSAnLi9saWIvc3Bpbm5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc3Bpbm5lci5jb21wb25lbnQnO1xuXG5leHBvcnQgY29uc3QgWHVpU3Bpbm5lckltcG9ydHMgPSBbWHVpU3Bpbm5lckNvbXBvbmVudF0gYXMgY29uc3Q7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFsuLi5YdWlTcGlubmVySW1wb3J0c10sXG4gIGV4cG9ydHM6IFsuLi5YdWlTcGlubmVySW1wb3J0c11cbn0pXG5leHBvcnQgY2xhc3MgWHVpU3Bpbm5lck1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieHVpLXNwaW5uZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmN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AAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC;AAC5L,uBAAuB,OAAO,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAC;AAC9M,uBAAuB,OAAO,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;AAC9I;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC;AAC1H,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AACnD,oBAAoB,OAAO,EAAE,CAAC,GAAG,iBAAiB;AAClD,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AChBb;AACA;AACA;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,32 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { ClassValue } from 'clsx';
5
+
6
+ declare const spinnerVariants: (props?: ({
7
+ variant?: "default" | null | undefined;
8
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
9
+ color?: "primary" | "secondary" | "success" | "error" | "info" | "warning" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ type SpinnerVariants = VariantProps<typeof spinnerVariants>;
12
+ declare class XuiSpinnerComponent {
13
+ /** The user-defined classes */
14
+ readonly class: _angular_core.InputSignal<ClassValue>;
15
+ readonly color: _angular_core.InputSignal<"primary" | "secondary" | "success" | "error" | "info" | "warning" | null | undefined>;
16
+ readonly size: _angular_core.InputSignal<"xs" | "sm" | "md" | "lg" | "xl" | null | undefined>;
17
+ readonly variant: _angular_core.InputSignal<"default" | null | undefined>;
18
+ /** The classes to apply to the component merged with the user-defined classes */
19
+ protected readonly computedClass: _angular_core.Signal<string>;
20
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XuiSpinnerComponent, never>;
21
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XuiSpinnerComponent, "xui-spinner", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
22
+ }
23
+
24
+ declare const XuiSpinnerImports: readonly [typeof XuiSpinnerComponent];
25
+ declare class XuiSpinnerModule {
26
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XuiSpinnerModule, never>;
27
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XuiSpinnerModule, never, [typeof XuiSpinnerComponent], [typeof XuiSpinnerComponent]>;
28
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<XuiSpinnerModule>;
29
+ }
30
+
31
+ export { XuiSpinnerComponent, XuiSpinnerImports, XuiSpinnerModule };
32
+ export type { SpinnerVariants };
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@xui/spinner",
3
+ "version": "2.0.0-alpha.8",
4
+ "description": "Modern Angular 20 UI Library based on TailwindCSS",
5
+ "keywords": [
6
+ "angular",
7
+ "ui",
8
+ "components",
9
+ "tailwindcss"
10
+ ],
11
+ "homepage": "https://xuijs.org",
12
+ "bugs": {
13
+ "url": "https://github.com/rikarin/xui/issues"
14
+ },
15
+ "repository": "https://github.com/Rikarin/xui",
16
+ "license": "MIT",
17
+ "author": "Rene Cincura",
18
+ "maintainers": [
19
+ "Rene Cincura"
20
+ ],
21
+ "sideEffects": false,
22
+ "peerDependencies": {
23
+ "@angular/core": "20",
24
+ "@xui/core": "2.0.0-alpha.8",
25
+ "class-variance-authority": "^0.7.1",
26
+ "clsx": "^2.1.1"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "module": "fesm2022/xui-spinner.mjs",
32
+ "typings": "index.d.ts",
33
+ "exports": {
34
+ "./package.json": {
35
+ "default": "./package.json"
36
+ },
37
+ ".": {
38
+ "types": "./index.d.ts",
39
+ "default": "./fesm2022/xui-spinner.mjs"
40
+ }
41
+ },
42
+ "dependencies": {
43
+ "tslib": "^2.3.0"
44
+ }
45
+ }