@landtrustinc/design-system 1.0.12 → 1.1.0-beta.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.
@@ -112,6 +112,7 @@
112
112
 
113
113
  --surface-page: var(--color-base-white);
114
114
  --surface-subtle: var(--color-brown-50);
115
+ --surface-neutral: var(--color-neutral-50);
115
116
  --surface-success: var(--color-success-50);
116
117
  --surface-warning: var(--color-yellow-200);
117
118
  --surface-error: var(--color-error-100);
@@ -191,4 +192,18 @@
191
192
  var(--shadow-spread-md) var(--color-brown-200);
192
193
  --shadow-3xl: 0px var(--spacing-8) var(--shadow-blur-2xl)
193
194
  var(--shadow-spread-md) rgba(17, 17, 17, 0.1);
195
+
196
+ --widths-none: var(--spacing-1);
197
+ --widths-xs: var(--spacing-1);
198
+ --widths-sm: var(--spacing-2);
199
+ --widths-md: var(--spacing-1);
200
+ --widths-lg: var(--spacing-2);
201
+ --widths-xlg: var(--spacing-3);
202
+
203
+ --radius-none: var(--spacing-1);
204
+ --radius-xs: var(--spacing-2);
205
+ --radius-sm: var(--spacing-1);
206
+ --radius-md: var(--spacing-2);
207
+ --radius-lg: var(--spacing-3);
208
+ --radius-round: var(--spacing-10);
194
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@landtrustinc/design-system",
3
- "version": "1.0.12",
3
+ "version": "1.1.0-beta.0",
4
4
  "private": false,
5
5
  "description": "Design system components for LandTrust applications",
6
6
  "homepage": "https://github.com/LandtrustInc/landtrust-ui/tree/main/packages/design-system",
@@ -14,7 +14,9 @@
14
14
  "type": "commonjs",
15
15
  "exports": {
16
16
  ".": {
17
- "require": "./dist/index.js"
17
+ "import": "./dist/index.js",
18
+ "require": "./dist/index.js",
19
+ "types": "./dist/index.d.ts"
18
20
  },
19
21
  "./variables.css": "./variables.css"
20
22
  },
@@ -36,7 +38,12 @@
36
38
  "lint-staged:prettier": "prettier --write",
37
39
  "lint-staged:tsc-files": "tsc-files --noEmit emotion.d.ts declarations.d.ts",
38
40
  "prepareIcons": "svgr ./src/Icon/icons",
39
- "storybook": "storybook dev -p 6006"
41
+ "publish:beta": "npm run build && npm publish --tag beta",
42
+ "publish:beta-dry": "npm run build && npm publish --tag beta --dry-run",
43
+ "storybook": "storybook dev -p 6006",
44
+ "version:beta": "npm version prerelease --preid=beta",
45
+ "version:beta-major": "npm version premajor --preid=beta",
46
+ "version:beta-minor": "npm version preminor --preid=beta"
40
47
  },
41
48
  "dependencies": {
42
49
  "hex-rgb": "^4.2.0",
package/variables.css CHANGED
@@ -112,6 +112,7 @@
112
112
 
113
113
  --surface-page: var(--color-base-white);
114
114
  --surface-subtle: var(--color-brown-50);
115
+ --surface-neutral: var(--color-neutral-50);
115
116
  --surface-success: var(--color-success-50);
116
117
  --surface-warning: var(--color-yellow-200);
117
118
  --surface-error: var(--color-error-100);
@@ -191,4 +192,18 @@
191
192
  var(--shadow-spread-md) var(--color-brown-200);
192
193
  --shadow-3xl: 0px var(--spacing-8) var(--shadow-blur-2xl)
193
194
  var(--shadow-spread-md) rgba(17, 17, 17, 0.1);
195
+
196
+ --widths-none: var(--spacing-1);
197
+ --widths-xs: var(--spacing-1);
198
+ --widths-sm: var(--spacing-2);
199
+ --widths-md: var(--spacing-1);
200
+ --widths-lg: var(--spacing-2);
201
+ --widths-xlg: var(--spacing-3);
202
+
203
+ --radius-none: var(--spacing-1);
204
+ --radius-xs: var(--spacing-2);
205
+ --radius-sm: var(--spacing-1);
206
+ --radius-md: var(--spacing-2);
207
+ --radius-lg: var(--spacing-3);
208
+ --radius-round: var(--spacing-10);
194
209
  }