@wonderflow/react-components 2.30.0 → 2.31.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.
@@ -91,9 +91,9 @@ ol {
91
91
  }
92
92
 
93
93
  kbd {
94
- border: 1px solid var(--dimmed-0);
94
+ border: 1px solid var(--dimmed-1);
95
95
  padding: 2px 4px;
96
- box-shadow: 0 2px 0 var(--dimmed-0);
96
+ box-shadow: 0 2px 0 var(--dimmed-1);
97
97
  border-radius: env(--radius-4);
98
98
  font-weight: 600;
99
99
  }
@@ -28,7 +28,6 @@
28
28
  }
29
29
 
30
30
  &:is(:hover, :focus-visible, [aria-pressed='true']):not([aria-disabled='true']) {
31
- color: var(--cta-default);
32
31
  outline: none;
33
32
 
34
33
  &::before {
package/icons/all.svg CHANGED
@@ -140,6 +140,8 @@
140
140
  <path d="M8 1a7 7 0 0 0-7 7 7 7 0 0 0 7 7 7 7 0 0 0 7-7 7 7 0 0 0-7-7ZM5.788 5.813a.875.875 0 1 1-.875.875.89.89 0 0 1 .875-.875Zm4.837 5.25H5.35c-.579 0-.579-.876 0-.876h5.25c.605 0 .605.876.025.876Zm-.438-3.5a.875.875 0 1 1-.001-1.75.875.875 0 0 1 .002 1.75Z"/>
141
141
  </symbol><symbol id="16/message" viewBox="0 0 16 16">
142
142
  <path d="M14 3.487v6.765c0 .83-.674 1.486-1.5 1.486H9.125l-2.927 2.208a.283.283 0 0 1-.448-.229v-1.979H3.5c-.826 0-1.5-.677-1.5-1.486V3.487C2 2.657 2.674 2 3.5 2h9c.846 0 1.5.677 1.5 1.487Z"/>
143
+ </symbol><symbol id="16/minus" viewBox="0 0 16 16">
144
+ <path d="M13.077 9H2.923C2.413 9 2 8.553 2 8c0-.553.413-1 .923-1h10.154c.51 0 .923.447.923 1 0 .553-.412 1-.923 1Z"/>
143
145
  </symbol><symbol id="16/moon" viewBox="0 0 16 16">
144
146
  <path d="M2 8c0-3.316 2.758-6 6.155-6 .312 0 .816.045 1.124.1a.28.28 0 0 1 .09.521c-1.511.839-2.44 2.395-2.44 4.088 0 2.938 2.741 5.17 5.728 4.615.262-.048.447.25.278.454A6.198 6.198 0 0 1 8.155 14C4.753 14 2 11.31 2 8Z"/>
145
147
  </symbol><symbol id="16/nps" viewBox="0 0 16 16">
@@ -323,6 +325,8 @@
323
325
  <path d="M15.438 14.5h-6.91a.938.938 0 0 0 0 1.875h6.878c.516 0 .937-.42.937-.938 0-.517-.39-.937-.905-.937ZM8.84 11.375c.695 0 1.25-.557 1.25-1.25s-.555-1.25-1.25-1.25c-.69 0-1.25.557-1.25 1.25s.594 1.25 1.25 1.25Zm6.285-2.5c-.695 0-1.25.557-1.25 1.25s.555 1.25 1.25 1.25c.69 0 1.25-.557 1.25-1.25s-.559-1.25-1.25-1.25ZM12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18.125c-4.48 0-8.125-3.645-8.125-8.125S7.52 3.875 12 3.875 20.125 7.52 20.125 12 16.48 20.125 12 20.125Z"/>
324
326
  </symbol><symbol id="24/message" viewBox="0 0 24 24">
325
327
  <path d="M18.75 3H5.25C4.01 3 3 4.016 3 5.23v10.146c0 1.246 1.01 2.23 2.25 2.23h3.375v2.968c0 .348.387.55.672.343l4.39-3.311h5.063c1.24 0 2.25-1.016 2.25-2.23V5.23C21 4.016 20.018 3 18.75 3Zm.593 12.44a.567.567 0 0 1-.562.565h-5.625l-2.812 2.12v-2.12H5.282a.568.568 0 0 1-.563-.565V5.262c0-.31.255-.566.563-.566H18.78c.308 0 .563.257.563.566V15.44Z"/>
328
+ </symbol><symbol id="24/minus" viewBox="0 0 24 24">
329
+ <path d="M19.962 13c.575 0 1.038-.446 1.038-1 0-.55-.463-1-1.038-1H4.038C3.465 11 3 11.45 3 12c0 .553.465 1 1.038 1h15.924Z"/>
326
330
  </symbol><symbol id="24/moon" viewBox="0 0 24 24">
327
331
  <path d="M14.113 16.223a4.191 4.191 0 0 1-3.46-.886 4.18 4.18 0 0 1-1.524-3.233c0-1.503.814-2.903 2.117-3.647a1.23 1.23 0 0 0 .622-1.288c-.087-.523-.481-.92-1.036-1.014a7.418 7.418 0 0 0-6.13 1.603A7.466 7.466 0 0 0 2 13.513C2 17.643 5.36 21 9.492 21a7.459 7.459 0 0 0 5.817-2.77c.335-.405.375-.975.104-1.425a1.24 1.24 0 0 0-1.3-.582Zm-4.62 2.905a5.622 5.622 0 0 1-5.618-5.615c0-1.673.739-3.246 2.027-4.316a5.607 5.607 0 0 1 3.023-1.269 6.094 6.094 0 0 0-1.671 4.177c0 1.815.803 3.52 2.203 4.676a6.052 6.052 0 0 0 3.224 1.356 5.59 5.59 0 0 1-3.189.991ZM13.25 3.496l.485 1.161a.17.17 0 0 0 .14.086.17.17 0 0 0 .14-.086l.485-1.161 1.163-.485c.048.012.087-.051.087-.14a.17.17 0 0 0-.086-.139L14.5 2.248l-.485-1.162a.17.17 0 0 0-.14-.086.17.17 0 0 0-.14.086l-.485 1.162-1.164.52a.17.17 0 0 0-.086.139c0 .053.038.116.086.14l1.164.449Zm8.578 5.997L19.5 8.522l-.972-2.325c-.051-.1-.16-.206-.278-.206a.317.317 0 0 0-.278.17L17 8.523l-2.33.97c-.1.056-.17.16-.17.278 0 .117.068.224.17.278l2.33.97.972 2.325c.055.104.16.17.278.17a.317.317 0 0 0 .278-.17l.972-2.325 2.33-.97a.31.31 0 0 0-.002-.555Z"/>
328
332
  </symbol><symbol id="24/nps" viewBox="0 0 24 24">
@@ -57,6 +57,7 @@
57
57
  "magnifying-glass",
58
58
  "meh",
59
59
  "message",
60
+ "minus",
60
61
  "moon",
61
62
  "nps",
62
63
  "pause",
package/icons/types.d.ts CHANGED
@@ -57,6 +57,7 @@ export type IconNames = 'arrow-down-left' |
57
57
  'magnifying-glass' |
58
58
  'meh' |
59
59
  'message' |
60
+ 'minus' |
60
61
  'moon' |
61
62
  'nps' |
62
63
  'pause' |
@@ -144,6 +145,7 @@ export type IconNames = 'arrow-down-left' |
144
145
  'magnifying-glass' |
145
146
  'meh' |
146
147
  'message' |
148
+ 'minus' |
147
149
  'moon' |
148
150
  'nps' |
149
151
  'pause' |
@@ -9,11 +9,4 @@ export declare type InfoStateProps = PropsWithClass & {
9
9
  iconColor?: 'gray' | 'cyan' | 'green' | 'purple' | 'yellow' | 'red' | 'blue';
10
10
  actions?: ReactNode;
11
11
  };
12
- export declare const InfoState: React.ForwardRefExoticComponent<PropsWithClass & {
13
- title: ReactNode;
14
- icon?: IconNames | undefined;
15
- image?: string | undefined;
16
- direction?: StackProps['direction'];
17
- iconColor?: "gray" | "cyan" | "green" | "purple" | "yellow" | "red" | "blue" | undefined;
18
- actions?: ReactNode;
19
- } & React.RefAttributes<HTMLDivElement>>;
12
+ export declare const InfoState: React.FC<InfoStateProps>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wonderflow/react-components",
3
3
  "description": "UI components from Wonderflow's Wanda design system",
4
- "version": "2.30.0",
4
+ "version": "2.31.1",
5
5
  "author": "Wonderflow",
6
6
  "license": "MIT",
7
7
  "main": "index.js",
package/themes/dark.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 18 Oct 2021 12:16:26 GMT
3
+ * Generated on Tue, 19 Oct 2021 13:22:43 GMT
4
4
  */
5
5
 
6
6
  :root {
package/themes/light.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 18 Oct 2021 12:16:26 GMT
3
+ * Generated on Tue, 19 Oct 2021 13:22:43 GMT
4
4
  */
5
5
 
6
6
  :root {
package/themes.css CHANGED
@@ -4,7 +4,7 @@
4
4
  color: var(--global-foreground);
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Mon, 18 Oct 2021 12:16:26 GMT
7
+ * Generated on Tue, 19 Oct 2021 13:22:43 GMT
8
8
  */
9
9
 
10
10
 
@@ -51,7 +51,7 @@
51
51
  color: var(--global-foreground);
52
52
  /**
53
53
  * Do not edit directly
54
- * Generated on Mon, 18 Oct 2021 12:16:26 GMT
54
+ * Generated on Tue, 19 Oct 2021 13:22:43 GMT
55
55
  */
56
56
 
57
57
 
@@ -99,7 +99,7 @@
99
99
  color: var(--global-foreground);
100
100
  /**
101
101
  * Do not edit directly
102
- * Generated on Mon, 18 Oct 2021 12:16:26 GMT
102
+ * Generated on Tue, 19 Oct 2021 13:22:43 GMT
103
103
  */
104
104
 
105
105
 
@@ -41,28 +41,29 @@
41
41
  pointer-events: none;
42
42
  }
43
43
  @nest .Tooltip[data-popper-placement^='top'] & {
44
- bottom: -5px;
44
+ bottom: 6px;
45
+
45
46
 
46
47
  &::before {
47
48
  transform: translateX(-50%) rotate(45deg);
48
49
  }
49
50
  }
50
- @nest .Tooltip[data-popper-placement^='bottom'] & {
51
- top: -5px;
51
+ @nest .Tooltip[data-popper-placement^='left'] & {
52
+ right: 6px;
52
53
 
53
54
  &::before {
54
- transform: translateX(-50%) rotate(45deg);
55
+ transform: translateY(-50%) rotate(45deg);
55
56
  }
56
57
  }
57
- @nest .Tooltip[data-popper-placement^='left'] & {
58
- right: -5px;
58
+ @nest .Tooltip[data-popper-placement^='bottom'] & {
59
+ top: -6px;
59
60
 
60
61
  &::before {
61
- transform: translateY(-50%) rotate(45deg);
62
+ transform: translateX(-50%) rotate(45deg);
62
63
  }
63
64
  }
64
65
  @nest .Tooltip[data-popper-placement^='right'] & {
65
- left: -5px;
66
+ left: -6px;
66
67
 
67
68
  &::before {
68
69
  transform: translateY(-50%) rotate(45deg);