@expressivecss/expressive 0.10.0 → 0.10.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,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./chunks/chunk-PB5L3EXF.mjs";
3
+ } from "./chunks/chunk-ZAOYQ6SY.mjs";
4
4
  import {
5
5
  AutoInit
6
6
  } from "./chunks/chunk-ZIZVUWRL.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./chunks/chunk-PB5L3EXF.mjs";
3
+ } from "./chunks/chunk-ZAOYQ6SY.mjs";
4
4
  import {
5
5
  AutoInit
6
6
  } from "./chunks/chunk-ZIZVUWRL.mjs";
@@ -5,7 +5,7 @@ export { SideSheets } from './behaviors/sideSheets';
5
5
  export { Forms } from './behaviors/forms';
6
6
  export { AutoInit } from './components/registry';
7
7
  export type { AutoInitOptions } from './components/registry';
8
- export declare const version = "0.10.0";
8
+ export declare const version = "0.10.1";
9
9
  export type * from './components/autocomplete';
10
10
  export type * from './components/appBar';
11
11
  export type * from './components/buttons';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressivecss/expressive",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "ExpressiveCSS - a Material Design 3 front-end framework.",
5
5
  "license": "MIT",
6
6
  "author": "BaezFJ <baezdevs@gmail.com>",
@@ -7,6 +7,24 @@
7
7
  // Positioning
8
8
  .valign-wrapper { display: flex; align-items: center; }
9
9
 
10
+ // Flex layout. One declaration each; combine on the container, and pair with
11
+ // .gap-* from _spacing.scss for the space between items. Row direction and
12
+ // start alignment are the flex defaults, so only the overrides get a class.
13
+ .flex { display: flex; }
14
+ .inline-flex { display: inline-flex; }
15
+ .flex-column { flex-direction: column; }
16
+ .flex-wrap { flex-wrap: wrap; }
17
+ .justify-start { justify-content: flex-start; }
18
+ .justify-center { justify-content: center; }
19
+ .justify-end { justify-content: flex-end; }
20
+ .justify-between { justify-content: space-between; }
21
+ .align-start { align-items: flex-start; }
22
+ .align-center { align-items: center; }
23
+ .align-end { align-items: flex-end; }
24
+ .align-stretch { align-items: stretch; }
25
+ .flex-1 { flex: 1 1 0; }
26
+ .flex-none { flex: none; }
27
+
10
28
  // Text alignment
11
29
  .left-align { text-align: left; }
12
30
  .right-align { text-align: right }
@@ -1,4 +1,4 @@
1
- // Margin and padding scale: .m-3, .pt-2, .px-4, .my-auto, ...
1
+ // Margin, padding and gap scale: .m-3, .pt-2, .px-4, .my-auto, .gap-2, ...
2
2
  //
3
3
  // Shortcut x value x direction, all !important so a helper wins over the
4
4
  // component it is applied to. Edit the maps here to change the scale.
@@ -37,3 +37,10 @@ $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5
37
37
  }
38
38
  }
39
39
  }
40
+
41
+ // Gap on the same scale for flex and grid containers: .gap-0 ... .gap-6.
42
+ @each $name, $value in $spacing-values {
43
+ @if $name != "auto" {
44
+ .gap-#{$name} { gap: $value !important; }
45
+ }
46
+ }
@@ -1,7 +0,0 @@
1
- // src/ts/modular.ts
2
- var version = "0.10.0";
3
-
4
- export {
5
- version
6
- };
7
- //# sourceMappingURL=chunk-PB5L3EXF.mjs.map