@synerise/ds-core 0.43.1 → 1.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.43.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.43.1...@synerise/ds-core@0.43.2) (2025-03-10)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-core
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.43.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.43.0...@synerise/ds-core@0.43.1) (2025-02-27)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-core
package/dist/i18n/en.json CHANGED
@@ -1,5 +1,9 @@
1
1
  {
2
2
  "DS": {
3
+ "MAPPING": {
4
+ "BULK_SELECTION_ENABLE": "Bulk actions",
5
+ "BULK_SELECTION_DISABLE": "Hide actions"
6
+ },
3
7
  "MENU": {
4
8
  "SHOW-LESS": "Show less",
5
9
  "SHOW-MORE": "Show more"
@@ -12,6 +12,7 @@ var getLangForCode = function getLangForCode(code) {
12
12
  return code.substring(0, 2);
13
13
  };
14
14
  var LocaleProvider = /*#__PURE__*/function (_Component) {
15
+ _inheritsLoose(LocaleProvider, _Component);
15
16
  function LocaleProvider() {
16
17
  var _this;
17
18
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -24,7 +25,6 @@ var LocaleProvider = /*#__PURE__*/function (_Component) {
24
25
  };
25
26
  return _this;
26
27
  }
27
- _inheritsLoose(LocaleProvider, _Component);
28
28
  var _proto = LocaleProvider.prototype;
29
29
  _proto.componentDidMount = function componentDidMount() {
30
30
  var _this2 = this;
@@ -1,5 +1,4 @@
1
1
  import { useTheme as originalUseTheme } from 'styled-components';
2
- // @ts-ignore
3
2
  import vars from './variables';
4
3
  import breakpoints from './breakpoints';
5
4
  export var useTheme = originalUseTheme;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ variables: Record<string, string>;
3
+ colors: Record<string, string>;
4
+ };
5
+ export default _default;
@@ -1 +1,529 @@
1
- module.exports=function(e){var r={};function t(a){if(r[a])return r[a].exports;var o=r[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(a,o,function(r){return e[r]}.bind(null,o));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";t.r(r);const a=t(1),o=t(2),n=(e,r,t=0)=>!r[e]||t>8?null:r[e].replace(/@[\w-]+/g,e=>n(e.slice(1),t+1)||e);for(const e in o)Object.prototype.hasOwnProperty.call(o,e)&&(o[e]=n(e,o));for(const e in a)Object.prototype.hasOwnProperty.call(a,e)&&(a[e]=n(e,a));r.default={variables:o,colors:a}},function(e,r){e.exports={"red-900":"#520004","red-800":"#87020b","red-700":"#cf1413","red-600":"#f52922","red-500":"#ff5a4d","red-400":"#ff8475","red-300":"#ffab9e","red-200":"#ffd1c7","red-100":"#ffece8","red-050":"#fff6f4","green-900":"#0d2b00","green-800":"#2a7003","green-700":"#399903","green-600":"#54cb0b","green-500":"#76dc25","green-400":"#9aed45","green-300":"#c5ff7e","green-200":"#d9ffa0","green-100":"#ecffce","green-050":"#f9ffed","grey-900":"#232936","grey-800":"#384350","grey-700":"#57616d","grey-600":"#6a7580","grey-500":"#949ea6","grey-400":"#b5bdc3","grey-300":"#dbe0e3","grey-200":"#e9edee","grey-100":"#f3f5f6","grey-050":"#f9fafb","yellow-900":"#5e3d00","yellow-800":"#bf8300","yellow-700":"#eda600","yellow-600":"#fab700","yellow-500":"#ffc300","yellow-400":"#ffda24","yellow-300":"#ffe873","yellow-200":"#fff8d7","yellow-100":"#fffae3","yellow-050":"#fffcf0","blue-900":"#01026e","blue-800":"#00039e","blue-700":"#0044d9","blue-600":"#0b68ff","blue-500":"#238afe","blue-400":"#4da7fe","blue-300":"#8bcaff","blue-200":"#bce1ff","blue-100":"#d9eeff","blue-050":"#f4faff","pink-900":"#5d001c","pink-800":"#a80732","pink-700":"#d41640","pink-600":"#ff2f52","pink-500":"#ff4d67","pink-400":"#ff7586","pink-300":"#fe9da5","pink-200":"#ffc9ce","pink-100":"#ffebeb","pink-050":"#fff5f5","mars-900":"#770b05","mars-800":"#c41b03","mars-700":"#e43812","mars-600":"#ff5831","mars-500":"#ff6c4d","mars-400":"#ff8770","mars-300":"#ffa999","mars-200":"#ffcbc1","mars-100":"#ffe9e9","mars-050":"#fff3f3","orange-900":"#5f0900","orange-800":"#cc3a01","orange-700":"#ed5603","orange-600":"#f97600","orange-500":"#fd9f05","orange-400":"#ffba24","orange-300":"#ffd373","orange-200":"#ffe3a6","orange-100":"#fff5e0","orange-050":"#fffaf0","fern-900":"#002b0d","fern-800":"#03701f","fern-700":"#039929","fern-600":"#0bcb38","fern-500":"#25dc44","fern-400":"#45ed58","fern-300":"#7eff87","fern-200":"#a0ffa2","fern-100":"#ceffce","fern-050":"#edffed","cyan-900":"#002429","cyan-800":"#00494f","cyan-700":"#007075","cyan-600":"#089b9c","cyan-500":"#13c2bc","cyan-400":"#36cfc4","cyan-300":"#6cdfd4","cyan-200":"#87e8db","cyan-100":"#b5f5ea","cyan-050":"#e6fffa","purple-900":"#10033d","purple-800":"#1f0763","purple-700":"#35108a","purple-600":"#4e1daf","purple-500":"#6d2ed3","purple-400":"#8e54e0","purple-300":"#b88cee","purple-200":"#d1adf7","purple-100":"#eedbff","purple-050":"#f9f0ff","violet-900":"#3b0352","violet-800":"#5b0678","violet-700":"#7e109e","violet-600":"#a41dc4","violet-500":"#ce2feb","violet-400":"#e459f7","violet-300":"#f585ff","violet-200":"#fbadff","violet-100":"#fed6ff","violet-050":"#fff0ff",white:"#ffffff"}},function(e,r){e.exports={"primary-color-opacity-4":"rgba(@blue-600, 0.4)","gray-color-opacity-1":"rgba(@grey-400, 0.15)","gray-color-opacity-2":"rgba(@grey-400, 0.25)","gray-color-opacity-3":"rgba(@grey-400, 0.35)","gray-color-opacity-4":"rgba(@grey-050, 0.4)","gray-color-opacity-5":"rgba(@grey-700, 0.4)","gray-color-opacity-6":"rgba(@grey-300, 0.15)","red-color-opacity-4":"rgba(@red-600, 0.4)","yellow-color-opacity-4":"rgba(@yellow-600, 0.4)","green-color-opacity-4":"rgba(@green-600, 0.4)","background-color":"#f2f5f6",white:"#fff","body-background":"#f2f5f6","component-background":"#fff","code-family":"Consolas, Menlo, Courier, monospace","font-size-base":"13px","font-size-lg":"13px","font-size-sm":"11px","line-height-base":"1.38","border-radius-base":"3px","border-radius-sm":"3px","padding-lg":"32px","padding-md":"16px","padding-sm":"12px","padding-xs":"8px","link-decoration":"none","link-hover-decoration":"underline","control-padding-horizontal":"16px","control-padding-horizontal-sm":"8px","border-width-base":"1px","border-style-base":"solid","shadow-color":"rgba(171, 178, 183, 0.12)","shadow-color-highlight":"rgba(171, 178, 183, 1)","box-shadow-base":"0 2px 6px rgba(171, 178, 183, 0.12)","box-shadow-active":"0 8px 16px rgba(171, 178, 183, 0.32)","shadow-1-up":"0 0px 8px @shadow-color","shadow-1-down":"0 2px 8px @shadow-color","shadow-1-left":"-2px 0 8px @shadow-color","shadow-1-right":"2px 0 8px @shadow-color","shadow-2":"0 2px 6px rgba(171, 178, 183, 0.12)","shadow-highlight":"0 0px 8px @shadow-color-highlight","outline-blur-size":"0","outline-width":"0px","btn-font-weight":"500","btn-border-radius-base":"3px","btn-border-radius-sm":"3px","btn-primary-color":"#fff","btn-primary-shadow":"rgba(35, 138, 254, 0.2)","btn-default-hover-bg":"#fff","btn-default-shadow":"rgba(219, 224, 227, 0.2)","btn-tertiary-bg":"rgba(@grey-400, 0.15)","btn-tertiary-hover-bg":"rgba(@grey-400, 0.25)","btn-tertiary-focus-bg":"rgba(@grey-400, 0.15)","btn-tertiary-active-bg":"rgba(@grey-400, 0.35)","btn-tertiary-border":"transparent","btn-tertiary-shadow":"rgba(219, 224, 227, 0.2)","btn-tertiary-white-color":"#fff","btn-tertiary-white-bg":"rgba(@gray-color-lighter-5, 0.15)","btn-tertiary-white-hover-bg":"rgba(@gray-color-lighter-5, 0.25)","btn-tertiary-white-focus-bg":"rgba(@gray-color-lighter-5, 0.15)","btn-tertiary-white-active-bg":"rgba(@gray-color-lighter-5, 0.1)","btn-tertiary-white-border":"transparent","btn-ghost-bg":"transparent","btn-ghost-hover-bg":"rgba(@grey-400, 0.25)","btn-ghost-focus-bg":"transparent","btn-ghost-active-bg":"rgba(@grey-400, 0.35)","btn-ghost-border":"transparent","btn-ghost-shadow":"rgba(219, 224, 227, 0.2)","btn-ghost-primary-bg":"transparent","btn-ghost-primary-hover-bg":"rgba(@gray-color-lighter-4, 0.25)","btn-ghost-primary-focus-bg":"transparent","btn-ghost-primary-active-bg":"rgba(@gray-color-lighter-4, 0.35)","btn-ghost-primary-border":"transparent","btn-ghost-white-color":"#fff","btn-ghost-white-bg":"transparent","btn-ghost-white-hover-bg":"rgba(@gray-color-lighter-3, 0.25)","btn-ghost-white-focus-bg":"transparent","btn-ghost-white-active-bg":"rgba(@gray-color-lighter-3, 0.1)","btn-ghost-white-border":"transparent","btn-danger-color":"#fff","btn-danger-shadow":"rgba(255, 90, 77, 0.2)","btn-success-color":"#fff","btn-success-shadow":"rgba(118, 220, 37, 0.2)","btn-warning-color":"#fff","btn-warning-shadow":"rgba(255, 195, 0, 0.2)","btn-gray-color":"#fff","btn-flat-bg":"transparent","btn-flat-border":"transparent","btn-primary-on-blue-color":"#fff","btn-disable-primary-color":"#fff","btn-disable-primary-bg":"rgba(@blue-600, 0.4)","btn-disable-primary-border":"transparent","btn-disable-default-color":"rgba(@grey-700, 0.4)","btn-disable-default-bg":"rgba(@grey-050, 0.4)","btn-disable-tertiary-color":"rgba(@grey-700, 0.4)","btn-disable-tertiary-bg":"rgba(@grey-400, 0.15)","btn-disable-tertiary-border":"transparent","btn-disable-tertiary-white-color":"rgba(@white, 0.4)","btn-disable-tertiary-white-bg":"rgba(@grey-300, 0.15)","btn-disable-tertiary-white-border":"transparent","btn-disable-ghost-color":"rgba(@grey-700, 0.4)","btn-disable-ghost-bg":"transparent","btn-disable-ghost-border":"transparent","btn-disable-ghost-primary-color":"rgb(@primary-color, 0.4)","btn-disable-ghost-primary-bg":"transparent","btn-disable-ghost-primary-border":"transparent","btn-disable-ghost-white-color":"rgb(@white, 0.4)","btn-disable-ghost-white-bg":"transparent","btn-disable-ghost-white-border":"transparent","btn-disable-danger-color":"#fff","btn-disable-danger-bg":"rgba(@red-600, 0.4)","btn-disable-danger-border":"transparent","btn-disable-success-color":"#fff","btn-disable-success-bg":"rgba(@green-600, 0.4)","btn-disable-success-border":"transparent","btn-disable-warning-color":"#fff","btn-disable-warning-bg":"rgba(@yellow-600, 0.4)","btn-disable-warning-border":"transparent","btn-disable-flat-bg":"transparent","btn-disable-flat-border":"transparent","btn-padding-base":"0 16px","btn-font-size-lg":"16px","btn-font-size-sm":"12px","btn-padding-lg":"0 24px","btn-padding-sm":"0 12px","btn-height-base":"32px","btn-height-lg":"48px","btn-height-sm":"28px","btn-circle-size":"32px","btn-circle-size-lg":"48px","btn-circle-size-sm":"28px","tag-border-radius-base":"16px","tag-font-size":"10px","grid-columns":"24","grid-gutter-width":"0","radio-size":"16px","radio-button-bg":"#fff","label-font-size":"13px","label-line-height":"32px","form-item-margin-bottom":"16px","form-item-trailing-colon":"true","form-vertical-label-padding":"0 0 8px","form-vertical-label-margin":"0","input-height-base":"32px","input-height-lg":"48px","input-height-sm":"24px","input-padding-vertical-base":"4px","input-padding-vertical-sm":"1px","input-padding-vertical-lg":"6px","input-border-width":"2px","input-bg":"#fff","input-font-size-lg":"13px","input-font-size-base":"13px","input-line-height-base":"13px","table-padding-vertical":"16px","table-padding-horizontal":"16px","tooltip-arrow-width":"5px","tooltip-distance":"4px","tooltip-arrow-color":"transparent","modal-mask-bg":"rgba(0, 0, 0, 0.2)","pagination-item-size-sm":"32px","slider-margin":"32px 0px 10px","slider-handle-color-focus":"tint(@primary-color, 20%)","slider-handle-color-focus-shadow":"tint(@primary-color, 50%)","slider-dot-border-color-active":"tint(@primary-color, 50%)","slider-disabled-background-color":"#fff","select-item-selected-font-weight":"500","select-item-selected-bg":"#fff","zindex-affix":"10","zindex-back-top":"10","zindex-modal-mask":"991000","zindex-modal":"991000","zindex-notification":"991010","zindex-message":"991010","zindex-popover":"991030","zindex-picker":"991050","zindex-dropdown":"991050","zindex-popoconfirm":"991055","zindex-tooltip":"991060","zindex-content-editor":"990999","zindex-popper":"991010","switch-height":"22px","switch-sm-height":"16px","switch-disabled-opacity":"0.4","heading-1-size":"24px","heading-2-size":"21px","heading-3-size":"18px","heading-4-size":"16px","typography-title-font-weight":"500"}}]);
1
+
2
+ const colors = {
3
+ "red-900": "#520004",
4
+ "red-800": "#87020b",
5
+ "red-700": "#cf1413",
6
+ "red-600": "#f52922",
7
+ "red-500": "#ff5a4d",
8
+ "red-400": "#ff8475",
9
+ "red-300": "#ffab9e",
10
+ "red-200": "#ffd1c7",
11
+ "red-100": "#ffece8",
12
+ "red-050": "#fff6f4",
13
+ "green-900": "#0d2b00",
14
+ "green-800": "#2a7003",
15
+ "green-700": "#399903",
16
+ "green-600": "#54cb0b",
17
+ "green-500": "#76dc25",
18
+ "green-400": "#9aed45",
19
+ "green-300": "#c5ff7e",
20
+ "green-200": "#d9ffa0",
21
+ "green-100": "#ecffce",
22
+ "green-050": "#f9ffed",
23
+ "grey-900": "#232936",
24
+ "grey-800": "#384350",
25
+ "grey-700": "#57616d",
26
+ "grey-600": "#6a7580",
27
+ "grey-500": "#949ea6",
28
+ "grey-400": "#b5bdc3",
29
+ "grey-300": "#dbe0e3",
30
+ "grey-200": "#e9edee",
31
+ "grey-100": "#f3f5f6",
32
+ "grey-050": "#f9fafb",
33
+ "yellow-900": "#5e3d00",
34
+ "yellow-800": "#bf8300",
35
+ "yellow-700": "#eda600",
36
+ "yellow-600": "#fab700",
37
+ "yellow-500": "#ffc300",
38
+ "yellow-400": "#ffda24",
39
+ "yellow-300": "#ffe873",
40
+ "yellow-200": "#fff8d7",
41
+ "yellow-100": "#fffae3",
42
+ "yellow-050": "#fffcf0",
43
+ "blue-900": "#01026e",
44
+ "blue-800": "#00039e",
45
+ "blue-700": "#0044d9",
46
+ "blue-600": "#0b68ff",
47
+ "blue-500": "#238afe",
48
+ "blue-400": "#4da7fe",
49
+ "blue-300": "#8bcaff",
50
+ "blue-200": "#bce1ff",
51
+ "blue-100": "#d9eeff",
52
+ "blue-050": "#f4faff",
53
+ "pink-900": "#5d001c",
54
+ "pink-800": "#a80732",
55
+ "pink-700": "#d41640",
56
+ "pink-600": "#ff2f52",
57
+ "pink-500": "#ff4d67",
58
+ "pink-400": "#ff7586",
59
+ "pink-300": "#fe9da5",
60
+ "pink-200": "#ffc9ce",
61
+ "pink-100": "#ffebeb",
62
+ "pink-050": "#fff5f5",
63
+ "mars-900": "#770b05",
64
+ "mars-800": "#c41b03",
65
+ "mars-700": "#e43812",
66
+ "mars-600": "#ff5831",
67
+ "mars-500": "#ff6c4d",
68
+ "mars-400": "#ff8770",
69
+ "mars-300": "#ffa999",
70
+ "mars-200": "#ffcbc1",
71
+ "mars-100": "#ffe9e9",
72
+ "mars-050": "#fff3f3",
73
+ "orange-900": "#5f0900",
74
+ "orange-800": "#cc3a01",
75
+ "orange-700": "#ed5603",
76
+ "orange-600": "#f97600",
77
+ "orange-500": "#fd9f05",
78
+ "orange-400": "#ffba24",
79
+ "orange-300": "#ffd373",
80
+ "orange-200": "#ffe3a6",
81
+ "orange-100": "#fff5e0",
82
+ "orange-050": "#fffaf0",
83
+ "fern-900": "#002b0d",
84
+ "fern-800": "#03701f",
85
+ "fern-700": "#039929",
86
+ "fern-600": "#0bcb38",
87
+ "fern-500": "#25dc44",
88
+ "fern-400": "#45ed58",
89
+ "fern-300": "#7eff87",
90
+ "fern-200": "#a0ffa2",
91
+ "fern-100": "#ceffce",
92
+ "fern-050": "#edffed",
93
+ "cyan-900": "#002429",
94
+ "cyan-800": "#00494f",
95
+ "cyan-700": "#007075",
96
+ "cyan-600": "#089b9c",
97
+ "cyan-500": "#13c2bc",
98
+ "cyan-400": "#36cfc4",
99
+ "cyan-300": "#6cdfd4",
100
+ "cyan-200": "#87e8db",
101
+ "cyan-100": "#b5f5ea",
102
+ "cyan-050": "#e6fffa",
103
+ "purple-900": "#10033d",
104
+ "purple-800": "#1f0763",
105
+ "purple-700": "#35108a",
106
+ "purple-600": "#4e1daf",
107
+ "purple-500": "#6d2ed3",
108
+ "purple-400": "#8e54e0",
109
+ "purple-300": "#b88cee",
110
+ "purple-200": "#d1adf7",
111
+ "purple-100": "#eedbff",
112
+ "purple-050": "#f9f0ff",
113
+ "violet-900": "#3b0352",
114
+ "violet-800": "#5b0678",
115
+ "violet-700": "#7e109e",
116
+ "violet-600": "#a41dc4",
117
+ "violet-500": "#ce2feb",
118
+ "violet-400": "#e459f7",
119
+ "violet-300": "#f585ff",
120
+ "violet-200": "#fbadff",
121
+ "violet-100": "#fed6ff",
122
+ "violet-050": "#fff0ff",
123
+ "white": "#ffffff"
124
+ };
125
+ const variables = {
126
+ "primary-color-darker-3": "#01026e",
127
+ "primary-color-darker-2": "#00039e",
128
+ "primary-color-darker-1": "#0044d9",
129
+ "primary-color": "#0b68ff",
130
+ "primary-color-lighter-1": "#238afe",
131
+ "primary-color-lighter-2": "#4da7fe",
132
+ "primary-color-lighter-3": "#8bcaff",
133
+ "primary-color-lighter-4": "#bce1ff",
134
+ "primary-color-lighter-5": "#d9eeff",
135
+ "primary-color-lighter-6": "#f4faff",
136
+ "primary-color-opacity-4": "rgba(11, 104, 255, 0.4)",
137
+ "gray-color-darker-1": "#232936",
138
+ "gray-color": "#384350",
139
+ "gray-color-lighter-1": "#57616d",
140
+ "gray-color-lighter-2": "#6a7580",
141
+ "gray-color-lighter-3": "#949ea6",
142
+ "gray-color-lighter-4": "#b5bdc3",
143
+ "gray-color-lighter-5": "#dbe0e3",
144
+ "gray-color-lighter-6": "#e9edee",
145
+ "gray-color-lighter-7": "#f3f5f6",
146
+ "gray-color-lighter-8": "#f9fafb",
147
+ "gray-color-opacity-1": "rgba(181, 189, 195, 0.15)",
148
+ "gray-color-opacity-2": "rgba(181, 189, 195, 0.25)",
149
+ "gray-color-opacity-3": "rgba(181, 189, 195, 0.35)",
150
+ "gray-color-opacity-4": "rgba(249, 250, 251, 0.4)",
151
+ "gray-color-opacity-5": "rgba(87, 97, 109, 0.4)",
152
+ "gray-color-opacity-6": "rgba(219, 224, 227, 0.15)",
153
+ "secondary-color-darker-3": "#520004",
154
+ "secondary-color-darker-2": "#87020b",
155
+ "secondary-color-darker-1": "#cf1413",
156
+ "secondary-color": "#f52922",
157
+ "secondary-color-lighter-1": "#ff5a4d",
158
+ "secondary-color-lighter-2": "#ff8475",
159
+ "secondary-color-lighter-3": "#ffab9e",
160
+ "secondary-color-lighter-4": "#ffd1c7",
161
+ "secondary-color-lighter-5": "#ffece8",
162
+ "secondary-color-lighter-6": "#fff6f4",
163
+ "red-color-darker-3": "#520004",
164
+ "red-color-darker-2": "#87020b",
165
+ "red-color-darker-1": "#cf1413",
166
+ "red-color": "#f52922",
167
+ "red-color-lighter-1": "#ff5a4d",
168
+ "red-color-lighter-2": "#ff8475",
169
+ "red-color-lighter-3": "#ffab9e",
170
+ "red-color-lighter-4": "#ffd1c7",
171
+ "red-color-lighter-5": "#ffece8",
172
+ "red-color-lighter-6": "#fff6f4",
173
+ "red-color-opacity-4": "rgba(245, 41, 34, 0.4)",
174
+ "orange-color-darker-3": "#5f0900",
175
+ "orange-color-darker-2": "#cc3a01",
176
+ "orange-color-darker-1": "#ed5603",
177
+ "orange-color": "#f97600",
178
+ "orange-color-lighter-1": "#fd9f05",
179
+ "orange-color-lighter-2": "#ffba24",
180
+ "orange-color-lighter-3": "#ffd373",
181
+ "orange-color-lighter-4": "#ffe3a6",
182
+ "orange-color-lighter-5": "#fff5e0",
183
+ "orange-color-lighter-6": "#fffaf0",
184
+ "yellow-color-darker-3": "#5e3d00",
185
+ "yellow-color-darker-2": "#bf8300",
186
+ "yellow-color-darker-1": "#eda600",
187
+ "yellow-color": "#fab700",
188
+ "yellow-color-lighter-1": "#ffc300",
189
+ "yellow-color-lighter-2": "#ffda24",
190
+ "yellow-color-lighter-3": "#ffe873",
191
+ "yellow-color-lighter-4": "#fff8d7",
192
+ "yellow-color-lighter-5": "#fffae3",
193
+ "yellow-color-lighter-6": "#fffcf0",
194
+ "yellow-color-opacity-4": "rgba(250, 183, 0, 0.4)",
195
+ "green-color-darker-3": "#0d2b00",
196
+ "green-color-darker-2": "#2a7003",
197
+ "green-color-darker-1": "#399903",
198
+ "green-color": "#54cb0b",
199
+ "green-color-lighter-1": "#76dc25",
200
+ "green-color-lighter-2": "#9aed45",
201
+ "green-color-lighter-3": "#c5ff7e",
202
+ "green-color-lighter-4": "#d9ffa0",
203
+ "green-color-lighter-5": "#ecffce",
204
+ "green-color-lighter-6": "#f9ffed",
205
+ "green-color-opacity-4": "rgba(84, 203, 11, 0.4)",
206
+ "cyan-color-darker-3": "#002429",
207
+ "cyan-color-darker-2": "#00494f",
208
+ "cyan-color-darker-1": "#007075",
209
+ "cyan-color": "#089b9c",
210
+ "cyan-color-lighter-1": "#13c2bc",
211
+ "cyan-color-lighter-2": "#36cfc4",
212
+ "cyan-color-lighter-3": "#6cdfd4",
213
+ "cyan-color-lighter-4": "#87e8db",
214
+ "cyan-color-lighter-5": "#b5f5ea",
215
+ "cyan-color-lighter-6": "#e6fffa",
216
+ "purple-color-darker-3": "#10033d",
217
+ "purple-color-darker-2": "#1f0763",
218
+ "purple-color-darker-1": "#35108a",
219
+ "purple-color": "#4e1daf",
220
+ "purple-color-lighter-1": "#6d2ed3",
221
+ "purple-color-lighter-2": "#8e54e0",
222
+ "purple-color-lighter-3": "#b88cee",
223
+ "purple-color-lighter-4": "#d1adf7",
224
+ "purple-color-lighter-5": "#eedbff",
225
+ "purple-color-lighter-6": "#f9f0ff",
226
+ "violet-color-darker-3": "#3b0352",
227
+ "violet-color-darker-2": "#5b0678",
228
+ "violet-color-darker-1": "#7e109e",
229
+ "violet-color": "#a41dc4",
230
+ "violet-color-lighter-1": "#ce2feb",
231
+ "violet-color-lighter-2": "#e459f7",
232
+ "violet-color-lighter-3": "#f585ff",
233
+ "violet-color-lighter-4": "#fbadff",
234
+ "violet-color-lighter-5": "#fed6ff",
235
+ "violet-color-lighter-6": "#fff0ff",
236
+ "lime-color-darker-3": "#0d2b00",
237
+ "lime-color-darker-2": "#2a7003",
238
+ "lime-color-darker-1": "#399903",
239
+ "lime-color": "#54cb0b",
240
+ "lime-color-lighter-1": "#76dc25",
241
+ "lime-color-lighter-2": "#9aed45",
242
+ "lime-color-lighter-3": "#c5ff7e",
243
+ "lime-color-lighter-4": "#d9ffa0",
244
+ "lime-color-lighter-5": "#ecffce",
245
+ "lime-color-lighter-6": "#f9ffed",
246
+ "warning-color": "#fab700",
247
+ "success-color": "#54cb0b",
248
+ "error-color": "#f52922",
249
+ "background-color": "#f2f5f6",
250
+ "white": "#fff",
251
+ "body-background": "#f2f5f6",
252
+ "component-background": "#fff",
253
+ "code-family": "Consolas, Menlo, Courier, monospace",
254
+ "heading-color": "#384350",
255
+ "text-color": "#6a7580",
256
+ "text-color-secondary": "#232936",
257
+ "heading-color-dark": "#e9edee",
258
+ "text-color-dark": "#f3f5f6",
259
+ "text-color-secondary-dark": "#f9fafb",
260
+ "font-size-base": "13px",
261
+ "font-size-lg": "13px",
262
+ "font-size-sm": "11px",
263
+ "line-height-base": "1.38",
264
+ "border-radius-base": "3px",
265
+ "border-radius-sm": "3px",
266
+ "padding-lg": "32px",
267
+ "padding-md": "16px",
268
+ "padding-sm": "12px",
269
+ "padding-xs": "8px",
270
+ "link-color": "#0b68ff",
271
+ "link-hover-color": "#238afe",
272
+ "link-active-color": "#0b68ff",
273
+ "link-decoration": "none",
274
+ "link-hover-decoration": "underline",
275
+ "control-padding-horizontal": "16px",
276
+ "control-padding-horizontal-sm": "8px",
277
+ "item-active-bg": "#d9eeff",
278
+ "item-hover-bg": "#f4faff",
279
+ "border-color-base": "#dbe0e3",
280
+ "border-color-split": "#e9edee",
281
+ "border-width-base": "1px",
282
+ "border-style-base": "solid",
283
+ "background-color-light": "#e9edee",
284
+ "background-color-base": "#f3f5f6",
285
+ "disabled-color": "#b5bdc3",
286
+ "disabled-bg": "#f3f5f6",
287
+ "disabled-color-dark": "#e9edee",
288
+ "shadow-color": "rgba(171, 178, 183, 0.12)",
289
+ "shadow-color-highlight": "rgba(171, 178, 183, 1)",
290
+ "box-shadow-base": "0 2px 6px rgba(171, 178, 183, 0.12)",
291
+ "box-shadow-active": "0 8px 16px rgba(171, 178, 183, 0.32)",
292
+ "shadow-1-up": "0 0px 8px rgba(171, 178, 183, 0.12)",
293
+ "shadow-1-down": "0 2px 8px rgba(171, 178, 183, 0.12)",
294
+ "shadow-1-left": "-2px 0 8px rgba(171, 178, 183, 0.12)",
295
+ "shadow-1-right": "2px 0 8px rgba(171, 178, 183, 0.12)",
296
+ "shadow-2": "0 2px 6px rgba(171, 178, 183, 0.12)",
297
+ "shadow-highlight": "0 0px 8px rgba(171, 178, 183, 1)",
298
+ "outline-blur-size": "0",
299
+ "outline-width": "0px",
300
+ "outline-color": "#b5bdc3",
301
+ "btn-font-weight": "500",
302
+ "btn-border-radius-base": "3px",
303
+ "btn-border-radius-sm": "3px",
304
+ "btn-primary-color": "#fff",
305
+ "btn-primary-bg": "#0b68ff",
306
+ "btn-primary-hover-bg": "#238afe",
307
+ "btn-primary-focus-bg": "#0044d9",
308
+ "btn-primary-active-bg": "#0044d9",
309
+ "btn-primary-shadow": "rgba(35, 138, 254, 0.2)",
310
+ "btn-default-color": "#57616d",
311
+ "btn-default-bg": "#f9fafb",
312
+ "btn-default-border": "#dbe0e3",
313
+ "btn-default-focus-bg": "#f9fafb",
314
+ "btn-default-active-bg": "#f3f5f6",
315
+ "btn-default-hover-bg": "#fff",
316
+ "btn-default-shadow": "rgba(219, 224, 227, 0.2)",
317
+ "btn-tertiary-color": "#57616d",
318
+ "btn-tertiary-bg": "rgba(181, 189, 195, 0.15)",
319
+ "btn-tertiary-hover-bg": "rgba(181, 189, 195, 0.25)",
320
+ "btn-tertiary-focus-bg": "rgba(181, 189, 195, 0.15)",
321
+ "btn-tertiary-active-bg": "rgba(181, 189, 195, 0.35)",
322
+ "btn-tertiary-border": "transparent",
323
+ "btn-tertiary-shadow": "rgba(219, 224, 227, 0.2)",
324
+ "btn-tertiary-white-color": "#fff",
325
+ "btn-tertiary-white-bg": "rgba(219, 224, 227, 0.15)",
326
+ "btn-tertiary-white-hover-bg": "rgba(219, 224, 227, 0.25)",
327
+ "btn-tertiary-white-focus-bg": "rgba(219, 224, 227, 0.15)",
328
+ "btn-tertiary-white-active-bg": "rgba(219, 224, 227, 0.1)",
329
+ "btn-tertiary-white-border": "transparent",
330
+ "btn-ghost-color": "#57616d",
331
+ "btn-ghost-bg": "transparent",
332
+ "btn-ghost-hover-bg": "rgba(181, 189, 195, 0.25)",
333
+ "btn-ghost-focus-bg": "transparent",
334
+ "btn-ghost-active-bg": "rgba(181, 189, 195, 0.35)",
335
+ "btn-ghost-border": "transparent",
336
+ "btn-ghost-shadow": "rgba(219, 224, 227, 0.2)",
337
+ "btn-ghost-primary-color": "#0b68ff",
338
+ "btn-ghost-primary-bg": "transparent",
339
+ "btn-ghost-primary-hover-bg": "rgba(181, 189, 195, 0.25)",
340
+ "btn-ghost-primary-focus-bg": "transparent",
341
+ "btn-ghost-primary-active-bg": "rgba(181, 189, 195, 0.35)",
342
+ "btn-ghost-primary-border": "transparent",
343
+ "btn-ghost-white-color": "#fff",
344
+ "btn-ghost-white-bg": "transparent",
345
+ "btn-ghost-white-hover-bg": "rgba(148, 158, 166, 0.25)",
346
+ "btn-ghost-white-focus-bg": "transparent",
347
+ "btn-ghost-white-active-bg": "rgba(148, 158, 166, 0.1)",
348
+ "btn-ghost-white-border": "transparent",
349
+ "btn-danger-color": "#fff",
350
+ "btn-danger-bg": "#f52922",
351
+ "btn-danger-border": "#f52922",
352
+ "btn-danger-hover-bg": "#ff5a4d",
353
+ "btn-danger-active-bg": "#cf1413",
354
+ "btn-danger-focus-bg": "#f52922",
355
+ "btn-danger-ghost-bg": "#fff6f4",
356
+ "btn-danger-shadow": "rgba(255, 90, 77, 0.2)",
357
+ "btn-success-color": "#fff",
358
+ "btn-success-bg": "#54cb0b",
359
+ "btn-success-border": "#54cb0b",
360
+ "btn-success-hover-bg": "#76dc25",
361
+ "btn-success-focus-bg": "#54cb0b",
362
+ "btn-success-active-bg": "#399903",
363
+ "btn-success-shadow": "rgba(118, 220, 37, 0.2)",
364
+ "btn-warning-color": "#fff",
365
+ "btn-warning-bg": "#fab700",
366
+ "btn-warning-border": "#fab700",
367
+ "btn-warning-hover-bg": "#ffc300",
368
+ "btn-warning-focus-bg": "#fab700",
369
+ "btn-warning-active-bg": "#eda600",
370
+ "btn-warning-shadow": "rgba(255, 195, 0, 0.2)",
371
+ "btn-gray-color": "#fff",
372
+ "btn-gray-bg": "#949ea6",
373
+ "btn-gray-border": "#949ea6",
374
+ "btn-gray-hover-bg": "#b5bdc3",
375
+ "btn-dark-color": "#b5bdc3",
376
+ "btn-dark-bg": "#57616d",
377
+ "btn-dark-border": "#57616d",
378
+ "btn-dark-hover-bg": "#6a7580",
379
+ "btn-flat-color": "#6a7580",
380
+ "btn-flat-bg": "transparent",
381
+ "btn-flat-border": "transparent",
382
+ "btn-flat-hover-color": "#232936",
383
+ "btn-primary-on-blue-color": "#fff",
384
+ "btn-primary-on-blue-bg": "#238afe",
385
+ "btn-primary-on-blue-hover-bg": "#4da7fe",
386
+ "btn-disable-primary-on-blue-color": "#8bcaff",
387
+ "btn-disable-primary-on-blue-bg": "#238afe",
388
+ "btn-disable-primary-color": "#fff",
389
+ "btn-disable-primary-bg": "rgba(11, 104, 255, 0.4)",
390
+ "btn-disable-primary-border": "transparent",
391
+ "btn-disable-default-color": "rgba(87, 97, 109, 0.4)",
392
+ "btn-disable-default-bg": "rgba(249, 250, 251, 0.4)",
393
+ "btn-disable-default-border": "#e9edee",
394
+ "btn-disable-tertiary-color": "rgba(87, 97, 109, 0.4)",
395
+ "btn-disable-tertiary-bg": "rgba(181, 189, 195, 0.15)",
396
+ "btn-disable-tertiary-border": "transparent",
397
+ "btn-disable-tertiary-white-color": "rgba(255, 255, 255, 0.4)",
398
+ "btn-disable-tertiary-white-bg": "rgba(219, 224, 227, 0.15)",
399
+ "btn-disable-tertiary-white-border": "transparent",
400
+ "btn-disable-ghost-color": "rgba(87, 97, 109, 0.4)",
401
+ "btn-disable-ghost-bg": "transparent",
402
+ "btn-disable-ghost-border": "transparent",
403
+ "btn-disable-ghost-primary-color": "rgb(#0b68ff, 0.4)",
404
+ "btn-disable-ghost-primary-bg": "transparent",
405
+ "btn-disable-ghost-primary-border": "transparent",
406
+ "btn-disable-ghost-white-color": "rgba(255, 255, 255, 0.4)",
407
+ "btn-disable-ghost-white-bg": "transparent",
408
+ "btn-disable-ghost-white-border": "transparent",
409
+ "btn-disable-gray-color": "#b5bdc3",
410
+ "btn-disable-gray-bg": "#f9fafb",
411
+ "btn-disable-gray-border": "#dbe0e3",
412
+ "btn-disable-dark-color": "#949ea6",
413
+ "btn-disable-dark-bg": "#232936",
414
+ "btn-disable-dark-border": "#232936",
415
+ "btn-disable-danger-color": "#fff",
416
+ "btn-disable-danger-bg": "rgba(245, 41, 34, 0.4)",
417
+ "btn-disable-danger-border": "transparent",
418
+ "btn-disable-success-color": "#fff",
419
+ "btn-disable-success-bg": "rgba(84, 203, 11, 0.4)",
420
+ "btn-disable-success-border": "transparent",
421
+ "btn-disable-warning-color": "#fff",
422
+ "btn-disable-warning-bg": "rgba(250, 183, 0, 0.4)",
423
+ "btn-disable-warning-border": "transparent",
424
+ "btn-disable-flat-color": "#b5bdc3",
425
+ "btn-disable-flat-bg": "transparent",
426
+ "btn-disable-flat-border": "transparent",
427
+ "btn-padding-base": "0 16px",
428
+ "btn-font-size-lg": "16px",
429
+ "btn-font-size-sm": "12px",
430
+ "btn-padding-lg": "0 24px",
431
+ "btn-padding-sm": "0 12px",
432
+ "btn-height-base": "32px",
433
+ "btn-height-lg": "48px",
434
+ "btn-height-sm": "28px",
435
+ "btn-circle-size": "32px",
436
+ "btn-circle-size-lg": "48px",
437
+ "btn-circle-size-sm": "28px",
438
+ "btn-group-border": "#238afe",
439
+ "tag-default-border": "#949ea6",
440
+ "tag-default-color": "#949ea6",
441
+ "tag-border-radius-base": "16px",
442
+ "tag-font-size": "10px",
443
+ "grid-columns": "24",
444
+ "grid-gutter-width": "0",
445
+ "radio-size": "16px",
446
+ "radio-dot-color": "#0b68ff",
447
+ "radio-button-bg": "#fff",
448
+ "label-required-color": "#f52922",
449
+ "label-color": "#384350",
450
+ "label-font-size": "13px",
451
+ "label-line-height": "32px",
452
+ "form-item-margin-bottom": "16px",
453
+ "form-item-trailing-colon": "true",
454
+ "form-vertical-label-padding": "0 0 8px",
455
+ "form-vertical-label-margin": "0",
456
+ "input-height-base": "32px",
457
+ "input-height-lg": "48px",
458
+ "input-height-sm": "24px",
459
+ "input-padding-vertical-base": "4px",
460
+ "input-padding-vertical-sm": "1px",
461
+ "input-padding-vertical-lg": "6px",
462
+ "input-placeholder-color": "#b5bdc3",
463
+ "input-color": "#6a7580",
464
+ "input-border-color": "#dbe0e3",
465
+ "input-border-width": "2px",
466
+ "input-bg": "#fff",
467
+ "input-addon-bg": "#e9edee",
468
+ "input-hover-border-color": "#b5bdc3",
469
+ "input-disabled-bg": "#f9fafb",
470
+ "input-font-size-lg": "13px",
471
+ "input-font-size-base": "13px",
472
+ "input-line-height-base": "13px",
473
+ "input-background-color-focus": "#f4faff",
474
+ "table-header-bg": "#f9fafb",
475
+ "table-header-sort-bg": "#f3f5f6",
476
+ "table-padding-vertical": "16px",
477
+ "table-padding-horizontal": "16px",
478
+ "table-selected-row-bg": "#f4faff",
479
+ "table-row-hover-bg": "#f9fafb",
480
+ "tooltip-bg": "#384350",
481
+ "tooltip-arrow-width": "5px",
482
+ "tooltip-distance": "4px",
483
+ "tooltip-arrow-color": "transparent",
484
+ "modal-mask-bg": "rgba(0, 0, 0, 0.2)",
485
+ "pagination-item-size-sm": "32px",
486
+ "slider-margin": "32px 0px 10px",
487
+ "slider-rail-background-color": "#dbe0e3",
488
+ "slider-rail-background-color-hover": "#e9edee",
489
+ "slider-track-background-color": "#54cb0b",
490
+ "slider-track-background-color-hover": "#76dc25",
491
+ "slider-handle-color": "#b5bdc3",
492
+ "slider-handle-color-hover": "#949ea6",
493
+ "slider-handle-color-focus": "tint(#0b68ff, 20%)",
494
+ "slider-handle-color-focus-shadow": "tint(#0b68ff, 50%)",
495
+ "slider-handle-color-tooltip-open": "#0b68ff",
496
+ "slider-dot-border-color": "#e9edee",
497
+ "slider-dot-border-color-active": "tint(#0b68ff, 50%)",
498
+ "slider-disabled-color": "#b5bdc3",
499
+ "slider-disabled-background-color": "#fff",
500
+ "select-item-selected-font-weight": "500",
501
+ "select-item-selected-bg": "#fff",
502
+ "zindex-affix": "10",
503
+ "zindex-back-top": "10",
504
+ "zindex-modal-mask": "991000",
505
+ "zindex-modal": "991000",
506
+ "zindex-notification": "991010",
507
+ "zindex-message": "991010",
508
+ "zindex-popover": "991030",
509
+ "zindex-picker": "991050",
510
+ "zindex-dropdown": "991050",
511
+ "zindex-popoconfirm": "991055",
512
+ "zindex-tooltip": "991060",
513
+ "zindex-content-editor": "990999",
514
+ "zindex-popper": "991010",
515
+ "switch-height": "22px",
516
+ "switch-sm-height": "16px",
517
+ "switch-disabled-opacity": "0.4",
518
+ "switch-color": "#54cb0b",
519
+ "heading-1-size": "24px",
520
+ "heading-2-size": "21px",
521
+ "heading-3-size": "18px",
522
+ "heading-4-size": "16px",
523
+ "typography-title-font-weight": "500"
524
+ };
525
+
526
+ export default {
527
+ variables,
528
+ colors
529
+ }
@@ -340,7 +340,7 @@
340
340
  @btn-disable-ghost-primary-bg: transparent;
341
341
  @btn-disable-ghost-primary-border: transparent;
342
342
 
343
- @btn-disable-ghost-white-color: rgb(@white, 0.4);
343
+ @btn-disable-ghost-white-color: rgba(@white, 0.4);
344
344
  @btn-disable-ghost-white-bg: transparent;
345
345
  @btn-disable-ghost-white-border: transparent;
346
346
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-core",
3
- "version": "0.43.1",
3
+ "version": "1.0.0",
4
4
  "description": "Core Components for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -22,7 +22,7 @@
22
22
  "build:watch": "npm run build:js -- --watch",
23
23
  "copy": "node ./build/copy.js",
24
24
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
25
- "pack:ci": "npm pack --pack-destination ../../portal/storybook-static/static",
25
+ "pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
26
26
  "prepublish": "npm run build",
27
27
  "test": "jest",
28
28
  "test:watch": "npm run test -- --watchAll",
@@ -32,11 +32,10 @@
32
32
  },
33
33
  "types": "dist/js/index.js",
34
34
  "dependencies": {
35
- "@synerise/ds-data-format": "^0.7.1",
35
+ "@synerise/ds-data-format": "^1.0.0",
36
36
  "deepmerge": "^4.2.2",
37
37
  "flat": "^5.0.2",
38
- "intl-messageformat-parser": "^3.6.4",
39
- "less-vars-loader": "1.1.0"
38
+ "intl-messageformat-parser": "^3.6.4"
40
39
  },
41
40
  "peerDependencies": {
42
41
  "antd": "4.24.16",
@@ -44,5 +43,9 @@
44
43
  "react-intl": ">=3.12.0 <= 6.8",
45
44
  "styled-components": "^5.3.3"
46
45
  },
47
- "gitHead": "23054ac8e90293b1a722acdec723b4bfd5abd6c9"
46
+ "devDependencies": {
47
+ "hex-rgb": "^5.0.0",
48
+ "less-vars-to-js": "^1.3.0"
49
+ },
50
+ "gitHead": "e4c3690238a44b584b9ea41e4aa52b1eec42174b"
48
51
  }