@skeletonlabs/skeleton 1.12.0-dev.b329241e → 2.0.0-dev.50b73f0b
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/Accordion/Accordion.svelte +15 -3
- package/dist/components/Accordion/Accordion.svelte.d.ts +17 -23
- package/dist/components/Accordion/AccordionItem.svelte +8 -3
- package/dist/components/Accordion/AccordionItem.svelte.d.ts +15 -25
- package/dist/components/AppRail/AppRailTile.svelte +1 -1
- package/dist/components/AppShell/AppShell.svelte +3 -2
- package/dist/components/AppShell/AppShell.svelte.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.svelte +17 -7
- package/dist/components/Autocomplete/Autocomplete.svelte.d.ts +17 -27
- package/dist/components/Avatar/Avatar.svelte +1 -1
- package/dist/components/ConicGradient/ConicGradient.svelte +1 -1
- package/dist/components/FileButton/FileButton.svelte +2 -3
- package/dist/components/InputChip/InputChip.svelte +31 -4
- package/dist/components/InputChip/InputChip.svelte.d.ts +22 -27
- package/dist/components/Paginator/Paginator.svelte +17 -15
- package/dist/components/Paginator/Paginator.svelte.d.ts +2 -2
- package/dist/components/Paginator/types.d.ts +2 -2
- package/dist/components/Ratings/Ratings.svelte +1 -1
- package/dist/components/Stepper/Step.svelte +11 -2
- package/dist/components/Stepper/Step.svelte.d.ts +15 -12
- package/dist/components/Stepper/Stepper.svelte +21 -3
- package/dist/components/Stepper/Stepper.svelte.d.ts +17 -27
- package/dist/components/Tab/TabGroup.svelte +1 -1
- package/dist/components/Table/Table.svelte +1 -1
- package/dist/components/TreeView/TreeView.svelte +45 -2
- package/dist/components/TreeView/TreeView.svelte.d.ts +21 -0
- package/dist/components/TreeView/TreeViewDataDrivenItem.svelte +90 -0
- package/dist/components/TreeView/TreeViewDataDrivenItem.svelte.d.ts +27 -0
- package/dist/components/TreeView/TreeViewItem.svelte +220 -10
- package/dist/components/TreeView/TreeViewItem.svelte.d.ts +95 -2
- package/dist/components/TreeView/types.d.ts +18 -0
- package/dist/components/TreeView/types.js +1 -0
- package/dist/index.d.ts +15 -12
- package/dist/index.js +11 -12
- package/dist/internal/transitions.d.ts +10 -0
- package/dist/internal/transitions.js +11 -0
- package/dist/transitions/crossfade.d.ts +1 -0
- package/dist/transitions/crossfade.js +21 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.js +1 -0
- package/dist/utilities/Drawer/Drawer.svelte +33 -12
- package/dist/utilities/Drawer/Drawer.svelte.d.ts +4 -2
- package/dist/utilities/Drawer/stores.d.ts +24 -1
- package/dist/utilities/Drawer/stores.js +31 -2
- package/dist/utilities/Drawer/types.d.ts +3 -0
- package/dist/utilities/Modal/Modal.svelte +21 -23
- package/dist/utilities/Modal/Modal.svelte.d.ts +17 -37
- package/dist/utilities/Modal/ModalTest.svelte +8 -0
- package/dist/utilities/Modal/ModalTest.svelte.d.ts +17 -0
- package/dist/utilities/Modal/stores.d.ts +24 -1
- package/dist/utilities/Modal/stores.js +31 -1
- package/dist/utilities/Modal/types.d.ts +1 -0
- package/dist/utilities/PrefersReducedMotion/PrefersReducedMotion.d.ts +7 -0
- package/dist/utilities/PrefersReducedMotion/PrefersReducedMotion.js +26 -0
- package/dist/utilities/TableOfContents/TableOfContents.svelte +56 -0
- package/dist/utilities/TableOfContents/TableOfContents.svelte.d.ts +34 -0
- package/dist/utilities/TableOfContents/crawler.d.ts +16 -0
- package/dist/utilities/TableOfContents/crawler.js +78 -0
- package/dist/utilities/TableOfContents/stores.d.ts +6 -0
- package/dist/utilities/TableOfContents/stores.js +5 -0
- package/dist/utilities/TableOfContents/types.d.ts +5 -0
- package/dist/utilities/TableOfContents/types.js +2 -0
- package/dist/utilities/Toast/Toast.svelte +24 -23
- package/dist/utilities/Toast/Toast.svelte.d.ts +17 -24
- package/dist/utilities/Toast/ToastTest.svelte +12 -0
- package/dist/utilities/Toast/ToastTest.svelte.d.ts +18 -0
- package/dist/utilities/Toast/stores.d.ts +27 -5
- package/dist/utilities/Toast/stores.js +60 -29
- package/dist/utilities/Toast/types.d.ts +1 -0
- package/dist/utilities/index.d.ts +18 -0
- package/dist/utilities/index.js +25 -0
- package/package.json +3 -16
- package/dist/components/TableOfContents/TableOfContents.svelte +0 -111
- package/dist/components/TableOfContents/TableOfContents.svelte.d.ts +0 -44
- package/dist/styles/all.css +0 -30
- package/dist/styles/elements/alerts.css +0 -17
- package/dist/styles/elements/badges.css +0 -31
- package/dist/styles/elements/breadcrumbs.css +0 -36
- package/dist/styles/elements/buttons.css +0 -109
- package/dist/styles/elements/cards.css +0 -32
- package/dist/styles/elements/chips.css +0 -22
- package/dist/styles/elements/codeblocks.css +0 -16
- package/dist/styles/elements/forms.css +0 -283
- package/dist/styles/elements/lists.css +0 -51
- package/dist/styles/elements/logo-clouds.css +0 -29
- package/dist/styles/elements/modals.css +0 -15
- package/dist/styles/elements/placeholders.css +0 -17
- package/dist/styles/elements/popups.css +0 -16
- package/dist/styles/elements/tables.css +0 -102
- package/dist/styles/partials/core.css +0 -66
- package/dist/styles/partials/elements.css +0 -20
- package/dist/styles/partials/tailwind.css +0 -16
- package/dist/styles/partials/typography-next.css +0 -99
- package/dist/styles/partials/typography-prose.css +0 -49
- package/dist/styles/partials/typography.css +0 -99
- package/dist/styles/partials/variants.css +0 -204
- package/dist/styles/skeleton-minimal.css +0 -30
- package/dist/styles/skeleton.css +0 -30
- package/dist/tailwind/core.cjs +0 -37
- package/dist/tailwind/core.d.cts +0 -5
- package/dist/tailwind/generated/intellisense-classes.cjs +0 -1
- package/dist/tailwind/generated/intellisense-classes.d.cts +0 -2729
- package/dist/tailwind/intellisense.cjs +0 -21
- package/dist/tailwind/intellisense.d.cts +0 -5
- package/dist/tailwind/settings.cjs +0 -20
- package/dist/tailwind/settings.d.cts +0 -6
- package/dist/tailwind/skeleton.cjs +0 -19
- package/dist/tailwind/skeleton.d.cts +0 -7
- package/dist/tailwind/theme/colors.cjs +0 -18
- package/dist/tailwind/theme/colors.d.cts +0 -2
- package/dist/tailwind/tokens/backgrounds.cjs +0 -39
- package/dist/tailwind/tokens/backgrounds.d.cts +0 -2
- package/dist/tailwind/tokens/border-radius.cjs +0 -21
- package/dist/tailwind/tokens/border-radius.d.cts +0 -33
- package/dist/tailwind/tokens/borders.cjs +0 -20
- package/dist/tailwind/tokens/borders.d.cts +0 -6
- package/dist/tailwind/tokens/fills.cjs +0 -20
- package/dist/tailwind/tokens/fills.d.cts +0 -15
- package/dist/tailwind/tokens/rings.cjs +0 -50
- package/dist/tailwind/tokens/rings.d.cts +0 -22
- package/dist/tailwind/tokens/text.cjs +0 -31
- package/dist/tailwind/tokens/text.d.cts +0 -21
- package/dist/themes/theme-crimson.css +0 -100
- package/dist/themes/theme-gold-nouveau.css +0 -143
- package/dist/themes/theme-hamlindigo.css +0 -109
- package/dist/themes/theme-modern.css +0 -134
- package/dist/themes/theme-rocket.css +0 -120
- package/dist/themes/theme-sahara.css +0 -133
- package/dist/themes/theme-seafoam.css +0 -128
- package/dist/themes/theme-seasonal.css +0 -114
- package/dist/themes/theme-skeleton.css +0 -119
- package/dist/themes/theme-test.css +0 -96
- package/dist/themes/theme-vintage.css +0 -131
- package/dist/utilities/DataTable/DataTable.d.ts +0 -19
- package/dist/utilities/DataTable/DataTable.js +0 -137
- package/dist/utilities/DataTable/types.d.ts +0 -33
- package/dist/utilities/DataTable/types.js +0 -2
- /package/dist/{utilities/DataTable → components/Table}/actions.d.ts +0 -0
- /package/dist/{utilities/DataTable → components/Table}/actions.js +0 -0
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
/** Query selector for the scrollable page element.*/
|
|
6
|
-
scrollParent?: string | undefined;
|
|
7
|
-
/** Query selector for the element to scan for headings.*/
|
|
8
|
-
target?: string | undefined;
|
|
9
|
-
/** Query selector for the allowed headings. From H2-H6.*/
|
|
10
|
-
allowedHeadings?: string | undefined;
|
|
11
|
-
/** Set the label text.*/
|
|
12
|
-
label?: string | undefined;
|
|
13
|
-
/** Set the component width style.*/
|
|
14
|
-
width?: string | undefined;
|
|
15
|
-
/** Set the vertical spacing styles.*/
|
|
16
|
-
spacing?: string | undefined;
|
|
17
|
-
/** Set the row text color styles.*/
|
|
18
|
-
text?: string | undefined;
|
|
19
|
-
/** Set the row hover styles.*/
|
|
20
|
-
hover?: string | undefined;
|
|
21
|
-
/** Set the active row styles*/
|
|
22
|
-
active?: string | undefined;
|
|
23
|
-
/** Set the row border radius styles.*/
|
|
24
|
-
rounded?: string | undefined;
|
|
25
|
-
/** Provide arbitrary styles for the label element.*/
|
|
26
|
-
regionLabel?: string | undefined;
|
|
27
|
-
/** Provide arbitrary styles for the list element.*/
|
|
28
|
-
regionList?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
events: {
|
|
31
|
-
click: MouseEvent;
|
|
32
|
-
keypress: KeyboardEvent;
|
|
33
|
-
} & {
|
|
34
|
-
[evt: string]: CustomEvent<any>;
|
|
35
|
-
};
|
|
36
|
-
slots: {};
|
|
37
|
-
};
|
|
38
|
-
export type TableOfContentsProps = typeof __propDef.props;
|
|
39
|
-
export type TableOfContentsEvents = typeof __propDef.events;
|
|
40
|
-
export type TableOfContentsSlots = typeof __propDef.slots;
|
|
41
|
-
/** Allows you to quickly navigate the hierarchy of headings for the current page. */
|
|
42
|
-
export default class TableOfContents extends SvelteComponentTyped<TableOfContentsProps, TableOfContentsEvents, TableOfContentsSlots> {
|
|
43
|
-
}
|
|
44
|
-
export {};
|
package/dist/styles/all.css
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: skeleton.css */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
- Will be replaced by `skeleton.css` in the next major release.
|
|
5
|
-
- All available stylesheets are imported
|
|
6
|
-
- Typography using on-by-default system
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/* NOTE: The order shown below is required */
|
|
10
|
-
/* Import AFTER your theme, but BEFORE your global stylesheet. */
|
|
11
|
-
|
|
12
|
-
/* Tailwind Directives */
|
|
13
|
-
@import 'partials/tailwind.css';
|
|
14
|
-
|
|
15
|
-
/* === OPTIONAL STYLESHEETS === */
|
|
16
|
-
|
|
17
|
-
/* Core Styles */
|
|
18
|
-
@import 'partials/core.css';
|
|
19
|
-
|
|
20
|
-
/* Typography Settings */
|
|
21
|
-
@import 'partials/typography.css';
|
|
22
|
-
/* DEPRECATED: 'partials/typography-prose.css' must now be imported directly */
|
|
23
|
-
|
|
24
|
-
/* === REQUIRED STYLESHEETS === */
|
|
25
|
-
|
|
26
|
-
/* Imports all Tailwind Elements */
|
|
27
|
-
@import 'partials/elements.css';
|
|
28
|
-
|
|
29
|
-
/* Imports all Variant Styles */
|
|
30
|
-
@import 'partials/variants.css';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: alerts.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
.alert {
|
|
5
|
-
@apply flex flex-col items-start lg:items-center lg:flex-row p-4 space-y-4 lg:space-y-0 lg:space-x-4;
|
|
6
|
-
/* Text */
|
|
7
|
-
@apply text-surface-900-50-token;
|
|
8
|
-
/* Rounded */
|
|
9
|
-
@apply rounded-container-token;
|
|
10
|
-
}
|
|
11
|
-
.alert-message {
|
|
12
|
-
@apply flex-auto space-y-2;
|
|
13
|
-
}
|
|
14
|
-
.alert-actions {
|
|
15
|
-
@apply flex items-center space-x-2;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: badges.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
.badge {
|
|
5
|
-
/* Core */
|
|
6
|
-
@apply inline-flex justify-center items-center space-x-2 whitespace-nowrap;
|
|
7
|
-
/* Text */
|
|
8
|
-
@apply font-semibold text-xs;
|
|
9
|
-
/* Padding */
|
|
10
|
-
@apply px-2 py-1;
|
|
11
|
-
/* Theme: Rounded */
|
|
12
|
-
@apply rounded-token;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.badge-icon {
|
|
16
|
-
/* Core */
|
|
17
|
-
@apply w-5 h-5 flex justify-center items-center rounded-full;
|
|
18
|
-
/* Text */
|
|
19
|
-
@apply font-semibold text-xs;
|
|
20
|
-
/* Shadow */
|
|
21
|
-
@apply shadow;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* === Variants === */
|
|
25
|
-
|
|
26
|
-
/* Glass */
|
|
27
|
-
.badge-glass {
|
|
28
|
-
@apply bg-surface-500/20 dark:bg-surface-500/20 backdrop-blur-lg;
|
|
29
|
-
@apply ring-[1px] ring-neutral-900/5 dark:ring-neutral-50/5 ring-inset;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: breadcrumbs.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
/* Hide Scrollbars */
|
|
5
|
-
/* Duplicated from core.css to support `skeleton-minimal.css` */
|
|
6
|
-
.hide-scrollbar::-webkit-scrollbar {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
.hide-scrollbar {
|
|
10
|
-
-ms-overflow-style: none; /* IE/Edge */
|
|
11
|
-
scrollbar-width: none; /* Firefox */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.breadcrumb,
|
|
15
|
-
.breadcrumb-nonresponsive {
|
|
16
|
-
@apply flex items-center space-x-4 w-full hide-scrollbar overflow-x-auto;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.crumb {
|
|
20
|
-
@apply flex justify-center items-center space-x-2;
|
|
21
|
-
}
|
|
22
|
-
.crumb-separator {
|
|
23
|
-
@apply flex text-surface-700-200-token opacity-50;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* === Auto-Responsive === */
|
|
27
|
-
|
|
28
|
-
.breadcrumb li {
|
|
29
|
-
@apply hidden md:block;
|
|
30
|
-
}
|
|
31
|
-
.breadcrumb li:nth-last-child(3),
|
|
32
|
-
.breadcrumb li:nth-last-child(2),
|
|
33
|
-
.breadcrumb li:nth-last-child(1) {
|
|
34
|
-
@apply block;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: button.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
/* === States === */
|
|
5
|
-
|
|
6
|
-
button:disabled {
|
|
7
|
-
@apply !opacity-50 !cursor-not-allowed active:scale-100 hover:brightness-100;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.button-base-styles {
|
|
11
|
-
/* Size (match base) */
|
|
12
|
-
@apply text-base;
|
|
13
|
-
/* Padding */
|
|
14
|
-
@apply px-5 py-[9px];
|
|
15
|
-
/* Core */
|
|
16
|
-
@apply text-center whitespace-nowrap;
|
|
17
|
-
/* Flex Columns */
|
|
18
|
-
@apply inline-flex justify-center items-center space-x-2;
|
|
19
|
-
/* States */
|
|
20
|
-
@apply hover:brightness-[1.15];
|
|
21
|
-
/* Transitions */
|
|
22
|
-
@apply transition-all;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* === Button === */
|
|
26
|
-
/* Standard button/anchor tag elements. */
|
|
27
|
-
|
|
28
|
-
.btn {
|
|
29
|
-
@apply button-base-styles rounded-token active:scale-[95%] active:brightness-90;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Button: Sizes */
|
|
33
|
-
/* Note: Default values are built into `.btn` */
|
|
34
|
-
.btn-sm {
|
|
35
|
-
@apply text-sm px-3 py-1.5;
|
|
36
|
-
}
|
|
37
|
-
.btn-lg {
|
|
38
|
-
@apply text-lg px-7 py-3;
|
|
39
|
-
}
|
|
40
|
-
.btn-xl {
|
|
41
|
-
@apply text-xl px-9 py-4;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* === Icon Button === */
|
|
45
|
-
/* A circular button meant for housing icons. */
|
|
46
|
-
|
|
47
|
-
.btn-icon {
|
|
48
|
-
/* Extend Base Button Classes */
|
|
49
|
-
@apply button-base-styles;
|
|
50
|
-
/* Padding */
|
|
51
|
-
@apply p-0;
|
|
52
|
-
/* Size (match base) */
|
|
53
|
-
@apply text-base aspect-square w-[43px];
|
|
54
|
-
/* Rounded */
|
|
55
|
-
@apply rounded-full;
|
|
56
|
-
/* Active */
|
|
57
|
-
@apply active:scale-[95%] active:brightness-90;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Icon Button: Size */
|
|
61
|
-
.btn-icon-sm {
|
|
62
|
-
@apply text-sm aspect-square w-[33px];
|
|
63
|
-
}
|
|
64
|
-
.btn-icon-base {
|
|
65
|
-
@apply text-base aspect-square w-[43px];
|
|
66
|
-
}
|
|
67
|
-
.btn-icon-lg {
|
|
68
|
-
@apply text-lg aspect-square w-[53px];
|
|
69
|
-
}
|
|
70
|
-
.btn-icon-xl {
|
|
71
|
-
@apply text-xl aspect-square w-[63px];
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* File Input Button */
|
|
75
|
-
input[type='file']:not(.file-dropzone-input)::file-selector-button {
|
|
76
|
-
@apply border-0 btn variant-filled btn-sm mr-2;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* === Button Groups === */
|
|
80
|
-
|
|
81
|
-
.btn-group {
|
|
82
|
-
@apply inline-flex flex-row space-x-0 overflow-hidden rounded-token;
|
|
83
|
-
/* Safari: hover overflow fix for border radius */
|
|
84
|
-
isolation: isolate;
|
|
85
|
-
}
|
|
86
|
-
.btn-group-vertical {
|
|
87
|
-
@apply btn-group flex-col space-y-0 rounded-container-token;
|
|
88
|
-
/* Safari: hover overflow fix for border radius */
|
|
89
|
-
isolation: isolate;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* Button / Anchors */
|
|
93
|
-
.btn-group button,
|
|
94
|
-
.btn-group a,
|
|
95
|
-
.btn-group-vertical button,
|
|
96
|
-
.btn-group-vertical a {
|
|
97
|
-
@apply button-base-styles hover:bg-surface-50/[3%] active:bg-surface-900/[3%];
|
|
98
|
-
/* Reset Anchor Styles */
|
|
99
|
-
@apply !no-underline !text-inherit;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* Set Neutral Divider */
|
|
103
|
-
.btn-group * + * {
|
|
104
|
-
@apply border-t-0 border-l border-surface-500/20;
|
|
105
|
-
}
|
|
106
|
-
.btn-group-vertical * + * {
|
|
107
|
-
@apply border-t border-l-0 border-surface-500/20;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: cards.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
.card {
|
|
5
|
-
/* background */
|
|
6
|
-
@apply bg-surface-100-800-token;
|
|
7
|
-
/* Ring */
|
|
8
|
-
@apply ring-outline-token;
|
|
9
|
-
/* Theme: Rounded */
|
|
10
|
-
@apply rounded-container-token;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* === Regions === */
|
|
14
|
-
|
|
15
|
-
.card-header {
|
|
16
|
-
@apply p-4 pb-0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.card-footer {
|
|
20
|
-
@apply p-4 pt-0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* === States === */
|
|
24
|
-
|
|
25
|
-
a.card {
|
|
26
|
-
@apply transition-all hover:brightness-105;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.card-hover {
|
|
30
|
-
@apply transition-all hover:scale-[101%] hover:shadow-xl;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: chips.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
.chip {
|
|
5
|
-
@apply px-3 py-1.5 whitespace-nowrap cursor-pointer;
|
|
6
|
-
/* Text */
|
|
7
|
-
@apply text-xs text-center;
|
|
8
|
-
/* Rounded */
|
|
9
|
-
@apply rounded;
|
|
10
|
-
/* Flex Columns */
|
|
11
|
-
@apply inline-flex justify-center items-center space-x-2;
|
|
12
|
-
/* States */
|
|
13
|
-
@apply hover:brightness-[1.15];
|
|
14
|
-
/* Transitions */
|
|
15
|
-
@apply transition-all;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.chip-disabled,
|
|
19
|
-
.chip:disabled {
|
|
20
|
-
@apply !opacity-50 !cursor-not-allowed active:scale-100;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* Elements: codeblocks.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
.codeblock pre {
|
|
5
|
-
counter-reset: line;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.codeblock code.lineNumbers > span.line {
|
|
9
|
-
counter-increment: line;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.codeblock code.lineNumbers > span.line::before {
|
|
13
|
-
content: counter(line) '';
|
|
14
|
-
@apply opacity-50;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: forms.css */
|
|
2
|
-
|
|
3
|
-
@layer base {
|
|
4
|
-
/* === Resets === */
|
|
5
|
-
|
|
6
|
-
fieldset,
|
|
7
|
-
legend,
|
|
8
|
-
label {
|
|
9
|
-
@apply block;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* Placeholders */
|
|
13
|
-
::-moz-placeholder {
|
|
14
|
-
@apply text-surface-500-400-token;
|
|
15
|
-
}
|
|
16
|
-
:-ms-input-placeholder {
|
|
17
|
-
@apply text-surface-500-400-token;
|
|
18
|
-
}
|
|
19
|
-
::placeholder {
|
|
20
|
-
@apply text-surface-500-400-token;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* Date Calendar Picker (Webkit) */
|
|
24
|
-
input::-webkit-calendar-picker-indicator {
|
|
25
|
-
@apply dark:invert;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* Search Input "X" Cancel Button (Webkit) */
|
|
29
|
-
/* Source: https://stackoverflow.com/a/64267916 */
|
|
30
|
-
input[type='search']::-webkit-search-cancel-button {
|
|
31
|
-
-webkit-appearance: none;
|
|
32
|
-
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'/%3E%3C/svg%3E")
|
|
33
|
-
no-repeat 50% 50%;
|
|
34
|
-
@apply h-4 w-4 rounded-full bg-contain opacity-0 pointer-events-none;
|
|
35
|
-
}
|
|
36
|
-
input[type='search']:focus::-webkit-search-cancel-button {
|
|
37
|
-
@apply opacity-100 pointer-events-auto;
|
|
38
|
-
}
|
|
39
|
-
input[type='search']::-webkit-search-cancel-button {
|
|
40
|
-
@apply dark:invert;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Progress Bar */
|
|
44
|
-
progress {
|
|
45
|
-
webkit-appearance: none;
|
|
46
|
-
-moz-appearance: none;
|
|
47
|
-
appearance: none;
|
|
48
|
-
@apply w-full h-2 overflow-hidden rounded-token;
|
|
49
|
-
@apply bg-surface-400-500-token;
|
|
50
|
-
}
|
|
51
|
-
progress::-webkit-progress-bar {
|
|
52
|
-
@apply bg-surface-400-500-token;
|
|
53
|
-
}
|
|
54
|
-
progress::-webkit-progress-value {
|
|
55
|
-
@apply bg-surface-900-50-token;
|
|
56
|
-
}
|
|
57
|
-
::-moz-progress-bar {
|
|
58
|
-
@apply bg-surface-900-50-token;
|
|
59
|
-
}
|
|
60
|
-
:indeterminate::-moz-progress-bar {
|
|
61
|
-
width: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/* Range Input */
|
|
65
|
-
/* https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color */
|
|
66
|
-
[type='range'] {
|
|
67
|
-
@apply w-full accent-surface-900 dark:accent-surface-50;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* === Text Labeling === */
|
|
71
|
-
|
|
72
|
-
.legend {
|
|
73
|
-
@apply font-heading-token text-xl md:text-2xl;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.label {
|
|
77
|
-
@apply space-y-1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* === Core Styles === */
|
|
81
|
-
|
|
82
|
-
.input,
|
|
83
|
-
.textarea,
|
|
84
|
-
.select,
|
|
85
|
-
.input-group {
|
|
86
|
-
@apply w-full transition duration-200;
|
|
87
|
-
/* Background */
|
|
88
|
-
@apply bg-surface-200-700-token focus:brightness-105 hover:brightness-105;
|
|
89
|
-
/* Ring */
|
|
90
|
-
@apply !ring-0;
|
|
91
|
-
/* Border */
|
|
92
|
-
@apply border-token border-surface-400-500-token focus-within:border-primary-500;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Base Inputs */
|
|
96
|
-
.input,
|
|
97
|
-
.input-group {
|
|
98
|
-
@apply rounded-token;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* Container Inputs */
|
|
102
|
-
.textarea,
|
|
103
|
-
.select {
|
|
104
|
-
@apply rounded-container-token;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* Select (size/multiple) */
|
|
108
|
-
.select {
|
|
109
|
-
@apply p-2 pr-8 space-y-1;
|
|
110
|
-
}
|
|
111
|
-
.select[size] {
|
|
112
|
-
@apply bg-none;
|
|
113
|
-
}
|
|
114
|
-
.select optgroup {
|
|
115
|
-
@apply space-y-1 font-bold;
|
|
116
|
-
}
|
|
117
|
-
.select optgroup option {
|
|
118
|
-
@apply ml-0 pl-0;
|
|
119
|
-
}
|
|
120
|
-
.select optgroup option:first-of-type {
|
|
121
|
-
@apply mt-3;
|
|
122
|
-
}
|
|
123
|
-
.select optgroup option:last-child {
|
|
124
|
-
@apply !mb-3;
|
|
125
|
-
}
|
|
126
|
-
.select option {
|
|
127
|
-
@apply bg-surface-200-700-token px-4 py-2 rounded-token cursor-pointer;
|
|
128
|
-
}
|
|
129
|
-
.select option:checked {
|
|
130
|
-
/* https://stackoverflow.com/questions/50618602/change-color-of-selected-option-in-select-multiple */
|
|
131
|
-
background: rgb(var(--color-primary-500)) linear-gradient(0deg, rgb(var(--color-primary-500)) 0%, rgb(var(--color-primary-500)) 100%);
|
|
132
|
-
@apply text-on-primary-token;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* Checkbox & Radio */
|
|
136
|
-
.checkbox,
|
|
137
|
-
.radio {
|
|
138
|
-
@apply w-5 h-5 !ring-0 rounded cursor-pointer;
|
|
139
|
-
/* Background */
|
|
140
|
-
@apply bg-surface-200-700-token focus:brightness-105 hover:brightness-105;
|
|
141
|
-
/* Border */
|
|
142
|
-
@apply border-token border-surface-400-500-token focus:border-primary-500;
|
|
143
|
-
}
|
|
144
|
-
.checkbox:checked,
|
|
145
|
-
.radio:checked {
|
|
146
|
-
@apply bg-primary-500 hover:bg-primary-500 focus:bg-primary-500 focus:ring-0;
|
|
147
|
-
}
|
|
148
|
-
.radio {
|
|
149
|
-
@apply rounded-token;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/* === Specialized === */
|
|
153
|
-
|
|
154
|
-
/* File Inputs */
|
|
155
|
-
.input[type='file'] {
|
|
156
|
-
@apply p-1;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/* Color Picker */
|
|
160
|
-
/* https://stackoverflow.com/questions/11167281/webkit-css-to-control-the-box-around-the-color-in-an-inputtype-color */
|
|
161
|
-
.input[type='color'] {
|
|
162
|
-
@apply border-none w-10 h-10 overflow-hidden rounded-token cursor-pointer;
|
|
163
|
-
-webkit-appearance: none; /* WebKit Only */
|
|
164
|
-
}
|
|
165
|
-
.input[type='color']::-webkit-color-swatch-wrapper {
|
|
166
|
-
@apply p-0;
|
|
167
|
-
}
|
|
168
|
-
.input[type='color']::-webkit-color-swatch {
|
|
169
|
-
@apply border-none hover:brightness-110;
|
|
170
|
-
}
|
|
171
|
-
.input[type='color']::-moz-color-swatch {
|
|
172
|
-
@apply border-none;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* === States === */
|
|
176
|
-
|
|
177
|
-
.input:disabled,
|
|
178
|
-
.textarea:disabled,
|
|
179
|
-
.select:disabled {
|
|
180
|
-
@apply !opacity-50 !cursor-not-allowed hover:!brightness-100;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.input[readonly],
|
|
184
|
-
.textarea[readonly],
|
|
185
|
-
.select[readonly] {
|
|
186
|
-
@apply !border-0 !cursor-not-allowed hover:!brightness-100;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/* === Input Groups === */
|
|
190
|
-
|
|
191
|
-
.input-group {
|
|
192
|
-
@apply grid overflow-hidden;
|
|
193
|
-
}
|
|
194
|
-
.input-group input,
|
|
195
|
-
.input-group select {
|
|
196
|
-
@apply border-0 !ring-0 bg-transparent;
|
|
197
|
-
}
|
|
198
|
-
.input-group select option {
|
|
199
|
-
@apply bg-surface-200-700-token;
|
|
200
|
-
}
|
|
201
|
-
.input-group div,
|
|
202
|
-
.input-group a,
|
|
203
|
-
.input-group button {
|
|
204
|
-
@apply px-4 flex justify-between items-center;
|
|
205
|
-
}
|
|
206
|
-
.input-group-divider input,
|
|
207
|
-
.input-group-divider select,
|
|
208
|
-
.input-group-divider div,
|
|
209
|
-
.input-group-divider a {
|
|
210
|
-
@apply border-l border-surface-400-500-token focus:border-surface-400-500-token;
|
|
211
|
-
/* Disable Ring */
|
|
212
|
-
@apply !ring-0;
|
|
213
|
-
/* Prevent buttons from being squished */
|
|
214
|
-
@apply !min-w-fit;
|
|
215
|
-
}
|
|
216
|
-
.input-group-divider *:first-child {
|
|
217
|
-
@apply !border-l-0;
|
|
218
|
-
}
|
|
219
|
-
.input-group-shim {
|
|
220
|
-
@apply bg-surface-400/10 text-surface-600-300-token;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/* === Variants === */
|
|
224
|
-
|
|
225
|
-
/* success */
|
|
226
|
-
.input-success {
|
|
227
|
-
@apply !bg-success-200 !border-success-500 !text-success-700;
|
|
228
|
-
}
|
|
229
|
-
.input-success::-moz-placeholder {
|
|
230
|
-
@apply text-success-700;
|
|
231
|
-
}
|
|
232
|
-
.input-success:-ms-input-placeholder {
|
|
233
|
-
@apply text-success-700;
|
|
234
|
-
}
|
|
235
|
-
.input-success::placeholder {
|
|
236
|
-
@apply text-success-700;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/* warning */
|
|
240
|
-
.input-warning {
|
|
241
|
-
@apply !bg-warning-200 !border-warning-500 !text-warning-700;
|
|
242
|
-
}
|
|
243
|
-
.input-warning::-moz-placeholder {
|
|
244
|
-
@apply text-warning-700;
|
|
245
|
-
}
|
|
246
|
-
.input-warning:-ms-input-placeholder {
|
|
247
|
-
@apply text-warning-700;
|
|
248
|
-
}
|
|
249
|
-
.input-warning::placeholder {
|
|
250
|
-
@apply text-warning-700;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/* error */
|
|
254
|
-
.input-error {
|
|
255
|
-
@apply !bg-error-200 !border-error-500 !text-error-500;
|
|
256
|
-
}
|
|
257
|
-
.input-error::-moz-placeholder {
|
|
258
|
-
@apply text-error-500;
|
|
259
|
-
}
|
|
260
|
-
.input-error:-ms-input-placeholder {
|
|
261
|
-
@apply text-error-500;
|
|
262
|
-
}
|
|
263
|
-
.input-error::placeholder {
|
|
264
|
-
@apply text-error-500;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/* === Variants === */
|
|
268
|
-
|
|
269
|
-
/* Material */
|
|
270
|
-
.variant-form-material {
|
|
271
|
-
/* Border Radius */
|
|
272
|
-
@apply !rounded-tl !rounded-tr !rounded-bl-none !rounded-br-none;
|
|
273
|
-
/* Background */
|
|
274
|
-
@apply bg-surface-500/10 dark:bg-surface-500/20;
|
|
275
|
-
/* Border */
|
|
276
|
-
@apply border-0 border-b-2;
|
|
277
|
-
/* Blur / high CPU usage on some browsers, see https://github.com/skeletonlabs/skeleton/issues/1805 */
|
|
278
|
-
/* @apply backdrop-blur; */
|
|
279
|
-
}
|
|
280
|
-
.variant-form-material[type='file'] {
|
|
281
|
-
@apply !py-1.5;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: button.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
/* === Lists (Parents) === */
|
|
5
|
-
|
|
6
|
-
.list,
|
|
7
|
-
.list-dl,
|
|
8
|
-
.list-nav ul {
|
|
9
|
-
/* List Style */
|
|
10
|
-
@apply list-none;
|
|
11
|
-
/* Spacing */
|
|
12
|
-
@apply space-y-1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* === List Items (Children) === */
|
|
16
|
-
|
|
17
|
-
.list li {
|
|
18
|
-
/* @apply bg-red-500; */
|
|
19
|
-
@apply flex items-center space-x-4;
|
|
20
|
-
/* Padding */
|
|
21
|
-
/* @apply p-2; */
|
|
22
|
-
/* Theme: Rounded */
|
|
23
|
-
@apply rounded-token;
|
|
24
|
-
/* Wrapping */
|
|
25
|
-
@apply whitespace-normal break-words;
|
|
26
|
-
}
|
|
27
|
-
.list-dl div {
|
|
28
|
-
/* @apply bg-blue-500; */
|
|
29
|
-
@apply flex items-center space-x-4 whitespace-nowrap;
|
|
30
|
-
/* Padding */
|
|
31
|
-
@apply p-2;
|
|
32
|
-
/* Theme: Rounded */
|
|
33
|
-
@apply rounded-token;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.list-nav a,
|
|
37
|
-
.list-nav button,
|
|
38
|
-
.list-option {
|
|
39
|
-
@apply flex items-center space-x-4 whitespace-nowrap;
|
|
40
|
-
/* Padding */
|
|
41
|
-
@apply px-4 py-2;
|
|
42
|
-
/* Hover */
|
|
43
|
-
@apply bg-primary-hover-token;
|
|
44
|
-
/* Focus */
|
|
45
|
-
@apply focus:variant-soft-primary outline-none;
|
|
46
|
-
/* Cursor */
|
|
47
|
-
@apply cursor-pointer;
|
|
48
|
-
/* Theme: Rounded */
|
|
49
|
-
@apply rounded-token;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* Tailwind Elements: logo-clouds.css */
|
|
2
|
-
|
|
3
|
-
@layer components {
|
|
4
|
-
.logo-cloud {
|
|
5
|
-
@apply grid overflow-hidden;
|
|
6
|
-
/* Theme: Rounded */
|
|
7
|
-
@apply rounded-container-token;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* === Logo Item (Child) === */
|
|
11
|
-
|
|
12
|
-
.logo-item {
|
|
13
|
-
@apply flex-auto text-center space-x-4 shadow;
|
|
14
|
-
/* Center Contents */
|
|
15
|
-
@apply flex justify-center items-center space-x-4;
|
|
16
|
-
/* Background */
|
|
17
|
-
@apply bg-surface-100-800-token;
|
|
18
|
-
/* Text */
|
|
19
|
-
@apply text-base font-bold text-black dark:text-white;
|
|
20
|
-
/* Padding */
|
|
21
|
-
@apply py-4 md:py-8;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* === States === */
|
|
25
|
-
|
|
26
|
-
a.logo-item {
|
|
27
|
-
@apply hover:brightness-110;
|
|
28
|
-
}
|
|
29
|
-
}
|