@veeqo/transfigure 0.0.1 → 0.0.4

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.
Files changed (153) hide show
  1. package/README.md +2 -53
  2. package/dist/BusinessLogic/mocks.d.ts +3 -3
  3. package/dist/BusinessLogic/types.d.ts +5 -2
  4. package/dist/components/Filters/ActiveFilters/Categories/index.d.ts +2 -0
  5. package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncCheckboxFilter/ActiveAsyncCheckboxFilter.d.ts +8 -0
  6. package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncCheckboxFilter/index.d.ts +1 -0
  7. package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncRadioFilter/ActiveAsyncRadioFilter.d.ts +8 -0
  8. package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncRadioFilter/index.d.ts +1 -0
  9. package/dist/components/Filters/{Fields → ActiveFilters/Variants/ActiveFilterNumberRangeTag}/FilterNumberRangeFilter/FilterNumberRangeFilter.d.ts +1 -1
  10. package/dist/components/Filters/ActiveFilters/Variants/index.d.ts +5 -0
  11. package/dist/components/Filters/ActiveFilters/index.d.ts +2 -3
  12. package/dist/components/Filters/Fields/index.d.ts +0 -6
  13. package/dist/components/Filters/{Fields/FilterGroup → FilterGroup}/FilterGroup.d.ts +1 -1
  14. package/dist/components/Filters/FilterGroup/index.d.ts +1 -0
  15. package/dist/components/Filters/index.d.ts +1 -0
  16. package/dist/components/TableControls/TableControls.d.ts +1 -0
  17. package/dist/components/TableControls/index.d.ts +1 -0
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.js +75 -75
  21. package/dist/index10.js +3 -12
  22. package/dist/index11.cjs +1 -1
  23. package/dist/index11.js +19 -19
  24. package/dist/index12.cjs +1 -1
  25. package/dist/index12.js +42 -21
  26. package/dist/index13.cjs +1 -1
  27. package/dist/index13.js +23 -38
  28. package/dist/index14.cjs +1 -1
  29. package/dist/index14.js +39 -37
  30. package/dist/index15.cjs +1 -1
  31. package/dist/index15.js +36 -54
  32. package/dist/index16.cjs +1 -1
  33. package/dist/index16.js +32 -46
  34. package/dist/index17.cjs +1 -1
  35. package/dist/index17.js +50 -42
  36. package/dist/index18.cjs +1 -1
  37. package/dist/index18.js +39 -50
  38. package/dist/index19.cjs +1 -1
  39. package/dist/index19.js +59 -37
  40. package/dist/index20.cjs +1 -1
  41. package/dist/index20.js +53 -37
  42. package/dist/index21.cjs +1 -1
  43. package/dist/index21.js +45 -53
  44. package/dist/index22.cjs +1 -1
  45. package/dist/index22.js +43 -33
  46. package/dist/index23.cjs +1 -1
  47. package/dist/index23.js +56 -57
  48. package/dist/index24.cjs +1 -1
  49. package/dist/index24.js +57 -18
  50. package/dist/index25.cjs +1 -1
  51. package/dist/index25.js +38 -31
  52. package/dist/index26.cjs +1 -1
  53. package/dist/index26.js +55 -39
  54. package/dist/index27.cjs +1 -1
  55. package/dist/index27.js +52 -34
  56. package/dist/index28.cjs +1 -1
  57. package/dist/index28.js +81 -47
  58. package/dist/index29.cjs +1 -1
  59. package/dist/index29.js +36 -107
  60. package/dist/index3.js +1 -3
  61. package/dist/index30.cjs +1 -1
  62. package/dist/index30.js +31 -31
  63. package/dist/index31.cjs +1 -1
  64. package/dist/index31.js +10 -30
  65. package/dist/index32.cjs +1 -1
  66. package/dist/index32.js +40 -14
  67. package/dist/index33.cjs +1 -1
  68. package/dist/index33.js +50 -49
  69. package/dist/index34.js +12 -11
  70. package/dist/index35.js +104 -39
  71. package/dist/index36.cjs +1 -1
  72. package/dist/index36.js +47 -24
  73. package/dist/index37.cjs +1 -1
  74. package/dist/index37.js +43 -22
  75. package/dist/index38.cjs +1 -1
  76. package/dist/index38.js +22 -27
  77. package/dist/index39.cjs +1 -1
  78. package/dist/index39.js +67 -26
  79. package/dist/index4.js +1 -8
  80. package/dist/index40.js +71 -21
  81. package/dist/index41.cjs +1 -1
  82. package/dist/index41.js +31 -18
  83. package/dist/index42.js +2 -8
  84. package/dist/index43.js +13 -1
  85. package/dist/index45.js +14 -12
  86. package/dist/index48.js +1 -3
  87. package/dist/index5.js +2 -9
  88. package/dist/index50.js +3 -12
  89. package/dist/index51.js +8 -42
  90. package/dist/index52.js +20 -35
  91. package/dist/index53.js +16 -25
  92. package/dist/index54.js +18 -27
  93. package/dist/index55.js +31 -36
  94. package/dist/index57.js +22 -32
  95. package/dist/index58.js +14 -15
  96. package/dist/index59.js +2 -10
  97. package/dist/index6.js +8 -40
  98. package/dist/index60.cjs +1 -1
  99. package/dist/index60.js +249 -232
  100. package/dist/index61.js +5 -9
  101. package/dist/index62.js +3 -9
  102. package/dist/index65.js +1 -6
  103. package/dist/index66.js +1 -4
  104. package/dist/index67.js +1 -3
  105. package/dist/index69.js +28 -23
  106. package/dist/index75.cjs +1 -1
  107. package/dist/index75.js +28 -25
  108. package/dist/index76.cjs +19 -1
  109. package/dist/index76.js +24 -19
  110. package/dist/index77.cjs +1 -19
  111. package/dist/index77.js +14 -29
  112. package/dist/index78.cjs +12 -1
  113. package/dist/index78.js +16 -16
  114. package/dist/index79.cjs +80 -1
  115. package/dist/index79.js +95 -9
  116. package/dist/index80.cjs +1 -12
  117. package/dist/index80.js +22 -16
  118. package/dist/index81.cjs +1 -80
  119. package/dist/index81.js +24 -97
  120. package/dist/index83.cjs +10 -77
  121. package/dist/index83.js +13 -93
  122. package/dist/index84.cjs +80 -1
  123. package/dist/index84.js +94 -35
  124. package/dist/index85.cjs +1 -13
  125. package/dist/index85.js +33 -16
  126. package/dist/index86.cjs +1 -7
  127. package/dist/index86.js +63 -12
  128. package/dist/index87.cjs +7 -0
  129. package/dist/index87.js +12 -0
  130. package/dist/index9.cjs +1 -1
  131. package/dist/index9.js +96 -79
  132. package/dist/mobx/Filters/Filters.d.ts +5 -0
  133. package/dist/mocks/internal/mockUseStores/index.d.ts +1 -0
  134. package/dist/mocks/internal/mockUseStores/mockUseStores.d.ts +6 -0
  135. package/dist/types.d.ts +1 -1
  136. package/package.json +4 -5
  137. package/dist/components/Filters/Fields/AsyncInlineCheckboxFilter/AsyncInlineCheckboxFilter.d.ts +0 -8
  138. package/dist/components/Filters/Fields/AsyncInlineCheckboxFilter/index.d.ts +0 -1
  139. package/dist/components/Filters/Fields/AsyncInlineRadioFilter/AsyncInlineRadioFilter.d.ts +0 -8
  140. package/dist/components/Filters/Fields/AsyncInlineRadioFilter/index.d.ts +0 -1
  141. package/dist/components/Filters/Fields/FilterGroup/index.d.ts +0 -1
  142. package/dist/components/Table/Table.d.ts +0 -1
  143. /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterArrayField/FilterArrayField.d.ts +0 -0
  144. /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterArrayField/index.d.ts +0 -0
  145. /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterField/FilterField.d.ts +0 -0
  146. /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterField/index.d.ts +0 -0
  147. /package/dist/components/Filters/ActiveFilters/{ActiveFilterArrayTag → Variants/ActiveFilterArrayTag}/ActiveFilterArrayTag.d.ts +0 -0
  148. /package/dist/components/Filters/ActiveFilters/{ActiveFilterArrayTag → Variants/ActiveFilterArrayTag}/index.d.ts +0 -0
  149. /package/dist/components/Filters/ActiveFilters/{ActiveFilterDateRangeTag → Variants/ActiveFilterDateRangeTag}/ActiveFilterDateRangeTag.d.ts +0 -0
  150. /package/dist/components/Filters/ActiveFilters/{ActiveFilterDateRangeTag → Variants/ActiveFilterDateRangeTag}/index.d.ts +0 -0
  151. /package/dist/components/Filters/ActiveFilters/{ActiveFilterNumberRangeTag → Variants/ActiveFilterNumberRangeTag}/ActiveFilterNumberRangeTag.d.ts +0 -0
  152. /package/dist/components/Filters/{Fields → ActiveFilters/Variants/ActiveFilterNumberRangeTag}/FilterNumberRangeFilter/index.d.ts +0 -0
  153. /package/dist/components/Filters/ActiveFilters/{ActiveFilterNumberRangeTag → Variants/ActiveFilterNumberRangeTag}/index.d.ts +0 -0
package/dist/index81.cjs CHANGED
@@ -1,80 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),e=require("@veeqo/ui"),a=require("@veeqo/components"),r=t=>t&&t.__esModule?t:{default:t},o=r(i),{Glyph:l}=a.VeeqoCommon,s=o.default(e.BaseContainer)`
2
- display: flex;
3
- position: fixed;
4
- width: 100vw;
5
- left: 0;
6
- bottom: 24px;
7
- z-index: 18;
8
-
9
- &.notification-enter {
10
- opacity: 0;
11
- transform: translateY(-16px);
12
- }
13
-
14
- &.notification-enter-active {
15
- opacity: 1;
16
- transform: translateY(0);
17
- transition: 350ms ease;
18
- }
19
-
20
- &.notification-exit {
21
- opacity: 0;
22
- transform: translateY(16px);
23
- transition: 350ms ease;
24
- }
25
- pointer-events: none;
26
- `,c=o.default(e.BaseContainer)`
27
- display: inline-flex;
28
- flex-direction: row;
29
- align-items: center;
30
- padding: 20px 24px 24px 24px;
31
- border-radius: 4px;
32
- margin: 0 auto;
33
- background-color: #fff;
34
- box-shadow: ${e.theme.shadows.lg};
35
- pointer-events: all;
36
- `;o.default(e.Banner)`
37
- display: inline-flex;
38
- flex-direction: row;
39
- align-items: center;
40
- margin: 0 auto;
41
- background-color: #fff;
42
- box-shadow: ${e.theme.shadows.lg};
43
- pointer-events: all;
44
- `;const d=o.default(e.Button)`
45
- margin-right: 16px;
46
- `;o.default(e.Text)`
47
- line-height: 20px;
48
- `;const n=o.default(e.Text)`
49
- margin: ${t=>t.margin?t.margin:""};
50
- color: ${t=>t.color};
51
- `,f=o.default(e.Text)`
52
- margin-right: 8px;
53
- color: ${t=>t.color};
54
- `,p=o.default(l)``,x=o.default(e.BaseContainer)`
55
- display: flex;
56
- flex-direction: row;
57
- align-items: flex-end;
58
- flex-grow: 2;
59
- margin-left: 24px;
60
- margin-right: 24px;
61
- `,u=o.default.button`
62
- display: flex;
63
- flex-direction: row;
64
- width: 100%;
65
- padding: 12px 16px;
66
- cursor: pointer;
67
-
68
- & > ${n} {
69
- white-space: nowrap;
70
- user-select: none;
71
- }
72
-
73
- &:hover {
74
- background-color: ${e.theme.colors.neutral.grey.lightest};
75
- }
76
-
77
- &:hover > ${n} {
78
- color: ${e.theme.colors.secondary.blue.base};
79
- }
80
- `;exports.Bold=f;exports.Button=d;exports.Container=c;exports.Glyph=p;exports.Item=u;exports.Notification=s;exports.Text=n;exports.Wrap=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./index87.cjs"),v=({children:i,style:o,className:c})=>{const r=n.useRef(null),[u,f]=n.useState(0);return n.useEffect(()=>{const e=r.current,s=()=>{if(e){const{top:a}=e.getBoundingClientRect();f(a)}};s();const t=new ResizeObserver(s);return e&&t.observe(e),()=>{e&&t.unobserve(e),t.disconnect()}},[]),d.jsx(l.AdaptiveStyledContainer,{style:o,className:c,offset:u,ref:r,children:i})};exports.AdaptiveHeightContainer=v;
package/dist/index81.js CHANGED
@@ -1,99 +1,26 @@
1
- import o from "styled-components";
2
- import { BaseContainer as n, theme as e, Text as i, Button as a, Banner as l } from "@veeqo/ui";
3
- import { VeeqoCommon as s } from "@veeqo/components";
4
- const {
5
- Glyph: c
6
- } = s, f = o(n)`
7
- display: flex;
8
- position: fixed;
9
- width: 100vw;
10
- left: 0;
11
- bottom: 24px;
12
- z-index: 18;
13
-
14
- &.notification-enter {
15
- opacity: 0;
16
- transform: translateY(-16px);
17
- }
18
-
19
- &.notification-enter-active {
20
- opacity: 1;
21
- transform: translateY(0);
22
- transition: 350ms ease;
23
- }
24
-
25
- &.notification-exit {
26
- opacity: 0;
27
- transform: translateY(16px);
28
- transition: 350ms ease;
29
- }
30
- pointer-events: none;
31
- `, m = o(n)`
32
- display: inline-flex;
33
- flex-direction: row;
34
- align-items: center;
35
- padding: 20px 24px 24px 24px;
36
- border-radius: 4px;
37
- margin: 0 auto;
38
- background-color: #fff;
39
- box-shadow: ${e.shadows.lg};
40
- pointer-events: all;
41
- `;
42
- o(l)`
43
- display: inline-flex;
44
- flex-direction: row;
45
- align-items: center;
46
- margin: 0 auto;
47
- background-color: #fff;
48
- box-shadow: ${e.shadows.lg};
49
- pointer-events: all;
50
- `;
51
- const g = o(a)`
52
- margin-right: 16px;
53
- `;
54
- o(i)`
55
- line-height: 20px;
56
- `;
57
- const r = o(i)`
58
- margin: ${(t) => t.margin ? t.margin : ""};
59
- color: ${(t) => t.color};
60
- `, h = o(i)`
61
- margin-right: 8px;
62
- color: ${(t) => t.color};
63
- `, u = o(c)``, w = o(n)`
64
- display: flex;
65
- flex-direction: row;
66
- align-items: flex-end;
67
- flex-grow: 2;
68
- margin-left: 24px;
69
- margin-right: 24px;
70
- `, y = o.button`
71
- display: flex;
72
- flex-direction: row;
73
- width: 100%;
74
- padding: 12px 16px;
75
- cursor: pointer;
76
-
77
- & > ${r} {
78
- white-space: nowrap;
79
- user-select: none;
80
- }
81
-
82
- &:hover {
83
- background-color: ${e.colors.neutral.grey.lightest};
84
- }
85
-
86
- &:hover > ${r} {
87
- color: ${e.colors.secondary.blue.base};
88
- }
89
- `;
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { useRef as a, useState as d, useEffect as m } from "react";
3
+ import { AdaptiveStyledContainer as v } from "./index87.js";
4
+ const R = ({
5
+ children: o,
6
+ style: s,
7
+ className: f
8
+ }) => {
9
+ const r = a(null), [i, c] = d(0);
10
+ return m(() => {
11
+ const e = r.current, n = () => {
12
+ if (e) {
13
+ const { top: u } = e.getBoundingClientRect();
14
+ c(u);
15
+ }
16
+ };
17
+ n();
18
+ const t = new ResizeObserver(n);
19
+ return e && t.observe(e), () => {
20
+ e && t.unobserve(e), t.disconnect();
21
+ };
22
+ }, []), /* @__PURE__ */ p(v, { style: s, className: f, offset: i, ref: r, children: o });
23
+ };
90
24
  export {
91
- h as Bold,
92
- g as Button,
93
- m as Container,
94
- u as Glyph,
95
- y as Item,
96
- f as Notification,
97
- r as Text,
98
- w as Wrap
25
+ R as AdaptiveHeightContainer
99
26
  };
package/dist/index83.cjs CHANGED
@@ -1,80 +1,13 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),a=require("@veeqo/components"),r=e=>e&&e.__esModule?e:{default:e},o=r(i),{Glyph:l}=a.VeeqoCommon,s=o.default(t.BaseContainer)`
2
- display: flex;
3
- position: fixed;
4
- width: 100vw;
5
- left: 0;
6
- bottom: 24px;
7
- z-index: 18;
8
-
9
- &.notification-enter {
10
- opacity: 0;
11
- transform: translateY(-16px);
12
- }
13
-
14
- &.notification-enter-active {
15
- opacity: 1;
16
- transform: translateY(0);
17
- transition: 350ms ease;
18
- }
19
-
20
- &.notification-exit {
21
- opacity: 0;
22
- transform: translateY(16px);
23
- transition: 350ms ease;
24
- }
25
- pointer-events: none;
26
- `;o.default(t.BaseContainer)`
27
- display: inline-flex;
28
- flex-direction: row;
29
- align-items: center;
30
- padding: 20px 24px 24px 24px;
31
- border-radius: 4px;
32
- margin: 0 auto;
33
- background-color: #fff;
34
- box-shadow: ${t.theme.shadows.lg};
35
- pointer-events: all;
36
- `;const d=o.default(t.Banner)`
37
- display: inline-flex;
38
- flex-direction: row;
39
- align-items: center;
40
- margin: 0 auto;
41
- background-color: #fff;
42
- box-shadow: ${t.theme.shadows.lg};
43
- pointer-events: all;
44
- `,c=o.default(t.Button)`
45
- margin-right: 16px;
46
- `,f=o.default(t.Text)`
47
- line-height: 20px;
48
- `,n=o.default(t.Text)`
49
- margin: ${e=>e.margin?e.margin:""};
50
- color: ${e=>e.color};
51
- `,p=o.default(t.Text)`
52
- margin-right: 8px;
53
- color: ${e=>e.color};
54
- `,u=o.default(l)``,x=o.default(t.BaseContainer)`
55
- display: flex;
56
- flex-direction: row;
57
- align-items: flex-end;
58
- flex-grow: 2;
59
- margin-left: 24px;
60
- margin-right: 24px;
61
- `;o.default(t.AnimatedDropdown)``;o.default.button`
62
- display: flex;
63
- flex-direction: row;
64
- width: 100%;
65
- padding: 12px 16px;
66
- cursor: pointer;
67
-
68
- & > ${n} {
69
- white-space: nowrap;
70
- user-select: none;
71
- }
72
-
73
- &:hover {
74
- background-color: ${t.theme.colors.neutral.grey.lightest};
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@veeqo/components"),o=require("@veeqo/ui"),s=require("styled-components"),l=e=>e&&e.__esModule?e:{default:e},r=l(s),{SortableViews:i}=t.VeeqoUI,n=r.default(i)`
2
+ .rst__rowTitle {
3
+ span {
4
+ white-space: nowrap;
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ }
75
8
  }
76
9
 
77
- &:hover > ${n} {
78
- color: ${t.theme.colors.secondary.blue.base};
10
+ .rst__rowTitle > div:first-child {
11
+ gap: ${o.theme.sizes.sm};
79
12
  }
80
- `;exports.Bold=p;exports.Button=c;exports.Glyph=u;exports.Hint=f;exports.Notification=s;exports.Pill=d;exports.Text=n;exports.Wrap=x;
13
+ `;exports.StyledSortableViews=n;
package/dist/index83.js CHANGED
@@ -1,99 +1,19 @@
1
- import o from "styled-components";
2
- import { BaseContainer as e, theme as n, Banner as a, Text as i, Button as l, AnimatedDropdown as s } from "@veeqo/ui";
3
- import { VeeqoCommon as c } from "@veeqo/components";
4
- const {
5
- Glyph: p
6
- } = c, m = o(e)`
7
- display: flex;
8
- position: fixed;
9
- width: 100vw;
10
- left: 0;
11
- bottom: 24px;
12
- z-index: 18;
13
-
14
- &.notification-enter {
15
- opacity: 0;
16
- transform: translateY(-16px);
17
- }
18
-
19
- &.notification-enter-active {
20
- opacity: 1;
21
- transform: translateY(0);
22
- transition: 350ms ease;
23
- }
24
-
25
- &.notification-exit {
26
- opacity: 0;
27
- transform: translateY(16px);
28
- transition: 350ms ease;
29
- }
30
- pointer-events: none;
31
- `;
32
- o(e)`
33
- display: inline-flex;
34
- flex-direction: row;
35
- align-items: center;
36
- padding: 20px 24px 24px 24px;
37
- border-radius: 4px;
38
- margin: 0 auto;
39
- background-color: #fff;
40
- box-shadow: ${n.shadows.lg};
41
- pointer-events: all;
42
- `;
43
- const g = o(a)`
44
- display: inline-flex;
45
- flex-direction: row;
46
- align-items: center;
47
- margin: 0 auto;
48
- background-color: #fff;
49
- box-shadow: ${n.shadows.lg};
50
- pointer-events: all;
51
- `, h = o(l)`
52
- margin-right: 16px;
53
- `, w = o(i)`
54
- line-height: 20px;
55
- `, r = o(i)`
56
- margin: ${(t) => t.margin ? t.margin : ""};
57
- color: ${(t) => t.color};
58
- `, u = o(i)`
59
- margin-right: 8px;
60
- color: ${(t) => t.color};
61
- `, y = o(p)``, $ = o(e)`
62
- display: flex;
63
- flex-direction: row;
64
- align-items: flex-end;
65
- flex-grow: 2;
66
- margin-left: 24px;
67
- margin-right: 24px;
68
- `;
69
- o(s)``;
70
- o.button`
71
- display: flex;
72
- flex-direction: row;
73
- width: 100%;
74
- padding: 12px 16px;
75
- cursor: pointer;
76
-
77
- & > ${r} {
78
- white-space: nowrap;
79
- user-select: none;
80
- }
81
-
82
- &:hover {
83
- background-color: ${n.colors.neutral.grey.lightest};
1
+ import { VeeqoUI as e } from "@veeqo/components";
2
+ import { theme as o } from "@veeqo/ui";
3
+ import t from "styled-components";
4
+ const { SortableViews: r } = e, p = t(r)`
5
+ .rst__rowTitle {
6
+ span {
7
+ white-space: nowrap;
8
+ overflow: hidden;
9
+ text-overflow: ellipsis;
10
+ }
84
11
  }
85
12
 
86
- &:hover > ${r} {
87
- color: ${n.colors.secondary.blue.base};
13
+ .rst__rowTitle > div:first-child {
14
+ gap: ${o.sizes.sm};
88
15
  }
89
16
  `;
90
17
  export {
91
- u as Bold,
92
- h as Button,
93
- y as Glyph,
94
- w as Hint,
95
- m as Notification,
96
- g as Pill,
97
- r as Text,
98
- $ as Wrap
18
+ p as StyledSortableViews
99
19
  };
package/dist/index84.cjs CHANGED
@@ -1 +1,80 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@veeqo/ui"),o=require("@material-ui/core/styles"),t=require("@material-ui/core/Slider"),l=e=>e&&e.__esModule?e:{default:e},i=l(t),a=o.withStyles({root:{color:r.theme.colors.secondary.blue.base,height:4},thumb:{height:20,width:20,backgroundColor:"#fff",border:"3px solid currentColor",marginTop:-8,marginLeft:-10,"&:focus, &:hover, &$active":{boxShadow:"inherit"}},valueLabel:{left:"calc(-50% - 1px)"},track:{height:4,borderRadius:4,backgroundColor:r.theme.colors.secondary.blue.light,opacity:1},rail:{height:4,borderRadius:4,backgroundColor:r.theme.colors.neutral.grey.dark,opacity:1}})(i.default);exports.MUISlider=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),a=require("@veeqo/components"),r=e=>e&&e.__esModule?e:{default:e},o=r(i),{Glyph:l}=a.VeeqoCommon,s=o.default(t.BaseContainer)`
2
+ display: flex;
3
+ position: fixed;
4
+ width: 100vw;
5
+ left: 0;
6
+ bottom: 24px;
7
+ z-index: 18;
8
+
9
+ &.notification-enter {
10
+ opacity: 0;
11
+ transform: translateY(-16px);
12
+ }
13
+
14
+ &.notification-enter-active {
15
+ opacity: 1;
16
+ transform: translateY(0);
17
+ transition: 350ms ease;
18
+ }
19
+
20
+ &.notification-exit {
21
+ opacity: 0;
22
+ transform: translateY(16px);
23
+ transition: 350ms ease;
24
+ }
25
+ pointer-events: none;
26
+ `;o.default(t.BaseContainer)`
27
+ display: inline-flex;
28
+ flex-direction: row;
29
+ align-items: center;
30
+ padding: 20px 24px 24px 24px;
31
+ border-radius: 4px;
32
+ margin: 0 auto;
33
+ background-color: #fff;
34
+ box-shadow: ${t.theme.shadows.lg};
35
+ pointer-events: all;
36
+ `;const d=o.default(t.Banner)`
37
+ display: inline-flex;
38
+ flex-direction: row;
39
+ align-items: center;
40
+ margin: 0 auto;
41
+ background-color: #fff;
42
+ box-shadow: ${t.theme.shadows.lg};
43
+ pointer-events: all;
44
+ `,c=o.default(t.Button)`
45
+ margin-right: 16px;
46
+ `,f=o.default(t.Text)`
47
+ line-height: 20px;
48
+ `,n=o.default(t.Text)`
49
+ margin: ${e=>e.margin?e.margin:""};
50
+ color: ${e=>e.color};
51
+ `,p=o.default(t.Text)`
52
+ margin-right: 8px;
53
+ color: ${e=>e.color};
54
+ `,u=o.default(l)``,x=o.default(t.BaseContainer)`
55
+ display: flex;
56
+ flex-direction: row;
57
+ align-items: flex-end;
58
+ flex-grow: 2;
59
+ margin-left: 24px;
60
+ margin-right: 24px;
61
+ `;o.default(t.AnimatedDropdown)``;o.default.button`
62
+ display: flex;
63
+ flex-direction: row;
64
+ width: 100%;
65
+ padding: 12px 16px;
66
+ cursor: pointer;
67
+
68
+ & > ${n} {
69
+ white-space: nowrap;
70
+ user-select: none;
71
+ }
72
+
73
+ &:hover {
74
+ background-color: ${t.theme.colors.neutral.grey.lightest};
75
+ }
76
+
77
+ &:hover > ${n} {
78
+ color: ${t.theme.colors.secondary.blue.base};
79
+ }
80
+ `;exports.Bold=p;exports.Button=c;exports.Glyph=u;exports.Hint=f;exports.Notification=s;exports.Pill=d;exports.Text=n;exports.Wrap=x;
package/dist/index84.js CHANGED
@@ -1,38 +1,97 @@
1
- import { theme as o } from "@veeqo/ui";
2
- import { withStyles as r } from "@material-ui/core/styles";
3
- import e from "@material-ui/core/Slider";
4
- const l = r({
5
- root: {
6
- color: o.colors.secondary.blue.base,
7
- height: 4
8
- },
9
- thumb: {
10
- height: 20,
11
- width: 20,
12
- backgroundColor: "#fff",
13
- border: "3px solid currentColor",
14
- marginTop: -8,
15
- marginLeft: -10,
16
- "&:focus, &:hover, &$active": {
17
- boxShadow: "inherit"
18
- }
19
- },
20
- valueLabel: {
21
- left: "calc(-50% - 1px)"
22
- },
23
- track: {
24
- height: 4,
25
- borderRadius: 4,
26
- backgroundColor: o.colors.secondary.blue.light,
27
- opacity: 1
28
- },
29
- rail: {
30
- height: 4,
31
- borderRadius: 4,
32
- backgroundColor: o.colors.neutral.grey.dark,
33
- opacity: 1
1
+ import o from "styled-components";
2
+ import { BaseContainer as e, theme as n, Banner as a, Text as i, Button as l, AnimatedDropdown as s } from "@veeqo/ui";
3
+ import { VeeqoCommon as c } from "@veeqo/components";
4
+ const { Glyph: p } = c, m = o(e)`
5
+ display: flex;
6
+ position: fixed;
7
+ width: 100vw;
8
+ left: 0;
9
+ bottom: 24px;
10
+ z-index: 18;
11
+
12
+ &.notification-enter {
13
+ opacity: 0;
14
+ transform: translateY(-16px);
34
15
  }
35
- })(e);
16
+
17
+ &.notification-enter-active {
18
+ opacity: 1;
19
+ transform: translateY(0);
20
+ transition: 350ms ease;
21
+ }
22
+
23
+ &.notification-exit {
24
+ opacity: 0;
25
+ transform: translateY(16px);
26
+ transition: 350ms ease;
27
+ }
28
+ pointer-events: none;
29
+ `;
30
+ o(e)`
31
+ display: inline-flex;
32
+ flex-direction: row;
33
+ align-items: center;
34
+ padding: 20px 24px 24px 24px;
35
+ border-radius: 4px;
36
+ margin: 0 auto;
37
+ background-color: #fff;
38
+ box-shadow: ${n.shadows.lg};
39
+ pointer-events: all;
40
+ `;
41
+ const g = o(a)`
42
+ display: inline-flex;
43
+ flex-direction: row;
44
+ align-items: center;
45
+ margin: 0 auto;
46
+ background-color: #fff;
47
+ box-shadow: ${n.shadows.lg};
48
+ pointer-events: all;
49
+ `, h = o(l)`
50
+ margin-right: 16px;
51
+ `, w = o(i)`
52
+ line-height: 20px;
53
+ `, r = o(i)`
54
+ margin: ${(t) => t.margin ? t.margin : ""};
55
+ color: ${(t) => t.color};
56
+ `, u = o(i)`
57
+ margin-right: 8px;
58
+ color: ${(t) => t.color};
59
+ `, y = o(p)``, $ = o(e)`
60
+ display: flex;
61
+ flex-direction: row;
62
+ align-items: flex-end;
63
+ flex-grow: 2;
64
+ margin-left: 24px;
65
+ margin-right: 24px;
66
+ `;
67
+ o(s)``;
68
+ o.button`
69
+ display: flex;
70
+ flex-direction: row;
71
+ width: 100%;
72
+ padding: 12px 16px;
73
+ cursor: pointer;
74
+
75
+ & > ${r} {
76
+ white-space: nowrap;
77
+ user-select: none;
78
+ }
79
+
80
+ &:hover {
81
+ background-color: ${n.colors.neutral.grey.lightest};
82
+ }
83
+
84
+ &:hover > ${r} {
85
+ color: ${n.colors.secondary.blue.base};
86
+ }
87
+ `;
36
88
  export {
37
- l as MUISlider
89
+ u as Bold,
90
+ h as Button,
91
+ y as Glyph,
92
+ w as Hint,
93
+ m as Notification,
94
+ g as Pill,
95
+ r as Text,
96
+ $ as Wrap
38
97
  };
package/dist/index85.cjs CHANGED
@@ -1,13 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@veeqo/components"),o=require("@veeqo/ui"),s=require("styled-components"),l=e=>e&&e.__esModule?e:{default:e},r=l(s),{SortableViews:i}=t.VeeqoUI,n=r.default(i)`
2
- .rst__rowTitle {
3
- span {
4
- white-space: nowrap;
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- }
8
- }
9
-
10
- .rst__rowTitle > div:first-child {
11
- gap: ${o.theme.sizes.sm};
12
- }
13
- `;exports.StyledSortableViews=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@veeqo/ui"),o=require("@material-ui/core/styles"),t=require("@material-ui/core/Slider"),l=e=>e&&e.__esModule?e:{default:e},i=l(t),a=o.withStyles({root:{color:r.theme.colors.secondary.blue.base,height:4},thumb:{height:20,width:20,backgroundColor:"#fff",border:"3px solid currentColor",marginTop:-8,marginLeft:-10,"&:focus, &:hover, &$active":{boxShadow:"inherit"}},valueLabel:{left:"calc(-50% - 1px)"},track:{height:4,borderRadius:4,backgroundColor:r.theme.colors.secondary.blue.light,opacity:1},rail:{height:4,borderRadius:4,backgroundColor:r.theme.colors.neutral.grey.dark,opacity:1}})(i.default);exports.MUISlider=a;
package/dist/index85.js CHANGED
@@ -1,21 +1,38 @@
1
- import { VeeqoUI as e } from "@veeqo/components";
2
1
  import { theme as o } from "@veeqo/ui";
3
- import t from "styled-components";
4
- const {
5
- SortableViews: r
6
- } = e, p = t(r)`
7
- .rst__rowTitle {
8
- span {
9
- white-space: nowrap;
10
- overflow: hidden;
11
- text-overflow: ellipsis;
2
+ import { withStyles as r } from "@material-ui/core/styles";
3
+ import e from "@material-ui/core/Slider";
4
+ const l = r({
5
+ root: {
6
+ color: o.colors.secondary.blue.base,
7
+ height: 4
8
+ },
9
+ thumb: {
10
+ height: 20,
11
+ width: 20,
12
+ backgroundColor: "#fff",
13
+ border: "3px solid currentColor",
14
+ marginTop: -8,
15
+ marginLeft: -10,
16
+ "&:focus, &:hover, &$active": {
17
+ boxShadow: "inherit"
12
18
  }
19
+ },
20
+ valueLabel: {
21
+ left: "calc(-50% - 1px)"
22
+ },
23
+ track: {
24
+ height: 4,
25
+ borderRadius: 4,
26
+ backgroundColor: o.colors.secondary.blue.light,
27
+ opacity: 1
28
+ },
29
+ rail: {
30
+ height: 4,
31
+ borderRadius: 4,
32
+ backgroundColor: o.colors.neutral.grey.dark,
33
+ opacity: 1
13
34
  }
14
-
15
- .rst__rowTitle > div:first-child {
16
- gap: ${o.sizes.sm};
17
- }
18
- `;
35
+ })(e);
19
36
  export {
20
- p as StyledSortableViews
37
+ l as MUISlider
21
38
  };