figma-kit 1.0.0-beta.8 → 1.0.0-beta.9

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/README.md CHANGED
@@ -9,41 +9,19 @@
9
9
  <h3>A set of React components for building Figma plugins.</h3>
10
10
  </div>
11
11
 
12
- ### Overview
12
+ > [!NOTE]
13
+ > Figma Kit is currently in beta. There may be breaking changes before the final release.
13
14
 
14
- Figma Kit is currently in beta and is expected to be finalized some time in Aug 2024.
15
- The library attempts to replicate Figma's user interface look & feel with near-100% feature parity,
16
- to get the UI engineering out of the way of building plugins.
15
+ ### Overview
17
16
 
18
- ### Getting started
17
+ Figma Kit is an extensive set of React components that attempts to replicate Figma's user interface look & feel with near-100% feature parity.
19
18
 
20
- ```bash
21
- npm install figma-kit@beta
22
- ```
19
+ #### Features
23
20
 
24
- ```tsx
25
- import {
26
- Button,
27
- IconButton,
28
- Text,
29
- Flex,
30
- Input,
31
- Textarea,
32
- ValueField,
33
- Tabs,
34
- Popover,
35
- SegmentedControl,
36
- Checkbox,
37
- RadioGroup,
38
- Dialog,
39
- Select,
40
- ContextMenu,
41
- Slider,
42
- Switch,
43
- Collapsible
44
- } from 'figma-kit'
45
- ```
21
+ * UI3 Ready
22
+ * Automatic dark mode
23
+ * First-class Tailwind support with a preset
46
24
 
47
25
  ### Documentation
48
26
 
49
- The documentation for the library is on its way. Meanwhile, feel free to check out the [Storybook](https://storybook.figma-kit.dev) for available components and functionality.
27
+ The documentation for the library is on its way. Meanwhile, feel free to check out the [Storybook](https://storybook.figma-kit.dev) for basic guides, information about available components and functionality.
@@ -188,8 +188,7 @@ body {
188
188
  --figma-color-text-warning-tertiary: #b86200;
189
189
  }
190
190
 
191
- .dark,
192
- .dark-theme {
191
+ .figma-dark {
193
192
  --figma-color-bg: #2c2c2c;
194
193
  --figma-color-bg-brand: #0c8ce9;
195
194
  --figma-color-bg-brand-hover: #0a6dc2;
package/dist/styles.css CHANGED
@@ -5,28 +5,28 @@
5
5
  --font-family-monospace: 'Roboto Mono', monospace;
6
6
  }
7
7
  :root {
8
- --space-0: 0px;
9
- --space-px: 1px;
10
- --space-0_5: 2px;
11
- --space-1: 4px;
12
- --space-1_5: 6px;
13
- --space-2: 8px;
14
- --space-2_5: 10px;
15
- --space-3: 12px;
16
- --space-3_5: 14px;
17
- --space-4: 16px;
18
- --space-5: 20px;
19
- --space-6: 24px;
20
- --space-7: 28px;
21
- --space-8: 32px;
22
- --space-9: 36px;
23
- --space-10: 40px;
24
- --space-11: 44px;
25
- --space-12: 48px;
26
- --space-13: 52px;
27
- --space-14: 56px;
28
- --space-15: 60px;
29
- --space-16: 64px;
8
+ --space-0: 0rem;
9
+ --space-px: 0.0625rem;
10
+ --space-0_5: 0.125rem;
11
+ --space-1: 0.25rem;
12
+ --space-1_5: 0.375rem;
13
+ --space-2: 0.5rem;
14
+ --space-2_5: 0.625rem;
15
+ --space-3: 0.75rem;
16
+ --space-3_5: 0.875rem;
17
+ --space-4: 1rem;
18
+ --space-5: 1.25rem;
19
+ --space-6: 1.5rem;
20
+ --space-7: 1.75rem;
21
+ --space-8: 2rem;
22
+ --space-9: 2.25rem;
23
+ --space-10: 2.5rem;
24
+ --space-11: 2.75rem;
25
+ --space-12: 3rem;
26
+ --space-13: 3.25rem;
27
+ --space-14: 3.5rem;
28
+ --space-15: 3.75rem;
29
+ --space-16: 4rem;
30
30
  }
31
31
  :root {
32
32
  --radius-extra-small: 0.0625rem;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "figma-kit",
3
3
  "description": "A set of React components for building Figma plugins.",
4
4
  "homepage": "https://figma-kit.dev",
5
- "version": "1.0.0-beta.8",
5
+ "version": "1.0.0-beta.9",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",