@fluidattacks/design 11.11.0 → 11.12.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.
- package/dist/components/card/card-with-input/index.js +2 -3
- package/dist/components/filters/filters-menu/index.js +23 -24
- package/dist/components/filters/options-menu/options/index.js +2 -3
- package/dist/components/inputs/fields/combobox/field/index.js +230 -225
- package/dist/components/inputs/fields/combobox/index.stories.d.ts +3 -1
- package/dist/components/inputs/fields/combobox/option/index.d.ts +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +103 -87
- package/dist/components/inputs/fields/combobox/styles.d.ts +9 -8
- package/dist/components/inputs/fields/combobox/styles.js +84 -64
- package/dist/components/inputs/fields/combobox/types.d.ts +8 -3
- package/dist/components/inputs/fields/month/index.js +20 -20
- package/dist/components/inputs/fields/month/panel.js +0 -2
- package/dist/components/inputs/fields/month/styles.d.ts +2 -1
- package/dist/components/inputs/fields/month/styles.js +21 -16
- package/dist/components/slider/index.js +2 -3
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const TriggerButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>> & string;
|
|
2
|
+
declare const PeriodText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
2
3
|
declare const YearBar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
3
4
|
declare const MonthGrid: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
4
5
|
declare const MonthItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>> & string;
|
|
5
6
|
declare const Footer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
6
|
-
export { Footer, MonthGrid, MonthItem, TriggerButton, YearBar };
|
|
7
|
+
export { Footer, MonthGrid, MonthItem, PeriodText, TriggerButton, YearBar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
1
|
+
import { styled as a } from "styled-components";
|
|
2
|
+
const o = a.button`
|
|
3
3
|
${({ theme: t }) => `
|
|
4
4
|
align-items: center;
|
|
5
5
|
background: ${t.palette.white};
|
|
@@ -31,13 +31,11 @@ const a = r.button`
|
|
|
31
31
|
color: ${t.palette.gray[400]};
|
|
32
32
|
cursor: not-allowed;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
> span {
|
|
36
|
-
flex: 1;
|
|
37
|
-
text-align: left;
|
|
38
|
-
}
|
|
39
34
|
`}
|
|
40
|
-
`,
|
|
35
|
+
`, p = a.span`
|
|
36
|
+
flex: 1;
|
|
37
|
+
text-align: left;
|
|
38
|
+
`, i = a.div`
|
|
41
39
|
${({ theme: t }) => `
|
|
42
40
|
align-items: center;
|
|
43
41
|
color: ${t.palette.gray[800]};
|
|
@@ -58,11 +56,11 @@ const a = r.button`
|
|
|
58
56
|
width: 200px;
|
|
59
57
|
}
|
|
60
58
|
`}
|
|
61
|
-
`,
|
|
59
|
+
`, n = a.div`
|
|
62
60
|
display: grid;
|
|
63
61
|
grid-template-columns: repeat(4, 1fr);
|
|
64
62
|
width: 100%;
|
|
65
|
-
`,
|
|
63
|
+
`, e = a.button`
|
|
66
64
|
${({ theme: t }) => `
|
|
67
65
|
background: none;
|
|
68
66
|
border: none;
|
|
@@ -86,19 +84,26 @@ const a = r.button`
|
|
|
86
84
|
cursor: auto;
|
|
87
85
|
}
|
|
88
86
|
`}
|
|
89
|
-
`,
|
|
87
|
+
`, d = a.div`
|
|
90
88
|
${({ theme: t }) => `
|
|
91
89
|
align-items: center;
|
|
92
90
|
border-top: 1px solid ${t.palette.gray[200]};
|
|
93
91
|
display: flex;
|
|
94
92
|
justify-content: space-between;
|
|
93
|
+
padding: ${t.spacing[0.25]} 0;
|
|
95
94
|
width: 100%;
|
|
95
|
+
|
|
96
|
+
> button {
|
|
97
|
+
--btn-padding-x: ${t.spacing[0.5]};
|
|
98
|
+
--btn-padding-y: ${t.spacing[0.625]};
|
|
99
|
+
}
|
|
96
100
|
`}
|
|
97
101
|
`;
|
|
98
102
|
export {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
d as Footer,
|
|
104
|
+
n as MonthGrid,
|
|
105
|
+
e as MonthItem,
|
|
106
|
+
p as PeriodText,
|
|
107
|
+
o as TriggerButton,
|
|
108
|
+
i as YearBar
|
|
104
109
|
};
|
|
@@ -9,7 +9,6 @@ import { Thumb as k } from "./thumb/index.js";
|
|
|
9
9
|
import { normalizeValue as v } from "./utils.js";
|
|
10
10
|
import { Container as w } from "../container/index.js";
|
|
11
11
|
import { OutlineContainer as y } from "../inputs/outline-container/index.js";
|
|
12
|
-
import "../inputs/styles.js";
|
|
13
12
|
import "../checkbox/index.js";
|
|
14
13
|
import "../icon/index.js";
|
|
15
14
|
import "../../_virtual/lodash.js";
|
|
@@ -23,7 +22,7 @@ import "react-dom";
|
|
|
23
22
|
import "../layout/categories/buttons/index.js";
|
|
24
23
|
import "../inputs/utils/action-button/index.js";
|
|
25
24
|
import "../../node_modules/react-international-phone/dist/index.js";
|
|
26
|
-
const
|
|
25
|
+
const ee = (o) => {
|
|
27
26
|
const p = S(), m = $(null), { label: s, minValue: i = 0, maxValue: n = 100, name: r, setValue: d, watch: c } = o, a = x(), t = V({
|
|
28
27
|
...o,
|
|
29
28
|
numberFormatter: a,
|
|
@@ -76,6 +75,6 @@ const re = (o) => {
|
|
|
76
75
|
) });
|
|
77
76
|
};
|
|
78
77
|
export {
|
|
79
|
-
|
|
78
|
+
ee as Slider,
|
|
80
79
|
x as useNumberFormatter
|
|
81
80
|
};
|
package/package.json
CHANGED