@blockle/blocks 0.7.2 → 0.8.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.
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ const fileScope = require("@vanilla-extract/css/fileScope");
3
+ const css = require("@vanilla-extract/css");
4
+ const styles_lib_css_layers_layers_css_cjs = require("../../lib/css/layers/layers.css.cjs");
5
+ fileScope.setFileScope("src/components/Heading/heading.css.ts?used", "blocks");
6
+ const heading = css.style({
7
+ "@layer": {
8
+ [styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
9
+ margin: 0,
10
+ padding: 0
11
+ }
12
+ }
13
+ }, "heading");
14
+ fileScope.endFileScope();
15
+ exports.heading = heading;
@@ -0,0 +1,16 @@
1
+ import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
+ import { style } from "@vanilla-extract/css";
3
+ import { blocksLayer } from "../../lib/css/layers/layers.css.mjs";
4
+ setFileScope("src/components/Heading/heading.css.ts?used", "blocks");
5
+ const heading = style({
6
+ "@layer": {
7
+ [blocksLayer]: {
8
+ margin: 0,
9
+ padding: 0
10
+ }
11
+ }
12
+ }, "heading");
13
+ endFileScope();
14
+ export {
15
+ heading
16
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ const fileScope = require("@vanilla-extract/css/fileScope");
3
+ const css = require("@vanilla-extract/css");
4
+ const styles_lib_css_layers_layers_css_cjs = require("../../lib/css/layers/layers.css.cjs");
5
+ fileScope.setFileScope("src/components/Text/text.css.ts?used", "blocks");
6
+ const text = css.style({
7
+ "@layer": {
8
+ [styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
9
+ margin: 0,
10
+ padding: 0
11
+ }
12
+ }
13
+ }, "text");
14
+ fileScope.endFileScope();
15
+ exports.text = text;
@@ -0,0 +1,16 @@
1
+ import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
+ import { style } from "@vanilla-extract/css";
3
+ import { blocksLayer } from "../../lib/css/layers/layers.css.mjs";
4
+ setFileScope("src/components/Text/text.css.ts?used", "blocks");
5
+ const text = style({
6
+ "@layer": {
7
+ [blocksLayer]: {
8
+ margin: 0,
9
+ padding: 0
10
+ }
11
+ }
12
+ }, "text");
13
+ endFileScope();
14
+ export {
15
+ text
16
+ };
@@ -13,7 +13,9 @@ const button = styles_lib_theme_makeComponentTheme_cjs.makeComponentTheme("butto
13
13
  placeItems: "center",
14
14
  fontSize: "medium",
15
15
  borderRadius: "medium",
16
- fontWeight: "medium"
16
+ fontWeight: "medium",
17
+ // Space between icon and text
18
+ gap: "small"
17
19
  }), styles_themes_momotaro_components_helpers_css_cjs.clickable], "button_base"),
18
20
  variants: {
19
21
  variant: {
@@ -12,7 +12,9 @@ const button = makeComponentTheme("button", {
12
12
  placeItems: "center",
13
13
  fontSize: "medium",
14
14
  borderRadius: "medium",
15
- fontWeight: "medium"
15
+ fontWeight: "medium",
16
+ // Space between icon and text
17
+ gap: "small"
16
18
  }), clickable], "button_base"),
17
19
  variants: {
18
20
  variant: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockle/blocks",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "Blocks design system",
5
5
  "repository": "git@github.com:Blockle/blocks.git",
6
6
  "license": "MIT",
@@ -51,7 +51,6 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@changesets/cli": "^2.26.2",
54
- "@radix-ui/react-polymorphic": "^0.0.14",
55
54
  "@vanilla-extract/css": "^1.13.0",
56
55
  "@vanilla-extract/css-utils": "^0.1.3",
57
56
  "@vanilla-extract/sprinkles": "^1.6.1",