@snack-uikit/status 0.5.3 → 0.5.4-preview-d96c83e8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/cjs/components/Status/Status.js +49 -0
  2. package/dist/cjs/components/Status/constants.js +15 -0
  3. package/dist/cjs/components/Status/index.js +25 -0
  4. package/dist/cjs/components/Status/types.js +5 -0
  5. package/dist/cjs/components/StatusIndicator/StatusIndicator.js +42 -0
  6. package/dist/cjs/components/StatusIndicator/constants.js +13 -0
  7. package/dist/cjs/components/StatusIndicator/index.js +25 -0
  8. package/dist/cjs/components/StatusIndicator/types.js +5 -0
  9. package/dist/cjs/components/index.js +26 -0
  10. package/dist/cjs/constants.js +17 -0
  11. package/dist/cjs/index.js +25 -0
  12. package/dist/cjs/types.js +5 -0
  13. package/dist/esm/components/Status/Status.d.ts +15 -0
  14. package/dist/esm/components/Status/constants.d.ts +8 -0
  15. package/dist/esm/components/Status/index.js +1 -0
  16. package/dist/esm/components/Status/types.d.ts +3 -0
  17. package/dist/esm/components/StatusIndicator/StatusIndicator.d.ts +11 -0
  18. package/dist/esm/components/StatusIndicator/constants.d.ts +7 -0
  19. package/dist/esm/components/StatusIndicator/index.js +1 -0
  20. package/dist/esm/components/StatusIndicator/types.d.ts +3 -0
  21. package/dist/esm/components/index.js +2 -0
  22. package/dist/esm/constants.d.ts +11 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/types.d.ts +3 -0
  25. package/package.json +8 -6
  26. package/dist/components/Status/styles.module.css +0 -47
  27. package/dist/components/StatusIndicator/styles.module.css +0 -87
  28. /package/dist/{components → cjs/components}/Status/Status.d.ts +0 -0
  29. /package/dist/{components → cjs/components}/Status/constants.d.ts +0 -0
  30. /package/dist/{components → cjs/components}/Status/index.d.ts +0 -0
  31. /package/dist/{components → cjs/components}/Status/types.d.ts +0 -0
  32. /package/dist/{components → cjs/components}/StatusIndicator/StatusIndicator.d.ts +0 -0
  33. /package/dist/{components → cjs/components}/StatusIndicator/constants.d.ts +0 -0
  34. /package/dist/{components → cjs/components}/StatusIndicator/index.d.ts +0 -0
  35. /package/dist/{components → cjs/components}/StatusIndicator/types.d.ts +0 -0
  36. /package/dist/{components → cjs/components}/index.d.ts +0 -0
  37. /package/dist/{constants.d.ts → cjs/constants.d.ts} +0 -0
  38. /package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
  39. /package/dist/{types.d.ts → cjs/types.d.ts} +0 -0
  40. /package/dist/{components → esm/components}/Status/Status.js +0 -0
  41. /package/dist/{components → esm/components}/Status/constants.js +0 -0
  42. /package/dist/{components/Status/index.js → esm/components/Status/index.d.ts} +0 -0
  43. /package/dist/{components → esm/components}/Status/types.js +0 -0
  44. /package/dist/{components → esm/components}/StatusIndicator/StatusIndicator.js +0 -0
  45. /package/dist/{components → esm/components}/StatusIndicator/constants.js +0 -0
  46. /package/dist/{components/StatusIndicator/index.js → esm/components/StatusIndicator/index.d.ts} +0 -0
  47. /package/dist/{components → esm/components}/StatusIndicator/types.js +0 -0
  48. /package/dist/{components/index.js → esm/components/index.d.ts} +0 -0
  49. /package/dist/{constants.js → esm/constants.js} +0 -0
  50. /package/dist/{index.js → esm/index.d.ts} +0 -0
  51. /package/dist/{types.js → esm/types.js} +0 -0
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
4
+ var t = {};
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
8
+ }
9
+ return t;
10
+ };
11
+ var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
12
+ return mod && mod.__esModule ? mod : {
13
+ "default": mod
14
+ };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", {
17
+ value: true
18
+ });
19
+ exports.Status = Status;
20
+ const jsx_runtime_1 = require("react/jsx-runtime");
21
+ const classnames_1 = __importDefault(require("classnames"));
22
+ const utils_1 = require("@snack-uikit/utils");
23
+ const constants_1 = require("../../constants");
24
+ const StatusIndicator_1 = require("../StatusIndicator");
25
+ const constants_2 = require("./constants");
26
+ const styles_module_scss_1 = __importDefault({});
27
+ function Status(_a) {
28
+ var {
29
+ label,
30
+ size = constants_2.SIZE.Xs,
31
+ appearance = constants_1.APPEARANCE.Primary,
32
+ hasBackground,
33
+ className
34
+ } = _a,
35
+ rest = __rest(_a, ["label", "size", "appearance", "hasBackground", "className"]);
36
+ return (0, jsx_runtime_1.jsxs)("div", Object.assign({
37
+ className: (0, classnames_1.default)(styles_module_scss_1.default.container, className)
38
+ }, (0, utils_1.extractSupportProps)(rest), {
39
+ "data-size": size,
40
+ "data-has-background": hasBackground || undefined,
41
+ children: [(0, jsx_runtime_1.jsx)(StatusIndicator_1.StatusIndicator, {
42
+ appearance: appearance,
43
+ size: constants_2.STATUS_INDICATOR_SIZE_MAP[size]
44
+ }), (0, jsx_runtime_1.jsx)("span", {
45
+ className: styles_module_scss_1.default.label,
46
+ children: label
47
+ })]
48
+ }));
49
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.STATUS_INDICATOR_SIZE_MAP = exports.SIZE = void 0;
7
+ const constants_1 = require("../StatusIndicator/constants");
8
+ exports.SIZE = {
9
+ Xs: 'xs',
10
+ S: 's'
11
+ };
12
+ exports.STATUS_INDICATOR_SIZE_MAP = {
13
+ [exports.SIZE.Xs]: constants_1.SIZE.Xs,
14
+ [exports.SIZE.S]: constants_1.SIZE.S
15
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ Object.defineProperty(exports, "__esModule", {
23
+ value: true
24
+ });
25
+ __exportStar(require("./Status"), exports);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
4
+ var t = {};
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
8
+ }
9
+ return t;
10
+ };
11
+ var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
12
+ return mod && mod.__esModule ? mod : {
13
+ "default": mod
14
+ };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", {
17
+ value: true
18
+ });
19
+ exports.StatusIndicator = StatusIndicator;
20
+ const jsx_runtime_1 = require("react/jsx-runtime");
21
+ const classnames_1 = __importDefault(require("classnames"));
22
+ const utils_1 = require("@snack-uikit/utils");
23
+ const constants_1 = require("../../constants");
24
+ const constants_2 = require("./constants");
25
+ const styles_module_scss_1 = __importDefault({});
26
+ function StatusIndicator(_a) {
27
+ var {
28
+ size = constants_2.SIZE.M,
29
+ appearance = constants_1.APPEARANCE.Primary,
30
+ className
31
+ } = _a,
32
+ rest = __rest(_a, ["size", "appearance", "className"]);
33
+ return (0, jsx_runtime_1.jsx)("div", Object.assign({
34
+ className: (0, classnames_1.default)(styles_module_scss_1.default.container, className)
35
+ }, (0, utils_1.extractSupportProps)(rest), {
36
+ "data-size": size,
37
+ children: (0, jsx_runtime_1.jsx)("div", {
38
+ className: styles_module_scss_1.default.indicator,
39
+ "data-appearance": appearance
40
+ })
41
+ }));
42
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SIZE = void 0;
7
+ exports.SIZE = {
8
+ Xxs: 'xxs',
9
+ Xs: 'xs',
10
+ S: 's',
11
+ M: 'm',
12
+ L: 'l'
13
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ Object.defineProperty(exports, "__esModule", {
23
+ value: true
24
+ });
25
+ __exportStar(require("./StatusIndicator"), exports);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ Object.defineProperty(exports, "__esModule", {
23
+ value: true
24
+ });
25
+ __exportStar(require("./Status"), exports);
26
+ __exportStar(require("./StatusIndicator"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.APPEARANCE = void 0;
7
+ exports.APPEARANCE = {
8
+ Primary: 'primary',
9
+ Neutral: 'neutral',
10
+ Red: 'red',
11
+ Orange: 'orange',
12
+ Yellow: 'yellow',
13
+ Green: 'green',
14
+ Blue: 'blue',
15
+ Violet: 'violet',
16
+ Pink: 'pink'
17
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ Object.defineProperty(exports, "__esModule", {
23
+ value: true
24
+ });
25
+ __exportStar(require("./components"), exports);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,15 @@
1
+ import { WithSupportProps } from '@snack-uikit/utils';
2
+ import { Appearance } from '../../types';
3
+ import { Size } from './types';
4
+ export type StatusProps = WithSupportProps<{
5
+ /** Текст */
6
+ label: string;
7
+ /** Размер */
8
+ size?: Size;
9
+ /** Внешний вид */
10
+ appearance?: Appearance;
11
+ /** Наличие фона */
12
+ hasBackground?: boolean;
13
+ className?: string;
14
+ }>;
15
+ export declare function Status({ label, size, appearance, hasBackground, className, ...rest }: StatusProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const SIZE: {
2
+ readonly Xs: "xs";
3
+ readonly S: "s";
4
+ };
5
+ export declare const STATUS_INDICATOR_SIZE_MAP: {
6
+ xs: "xs";
7
+ s: "s";
8
+ };
@@ -0,0 +1 @@
1
+ export * from './Status';
@@ -0,0 +1,3 @@
1
+ import { ValueOf } from '@snack-uikit/utils';
2
+ import { SIZE } from './constants';
3
+ export type Size = ValueOf<typeof SIZE>;
@@ -0,0 +1,11 @@
1
+ import { WithSupportProps } from '@snack-uikit/utils';
2
+ import { Appearance } from '../../types';
3
+ import { Size } from './types';
4
+ export type StatusIndicatorProps = WithSupportProps<{
5
+ /** Размер */
6
+ size?: Size;
7
+ /** Внешний вид */
8
+ appearance?: Appearance;
9
+ className?: string;
10
+ }>;
11
+ export declare function StatusIndicator({ size, appearance, className, ...rest }: StatusIndicatorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const SIZE: {
2
+ readonly Xxs: "xxs";
3
+ readonly Xs: "xs";
4
+ readonly S: "s";
5
+ readonly M: "m";
6
+ readonly L: "l";
7
+ };
@@ -0,0 +1 @@
1
+ export * from './StatusIndicator';
@@ -0,0 +1,3 @@
1
+ import { ValueOf } from '@snack-uikit/utils';
2
+ import { SIZE } from './constants';
3
+ export type Size = ValueOf<typeof SIZE>;
@@ -0,0 +1,2 @@
1
+ export * from './Status';
2
+ export * from './StatusIndicator';
@@ -0,0 +1,11 @@
1
+ export declare const APPEARANCE: {
2
+ readonly Primary: "primary";
3
+ readonly Neutral: "neutral";
4
+ readonly Red: "red";
5
+ readonly Orange: "orange";
6
+ readonly Yellow: "yellow";
7
+ readonly Green: "green";
8
+ readonly Blue: "blue";
9
+ readonly Violet: "violet";
10
+ readonly Pink: "pink";
11
+ };
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,3 @@
1
+ import { ValueOf } from '@snack-uikit/utils';
2
+ import { APPEARANCE } from './constants';
3
+ export type Appearance = ValueOf<typeof APPEARANCE>;
package/package.json CHANGED
@@ -4,15 +4,16 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Status",
7
- "version": "0.5.3",
7
+ "version": "0.5.4-preview-d96c83e8.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
11
11
  "*.woff2"
12
12
  ],
13
13
  "description": "Индикация статуса (точка или точка с текстом)",
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.js",
14
+ "types": "./dist/esm/index.d.ts",
15
+ "main": "./dist/cjs/index.js",
16
+ "module": "./dist/esm/index.js",
16
17
  "homepage": "https://github.com/cloud-ru-tech/snack-uikit/tree/master/packages/status",
17
18
  "repository": {
18
19
  "type": "git",
@@ -24,7 +25,8 @@
24
25
  "Anna Kozlova <apkozlova@cloud.ru>"
25
26
  ],
26
27
  "files": [
27
- "dist",
28
+ "dist/cjs",
29
+ "dist/esm",
28
30
  "src",
29
31
  "./CHANGELOG.md",
30
32
  "./LICENSE"
@@ -32,8 +34,8 @@
32
34
  "license": "Apache-2.0",
33
35
  "scripts": {},
34
36
  "dependencies": {
35
- "@snack-uikit/utils": "3.4.0",
37
+ "@snack-uikit/utils": "3.4.1-preview-d96c83e8.0",
36
38
  "classnames": "2.3.2"
37
39
  },
38
- "gitHead": "f9212fe04b0dbba9bedea1bb3a034ab612287841"
40
+ "gitHead": "7ad2685e79ccef7528ade40fe4e2a5d4e609a22f"
39
41
  }
@@ -1,47 +0,0 @@
1
- .container{
2
- display:inline-flex;
3
- align-items:center;
4
- }
5
- .container[data-has-background]{
6
- background-color:var(--sys-neutral-decor-default, #dde0ea);
7
- }
8
- .container[data-has-background][data-size=xs]{
9
- height:var(--size-status-background-container-xs, 16px);
10
- padding-right:var(--spacing-status-background-container-padding-right-xs, 4px);
11
- padding-left:var(--spacing-status-background-container-padding-left-xs, 4px);
12
- gap:var(--spacing-status-container-gap-single, 2px);
13
- border-radius:var(--radius-status-xs, 6px);
14
- }
15
- .container[data-has-background][data-size=s]{
16
- height:var(--size-status-background-container-s, 24px);
17
- padding-right:var(--spacing-status-background-container-padding-right-s, 8px);
18
- padding-left:var(--spacing-status-background-container-padding-left-s, 4px);
19
- gap:var(--spacing-status-container-gap-single, 2px);
20
- border-radius:var(--radius-status-s, 8px);
21
- }
22
- .container[data-size=xs]{
23
- gap:var(--spacing-status-container-gap-single, 2px);
24
- }
25
- .container[data-size=xs] .label{
26
- font-family:var(--sans-label-s-font-family, SB Sans Interface);
27
- font-weight:var(--sans-label-s-font-weight, Semibold);
28
- line-height:var(--sans-label-s-line-height, 14px);
29
- font-size:var(--sans-label-s-font-size, 11px);
30
- letter-spacing:var(--sans-label-s-letter-spacing, 0px);
31
- paragraph-spacing:var(--sans-label-s-paragraph-spacing, 6.05px);
32
- }
33
- .container[data-size=s]{
34
- gap:var(--spacing-status-container-gap-single, 2px);
35
- }
36
- .container[data-size=s] .label{
37
- font-family:var(--sans-label-m-font-family, SB Sans Interface);
38
- font-weight:var(--sans-label-m-font-weight, Semibold);
39
- line-height:var(--sans-label-m-line-height, 16px);
40
- font-size:var(--sans-label-m-font-size, 12px);
41
- letter-spacing:var(--sans-label-m-letter-spacing, 0px);
42
- paragraph-spacing:var(--sans-label-m-paragraph-spacing, 6.6px);
43
- }
44
-
45
- .label{
46
- color:var(--sys-neutral-text-support, #6d707f);
47
- }
@@ -1,87 +0,0 @@
1
- .container{
2
- display:inline-flex;
3
- align-items:center;
4
- justify-content:center;
5
- }
6
- .container[data-size=xxs]{
7
- width:var(--size-status-indicator-container-xxs, 4px);
8
- height:var(--size-status-indicator-container-xxs, 4px);
9
- }
10
- .container[data-size=xxs] .indicator{
11
- border-radius:var(--radius-status-indicator-xxs, 2px);
12
- border-width:var(--border-width-general-xxs, 0.5px);
13
- width:var(--size-status-indicator-xxs, 4px);
14
- height:var(--size-status-indicator-xxs, 4px);
15
- }
16
- .container[data-size=xs]{
17
- width:var(--size-status-indicator-container-xs, 8px);
18
- height:var(--size-status-indicator-container-xs, 8px);
19
- }
20
- .container[data-size=xs] .indicator{
21
- border-radius:var(--radius-status-indicator-xs, 4px);
22
- border-width:var(--border-width-general-s, 1.5px);
23
- width:var(--size-status-indicator-xs, 8px);
24
- height:var(--size-status-indicator-xs, 8px);
25
- }
26
- .container[data-size=s]{
27
- width:var(--size-status-indicator-container-s, 16px);
28
- height:var(--size-status-indicator-container-s, 16px);
29
- }
30
- .container[data-size=s] .indicator{
31
- border-radius:var(--radius-status-indicator-s, 8px);
32
- border-width:var(--border-width-general-m, 2px);
33
- width:var(--size-status-indicator-s, 12px);
34
- height:var(--size-status-indicator-s, 12px);
35
- }
36
- .container[data-size=m]{
37
- width:var(--size-status-indicator-container-m, 16px);
38
- height:var(--size-status-indicator-container-m, 16px);
39
- }
40
- .container[data-size=m] .indicator{
41
- border-radius:var(--radius-status-indicator-m, 8px);
42
- border-width:var(--border-width-general-l, 3px);
43
- width:var(--size-status-indicator-m, 16px);
44
- height:var(--size-status-indicator-m, 16px);
45
- }
46
- .container[data-size=l]{
47
- width:var(--size-status-indicator-container-l, 24px);
48
- height:var(--size-status-indicator-container-l, 24px);
49
- }
50
- .container[data-size=l] .indicator{
51
- border-radius:var(--radius-status-indicator-l, 16px);
52
- border-width:var(--border-width-general-xl, 4px);
53
- width:var(--size-status-indicator-l, 24px);
54
- height:var(--size-status-indicator-l, 24px);
55
- }
56
-
57
- .indicator{
58
- box-sizing:border-box;
59
- border:0 solid var(--sys-neutral-background1-level, #fdfdfd);
60
- }
61
- .indicator[data-appearance=primary]{
62
- background-color:var(--sys-primary-accent-default, #794ed3);
63
- }
64
- .indicator[data-appearance=neutral]{
65
- background-color:var(--sys-neutral-accent-default, #787b8a);
66
- }
67
- .indicator[data-appearance=red]{
68
- background-color:var(--sys-red-accent-default, #cb3f3e);
69
- }
70
- .indicator[data-appearance=orange]{
71
- background-color:var(--sys-orange-accent-default, #fb8e42);
72
- }
73
- .indicator[data-appearance=yellow]{
74
- background-color:var(--sys-yellow-accent-default, #e2b134);
75
- }
76
- .indicator[data-appearance=green]{
77
- background-color:var(--sys-green-accent-default, #57b762);
78
- }
79
- .indicator[data-appearance=blue]{
80
- background-color:var(--sys-blue-accent-default, #5388d1);
81
- }
82
- .indicator[data-appearance=violet]{
83
- background-color:var(--sys-violet-accent-default, #aa6cc1);
84
- }
85
- .indicator[data-appearance=pink]{
86
- background-color:var(--sys-pink-accent-default, #d1668e);
87
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes