@skeletonlabs/skeleton-common 1.0.0-next.5 → 1.0.0-next.6
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/classes/popover.d.ts +14 -0
- package/dist/classes/popover.d.ts.map +1 -0
- package/dist/classes/popover.js +15 -0
- package/dist/classes/popover.js.map +1 -0
- package/dist/classes/tags-input.d.ts +17 -0
- package/dist/classes/tags-input.d.ts.map +1 -0
- package/dist/classes/tags-input.js +18 -0
- package/dist/classes/tags-input.js.map +1 -0
- package/dist/classes/tooltip.d.ts +11 -0
- package/dist/classes/tooltip.d.ts.map +1 -0
- package/dist/classes/tooltip.js +12 -0
- package/dist/classes/tooltip.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/package.json +9 -7
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/classes/popover.d.ts
|
|
2
|
+
declare const classesPopover: {
|
|
3
|
+
trigger: string;
|
|
4
|
+
positioner: string;
|
|
5
|
+
content: string;
|
|
6
|
+
arrow: string;
|
|
7
|
+
arrowTip: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
closeTrigger: string;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { classesPopover };
|
|
14
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","names":[],"sources":["../../src/classes/popover.ts"],"sourcesContent":[],"mappings":";cAEa;EAAA,OAAA,EAAA,MAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/classes/popover.ts
|
|
2
|
+
const classesPopover = {
|
|
3
|
+
"trigger": "",
|
|
4
|
+
"positioner": "",
|
|
5
|
+
"content": "",
|
|
6
|
+
"arrow": "",
|
|
7
|
+
"arrowTip": "",
|
|
8
|
+
"title": "",
|
|
9
|
+
"description": "",
|
|
10
|
+
"closeTrigger": ""
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { classesPopover };
|
|
15
|
+
//# sourceMappingURL=popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","names":[],"sources":["../../src/classes/popover.ts"],"sourcesContent":["import { defineSkeletonClasses } from '../internal/define-skeleton-classes.js' with { type: 'macro' };\n\nexport const classesPopover = defineSkeletonClasses({\n\ttrigger: '',\n\tpositioner: '',\n\tcontent: '',\n\tarrow: '',\n\tarrowTip: '',\n\ttitle: '',\n\tdescription: '',\n\tcloseTrigger: '',\n});\n"],"mappings":";AAEA,MAAa,iBAAiB;CAAA,WAAA;CAAA,cAAA;CAAA,WAAA;CAAA,SAAA;CAAA,YAAA;CAAA,SAAA;CAAA,eAAA;CAAA,gBAAA;CAS5B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/classes/tags-input.d.ts
|
|
2
|
+
declare const classesTagsInput: {
|
|
3
|
+
root: string;
|
|
4
|
+
label: string;
|
|
5
|
+
control: string;
|
|
6
|
+
item: string;
|
|
7
|
+
itemPreview: string;
|
|
8
|
+
itemText: string;
|
|
9
|
+
itemDeleteTrigger: string;
|
|
10
|
+
itemInput: string;
|
|
11
|
+
input: string;
|
|
12
|
+
clearTrigger: string;
|
|
13
|
+
hiddenInput: string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { classesTagsInput };
|
|
17
|
+
//# sourceMappingURL=tags-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tags-input.d.ts","names":[],"sources":["../../src/classes/tags-input.ts"],"sourcesContent":[],"mappings":";cAEa;EAAA,IAAA,EAAA,MAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/classes/tags-input.ts
|
|
2
|
+
const classesTagsInput = {
|
|
3
|
+
"root": "skb:w-full skb:space-y-2 skb:gap-2",
|
|
4
|
+
"label": "skb:label-text",
|
|
5
|
+
"control": "skb:input skb:flex skb:flex-wrap skb:gap-2 skb:p-2",
|
|
6
|
+
"item": "",
|
|
7
|
+
"itemPreview": "skb:chip skb:flex skb:gap-0 skb:p-0 skb:preset-filled skb:hover:brightness-100 skb:w-fit skb:data-highlighted:ring-2 skb:data-highlighted:ring-primary-500",
|
|
8
|
+
"itemText": "skb:leading-none skb:px-2 skb:py-1",
|
|
9
|
+
"itemDeleteTrigger": "skb:hover:preset-tonal skb:px-2 skb:py-1",
|
|
10
|
+
"itemInput": "skb:input skb:text-xs",
|
|
11
|
+
"input": "skb:input-ghost",
|
|
12
|
+
"clearTrigger": "skb:btn skb:btn-sm skb:preset-tonal skb:hover:preset-filled-error-500",
|
|
13
|
+
"hiddenInput": ""
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { classesTagsInput };
|
|
18
|
+
//# sourceMappingURL=tags-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tags-input.js","names":[],"sources":["../../src/classes/tags-input.ts"],"sourcesContent":["import { defineSkeletonClasses } from '../internal/define-skeleton-classes' with { type: 'macro' };\n\nexport const classesTagsInput = defineSkeletonClasses({\n\troot: 'w-full space-y-2 gap-2',\n\tlabel: 'label-text',\n\tcontrol: 'input flex flex-wrap gap-2 p-2',\n\titem: '',\n\titemPreview: [\n\t\t'chip flex gap-0 p-0 preset-filled hover:brightness-100 w-fit',\n\t\t'data-highlighted:ring-2 data-highlighted:ring-primary-500',\n\t],\n\titemText: 'leading-none px-2 py-1',\n\titemDeleteTrigger: 'hover:preset-tonal px-2 py-1',\n\titemInput: 'input text-xs',\n\tinput: 'input-ghost',\n\tclearTrigger: 'btn btn-sm preset-tonal hover:preset-filled-error-500',\n\thiddenInput: '',\n});\n"],"mappings":";AAEA,MAAa,mBAAmB;CAAA,QAAA;CAAA,SAAA;CAAA,WAAA;CAAA,QAAA;CAAA,eAAA;CAAA,YAAA;CAAA,qBAAA;CAAA,aAAA;CAAA,SAAA;CAAA,gBAAA;CAAA,eAAA;CAe9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","names":[],"sources":["../../src/classes/tooltip.ts"],"sourcesContent":[],"mappings":";cAEa;EAAA,OAAA,EAAA,MAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.js","names":[],"sources":["../../src/classes/tooltip.ts"],"sourcesContent":["import { defineSkeletonClasses } from '../internal/define-skeleton-classes' with { type: 'macro' };\n\nexport const classesTooltip = defineSkeletonClasses({\n\ttrigger: '',\n\tpositioner: '',\n\tcontent: '',\n\tarrow: '',\n\tarrowTip: '',\n});\n"],"mappings":";AAEA,MAAa,iBAAiB;CAAA,WAAA;CAAA,cAAA;CAAA,WAAA;CAAA,SAAA;CAAA,YAAA;CAM5B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { classesAccordion } from "./classes/accordion.js";
|
|
2
2
|
import { classesAvatar } from "./classes/avatar.js";
|
|
3
3
|
import { classesFileUpload } from "./classes/file-upload.js";
|
|
4
|
+
import { classesPopover } from "./classes/popover.js";
|
|
4
5
|
import { classesProgressLinear } from "./classes/progress-linear.js";
|
|
5
6
|
import { classesRatingGroup } from "./classes/rating-group.js";
|
|
6
7
|
import { classesSwitch } from "./classes/switch.js";
|
|
7
8
|
import { classesTabs } from "./classes/tabs.js";
|
|
9
|
+
import { classesTagsInput } from "./classes/tags-input.js";
|
|
8
10
|
import { classesToast } from "./classes/toast.js";
|
|
11
|
+
import { classesTooltip } from "./classes/tooltip.js";
|
|
9
12
|
import { Theme, themes } from "./themes.js";
|
|
10
|
-
export { Theme, classesAccordion, classesAvatar, classesFileUpload, classesProgressLinear, classesRatingGroup, classesSwitch, classesTabs, classesToast, themes };
|
|
13
|
+
export { Theme, classesAccordion, classesAvatar, classesFileUpload, classesPopover, classesProgressLinear, classesRatingGroup, classesSwitch, classesTabs, classesTagsInput, classesToast, classesTooltip, themes };
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { classesAccordion } from "./classes/accordion.js";
|
|
2
2
|
import { classesAvatar } from "./classes/avatar.js";
|
|
3
3
|
import { classesFileUpload } from "./classes/file-upload.js";
|
|
4
|
+
import { classesPopover } from "./classes/popover.js";
|
|
4
5
|
import { classesProgressLinear } from "./classes/progress-linear.js";
|
|
5
6
|
import { classesRatingGroup } from "./classes/rating-group.js";
|
|
6
7
|
import { classesSwitch } from "./classes/switch.js";
|
|
7
8
|
import { classesTabs } from "./classes/tabs.js";
|
|
9
|
+
import { classesTagsInput } from "./classes/tags-input.js";
|
|
8
10
|
import { classesToast } from "./classes/toast.js";
|
|
11
|
+
import { classesTooltip } from "./classes/tooltip.js";
|
|
9
12
|
import { themes } from "./themes.js";
|
|
10
13
|
|
|
11
|
-
export { classesAccordion, classesAvatar, classesFileUpload, classesProgressLinear, classesRatingGroup, classesSwitch, classesTabs, classesToast, themes };
|
|
14
|
+
export { classesAccordion, classesAvatar, classesFileUpload, classesPopover, classesProgressLinear, classesRatingGroup, classesSwitch, classesTabs, classesTagsInput, classesToast, classesTooltip, themes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton-common",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -15,14 +15,16 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"tsdown": "
|
|
19
|
-
"typescript": "
|
|
20
|
-
"unplugin-macros": "
|
|
21
|
-
"unplugin-raw": "
|
|
22
|
-
"@skeletonlabs/skeleton": "4.0.0-next.
|
|
18
|
+
"tsdown": "0.14.2",
|
|
19
|
+
"typescript": "5.9.2",
|
|
20
|
+
"unplugin-macros": "0.18.1",
|
|
21
|
+
"unplugin-raw": "0.6.1",
|
|
22
|
+
"@skeletonlabs/skeleton": "4.0.0-next.3"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
|
+
"dev": "tsdown --watch",
|
|
25
26
|
"build": "tsdown",
|
|
26
|
-
"
|
|
27
|
+
"check": "tsc",
|
|
28
|
+
"sync": "pnpm build"
|
|
27
29
|
}
|
|
28
30
|
}
|