@skeletonlabs/skeleton 4.0.0-next.3 → 4.0.0-next.30
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 -48
- package/dist/index.css +51 -20
- package/package.json +11 -7
package/README.md
CHANGED
|
@@ -1,57 +1,11 @@
|
|
|
1
1
|
# Skeleton
|
|
2
2
|
|
|
3
|
-
This repository contains all the stylesheets for the Skeleton package.
|
|
4
|
-
|
|
5
3
|
## Installation
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
pnpm add @skeletonlabs/skeleton
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
1. Import our base stylesheet _after_ the tailwind import:
|
|
14
|
-
|
|
15
|
-
```css
|
|
16
|
-
@import 'tailwindcss';
|
|
17
|
-
@import '@skeletonlabs/skeleton'; /* Add Skeleton Stylesheet */
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. Import a prebuild or custom theme _after_ the base skeleton import:
|
|
21
|
-
|
|
22
|
-
```css
|
|
23
|
-
@import 'tailwindcss';
|
|
24
|
-
@import '@skeletonlabs/skeleton';
|
|
25
|
-
@import '@skeletonlabs/skeleton/themes/cerberus'; /* Add Skeleton Theme */
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
3. Set your imported theme in your HTML root:
|
|
29
|
-
|
|
30
|
-
```html
|
|
31
|
-
<html data-theme="cerberus">
|
|
32
|
-
<!-- Add Skeleton Theme -->
|
|
33
|
-
<!-- ... -->
|
|
34
|
-
</html>
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
4. Enjoy Skeleton! Visit [the documentation](https://skeleton.dev/) for any questions.
|
|
38
|
-
|
|
39
|
-
## Project Setup
|
|
40
|
-
|
|
41
|
-
This project uses [Vite](https://vite.dev/) as the build tool. To author our CSS stylesheets in an efficient way we utilize [Sass](https://sass-lang.com/) for handling things like loops and shared variables. This is merely a build tool so we will never author actual Sass, we're a Tailwind library after all.
|
|
42
|
-
|
|
43
|
-
## Project Structure
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
src/
|
|
47
|
-
├── base/ # Core styles, color definitions, and base configurations
|
|
48
|
-
├── components/ # Component-specific classes
|
|
49
|
-
├── internal/ # Internal utilities, constants, and shared resources
|
|
50
|
-
├── themes/ # All official Skeleton themes
|
|
51
|
-
├── utilities/ # Tailwind utilities
|
|
52
|
-
└── variants/ # Tailwind variants
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## License
|
|
9
|
+
## Documentation
|
|
56
10
|
|
|
57
|
-
|
|
11
|
+
Explore the full documentation at [skeleton.dev](https://skeleton.dev/).
|
package/dist/index.css
CHANGED
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
--default-divide-width: 1px;
|
|
145
145
|
--default-ring-width: 1px;
|
|
146
146
|
/* Animations --- */
|
|
147
|
-
--animate-progress-indeterminate-
|
|
148
|
-
--animate-progress-indeterminate-
|
|
149
|
-
--animate-
|
|
147
|
+
--animate-progress-linear-indeterminate-horizontal: progress-linear-indeterminate-horizontal 1.5s ease-in-out infinite;
|
|
148
|
+
--animate-progress-linear-indeterminate-vertical: progress-linear-indeterminate-vertical 1.5s ease-in-out infinite;
|
|
149
|
+
--animate-progress-circular-indeterminate: progress-circular-indeterminate 1.5s linear infinite;
|
|
150
150
|
/* Colors --- */
|
|
151
151
|
--color-primary-50: oklch(98.5% 0 0deg);
|
|
152
152
|
--color-primary-100: oklch(97% 0 0deg);
|
|
@@ -853,7 +853,30 @@
|
|
|
853
853
|
padding-inline: --spacing(4);
|
|
854
854
|
|
|
855
855
|
/* Transitions */
|
|
856
|
-
transition-property:
|
|
856
|
+
transition-property:
|
|
857
|
+
color,
|
|
858
|
+
background-color,
|
|
859
|
+
border-color,
|
|
860
|
+
outline-color,
|
|
861
|
+
text-decoration-color,
|
|
862
|
+
fill,
|
|
863
|
+
stroke,
|
|
864
|
+
--tw-gradient-from,
|
|
865
|
+
--tw-gradient-via,
|
|
866
|
+
--tw-gradient-to,
|
|
867
|
+
opacity,
|
|
868
|
+
box-shadow,
|
|
869
|
+
transform,
|
|
870
|
+
translate,
|
|
871
|
+
scale,
|
|
872
|
+
rotate,
|
|
873
|
+
filter,
|
|
874
|
+
-webkit-backdrop-filter,
|
|
875
|
+
backdrop-filter,
|
|
876
|
+
display,
|
|
877
|
+
content-visibility,
|
|
878
|
+
overlay,
|
|
879
|
+
pointer-events;
|
|
857
880
|
transition-timing-function: var(--default-transition-timing-function);
|
|
858
881
|
transition-duration: var(--default-transition-duration);
|
|
859
882
|
|
|
@@ -2569,35 +2592,43 @@
|
|
|
2569
2592
|
@custom-variant theme-seafoam (&:where([data-theme="seafoam"] *));
|
|
2570
2593
|
@custom-variant theme-vintage (&:where([data-theme="vintage"] *));
|
|
2571
2594
|
@custom-variant theme-wintry (&:where([data-theme="wintry"] *));
|
|
2572
|
-
/* Components: Keyframe - Progress
|
|
2573
|
-
/* NOTE: only for use in the progress
|
|
2595
|
+
/* Components: Keyframe - Progress Circular */
|
|
2596
|
+
/* NOTE: only for use in the progress circular functional component. */
|
|
2597
|
+
@keyframes progress-circular-indeterminate {
|
|
2598
|
+
0% {
|
|
2599
|
+
stroke-dasharray: 1 var(--circumference);
|
|
2600
|
+
stroke-dashoffset: 0;
|
|
2601
|
+
}
|
|
2602
|
+
50% {
|
|
2603
|
+
stroke-dasharray: calc(var(--circumference) * 0.75) var(--circumference);
|
|
2604
|
+
stroke-dashoffset: calc(-1 * var(--circumference) * 0.5);
|
|
2605
|
+
}
|
|
2606
|
+
100% {
|
|
2607
|
+
stroke-dasharray: 1 var(--circumference);
|
|
2608
|
+
stroke-dashoffset: calc(-1 * var(--circumference));
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
/* Components: Keyframe - Progress Linear */
|
|
2612
|
+
/* NOTE: only for use in the progress linear functional component. */
|
|
2574
2613
|
/* Horizontal */
|
|
2575
|
-
@keyframes
|
|
2614
|
+
@keyframes progress-linear-indeterminate-horizontal {
|
|
2576
2615
|
from {
|
|
2616
|
+
scale: 0.5 1;
|
|
2577
2617
|
transform: translateX(-200%);
|
|
2578
2618
|
}
|
|
2579
2619
|
to {
|
|
2620
|
+
scale: 0.5 1;
|
|
2580
2621
|
transform: translateX(200%);
|
|
2581
2622
|
}
|
|
2582
2623
|
}
|
|
2583
2624
|
/* Vertical */
|
|
2584
|
-
@keyframes
|
|
2625
|
+
@keyframes progress-linear-indeterminate-vertical {
|
|
2585
2626
|
from {
|
|
2627
|
+
scale: 0.5 1;
|
|
2586
2628
|
transform: translateY(-200%);
|
|
2587
2629
|
}
|
|
2588
2630
|
to {
|
|
2631
|
+
scale: 0.5 1;
|
|
2589
2632
|
transform: translateY(200%);
|
|
2590
2633
|
}
|
|
2591
2634
|
}
|
|
2592
|
-
/* Components: Keyframe - Ring Indeterminate */
|
|
2593
|
-
/* NOTE: only for use in the progress ring functional component. */
|
|
2594
|
-
@keyframes anim-ring-indeterminate {
|
|
2595
|
-
from {
|
|
2596
|
-
stroke-dasharray: 1, 400;
|
|
2597
|
-
stroke-dashoffset: 0;
|
|
2598
|
-
}
|
|
2599
|
-
to {
|
|
2600
|
-
stroke-dasharray: 400, 400;
|
|
2601
|
-
stroke-dashoffset: -140;
|
|
2602
|
-
}
|
|
2603
|
-
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.30",
|
|
4
|
+
"description": "The TailwindCSS package for Skeleton.",
|
|
5
|
+
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
4
6
|
"repository": {
|
|
5
7
|
"type": "git",
|
|
6
|
-
"url": "https://github.com/skeletonlabs/skeleton.git"
|
|
8
|
+
"url": "git+https://github.com/skeletonlabs/skeleton.git",
|
|
9
|
+
"directory": "packages/skeleton"
|
|
7
10
|
},
|
|
8
11
|
"exports": {
|
|
9
12
|
".": {
|
|
@@ -13,7 +16,8 @@
|
|
|
13
16
|
"./themes/*": {
|
|
14
17
|
"style": "./dist/themes/*.css",
|
|
15
18
|
"default": "./dist/themes/*.css"
|
|
16
|
-
}
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
17
21
|
},
|
|
18
22
|
"files": [
|
|
19
23
|
"dist"
|
|
@@ -22,12 +26,12 @@
|
|
|
22
26
|
"tailwindcss": "^4.0.0"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
|
-
"sass-embedded": "1.
|
|
26
|
-
"tinyglobby": "0.2.
|
|
27
|
-
"vite": "7.1.
|
|
29
|
+
"sass-embedded": "1.93.2",
|
|
30
|
+
"tinyglobby": "0.2.15",
|
|
31
|
+
"vite": "7.1.9"
|
|
28
32
|
},
|
|
29
|
-
"type": "module",
|
|
30
33
|
"license": "MIT",
|
|
34
|
+
"type": "module",
|
|
31
35
|
"scripts": {
|
|
32
36
|
"dev": "vite build --watch",
|
|
33
37
|
"build": "vite build",
|