@warp-ds/css 1.3.1-next.1 → 1.4.0-next.2
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,6 +211,10 @@ 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
220
|
button: buttonReset + ' hover:underline focus-visible:underline',
|
|
@@ -372,7 +376,7 @@ export const modal = {
|
|
|
372
376
|
//TODO: this class can be removed when we have the solution for opacity and we can add rgba values to the background of the backdrop
|
|
373
377
|
transparentBg: `before:i-bg-$color-modal-backdrop-background before:content-[""] before:absolute before:top-0 before:bottom-0 before:left-0 before:right-0 before:opacity-25`,
|
|
374
378
|
backdrop:
|
|
375
|
-
'fixed inset-0 flex sm:place-content-center sm:place-items-center items-end z-
|
|
379
|
+
'fixed inset-0 flex sm:place-content-center sm:place-items-center items-end z-30 [--w-modal-max-height:80%] [--w-modal-width:640px]',
|
|
376
380
|
modal:
|
|
377
381
|
'pb-safe-[32] i-shadow-$shadow-modal max-h-[--w-modal-max-height] min-h-[--w-modal-min-height] w-[--w-modal-width] h-[--w-modal-height] relative transition-300 ease-in-out backface-hidden will-change-height rounded-8 mx-0 sm:mx-16 i-bg-$color-modal-background flex flex-col overflow-hidden outline-none space-y-16 pt-8 sm:pt-32 sm:pb-32 rounded-b-0 sm:rounded-b-8',
|
|
378
382
|
content:
|
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.2",
|
|
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",
|