@nasa-jpl/stellar-svelte 2.0.0-alpha.33 → 2.0.0-alpha.36
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/dist/components/ui/button/index.js +2 -2
- package/dist/components/ui/input/index.d.ts +9 -2
- package/dist/components/ui/input/index.js +9 -3
- package/dist/components/ui/input/input.svelte +28 -23
- package/dist/components/ui/input/input.svelte.d.ts +6 -3
- package/dist/components/ui/select/index.d.ts +33 -7
- package/dist/components/ui/select/index.js +33 -8
- package/dist/components/ui/select/select-content.svelte +19 -16
- package/dist/components/ui/select/select-content.svelte.d.ts +25 -2
- package/dist/components/ui/select/select-item.svelte +27 -24
- package/dist/components/ui/select/select-item.svelte.d.ts +22 -3
- package/dist/components/ui/select/select-label.svelte +6 -7
- package/dist/components/ui/select/select-label.svelte.d.ts +7 -2
- package/dist/components/ui/select/select-trigger.svelte +17 -14
- package/dist/components/ui/select/select-trigger.svelte.d.ts +15 -3
- package/dist/components/ui/toggle/index.d.ts +7 -0
- package/dist/components/ui/toggle/index.js +1 -0
- package/dist/components/ui/toggle-group/index.d.ts +1 -1
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +1 -1
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +1 -1
- package/dist/index.css +416 -122
- package/package.json +5 -5
- package/tailwind.config.ts +61 -58
package/package.json
CHANGED
|
@@ -19,9 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"description": "Everything you need to build a Svelte library, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@nasa-jpl/stellar": "file:../css/dist",
|
|
23
|
-
"@nasa-jpl/stellar-react": "file:../react/dist",
|
|
24
22
|
"@sveltejs/adapter-node": "^5.0.1",
|
|
23
|
+
"@sveltejs/adapter-static": "^3.0.8",
|
|
25
24
|
"@sveltejs/kit": "^2.0.0",
|
|
26
25
|
"@sveltejs/package": "^2.0.0",
|
|
27
26
|
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
|
@@ -45,7 +44,8 @@
|
|
|
45
44
|
},
|
|
46
45
|
"./styles": "./dist/index.css",
|
|
47
46
|
"./tailwindConfig": "./tailwind.config.ts",
|
|
48
|
-
"./theme": "./src/theme.css"
|
|
47
|
+
"./theme": "./src/theme.css",
|
|
48
|
+
"./font": "./src/font.css"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"dist",
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
"svelte": "./dist/index.js",
|
|
81
81
|
"type": "module",
|
|
82
82
|
"types": "./dist/index.d.ts",
|
|
83
|
-
"version": "2.0.0-alpha.
|
|
84
|
-
"gitHead": "
|
|
83
|
+
"version": "2.0.0-alpha.36",
|
|
84
|
+
"gitHead": "5d198b894940729fddcfe09c6a9e0c530172d9d7"
|
|
85
85
|
}
|
package/tailwind.config.ts
CHANGED
|
@@ -1,64 +1,67 @@
|
|
|
1
|
-
import { fontFamily } from 'tailwindcss/defaultTheme';
|
|
2
1
|
import type { Config } from 'tailwindcss';
|
|
2
|
+
import { fontFamily } from 'tailwindcss/defaultTheme';
|
|
3
3
|
|
|
4
4
|
const config: Config = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
5
|
+
darkMode: ['class'],
|
|
6
|
+
content: ['./src/**/*.{html,js,svelte,ts}'],
|
|
7
|
+
safelist: ['dark'],
|
|
8
|
+
theme: {
|
|
9
|
+
container: {
|
|
10
|
+
center: true,
|
|
11
|
+
padding: '2rem',
|
|
12
|
+
screens: {
|
|
13
|
+
'2xl': '1400px',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
extend: {
|
|
17
|
+
fontSize: {
|
|
18
|
+
xxs: '0.55rem',
|
|
19
|
+
},
|
|
20
|
+
colors: {
|
|
21
|
+
border: 'hsl(var(--border) / <alpha-value>)',
|
|
22
|
+
input: 'hsl(var(--input) / <alpha-value>)',
|
|
23
|
+
ring: 'hsl(var(--ring) / <alpha-value>)',
|
|
24
|
+
background: 'hsl(var(--background) / <alpha-value>)',
|
|
25
|
+
foreground: 'hsl(var(--foreground) / <alpha-value>)',
|
|
26
|
+
primary: {
|
|
27
|
+
DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
|
|
28
|
+
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
|
|
29
|
+
},
|
|
30
|
+
secondary: {
|
|
31
|
+
DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
|
|
32
|
+
foreground: 'hsl(var(--secondary-foreground) / <alpha-value>)',
|
|
33
|
+
},
|
|
34
|
+
destructive: {
|
|
35
|
+
DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
|
|
36
|
+
foreground: 'hsl(var(--destructive-foreground) / <alpha-value>)',
|
|
37
|
+
},
|
|
38
|
+
muted: {
|
|
39
|
+
DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
|
|
40
|
+
foreground: 'hsl(var(--muted-foreground) / <alpha-value>)',
|
|
41
|
+
},
|
|
42
|
+
accent: {
|
|
43
|
+
DEFAULT: 'hsl(var(--accent) / <alpha-value>)',
|
|
44
|
+
foreground: 'hsl(var(--accent-foreground) / <alpha-value>)',
|
|
45
|
+
},
|
|
46
|
+
popover: {
|
|
47
|
+
DEFAULT: 'hsl(var(--popover) / <alpha-value>)',
|
|
48
|
+
foreground: 'hsl(var(--popover-foreground) / <alpha-value>)',
|
|
49
|
+
},
|
|
50
|
+
card: {
|
|
51
|
+
DEFAULT: 'hsl(var(--card) / <alpha-value>)',
|
|
52
|
+
foreground: 'hsl(var(--card-foreground) / <alpha-value>)',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
borderRadius: {
|
|
56
|
+
lg: 'calc(var(--radius) + 4px)',
|
|
57
|
+
md: 'var(--radius)',
|
|
58
|
+
sm: 'calc(var(--radius) - 2px)',
|
|
59
|
+
},
|
|
60
|
+
fontFamily: {
|
|
61
|
+
sans: ['Inter', ...fontFamily.sans],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
62
65
|
};
|
|
63
66
|
|
|
64
67
|
export default config;
|