@warp-ds/css 1.3.0 → 1.4.0-next.1
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.
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as components from './index.js';
|
|
2
2
|
|
|
3
|
-
export const classes =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export const classes = [
|
|
4
|
+
...new Set(
|
|
5
|
+
Object.values(components).map((e) =>
|
|
6
|
+
typeof e === 'object'
|
|
7
|
+
? Object.values(e).map((e) => e.split(/\s/))
|
|
8
|
+
: e.split(/\s/)
|
|
9
|
+
).flat(Infinity)
|
|
10
|
+
)
|
|
11
|
+
];
|
|
12
|
+
|
|
@@ -196,6 +196,10 @@ export namespace expandable {
|
|
|
196
196
|
export const chevronTransform: string;
|
|
197
197
|
export const chevronExpand: string;
|
|
198
198
|
export const chevronCollapse: string;
|
|
199
|
+
export const elementsTransformChevronDownPart: string;
|
|
200
|
+
export const elementsChevronDownExpandPart: string;
|
|
201
|
+
export const elementsTransformChevronUpPart: string;
|
|
202
|
+
export const elementsChevronUpCollapsePart: string;
|
|
199
203
|
export const expansion: string;
|
|
200
204
|
export const expansionNotExpanded: string;
|
|
201
205
|
const button_1: string;
|
|
@@ -211,9 +211,13 @@ export const expandable = {
|
|
|
211
211
|
chevronTransform: 'transform transition-transform transform-gpu ease-in-out',
|
|
212
212
|
chevronExpand: '-rotate-180',
|
|
213
213
|
chevronCollapse: 'rotate-180',
|
|
214
|
+
elementsTransformChevronDownPart: 'part-[w-icon-chevron-down-16-part]:transform part-[w-icon-chevron-down-16-part]:transition-transform part-[w-icon-chevron-down-16-part]:transform-gpu part-[w-icon-chevron-down-16-part]:ease-in-out',
|
|
215
|
+
elementsChevronDownExpandPart: 'part-[w-icon-chevron-down-16-part]:-rotate-180',
|
|
216
|
+
elementsTransformChevronUpPart: 'part-[w-icon-chevron-up-16-part]:transform part-[w-icon-chevron-up-16-part]:transition-transform part-[w-icon-chevron-up-16-part]:transform-gpu part-[w-icon-chevron-up-16-part]:ease-in-out',
|
|
217
|
+
elementsChevronUpCollapsePart: 'part-[w-icon-chevron-up-16-part]:rotate-180',
|
|
214
218
|
expansion: 'overflow-hidden',
|
|
215
219
|
expansionNotExpanded: 'h-0 invisible',
|
|
216
|
-
button: buttonReset + ' hover:underline focus:underline',
|
|
220
|
+
button: buttonReset + ' hover:underline focus-visible:underline',
|
|
217
221
|
buttonBox: 'w-full text-left relative inline-flex items-center ' + box.box,
|
|
218
222
|
paddingTop: 'pt-0',
|
|
219
223
|
title: 'flex justify-between items-center',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-ds/css",
|
|
3
3
|
"repository": "git@github.com:warp-ds/css.git",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0-next.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc",
|
|
7
7
|
"commit": "cz",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@warp-ds/tokenizer": "^0.0.2",
|
|
43
|
-
"@warp-ds/uno": "^1.
|
|
43
|
+
"@warp-ds/uno": "^1.2.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@eik/cli": "^2.0.22",
|