@lidofinance/lido-ui 3.0.1 → 3.1.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.
@@ -12,6 +12,7 @@ _export(exports, {
12
12
  Input: ()=>_input.default,
13
13
  InputGroup: ()=>_inputGroup.default,
14
14
  SliderInput: ()=>_sliderInput.default,
15
+ OptionsSlider: ()=>_optionsSlider.default,
15
16
  Textarea: ()=>_textarea.default
16
17
  });
17
18
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
@@ -19,6 +20,7 @@ const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_defaul
19
20
  const _input = /*#__PURE__*/ _interopRequireDefault(require("./Input"));
20
21
  const _inputGroup = /*#__PURE__*/ _interopRequireDefault(require("./InputGroup"));
21
22
  const _sliderInput = /*#__PURE__*/ _interopRequireDefault(require("./SliderInput"));
23
+ const _optionsSlider = /*#__PURE__*/ _interopRequireDefault(require("./OptionsSlider"));
22
24
  const _textarea = /*#__PURE__*/ _interopRequireDefault(require("./Textarea"));
23
25
  _exportStar(require("./types"), exports);
24
26
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../packages/input/index.ts"],"sourcesContent":["export { default as Input } from './Input'\nexport { default as InputGroup } from './InputGroup'\nexport { default as SliderInput } from './SliderInput'\nexport { default as Textarea } from './Textarea'\nexport * from './types'\n"],"names":["Input","InputGroup","SliderInput","Textarea"],"mappings":"AAAA;;;;;;;;;;;IAAoBA,KAAK,MAALA,MAAK,QAAA;IACLC,UAAU,MAAVA,WAAU,QAAA;IACVC,WAAW,MAAXA,YAAW,QAAA;IACXC,QAAQ,MAARA,SAAQ,QAAA;;;;4DAHK,SAAS;iEACJ,cAAc;kEACb,eAAe;+DAClB,YAAY;oBAClC,SAAS"}
1
+ {"version":3,"sources":["../../../packages/input/index.ts"],"sourcesContent":["export { default as Input } from './Input'\nexport { default as InputGroup } from './InputGroup'\nexport { default as SliderInput } from './SliderInput'\nexport { default as OptionsSlider } from './OptionsSlider'\nexport { default as Textarea } from './Textarea'\nexport * from './types'\n"],"names":["Input","InputGroup","SliderInput","OptionsSlider","Textarea"],"mappings":"AAAA;;;;;;;;;;;IAAoBA,KAAK,MAALA,MAAK,QAAA;IACLC,UAAU,MAAVA,WAAU,QAAA;IACVC,WAAW,MAAXA,YAAW,QAAA;IACXC,aAAa,MAAbA,cAAa,QAAA;IACbC,QAAQ,MAARA,SAAQ,QAAA;;;;4DAJK,SAAS;iEACJ,cAAc;kEACb,eAAe;oEACb,iBAAiB;+DACtB,YAAY;oBAClC,SAAS"}
@@ -30,6 +30,8 @@ const colors = {
30
30
  warning: '#EC8600',
31
31
  warningHover: '#f0a431',
32
32
  warningContrast: '#fff',
33
+ warningBackground: '#FFFAE0',
34
+ textDark: '#273852',
33
35
  success: '#53BA95',
34
36
  successHover: '#5dae5e',
35
37
  successContrast: '#fff'
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../packages/theme/base/colors.ts"],"sourcesContent":["const colors = {\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n primary: '#00a3ff',\n primaryHover: '#009bf2',\n primaryContrast: '#fff',\n primaryVisited: '#4bbeff',\n\n accent: '#27272e',\n accentContrast: '#fff',\n accentContrastSecondary: 'rgba(255, 255, 255, 0.6)',\n accentDarken: 'rgba(0, 0, 0, .2)',\n accentControlBg: 'rgba(0, 0, 0, .1)',\n accentBorder: 'rgba(255, 255, 255, 0.2)',\n accentBorderHover: 'rgba(255, 255, 255, 0.3)',\n\n error: '#e14d4d',\n errorHover: '#d44c4d',\n errorContrast: '#fff',\n\n warning: '#EC8600',\n warningHover: '#f0a431',\n warningContrast: '#fff',\n\n success: '#53BA95',\n successHover: '#5dae5e',\n successContrast: '#fff',\n} as const\n\nexport default { colors }\n"],"names":["colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","primary","primaryHover","primaryContrast","primaryVisited","accent","accentContrast","accentContrastSecondary","accentDarken","accentControlBg","accentBorder","accentBorderHover","error","errorHover","errorContrast","warning","warningHover","warningContrast","success","successHover","successContrast"],"mappings":"AAAA;;;;+BAoCA,SAAyB;;aAAzB,QAAyB;;AApCzB,MAAMA,MAAM,GAAG;IACbC,gBAAgB,EAAE,GAAG;IACrBC,iBAAiB,EAAE,GAAG;IAEtBC,mBAAmB,EAAE,SAAS;IAC9BC,kBAAkB,EAAE,QAAQ;IAE5BC,YAAY,EAAE,SAAS;IACvBC,WAAW,EAAE,MAAM;IAEnBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IACvBC,cAAc,EAAE,SAAS;IAEzBC,MAAM,EAAE,SAAS;IACjBC,cAAc,EAAE,MAAM;IACtBC,uBAAuB,EAAE,0BAA0B;IACnDC,YAAY,EAAE,mBAAmB;IACjCC,eAAe,EAAE,mBAAmB;IACpCC,YAAY,EAAE,0BAA0B;IACxCC,iBAAiB,EAAE,0BAA0B;IAE7CC,KAAK,EAAE,SAAS;IAChBC,UAAU,EAAE,SAAS;IACrBC,aAAa,EAAE,MAAM;IAErBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IAEvBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;CACxB,AAAS;MAEV,QAAyB,GAAV;IAAE1B,MAAM;CAAE"}
1
+ {"version":3,"sources":["../../../../packages/theme/base/colors.ts"],"sourcesContent":["const colors = {\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n primary: '#00a3ff',\n primaryHover: '#009bf2',\n primaryContrast: '#fff',\n primaryVisited: '#4bbeff',\n\n accent: '#27272e',\n accentContrast: '#fff',\n accentContrastSecondary: 'rgba(255, 255, 255, 0.6)',\n accentDarken: 'rgba(0, 0, 0, .2)',\n accentControlBg: 'rgba(0, 0, 0, .1)',\n accentBorder: 'rgba(255, 255, 255, 0.2)',\n accentBorderHover: 'rgba(255, 255, 255, 0.3)',\n\n error: '#e14d4d',\n errorHover: '#d44c4d',\n errorContrast: '#fff',\n\n warning: '#EC8600',\n warningHover: '#f0a431',\n warningContrast: '#fff',\n warningBackground: '#FFFAE0',\n\n textDark: '#273852',\n\n success: '#53BA95',\n successHover: '#5dae5e',\n successContrast: '#fff',\n} as const\n\nexport default { colors }\n"],"names":["colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","primary","primaryHover","primaryContrast","primaryVisited","accent","accentContrast","accentContrastSecondary","accentDarken","accentControlBg","accentBorder","accentBorderHover","error","errorHover","errorContrast","warning","warningHover","warningContrast","warningBackground","textDark","success","successHover","successContrast"],"mappings":"AAAA;;;;+BAuCA,SAAyB;;aAAzB,QAAyB;;AAvCzB,MAAMA,MAAM,GAAG;IACbC,gBAAgB,EAAE,GAAG;IACrBC,iBAAiB,EAAE,GAAG;IAEtBC,mBAAmB,EAAE,SAAS;IAC9BC,kBAAkB,EAAE,QAAQ;IAE5BC,YAAY,EAAE,SAAS;IACvBC,WAAW,EAAE,MAAM;IAEnBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IACvBC,cAAc,EAAE,SAAS;IAEzBC,MAAM,EAAE,SAAS;IACjBC,cAAc,EAAE,MAAM;IACtBC,uBAAuB,EAAE,0BAA0B;IACnDC,YAAY,EAAE,mBAAmB;IACjCC,eAAe,EAAE,mBAAmB;IACpCC,YAAY,EAAE,0BAA0B;IACxCC,iBAAiB,EAAE,0BAA0B;IAE7CC,KAAK,EAAE,SAAS;IAChBC,UAAU,EAAE,SAAS;IACrBC,aAAa,EAAE,MAAM;IAErBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IACvBC,iBAAiB,EAAE,SAAS;IAE5BC,QAAQ,EAAE,SAAS;IAEnBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;CACxB,AAAS;MAEV,QAAyB,GAAV;IAAE5B,MAAM;CAAE"}
@@ -34,6 +34,7 @@ const themeLight = {
34
34
  secondaryContrast: '#fff',
35
35
  background: '#f2f4f6',
36
36
  backgroundDarken: '#dae0e5',
37
+ backgroundSecondary: '#EFF2F6',
37
38
  foreground: '#fff',
38
39
  overlay: 'rgba(0, 0, 0, 0.5)',
39
40
  shadowLight: 'rgba(39, 56, 82, 0.08)',
@@ -68,6 +69,7 @@ const themeDark = {
68
69
  secondaryContrast: '#273852',
69
70
  background: '#1c1c21',
70
71
  backgroundDarken: '#131317',
72
+ backgroundSecondary: '#27272E',
71
73
  foreground: '#34343d',
72
74
  overlay: 'rgba(0, 0, 0, 0.5)',
73
75
  shadowLight: 'rgba(0, 0, 0, .25)',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../packages/theme/themes.ts"],"sourcesContent":["import themeBase from './base'\nimport { ThemeName } from './constants'\n\nexport const themeLight = {\n ...themeBase,\n name: ThemeName.light,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n secondary: '#273852',\n secondaryHover: '#212f45',\n secondaryContrast: '#fff',\n\n background: '#f2f4f6',\n backgroundDarken: '#dae0e5',\n\n foreground: '#fff',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(39, 56, 82, 0.08)',\n shadowDark: 'rgba(0, 0, 0, .25)',\n\n text: '#273852',\n textSecondary: '#7a8aa0',\n accentText: '#273852',\n\n border: 'rgba(0, 10, 61, 0.12)',\n borderActive: 'rgba(0, 10, 61, 0.48)',\n borderHover: 'rgba(0, 10, 61, 0.24)',\n borderLight: '#dfe5eb',\n accentBorder: 'rgba(0, 10, 61, 0.12)',\n accentBorderHover: 'rgba(0, 10, 61, 0.24)',\n\n controlBg: '#fff',\n accentControlBg: 'rgba(239, 242, 246, 0.56)',\n\n popupMenuItemBgActiveHover: '#000a3d',\n },\n}\n\nexport const themeDark = {\n ...themeBase,\n name: ThemeName.dark,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '1',\n lightThemeOpacity: '0',\n\n lightModeVisibility: 'hidden',\n darkModeVisibility: 'visible',\n\n lightDisplay: 'none',\n darkDisplay: 'initial',\n\n secondary: 'rgba(255, 255, 255, .8)',\n secondaryHover: '#fff',\n secondaryContrast: '#273852',\n\n background: '#1c1c21',\n backgroundDarken: '#131317',\n\n foreground: '#34343d',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(0, 0, 0, .25)',\n shadowDark: 'rgba(0, 0, 0, .5)',\n\n text: '#fff',\n textSecondary: 'rgba(255, 255, 255, .8)',\n accentText: '#fff',\n\n border: 'rgba(255, 255, 255, 0.12)',\n borderActive: 'rgba(255, 255, 255, 0.48)',\n borderHover: 'rgba(255, 255, 255, 0.24)',\n borderLight: '#484855',\n accentBorder: 'rgba(255, 255, 255, 0.12)',\n accentBorderHover: 'rgba(255, 255, 255, 0.24)',\n\n controlBg: '#2f2f37',\n accentControlBg: 'rgba(39, 39, 46, 0.56)',\n\n popupMenuItemBgActiveHover: '#fff',\n },\n}\n\nexport const themeMap = {\n [ThemeName.light]: themeLight,\n [ThemeName.dark]: themeDark,\n}\n\nexport const reverseThemeMap = new WeakMap([\n [themeLight, ThemeName.light],\n [themeDark, ThemeName.dark],\n])\n\nexport const themeDefault = themeLight\n"],"names":["themeLight","themeDark","themeMap","reverseThemeMap","themeDefault","themeBase","name","ThemeName","light","colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","secondary","secondaryHover","secondaryContrast","background","backgroundDarken","foreground","overlay","shadowLight","shadowDark","text","textSecondary","accentText","border","borderActive","borderHover","borderLight","accentBorder","accentBorderHover","controlBg","accentControlBg","popupMenuItemBgActiveHover","dark","WeakMap"],"mappings":"AAAA;;;;;;;;;;;IAGaA,UAAU,MAAVA,UAAU;IA8CVC,SAAS,MAATA,SAAS;IA8CTC,QAAQ,MAARA,QAAQ;IAKRC,eAAe,MAAfA,eAAe;IAKfC,YAAY,MAAZA,YAAY;;;2DAzGH,cAAQ;2BACJ,aAAa;AAEhC,MAAMJ,UAAU,GAAG;IACxB,GAAGK,KAAS,QAAA;IACZC,IAAI,EAAEC,UAAS,UAAA,CAACC,KAAK;IACrBC,MAAM,EAAE;QACN,GAAGJ,KAAS,QAAA,CAACI,MAAM;QACnBC,gBAAgB,EAAE,GAAG;QACrBC,iBAAiB,EAAE,GAAG;QAEtBC,mBAAmB,EAAE,SAAS;QAC9BC,kBAAkB,EAAE,QAAQ;QAE5BC,YAAY,EAAE,SAAS;QACvBC,WAAW,EAAE,MAAM;QAEnBC,SAAS,EAAE,SAAS;QACpBC,cAAc,EAAE,SAAS;QACzBC,iBAAiB,EAAE,MAAM;QAEzBC,UAAU,EAAE,SAAS;QACrBC,gBAAgB,EAAE,SAAS;QAE3BC,UAAU,EAAE,MAAM;QAElBC,OAAO,EAAE,oBAAoB;QAE7BC,WAAW,EAAE,wBAAwB;QACrCC,UAAU,EAAE,oBAAoB;QAEhCC,IAAI,EAAE,SAAS;QACfC,aAAa,EAAE,SAAS;QACxBC,UAAU,EAAE,SAAS;QAErBC,MAAM,EAAE,uBAAuB;QAC/BC,YAAY,EAAE,uBAAuB;QACrCC,WAAW,EAAE,uBAAuB;QACpCC,WAAW,EAAE,SAAS;QACtBC,YAAY,EAAE,uBAAuB;QACrCC,iBAAiB,EAAE,uBAAuB;QAE1CC,SAAS,EAAE,MAAM;QACjBC,eAAe,EAAE,2BAA2B;QAE5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C8B,IAAI;KAAC;CAC5B,CAAC;AAEK,MAAMjC,YAAY,GAAGJ,UAAU"}
1
+ {"version":3,"sources":["../../../packages/theme/themes.ts"],"sourcesContent":["import themeBase from './base'\nimport { ThemeName } from './constants'\n\nexport const themeLight = {\n ...themeBase,\n name: ThemeName.light,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n secondary: '#273852',\n secondaryHover: '#212f45',\n secondaryContrast: '#fff',\n\n background: '#f2f4f6',\n backgroundDarken: '#dae0e5',\n backgroundSecondary: '#EFF2F6',\n\n foreground: '#fff',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(39, 56, 82, 0.08)',\n shadowDark: 'rgba(0, 0, 0, .25)',\n\n text: '#273852',\n textSecondary: '#7a8aa0',\n accentText: '#273852',\n\n border: 'rgba(0, 10, 61, 0.12)',\n borderActive: 'rgba(0, 10, 61, 0.48)',\n borderHover: 'rgba(0, 10, 61, 0.24)',\n borderLight: '#dfe5eb',\n accentBorder: 'rgba(0, 10, 61, 0.12)',\n accentBorderHover: 'rgba(0, 10, 61, 0.24)',\n\n controlBg: '#fff',\n accentControlBg: 'rgba(239, 242, 246, 0.56)',\n\n popupMenuItemBgActiveHover: '#000a3d',\n },\n}\n\nexport const themeDark = {\n ...themeBase,\n name: ThemeName.dark,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '1',\n lightThemeOpacity: '0',\n\n lightModeVisibility: 'hidden',\n darkModeVisibility: 'visible',\n\n lightDisplay: 'none',\n darkDisplay: 'initial',\n\n secondary: 'rgba(255, 255, 255, .8)',\n secondaryHover: '#fff',\n secondaryContrast: '#273852',\n\n background: '#1c1c21',\n backgroundDarken: '#131317',\n backgroundSecondary: '#27272E',\n\n foreground: '#34343d',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(0, 0, 0, .25)',\n shadowDark: 'rgba(0, 0, 0, .5)',\n\n text: '#fff',\n textSecondary: 'rgba(255, 255, 255, .8)',\n accentText: '#fff',\n\n border: 'rgba(255, 255, 255, 0.12)',\n borderActive: 'rgba(255, 255, 255, 0.48)',\n borderHover: 'rgba(255, 255, 255, 0.24)',\n borderLight: '#484855',\n accentBorder: 'rgba(255, 255, 255, 0.12)',\n accentBorderHover: 'rgba(255, 255, 255, 0.24)',\n\n controlBg: '#2f2f37',\n accentControlBg: 'rgba(39, 39, 46, 0.56)',\n\n popupMenuItemBgActiveHover: '#fff',\n },\n}\n\nexport const themeMap = {\n [ThemeName.light]: themeLight,\n [ThemeName.dark]: themeDark,\n}\n\nexport const reverseThemeMap = new WeakMap([\n [themeLight, ThemeName.light],\n [themeDark, ThemeName.dark],\n])\n\nexport const themeDefault = themeLight\n"],"names":["themeLight","themeDark","themeMap","reverseThemeMap","themeDefault","themeBase","name","ThemeName","light","colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","secondary","secondaryHover","secondaryContrast","background","backgroundDarken","backgroundSecondary","foreground","overlay","shadowLight","shadowDark","text","textSecondary","accentText","border","borderActive","borderHover","borderLight","accentBorder","accentBorderHover","controlBg","accentControlBg","popupMenuItemBgActiveHover","dark","WeakMap"],"mappings":"AAAA;;;;;;;;;;;IAGaA,UAAU,MAAVA,UAAU;IA+CVC,SAAS,MAATA,SAAS;IA+CTC,QAAQ,MAARA,QAAQ;IAKRC,eAAe,MAAfA,eAAe;IAKfC,YAAY,MAAZA,YAAY;;;2DA3GH,cAAQ;2BACJ,aAAa;AAEhC,MAAMJ,UAAU,GAAG;IACxB,GAAGK,KAAS,QAAA;IACZC,IAAI,EAAEC,UAAS,UAAA,CAACC,KAAK;IACrBC,MAAM,EAAE;QACN,GAAGJ,KAAS,QAAA,CAACI,MAAM;QACnBC,gBAAgB,EAAE,GAAG;QACrBC,iBAAiB,EAAE,GA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AAS;QAErBC,OAAO,EAAE,oBAAoB;QAE7BC,WAAW,EAAE,oBAAoB;QACjCC,UAAU,EAAE,mBAAmB;QAE/BC,IAAI,EAAE,MAAM;QACZC,aAAa,EAAE,yBAAyB;QACxCC,UAAU,EAAE,MAAM;QAElBC,MAAM,EAAE,2BAA2B;QACnCC,YAAY,EAAE,2BAA2B;QACzCC,WAAW,EAAE,2BAA2B;QACxCC,WAAW,EAAE,SAAS;QACtBC,YAAY,EAAE,2BAA2B;QACzCC,iBAAiB,EAAE,2BAA2B;QAE9CC,SAAS,EAAE,SAAS;QACpBC,eAAe,EAAE,wBAAwB;QAEzCC,0BAA0B,EAAE,MAAM;KACnC;CACF;AAEM,MAAMnC,QAAQ,GAAG;IACtB,CAACK,UAAS,UAAA,CAACC,KAAK,CAAC,EAAER,UAAU;IAC7B,CAACO,UAAS,UAAA,CAAC+B,IAAI,CAAC,EAAErC,SAAS;CAC5B;AAEM,MAAME,eAAe,GAAG,IAAIoC,OAAO,CAAC;IACzC;QAACvC,UAAU;QAAEO,UAAS,UAAA,CAACC,KAAK;KAAC;IAC7B;QAACP,SAAS;QAAEM,UAAS,UAAA,CAAC+B,IAAI;KAAC;CAC5B,CAAC;AAEK,MAAMlC,YAAY,GAAGJ,UAAU"}
@@ -1,6 +1,7 @@
1
1
  export { default as Input } from "./Input";
2
2
  export { default as InputGroup } from "./InputGroup";
3
3
  export { default as SliderInput } from "./SliderInput";
4
+ export { default as OptionsSlider } from "./OptionsSlider";
4
5
  export { default as Textarea } from "./Textarea";
5
6
  export * from './types';
6
7
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../packages/input/index.ts"],"sourcesContent":["export { default as Input } from './Input'\nexport { default as InputGroup } from './InputGroup'\nexport { default as SliderInput } from './SliderInput'\nexport { default as Textarea } from './Textarea'\nexport * from './types'\n"],"names":["default","Input","InputGroup","SliderInput","Textarea"],"mappings":"AAAA,SAASA,OAAO,IAAIC,KAAK,QAAQ,SAAS,CAAA;AAC1C,SAASD,OAAO,IAAIE,UAAU,QAAQ,cAAc,CAAA;AACpD,SAASF,OAAO,IAAIG,WAAW,QAAQ,eAAe,CAAA;AACtD,SAASH,OAAO,IAAII,QAAQ,QAAQ,YAAY,CAAA;AAChD,cAAc,SAAS,CAAA"}
1
+ {"version":3,"sources":["../../../packages/input/index.ts"],"sourcesContent":["export { default as Input } from './Input'\nexport { default as InputGroup } from './InputGroup'\nexport { default as SliderInput } from './SliderInput'\nexport { default as OptionsSlider } from './OptionsSlider'\nexport { default as Textarea } from './Textarea'\nexport * from './types'\n"],"names":["default","Input","InputGroup","SliderInput","OptionsSlider","Textarea"],"mappings":"AAAA,SAASA,OAAO,IAAIC,KAAK,QAAQ,SAAS,CAAA;AAC1C,SAASD,OAAO,IAAIE,UAAU,QAAQ,cAAc,CAAA;AACpD,SAASF,OAAO,IAAIG,WAAW,QAAQ,eAAe,CAAA;AACtD,SAASH,OAAO,IAAII,aAAa,QAAQ,iBAAiB,CAAA;AAC1D,SAASJ,OAAO,IAAIK,QAAQ,QAAQ,YAAY,CAAA;AAChD,cAAc,SAAS,CAAA"}
@@ -22,6 +22,8 @@ const colors = {
22
22
  warning: '#EC8600',
23
23
  warningHover: '#f0a431',
24
24
  warningContrast: '#fff',
25
+ warningBackground: '#FFFAE0',
26
+ textDark: '#273852',
25
27
  success: '#53BA95',
26
28
  successHover: '#5dae5e',
27
29
  successContrast: '#fff'
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../packages/theme/base/colors.ts"],"sourcesContent":["const colors = {\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n primary: '#00a3ff',\n primaryHover: '#009bf2',\n primaryContrast: '#fff',\n primaryVisited: '#4bbeff',\n\n accent: '#27272e',\n accentContrast: '#fff',\n accentContrastSecondary: 'rgba(255, 255, 255, 0.6)',\n accentDarken: 'rgba(0, 0, 0, .2)',\n accentControlBg: 'rgba(0, 0, 0, .1)',\n accentBorder: 'rgba(255, 255, 255, 0.2)',\n accentBorderHover: 'rgba(255, 255, 255, 0.3)',\n\n error: '#e14d4d',\n errorHover: '#d44c4d',\n errorContrast: '#fff',\n\n warning: '#EC8600',\n warningHover: '#f0a431',\n warningContrast: '#fff',\n\n success: '#53BA95',\n successHover: '#5dae5e',\n successContrast: '#fff',\n} as const\n\nexport default { colors }\n"],"names":["colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","primary","primaryHover","primaryContrast","primaryVisited","accent","accentContrast","accentContrastSecondary","accentDarken","accentControlBg","accentBorder","accentBorderHover","error","errorHover","errorContrast","warning","warningHover","warningContrast","success","successHover","successContrast"],"mappings":"AAAA,MAAMA,MAAM,GAAG;IACbC,gBAAgB,EAAE,GAAG;IACrBC,iBAAiB,EAAE,GAAG;IAEtBC,mBAAmB,EAAE,SAAS;IAC9BC,kBAAkB,EAAE,QAAQ;IAE5BC,YAAY,EAAE,SAAS;IACvBC,WAAW,EAAE,MAAM;IAEnBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IACvBC,cAAc,EAAE,SAAS;IAEzBC,MAAM,EAAE,SAAS;IACjBC,cAAc,EAAE,MAAM;IACtBC,uBAAuB,EAAE,0BAA0B;IACnDC,YAAY,EAAE,mBAAmB;IACjCC,eAAe,EAAE,mBAAmB;IACpCC,YAAY,EAAE,0BAA0B;IACxCC,iBAAiB,EAAE,0BAA0B;IAE7CC,KAAK,EAAE,SAAS;IAChBC,UAAU,EAAE,SAAS;IACrBC,aAAa,EAAE,MAAM;IAErBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IAEvBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;CACxB,AAAS;AAEV,eAAe;IAAE1B,MAAM;CAAE,CAAA"}
1
+ {"version":3,"sources":["../../../../packages/theme/base/colors.ts"],"sourcesContent":["const colors = {\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n primary: '#00a3ff',\n primaryHover: '#009bf2',\n primaryContrast: '#fff',\n primaryVisited: '#4bbeff',\n\n accent: '#27272e',\n accentContrast: '#fff',\n accentContrastSecondary: 'rgba(255, 255, 255, 0.6)',\n accentDarken: 'rgba(0, 0, 0, .2)',\n accentControlBg: 'rgba(0, 0, 0, .1)',\n accentBorder: 'rgba(255, 255, 255, 0.2)',\n accentBorderHover: 'rgba(255, 255, 255, 0.3)',\n\n error: '#e14d4d',\n errorHover: '#d44c4d',\n errorContrast: '#fff',\n\n warning: '#EC8600',\n warningHover: '#f0a431',\n warningContrast: '#fff',\n warningBackground: '#FFFAE0',\n\n textDark: '#273852',\n\n success: '#53BA95',\n successHover: '#5dae5e',\n successContrast: '#fff',\n} as const\n\nexport default { colors }\n"],"names":["colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","primary","primaryHover","primaryContrast","primaryVisited","accent","accentContrast","accentContrastSecondary","accentDarken","accentControlBg","accentBorder","accentBorderHover","error","errorHover","errorContrast","warning","warningHover","warningContrast","warningBackground","textDark","success","successHover","successContrast"],"mappings":"AAAA,MAAMA,MAAM,GAAG;IACbC,gBAAgB,EAAE,GAAG;IACrBC,iBAAiB,EAAE,GAAG;IAEtBC,mBAAmB,EAAE,SAAS;IAC9BC,kBAAkB,EAAE,QAAQ;IAE5BC,YAAY,EAAE,SAAS;IACvBC,WAAW,EAAE,MAAM;IAEnBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IACvBC,cAAc,EAAE,SAAS;IAEzBC,MAAM,EAAE,SAAS;IACjBC,cAAc,EAAE,MAAM;IACtBC,uBAAuB,EAAE,0BAA0B;IACnDC,YAAY,EAAE,mBAAmB;IACjCC,eAAe,EAAE,mBAAmB;IACpCC,YAAY,EAAE,0BAA0B;IACxCC,iBAAiB,EAAE,0BAA0B;IAE7CC,KAAK,EAAE,SAAS;IAChBC,UAAU,EAAE,SAAS;IACrBC,aAAa,EAAE,MAAM;IAErBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;IACvBC,iBAAiB,EAAE,SAAS;IAE5BC,QAAQ,EAAE,SAAS;IAEnBC,OAAO,EAAE,SAAS;IAClBC,YAAY,EAAE,SAAS;IACvBC,eAAe,EAAE,MAAM;CACxB,AAAS;AAEV,eAAe;IAAE5B,MAAM;CAAE,CAAA"}
@@ -16,6 +16,7 @@ export const themeLight = {
16
16
  secondaryContrast: '#fff',
17
17
  background: '#f2f4f6',
18
18
  backgroundDarken: '#dae0e5',
19
+ backgroundSecondary: '#EFF2F6',
19
20
  foreground: '#fff',
20
21
  overlay: 'rgba(0, 0, 0, 0.5)',
21
22
  shadowLight: 'rgba(39, 56, 82, 0.08)',
@@ -50,6 +51,7 @@ export const themeDark = {
50
51
  secondaryContrast: '#273852',
51
52
  background: '#1c1c21',
52
53
  backgroundDarken: '#131317',
54
+ backgroundSecondary: '#27272E',
53
55
  foreground: '#34343d',
54
56
  overlay: 'rgba(0, 0, 0, 0.5)',
55
57
  shadowLight: 'rgba(0, 0, 0, .25)',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../packages/theme/themes.ts"],"sourcesContent":["import themeBase from './base'\nimport { ThemeName } from './constants'\n\nexport const themeLight = {\n ...themeBase,\n name: ThemeName.light,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n secondary: '#273852',\n secondaryHover: '#212f45',\n secondaryContrast: '#fff',\n\n background: '#f2f4f6',\n backgroundDarken: '#dae0e5',\n\n foreground: '#fff',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(39, 56, 82, 0.08)',\n shadowDark: 'rgba(0, 0, 0, .25)',\n\n text: '#273852',\n textSecondary: '#7a8aa0',\n accentText: '#273852',\n\n border: 'rgba(0, 10, 61, 0.12)',\n borderActive: 'rgba(0, 10, 61, 0.48)',\n borderHover: 'rgba(0, 10, 61, 0.24)',\n borderLight: '#dfe5eb',\n accentBorder: 'rgba(0, 10, 61, 0.12)',\n accentBorderHover: 'rgba(0, 10, 61, 0.24)',\n\n controlBg: '#fff',\n accentControlBg: 'rgba(239, 242, 246, 0.56)',\n\n popupMenuItemBgActiveHover: '#000a3d',\n },\n}\n\nexport const themeDark = {\n ...themeBase,\n name: ThemeName.dark,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '1',\n lightThemeOpacity: '0',\n\n lightModeVisibility: 'hidden',\n darkModeVisibility: 'visible',\n\n lightDisplay: 'none',\n darkDisplay: 'initial',\n\n secondary: 'rgba(255, 255, 255, .8)',\n secondaryHover: '#fff',\n secondaryContrast: '#273852',\n\n background: '#1c1c21',\n backgroundDarken: '#131317',\n\n foreground: '#34343d',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(0, 0, 0, .25)',\n shadowDark: 'rgba(0, 0, 0, .5)',\n\n text: '#fff',\n textSecondary: 'rgba(255, 255, 255, .8)',\n accentText: '#fff',\n\n border: 'rgba(255, 255, 255, 0.12)',\n borderActive: 'rgba(255, 255, 255, 0.48)',\n borderHover: 'rgba(255, 255, 255, 0.24)',\n borderLight: '#484855',\n accentBorder: 'rgba(255, 255, 255, 0.12)',\n accentBorderHover: 'rgba(255, 255, 255, 0.24)',\n\n controlBg: '#2f2f37',\n accentControlBg: 'rgba(39, 39, 46, 0.56)',\n\n popupMenuItemBgActiveHover: '#fff',\n },\n}\n\nexport const themeMap = {\n [ThemeName.light]: themeLight,\n [ThemeName.dark]: themeDark,\n}\n\nexport const reverseThemeMap = new WeakMap([\n [themeLight, ThemeName.light],\n [themeDark, ThemeName.dark],\n])\n\nexport const themeDefault = themeLight\n"],"names":["themeBase","ThemeName","themeLight","name","light","colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","secondary","secondaryHover","secondaryContrast","background","backgroundDarken","foreground","overlay","shadowLight","shadowDark","text","textSecondary","accentText","border","borderActive","borderHover","borderLight","accentBorder","accentBorderHover","controlBg","accentControlBg","popupMenuItemBgActiveHover","themeDark","dark","themeMap","reverseThemeMap","WeakMap","themeDefault"],"mappings":"AAAA,OAAOA,SAAS,MAAM,cAAQ,CAAA;AAC9B,SAASC,SAAS,QAAQ,aAAa,CAAA;AAEvC,OAAO,MAAMC,UAAU,GAAG;IACxB,GAAGF,SAAS;IACZG,IAAI,EAAEF,SAAS,CAACG,KAAK;IACrBC,MAAM,EAAE;QACN,GAAGL,SAAS,CAACK,MAAM;QACnBC,gBAAgB,EAAE,GAAG;QACrBC,iBAAiB,EAAE,GAAG;QAEtBC,mBAAmB,EAAE,SAAS;QAC9BC,kBAAkB,EAAE,QAAQ;QAE5BC,YAAY,EAAE,SAAS;QACvBC,WAAW,EAAE,MAAM;QAEnBC,SAAS,EAAE,SAAS;QACpBC,cAAc,EAAE,SAAS;QACzBC,iBAAiB,EAAE,MAAM;QAEzBC,UAAU,EAAE,SAAS;QACrBC,gBAAgB,EAAE,SAAS;QAE3BC,UAAU,EAAE,MAAM;QAElBC,OAAO,EAAE,oBAAoB;QAE7BC,WAAW,EAAE,wBAAwB;QACrCC,UAAU,EAAE,oBAAoB;QAEhCC,IAAI,EAAE,SAAS;QACfC,aAAa,EAAE,SAAS;QACxBC,UAAU,EAAE,SAAS;QAErBC,MAAM,EAAE,uBAAuB;QAC/BC,YAAY,EAAE,uBAAuB;QACrCC,WAAW,EAAE,uBAAuB;QACpCC,WAAW,EAAE,SAAS;QAC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C,OAAO,CAAC;IACzC;QAACnC,UAAU;QAAED,SAAS,CAACG,KAAK;KAAC;IAC7B;QAAC6B,SAAS;QAAEhC,SAAS,CAACiC,IAAI;KAAC;CAC5B,CAAC,CAAA;AAEF,OAAO,MAAMI,YAAY,GAAGpC,UAAU,CAAA"}
1
+ {"version":3,"sources":["../../../packages/theme/themes.ts"],"sourcesContent":["import themeBase from './base'\nimport { ThemeName } from './constants'\n\nexport const themeLight = {\n ...themeBase,\n name: ThemeName.light,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '0',\n lightThemeOpacity: '1',\n\n lightModeVisibility: 'visible',\n darkModeVisibility: 'hidden',\n\n lightDisplay: 'initial',\n darkDisplay: 'none',\n\n secondary: '#273852',\n secondaryHover: '#212f45',\n secondaryContrast: '#fff',\n\n background: '#f2f4f6',\n backgroundDarken: '#dae0e5',\n backgroundSecondary: '#EFF2F6',\n\n foreground: '#fff',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(39, 56, 82, 0.08)',\n shadowDark: 'rgba(0, 0, 0, .25)',\n\n text: '#273852',\n textSecondary: '#7a8aa0',\n accentText: '#273852',\n\n border: 'rgba(0, 10, 61, 0.12)',\n borderActive: 'rgba(0, 10, 61, 0.48)',\n borderHover: 'rgba(0, 10, 61, 0.24)',\n borderLight: '#dfe5eb',\n accentBorder: 'rgba(0, 10, 61, 0.12)',\n accentBorderHover: 'rgba(0, 10, 61, 0.24)',\n\n controlBg: '#fff',\n accentControlBg: 'rgba(239, 242, 246, 0.56)',\n\n popupMenuItemBgActiveHover: '#000a3d',\n },\n}\n\nexport const themeDark = {\n ...themeBase,\n name: ThemeName.dark,\n colors: {\n ...themeBase.colors,\n darkThemeOpacity: '1',\n lightThemeOpacity: '0',\n\n lightModeVisibility: 'hidden',\n darkModeVisibility: 'visible',\n\n lightDisplay: 'none',\n darkDisplay: 'initial',\n\n secondary: 'rgba(255, 255, 255, .8)',\n secondaryHover: '#fff',\n secondaryContrast: '#273852',\n\n background: '#1c1c21',\n backgroundDarken: '#131317',\n backgroundSecondary: '#27272E',\n\n foreground: '#34343d',\n\n overlay: 'rgba(0, 0, 0, 0.5)',\n\n shadowLight: 'rgba(0, 0, 0, .25)',\n shadowDark: 'rgba(0, 0, 0, .5)',\n\n text: '#fff',\n textSecondary: 'rgba(255, 255, 255, .8)',\n accentText: '#fff',\n\n border: 'rgba(255, 255, 255, 0.12)',\n borderActive: 'rgba(255, 255, 255, 0.48)',\n borderHover: 'rgba(255, 255, 255, 0.24)',\n borderLight: '#484855',\n accentBorder: 'rgba(255, 255, 255, 0.12)',\n accentBorderHover: 'rgba(255, 255, 255, 0.24)',\n\n controlBg: '#2f2f37',\n accentControlBg: 'rgba(39, 39, 46, 0.56)',\n\n popupMenuItemBgActiveHover: '#fff',\n },\n}\n\nexport const themeMap = {\n [ThemeName.light]: themeLight,\n [ThemeName.dark]: themeDark,\n}\n\nexport const reverseThemeMap = new WeakMap([\n [themeLight, ThemeName.light],\n [themeDark, ThemeName.dark],\n])\n\nexport const themeDefault = themeLight\n"],"names":["themeBase","ThemeName","themeLight","name","light","colors","darkThemeOpacity","lightThemeOpacity","lightModeVisibility","darkModeVisibility","lightDisplay","darkDisplay","secondary","secondaryHover","secondaryContrast","background","backgroundDarken","backgroundSecondary","foreground","overlay","shadowLight","shadowDark","text","textSecondary","accentText","border","borderActive","borderHover","borderLight","accentBorder","accentBorderHover","controlBg","accentControlBg","popupMenuItemBgActiveHover","themeDark","dark","themeMap","reverseThemeMap","WeakMap","themeDefault"],"mappings":"AAAA,OAAOA,SAAS,MAAM,cAAQ,CAAA;AAC9B,SAASC,SAAS,QAAQ,aAAa,CAAA;AAEvC,OAAO,MAAMC,UAAU,GAAG;IACxB,GAAGF,SAAS;IACZG,IAAI,EAAEF,SAAS,CAACG,KAAK;IACrBC,MAAM,EAAE;QACN,GAAGL,SAAS,CAACK,MAAM;QACnBC,gBAAgB,EAAE,GAAG;QACrBC,iBAAiB,EAAE,GAAG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OAAO,EAAE,oBAAoB;QAE7BC,WAAW,EAAE,oBAAoB;QACjCC,UAAU,EAAE,mBAAmB;QAE/BC,IAAI,EAAE,MAAM;QACZC,aAAa,EAAE,yBAAyB;QACxCC,UAAU,EAAE,MAAM;QAElBC,MAAM,EAAE,2BAA2B;QACnCC,YAAY,EAAE,2BAA2B;QACzCC,WAAW,EAAE,2BAA2B;QACxCC,WAAW,EAAE,SAAS;QACtBC,YAAY,EAAE,2BAA2B;QACzCC,iBAAiB,EAAE,2BAA2B;QAE9CC,SAAS,EAAE,SAAS;QACpBC,eAAe,EAAE,wBAAwB;QAEzCC,0BAA0B,EAAE,MAAM;KACnC;CACF,CAAA;AAED,OAAO,MAAMG,QAAQ,GAAG;IACtB,CAACnC,SAAS,CAACG,KAAK,CAAC,EAAEF,UAAU;IAC7B,CAACD,SAAS,CAACkC,IAAI,CAAC,EAAED,SAAS;CAC5B,CAAA;AAED,OAAO,MAAMG,eAAe,GAAG,IAAIC,OAAO,CAAC;IACzC;QAACpC,UAAU;QAAED,SAAS,CAACG,KAAK;KAAC;IAC7B;QAAC8B,SAAS;QAAEjC,SAAS,CAACkC,IAAI;KAAC;CAC5B,CAAC,CAAA;AAEF,OAAO,MAAMI,YAAY,GAAGrC,UAAU,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { OptionsSliderInputProps } from './types';
3
+ declare const OptionsSlider: ({ options, value, onChange, }: OptionsSliderInputProps) => React.ReactElement;
4
+ export default OptionsSlider;
5
+ //# sourceMappingURL=OptionsSlider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionsSlider.d.ts","sourceRoot":"","sources":["../../../packages/input/OptionsSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAEjD,QAAA,MAAM,aAAa,kCAIhB,uBAAuB,KAAG,MAAM,YA+BlC,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export { default as Input } from './Input';
2
2
  export { default as InputGroup } from './InputGroup';
3
3
  export { default as SliderInput } from './SliderInput';
4
+ export { default as OptionsSlider } from './OptionsSlider';
4
5
  export { default as Textarea } from './Textarea';
5
6
  export * from './types';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,cAAc,SAAS,CAAA"}
@@ -23,6 +23,8 @@ declare const _default: {
23
23
  readonly warning: "#EC8600";
24
24
  readonly warningHover: "#f0a431";
25
25
  readonly warningContrast: "#fff";
26
+ readonly warningBackground: "#FFFAE0";
27
+ readonly textDark: "#273852";
26
28
  readonly success: "#53BA95";
27
29
  readonly successHover: "#5dae5e";
28
30
  readonly successContrast: "#fff";
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../packages/theme/base/colors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,wBAAyB"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../packages/theme/base/colors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,wBAAyB"}
@@ -83,6 +83,8 @@ declare const _default: {
83
83
  readonly warning: "#EC8600";
84
84
  readonly warningHover: "#f0a431";
85
85
  readonly warningContrast: "#fff";
86
+ readonly warningBackground: "#FFFAE0";
87
+ readonly textDark: "#273852";
86
88
  readonly success: "#53BA95";
87
89
  readonly successHover: "#5dae5e";
88
90
  readonly successContrast: "#fff";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/theme/base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAQC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/theme/base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAQC"}
@@ -13,6 +13,7 @@ export declare const themeLight: {
13
13
  secondaryContrast: string;
14
14
  background: string;
15
15
  backgroundDarken: string;
16
+ backgroundSecondary: string;
16
17
  foreground: string;
17
18
  overlay: string;
18
19
  shadowLight: string;
@@ -43,6 +44,8 @@ export declare const themeLight: {
43
44
  warning: "#EC8600";
44
45
  warningHover: "#f0a431";
45
46
  warningContrast: "#fff";
47
+ warningBackground: "#FFFAE0";
48
+ textDark: "#273852";
46
49
  success: "#53BA95";
47
50
  successHover: "#5dae5e";
48
51
  successContrast: "#fff";
@@ -156,6 +159,7 @@ export declare const themeDark: {
156
159
  secondaryContrast: string;
157
160
  background: string;
158
161
  backgroundDarken: string;
162
+ backgroundSecondary: string;
159
163
  foreground: string;
160
164
  overlay: string;
161
165
  shadowLight: string;
@@ -186,6 +190,8 @@ export declare const themeDark: {
186
190
  warning: "#EC8600";
187
191
  warningHover: "#f0a431";
188
192
  warningContrast: "#fff";
193
+ warningBackground: "#FFFAE0";
194
+ textDark: "#273852";
189
195
  success: "#53BA95";
190
196
  successHover: "#5dae5e";
191
197
  successContrast: "#fff";
@@ -300,6 +306,7 @@ export declare const themeMap: {
300
306
  secondaryContrast: string;
301
307
  background: string;
302
308
  backgroundDarken: string;
309
+ backgroundSecondary: string;
303
310
  foreground: string;
304
311
  overlay: string;
305
312
  shadowLight: string;
@@ -330,6 +337,8 @@ export declare const themeMap: {
330
337
  warning: "#EC8600";
331
338
  warningHover: "#f0a431";
332
339
  warningContrast: "#fff";
340
+ warningBackground: "#FFFAE0";
341
+ textDark: "#273852";
333
342
  success: "#53BA95";
334
343
  successHover: "#5dae5e";
335
344
  successContrast: "#fff";
@@ -443,6 +452,7 @@ export declare const themeMap: {
443
452
  secondaryContrast: string;
444
453
  background: string;
445
454
  backgroundDarken: string;
455
+ backgroundSecondary: string;
446
456
  foreground: string;
447
457
  overlay: string;
448
458
  shadowLight: string;
@@ -473,6 +483,8 @@ export declare const themeMap: {
473
483
  warning: "#EC8600";
474
484
  warningHover: "#f0a431";
475
485
  warningContrast: "#fff";
486
+ warningBackground: "#FFFAE0";
487
+ textDark: "#273852";
476
488
  success: "#53BA95";
477
489
  successHover: "#5dae5e";
478
490
  successContrast: "#fff";
@@ -587,6 +599,7 @@ export declare const reverseThemeMap: WeakMap<{
587
599
  secondaryContrast: string;
588
600
  background: string;
589
601
  backgroundDarken: string;
602
+ backgroundSecondary: string;
590
603
  foreground: string;
591
604
  overlay: string;
592
605
  shadowLight: string;
@@ -617,6 +630,8 @@ export declare const reverseThemeMap: WeakMap<{
617
630
  warning: "#EC8600";
618
631
  warningHover: "#f0a431";
619
632
  warningContrast: "#fff";
633
+ warningBackground: "#FFFAE0";
634
+ textDark: "#273852";
620
635
  success: "#53BA95";
621
636
  successHover: "#5dae5e";
622
637
  successContrast: "#fff";
@@ -730,6 +745,7 @@ export declare const themeDefault: {
730
745
  secondaryContrast: string;
731
746
  background: string;
732
747
  backgroundDarken: string;
748
+ backgroundSecondary: string;
733
749
  foreground: string;
734
750
  overlay: string;
735
751
  shadowLight: string;
@@ -760,6 +776,8 @@ export declare const themeDefault: {
760
776
  warning: "#EC8600";
761
777
  warningHover: "#f0a431";
762
778
  warningContrast: "#fff";
779
+ warningBackground: "#FFFAE0";
780
+ textDark: "#273852";
763
781
  success: "#53BA95";
764
782
  successHover: "#5dae5e";
765
783
  successContrast: "#fff";
@@ -1 +1 @@
1
- {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../packages/theme/themes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CtB,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CrB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAG1B,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lidofinance/lido-ui",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "homepage": "https://github.com/lidofinance/ui",
5
5
  "repository": {
6
6
  "type": "git",