@sats-group/ui-lib 74.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -0
- package/README.md +35 -0
- package/catalog-info.yaml +14 -0
- package/eslint.config.mjs +94 -0
- package/fonts/Inter-BoldItalic.woff +0 -0
- package/fonts/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter-ExtraBold.woff +0 -0
- package/fonts/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter-Italic.woff +0 -0
- package/fonts/Inter-Italic.woff2 +0 -0
- package/fonts/Inter-Regular.woff +0 -0
- package/fonts/Inter-Regular.woff2 +0 -0
- package/fonts/Inter-SemiBold.woff +0 -0
- package/fonts/Inter-SemiBold.woff2 +0 -0
- package/fonts/LICENSE.txt +92 -0
- package/fonts/SATSHeadline-Bold.woff +0 -0
- package/fonts/SATSHeadline-BoldItalic.woff +0 -0
- package/fonts/SATSHeadline-RegularItalic.woff +0 -0
- package/fonts/SATSHeadline-SemiBoldItalic.woff +0 -0
- package/logos/e-avatar.svg +3 -0
- package/logos/elixia-letter.svg +3 -0
- package/logos/elixia-small.svg +8 -0
- package/logos/elixia.svg +8 -0
- package/logos/s-avatar.svg +3 -0
- package/logos/sats-letter.svg +3 -0
- package/logos/sats-small.svg +3 -0
- package/logos/sats.svg +4 -0
- package/package.json +58 -0
- package/react/add-bem-modifiers.ts +51 -0
- package/react/badge/badge.scss +53 -0
- package/react/badge/badge.tsx +28 -0
- package/react/badge/badge.types.ts +34 -0
- package/react/badge/index.ts +2 -0
- package/react/banner/banner.scss +118 -0
- package/react/banner/banner.tsx +92 -0
- package/react/banner/banner.types.ts +10 -0
- package/react/banner/index.ts +2 -0
- package/react/bomb/bomb.scss +33 -0
- package/react/bomb/bomb.tsx +19 -0
- package/react/bomb/bomb.types.ts +1 -0
- package/react/bomb/index.ts +2 -0
- package/react/button/button.tsx +19 -0
- package/react/button/button.types.ts +3 -0
- package/react/button/index.ts +2 -0
- package/react/checkbox/checkbox.scss +218 -0
- package/react/checkbox/checkbox.tsx +176 -0
- package/react/checkbox/checkbox.types.ts +19 -0
- package/react/checkbox/index.ts +2 -0
- package/react/chip/chip.scss +46 -0
- package/react/chip/chip.tsx +37 -0
- package/react/chip/chip.types.ts +18 -0
- package/react/chip/index.ts +2 -0
- package/react/chip/remove.tsx +14 -0
- package/react/chip-selected/chip-selected.scss +47 -0
- package/react/chip-selected/chip-selected.tsx +102 -0
- package/react/chip-selected/chip-selected.types.ts +11 -0
- package/react/chip-selected/index.ts +2 -0
- package/react/confirmation/confirmation.scss +60 -0
- package/react/confirmation/confirmation.tsx +85 -0
- package/react/confirmation/confirmation.types.ts +24 -0
- package/react/confirmation/index.ts +2 -0
- package/react/context-menu/context-menu.scss +183 -0
- package/react/context-menu/context-menu.tsx +200 -0
- package/react/context-menu/context-menu.types.ts +71 -0
- package/react/context-menu/index.ts +2 -0
- package/react/cropped-image/cropped-image.scss +48 -0
- package/react/cropped-image/cropped-image.tsx +36 -0
- package/react/cropped-image/cropped-image.types.ts +26 -0
- package/react/cropped-image/index.ts +2 -0
- package/react/dropdown-list/dropdown-list.scss +170 -0
- package/react/dropdown-list/dropdown-list.tsx +116 -0
- package/react/dropdown-list/dropdown-list.types.ts +17 -0
- package/react/dropdown-list/index.ts +2 -0
- package/react/expander/expander.scss +115 -0
- package/react/expander/expander.tsx +167 -0
- package/react/expander/expander.types.ts +26 -0
- package/react/expander/index.ts +2 -0
- package/react/filter/filter.scss +94 -0
- package/react/filter/filter.tsx +99 -0
- package/react/filter/filter.types.ts +8 -0
- package/react/filter/index.ts +2 -0
- package/react/filter-wrapper/filter-wrapper.scss +46 -0
- package/react/filter-wrapper/filter-wrapper.tsx +24 -0
- package/react/filter-wrapper/filter-wrapper.types.ts +10 -0
- package/react/filter-wrapper/index.ts +2 -0
- package/react/flag/flag.scss +26 -0
- package/react/flag/flag.tsx +27 -0
- package/react/flag/flag.types.ts +17 -0
- package/react/flag/index.ts +2 -0
- package/react/form-content/checkbox-category.tsx +183 -0
- package/react/form-content/form-content.checkbox-list.tsx +126 -0
- package/react/form-content/form-content.checkbox-list.types.ts +36 -0
- package/react/form-content/form-content.radio-list.tsx +58 -0
- package/react/form-content/form-content.range.tsx +20 -0
- package/react/form-content/form-content.range.types.ts +14 -0
- package/react/form-content/form-content.scss +234 -0
- package/react/form-content/form-content.search.tsx +47 -0
- package/react/form-content/form-content.tsx +95 -0
- package/react/form-content/form-content.types.ts +55 -0
- package/react/form-content/index.ts +2 -0
- package/react/form-content/types/index.d.ts +1 -0
- package/react/hidden-input/hidden-input.tsx +9 -0
- package/react/hidden-input/hidden-input.types.ts +6 -0
- package/react/hidden-input/index.ts +2 -0
- package/react/hooks/focus-previous-element.ts +30 -0
- package/react/hooks/is-running-on-client.ts +1 -0
- package/react/hooks/use-click-outside.ts +23 -0
- package/react/hooks/use-escape.ts +18 -0
- package/react/hooks/use-event.ts +29 -0
- package/react/hooks/use-is-mounted.ts +11 -0
- package/react/hooks/use-toggle.ts +19 -0
- package/react/icons/16/close.tsx +12 -0
- package/react/icons/18/close.tsx +18 -0
- package/react/icons/24/arrow-down.tsx +14 -0
- package/react/icons/24/arrow-right.tsx +14 -0
- package/react/icons/24/arrow-up.tsx +14 -0
- package/react/icons/24/close.tsx +12 -0
- package/react/icons/24/remove.tsx +12 -0
- package/react/icons/24/search.tsx +10 -0
- package/react/icons/icons.md +3 -0
- package/react/indexed-access-type.ts +1 -0
- package/react/link/index.ts +2 -0
- package/react/link/link.scss +44 -0
- package/react/link/link.tsx +62 -0
- package/react/link/link.types.ts +37 -0
- package/react/link-button/index.ts +2 -0
- package/react/link-button/link-button.tsx +17 -0
- package/react/link-button/link-button.types.ts +5 -0
- package/react/link-card/index.ts +2 -0
- package/react/link-card/link-card.scss +37 -0
- package/react/link-card/link-card.tsx +24 -0
- package/react/link-card/link-card.types.ts +5 -0
- package/react/logos/e-avatar.tsx +12 -0
- package/react/logos/elixia-letter.tsx +12 -0
- package/react/logos/elixia-small.tsx +12 -0
- package/react/logos/elixia.tsx +12 -0
- package/react/logos/index.ts +8 -0
- package/react/logos/s-avatar.tsx +12 -0
- package/react/logos/sats-letter.tsx +12 -0
- package/react/logos/sats-small.tsx +12 -0
- package/react/logos/sats.tsx +12 -0
- package/react/message/hook/use-message.ts +22 -0
- package/react/message/index.ts +2 -0
- package/react/message/message.scss +92 -0
- package/react/message/message.tsx +60 -0
- package/react/message/message.types.ts +39 -0
- package/react/message/publish.ts +19 -0
- package/react/message-field/index.ts +2 -0
- package/react/message-field/message-field.scss +21 -0
- package/react/message-field/message-field.tsx +70 -0
- package/react/message-field/message-field.types.ts +24 -0
- package/react/modal/index.ts +2 -0
- package/react/modal/modal.scss +162 -0
- package/react/modal/modal.tsx +130 -0
- package/react/modal/modal.types.ts +36 -0
- package/react/modal/tab-trapper.tsx +68 -0
- package/react/progress-bar/index.ts +2 -0
- package/react/progress-bar/progress-bar.scss +71 -0
- package/react/progress-bar/progress-bar.tsx +81 -0
- package/react/progress-bar/progress-bar.types.ts +35 -0
- package/react/radio/index.ts +2 -0
- package/react/radio/radio.scss +142 -0
- package/react/radio/radio.tsx +87 -0
- package/react/radio/radio.types.ts +15 -0
- package/react/scale-bar/index.ts +2 -0
- package/react/scale-bar/scale-bar.scss +22 -0
- package/react/scale-bar/scale-bar.tsx +29 -0
- package/react/scale-bar/scale-bar.types.ts +4 -0
- package/react/search/index.ts +2 -0
- package/react/search/search.scss +207 -0
- package/react/search/search.tsx +255 -0
- package/react/search/search.types.ts +43 -0
- package/react/select/chevron-down.tsx +24 -0
- package/react/select/index.ts +2 -0
- package/react/select/select.scss +135 -0
- package/react/select/select.tsx +105 -0
- package/react/select/select.types.ts +19 -0
- package/react/select-option/README.md +3 -0
- package/react/select-option/index.ts +2 -0
- package/react/select-option/select-option.tsx +16 -0
- package/react/select-option/select-option.types.ts +8 -0
- package/react/tag/index.ts +2 -0
- package/react/tag/tag.scss +107 -0
- package/react/tag/tag.tsx +26 -0
- package/react/tag/tag.types.ts +30 -0
- package/react/text/index.ts +2 -0
- package/react/text/text.scss +109 -0
- package/react/text/text.tsx +40 -0
- package/react/text/text.types.ts +29 -0
- package/react/text-area/index.ts +2 -0
- package/react/text-area/text-area.scss +180 -0
- package/react/text-area/text-area.tsx +153 -0
- package/react/text-area/text-area.types.ts +24 -0
- package/react/text-input/index.ts +2 -0
- package/react/text-input/text-input.scss +233 -0
- package/react/text-input/text-input.tsx +106 -0
- package/react/text-input/text-input.types.ts +19 -0
- package/react/toggle/index.ts +2 -0
- package/react/toggle/toggle.scss +69 -0
- package/react/toggle/toggle.tsx +83 -0
- package/react/toggle/toggle.types.ts +11 -0
- package/react/toolbox/index.ts +2 -0
- package/react/toolbox/toolbox.scss +68 -0
- package/react/toolbox/toolbox.tsx +43 -0
- package/react/toolbox/toolbox.types.ts +39 -0
- package/react/ts/debounce.ts +12 -0
- package/react/types.ts +38 -0
- package/react/use-input-validation.ts +47 -0
- package/react/use-input-validation.types.ts +12 -0
- package/react/visually-button/index.ts +2 -0
- package/react/visually-button/visually-button.scss +470 -0
- package/react/visually-button/visually-button.tsx +130 -0
- package/react/visually-button/visually-button.types.ts +71 -0
- package/react/visually-hidden/index.ts +2 -0
- package/react/visually-hidden/visually-hidden.scss +6 -0
- package/react/visually-hidden/visually-hidden.tsx +10 -0
- package/tokens/corner-radius.scss +5 -0
- package/tokens/dark.scss +392 -0
- package/tokens/darkmode.scss +131 -0
- package/tokens/elevation.scss +57 -0
- package/tokens/font-faces.scss +62 -0
- package/tokens/font-names.scss +2 -0
- package/tokens/font-sizes.scss +95 -0
- package/tokens/light.scss +392 -0
- package/tokens/lightmode.scss +131 -0
- package/tokens/primitives.scss +137 -0
- package/tokens/spacing.scss +12 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// Figma: https://www.figma.com/file/WzKCwRY09zn4rzRVfY0YvdRt/%F0%9F%8E%A8-sats-ds-styles?type=design&node-id=8481%3A40159&mode=design&t=4Gq1pqiSLpmo4bBj-1
|
|
2
|
+
|
|
3
|
+
$black-10: #e5e5e5;
|
|
4
|
+
$black-100: #000000;
|
|
5
|
+
$black-20: #cccccc;
|
|
6
|
+
$black-3: #f7f7f7;
|
|
7
|
+
$black-40: #999999;
|
|
8
|
+
$black-5: #f2f2f2;
|
|
9
|
+
$black-50: #808080;
|
|
10
|
+
$black-55: #707070;
|
|
11
|
+
$black-60: #666666;
|
|
12
|
+
$black-70: #4c4c4c;
|
|
13
|
+
$black-80: #333333;
|
|
14
|
+
$black-85: #262626;
|
|
15
|
+
$black-90: #1a1a1a;
|
|
16
|
+
$black-95: #0d0d0d;
|
|
17
|
+
$black-o20: #00000033;
|
|
18
|
+
$blue-10: #e7e9eb;
|
|
19
|
+
$blue-100: #0d2134;
|
|
20
|
+
$blue-105: #0a1826;
|
|
21
|
+
$blue-110: #06101a;
|
|
22
|
+
$blue-20: #cfd3d6;
|
|
23
|
+
$blue-40: #9ea6ae;
|
|
24
|
+
$blue-5: #f3f4f5;
|
|
25
|
+
$blue-70: #566471;
|
|
26
|
+
$blue-90: #253748;
|
|
27
|
+
$blue-grey-80: #404d5b;
|
|
28
|
+
$bright-blue-10: #e9f1f7;
|
|
29
|
+
$bright-blue-100: #2676b0;
|
|
30
|
+
$bright-blue-110: #226a9e;
|
|
31
|
+
$bright-blue-130: #1b537b;
|
|
32
|
+
$bright-blue-160: #0f2f46;
|
|
33
|
+
$bright-blue-170: #0b2335;
|
|
34
|
+
$bright-blue-20: #d4e4ef;
|
|
35
|
+
$bright-blue-60: #7dadd0;
|
|
36
|
+
$bright-blue-80: #5191c0;
|
|
37
|
+
$cardinal-10: #f8ebed;
|
|
38
|
+
$cardinal-100: #b93947;
|
|
39
|
+
$cardinal-120: #942e39;
|
|
40
|
+
$cardinal-170: #381115;
|
|
41
|
+
$cardinal-30: #eac4c8;
|
|
42
|
+
$cardinal-60: #d58891;
|
|
43
|
+
$caribbean-current-10: #e6efef;
|
|
44
|
+
$caribbean-current-100: #065d63;
|
|
45
|
+
$caribbean-current-140: #054a4f;
|
|
46
|
+
$caribbean-current-160: #04383b;
|
|
47
|
+
$caribbean-current-180: #011314;
|
|
48
|
+
$caribbean-current-20: #cddfe0;
|
|
49
|
+
$caribbean-current-60: #6a9ea1;
|
|
50
|
+
$celadon-10: #f0fdf4;
|
|
51
|
+
$celadon-100: #65e694;
|
|
52
|
+
$celadon-140: #3f965e;
|
|
53
|
+
$celadon-160: #184629;
|
|
54
|
+
$celadon-180: #051e0e;
|
|
55
|
+
$celadon-20: #e0faea;
|
|
56
|
+
$celadon-60: #a3f0bf;
|
|
57
|
+
$chili-red-10: #fbeae9;
|
|
58
|
+
$chili-red-100: #d93226;
|
|
59
|
+
$chili-red-120: #ae281e;
|
|
60
|
+
$chili-red-170: #410f0b;
|
|
61
|
+
$chili-red-60: #e8847d;
|
|
62
|
+
$chili-red-80: #e15b51;
|
|
63
|
+
$coral-10: #ffeeeb;
|
|
64
|
+
$coral-100: #fa5333;
|
|
65
|
+
$coral-120: #c84229;
|
|
66
|
+
$coral-130: #af3a24;
|
|
67
|
+
$coral-170: #4b190f;
|
|
68
|
+
$coral-190: #32110a;
|
|
69
|
+
$coral-40: #fdbaad;
|
|
70
|
+
$coral-5: #fff6f5;
|
|
71
|
+
$coral-60: #fc9885;
|
|
72
|
+
$coral-90: #fb6447;
|
|
73
|
+
$egyptian-purple-10: #ebebf3;
|
|
74
|
+
$egyptian-purple-100: #37378b;
|
|
75
|
+
$egyptian-purple-160: #161638;
|
|
76
|
+
$egyptian-purple-40: #afafd1;
|
|
77
|
+
$egyptian-purple-60: #8787b9;
|
|
78
|
+
$egyptian-purple-80: #5f5fa2;
|
|
79
|
+
$gold-10: #f8f3e8;
|
|
80
|
+
$gold-100: #e2b74a;
|
|
81
|
+
$gold-110: #cca442;
|
|
82
|
+
$gold-130: #9e8034;
|
|
83
|
+
$gold-140: #866c2a;
|
|
84
|
+
$gold-170: #443716;
|
|
85
|
+
$gold-30: #f3e6c5;
|
|
86
|
+
$gold-60: #ecd290;
|
|
87
|
+
$gold-80: #e7c46d;
|
|
88
|
+
$light-grey-15: #dcdee0;
|
|
89
|
+
$salmon-pink-10: #fff1f3;
|
|
90
|
+
$salmon-pink-100: #ff7083;
|
|
91
|
+
$salmon-pink-140: #b54352;
|
|
92
|
+
$salmon-pink-160: #912d3a;
|
|
93
|
+
$salmon-pink-180: #470009;
|
|
94
|
+
$salmon-pink-20: #ffe2e6;
|
|
95
|
+
$salmon-pink-60: #ffa9b5;
|
|
96
|
+
$spring-green-10: #e6f2ee;
|
|
97
|
+
$spring-green-100: #097f58;
|
|
98
|
+
$spring-green-120: #076646;
|
|
99
|
+
$spring-green-170: #03261a;
|
|
100
|
+
$spring-green-30: #b5d9cd;
|
|
101
|
+
$spring-green-60: #6bb29b;
|
|
102
|
+
$spring-green-80: #3a9979;
|
|
103
|
+
$tangerine-10: #fff6e6;
|
|
104
|
+
$tangerine-100: #fba000;
|
|
105
|
+
$tangerine-140: #976000;
|
|
106
|
+
$tangerine-160: #644000;
|
|
107
|
+
$tangerine-180: #322000;
|
|
108
|
+
$tangerine-20: #feeccc;
|
|
109
|
+
$tangerine-60: #fdc666;
|
|
110
|
+
$tropical-indigo-10: #f6f1ff;
|
|
111
|
+
$tropical-indigo-100: #a670ff;
|
|
112
|
+
$tropical-indigo-140: #644399;
|
|
113
|
+
$tropical-indigo-160: #422d66;
|
|
114
|
+
$tropical-indigo-180: #211633;
|
|
115
|
+
$tropical-indigo-20: #ede2ff;
|
|
116
|
+
$tropical-indigo-60: #caa9ff;
|
|
117
|
+
$uranian-blue-10: #f1f9ff;
|
|
118
|
+
$uranian-blue-100: #70c4ff;
|
|
119
|
+
$uranian-blue-140: #2d6891;
|
|
120
|
+
$uranian-blue-160: #16496c;
|
|
121
|
+
$uranian-blue-180: #0b3959;
|
|
122
|
+
$uranian-blue-20: #e2f3ff;
|
|
123
|
+
$uranian-blue-60: #a9dcff;
|
|
124
|
+
$white-0: #ffffff00;
|
|
125
|
+
$white-10: #ffffff1a;
|
|
126
|
+
$white-100: #ffffff;
|
|
127
|
+
$white-15: #ffffff26;
|
|
128
|
+
$white-20: #ffffff33;
|
|
129
|
+
$white-40: #ffffff66;
|
|
130
|
+
$white-5: #ffffff0d;
|
|
131
|
+
$white-50: #ffffff80;
|
|
132
|
+
$white-60: #ffffff99;
|
|
133
|
+
$white-65: #ffffffa6;
|
|
134
|
+
$white-70: #ffffffb2;
|
|
135
|
+
$white-80: #ffffffcc;
|
|
136
|
+
$white-85: #ffffffd9;
|
|
137
|
+
$white-90: #ffffffe5;
|