@alfalab/core-components 47.0.0-beta.1 → 47.0.0-beta.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/base-modal/Component.js +2 -1
- package/base-modal/cssm/Component.js +2 -1
- package/base-modal/esm/Component.js +2 -1
- package/base-modal/esm/index.js +1 -0
- package/base-modal/modern/Component.js +2 -1
- package/base-modal/modern/index.js +1 -0
- package/calendar-range/utils.js +3 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/icon-button/Component.d.ts +10 -0
- package/icon-button/Component.js +4 -3
- package/icon-button/cssm/Component.d.ts +10 -0
- package/icon-button/cssm/Component.js +2 -1
- package/icon-button/cssm/default.module.css +35 -3
- package/icon-button/cssm/inverted.module.css +35 -3
- package/icon-button/default.css +35 -3
- package/icon-button/esm/Component.d.ts +10 -0
- package/icon-button/esm/Component.js +4 -3
- package/icon-button/esm/default.css +35 -3
- package/icon-button/esm/inverted.css +35 -3
- package/icon-button/inverted.css +35 -3
- package/icon-button/modern/Component.d.ts +10 -0
- package/icon-button/modern/Component.js +4 -3
- package/icon-button/modern/default.css +35 -3
- package/icon-button/modern/inverted.css +35 -3
- package/input/components/base-input/Component.d.ts +2 -2
- package/input/cssm/components/base-input/Component.d.ts +2 -2
- package/input/esm/components/base-input/Component.d.ts +2 -2
- package/input/modern/components/base-input/Component.d.ts +2 -2
- package/international-phone-input/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/Component.responsive.d.ts +4 -4
- package/international-phone-input/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/cssm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/cssm/Component.responsive.d.ts +4 -4
- package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/cssm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/cssm/types.d.ts +1 -1
- package/international-phone-input/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/cssm/utils-89376c31.d.ts +1 -1
- package/international-phone-input/esm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/esm/Component.responsive.d.ts +4 -4
- package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/esm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/esm/types.d.ts +1 -1
- package/international-phone-input/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/esm/utils-89376c31.d.ts +1 -1
- package/international-phone-input/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/modern/Component.responsive.d.ts +4 -4
- package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/modern/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/types.d.ts +1 -1
- package/international-phone-input/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/modern/utils-89376c31.d.ts +1 -1
- package/international-phone-input/types.d.ts +1 -1
- package/international-phone-input/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/utils-89376c31.d.ts +1 -1
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/notification/Component.js +2 -1
- package/notification/cssm/Component.js +2 -1
- package/notification/esm/Component.js +2 -1
- package/notification/esm/index.js +1 -0
- package/notification/modern/Component.js +2 -1
- package/notification/modern/index.js +1 -0
- package/notification-manager/component.js +2 -1
- package/notification-manager/cssm/component.js +2 -1
- package/notification-manager/esm/component.js +2 -1
- package/notification-manager/esm/index.js +1 -0
- package/notification-manager/modern/component.js +2 -1
- package/notification-manager/modern/index.js +1 -0
- package/package.json +2 -1
- package/picker-button/Component-0f35b62f.d.ts +5 -0
- package/picker-button/Component-c44170fe.d.ts +2 -2
- package/picker-button/cssm/Component-0f35b62f.d.ts +5 -0
- package/picker-button/cssm/Component-c44170fe.d.ts +2 -2
- package/picker-button/cssm/field/Component.d.ts +1 -1
- package/picker-button/cssm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/cssm/utils-89376c31.d.ts +1 -1
- package/picker-button/esm/Component-0f35b62f.d.ts +5 -0
- package/picker-button/esm/Component-c44170fe.d.ts +2 -2
- package/picker-button/esm/field/Component.d.ts +1 -1
- package/picker-button/esm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/esm/utils-89376c31.d.ts +1 -1
- package/picker-button/field/Component.d.ts +1 -1
- package/picker-button/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/Component-0f35b62f.d.ts +5 -0
- package/picker-button/modern/Component-c44170fe.d.ts +2 -2
- package/picker-button/modern/field/Component.d.ts +1 -1
- package/picker-button/modern/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/modern/utils-89376c31.d.ts +1 -1
- package/picker-button/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/utils-89376c31.d.ts +1 -1
- package/popover/Component.js +2 -1
- package/popover/cssm/Component.js +2 -1
- package/popover/esm/Component.js +2 -1
- package/popover/esm/index.js +1 -0
- package/popover/modern/Component.js +2 -1
- package/popover/modern/index.js +1 -0
- package/select/components/base-select/Component.js +2 -2
- package/select/components/options-list/Component.js +2 -2
- package/select/components/virtual-options-list/Component.js +4 -2
- package/select/cssm/components/base-select/Component.js +2 -2
- package/select/cssm/components/options-list/Component.js +2 -2
- package/select/cssm/components/virtual-options-list/Component.js +4 -2
- package/select/cssm/typings.d.ts +32 -0
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/options-list/Component.js +2 -2
- package/select/esm/components/virtual-options-list/Component.js +4 -2
- package/select/esm/typings.d.ts +32 -0
- package/select/modern/components/base-select/Component.js +2 -2
- package/select/modern/components/options-list/Component.js +2 -2
- package/select/modern/components/virtual-options-list/Component.js +2 -2
- package/select/modern/typings.d.ts +32 -0
- package/select/typings.d.ts +32 -0
- package/stack/component.js +4 -4
- package/stack/cssm/component.js +4 -4
- package/stack/cssm/index.d.ts +0 -1
- package/stack/cssm/index.js +0 -3
- package/stack/esm/component.js +1 -1
- package/stack/esm/index.d.ts +0 -1
- package/stack/esm/index.js +1 -1
- package/stack/index.d.ts +0 -1
- package/stack/index.js +0 -3
- package/stack/modern/component.js +1 -1
- package/stack/modern/index.d.ts +0 -1
- package/stack/modern/index.js +1 -1
- package/status/Component.d.ts +2 -1
- package/status/Component.js +2 -2
- package/status/cssm/Component.d.ts +2 -1
- package/status/cssm/Component.js +1 -1
- package/status/cssm/index.module.css +74 -29
- package/status/esm/Component.d.ts +2 -1
- package/status/esm/Component.js +2 -2
- package/status/esm/index.css +55 -27
- package/status/index.css +55 -27
- package/status/modern/Component.d.ts +2 -1
- package/status/modern/Component.js +2 -2
- package/status/modern/index.css +55 -27
- package/themes/click.css +0 -1516
- package/themes/compiled/mobile-dark-bluetint.css +210 -50
- package/themes/corp.css +0 -1516
- package/themes/intranet.css +0 -1516
- package/themes/mobile.css +0 -1516
- package/themes/site.css +0 -1516
- package/toast/components/base-toast/component.js +2 -1
- package/toast/cssm/components/base-toast/component.js +2 -1
- package/toast/esm/Component.responsive.js +1 -0
- package/toast/esm/components/base-toast/component.js +2 -1
- package/toast/esm/components/base-toast/index.js +1 -0
- package/toast/esm/desktop/Component.desktop.js +1 -0
- package/toast/esm/desktop/index.js +1 -0
- package/toast/esm/index.js +1 -0
- package/toast/esm/mobile/Component.mobile.js +1 -0
- package/toast/esm/mobile/index.js +1 -0
- package/toast/modern/Component.responsive.js +1 -0
- package/toast/modern/components/base-toast/component.js +2 -1
- package/toast/modern/components/base-toast/index.js +1 -0
- package/toast/modern/desktop/Component.desktop.js +1 -0
- package/toast/modern/desktop/index.js +1 -0
- package/toast/modern/index.js +1 -0
- package/toast/modern/mobile/Component.mobile.js +1 -0
- package/toast/modern/mobile/index.js +1 -0
- package/toast-plate/components/base-toast-plate/component.js +1 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/Component.responsive.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/desktop/Component.desktop.js +1 -1
- package/toast-plate/esm/desktop/index.js +1 -1
- package/toast-plate/esm/index-307da6d7.d.ts +1 -1
- package/toast-plate/esm/index.js +1 -1
- package/toast-plate/esm/mobile/Component.mobile.js +1 -1
- package/toast-plate/esm/mobile/index.js +1 -1
- package/toast-plate/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/Component.responsive.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/modern/desktop/Component.desktop.js +1 -1
- package/toast-plate/modern/desktop/index.js +1 -1
- package/toast-plate/modern/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/index.js +1 -1
- package/toast-plate/modern/mobile/Component.mobile.js +1 -1
- package/toast-plate/modern/mobile/index.js +1 -1
- package/universal-date-input/cssm/index-5712fce2.d.ts +1 -13
- package/universal-date-input/esm/index-5712fce2.d.ts +1 -13
- package/universal-date-input/index-5712fce2.d.ts +1 -13
- package/universal-date-input/modern/index-5712fce2.d.ts +1 -13
- package/international-phone-input/cssm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/esm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/index-136acbb1.d.ts +0 -28
- package/international-phone-input/modern/index-136acbb1.d.ts +0 -28
- package/picker-button/Component-1fe708ea.d.ts +0 -5
- package/picker-button/cssm/Component-1fe708ea.d.ts +0 -5
- package/picker-button/esm/Component-1fe708ea.d.ts +0 -5
- package/picker-button/modern/Component-1fe708ea.d.ts +0 -5
- package/stack/context.d.ts +0 -29
- package/stack/context.js +0 -34
- package/stack/cssm/context.d.ts +0 -29
- package/stack/cssm/context.js +0 -34
- package/stack/esm/context.d.ts +0 -29
- package/stack/esm/context.js +0 -31
- package/stack/modern/context.d.ts +0 -29
- package/stack/modern/context.js +0 -31
- /package/gallery/{buttons-36b3ca68.d.ts → buttons-2c587253.d.ts} +0 -0
- /package/gallery/{buttons-36b3ca68.js → buttons-2c587253.js} +0 -0
- /package/gallery/esm/{buttons-49e609ab.d.ts → buttons-fb317559.d.ts} +0 -0
- /package/gallery/esm/{buttons-49e609ab.js → buttons-fb317559.js} +0 -0
- /package/gallery/esm/{slide-01af06f1.d.ts → slide-cb44c8ba.d.ts} +0 -0
- /package/gallery/esm/{slide-01af06f1.js → slide-cb44c8ba.js} +0 -0
- /package/gallery/modern/{buttons-9e01c41d.d.ts → buttons-0d4c9cc6.d.ts} +0 -0
- /package/gallery/modern/{buttons-9e01c41d.js → buttons-0d4c9cc6.js} +0 -0
- /package/gallery/modern/{slide-0932c021.d.ts → slide-3771e01f.d.ts} +0 -0
- /package/gallery/modern/{slide-0932c021.js → slide-3771e01f.js} +0 -0
- /package/gallery/{slide-cbb98cfd.d.ts → slide-a4b1c89f.d.ts} +0 -0
- /package/gallery/{slide-cbb98cfd.js → slide-a4b1c89f.js} +0 -0
- /package/modal/esm/{layout.module-8f4bb5c4.js → layout.module-5977466c.js} +0 -0
- /package/modal/{layout.module-dd4e6f62.js → layout.module-74b07012.js} +0 -0
- /package/modal/modern/{layout.module-6bc66458.js → layout.module-565c309a.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-1e8085ca.d.ts → getDataTestId-32922464.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-1e8085ca.js → getDataTestId-32922464.js} +0 -0
- /package/toast-plate/{getDataTestId-4ff6c5ff.d.ts → getDataTestId-64de4ccf.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-4ff6c5ff.js → getDataTestId-64de4ccf.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-11ebf806.d.ts → getDataTestId-4d724a67.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-11ebf806.js → getDataTestId-4d724a67.js} +0 -0
package/status/index.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-700: #898991;
|
|
5
|
+
--color-light-neutral-translucent-200: rgba(30, 43, 68, 0.08);
|
|
5
6
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
6
7
|
--color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
|
|
7
8
|
--color-light-text-secondary: rgba(4, 4, 19, 0.55); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,6 +31,12 @@
|
|
|
30
31
|
--color-light-decorative-muted-alt-orange: #fde6c8;
|
|
31
32
|
--color-light-decorative-muted-alt-red: #ffdfdf;
|
|
32
33
|
--color-light-decorative-muted-alt-teal: #c8f1f3;
|
|
34
|
+
--color-light-decorative-muted-blue: #e4f0ff;
|
|
35
|
+
--color-light-decorative-muted-green: #dff8e5;
|
|
36
|
+
--color-light-decorative-muted-indigo: #eeedff;
|
|
37
|
+
--color-light-decorative-muted-orange: #ffefd9;
|
|
38
|
+
--color-light-decorative-muted-red: #ffebeb;
|
|
39
|
+
--color-light-decorative-muted-teal: #daf7f8;
|
|
33
40
|
--color-light-decorative-orange: #fa9313;
|
|
34
41
|
--color-light-decorative-red: #fe5e48;
|
|
35
42
|
--color-light-decorative-teal: #09b9be;
|
|
@@ -61,41 +68,62 @@
|
|
|
61
68
|
word-break: break-all;
|
|
62
69
|
} .status__component_1keqd:empty {
|
|
63
70
|
padding: 0;
|
|
64
|
-
} .
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
} .status__muted-alt_1keqd.status__green_1keqd {
|
|
72
|
+
background: var(--color-light-decorative-muted-alt-green);
|
|
73
|
+
color: var(--color-light-decorative-text-green);
|
|
74
|
+
} .status__muted-alt_1keqd.status__orange_1keqd {
|
|
75
|
+
background: var(--color-light-decorative-muted-alt-orange);
|
|
76
|
+
color: var(--color-light-decorative-text-orange);
|
|
77
|
+
} .status__muted-alt_1keqd.status__red_1keqd {
|
|
78
|
+
background: var(--color-light-decorative-muted-alt-red);
|
|
79
|
+
color: var(--color-light-decorative-text-red);
|
|
80
|
+
} .status__muted-alt_1keqd.status__blue_1keqd {
|
|
81
|
+
background: var(--color-light-decorative-muted-alt-blue);
|
|
82
|
+
color: var(--color-light-decorative-text-blue);
|
|
83
|
+
} .status__muted-alt_1keqd.status__teal_1keqd {
|
|
84
|
+
background: var(--color-light-decorative-muted-alt-teal);
|
|
85
|
+
color: var(--color-light-decorative-text-teal);
|
|
86
|
+
} .status__muted-alt_1keqd.status__grey_1keqd {
|
|
77
87
|
background: var(--color-light-neutral-translucent-300);
|
|
78
88
|
color: var(--color-light-text-secondary);
|
|
79
|
-
} .
|
|
80
|
-
background: var(--color-light-decorative-muted-alt-teal);
|
|
81
|
-
color: var(--color-light-decorative-text-teal);
|
|
82
|
-
} .status__soft_1keqd.status__purple_1keqd {
|
|
89
|
+
} .status__muted-alt_1keqd.status__purple_1keqd {
|
|
83
90
|
background: var(--color-light-decorative-muted-alt-indigo);
|
|
84
91
|
color: var(--color-light-decorative-text-indigo);
|
|
85
92
|
} .status__contrast_1keqd {
|
|
86
93
|
color: var(--color-light-text-primary-inverted)
|
|
87
94
|
} .status__contrast_1keqd.status__green_1keqd {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
background: var(--color-light-decorative-green);
|
|
96
|
+
} .status__contrast_1keqd.status__orange_1keqd {
|
|
97
|
+
background: var(--color-light-decorative-orange);
|
|
98
|
+
} .status__contrast_1keqd.status__red_1keqd {
|
|
99
|
+
background: var(--color-light-decorative-red);
|
|
100
|
+
} .status__contrast_1keqd.status__blue_1keqd {
|
|
101
|
+
background: var(--color-light-decorative-blue);
|
|
102
|
+
} .status__contrast_1keqd.status__teal_1keqd {
|
|
103
|
+
background: var(--color-light-decorative-teal);
|
|
104
|
+
} .status__contrast_1keqd.status__grey_1keqd {
|
|
96
105
|
background: var(--color-light-neutral-700);
|
|
97
|
-
} .status__contrast_1keqd.status__teal_1keqd {
|
|
98
|
-
background: var(--color-light-decorative-teal);
|
|
99
106
|
} .status__contrast_1keqd.status__purple_1keqd {
|
|
100
107
|
background: var(--color-light-decorative-indigo);
|
|
108
|
+
} .status__muted_1keqd.status__green_1keqd {
|
|
109
|
+
background: var(--color-light-decorative-muted-green);
|
|
110
|
+
color: var(--color-light-decorative-text-green);
|
|
111
|
+
} .status__muted_1keqd.status__orange_1keqd {
|
|
112
|
+
background: var(--color-light-decorative-muted-orange);
|
|
113
|
+
color: var(--color-light-decorative-text-orange);
|
|
114
|
+
} .status__muted_1keqd.status__red_1keqd {
|
|
115
|
+
background: var(--color-light-decorative-muted-red);
|
|
116
|
+
color: var(--color-light-decorative-text-red);
|
|
117
|
+
} .status__muted_1keqd.status__blue_1keqd {
|
|
118
|
+
background: var(--color-light-decorative-muted-blue);
|
|
119
|
+
color: var(--color-light-decorative-text-blue);
|
|
120
|
+
} .status__muted_1keqd.status__teal_1keqd {
|
|
121
|
+
background: var(--color-light-decorative-muted-teal);
|
|
122
|
+
color: var(--color-light-decorative-text-teal);
|
|
123
|
+
} .status__muted_1keqd.status__grey_1keqd {
|
|
124
|
+
background: var(--color-light-neutral-translucent-200);
|
|
125
|
+
color: var(--color-light-text-secondary);
|
|
126
|
+
} .status__muted_1keqd.status__purple_1keqd {
|
|
127
|
+
background: var(--color-light-decorative-muted-indigo);
|
|
128
|
+
color: var(--color-light-decorative-text-indigo);
|
|
101
129
|
}
|
|
@@ -7,8 +7,9 @@ type StatusProps = {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Вид компонента
|
|
10
|
+
* @description soft deprecated, используйте вместо него muted-alt
|
|
10
11
|
*/
|
|
11
|
-
view?: 'contrast' | 'soft';
|
|
12
|
+
view?: 'contrast' | 'soft' | 'muted' | 'muted-alt';
|
|
12
13
|
/**
|
|
13
14
|
* Цветовое оформление иконки
|
|
14
15
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
const styles = {"component":"status__component_1keqd","ellipsis":"status__ellipsis_1keqd","
|
|
4
|
+
const styles = {"component":"status__component_1keqd","ellipsis":"status__ellipsis_1keqd","muted-alt":"status__muted-alt_1keqd","green":"status__green_1keqd","orange":"status__orange_1keqd","red":"status__red_1keqd","blue":"status__blue_1keqd","teal":"status__teal_1keqd","grey":"status__grey_1keqd","purple":"status__purple_1keqd","contrast":"status__contrast_1keqd","muted":"status__muted_1keqd"};
|
|
5
5
|
require('./index.css');
|
|
6
6
|
|
|
7
7
|
const colors = ['green', 'orange', 'red', 'blue', 'grey', 'teal', 'purple'];
|
|
8
|
-
const Status = ({ className, view = '
|
|
8
|
+
const Status = ({ className, view = 'muted-alt', color = 'green', children, dataTestId, }) => (React.createElement("span", { className: cn(styles.component, styles[color], styles[view], className), "data-test-id": dataTestId },
|
|
9
9
|
React.createElement("span", { className: styles.ellipsis }, children)));
|
|
10
10
|
|
|
11
11
|
export { Status, colors };
|
package/status/modern/index.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-700: #898991;
|
|
5
|
+
--color-light-neutral-translucent-200: rgba(30, 43, 68, 0.08);
|
|
5
6
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
6
7
|
--color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
|
|
7
8
|
--color-light-text-secondary: rgba(4, 4, 19, 0.55); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,6 +31,12 @@
|
|
|
30
31
|
--color-light-decorative-muted-alt-orange: #fde6c8;
|
|
31
32
|
--color-light-decorative-muted-alt-red: #ffdfdf;
|
|
32
33
|
--color-light-decorative-muted-alt-teal: #c8f1f3;
|
|
34
|
+
--color-light-decorative-muted-blue: #e4f0ff;
|
|
35
|
+
--color-light-decorative-muted-green: #dff8e5;
|
|
36
|
+
--color-light-decorative-muted-indigo: #eeedff;
|
|
37
|
+
--color-light-decorative-muted-orange: #ffefd9;
|
|
38
|
+
--color-light-decorative-muted-red: #ffebeb;
|
|
39
|
+
--color-light-decorative-muted-teal: #daf7f8;
|
|
33
40
|
--color-light-decorative-orange: #fa9313;
|
|
34
41
|
--color-light-decorative-red: #fe5e48;
|
|
35
42
|
--color-light-decorative-teal: #09b9be;
|
|
@@ -61,41 +68,62 @@
|
|
|
61
68
|
word-break: break-all;
|
|
62
69
|
} .status__component_1keqd:empty {
|
|
63
70
|
padding: 0;
|
|
64
|
-
} .
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
} .status__muted-alt_1keqd.status__green_1keqd {
|
|
72
|
+
background: var(--color-light-decorative-muted-alt-green);
|
|
73
|
+
color: var(--color-light-decorative-text-green);
|
|
74
|
+
} .status__muted-alt_1keqd.status__orange_1keqd {
|
|
75
|
+
background: var(--color-light-decorative-muted-alt-orange);
|
|
76
|
+
color: var(--color-light-decorative-text-orange);
|
|
77
|
+
} .status__muted-alt_1keqd.status__red_1keqd {
|
|
78
|
+
background: var(--color-light-decorative-muted-alt-red);
|
|
79
|
+
color: var(--color-light-decorative-text-red);
|
|
80
|
+
} .status__muted-alt_1keqd.status__blue_1keqd {
|
|
81
|
+
background: var(--color-light-decorative-muted-alt-blue);
|
|
82
|
+
color: var(--color-light-decorative-text-blue);
|
|
83
|
+
} .status__muted-alt_1keqd.status__teal_1keqd {
|
|
84
|
+
background: var(--color-light-decorative-muted-alt-teal);
|
|
85
|
+
color: var(--color-light-decorative-text-teal);
|
|
86
|
+
} .status__muted-alt_1keqd.status__grey_1keqd {
|
|
77
87
|
background: var(--color-light-neutral-translucent-300);
|
|
78
88
|
color: var(--color-light-text-secondary);
|
|
79
|
-
} .
|
|
80
|
-
background: var(--color-light-decorative-muted-alt-teal);
|
|
81
|
-
color: var(--color-light-decorative-text-teal);
|
|
82
|
-
} .status__soft_1keqd.status__purple_1keqd {
|
|
89
|
+
} .status__muted-alt_1keqd.status__purple_1keqd {
|
|
83
90
|
background: var(--color-light-decorative-muted-alt-indigo);
|
|
84
91
|
color: var(--color-light-decorative-text-indigo);
|
|
85
92
|
} .status__contrast_1keqd {
|
|
86
93
|
color: var(--color-light-text-primary-inverted)
|
|
87
94
|
} .status__contrast_1keqd.status__green_1keqd {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
background: var(--color-light-decorative-green);
|
|
96
|
+
} .status__contrast_1keqd.status__orange_1keqd {
|
|
97
|
+
background: var(--color-light-decorative-orange);
|
|
98
|
+
} .status__contrast_1keqd.status__red_1keqd {
|
|
99
|
+
background: var(--color-light-decorative-red);
|
|
100
|
+
} .status__contrast_1keqd.status__blue_1keqd {
|
|
101
|
+
background: var(--color-light-decorative-blue);
|
|
102
|
+
} .status__contrast_1keqd.status__teal_1keqd {
|
|
103
|
+
background: var(--color-light-decorative-teal);
|
|
104
|
+
} .status__contrast_1keqd.status__grey_1keqd {
|
|
96
105
|
background: var(--color-light-neutral-700);
|
|
97
|
-
} .status__contrast_1keqd.status__teal_1keqd {
|
|
98
|
-
background: var(--color-light-decorative-teal);
|
|
99
106
|
} .status__contrast_1keqd.status__purple_1keqd {
|
|
100
107
|
background: var(--color-light-decorative-indigo);
|
|
108
|
+
} .status__muted_1keqd.status__green_1keqd {
|
|
109
|
+
background: var(--color-light-decorative-muted-green);
|
|
110
|
+
color: var(--color-light-decorative-text-green);
|
|
111
|
+
} .status__muted_1keqd.status__orange_1keqd {
|
|
112
|
+
background: var(--color-light-decorative-muted-orange);
|
|
113
|
+
color: var(--color-light-decorative-text-orange);
|
|
114
|
+
} .status__muted_1keqd.status__red_1keqd {
|
|
115
|
+
background: var(--color-light-decorative-muted-red);
|
|
116
|
+
color: var(--color-light-decorative-text-red);
|
|
117
|
+
} .status__muted_1keqd.status__blue_1keqd {
|
|
118
|
+
background: var(--color-light-decorative-muted-blue);
|
|
119
|
+
color: var(--color-light-decorative-text-blue);
|
|
120
|
+
} .status__muted_1keqd.status__teal_1keqd {
|
|
121
|
+
background: var(--color-light-decorative-muted-teal);
|
|
122
|
+
color: var(--color-light-decorative-text-teal);
|
|
123
|
+
} .status__muted_1keqd.status__grey_1keqd {
|
|
124
|
+
background: var(--color-light-neutral-translucent-200);
|
|
125
|
+
color: var(--color-light-text-secondary);
|
|
126
|
+
} .status__muted_1keqd.status__purple_1keqd {
|
|
127
|
+
background: var(--color-light-decorative-muted-indigo);
|
|
128
|
+
color: var(--color-light-decorative-text-indigo);
|
|
101
129
|
}
|