@validationcloud/fractal-ui 1.23.0 → 1.25.0
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/page-padding/page-padding.d.ts +1 -11
- package/dist/components/page-padding/page-padding.stories.d.ts +1 -3
- package/dist/fractal-ui.js +182 -177
- package/dist/index.d.ts +1 -0
- package/dist/styles/dynamic-padding.css +46 -0
- package/dist/styles/tailwind.css +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export { Skeleton } from './components/skeleton/skeleton';
|
|
|
13
13
|
export { TextInput } from './components/text-input/text-input';
|
|
14
14
|
export { Tooltip } from './components/tooltip/tooltip';
|
|
15
15
|
export { TooltipProvider } from './components/tooltip-provider/tooltip-provider';
|
|
16
|
+
export { twMerge } from './lib/tailwind-merge.ts';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* Dynamic Padding Utilities */
|
|
2
|
+
@utility dpl {
|
|
3
|
+
padding-left: 0.75rem;
|
|
4
|
+
@variant min-xs {
|
|
5
|
+
padding-left: 1rem;
|
|
6
|
+
}
|
|
7
|
+
@variant min-md {
|
|
8
|
+
padding-left: 1.5rem;
|
|
9
|
+
}
|
|
10
|
+
@variant min-xl {
|
|
11
|
+
padding-left: 2.5rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@utility dpr {
|
|
16
|
+
padding-right: 0.75rem;
|
|
17
|
+
@variant min-xs {
|
|
18
|
+
padding-right: 1rem;
|
|
19
|
+
}
|
|
20
|
+
@variant min-md {
|
|
21
|
+
padding-right: 1.5rem;
|
|
22
|
+
}
|
|
23
|
+
@variant min-xl {
|
|
24
|
+
padding-right: 2.5rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@utility dpt {
|
|
29
|
+
padding-top: 0.75rem;
|
|
30
|
+
@variant min-xs {
|
|
31
|
+
padding-top: 1rem;
|
|
32
|
+
}
|
|
33
|
+
@variant min-md {
|
|
34
|
+
padding-top: 1.5rem;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@utility dpb {
|
|
39
|
+
padding-bottom: 0.75rem;
|
|
40
|
+
@variant min-xs {
|
|
41
|
+
padding-bottom: 1rem;
|
|
42
|
+
}
|
|
43
|
+
@variant min-md {
|
|
44
|
+
padding-bottom: 1.5rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/dist/styles/tailwind.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@import './gradients.css';
|
|
5
5
|
@import './scrollbar.css';
|
|
6
6
|
@import './typography.css';
|
|
7
|
+
@import './dynamic-padding.css';
|
|
7
8
|
|
|
8
9
|
/* We are safelisting the color values for the bg-protocols- and text-protocols- prefixes so we can generate the class names dynamically
|
|
9
10
|
* An alternative would be to list all these dynamic classes in a .txt file and then reference that file with the @source directive.
|