@skeletonlabs/skeleton-common 1.0.0-next.2 → 1.0.0-next.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.
@@ -0,0 +1,9 @@
1
+ //#region src/classes/progress-linear.d.ts
2
+ declare const classesProgressLinear: {
3
+ root: string;
4
+ label: string;
5
+ track: string;
6
+ range: string;
7
+ };
8
+ //#endregion
9
+ export { classesProgressLinear };
@@ -0,0 +1,10 @@
1
+ //#region src/classes/progress-linear.ts
2
+ const classesProgressLinear = {
3
+ "root": "skb:items-center skb:justify-center skb:gap-2 skb:data-[orientation=horizontal]:flex skb:data-[orientation=horizontal]:flex-row skb:data-[orientation=horizontal]:w-full skb:data-[orientation=vertical]:inline-flex skb:data-[orientation=vertical]:flex-col",
4
+ "label": "skb:whitespace-nowrap",
5
+ "track": "skb:bg-surface-200-800 skb:rounded-base skb:overflow-hidden skb:data-[orientation=horizontal]:w-full skb:data-[orientation=horizontal]:h-2 skb:data-[orientation=vertical]:w-2 skb:data-[orientation=vertical]:h-[100px]",
6
+ "range": "skb:h-full skb:bg-surface-950-50 skb:rounded-base skb:data-[orientation=horizontal]:transition-[width] skb:data-[orientation=horizontal]:data-[state=indeterminate]:animate-progress-indeterminate-horz skb:data-[orientation=vertical]:transition-[height] skb:data-[orientation=vertical]:data-[state=indeterminate]:animate-progress-indeterminate-vert"
7
+ };
8
+
9
+ //#endregion
10
+ export { classesProgressLinear };
@@ -0,0 +1,10 @@
1
+ //#region src/classes/switch.d.ts
2
+ declare const classesSwitch: {
3
+ root: string;
4
+ control: string;
5
+ thumb: string;
6
+ label: string;
7
+ hiddenInput: string;
8
+ };
9
+ //#endregion
10
+ export { classesSwitch };
@@ -0,0 +1,11 @@
1
+ //#region src/classes/switch.ts
2
+ const classesSwitch = {
3
+ "root": "skb:cursor-pointer skb:data-disabled:cursor-not-allowed skb:data-disabled:opacity-50 skb:flex skb:gap-2",
4
+ "control": "skb:block skb:preset-filled-surface-200-800 skb:h-6 skb:w-10 skb:p-0.5 skb:rounded-full skb:flex skb:justify-start skb:data-[state=checked]:preset-filled-primary-500 skb:data-focus:ring-2 skb:data-focus:ring-surface-950-50",
5
+ "thumb": "skb:rounded-full skb:block skb:preset-filled-surface-50-950 skb:h-full skb:aspect-square skb:transition-transform skb:grid skb:place-items-center skb:data-[state=checked]:bg-surface-950-50 skb:data-[state=checked]:translate-x-4 skb:rtl:data-[state=checked]:-translate-x-4",
6
+ "label": "",
7
+ "hiddenInput": ""
8
+ };
9
+
10
+ //#endregion
11
+ export { classesSwitch };
@@ -0,0 +1,12 @@
1
+ //#region src/classes/toast.d.ts
2
+ declare const classesToast: {
3
+ root: string;
4
+ group: string;
5
+ message: string;
6
+ title: string;
7
+ description: string;
8
+ actionTrigger: string;
9
+ closeTrigger: string;
10
+ };
11
+ //#endregion
12
+ export { classesToast };
@@ -0,0 +1,13 @@
1
+ //#region src/classes/toast.ts
2
+ const classesToast = {
3
+ "root": "skb:card skb:p-3 skb:w-full skb:md:w-md skb:ring skb:flex skb:items-center skb:gap-2 skb:data-[type=info]:preset-filled-surface-50-950 skb:data-[type=info]:ring-surface-200-800 skb:data-[type=success]:preset-filled-success-500 skb:data-[type=warning]:preset-filled-warning-500 skb:data-[type=error]:preset-filled-error-500",
4
+ "group": "",
5
+ "message": "skb:flex-1",
6
+ "title": "skb:font-medium skb:text-sm",
7
+ "description": "skb:text-sm",
8
+ "actionTrigger": "skb:btn skb:preset-filled",
9
+ "closeTrigger": "skb:btn-icon skb:hover:preset-tonal"
10
+ };
11
+
12
+ //#endregion
13
+ export { classesToast };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { Theme, themes } from "./themes.js";
2
2
  import { classesAccordion } from "./classes/accordion.js";
3
3
  import { classesAvatar } from "./classes/avatar.js";
4
+ import { classesProgressLinear } from "./classes/progress-linear.js";
4
5
  import { classesRatingGroup } from "./classes/rating-group.js";
6
+ import { classesSwitch } from "./classes/switch.js";
5
7
  import { classesTabs } from "./classes/tabs.js";
6
- export { Theme, classesAccordion, classesAvatar, classesRatingGroup, classesTabs, themes };
8
+ import { classesToast } from "./classes/toast.js";
9
+ export { Theme, classesAccordion, classesAvatar, classesProgressLinear, classesRatingGroup, classesSwitch, classesTabs, classesToast, themes };
package/dist/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  import { themes } from "./themes.js";
2
2
  import { classesAccordion } from "./classes/accordion.js";
3
3
  import { classesAvatar } from "./classes/avatar.js";
4
+ import { classesProgressLinear } from "./classes/progress-linear.js";
4
5
  import { classesRatingGroup } from "./classes/rating-group.js";
6
+ import { classesSwitch } from "./classes/switch.js";
5
7
  import { classesTabs } from "./classes/tabs.js";
8
+ import { classesToast } from "./classes/toast.js";
6
9
 
7
- export { classesAccordion, classesAvatar, classesRatingGroup, classesTabs, themes };
10
+ export { classesAccordion, classesAvatar, classesProgressLinear, classesRatingGroup, classesSwitch, classesTabs, classesToast, themes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton-common",
3
- "version": "1.0.0-next.2",
3
+ "version": "1.0.0-next.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -19,7 +19,7 @@
19
19
  "typescript": "^5.9.2",
20
20
  "unplugin-macros": "^0.18.1",
21
21
  "unplugin-raw": "^0.6.1",
22
- "@skeletonlabs/skeleton": "4.0.0-next.1"
22
+ "@skeletonlabs/skeleton": "4.0.0-next.2"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsdown",