@pagopa/io-app-design-system 4.5.0 → 4.5.2
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/lib/commonjs/components/Advice/Advice.js +1 -1
- package/lib/commonjs/components/accordion/AccordionItem.js +1 -1
- package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
- package/lib/commonjs/components/accordion/RawAccordion.js +1 -1
- package/lib/commonjs/components/accordion/RawAccordion.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/lib/commonjs/components/buttons/ButtonLink.js +26 -26
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +45 -101
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +71 -64
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +31 -30
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +11 -11
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +30 -30
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +5 -7
- package/lib/commonjs/components/icons/Icon.js +2 -2
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/README.md +1 -1
- package/lib/commonjs/components/icons/svg/IconProductIOAppBlueBg.js +8 -20
- package/lib/commonjs/components/icons/svg/IconProductIOAppBlueBg.js.map +1 -1
- package/lib/commonjs/components/icons/svg/originals/IconProductIOAppBlueBg.svg +12 -9
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +2 -2
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +4 -3
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -2
- package/lib/commonjs/components/numberpad/NumberButton.js +1 -1
- package/lib/commonjs/components/pictograms/Pictogram.js +1 -22
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/spacer/Spacer.js +1 -1
- package/lib/commonjs/components/spacer/Spacer.js.map +1 -1
- package/lib/commonjs/components/stepper/Stepper.js +1 -1
- package/lib/commonjs/components/switch/NativeSwitch.js +2 -2
- package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +3 -3
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +4 -4
- package/lib/commonjs/components/typography/__test__/typography.test.js +13 -13
- package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/commonjs/core/IOColors.js +31 -99
- package/lib/commonjs/core/IOColors.js.map +1 -1
- package/lib/commonjs/core/IOStyles.js +2 -2
- package/lib/module/components/Advice/Advice.js +1 -1
- package/lib/module/components/accordion/AccordionItem.js +1 -1
- package/lib/module/components/accordion/AccordionItem.js.map +1 -1
- package/lib/module/components/accordion/RawAccordion.js +1 -1
- package/lib/module/components/accordion/RawAccordion.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/lib/module/components/buttons/ButtonLink.js +27 -27
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +46 -102
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +74 -67
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +32 -31
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +11 -11
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +31 -31
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +5 -7
- package/lib/module/components/icons/Icon.js +2 -2
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/README.md +1 -1
- package/lib/module/components/icons/svg/IconProductIOAppBlueBg.js +9 -21
- package/lib/module/components/icons/svg/IconProductIOAppBlueBg.js.map +1 -1
- package/lib/module/components/icons/svg/originals/IconProductIOAppBlueBg.svg +12 -9
- package/lib/module/components/layout/HeaderFirstLevel.js +2 -2
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +1 -1
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +4 -3
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -2
- package/lib/module/components/numberpad/NumberButton.js +1 -1
- package/lib/module/components/pictograms/Pictogram.js +0 -20
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/spacer/Spacer.js +1 -1
- package/lib/module/components/spacer/Spacer.js.map +1 -1
- package/lib/module/components/stepper/Stepper.js +1 -1
- package/lib/module/components/switch/NativeSwitch.js +2 -2
- package/lib/module/components/switch/NativeSwitch.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +3 -3
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +4 -4
- package/lib/module/components/typography/__test__/typography.test.js +13 -13
- package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/module/core/IOColors.js +31 -99
- package/lib/module/core/IOColors.js.map +1 -1
- package/lib/module/core/IOStyles.js +2 -2
- package/lib/typescript/components/buttons/ButtonLink.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +2 -2
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconProductIOAppBlueBg.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts +2 -2
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts +2 -11
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/types.d.ts +0 -1
- package/lib/typescript/components/pictograms/types.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodyMonospace.d.ts +1 -1
- package/lib/typescript/components/typography/ButtonText.d.ts +1 -1
- package/lib/typescript/components/typography/Caption.d.ts +1 -1
- package/lib/typescript/components/typography/H1.d.ts +1 -1
- package/lib/typescript/components/typography/H2.d.ts +1 -1
- package/lib/typescript/components/typography/H3.d.ts +1 -1
- package/lib/typescript/components/typography/H4.d.ts +1 -1
- package/lib/typescript/components/typography/H5.d.ts +1 -1
- package/lib/typescript/components/typography/H6.d.ts +1 -1
- package/lib/typescript/components/typography/Hero.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH1.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH2.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH3.d.ts +1 -1
- package/lib/typescript/core/IOColors.d.ts +5 -35
- package/lib/typescript/core/IOColors.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +2 -2
- package/lib/typescript/utils/fonts.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Advice/Advice.tsx +1 -1
- package/src/components/accordion/AccordionItem.tsx +1 -1
- package/src/components/accordion/RawAccordion.tsx +1 -1
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/src/components/buttons/ButtonLink.tsx +38 -31
- package/src/components/buttons/ButtonOutline.tsx +55 -112
- package/src/components/buttons/ButtonSolid.tsx +95 -79
- package/src/components/buttons/IconButton.tsx +39 -32
- package/src/components/buttons/IconButtonContained.tsx +11 -11
- package/src/components/buttons/IconButtonSolid.tsx +38 -34
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +5 -7
- package/src/components/icons/Icon.tsx +2 -2
- package/src/components/icons/README.md +1 -1
- package/src/components/icons/svg/IconProductIOAppBlueBg.tsx +12 -13
- package/src/components/icons/svg/originals/IconProductIOAppBlueBg.svg +12 -9
- package/src/components/layout/HeaderFirstLevel.tsx +4 -4
- package/src/components/listitems/ListItemInfo.tsx +1 -1
- package/src/components/listitems/ListItemInfoCopy.tsx +1 -1
- package/src/components/listitems/ListItemNav.tsx +5 -4
- package/src/components/listitems/ListItemNavAlert.tsx +3 -1
- package/src/components/listitems/ListItemTransaction.tsx +1 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -2
- package/src/components/numberpad/NumberButton.tsx +1 -1
- package/src/components/pictograms/Pictogram.tsx +0 -22
- package/src/components/pictograms/types.ts +0 -1
- package/src/components/spacer/Spacer.tsx +1 -1
- package/src/components/stepper/Stepper.tsx +1 -1
- package/src/components/switch/NativeSwitch.tsx +2 -2
- package/src/components/tabs/TabItem.tsx +3 -3
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +4 -4
- package/src/components/typography/__test__/typography.test.tsx +18 -16
- package/src/core/IOColors.ts +39 -98
- package/src/core/IOStyles.ts +2 -2
- package/lib/commonjs/components/layout/BlockButtons.js +0 -85
- package/lib/commonjs/components/layout/BlockButtons.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramCompleted.js +0 -33
- package/lib/commonjs/components/pictograms/svg/PictogramCompleted.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramProcessing.js +0 -33
- package/lib/commonjs/components/pictograms/svg/PictogramProcessing.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
- package/lib/module/components/layout/BlockButtons.js +0 -76
- package/lib/module/components/layout/BlockButtons.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramCompleted.js +0 -25
- package/lib/module/components/pictograms/svg/PictogramCompleted.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramProcessing.js +0 -25
- package/lib/module/components/pictograms/svg/PictogramProcessing.js.map +0 -1
- package/lib/module/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
- package/lib/typescript/components/layout/BlockButtons.d.ts +0 -54
- package/lib/typescript/components/layout/BlockButtons.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramCompleted.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramCompleted.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramProcessing.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramProcessing.d.ts.map +0 -1
- package/src/components/layout/BlockButtons.tsx +0 -143
- package/src/components/pictograms/svg/PictogramCompleted.tsx +0 -22
- package/src/components/pictograms/svg/PictogramProcessing.tsx +0 -22
- package/src/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
|
@@ -30,10 +30,10 @@ describe("Test Typography Components", () => {
|
|
|
30
30
|
// SemiBold weight, default weight
|
|
31
31
|
const h3Default = TestRenderer.create(<H3>Text</H3>).toJSON();
|
|
32
32
|
expect(h3Default).toMatchSnapshot();
|
|
33
|
-
const
|
|
34
|
-
<H3 color={"
|
|
33
|
+
const h3grey200 = TestRenderer.create(
|
|
34
|
+
<H3 color={"grey-200"}>Text</H3>
|
|
35
35
|
).toJSON();
|
|
36
|
-
expect(
|
|
36
|
+
expect(h3grey200).toMatchSnapshot();
|
|
37
37
|
const h3white = TestRenderer.create(<H3 color={"white"}>Text</H3>).toJSON();
|
|
38
38
|
expect(h3white).toMatchSnapshot();
|
|
39
39
|
const h3whiteBold = TestRenderer.create(
|
|
@@ -49,7 +49,9 @@ describe("Test Typography Components", () => {
|
|
|
49
49
|
// Bold weight, default weight
|
|
50
50
|
const h4Default = TestRenderer.create(<H4>Text</H4>).toJSON();
|
|
51
51
|
expect(h4Default).toMatchSnapshot();
|
|
52
|
-
const h4Dblue = TestRenderer.create(
|
|
52
|
+
const h4Dblue = TestRenderer.create(
|
|
53
|
+
<H4 color={"blue-500"}>Text</H4>
|
|
54
|
+
).toJSON();
|
|
53
55
|
expect(h4Dblue).toMatchSnapshot();
|
|
54
56
|
const h4white = TestRenderer.create(<H4 color={"white"}>Text</H4>).toJSON();
|
|
55
57
|
expect(h4white).toMatchSnapshot();
|
|
@@ -59,11 +61,11 @@ describe("Test Typography Components", () => {
|
|
|
59
61
|
const h5Default = TestRenderer.create(<H5>Text</H5>).toJSON();
|
|
60
62
|
expect(h5Default).toMatchSnapshot();
|
|
61
63
|
const h5Defaultbluegrey = TestRenderer.create(
|
|
62
|
-
<H5 color={"
|
|
64
|
+
<H5 color={"grey-700"}>Text</H5>
|
|
63
65
|
).toJSON();
|
|
64
66
|
expect(h5Defaultbluegrey).toMatchSnapshot();
|
|
65
67
|
const h5Defaultblue = TestRenderer.create(
|
|
66
|
-
<H5 color={"blue"}>Text</H5>
|
|
68
|
+
<H5 color={"blue-500"}>Text</H5>
|
|
67
69
|
).toJSON();
|
|
68
70
|
expect(h5Defaultblue).toMatchSnapshot();
|
|
69
71
|
const h5Defaultwhite = TestRenderer.create(
|
|
@@ -93,9 +95,9 @@ describe("Test Typography Components", () => {
|
|
|
93
95
|
type BodyColors = React.ComponentProps<typeof BodySmall>["color"];
|
|
94
96
|
|
|
95
97
|
const allowedColors: ReadonlyArray<BodyColors> = [
|
|
96
|
-
"blue",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
98
|
+
"blue-500",
|
|
99
|
+
"grey-700",
|
|
100
|
+
"error-600",
|
|
99
101
|
"white"
|
|
100
102
|
];
|
|
101
103
|
|
|
@@ -126,26 +128,26 @@ describe("Test Typography common", () => {
|
|
|
126
128
|
it("Test calculateWeightColor behaviour", () => {
|
|
127
129
|
const noValues = calculateWeightColor<IOFontWeight, IOColors>(
|
|
128
130
|
"Bold",
|
|
129
|
-
"
|
|
131
|
+
"error-600"
|
|
130
132
|
);
|
|
131
|
-
expect(noValues.color).toBe("
|
|
133
|
+
expect(noValues.color).toBe("error-600");
|
|
132
134
|
expect(noValues.weight).toBe("Bold");
|
|
133
135
|
|
|
134
136
|
const weightProvided = calculateWeightColor<IOFontWeight, IOColors>(
|
|
135
137
|
"Bold",
|
|
136
|
-
"
|
|
138
|
+
"error-600",
|
|
137
139
|
"Regular"
|
|
138
140
|
);
|
|
139
|
-
expect(weightProvided.color).toBe("
|
|
141
|
+
expect(weightProvided.color).toBe("error-600");
|
|
140
142
|
expect(weightProvided.weight).toBe("Regular");
|
|
141
143
|
|
|
142
144
|
const allValuesProvided = calculateWeightColor<IOFontWeight, IOColors>(
|
|
143
145
|
"Bold",
|
|
144
|
-
"
|
|
146
|
+
"error-600",
|
|
145
147
|
"Regular",
|
|
146
|
-
"
|
|
148
|
+
"grey-700"
|
|
147
149
|
);
|
|
148
|
-
expect(allValuesProvided.color).toBe("
|
|
150
|
+
expect(allValuesProvided.color).toBe("grey-700");
|
|
149
151
|
expect(allValuesProvided.weight).toBe("Regular");
|
|
150
152
|
});
|
|
151
153
|
});
|
package/src/core/IOColors.ts
CHANGED
|
@@ -84,23 +84,8 @@ export const IOColors = asIOColors({
|
|
|
84
84
|
"blueItalia-50": "#DDEBFA",
|
|
85
85
|
/* Temporary scale based on legacy Blue */
|
|
86
86
|
"blue-600": "#0353A3",
|
|
87
|
-
"blue-
|
|
88
|
-
|
|
89
|
-
greyUltraLight: "#F5F6F7",
|
|
90
|
-
greyLight: "#E6E9F2",
|
|
91
|
-
bluegreyLight: "#CCD4DC",
|
|
92
|
-
grey: "#909DA8",
|
|
93
|
-
bluegrey: "#475A6D",
|
|
94
|
-
bluegreyDark: "#17324D",
|
|
95
|
-
blue: "#0073E6",
|
|
96
|
-
blueUltraLight: "#99CCFF" /* Almost deprecated, avoid if possible */,
|
|
97
|
-
aqua: "#00C5CA",
|
|
98
|
-
aquaUltraLight: "#C1F4F2",
|
|
99
|
-
antiqueFuchsia: "#9B5897" /* used in the CgnDiscountValueBox only */,
|
|
100
|
-
orange: "#EA7614",
|
|
101
|
-
red: "#C02927",
|
|
102
|
-
green: "#005C3C",
|
|
103
|
-
greenLight: "#5CA85A"
|
|
87
|
+
"blue-500": "#0073E6",
|
|
88
|
+
"blue-50": "#EFF7FF"
|
|
104
89
|
});
|
|
105
90
|
|
|
106
91
|
export type IOColors = keyof typeof IOColors;
|
|
@@ -137,44 +122,17 @@ export const getGradientColorValues = (
|
|
|
137
122
|
*/
|
|
138
123
|
|
|
139
124
|
const {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
bluegreyLight,
|
|
144
|
-
grey,
|
|
145
|
-
bluegrey,
|
|
146
|
-
bluegreyDark,
|
|
147
|
-
black,
|
|
148
|
-
blue,
|
|
149
|
-
blueUltraLight,
|
|
150
|
-
aqua,
|
|
151
|
-
aquaUltraLight,
|
|
152
|
-
antiqueFuchsia,
|
|
153
|
-
orange,
|
|
154
|
-
red,
|
|
155
|
-
green,
|
|
156
|
-
greenLight
|
|
125
|
+
"blue-600": blue600,
|
|
126
|
+
"blue-500": blue500,
|
|
127
|
+
"blue-50": blue50
|
|
157
128
|
} = IOColors;
|
|
158
129
|
|
|
159
130
|
export const IOColorsLegacy = {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
bluegreyLight,
|
|
164
|
-
grey,
|
|
165
|
-
bluegrey,
|
|
166
|
-
bluegreyDark,
|
|
167
|
-
black,
|
|
168
|
-
blue,
|
|
169
|
-
blueUltraLight,
|
|
170
|
-
aqua,
|
|
171
|
-
aquaUltraLight,
|
|
172
|
-
antiqueFuchsia,
|
|
173
|
-
orange,
|
|
174
|
-
red,
|
|
175
|
-
green,
|
|
176
|
-
greenLight
|
|
131
|
+
blue600,
|
|
132
|
+
blue500,
|
|
133
|
+
blue50
|
|
177
134
|
};
|
|
135
|
+
|
|
178
136
|
export type IOColorLegacy = keyof typeof IOColorsLegacy;
|
|
179
137
|
|
|
180
138
|
export const IOColorsNeutral = asIOColors({
|
|
@@ -248,10 +206,9 @@ export const IOColorsExtra = {
|
|
|
248
206
|
"blueItalia-600": IOColors["blueItalia-600"],
|
|
249
207
|
"blueItalia-500": IOColors["blueItalia-500"],
|
|
250
208
|
"blueItalia-100": IOColors["blueItalia-100"],
|
|
251
|
-
"blueItalia-50": IOColors["blueItalia-50"]
|
|
252
|
-
"blue-600": IOColors["blue-600"],
|
|
253
|
-
"blue-50": IOColors["blue-50"]
|
|
209
|
+
"blueItalia-50": IOColors["blueItalia-50"]
|
|
254
210
|
};
|
|
211
|
+
|
|
255
212
|
export type IOColorsExtra = keyof typeof IOColorsExtra;
|
|
256
213
|
|
|
257
214
|
/*
|
|
@@ -266,6 +223,13 @@ const themeKeys = [
|
|
|
266
223
|
"appBackground-accent",
|
|
267
224
|
"interactiveElem-default",
|
|
268
225
|
"interactiveElem-pressed",
|
|
226
|
+
"interactiveElem-disabled",
|
|
227
|
+
"interactiveOutline-disabled",
|
|
228
|
+
"neutralButton-default",
|
|
229
|
+
"neutralButton-pressed",
|
|
230
|
+
"neutralButton-disabled",
|
|
231
|
+
"buttonText-default",
|
|
232
|
+
"buttonText-disabled",
|
|
269
233
|
"listItem-pressed",
|
|
270
234
|
// Typography
|
|
271
235
|
"textHeading-default",
|
|
@@ -315,6 +279,13 @@ export const IOThemeLight: IOTheme = {
|
|
|
315
279
|
"appBackground-accent": "blueIO-500",
|
|
316
280
|
"interactiveElem-default": "blueIO-500",
|
|
317
281
|
"interactiveElem-pressed": "blueIO-600",
|
|
282
|
+
"interactiveElem-disabled": "grey-300",
|
|
283
|
+
"interactiveOutline-disabled": "grey-650",
|
|
284
|
+
"neutralButton-default": "black",
|
|
285
|
+
"neutralButton-pressed": "grey-850",
|
|
286
|
+
"neutralButton-disabled": "grey-450",
|
|
287
|
+
"buttonText-default": "white",
|
|
288
|
+
"buttonText-disabled": "grey-700",
|
|
318
289
|
"listItem-pressed": "grey-50",
|
|
319
290
|
// Typography
|
|
320
291
|
"textHeading-default": "black",
|
|
@@ -353,9 +324,9 @@ export const IOThemeLight: IOTheme = {
|
|
|
353
324
|
|
|
354
325
|
export const IOThemeLightLegacy: IOTheme = {
|
|
355
326
|
...IOThemeLight,
|
|
356
|
-
"appBackground-accent": "blue",
|
|
357
|
-
"interactiveElem-default": "blue",
|
|
358
|
-
"pictogram-hands": "blue"
|
|
327
|
+
"appBackground-accent": "blue-500",
|
|
328
|
+
"interactiveElem-default": "blue-500",
|
|
329
|
+
"pictogram-hands": "blue-500"
|
|
359
330
|
};
|
|
360
331
|
|
|
361
332
|
export const IOThemeDark: IOTheme = {
|
|
@@ -365,7 +336,14 @@ export const IOThemeDark: IOTheme = {
|
|
|
365
336
|
"appBackground-secondary": "grey-850",
|
|
366
337
|
"appBackground-tertiary": "grey-700",
|
|
367
338
|
"interactiveElem-default": "blueIO-450",
|
|
368
|
-
"interactiveElem-pressed": "blueIO-
|
|
339
|
+
"interactiveElem-pressed": "blueIO-500",
|
|
340
|
+
"interactiveElem-disabled": "grey-700",
|
|
341
|
+
"interactiveOutline-disabled": "grey-450",
|
|
342
|
+
"neutralButton-default": "white",
|
|
343
|
+
"neutralButton-pressed": "grey-100",
|
|
344
|
+
"neutralButton-disabled": "grey-850",
|
|
345
|
+
"buttonText-default": "white",
|
|
346
|
+
"buttonText-disabled": "grey-300",
|
|
369
347
|
"listItem-pressed": "grey-850",
|
|
370
348
|
// Typography
|
|
371
349
|
"textHeading-default": "grey-200",
|
|
@@ -471,45 +449,8 @@ REFACTORING REFERENCES
|
|
|
471
449
|
Alias tokens:
|
|
472
450
|
*/
|
|
473
451
|
/*
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
colorSkeleton → bluegreyLight
|
|
477
|
-
itemSeparator → bluegreyLight
|
|
478
|
-
btnLightBorderColor → grey
|
|
479
|
-
disabledService → grey, not referenced though
|
|
480
|
-
headerIconDark → milderGray
|
|
481
|
-
textColor → bluegrey
|
|
482
|
-
topTabBarTextColor → bluegrey
|
|
483
|
-
unselectedColor → bluegrey
|
|
484
|
-
textColorDark → bluegreyDark
|
|
485
|
-
cardTextColor → bluegreyDark
|
|
452
|
+
itemSeparator → grey-200
|
|
453
|
+
textColor → grey-700
|
|
486
454
|
footerShadowColor → black
|
|
487
|
-
|
|
488
|
-
selectedColor → blue
|
|
489
|
-
contentPrimaryBackground → blue
|
|
490
|
-
textLinkColor → blue
|
|
491
|
-
colorHighlight → aqua
|
|
492
|
-
toastColor → aquaUltraLight
|
|
493
|
-
brandDanger → red
|
|
494
|
-
calendarExpirableColor → red
|
|
495
|
-
brandSuccess → green
|
|
496
|
-
*/
|
|
497
|
-
|
|
498
|
-
/* NEW PALETTE → OLD PALETTE
|
|
499
|
-
That is, which color replaces the other? */
|
|
500
|
-
/*
|
|
501
|
-
`blackNew` replaces `black`
|
|
502
|
-
`grey50` → `greyUltraLight`
|
|
503
|
-
`grey100` → `greyLight`
|
|
504
|
-
`grey200` → `blueGreyLight`
|
|
505
|
-
`grey450` → `grey`
|
|
506
|
-
`grey650` → `milderGrey`
|
|
507
|
-
`grey700` → `bluegrey`
|
|
508
|
-
`grey850` → `bluegreyDark`
|
|
509
|
-
`blueNew` → `blue`
|
|
510
|
-
`turquoise` → `aqua`
|
|
511
|
-
`turquoiseLight` → `aquaUltraLight`
|
|
512
|
-
`warning` → `yellow`
|
|
513
|
-
`error` → `red`
|
|
514
|
-
`success` → `green`
|
|
455
|
+
contentPrimaryBackground → blue-500
|
|
515
456
|
*/
|
package/src/core/IOStyles.ts
CHANGED
|
@@ -352,8 +352,8 @@ export const IOSwitchVisualParams: IOSwitchVisualParams = {
|
|
|
352
352
|
|
|
353
353
|
export const IOSelectionTickLegacyVisualParams: IOSelectionTickLegacyVisualParams =
|
|
354
354
|
{
|
|
355
|
-
borderColorOffState: "
|
|
356
|
-
bgColorOnState: "blue"
|
|
355
|
+
borderColorOffState: "grey-700",
|
|
356
|
+
bgColorOnState: "blue-500"
|
|
357
357
|
};
|
|
358
358
|
|
|
359
359
|
interface IOSelectionListItemVisualParams {
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.BlockButtons = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _Spacer = require("../spacer/Spacer");
|
|
10
|
-
var _buttons = require("../buttons");
|
|
11
|
-
var _core = require("../../core");
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
15
|
-
const styles = _reactNative.StyleSheet.create({
|
|
16
|
-
button: {
|
|
17
|
-
alignContent: "center",
|
|
18
|
-
justifyContent: "center",
|
|
19
|
-
flex: 1
|
|
20
|
-
},
|
|
21
|
-
buttonTwoThirds: {
|
|
22
|
-
alignContent: "center",
|
|
23
|
-
flex: 2
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* | single button |
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* | left | right |
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* | left | right |
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* | left | right |
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* | left | mid | right |
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Implements a component that show buttons on a line on 1, 2 or 3 buttons
|
|
49
|
-
* @deprecated This component is deprecated. Use `FooterActionsInline` instead.
|
|
50
|
-
*/
|
|
51
|
-
const BlockButtons = props => {
|
|
52
|
-
const renderRightButton = () => {
|
|
53
|
-
if (props.type === "SingleButton") {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
const secondaryButtonStyle = props.type === "TwoButtonsInlineThird" ? styles.buttonTwoThirds : styles.button;
|
|
57
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Spacer.HSpacer, {
|
|
58
|
-
size: 16
|
|
59
|
-
}), renderButton(props.secondary, secondaryButtonStyle));
|
|
60
|
-
};
|
|
61
|
-
const renderMidButton = () => {
|
|
62
|
-
if (props.type !== "ThreeButtonsInLine") {
|
|
63
|
-
return null;
|
|
64
|
-
}
|
|
65
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Spacer.HSpacer, {
|
|
66
|
-
size: 16
|
|
67
|
-
}), renderButton(props.third, styles.button));
|
|
68
|
-
};
|
|
69
|
-
const renderLeftButton = () => {
|
|
70
|
-
const primaryButtonStyle = props.type === "TwoButtonsInlineThirdInverted" ? styles.buttonTwoThirds : styles.button;
|
|
71
|
-
return renderButton(props.primary, primaryButtonStyle);
|
|
72
|
-
};
|
|
73
|
-
const renderButton = (props, style) => /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
74
|
-
style: style
|
|
75
|
-
}, props.type === "Solid" ? /*#__PURE__*/React.createElement(_buttons.ButtonSolid, _extends({
|
|
76
|
-
fullWidth: true
|
|
77
|
-
}, props.buttonProps)) : /*#__PURE__*/React.createElement(_buttons.ButtonOutline, _extends({
|
|
78
|
-
fullWidth: true
|
|
79
|
-
}, props.buttonProps)));
|
|
80
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
81
|
-
style: _core.IOStyles.row
|
|
82
|
-
}, renderLeftButton(), renderMidButton(), renderRightButton());
|
|
83
|
-
};
|
|
84
|
-
exports.BlockButtons = BlockButtons;
|
|
85
|
-
//# sourceMappingURL=BlockButtons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_Spacer","_buttons","_core","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","styles","StyleSheet","create","button","alignContent","justifyContent","flex","buttonTwoThirds","BlockButtons","props","renderRightButton","type","secondaryButtonStyle","createElement","Fragment","HSpacer","size","renderButton","secondary","renderMidButton","third","renderLeftButton","primaryButtonStyle","primary","style","View","ButtonSolid","fullWidth","buttonProps","ButtonOutline","IOStyles","row","exports"],"sourceRoot":"../../../../src","sources":["components/layout/BlockButtons.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAAsC,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAP,wBAAAW,GAAA,EAAAJ,WAAA,SAAA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M,CAC1B,CAAC;EAErB,CAAC;EAED,MAAMkB,gBAAgB,GAAGA,CAAA,KAAM;IAC7B,MAAMC,kBAAkB,GACtBb,KAAK,CAACE,IAAI,KAAK,+BAA+B,GAC1CX,MAAM,CAACO,eAAe,GACtBP,MAAM,CAACG,MAAM;IAEnB,OAAOc,YAAY,CAACR,KAAK,CAACc,OAAO,EAAED,kBAAkB,CAAC;EACxD,CAAC;EAED,MAAML,YAAY,GAAGA,CACnBR,KAAuB,EACvBe,KAAiD,kBAEjD9D,KAAA,CAAAmD,aAAA,CAAChD,YAAA,CAAA4D,IAAI;IAACD,KAAK,EAAEA;EAAM,GAChBf,KAAK,CAACE,IAAI,KAAK,OAAO,gBACrBjD,KAAA,CAAAmD,aAAA,CAAC9C,QAAA,CAAA2D,WAAW,EAAAnC,QAAA;IAACoC,SAAS;EAAA,GAAKlB,KAAK,CAACmB,WAAW,CAAG,CAAC,gBAEhDlE,KAAA,CAAAmD,aAAA,CAAC9C,QAAA,CAAA8D,aAAa,EAAAtC,QAAA;IAACoC,SAAS;EAAA,GAAKlB,KAAK,CAACmB,WAAW,CAAG,CAE/C,CACP;EAED,oBACElE,KAAA,CAAAmD,aAAA,CAAChD,YAAA,CAAA4D,IAAI;IAACD,KAAK,EAAEM,cAAQ,CAACC;EAAI,GACvBV,gBAAgB,CAAC,CAAC,EAClBF,eAAe,CAAC,CAAC,EACjBT,iBAAiB,CAAC,CACf,CAAC;AAEX,CAAC;AAACsB,OAAA,CAAAxB,YAAA,GAAAA,YAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNativeSvg = require("react-native-svg");
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
const PictogramCompleted = ({
|
|
12
|
-
size,
|
|
13
|
-
color,
|
|
14
|
-
...props
|
|
15
|
-
}) => /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, _extends({
|
|
16
|
-
fill: "none",
|
|
17
|
-
width: size,
|
|
18
|
-
height: size,
|
|
19
|
-
viewBox: "0 0 120 120"
|
|
20
|
-
}, props), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
21
|
-
fillRule: "evenodd",
|
|
22
|
-
clipRule: "evenodd",
|
|
23
|
-
d: "M.452 60.01C.452 27.2 27.147.507 59.957.507s59.504 26.695 59.504 59.505-26.695 59.504-59.504 59.504C27.147 119.515.452 92.82.452 60.01Zm5.946 0c0 29.534 24.025 53.559 53.559 53.559 29.533 0 53.558-24.025 53.558-53.559 0-29.533-24.025-53.558-53.558-53.558-29.534 0-53.559 24.025-53.559 53.559Z",
|
|
24
|
-
fill: color
|
|
25
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
26
|
-
fillRule: "evenodd",
|
|
27
|
-
clipRule: "evenodd",
|
|
28
|
-
d: "m75.536 45.523-22.811 22.69L44.4 59.84a2.98 2.98 0 0 0-4.198-.025c-1.165 1.14-1.165 3.034-.025 4.199L50.59 74.498a2.956 2.956 0 0 0 4.199 0L79.71 49.721a2.98 2.98 0 0 0 .025-4.198 2.959 2.959 0 0 0-4.199 0Z",
|
|
29
|
-
fill: color
|
|
30
|
-
}));
|
|
31
|
-
var _default = PictogramCompleted;
|
|
32
|
-
exports.default = _default;
|
|
33
|
-
//# sourceMappingURL=PictogramCompleted.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","PictogramCompleted","size","color","props","createElement","Svg","fill","width","height","viewBox","Path","fillRule","clipRule","d","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramCompleted.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAG7C,MAAMQ,kBAAkB,GAAGA,CAAC;EAAEC,IAAI;EAAEC,KAAK;EAAE,GAAGC;AAAyB,CAAC,kBACtExB,MAAA,CAAAM,OAAA,CAAAmB,aAAA,CAACtB,eAAA,CAAAuB,GAAG,EAAAnB,QAAA;EAACoB,IAAI,EAAC,MAAM;EAACC,KAAK,EAAEN,IAAK;EAACO,MAAM,EAAEP,IAAK;EAACQ,OAAO,EAAC;AAAa,GAAKN,KAAK,gBACzExB,MAAA,CAAAM,OAAA,CAAAmB,aAAA,CAACtB,eAAA,CAAA4B,IAAI;EACHC,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,sSAAsS;EACxSP,IAAI,EAAEJ;AAAM,CACb,CAAC,eACFvB,MAAA,CAAAM,OAAA,CAAAmB,aAAA,CAACtB,eAAA,CAAA4B,IAAI;EACHC,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,gNAAgN;EAClNP,IAAI,EAAEJ;AAAM,CACb,CACE,CACN;AAAC,IAAAY,QAAA,GAEad,kBAAkB;AAAAe,OAAA,CAAA9B,OAAA,GAAA6B,QAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNativeSvg = require("react-native-svg");
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
const PictogramProcessing = ({
|
|
12
|
-
size,
|
|
13
|
-
color,
|
|
14
|
-
...props
|
|
15
|
-
}) => /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, _extends({
|
|
16
|
-
fill: "none",
|
|
17
|
-
width: size,
|
|
18
|
-
height: size,
|
|
19
|
-
viewBox: "0 0 120 120"
|
|
20
|
-
}, props), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
21
|
-
fillRule: "evenodd",
|
|
22
|
-
clipRule: "evenodd",
|
|
23
|
-
d: "M107.776 85.653h-1.996V81.67c0-.913-.623-1.71-1.511-1.931l-2.906-.726a5.953 5.953 0 0 1-4.443-4.736l-2.851-22.52a1.98 1.98 0 0 0 1.522-1.063l3.992-7.967c.31-.618.276-1.351-.088-1.938a1.997 1.997 0 0 0-1.699-.945h-9.979a5.987 5.987 0 0 0-5.62 3.984h-.367c0-3.3-2.68-5.976-5.988-5.976H55.884V19.927h1.995c.737 0 1.413-.403 1.76-1.052a1.984 1.984 0 0 0-.099-2.044l-3.257-4.87h5.588V7.976h-6.186c-1.02-5.013-5.682-8.44-10.783-7.926-5.101.514-8.982 4.801-8.977 9.918v45.809a9.907 9.907 0 0 0 2.815 6.904 5.956 5.956 0 0 0-2.815 5.046v1.992h-3.991V2.002h-4.367a8.929 8.929 0 0 0-3.964.934 4.833 4.833 0 0 1-3.714.263L16.6 2.104a1.999 1.999 0 0 0-2.628 1.89v11.95c0 .858.55 1.619 1.365 1.89l3.291 1.095a8.907 8.907 0 0 0 2.81.459 8.84 8.84 0 0 0 3.95-.938 4.9 4.9 0 0 1 2.18-.514h.375v20.283a5.94 5.94 0 0 0-1.996-.367H5.988C2.68 37.852 0 40.529 0 43.828v19.917c.007.318.09.629.246.906-.157.438-.24.9-.246 1.364a4.285 4.285 0 0 0 3.098 4.103l10.873 3.095v4.474H3.99a1.994 1.994 0 0 0-1.995 1.991v10.487A19.627 19.627 0 0 0 0 98.83v4.748c0 1.1.894 1.991 1.996 1.991h7.983c0 7.701 6.256 13.942 13.971 13.942 7.716 0 13.971-6.241 13.971-13.942h2.573a12.488 12.488 0 0 0 11.644 7.967h21.464a12.488 12.488 0 0 0 11.643-7.967h4.568a13.944 13.944 0 0 0 8.833 12.997 13.991 13.991 0 0 0 15.351-3.451 13.92 13.92 0 0 0 2.395-15.52h1.363a1.994 1.994 0 0 0 1.996-1.992c-.006-6.597-5.364-11.944-11.975-11.95Zm7.731 9.959h-6.734a17.1 17.1 0 0 0-10.178 3.386 12.952 12.952 0 0 1-6.752 2.499l-.451.044a4.89 4.89 0 0 1-.581.046h-.998v-1.992c.007-5.496 4.471-9.951 9.98-9.958h7.983a7.997 7.997 0 0 1 7.731 5.975Zm-11.723 11.95a1.994 1.994 0 0 0 1.996-1.992c0-1.1-.894-1.991-1.996-1.991a1.993 1.993 0 0 0-1.996 1.991c0 1.1.894 1.992 1.996 1.992ZM92.572 47.811h-4.755a1.939 1.939 0 0 1-.998-.306 1.923 1.923 0 0 0 0-3.37c.3-.192.644-.298.998-.307h6.75l-1.995 3.983Zm-7.425 3.33a5.981 5.981 0 0 1-2.954-3.33h-1.92a5.962 5.962 0 0 1-4.431 1.992H55.884v3.983h14.304a8.837 8.837 0 0 1 7.279 3.828 8.794 8.794 0 0 1 .956 8.154L70.59 86.084a9.947 9.947 0 0 1 6.702 6.45l6.477-11.308-1.94-21.285a11.774 11.774 0 0 1 3.317-8.8Zm-30.261 42.48c-3.858 0-6.986-3.122-6.986-6.972 0-3.849 3.129-6.97 6.986-6.97h.998c2.072 0 5.987-1.666 5.987-7.968v-3.983a5.892 5.892 0 0 0-.366-1.992h3.592l-7.115 21.28c0 .03 0 .062-.019.091-.017.03-.02.034-.023.055L56.32 93.62h-1.435Zm-14.97-39.835h11.976v-3.983h-3.309a7.978 7.978 0 0 1-7.745-6.035l-.921-3.127v13.145Zm30.272 3.983c1.597 0 3.092.784 3.996 2.098a4.823 4.823 0 0 1 .523 4.476l-8.22 21.31h-3.843l7.11-21.28c.202-.606.1-1.274-.276-1.793a1.997 1.997 0 0 0-1.62-.827H45.905a5.997 5.997 0 0 1-5.645-3.983h29.929Zm-2.33 31.868h-6.423l-.998 3.983h13.068a5.999 5.999 0 0 0-5.646-3.983Zm9.98-45.81c0 1.1-.894 1.992-1.996 1.992h-1.996v-3.983h1.996c1.102 0 1.996.892 1.996 1.992ZM48.583 45.82h21.272v-3.983H51.892a1.996 1.996 0 0 1-1.914-1.422l-3.076-10.283a2.868 2.868 0 0 0-2.781-2.237 2.837 2.837 0 0 0-2.759 3.527l3.327 11.304a4.014 4.014 0 0 0 3.894 3.094Zm3.309-12.946-1.137-3.803a6.91 6.91 0 0 0-.423-1.176h1.56v4.98Zm2.258-16.93-1.923-2.885v.008a2.01 2.01 0 0 1-.335-1.106H39.917v11.95h11.975v-5.974c0-1.1.894-1.992 1.996-1.992h.262Zm-8.246-11.95a5.988 5.988 0 0 1 5.621 3.984h-11.24a5.987 5.987 0 0 1 5.62-3.983Zm-3.991 61.743a1.994 1.994 0 0 0-1.996 1.992v1.992h17.962v-1.992c0-1.1-.893-1.992-1.995-1.992H41.913ZM3.992 61.753v-11.95h23.95v11.95H3.992Zm19.611-46.866a8.928 8.928 0 0 1 3.964-.935h.375V5.985h-.375a4.9 4.9 0 0 0-2.18.515 8.83 8.83 0 0 1-6.76.48l-.664-.222v7.75l1.926.641a4.85 4.85 0 0 0 3.714-.262ZM5.988 41.836h19.958c1.102 0 1.996.892 1.996 1.992v1.991H3.992v-1.991c0-1.1.893-1.992 1.996-1.992Zm-1.717 23.9a.28.28 0 0 0-.08.548l12.056 3.436h11.695v-3.984H4.272ZM5.988 81.67h3.01a28.695 28.695 0 0 0-3.01 2.765V81.67Zm7.983 23.9c.007 5.498 4.471 9.953 9.98 9.959 5.508-.006 9.972-4.461 9.978-9.959h-3.991a5.98 5.98 0 0 1-5.988 5.975c-3.306 0-5.987-2.674-5.987-5.975H13.97Zm11.975 0c0 1.1-.894 1.992-1.996 1.992a1.994 1.994 0 0 1-1.996-1.992h3.992Zm26.192 3.984h21.464a8.538 8.538 0 0 0 7.23-3.984H44.907a8.54 8.54 0 0 0 7.23 3.984Zm33.683-9.959v1.992H3.991v-2.756c0-10.638 10.461-16.209 12.423-17.161h21.507v-3.984H17.963v-3.983h39.695c-.472 1.793-1.552 1.976-1.774 1.992h-.998c-6.063 0-10.977 4.904-10.977 10.954 0 6.05 4.914 10.954 10.977 10.954h20.956c.215-.006.428-.05.63-.127a5.954 5.954 0 0 0 4.249-2.883l6.833-11.927c.208-.355.3-.766.263-1.175l-1.996-21.73a7.199 7.199 0 0 1 4.316-7.287l2.835 22.38a9.966 9.966 0 0 0 7.419 8.023l1.397.349v2.427h-1.996c-7.711.01-13.962 6.246-13.97 13.942Zm17.963 15.934c5.512 0 9.979-4.458 9.979-9.959a9.898 9.898 0 0 0-2.011-5.975h-2.979c-.992.015-1.978.143-2.941.383a5.973 5.973 0 0 1 3.777 7 5.988 5.988 0 0 1-6.535 4.548 5.98 5.98 0 0 1-5.278-5.956 5.92 5.92 0 0 1 .26-1.665c-.3.148-.593.28-.898.399-.23.092-.463.171-.698.252l-.06.02a20.21 20.21 0 0 1-1.385.399l-.16.039c-.206.051-.412.102-.62.144-.07.013-.138.031-.206.048-.074.019-.148.038-.224.052v.312c0 5.501 4.468 9.959 9.979 9.959Z",
|
|
24
|
-
fill: color
|
|
25
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
26
|
-
fillRule: "evenodd",
|
|
27
|
-
clipRule: "evenodd",
|
|
28
|
-
d: "M25.946 85.653h11.975v3.984H25.946v-3.984ZM25.946 93.62h11.975v3.984H25.946V93.62Z",
|
|
29
|
-
fill: color
|
|
30
|
-
}));
|
|
31
|
-
var _default = PictogramProcessing;
|
|
32
|
-
exports.default = _default;
|
|
33
|
-
//# sourceMappingURL=PictogramProcessing.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","PictogramProcessing","size","color","props","createElement","Svg","fill","width","height","viewBox","Path","fillRule","clipRule","d","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramProcessing.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,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="0 0 120 120">
|
|
2
|
-
<path
|
|
3
|
-
fill-rule="evenodd"
|
|
4
|
-
clip-rule="evenodd"
|
|
5
|
-
d="M.452 60.01C.452 27.2 27.147.507 59.957.507s59.504 26.695 59.504 59.505-26.695 59.504-59.504 59.504C27.147 119.515.452 92.82.452 60.01Zm5.946 0c0 29.534 24.025 53.559 53.559 53.559 29.533 0 53.558-24.025 53.558-53.559 0-29.533-24.025-53.558-53.558-53.558-29.534 0-53.559 24.025-53.559 53.559Z"
|
|
6
|
-
fill="#000"
|
|
7
|
-
/>
|
|
8
|
-
<path
|
|
9
|
-
fill-rule="evenodd"
|
|
10
|
-
clip-rule="evenodd"
|
|
11
|
-
d="m75.536 45.523-22.811 22.69L44.4 59.84a2.98 2.98 0 0 0-4.198-.025c-1.165 1.14-1.165 3.034-.025 4.199L50.59 74.498a2.956 2.956 0 0 0 4.199 0L79.71 49.721a2.98 2.98 0 0 0 .025-4.198 2.959 2.959 0 0 0-4.199 0Z"
|
|
12
|
-
fill="#000"
|
|
13
|
-
/>
|
|
14
|
-
</svg>
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { View, StyleSheet } from "react-native";
|
|
4
|
-
import { HSpacer } from "../spacer/Spacer";
|
|
5
|
-
import { ButtonOutline, ButtonSolid } from "../buttons";
|
|
6
|
-
import { IOStyles } from "../../core";
|
|
7
|
-
const styles = StyleSheet.create({
|
|
8
|
-
button: {
|
|
9
|
-
alignContent: "center",
|
|
10
|
-
justifyContent: "center",
|
|
11
|
-
flex: 1
|
|
12
|
-
},
|
|
13
|
-
buttonTwoThirds: {
|
|
14
|
-
alignContent: "center",
|
|
15
|
-
flex: 2
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* | single button |
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* | left | right |
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* | left | right |
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* | left | right |
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* | left | mid | right |
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Implements a component that show buttons on a line on 1, 2 or 3 buttons
|
|
41
|
-
* @deprecated This component is deprecated. Use `FooterActionsInline` instead.
|
|
42
|
-
*/
|
|
43
|
-
export const BlockButtons = props => {
|
|
44
|
-
const renderRightButton = () => {
|
|
45
|
-
if (props.type === "SingleButton") {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
const secondaryButtonStyle = props.type === "TwoButtonsInlineThird" ? styles.buttonTwoThirds : styles.button;
|
|
49
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HSpacer, {
|
|
50
|
-
size: 16
|
|
51
|
-
}), renderButton(props.secondary, secondaryButtonStyle));
|
|
52
|
-
};
|
|
53
|
-
const renderMidButton = () => {
|
|
54
|
-
if (props.type !== "ThreeButtonsInLine") {
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HSpacer, {
|
|
58
|
-
size: 16
|
|
59
|
-
}), renderButton(props.third, styles.button));
|
|
60
|
-
};
|
|
61
|
-
const renderLeftButton = () => {
|
|
62
|
-
const primaryButtonStyle = props.type === "TwoButtonsInlineThirdInverted" ? styles.buttonTwoThirds : styles.button;
|
|
63
|
-
return renderButton(props.primary, primaryButtonStyle);
|
|
64
|
-
};
|
|
65
|
-
const renderButton = (props, style) => /*#__PURE__*/React.createElement(View, {
|
|
66
|
-
style: style
|
|
67
|
-
}, props.type === "Solid" ? /*#__PURE__*/React.createElement(ButtonSolid, _extends({
|
|
68
|
-
fullWidth: true
|
|
69
|
-
}, props.buttonProps)) : /*#__PURE__*/React.createElement(ButtonOutline, _extends({
|
|
70
|
-
fullWidth: true
|
|
71
|
-
}, props.buttonProps)));
|
|
72
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
73
|
-
style: IOStyles.row
|
|
74
|
-
}, renderLeftButton(), renderMidButton(), renderRightButton());
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=BlockButtons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","StyleSheet","HSpacer","ButtonOutline","ButtonSolid","IOStyles","styles","create","button","alignContent","justifyContent","flex","buttonTwoThirds","BlockButtons","props","renderRightButton","type","secondaryButtonStyle","createElement","Fragment","size","renderButton","secondary","renderMidButton","third","renderLeftButton","primaryButtonStyle","primary","style","_extends","fullWidth","buttonProps","row"],"sourceRoot":"../../../../src","sources":["components/layout/BlockButtons.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,OAAO,QAAQ,kBAAkB;AAC1C,SAASC,aAAa,EAAEC,WAAW,QAAQ,YAAY;AACvD,SAASC,QAAQ,QAAQ,YAAY;AAErC,MAAMC,MAAM,GAAGL,UAAU,CAACM,MAAM,CAAC;EAC/BC,MAAM,EAAE;IACNC,YAAY,EAAE,QAAQ;IACtBC,cAAc,EAAE,QAAQ;IACxBC,IAAI,EAAE;EACR,CAAC;EACDC,eAAe,EAAE;IACfH,YAAY,EAAE,QAAQ;IACtBE,IAAI,EAAE;EACR;AACF,CAAC,CAAC;;AAYF;AACA;AACA;;AAKA;AACA;AACA;;AAMA;AACA;AACA;;AAMA;AACA;AACA;;AAMA;AACA;AACA;;AAgBA;AACA;AACA;AAC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rBjB,KAAA,CAAAmB,aAAA,CAACd,WAAW,EAAAyB,QAAA;IAACC,SAAS;EAAA,GAAKhB,KAAK,CAACiB,WAAW,CAAG,CAAC,gBAEhDhC,KAAA,CAAAmB,aAAA,CAACf,aAAa,EAAA0B,QAAA;IAACC,SAAS;EAAA,GAAKhB,KAAK,CAACiB,WAAW,CAAG,CAE/C,CACP;EAED,oBACEhC,KAAA,CAAAmB,aAAA,CAAClB,IAAI;IAAC4B,KAAK,EAAEvB,QAAQ,CAAC2B;EAAI,GACvBP,gBAAgB,CAAC,CAAC,EAClBF,eAAe,CAAC,CAAC,EACjBR,iBAAiB,CAAC,CACf,CAAC;AAEX,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Svg, Path } from "react-native-svg";
|
|
4
|
-
const PictogramCompleted = ({
|
|
5
|
-
size,
|
|
6
|
-
color,
|
|
7
|
-
...props
|
|
8
|
-
}) => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
9
|
-
fill: "none",
|
|
10
|
-
width: size,
|
|
11
|
-
height: size,
|
|
12
|
-
viewBox: "0 0 120 120"
|
|
13
|
-
}, props), /*#__PURE__*/React.createElement(Path, {
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M.452 60.01C.452 27.2 27.147.507 59.957.507s59.504 26.695 59.504 59.505-26.695 59.504-59.504 59.504C27.147 119.515.452 92.82.452 60.01Zm5.946 0c0 29.534 24.025 53.559 53.559 53.559 29.533 0 53.558-24.025 53.558-53.559 0-29.533-24.025-53.558-53.558-53.558-29.534 0-53.559 24.025-53.559 53.559Z",
|
|
17
|
-
fill: color
|
|
18
|
-
}), /*#__PURE__*/React.createElement(Path, {
|
|
19
|
-
fillRule: "evenodd",
|
|
20
|
-
clipRule: "evenodd",
|
|
21
|
-
d: "m75.536 45.523-22.811 22.69L44.4 59.84a2.98 2.98 0 0 0-4.198-.025c-1.165 1.14-1.165 3.034-.025 4.199L50.59 74.498a2.956 2.956 0 0 0 4.199 0L79.71 49.721a2.98 2.98 0 0 0 .025-4.198 2.959 2.959 0 0 0-4.199 0Z",
|
|
22
|
-
fill: color
|
|
23
|
-
}));
|
|
24
|
-
export default PictogramCompleted;
|
|
25
|
-
//# sourceMappingURL=PictogramCompleted.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","PictogramCompleted","size","color","props","createElement","_extends","fill","width","height","viewBox","fillRule","clipRule","d"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramCompleted.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,EAAEC,IAAI,QAAQ,kBAAkB;AAG5C,MAAMC,kBAAkB,GAAGA,CAAC;EAAEC,IAAI;EAAEC,KAAK;EAAE,GAAGC;AAAyB,CAAC,kBACtEN,KAAA,CAAAO,aAAA,CAACN,GAAG,EAAAO,QAAA;EAACC,IAAI,EAAC,MAAM;EAACC,KAAK,EAAEN,IAAK;EAACO,MAAM,EAAEP,IAAK;EAACQ,OAAO,EAAC;AAAa,GAAKN,KAAK,gBACzEN,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHW,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,sSAAsS;EACxSN,IAAI,EAAEJ;AAAM,CACb,CAAC,eACFL,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHW,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,gNAAgN;EAClNN,IAAI,EAAEJ;AAAM,CACb,CACE,CACN;AAED,eAAeF,kBAAkB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Svg, Path } from "react-native-svg";
|
|
4
|
-
const PictogramProcessing = ({
|
|
5
|
-
size,
|
|
6
|
-
color,
|
|
7
|
-
...props
|
|
8
|
-
}) => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
9
|
-
fill: "none",
|
|
10
|
-
width: size,
|
|
11
|
-
height: size,
|
|
12
|
-
viewBox: "0 0 120 120"
|
|
13
|
-
}, props), /*#__PURE__*/React.createElement(Path, {
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M107.776 85.653h-1.996V81.67c0-.913-.623-1.71-1.511-1.931l-2.906-.726a5.953 5.953 0 0 1-4.443-4.736l-2.851-22.52a1.98 1.98 0 0 0 1.522-1.063l3.992-7.967c.31-.618.276-1.351-.088-1.938a1.997 1.997 0 0 0-1.699-.945h-9.979a5.987 5.987 0 0 0-5.62 3.984h-.367c0-3.3-2.68-5.976-5.988-5.976H55.884V19.927h1.995c.737 0 1.413-.403 1.76-1.052a1.984 1.984 0 0 0-.099-2.044l-3.257-4.87h5.588V7.976h-6.186c-1.02-5.013-5.682-8.44-10.783-7.926-5.101.514-8.982 4.801-8.977 9.918v45.809a9.907 9.907 0 0 0 2.815 6.904 5.956 5.956 0 0 0-2.815 5.046v1.992h-3.991V2.002h-4.367a8.929 8.929 0 0 0-3.964.934 4.833 4.833 0 0 1-3.714.263L16.6 2.104a1.999 1.999 0 0 0-2.628 1.89v11.95c0 .858.55 1.619 1.365 1.89l3.291 1.095a8.907 8.907 0 0 0 2.81.459 8.84 8.84 0 0 0 3.95-.938 4.9 4.9 0 0 1 2.18-.514h.375v20.283a5.94 5.94 0 0 0-1.996-.367H5.988C2.68 37.852 0 40.529 0 43.828v19.917c.007.318.09.629.246.906-.157.438-.24.9-.246 1.364a4.285 4.285 0 0 0 3.098 4.103l10.873 3.095v4.474H3.99a1.994 1.994 0 0 0-1.995 1.991v10.487A19.627 19.627 0 0 0 0 98.83v4.748c0 1.1.894 1.991 1.996 1.991h7.983c0 7.701 6.256 13.942 13.971 13.942 7.716 0 13.971-6.241 13.971-13.942h2.573a12.488 12.488 0 0 0 11.644 7.967h21.464a12.488 12.488 0 0 0 11.643-7.967h4.568a13.944 13.944 0 0 0 8.833 12.997 13.991 13.991 0 0 0 15.351-3.451 13.92 13.92 0 0 0 2.395-15.52h1.363a1.994 1.994 0 0 0 1.996-1.992c-.006-6.597-5.364-11.944-11.975-11.95Zm7.731 9.959h-6.734a17.1 17.1 0 0 0-10.178 3.386 12.952 12.952 0 0 1-6.752 2.499l-.451.044a4.89 4.89 0 0 1-.581.046h-.998v-1.992c.007-5.496 4.471-9.951 9.98-9.958h7.983a7.997 7.997 0 0 1 7.731 5.975Zm-11.723 11.95a1.994 1.994 0 0 0 1.996-1.992c0-1.1-.894-1.991-1.996-1.991a1.993 1.993 0 0 0-1.996 1.991c0 1.1.894 1.992 1.996 1.992ZM92.572 47.811h-4.755a1.939 1.939 0 0 1-.998-.306 1.923 1.923 0 0 0 0-3.37c.3-.192.644-.298.998-.307h6.75l-1.995 3.983Zm-7.425 3.33a5.981 5.981 0 0 1-2.954-3.33h-1.92a5.962 5.962 0 0 1-4.431 1.992H55.884v3.983h14.304a8.837 8.837 0 0 1 7.279 3.828 8.794 8.794 0 0 1 .956 8.154L70.59 86.084a9.947 9.947 0 0 1 6.702 6.45l6.477-11.308-1.94-21.285a11.774 11.774 0 0 1 3.317-8.8Zm-30.261 42.48c-3.858 0-6.986-3.122-6.986-6.972 0-3.849 3.129-6.97 6.986-6.97h.998c2.072 0 5.987-1.666 5.987-7.968v-3.983a5.892 5.892 0 0 0-.366-1.992h3.592l-7.115 21.28c0 .03 0 .062-.019.091-.017.03-.02.034-.023.055L56.32 93.62h-1.435Zm-14.97-39.835h11.976v-3.983h-3.309a7.978 7.978 0 0 1-7.745-6.035l-.921-3.127v13.145Zm30.272 3.983c1.597 0 3.092.784 3.996 2.098a4.823 4.823 0 0 1 .523 4.476l-8.22 21.31h-3.843l7.11-21.28c.202-.606.1-1.274-.276-1.793a1.997 1.997 0 0 0-1.62-.827H45.905a5.997 5.997 0 0 1-5.645-3.983h29.929Zm-2.33 31.868h-6.423l-.998 3.983h13.068a5.999 5.999 0 0 0-5.646-3.983Zm9.98-45.81c0 1.1-.894 1.992-1.996 1.992h-1.996v-3.983h1.996c1.102 0 1.996.892 1.996 1.992ZM48.583 45.82h21.272v-3.983H51.892a1.996 1.996 0 0 1-1.914-1.422l-3.076-10.283a2.868 2.868 0 0 0-2.781-2.237 2.837 2.837 0 0 0-2.759 3.527l3.327 11.304a4.014 4.014 0 0 0 3.894 3.094Zm3.309-12.946-1.137-3.803a6.91 6.91 0 0 0-.423-1.176h1.56v4.98Zm2.258-16.93-1.923-2.885v.008a2.01 2.01 0 0 1-.335-1.106H39.917v11.95h11.975v-5.974c0-1.1.894-1.992 1.996-1.992h.262Zm-8.246-11.95a5.988 5.988 0 0 1 5.621 3.984h-11.24a5.987 5.987 0 0 1 5.62-3.983Zm-3.991 61.743a1.994 1.994 0 0 0-1.996 1.992v1.992h17.962v-1.992c0-1.1-.893-1.992-1.995-1.992H41.913ZM3.992 61.753v-11.95h23.95v11.95H3.992Zm19.611-46.866a8.928 8.928 0 0 1 3.964-.935h.375V5.985h-.375a4.9 4.9 0 0 0-2.18.515 8.83 8.83 0 0 1-6.76.48l-.664-.222v7.75l1.926.641a4.85 4.85 0 0 0 3.714-.262ZM5.988 41.836h19.958c1.102 0 1.996.892 1.996 1.992v1.991H3.992v-1.991c0-1.1.893-1.992 1.996-1.992Zm-1.717 23.9a.28.28 0 0 0-.08.548l12.056 3.436h11.695v-3.984H4.272ZM5.988 81.67h3.01a28.695 28.695 0 0 0-3.01 2.765V81.67Zm7.983 23.9c.007 5.498 4.471 9.953 9.98 9.959 5.508-.006 9.972-4.461 9.978-9.959h-3.991a5.98 5.98 0 0 1-5.988 5.975c-3.306 0-5.987-2.674-5.987-5.975H13.97Zm11.975 0c0 1.1-.894 1.992-1.996 1.992a1.994 1.994 0 0 1-1.996-1.992h3.992Zm26.192 3.984h21.464a8.538 8.538 0 0 0 7.23-3.984H44.907a8.54 8.54 0 0 0 7.23 3.984Zm33.683-9.959v1.992H3.991v-2.756c0-10.638 10.461-16.209 12.423-17.161h21.507v-3.984H17.963v-3.983h39.695c-.472 1.793-1.552 1.976-1.774 1.992h-.998c-6.063 0-10.977 4.904-10.977 10.954 0 6.05 4.914 10.954 10.977 10.954h20.956c.215-.006.428-.05.63-.127a5.954 5.954 0 0 0 4.249-2.883l6.833-11.927c.208-.355.3-.766.263-1.175l-1.996-21.73a7.199 7.199 0 0 1 4.316-7.287l2.835 22.38a9.966 9.966 0 0 0 7.419 8.023l1.397.349v2.427h-1.996c-7.711.01-13.962 6.246-13.97 13.942Zm17.963 15.934c5.512 0 9.979-4.458 9.979-9.959a9.898 9.898 0 0 0-2.011-5.975h-2.979c-.992.015-1.978.143-2.941.383a5.973 5.973 0 0 1 3.777 7 5.988 5.988 0 0 1-6.535 4.548 5.98 5.98 0 0 1-5.278-5.956 5.92 5.92 0 0 1 .26-1.665c-.3.148-.593.28-.898.399-.23.092-.463.171-.698.252l-.06.02a20.21 20.21 0 0 1-1.385.399l-.16.039c-.206.051-.412.102-.62.144-.07.013-.138.031-.206.048-.074.019-.148.038-.224.052v.312c0 5.501 4.468 9.959 9.979 9.959Z",
|
|
17
|
-
fill: color
|
|
18
|
-
}), /*#__PURE__*/React.createElement(Path, {
|
|
19
|
-
fillRule: "evenodd",
|
|
20
|
-
clipRule: "evenodd",
|
|
21
|
-
d: "M25.946 85.653h11.975v3.984H25.946v-3.984ZM25.946 93.62h11.975v3.984H25.946V93.62Z",
|
|
22
|
-
fill: color
|
|
23
|
-
}));
|
|
24
|
-
export default PictogramProcessing;
|
|
25
|
-
//# sourceMappingURL=PictogramProcessing.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","PictogramProcessing","size","color","props","createElement","_extends","fill","width","height","viewBox","fillRule","clipRule","d"],"sourceRoot":"../../../../../src","sources":["components/pictograms/svg/PictogramProcessing.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,EAAEC,IAAI,QAAQ,kBAAkB;AAG5C,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC,IAAI;EAAEC,KAAK;EAAE,GAAGC;AAAyB,CAAC,kBACvEN,KAAA,CAAAO,aAAA,CAACN,GAAG,EAAAO,QAAA;EAACC,IAAI,EAAC,MAAM;EAACC,KAAK,EAAEN,IAAK;EAACO,MAAM,EAAEP,IAAK;EAACQ,OAAO,EAAC;AAAa,GAAKN,KAAK,gBACzEN,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHW,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,+1JAA+1J;EACj2JN,IAAI,EAAEJ;AAAM,CACb,CAAC,eACFL,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHW,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,oFAAoF;EACtFN,IAAI,EAAEJ;AAAM,CACb,CACE,CACN;AAED,eAAeF,mBAAmB"}
|