@guardian/stand 0.0.64 → 0.0.66
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/Badge.cjs +5 -0
- package/dist/Badge.d.cts +5 -0
- package/dist/Badge.d.ts +5 -0
- package/dist/Badge.js +3 -0
- package/dist/components/Badge/Badge.cjs +17 -0
- package/dist/components/Badge/Badge.d.cts +5 -0
- package/dist/components/Badge/Badge.d.ts +5 -0
- package/dist/components/Badge/Badge.js +17 -0
- package/dist/components/Badge/styles.cjs +26 -0
- package/dist/components/Badge/styles.d.cts +9 -0
- package/dist/components/Badge/styles.d.ts +9 -0
- package/dist/components/Badge/styles.js +25 -0
- package/dist/components/Badge/types.d.cts +23 -0
- package/dist/components/Badge/types.d.ts +23 -0
- package/dist/components/Select/Select.cjs +10 -5
- package/dist/components/Select/Select.d.cts +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +11 -6
- package/dist/components/Select/styles.cjs +13 -5
- package/dist/components/Select/styles.d.cts +1 -0
- package/dist/components/Select/styles.d.ts +1 -0
- package/dist/components/Select/styles.js +13 -6
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/styleD/build/css/component/badge.css +69 -0
- package/dist/styleD/build/css/component/select.css +9 -10
- package/dist/styleD/build/typescript/component/badge.cjs +137 -0
- package/dist/styleD/build/typescript/component/badge.d.cts +162 -0
- package/dist/styleD/build/typescript/component/badge.d.ts +162 -0
- package/dist/styleD/build/typescript/component/badge.js +137 -0
- package/dist/styleD/build/typescript/component/select.cjs +56 -49
- package/dist/styleD/build/typescript/component/select.d.cts +16 -11
- package/dist/styleD/build/typescript/component/select.d.ts +16 -11
- package/dist/styleD/build/typescript/component/select.js +56 -49
- package/package.json +15 -1
package/dist/Badge.cjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_badge = require("./styleD/build/typescript/component/badge.cjs");
|
|
3
|
+
const require_Badge = require("./components/Badge/Badge.cjs");
|
|
4
|
+
exports.Badge = require_Badge.Badge;
|
|
5
|
+
exports.componentBadge = require_badge.componentBadge;
|
package/dist/Badge.d.cts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentBadge, componentBadge } from "./styleD/build/typescript/component/badge.cjs";
|
|
2
|
+
import { PartialBadgeTheme } from "./components/Badge/styles.cjs";
|
|
3
|
+
import { BadgeProps } from "./components/Badge/types.cjs";
|
|
4
|
+
import { Badge } from "./components/Badge/Badge.cjs";
|
|
5
|
+
export { Badge, type BadgeProps, type PartialBadgeTheme as BadgeTheme, type ComponentBadge, componentBadge };
|
package/dist/Badge.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentBadge, componentBadge } from "./styleD/build/typescript/component/badge.js";
|
|
2
|
+
import { PartialBadgeTheme } from "./components/Badge/styles.js";
|
|
3
|
+
import { BadgeProps } from "./components/Badge/types.js";
|
|
4
|
+
import { Badge } from "./components/Badge/Badge.js";
|
|
5
|
+
export { Badge, type BadgeProps, type PartialBadgeTheme as BadgeTheme, type ComponentBadge, componentBadge };
|
package/dist/Badge.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const require_mergeDeep = require("../../util/mergeDeep.cjs");
|
|
2
|
+
const require_styles = require("./styles.cjs");
|
|
3
|
+
let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
4
|
+
//#region src/components/Badge/Badge.tsx
|
|
5
|
+
const Badge = ({ size = "md", color = "green", weight = "strong", theme = {}, cssOverrides, children, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("span", {
|
|
7
|
+
css: [require_styles.badgeStyles(require_mergeDeep.mergeDeep(require_styles.defaultBadgeTheme, theme), {
|
|
8
|
+
color,
|
|
9
|
+
size,
|
|
10
|
+
weight
|
|
11
|
+
}), cssOverrides],
|
|
12
|
+
...props,
|
|
13
|
+
children
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.Badge = Badge;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BadgeProps } from "./types.cjs";
|
|
2
|
+
//#region src/components/Badge/Badge.d.ts
|
|
3
|
+
declare const Badge: ({ size, color, weight, theme, cssOverrides, children, ...props }: BadgeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { Badge };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BadgeProps } from "./types.js";
|
|
2
|
+
//#region src/components/Badge/Badge.d.ts
|
|
3
|
+
declare const Badge: ({ size, color, weight, theme, cssOverrides, children, ...props }: BadgeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { Badge };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { mergeDeep } from "../../util/mergeDeep.js";
|
|
2
|
+
import { badgeStyles, defaultBadgeTheme } from "./styles.js";
|
|
3
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
4
|
+
//#region src/components/Badge/Badge.tsx
|
|
5
|
+
const Badge = ({ size = "md", color = "green", weight = "strong", theme = {}, cssOverrides, children, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsx("span", {
|
|
7
|
+
css: [badgeStyles(mergeDeep(defaultBadgeTheme, theme), {
|
|
8
|
+
color,
|
|
9
|
+
size,
|
|
10
|
+
weight
|
|
11
|
+
}), cssOverrides],
|
|
12
|
+
...props,
|
|
13
|
+
children
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Badge };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_typography = require("../../styleD/utils/semantic/typography.cjs");
|
|
2
|
+
const require_badge = require("../../styleD/build/typescript/component/badge.cjs");
|
|
3
|
+
let _emotion_react = require("@emotion/react");
|
|
4
|
+
//#region src/components/Badge/styles.ts
|
|
5
|
+
const defaultBadgeTheme = require_badge.componentBadge;
|
|
6
|
+
const badgeStyles = (theme, { size = "md", color = "green", weight = "strong" }) => {
|
|
7
|
+
const sizeVariant = theme.size[size];
|
|
8
|
+
const padding = sizeVariant.padding;
|
|
9
|
+
const typography = sizeVariant.weight[weight].typography;
|
|
10
|
+
const colorVariant = theme.color[color].weight[weight];
|
|
11
|
+
return _emotion_react.css`
|
|
12
|
+
display: ${theme.shared.display};
|
|
13
|
+
align-items: ${theme.shared.alignItems};
|
|
14
|
+
justify-content: ${theme.shared.justifyContent};
|
|
15
|
+
padding-top: ${padding.top};
|
|
16
|
+
padding-right: ${padding.right};
|
|
17
|
+
padding-bottom: ${padding.bottom};
|
|
18
|
+
padding-left: ${padding.left};
|
|
19
|
+
${require_typography.convertTypographyToEmotionStringStyle(typography)}
|
|
20
|
+
color: ${colorVariant.color};
|
|
21
|
+
background-color: ${colorVariant.background};
|
|
22
|
+
`;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.badgeStyles = badgeStyles;
|
|
26
|
+
exports.defaultBadgeTheme = defaultBadgeTheme;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
2
|
+
import { ComponentBadge } from "../../styleD/build/typescript/component/badge.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
4
|
+
import { SerializedStyles } from "@emotion/react";
|
|
5
|
+
//#region src/components/Badge/styles.d.ts
|
|
6
|
+
type BadgeTheme = Prettify<Pick<ComponentBadge, 'size' | 'color' | 'shared'>>;
|
|
7
|
+
type PartialBadgeTheme = Prettify<DeepPartial<BadgeTheme>>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BadgeTheme, PartialBadgeTheme };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeepPartial, Prettify } from "../../util/types.js";
|
|
2
|
+
import { ComponentBadge } from "../../styleD/build/typescript/component/badge.js";
|
|
3
|
+
import "./types.js";
|
|
4
|
+
import { SerializedStyles } from "@emotion/react";
|
|
5
|
+
//#region src/components/Badge/styles.d.ts
|
|
6
|
+
type BadgeTheme = Prettify<Pick<ComponentBadge, 'size' | 'color' | 'shared'>>;
|
|
7
|
+
type PartialBadgeTheme = Prettify<DeepPartial<BadgeTheme>>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BadgeTheme, PartialBadgeTheme };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { convertTypographyToEmotionStringStyle } from "../../styleD/utils/semantic/typography.js";
|
|
2
|
+
import { componentBadge } from "../../styleD/build/typescript/component/badge.js";
|
|
3
|
+
import { css } from "@emotion/react";
|
|
4
|
+
//#region src/components/Badge/styles.ts
|
|
5
|
+
const defaultBadgeTheme = componentBadge;
|
|
6
|
+
const badgeStyles = (theme, { size = "md", color = "green", weight = "strong" }) => {
|
|
7
|
+
const sizeVariant = theme.size[size];
|
|
8
|
+
const padding = sizeVariant.padding;
|
|
9
|
+
const typography = sizeVariant.weight[weight].typography;
|
|
10
|
+
const colorVariant = theme.color[color].weight[weight];
|
|
11
|
+
return css`
|
|
12
|
+
display: ${theme.shared.display};
|
|
13
|
+
align-items: ${theme.shared.alignItems};
|
|
14
|
+
justify-content: ${theme.shared.justifyContent};
|
|
15
|
+
padding-top: ${padding.top};
|
|
16
|
+
padding-right: ${padding.right};
|
|
17
|
+
padding-bottom: ${padding.bottom};
|
|
18
|
+
padding-left: ${padding.left};
|
|
19
|
+
${convertTypographyToEmotionStringStyle(typography)}
|
|
20
|
+
color: ${colorVariant.color};
|
|
21
|
+
background-color: ${colorVariant.background};
|
|
22
|
+
`;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { badgeStyles, defaultBadgeTheme };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
2
|
+
import { componentBadge } from "../../styleD/build/typescript/component/badge.cjs";
|
|
3
|
+
import { BadgeTheme } from "./styles.cjs";
|
|
4
|
+
//#region src/components/Badge/types.d.ts
|
|
5
|
+
type BadgeColors = keyof typeof componentBadge.color;
|
|
6
|
+
type BadgeSizes = keyof typeof componentBadge.size;
|
|
7
|
+
type BadgeWeights = keyof typeof componentBadge.size.md.weight;
|
|
8
|
+
interface BadgeProps extends DefaultPropsWithChildren<BadgeTheme> {
|
|
9
|
+
/**
|
|
10
|
+
* Size variant of the badge
|
|
11
|
+
*/
|
|
12
|
+
size?: BadgeSizes;
|
|
13
|
+
/**
|
|
14
|
+
* Color variant of the badge
|
|
15
|
+
*/
|
|
16
|
+
color?: BadgeColors;
|
|
17
|
+
/**
|
|
18
|
+
* The weight of the badge can affect both size and color CSS values
|
|
19
|
+
*/
|
|
20
|
+
weight?: BadgeWeights;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { BadgeColors, BadgeProps, BadgeSizes, BadgeWeights };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
2
|
+
import { componentBadge } from "../../styleD/build/typescript/component/badge.js";
|
|
3
|
+
import { BadgeTheme } from "./styles.js";
|
|
4
|
+
//#region src/components/Badge/types.d.ts
|
|
5
|
+
type BadgeColors = keyof typeof componentBadge.color;
|
|
6
|
+
type BadgeSizes = keyof typeof componentBadge.size;
|
|
7
|
+
type BadgeWeights = keyof typeof componentBadge.size.md.weight;
|
|
8
|
+
interface BadgeProps extends DefaultPropsWithChildren<BadgeTheme> {
|
|
9
|
+
/**
|
|
10
|
+
* Size variant of the badge
|
|
11
|
+
*/
|
|
12
|
+
size?: BadgeSizes;
|
|
13
|
+
/**
|
|
14
|
+
* Color variant of the badge
|
|
15
|
+
*/
|
|
16
|
+
color?: BadgeColors;
|
|
17
|
+
/**
|
|
18
|
+
* The weight of the badge can affect both size and color CSS values
|
|
19
|
+
*/
|
|
20
|
+
weight?: BadgeWeights;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { BadgeColors, BadgeProps, BadgeSizes, BadgeWeights };
|
|
@@ -18,7 +18,7 @@ function Option({ children, theme = {}, id, ...props }) {
|
|
|
18
18
|
children
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
function ListBox({ children, theme = {} }) {
|
|
21
|
+
function ListBox({ children, size, theme = {} }) {
|
|
22
22
|
const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultSelectTheme, theme);
|
|
23
23
|
const items = [];
|
|
24
24
|
react.default.Children.forEach(children, (child, index) => {
|
|
@@ -30,20 +30,24 @@ function ListBox({ children, theme = {} }) {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(react_aria_components.ListBox, {
|
|
33
|
-
css: require_styles.listBoxStyles(mergedTheme),
|
|
33
|
+
css: require_styles.listBoxStyles(mergedTheme, { size }),
|
|
34
34
|
children: items
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
function Select({ isInvalid, theme = {}, placement, shouldFlip, children, ...props }) {
|
|
37
|
+
function Select({ size = "md", isInvalid = false, theme = {}, placement, shouldFlip, children, ...props }) {
|
|
38
38
|
const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultSelectTheme, theme);
|
|
39
39
|
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)(require_Form.FormInputContainer, {
|
|
40
40
|
as: react_aria_components.Select,
|
|
41
|
+
size,
|
|
41
42
|
isInvalid,
|
|
42
43
|
...props,
|
|
43
|
-
size: "md",
|
|
44
44
|
children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)(react_aria_components.Button, {
|
|
45
|
-
css: require_styles.buttonStyles(mergedTheme,
|
|
45
|
+
css: require_styles.buttonStyles(mergedTheme, {
|
|
46
|
+
size,
|
|
47
|
+
isInvalid
|
|
48
|
+
}),
|
|
46
49
|
children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(react_aria_components.SelectValue, {}), /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
50
|
+
css: require_styles.iconStyles(),
|
|
47
51
|
symbol: "keyboard_arrow_down",
|
|
48
52
|
size: "lg"
|
|
49
53
|
})]
|
|
@@ -54,6 +58,7 @@ function Select({ isInvalid, theme = {}, placement, shouldFlip, children, ...pro
|
|
|
54
58
|
offset: mergedTheme.shared.offset,
|
|
55
59
|
containerPadding: mergedTheme.shared.containerPadding,
|
|
56
60
|
children: /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(ListBox, {
|
|
61
|
+
size,
|
|
57
62
|
theme: mergedTheme,
|
|
58
63
|
children
|
|
59
64
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionProps, SelectProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/Select/Select.d.ts
|
|
3
3
|
declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Select({ isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Select({ size, isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Option, Select };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionProps, SelectProps } from "./types.js";
|
|
2
2
|
//#region src/components/Select/Select.d.ts
|
|
3
3
|
declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Select({ isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Select({ size, isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Option, Select };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mergeDeep } from "../../util/mergeDeep.js";
|
|
2
2
|
import { Icon } from "../Icon/Icon.js";
|
|
3
3
|
import { FormInputContainer } from "../Form/Form.js";
|
|
4
|
-
import { buttonStyles, defaultSelectTheme, listBoxItemStyles, listBoxStyles, popoverStyles } from "./styles.js";
|
|
4
|
+
import { buttonStyles, defaultSelectTheme, iconStyles, listBoxItemStyles, listBoxStyles, popoverStyles } from "./styles.js";
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
7
7
|
import { Button, ListBox, ListBoxItem, Popover, Select, SelectValue } from "react-aria-components";
|
|
@@ -16,7 +16,7 @@ function Option({ children, theme = {}, id, ...props }) {
|
|
|
16
16
|
children
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
function ListBox$1({ children, theme = {} }) {
|
|
19
|
+
function ListBox$1({ children, size, theme = {} }) {
|
|
20
20
|
const mergedTheme = mergeDeep(defaultSelectTheme, theme);
|
|
21
21
|
const items = [];
|
|
22
22
|
React.Children.forEach(children, (child, index) => {
|
|
@@ -28,20 +28,24 @@ function ListBox$1({ children, theme = {} }) {
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
return /* @__PURE__ */ jsx(ListBox, {
|
|
31
|
-
css: listBoxStyles(mergedTheme),
|
|
31
|
+
css: listBoxStyles(mergedTheme, { size }),
|
|
32
32
|
children: items
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
function Select$1({ isInvalid, theme = {}, placement, shouldFlip, children, ...props }) {
|
|
35
|
+
function Select$1({ size = "md", isInvalid = false, theme = {}, placement, shouldFlip, children, ...props }) {
|
|
36
36
|
const mergedTheme = mergeDeep(defaultSelectTheme, theme);
|
|
37
37
|
return /* @__PURE__ */ jsxs(FormInputContainer, {
|
|
38
38
|
as: Select,
|
|
39
|
+
size,
|
|
39
40
|
isInvalid,
|
|
40
41
|
...props,
|
|
41
|
-
size: "md",
|
|
42
42
|
children: [/* @__PURE__ */ jsxs(Button, {
|
|
43
|
-
css: buttonStyles(mergedTheme,
|
|
43
|
+
css: buttonStyles(mergedTheme, {
|
|
44
|
+
size,
|
|
45
|
+
isInvalid
|
|
46
|
+
}),
|
|
44
47
|
children: [/* @__PURE__ */ jsx(SelectValue, {}), /* @__PURE__ */ jsx(Icon, {
|
|
48
|
+
css: iconStyles(),
|
|
45
49
|
symbol: "keyboard_arrow_down",
|
|
46
50
|
size: "lg"
|
|
47
51
|
})]
|
|
@@ -52,6 +56,7 @@ function Select$1({ isInvalid, theme = {}, placement, shouldFlip, children, ...p
|
|
|
52
56
|
offset: mergedTheme.shared.offset,
|
|
53
57
|
containerPadding: mergedTheme.shared.containerPadding,
|
|
54
58
|
children: /* @__PURE__ */ jsx(ListBox$1, {
|
|
59
|
+
size,
|
|
55
60
|
theme: mergedTheme,
|
|
56
61
|
children
|
|
57
62
|
})
|
|
@@ -42,9 +42,9 @@ const listBoxItemStyles = (theme) => {
|
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
44
|
};
|
|
45
|
-
const listBoxStyles = (theme) => {
|
|
45
|
+
const listBoxStyles = (theme, { size }) => {
|
|
46
46
|
return _emotion_react.css`
|
|
47
|
-
${require_typography.convertTypographyToEmotionStringStyle(theme.
|
|
47
|
+
${require_typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
48
48
|
background-color: ${theme.shared.listBox.backgroundColor};
|
|
49
49
|
border: ${theme.shared.listBox.border};
|
|
50
50
|
box-shadow: ${theme.shared.listBox.shadow};
|
|
@@ -52,7 +52,7 @@ const listBoxStyles = (theme) => {
|
|
|
52
52
|
outline: none;
|
|
53
53
|
`;
|
|
54
54
|
};
|
|
55
|
-
const buttonStyles = (theme, isInvalid) => {
|
|
55
|
+
const buttonStyles = (theme, { size, isInvalid }) => {
|
|
56
56
|
return _emotion_react.css`
|
|
57
57
|
display: ${theme.shared.button.display};
|
|
58
58
|
justify-content: ${theme.shared.button.justifyContent};
|
|
@@ -60,11 +60,11 @@ const buttonStyles = (theme, isInvalid) => {
|
|
|
60
60
|
background-color: ${theme.shared.button.backgroundColor};
|
|
61
61
|
border: ${theme.shared.button.border};
|
|
62
62
|
border-radius: ${theme.shared.button.borderRadius};
|
|
63
|
-
height: ${theme.
|
|
63
|
+
height: ${theme[size].height};
|
|
64
64
|
padding-left: ${theme.shared.button.paddingLeft};
|
|
65
65
|
padding-right: ${theme.shared.button.paddingRight};
|
|
66
66
|
margin-top: ${theme.shared.button.marginTop};
|
|
67
|
-
${require_typography.convertTypographyToEmotionStringStyle(theme.
|
|
67
|
+
${require_typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
68
68
|
color: ${theme.shared.button.color};
|
|
69
69
|
|
|
70
70
|
&[data-hovered] {
|
|
@@ -90,9 +90,17 @@ const buttonStyles = (theme, isInvalid) => {
|
|
|
90
90
|
${isInvalid ? `border: ${theme.shared.button.error.border};` : ``}
|
|
91
91
|
`;
|
|
92
92
|
};
|
|
93
|
+
const iconStyles = () => {
|
|
94
|
+
return _emotion_react.css`
|
|
95
|
+
[data-open] & {
|
|
96
|
+
transform: rotate(180deg);
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
};
|
|
93
100
|
//#endregion
|
|
94
101
|
exports.buttonStyles = buttonStyles;
|
|
95
102
|
exports.defaultSelectTheme = defaultSelectTheme;
|
|
103
|
+
exports.iconStyles = iconStyles;
|
|
96
104
|
exports.listBoxItemStyles = listBoxItemStyles;
|
|
97
105
|
exports.listBoxStyles = listBoxStyles;
|
|
98
106
|
exports.popoverStyles = popoverStyles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentSelect } from "../../styleD/build/typescript/component/select.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
5
|
//#region src/components/Select/styles.d.ts
|
|
5
6
|
type SelectTheme = Prettify<ComponentSelect>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeepPartial, Prettify } from "../../util/types.js";
|
|
2
2
|
import { ComponentSelect } from "../../styleD/build/typescript/component/select.js";
|
|
3
|
+
import "./types.js";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
5
|
//#region src/components/Select/styles.d.ts
|
|
5
6
|
type SelectTheme = Prettify<ComponentSelect>;
|
|
@@ -42,9 +42,9 @@ const listBoxItemStyles = (theme) => {
|
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
44
|
};
|
|
45
|
-
const listBoxStyles = (theme) => {
|
|
45
|
+
const listBoxStyles = (theme, { size }) => {
|
|
46
46
|
return css`
|
|
47
|
-
${convertTypographyToEmotionStringStyle(theme.
|
|
47
|
+
${convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
48
48
|
background-color: ${theme.shared.listBox.backgroundColor};
|
|
49
49
|
border: ${theme.shared.listBox.border};
|
|
50
50
|
box-shadow: ${theme.shared.listBox.shadow};
|
|
@@ -52,7 +52,7 @@ const listBoxStyles = (theme) => {
|
|
|
52
52
|
outline: none;
|
|
53
53
|
`;
|
|
54
54
|
};
|
|
55
|
-
const buttonStyles = (theme, isInvalid) => {
|
|
55
|
+
const buttonStyles = (theme, { size, isInvalid }) => {
|
|
56
56
|
return css`
|
|
57
57
|
display: ${theme.shared.button.display};
|
|
58
58
|
justify-content: ${theme.shared.button.justifyContent};
|
|
@@ -60,11 +60,11 @@ const buttonStyles = (theme, isInvalid) => {
|
|
|
60
60
|
background-color: ${theme.shared.button.backgroundColor};
|
|
61
61
|
border: ${theme.shared.button.border};
|
|
62
62
|
border-radius: ${theme.shared.button.borderRadius};
|
|
63
|
-
height: ${theme.
|
|
63
|
+
height: ${theme[size].height};
|
|
64
64
|
padding-left: ${theme.shared.button.paddingLeft};
|
|
65
65
|
padding-right: ${theme.shared.button.paddingRight};
|
|
66
66
|
margin-top: ${theme.shared.button.marginTop};
|
|
67
|
-
${convertTypographyToEmotionStringStyle(theme.
|
|
67
|
+
${convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
68
68
|
color: ${theme.shared.button.color};
|
|
69
69
|
|
|
70
70
|
&[data-hovered] {
|
|
@@ -90,5 +90,12 @@ const buttonStyles = (theme, isInvalid) => {
|
|
|
90
90
|
${isInvalid ? `border: ${theme.shared.button.error.border};` : ``}
|
|
91
91
|
`;
|
|
92
92
|
};
|
|
93
|
+
const iconStyles = () => {
|
|
94
|
+
return css`
|
|
95
|
+
[data-open] & {
|
|
96
|
+
transform: rotate(180deg);
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
};
|
|
93
100
|
//#endregion
|
|
94
|
-
export { buttonStyles, defaultSelectTheme, listBoxItemStyles, listBoxStyles, popoverStyles };
|
|
101
|
+
export { buttonStyles, defaultSelectTheme, iconStyles, listBoxItemStyles, listBoxStyles, popoverStyles };
|
package/dist/index.cjs
CHANGED
|
@@ -4,6 +4,7 @@ const require_button = require("./styleD/build/typescript/component/button.cjs")
|
|
|
4
4
|
const require_alertBanner = require("./styleD/build/typescript/component/alertBanner.cjs");
|
|
5
5
|
const require_breakpoints = require("./styleD/build/typescript/semantic/breakpoints.cjs");
|
|
6
6
|
const require_avatar = require("./styleD/build/typescript/component/avatar.cjs");
|
|
7
|
+
const require_badge = require("./styleD/build/typescript/component/badge.cjs");
|
|
7
8
|
const require_buttonGroup = require("./styleD/build/typescript/component/buttonGroup.cjs");
|
|
8
9
|
const require_byline = require("./styleD/build/typescript/component/byline.cjs");
|
|
9
10
|
const require_checkbox = require("./styleD/build/typescript/component/checkbox.cjs");
|
|
@@ -49,6 +50,7 @@ exports.baseTypography = require_typography$1.baseTypography;
|
|
|
49
50
|
exports.componentAlertBanner = require_alertBanner.componentAlertBanner;
|
|
50
51
|
exports.componentAutocomplete = require_autocomplete.componentAutocomplete;
|
|
51
52
|
exports.componentAvatar = require_avatar.componentAvatar;
|
|
53
|
+
exports.componentBadge = require_badge.componentBadge;
|
|
52
54
|
exports.componentButton = require_button.componentButton;
|
|
53
55
|
exports.componentButtonGroup = require_buttonGroup.componentButtonGroup;
|
|
54
56
|
exports.componentByline = require_byline.componentByline;
|
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,7 @@ import { ComponentIcon, componentIcon } from "./styleD/build/typescript/componen
|
|
|
2
2
|
import { ComponentButton, componentButton } from "./styleD/build/typescript/component/button.cjs";
|
|
3
3
|
import { ComponentAlertBanner, componentAlertBanner } from "./styleD/build/typescript/component/alertBanner.cjs";
|
|
4
4
|
import { ComponentAvatar, componentAvatar } from "./styleD/build/typescript/component/avatar.cjs";
|
|
5
|
+
import { ComponentBadge, componentBadge } from "./styleD/build/typescript/component/badge.cjs";
|
|
5
6
|
import { ComponentButtonGroup, componentButtonGroup } from "./styleD/build/typescript/component/buttonGroup.cjs";
|
|
6
7
|
import { ComponentByline, componentByline } from "./styleD/build/typescript/component/byline.cjs";
|
|
7
8
|
import { ComponentForm, componentForm } from "./styleD/build/typescript/component/form.cjs";
|
|
@@ -40,4 +41,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
|
|
|
40
41
|
import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.cjs";
|
|
41
42
|
import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.cjs";
|
|
42
43
|
import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.cjs";
|
|
43
|
-
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
44
|
+
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentBadge, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ComponentIcon, componentIcon } from "./styleD/build/typescript/componen
|
|
|
2
2
|
import { ComponentButton, componentButton } from "./styleD/build/typescript/component/button.js";
|
|
3
3
|
import { ComponentAlertBanner, componentAlertBanner } from "./styleD/build/typescript/component/alertBanner.js";
|
|
4
4
|
import { ComponentAvatar, componentAvatar } from "./styleD/build/typescript/component/avatar.js";
|
|
5
|
+
import { ComponentBadge, componentBadge } from "./styleD/build/typescript/component/badge.js";
|
|
5
6
|
import { ComponentButtonGroup, componentButtonGroup } from "./styleD/build/typescript/component/buttonGroup.js";
|
|
6
7
|
import { ComponentByline, componentByline } from "./styleD/build/typescript/component/byline.js";
|
|
7
8
|
import { ComponentForm, componentForm } from "./styleD/build/typescript/component/form.js";
|
|
@@ -40,4 +41,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
|
|
|
40
41
|
import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
|
|
41
42
|
import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
|
|
42
43
|
import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
|
|
43
|
-
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
44
|
+
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentBadge, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { componentButton } from "./styleD/build/typescript/component/button.js";
|
|
|
3
3
|
import { componentAlertBanner } from "./styleD/build/typescript/component/alertBanner.js";
|
|
4
4
|
import { semanticBreakpoints } from "./styleD/build/typescript/semantic/breakpoints.js";
|
|
5
5
|
import { componentAvatar } from "./styleD/build/typescript/component/avatar.js";
|
|
6
|
+
import { componentBadge } from "./styleD/build/typescript/component/badge.js";
|
|
6
7
|
import { componentButtonGroup } from "./styleD/build/typescript/component/buttonGroup.js";
|
|
7
8
|
import { componentByline } from "./styleD/build/typescript/component/byline.js";
|
|
8
9
|
import { componentCheckbox } from "./styleD/build/typescript/component/checkbox.js";
|
|
@@ -40,4 +41,4 @@ import { semanticSizing } from "./styleD/build/typescript/semantic/sizing.js";
|
|
|
40
41
|
import { semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
|
|
41
42
|
import { semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
|
|
42
43
|
import { semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
|
|
43
|
-
export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
44
|
+
export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-badge-shared-display: inline-flex;
|
|
7
|
+
--component-badge-shared-align-items: center;
|
|
8
|
+
--component-badge-shared-justify-content: center;
|
|
9
|
+
--component-badge-size-md-padding-top: 4px;
|
|
10
|
+
--component-badge-size-md-padding-right: 12px;
|
|
11
|
+
--component-badge-size-md-padding-bottom: 4px;
|
|
12
|
+
--component-badge-size-md-padding-left: 12px;
|
|
13
|
+
--component-badge-size-md-weight-strong-typography-font: normal 700 1rem/1.15
|
|
14
|
+
'Open Sans';
|
|
15
|
+
--component-badge-size-md-weight-strong-typography-letter-spacing: -0.03125rem;
|
|
16
|
+
--component-badge-size-md-weight-strong-typography-font-width: 95;
|
|
17
|
+
--component-badge-size-md-weight-light-typography-font: normal 460 1rem/1.3
|
|
18
|
+
'Open Sans';
|
|
19
|
+
--component-badge-size-md-weight-light-typography-letter-spacing: 0rem;
|
|
20
|
+
--component-badge-size-md-weight-light-typography-font-width: 95;
|
|
21
|
+
--component-badge-size-sm-padding-top: 4px;
|
|
22
|
+
--component-badge-size-sm-padding-right: 8px;
|
|
23
|
+
--component-badge-size-sm-padding-bottom: 4px;
|
|
24
|
+
--component-badge-size-sm-padding-left: 8px;
|
|
25
|
+
--component-badge-size-sm-weight-strong-typography-font: normal 700
|
|
26
|
+
0.875rem/1.15 'Open Sans';
|
|
27
|
+
--component-badge-size-sm-weight-strong-typography-letter-spacing: -0.0125rem;
|
|
28
|
+
--component-badge-size-sm-weight-strong-typography-font-width: 95;
|
|
29
|
+
--component-badge-size-sm-weight-light-typography-font: normal 460
|
|
30
|
+
0.875rem/1.3 'Open Sans';
|
|
31
|
+
--component-badge-size-sm-weight-light-typography-letter-spacing: 0rem;
|
|
32
|
+
--component-badge-size-sm-weight-light-typography-font-width: 95;
|
|
33
|
+
--component-badge-size-xs-padding-top: 1px;
|
|
34
|
+
--component-badge-size-xs-padding-right: 6px;
|
|
35
|
+
--component-badge-size-xs-padding-bottom: 3px;
|
|
36
|
+
--component-badge-size-xs-padding-left: 6px;
|
|
37
|
+
--component-badge-size-xs-weight-strong-typography-font: normal 700
|
|
38
|
+
0.75rem/1.15 'Open Sans';
|
|
39
|
+
--component-badge-size-xs-weight-strong-typography-letter-spacing: 0rem;
|
|
40
|
+
--component-badge-size-xs-weight-strong-typography-font-width: 95;
|
|
41
|
+
--component-badge-size-xs-weight-light-typography-font: normal 460 0.75rem/1.3
|
|
42
|
+
'Open Sans';
|
|
43
|
+
--component-badge-size-xs-weight-light-typography-letter-spacing: 0rem;
|
|
44
|
+
--component-badge-size-xs-weight-light-typography-font-width: 95;
|
|
45
|
+
--component-badge-color-green-weight-strong-background: #aed2a6;
|
|
46
|
+
--component-badge-color-green-weight-strong-color: #000000;
|
|
47
|
+
--component-badge-color-green-weight-light-background: #cde4c9;
|
|
48
|
+
--component-badge-color-green-weight-light-color: #24491d;
|
|
49
|
+
--component-badge-color-yellow-weight-strong-background: #f1c21b;
|
|
50
|
+
--component-badge-color-yellow-weight-strong-color: #000000;
|
|
51
|
+
--component-badge-color-yellow-weight-light-background: #ffedac;
|
|
52
|
+
--component-badge-color-yellow-weight-light-color: #5b4a0b;
|
|
53
|
+
--component-badge-color-grey-weight-strong-background: #dcdcdc;
|
|
54
|
+
--component-badge-color-grey-weight-strong-color: #000000;
|
|
55
|
+
--component-badge-color-grey-weight-light-background: #dcdcdc;
|
|
56
|
+
--component-badge-color-grey-weight-light-color: #000000;
|
|
57
|
+
--component-badge-color-orange-weight-strong-background: #fac7a1;
|
|
58
|
+
--component-badge-color-orange-weight-strong-color: #000000;
|
|
59
|
+
--component-badge-color-orange-weight-light-background: #fcddc6;
|
|
60
|
+
--component-badge-color-orange-weight-light-color: #693c16;
|
|
61
|
+
--component-badge-color-warm-purple-weight-strong-background: #dac3e8;
|
|
62
|
+
--component-badge-color-warm-purple-weight-strong-color: #000000;
|
|
63
|
+
--component-badge-color-warm-purple-weight-light-background: #dac3e8;
|
|
64
|
+
--component-badge-color-warm-purple-weight-light-color: #381350;
|
|
65
|
+
--component-badge-color-red-weight-strong-background: #eea198;
|
|
66
|
+
--component-badge-color-red-weight-strong-color: #000000;
|
|
67
|
+
--component-badge-color-red-weight-light-background: #f5c6c0;
|
|
68
|
+
--component-badge-color-red-weight-light-color: #65170e;
|
|
69
|
+
}
|
|
@@ -16,14 +16,9 @@
|
|
|
16
16
|
--component-select-shared-button-background-color: #ffffff;
|
|
17
17
|
--component-select-shared-button-border: 0.0625rem solid #545454;
|
|
18
18
|
--component-select-shared-button-border-radius: 0.25rem;
|
|
19
|
-
--component-select-shared-button-height: 2.5rem;
|
|
20
19
|
--component-select-shared-button-padding-left: 0.75rem;
|
|
21
20
|
--component-select-shared-button-padding-right: 0.25rem;
|
|
22
|
-
--component-select-shared-button-color: #
|
|
23
|
-
--component-select-shared-button-typography-font: normal 460 1rem/1.3
|
|
24
|
-
'Open Sans';
|
|
25
|
-
--component-select-shared-button-typography-letter-spacing: 0rem;
|
|
26
|
-
--component-select-shared-button-typography-font-width: 95;
|
|
21
|
+
--component-select-shared-button-color: #000000;
|
|
27
22
|
--component-select-shared-button-focused-outline: 0.125rem solid #0072a9;
|
|
28
23
|
--component-select-shared-button-focused-outline-offset: 0.125rem;
|
|
29
24
|
--component-select-shared-button-disabled-background-color: #ffffff;
|
|
@@ -38,12 +33,16 @@
|
|
|
38
33
|
--component-select-shared-option-focused-outline: 0.125rem solid #0072a9;
|
|
39
34
|
--component-select-shared-option-focused-outline-offset: 0;
|
|
40
35
|
--component-select-shared-option-focused-background-color: inherit;
|
|
41
|
-
--component-select-shared-list-box-typography-font: normal 460 1rem/1.3
|
|
42
|
-
'Open Sans';
|
|
43
|
-
--component-select-shared-list-box-typography-letter-spacing: 0rem;
|
|
44
|
-
--component-select-shared-list-box-typography-font-width: 95;
|
|
45
36
|
--component-select-shared-list-box-border: 0.0625rem solid #cccccc;
|
|
46
37
|
--component-select-shared-list-box-background-color: #ffffff;
|
|
47
38
|
--component-select-shared-list-box-shadow: 0 0.125rem 0.375rem 0
|
|
48
39
|
rgb(0% 0% 0% / 0.3);
|
|
40
|
+
--component-select-sm-height: 2rem;
|
|
41
|
+
--component-select-sm-typography-font: normal 460 0.875rem/1.3 'Open Sans';
|
|
42
|
+
--component-select-sm-typography-letter-spacing: 0rem;
|
|
43
|
+
--component-select-sm-typography-font-width: 95;
|
|
44
|
+
--component-select-md-height: 2.5rem;
|
|
45
|
+
--component-select-md-typography-font: normal 460 1rem/1.3 'Open Sans';
|
|
46
|
+
--component-select-md-typography-letter-spacing: 0rem;
|
|
47
|
+
--component-select-md-typography-font-width: 95;
|
|
49
48
|
}
|