@skbkontur/react-ui 5.5.2 → 5.6.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 +11 -0
- package/cjs/components/Calendar/MonthView.js +1 -2
- package/cjs/components/Calendar/MonthView.js.map +1 -1
- package/cjs/components/FileUploader/FileUploader.styles.js +4 -5
- package/cjs/components/FileUploader/FileUploader.styles.js.map +1 -1
- package/cjs/components/Tabs/Tab.styles.js +3 -9
- package/cjs/components/Tabs/Tab.styles.js.map +1 -1
- package/cjs/internal/RenderContainer/RenderInnerContainer.d.ts +4 -0
- package/cjs/internal/RenderContainer/RenderInnerContainer.js +29 -2
- package/cjs/internal/RenderContainer/RenderInnerContainer.js.map +1 -1
- package/cjs/internal/ThemePlayground/Playground.styles.js +2 -1
- package/cjs/internal/ThemePlayground/Playground.styles.js.map +1 -1
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.d.ts +1 -35
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.js +32 -5
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.js.map +1 -1
- package/cjs/internal/themes/DarkTheme5_5.js +3 -8
- package/cjs/internal/themes/DarkTheme5_5.js.map +1 -1
- package/cjs/internal/themes/DarkTheme5_6.d.ts +1 -0
- package/cjs/internal/themes/DarkTheme5_6.js +753 -0
- package/cjs/internal/themes/DarkTheme5_6.js.map +1 -0
- package/cjs/internal/themes/LightTheme5_6.d.ts +1 -0
- package/cjs/internal/themes/LightTheme5_6.js +753 -0
- package/cjs/internal/themes/LightTheme5_6.js.map +1 -0
- package/cjs/lib/theming/ThemeVersions.d.ts +1 -1
- package/cjs/lib/theming/ThemeVersions.js.map +1 -1
- package/cjs/lib/theming/themes/DarkTheme.d.ts +1 -0
- package/cjs/lib/theming/themes/DarkTheme.js +4 -2
- package/cjs/lib/theming/themes/DarkTheme.js.map +1 -1
- package/cjs/lib/theming/themes/LightTheme.d.ts +1 -0
- package/cjs/lib/theming/themes/LightTheme.js +4 -2
- package/cjs/lib/theming/themes/LightTheme.js.map +1 -1
- package/components/Calendar/MonthView/MonthView.js +1 -2
- package/components/Calendar/MonthView/MonthView.js.map +1 -1
- package/components/FileUploader/FileUploader.styles/FileUploader.styles.js +1 -2
- package/components/FileUploader/FileUploader.styles/FileUploader.styles.js.map +1 -1
- package/components/Tabs/Tab.styles/Tab.styles.js +1 -2
- package/components/Tabs/Tab.styles/Tab.styles.js.map +1 -1
- package/internal/RenderContainer/RenderInnerContainer/RenderInnerContainer.js +35 -2
- package/internal/RenderContainer/RenderInnerContainer/RenderInnerContainer.js.map +1 -1
- package/internal/RenderContainer/RenderInnerContainer.d.ts +4 -0
- package/internal/ThemePlayground/Playground.styles/Playground.styles.js +1 -1
- package/internal/ThemePlayground/Playground.styles/Playground.styles.js.map +1 -1
- package/internal/ThemePlayground/ThemeContextPlayground/ThemeContextPlayground.js +28 -9
- package/internal/ThemePlayground/ThemeContextPlayground/ThemeContextPlayground.js.map +1 -1
- package/internal/ThemePlayground/ThemeContextPlayground.d.ts +1 -35
- package/internal/themes/DarkTheme5_5/DarkTheme5_5.js +4 -7
- package/internal/themes/DarkTheme5_5/DarkTheme5_5.js.map +1 -1
- package/internal/themes/DarkTheme5_6/DarkTheme5_6.js +768 -0
- package/internal/themes/DarkTheme5_6/DarkTheme5_6.js.map +1 -0
- package/internal/themes/DarkTheme5_6/package.json +6 -0
- package/internal/themes/DarkTheme5_6.d.ts +1 -0
- package/internal/themes/LightTheme5_6/LightTheme5_6.js +768 -0
- package/internal/themes/LightTheme5_6/LightTheme5_6.js.map +1 -0
- package/internal/themes/LightTheme5_6/package.json +6 -0
- package/internal/themes/LightTheme5_6.d.ts +1 -0
- package/lib/theming/ThemeVersions/ThemeVersions.js.map +1 -1
- package/lib/theming/ThemeVersions.d.ts +1 -1
- package/lib/theming/themes/DarkTheme/DarkTheme.js +3 -1
- package/lib/theming/themes/DarkTheme/DarkTheme.js.map +1 -1
- package/lib/theming/themes/DarkTheme.d.ts +1 -0
- package/lib/theming/themes/LightTheme/LightTheme.js +3 -1
- package/lib/theming/themes/LightTheme/LightTheme.js.map +1 -1
- package/lib/theming/themes/LightTheme.d.ts +1 -0
- package/package.json +2 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.ThemeContextPlayground = void 0;var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
|
|
2
|
-
var _react =
|
|
2
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
3
|
+
var _addonDocs = require("@storybook/addon-docs");
|
|
3
4
|
|
|
4
5
|
var _ThemeContext = require("../../lib/theming/ThemeContext");
|
|
5
6
|
|
|
@@ -37,6 +38,12 @@ var _constants = require("./constants");
|
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
40
47
|
|
|
41
48
|
|
|
42
49
|
|
|
@@ -51,13 +58,17 @@ var getEditingThemeType = function getEditingThemeType(editingThemeItem) {
|
|
|
51
58
|
|
|
52
59
|
return 'lightTheme';
|
|
53
60
|
};var
|
|
54
|
-
|
|
61
|
+
|
|
62
|
+
ThemeContextPlaygroundInternal = /*#__PURE__*/function (_React$Component) {
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
55
66
|
|
|
56
67
|
|
|
57
68
|
|
|
58
69
|
|
|
59
70
|
|
|
60
|
-
function
|
|
71
|
+
function ThemeContextPlaygroundInternal(props) {var _this;
|
|
61
72
|
_this = _React$Component.call(this, props) || this;_this.editableThemesItems = [{ value: _constants.ThemeType.LightTheme, label: 'Светлая тема' }, { value: _constants.ThemeType.DarkTheme, label: 'Тёмная тема' }];_this.
|
|
62
73
|
|
|
63
74
|
|
|
@@ -83,6 +94,12 @@ ThemeContextPlayground = exports.ThemeContextPlayground = /*#__PURE__*/function
|
|
|
83
94
|
|
|
84
95
|
|
|
85
96
|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
86
103
|
|
|
87
104
|
|
|
88
105
|
|
|
@@ -97,7 +114,7 @@ ThemeContextPlayground = exports.ThemeContextPlayground = /*#__PURE__*/function
|
|
|
97
114
|
var themeErrors = themesErrors[editingThemeType];
|
|
98
115
|
|
|
99
116
|
return /*#__PURE__*/(
|
|
100
|
-
_react.default.createElement(_SidePage.SidePage, { disableAnimations: true, ignoreBackgroundClick: true,
|
|
117
|
+
_react.default.createElement(_SidePage.SidePage, { disableAnimations: true, ignoreBackgroundClick: true, width: 600, onClose: _this.handleClose }, /*#__PURE__*/
|
|
101
118
|
_react.default.createElement(_SidePage.SidePage.Header, null, /*#__PURE__*/
|
|
102
119
|
_react.default.createElement("div", { className: _Playground.styles.editorHeaderWrapper(currentTheme) }, /*#__PURE__*/
|
|
103
120
|
_react.default.createElement(_Gapped.Gapped, { wrap: true, verticalAlign: "middle" }, /*#__PURE__*/
|
|
@@ -212,4 +229,14 @@ ThemeContextPlayground = exports.ThemeContextPlayground = /*#__PURE__*/function
|
|
|
212
229
|
});
|
|
213
230
|
|
|
214
231
|
return _ThemeFactory.ThemeFactory.create(result);
|
|
215
|
-
};_this.state = { currentTheme: _LightTheme.LIGHT_THEME, currentThemeType: _constants.ThemeType.LightTheme, editorOpened: false, themes: { lightTheme: _LightTheme.LIGHT_THEME, darkTheme: _DarkTheme.DARK_THEME }, themesErrors: { lightTheme: {}, darkTheme: {} } };return _this;}(0, _inheritsLoose2.default)(
|
|
232
|
+
};_this.state = { currentTheme: _LightTheme.LIGHT_THEME, currentThemeType: _constants.ThemeType.LightTheme, editorOpened: false, themes: { lightTheme: _LightTheme.LIGHT_THEME, darkTheme: _DarkTheme.DARK_THEME }, themesErrors: { lightTheme: {}, darkTheme: {} } };return _this;}(0, _inheritsLoose2.default)(ThemeContextPlaygroundInternal, _React$Component);var _proto = ThemeContextPlaygroundInternal.prototype;_proto.render = function render() {var _this$state3 = this.state,currentTheme = _this$state3.currentTheme,editorOpened = _this$state3.editorOpened,currentThemeType = _this$state3.currentThemeType;var _this$props = this.props,globalBrand = _this$props.globalBrand,globalAccent = _this$props.globalAccent;var themeAttribute = currentThemeType === _constants.ThemeType.DarkTheme ? 'dark' : 'light';return /*#__PURE__*/_react.default.createElement(_ThemeContext.ThemeContext.Provider, { value: currentTheme }, /*#__PURE__*/_react.default.createElement("div", { "data-k-brand": globalBrand, "data-k-accent": globalAccent, "data-k-theme": themeAttribute }, editorOpened && this.renderSidePage(), /*#__PURE__*/_react.default.createElement(_Playground2.Playground, { onThemeChange: this.handleThemeChange, currentThemeType: currentThemeType, onEditLinkClick: this.handleOpen })));};return ThemeContextPlaygroundInternal;}(_react.default.Component);
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
var ThemeContextPlayground = exports.ThemeContextPlayground = function ThemeContextPlayground(props) {var _context$store$userGl;
|
|
236
|
+
var context = (0, _react.useContext)(_addonDocs.DocsContext);
|
|
237
|
+
var globals = (context == null || (_context$store$userGl = context.store.userGlobals) == null ? void 0 : _context$store$userGl.globals) || {};
|
|
238
|
+
var brand = globals.brand || 'red';
|
|
239
|
+
var accent = globals.accent || 'gray';
|
|
240
|
+
|
|
241
|
+
return /*#__PURE__*/_react.default.createElement(ThemeContextPlaygroundInternal, (0, _extends2.default)({}, props, { globalBrand: brand, globalAccent: accent }));
|
|
242
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_ThemeContext","_ThemeFactory","_SidePage","_Gapped","_ComboBox","_Link","ColorFunctions","_interopRequireWildcard","_ThemeHelpers","_LightTheme","_DarkTheme","_ThemeEditor","_Playground","_Playground2","_constants","getEditingThemeType","editingThemeItem","value","ThemeContextPlayground","exports","_React$Component","props","_this","call","editableThemesItems","ThemeType","LightTheme","label","DarkTheme","renderSidePage","_this$state","state","currentTheme","themesErrors","themes","editingThemeType","themeErrors","default","createElement","SidePage","disableAnimations","ignoreBackgroundClick","blockBackground","width","onClose","handleClose","Header","className","styles","editorHeaderWrapper","Gapped","wrap","verticalAlign","ComboBox","getItems","getEditableThemesItems","onValueChange","handleEditingThemeSwitch","style","fontSize","marginTop","Link","onClick","handleGetTheme","Body","sidePageBody","ThemeEditor","editingTheme","currentErrors","handleThemeVariableChange","themeObject","ThemeFactory","getKeys","forEach","key","descriptor","Object","getOwnPropertyDescriptor","get","LIGHT_THEME","console","log","JSON","stringify","handleOpen","setState","editorOpened","find","i","currentThemeType","handleThemeChange","themeType","variable","_this$state2","theme","currentValue","canSetVariable","isValid","nextThemeErrors","_extends2","stateUpdate","result","changeThemeVariable","query","Promise","resolve","filter","toLowerCase","includes","item","variableName","variableValue","findPropertyDescriptor","enumerable","configurable","set","defineProperty","create","lightTheme","darkTheme","DARK_THEME","_inheritsLoose2","_proto","prototype","render","_this$state3","ThemeContext","Provider","Playground","onThemeChange","onEditLinkClick","React","Component"],"sources":["ThemeContextPlayground.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport React from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport type { Theme, ThemeIn } from '../../lib/theming/Theme';\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport { SidePage } from '../../components/SidePage';\nimport { Gapped } from '../../components/Gapped';\nimport { ComboBox } from '../../components/ComboBox';\nimport { Link } from '../../components/Link';\nimport * as ColorFunctions from '../../lib/styles/ColorFunctions';\nimport type { Writeable } from '../../typings/utility-types';\nimport { findPropertyDescriptor } from '../../lib/theming/ThemeHelpers';\nimport { LIGHT_THEME } from '../../lib/theming/themes/LightTheme';\nimport { DARK_THEME } from '../../lib/theming/themes/DarkTheme';\n\nimport { ThemeEditor } from './ThemeEditor';\nimport { styles } from './Playground.styles';\nimport { Playground } from './Playground';\nimport { ThemeType } from './constants';\n\ninterface PlaygroundState {\n editorOpened: boolean;\n editingThemeItem?: EditingThemeItem;\n themes: Themes;\n themesErrors: ThemesErrors;\n currentTheme: Theme;\n currentThemeType: ThemeType;\n}\ninterface Themes {\n lightTheme: Theme;\n darkTheme: Theme;\n}\ninterface ThemesErrors {\n lightTheme: ThemeErrorsType;\n darkTheme: ThemeErrorsType;\n}\ninterface EditingThemeItem {\n value: ThemeType;\n label: string;\n}\ninterface PlaygroundProps {\n children?: ReactNode;\n}\nexport type ThemeErrorsType = Writeable<{ [key in keyof Theme]?: boolean }>;\n\nconst getEditingThemeType = (editingThemeItem: PlaygroundState['editingThemeItem']) => {\n if (editingThemeItem) {\n return editingThemeItem.value;\n }\n\n return 'lightTheme';\n};\nexport class ThemeContextPlayground extends React.Component<PlaygroundProps, PlaygroundState> {\n private readonly editableThemesItems = [\n { value: ThemeType.LightTheme, label: 'Светлая тема' },\n { value: ThemeType.DarkTheme, label: 'Тёмная тема' },\n ];\n\n constructor(props: PlaygroundProps) {\n super(props);\n this.state = {\n currentTheme: LIGHT_THEME,\n currentThemeType: ThemeType.LightTheme,\n editorOpened: false,\n themes: {\n lightTheme: LIGHT_THEME,\n darkTheme: DARK_THEME,\n },\n themesErrors: {\n lightTheme: {},\n darkTheme: {},\n },\n };\n }\n\n public render() {\n const { currentTheme, editorOpened, currentThemeType } = this.state;\n return (\n <ThemeContext.Provider value={currentTheme}>\n {editorOpened && this.renderSidePage()}\n {\n <Playground\n onThemeChange={this.handleThemeChange}\n currentThemeType={currentThemeType}\n onEditLinkClick={this.handleOpen}\n />\n }\n </ThemeContext.Provider>\n );\n }\n\n private renderSidePage = () => {\n const { currentTheme, themesErrors, editingThemeItem, themes } = this.state;\n\n const editingThemeType = getEditingThemeType(editingThemeItem);\n const themeErrors = themesErrors[editingThemeType];\n\n return (\n <SidePage disableAnimations ignoreBackgroundClick blockBackground width={600} onClose={this.handleClose}>\n <SidePage.Header>\n <div className={styles.editorHeaderWrapper(currentTheme)}>\n <Gapped wrap verticalAlign=\"middle\">\n <span>Тема для редактирования:</span>\n <ComboBox\n getItems={this.getEditableThemesItems}\n value={editingThemeItem}\n onValueChange={this.handleEditingThemeSwitch}\n />\n </Gapped>\n </div>\n <div style={{ fontSize: 14, marginTop: 8 }}>\n <Link onClick={this.handleGetTheme}>Вывести тему в консоль</Link>\n </div>\n </SidePage.Header>\n <SidePage.Body>\n <div className={styles.sidePageBody()}>\n <ThemeEditor\n editingTheme={themes[editingThemeType]}\n currentTheme={currentTheme}\n currentErrors={themeErrors}\n onValueChange={this.handleThemeVariableChange}\n />\n </div>\n </SidePage.Body>\n </SidePage>\n );\n };\n\n private handleGetTheme = () => {\n const currentTheme = this.state.currentTheme;\n const themeObject: Writeable<ThemeIn> = {};\n ThemeFactory.getKeys(currentTheme).forEach((key) => {\n const descriptor = Object.getOwnPropertyDescriptor(currentTheme, key);\n if (descriptor && !descriptor.get && LIGHT_THEME[key] && currentTheme[key] !== LIGHT_THEME[key]) {\n themeObject[key] = currentTheme[key] as keyof Theme;\n }\n });\n\n console.log(JSON.stringify(themeObject));\n };\n\n private handleOpen = () => {\n this.setState((state) => ({\n editorOpened: true,\n editingThemeItem: this.editableThemesItems.find((i) => i.value === state.currentThemeType),\n }));\n };\n\n private handleClose = () => {\n this.setState({\n editorOpened: false,\n });\n };\n\n private handleThemeChange = (value: string) => {\n const themeType = value as ThemeType;\n this.setState({\n currentThemeType: themeType,\n currentTheme: this.state.themes[themeType],\n });\n };\n\n private handleThemeVariableChange = (variable: keyof Theme, value: string) => {\n const { editingThemeItem, currentTheme, themes, themesErrors } = this.state;\n const editingThemeType = getEditingThemeType(editingThemeItem);\n\n const theme = themes[editingThemeType];\n const currentValue = theme[variable] as string;\n\n let canSetVariable = true;\n if (ColorFunctions.isValid(currentValue)) {\n canSetVariable = ColorFunctions.isValid(value);\n themesErrors[editingThemeType][variable] = !canSetVariable;\n }\n\n const nextThemeErrors: ThemesErrors = { ...themesErrors };\n nextThemeErrors[editingThemeType][variable] = !canSetVariable;\n const stateUpdate = { themes, currentTheme, themesErrors: nextThemeErrors };\n\n if (canSetVariable) {\n const result = this.changeThemeVariable(theme, variable, value);\n stateUpdate.themes[editingThemeType] = result;\n if (this.state.currentThemeType === editingThemeType) {\n stateUpdate.currentTheme = result;\n }\n }\n\n this.setState(stateUpdate);\n };\n\n private getEditableThemesItems = (query: string) => {\n return Promise.resolve(this.editableThemesItems.filter((i) => i.label.toLowerCase().includes(query.toLowerCase())));\n };\n\n private handleEditingThemeSwitch = (item: EditingThemeItem) => {\n this.setState({ editingThemeItem: item });\n };\n\n private changeThemeVariable = (theme: Theme, variableName: keyof Theme, variableValue: string): Theme => {\n const result: ThemeIn = {};\n ThemeFactory.getKeys(theme).forEach((key) => {\n const descriptor = findPropertyDescriptor(theme, key);\n descriptor.enumerable = true;\n descriptor.configurable = true;\n if (key === variableName) {\n delete descriptor.get;\n delete descriptor.set;\n descriptor.value = variableValue;\n }\n Object.defineProperty(result, key, descriptor);\n });\n\n return ThemeFactory.create<ThemeIn>(result);\n };\n}\n"],"mappings":";AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;;AAEA,IAAAC,aAAA,GAAAD,OAAA;;AAEA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAC,uBAAA,CAAAR,OAAA;;AAEA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;;AAEA,IAAAY,YAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAAb,OAAA;AACA,IAAAc,YAAA,GAAAd,OAAA;AACA,IAAAe,UAAA,GAAAf,OAAA;;;;;;;;;;;;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opRequireWildcard","require","_addonDocs","_ThemeContext","_ThemeFactory","_SidePage","_Gapped","_ComboBox","_Link","ColorFunctions","_ThemeHelpers","_LightTheme","_DarkTheme","_ThemeEditor","_Playground","_Playground2","_constants","getEditingThemeType","editingThemeItem","value","ThemeContextPlaygroundInternal","_React$Component","props","_this","call","editableThemesItems","ThemeType","LightTheme","label","DarkTheme","renderSidePage","_this$state","state","currentTheme","themesErrors","themes","editingThemeType","themeErrors","default","createElement","SidePage","disableAnimations","ignoreBackgroundClick","width","onClose","handleClose","Header","className","styles","editorHeaderWrapper","Gapped","wrap","verticalAlign","ComboBox","getItems","getEditableThemesItems","onValueChange","handleEditingThemeSwitch","style","fontSize","marginTop","Link","onClick","handleGetTheme","Body","sidePageBody","ThemeEditor","editingTheme","currentErrors","handleThemeVariableChange","themeObject","ThemeFactory","getKeys","forEach","key","descriptor","Object","getOwnPropertyDescriptor","get","LIGHT_THEME","console","log","JSON","stringify","handleOpen","setState","editorOpened","find","i","currentThemeType","handleThemeChange","themeType","variable","_this$state2","theme","currentValue","canSetVariable","isValid","nextThemeErrors","_extends2","stateUpdate","result","changeThemeVariable","query","Promise","resolve","filter","toLowerCase","includes","item","variableName","variableValue","findPropertyDescriptor","enumerable","configurable","set","defineProperty","create","lightTheme","darkTheme","DARK_THEME","_inheritsLoose2","_proto","prototype","render","_this$state3","_this$props","globalBrand","globalAccent","themeAttribute","ThemeContext","Provider","Playground","onThemeChange","onEditLinkClick","React","Component","ThemeContextPlayground","exports","_context$store$userGl","context","useContext","DocsContext","globals","store","userGlobals","brand","accent"],"sources":["ThemeContextPlayground.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport React, { useContext } from 'react';\nimport { DocsContext } from '@storybook/addon-docs';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport type { Theme, ThemeIn } from '../../lib/theming/Theme';\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport { SidePage } from '../../components/SidePage';\nimport { Gapped } from '../../components/Gapped';\nimport { ComboBox } from '../../components/ComboBox';\nimport { Link } from '../../components/Link';\nimport * as ColorFunctions from '../../lib/styles/ColorFunctions';\nimport type { Writeable } from '../../typings/utility-types';\nimport { findPropertyDescriptor } from '../../lib/theming/ThemeHelpers';\nimport { LIGHT_THEME } from '../../lib/theming/themes/LightTheme';\nimport { DARK_THEME } from '../../lib/theming/themes/DarkTheme';\n\nimport { ThemeEditor } from './ThemeEditor';\nimport { styles } from './Playground.styles';\nimport { Playground } from './Playground';\nimport { ThemeType } from './constants';\n\ninterface PlaygroundState {\n editorOpened: boolean;\n editingThemeItem?: EditingThemeItem;\n themes: Themes;\n themesErrors: ThemesErrors;\n currentTheme: Theme;\n currentThemeType: ThemeType;\n}\ninterface Themes {\n lightTheme: Theme;\n darkTheme: Theme;\n}\ninterface ThemesErrors {\n lightTheme: ThemeErrorsType;\n darkTheme: ThemeErrorsType;\n}\ninterface EditingThemeItem {\n value: ThemeType;\n label: string;\n}\ninterface PlaygroundProps {\n children?: ReactNode;\n}\n\ninterface PlaygroundWrapperProps {\n globalBrand: string;\n globalAccent: string;\n}\n\nexport type ThemeErrorsType = Writeable<{ [key in keyof Theme]?: boolean }>;\n\nconst getEditingThemeType = (editingThemeItem: PlaygroundState['editingThemeItem']) => {\n if (editingThemeItem) {\n return editingThemeItem.value;\n }\n\n return 'lightTheme';\n};\n\nclass ThemeContextPlaygroundInternal extends React.Component<\n PlaygroundProps & PlaygroundWrapperProps,\n PlaygroundState\n> {\n private readonly editableThemesItems = [\n { value: ThemeType.LightTheme, label: 'Светлая тема' },\n { value: ThemeType.DarkTheme, label: 'Тёмная тема' },\n ];\n\n constructor(props: PlaygroundProps & PlaygroundWrapperProps) {\n super(props);\n this.state = {\n currentTheme: LIGHT_THEME,\n currentThemeType: ThemeType.LightTheme,\n editorOpened: false,\n themes: {\n lightTheme: LIGHT_THEME,\n darkTheme: DARK_THEME,\n },\n themesErrors: {\n lightTheme: {},\n darkTheme: {},\n },\n };\n }\n\n public render() {\n const { currentTheme, editorOpened, currentThemeType } = this.state;\n const { globalBrand, globalAccent } = this.props;\n\n const themeAttribute = currentThemeType === ThemeType.DarkTheme ? 'dark' : 'light';\n\n return (\n <ThemeContext.Provider value={currentTheme}>\n <div data-k-brand={globalBrand} data-k-accent={globalAccent} data-k-theme={themeAttribute}>\n {editorOpened && this.renderSidePage()}\n {\n <Playground\n onThemeChange={this.handleThemeChange}\n currentThemeType={currentThemeType}\n onEditLinkClick={this.handleOpen}\n />\n }\n </div>\n </ThemeContext.Provider>\n );\n }\n\n private renderSidePage = () => {\n const { currentTheme, themesErrors, editingThemeItem, themes } = this.state;\n\n const editingThemeType = getEditingThemeType(editingThemeItem);\n const themeErrors = themesErrors[editingThemeType];\n\n return (\n <SidePage disableAnimations ignoreBackgroundClick width={600} onClose={this.handleClose}>\n <SidePage.Header>\n <div className={styles.editorHeaderWrapper(currentTheme)}>\n <Gapped wrap verticalAlign=\"middle\">\n <span>Тема для редактирования:</span>\n <ComboBox\n getItems={this.getEditableThemesItems}\n value={editingThemeItem}\n onValueChange={this.handleEditingThemeSwitch}\n />\n </Gapped>\n </div>\n <div style={{ fontSize: 14, marginTop: 8 }}>\n <Link onClick={this.handleGetTheme}>Вывести тему в консоль</Link>\n </div>\n </SidePage.Header>\n <SidePage.Body>\n <div className={styles.sidePageBody()}>\n <ThemeEditor\n editingTheme={themes[editingThemeType]}\n currentTheme={currentTheme}\n currentErrors={themeErrors}\n onValueChange={this.handleThemeVariableChange}\n />\n </div>\n </SidePage.Body>\n </SidePage>\n );\n };\n\n private handleGetTheme = () => {\n const currentTheme = this.state.currentTheme;\n const themeObject: Writeable<ThemeIn> = {};\n ThemeFactory.getKeys(currentTheme).forEach((key) => {\n const descriptor = Object.getOwnPropertyDescriptor(currentTheme, key);\n if (descriptor && !descriptor.get && LIGHT_THEME[key] && currentTheme[key] !== LIGHT_THEME[key]) {\n themeObject[key] = currentTheme[key] as keyof Theme;\n }\n });\n\n console.log(JSON.stringify(themeObject));\n };\n\n private handleOpen = () => {\n this.setState((state) => ({\n editorOpened: true,\n editingThemeItem: this.editableThemesItems.find((i) => i.value === state.currentThemeType),\n }));\n };\n\n private handleClose = () => {\n this.setState({\n editorOpened: false,\n });\n };\n\n private handleThemeChange = (value: string) => {\n const themeType = value as ThemeType;\n this.setState({\n currentThemeType: themeType,\n currentTheme: this.state.themes[themeType],\n });\n };\n\n private handleThemeVariableChange = (variable: keyof Theme, value: string) => {\n const { editingThemeItem, currentTheme, themes, themesErrors } = this.state;\n const editingThemeType = getEditingThemeType(editingThemeItem);\n\n const theme = themes[editingThemeType];\n const currentValue = theme[variable] as string;\n\n let canSetVariable = true;\n if (ColorFunctions.isValid(currentValue)) {\n canSetVariable = ColorFunctions.isValid(value);\n themesErrors[editingThemeType][variable] = !canSetVariable;\n }\n\n const nextThemeErrors: ThemesErrors = { ...themesErrors };\n nextThemeErrors[editingThemeType][variable] = !canSetVariable;\n const stateUpdate = { themes, currentTheme, themesErrors: nextThemeErrors };\n\n if (canSetVariable) {\n const result = this.changeThemeVariable(theme, variable, value);\n stateUpdate.themes[editingThemeType] = result;\n if (this.state.currentThemeType === editingThemeType) {\n stateUpdate.currentTheme = result;\n }\n }\n\n this.setState(stateUpdate);\n };\n\n private getEditableThemesItems = (query: string) => {\n return Promise.resolve(this.editableThemesItems.filter((i) => i.label.toLowerCase().includes(query.toLowerCase())));\n };\n\n private handleEditingThemeSwitch = (item: EditingThemeItem) => {\n this.setState({ editingThemeItem: item });\n };\n\n private changeThemeVariable = (theme: Theme, variableName: keyof Theme, variableValue: string): Theme => {\n const result: ThemeIn = {};\n ThemeFactory.getKeys(theme).forEach((key) => {\n const descriptor = findPropertyDescriptor(theme, key);\n descriptor.enumerable = true;\n descriptor.configurable = true;\n if (key === variableName) {\n delete descriptor.get;\n delete descriptor.set;\n descriptor.value = variableValue;\n }\n Object.defineProperty(result, key, descriptor);\n });\n\n return ThemeFactory.create<ThemeIn>(result);\n };\n}\n\nexport const ThemeContextPlayground = (props: PlaygroundProps) => {\n const context = useContext(DocsContext) as any;\n const globals = context?.store.userGlobals?.globals || {};\n const brand = globals.brand || 'red';\n const accent = globals.accent || 'gray';\n\n return <ThemeContextPlaygroundInternal {...props} globalBrand={brand} globalAccent={accent} />;\n};\n"],"mappings":";AACA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;;AAEA,IAAAE,aAAA,GAAAF,OAAA;;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAT,uBAAA,CAAAC,OAAA;;AAEA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;;AAEA,IAAAY,YAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAAb,OAAA;AACA,IAAAc,YAAA,GAAAd,OAAA;AACA,IAAAe,UAAA,GAAAf,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,IAAMgB,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,gBAAqD,EAAK;EACrF,IAAIA,gBAAgB,EAAE;IACpB,OAAOA,gBAAgB,CAACC,KAAK;EAC/B;;EAEA,OAAO,YAAY;AACrB,CAAC,CAAC;;AAEIC,8BAA8B,0BAAAC,gBAAA;;;;;;;;;EASlC,SAAAD,+BAAYE,KAA+C,EAAE,KAAAC,KAAA;IAC3DA,KAAA,GAAAF,gBAAA,CAAAG,IAAA,OAAMF,KAAK,CAAC,SAACC,KAAA,CANEE,mBAAmB,GAAG,CACrC,EAAEN,KAAK,EAAEO,oBAAS,CAACC,UAAU,EAAEC,KAAK,EAAE,cAAc,CAAC,CAAC,EACtD,EAAET,KAAK,EAAEO,oBAAS,C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AO,CAAEI,KAAK,CAACC,WAAW,qBAA1BN,qBAAA,CAA4BI,OAAO,KAAI,CAAC,CAAC;EACzD,IAAMG,KAAK,GAAGH,OAAO,CAACG,KAAK,IAAI,KAAK;EACpC,IAAMC,MAAM,GAAGJ,OAAO,CAACI,MAAM,IAAI,MAAM;;EAEvC,oBAAOpJ,MAAA,CAAAuC,OAAA,CAAAC,aAAA,CAACnB,8BAA8B,MAAA+E,SAAA,CAAA7D,OAAA,MAAKhB,KAAK,IAAEyG,WAAW,EAAEmB,KAAM,EAAClB,YAAY,EAAEmB,MAAO,GAAE,CAAC;AAChG,CAAC","ignoreList":[]}
|
|
@@ -4,13 +4,8 @@ var _BasicTheme = require("./BasicTheme");
|
|
|
4
4
|
var _DarkTheme5_2 = require("./DarkTheme5_4");var _DarkTheme5_;
|
|
5
5
|
|
|
6
6
|
var DarkTheme5_5 = exports.DarkTheme5_5 = (0, _ThemeHelpers.createTheme)({
|
|
7
|
-
themeClass: (_DarkTheme5_ = /*#__PURE__*/function (_BasicThemeClassForEx) {function DarkTheme5_5() {return _BasicThemeClassForEx.apply(this, arguments) || this;}(0, _inheritsLoose2.default)(DarkTheme5_5, _BasicThemeClassForEx);return (0, _createClass2.default)(DarkTheme5_5, null, [{ key: "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function get() {
|
|
11
|
-
return this.bgSecondary;
|
|
12
|
-
} }, { key: "fileUploaderErrorColor", get:
|
|
13
|
-
|
|
7
|
+
themeClass: (_DarkTheme5_ = /*#__PURE__*/function (_BasicThemeClassForEx) {function DarkTheme5_5() {return _BasicThemeClassForEx.apply(this, arguments) || this;}(0, _inheritsLoose2.default)(DarkTheme5_5, _BasicThemeClassForEx);return (0, _createClass2.default)(DarkTheme5_5, null, [{ key: "fileUploaderErrorColor", get:
|
|
8
|
+
//#region FileUploader
|
|
14
9
|
function get() {
|
|
15
10
|
return this.textColorDisabled;
|
|
16
11
|
} }, { key: "fileUploaderErrorTextColor", get:
|
|
@@ -47,7 +42,7 @@ var DarkTheme5_5 = exports.DarkTheme5_5 = (0, _ThemeHelpers.createTheme)({
|
|
|
47
42
|
return this.fileUploaderDisabledIconColor;
|
|
48
43
|
}
|
|
49
44
|
//#endregion FileUploader
|
|
50
|
-
}]);}(_BasicTheme.BasicThemeClassForExtension), _DarkTheme5_.
|
|
45
|
+
}]);}(_BasicTheme.BasicThemeClassForExtension), _DarkTheme5_.fileUploaderFileTypeUnknownIconColor = '#676767', _DarkTheme5_.fileUploaderPaddingXSmall = '7px', _DarkTheme5_.fileUploaderPaddingXMedium = '9px', _DarkTheme5_.fileUploaderPaddingXLarge = '11px', _DarkTheme5_.fileUploaderErrorBgColor = '#4F2421', _DarkTheme5_.fileUploaderErrorBgHoverColor = '#612A29', _DarkTheme5_.fileUploaderWarningBgColor = '#3F2F1E', _DarkTheme5_.fileUploaderWarningBgHoverColor = '#4C3923', _DarkTheme5_.fileUploaderWarningTextColor = '#FDD481', _DarkTheme5_.fileUploaderDisabledColor = 'rgba(255, 255, 255, 0.54)', _DarkTheme5_.fileUploaderDisabledIconColor = 'rgba(255, 255, 255, 0.32)', _DarkTheme5_),
|
|
51
46
|
prototypeTheme: _DarkTheme5_2.DarkTheme5_4,
|
|
52
47
|
themeMarkers: [(0, _ThemeHelpers.markThemeVersion)('5.5')]
|
|
53
48
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ThemeHelpers","require","_BasicTheme","_DarkTheme5_2","_DarkTheme5_","DarkTheme5_5","exports","createTheme","themeClass","_BasicThemeClassForEx","apply","arguments","_inheritsLoose2","default","_createClass2","key","get","
|
|
1
|
+
{"version":3,"names":["_ThemeHelpers","require","_BasicTheme","_DarkTheme5_2","_DarkTheme5_","DarkTheme5_5","exports","createTheme","themeClass","_BasicThemeClassForEx","apply","arguments","_inheritsLoose2","default","_createClass2","key","get","textColorDisabled","errorText","fileUploaderTextColorDefault","gray","borderColorGrayLight","fileUploaderDisabledColor","fileUploaderDisabledIconColor","BasicThemeClassForExtension","fileUploaderFileTypeUnknownIconColor","fileUploaderPaddingXSmall","fileUploaderPaddingXMedium","fileUploaderPaddingXLarge","fileUploaderErrorBgColor","fileUploaderErrorBgHoverColor","fileUploaderWarningBgColor","fileUploaderWarningBgHoverColor","fileUploaderWarningTextColor","prototypeTheme","DarkTheme5_4","themeMarkers","markThemeVersion"],"sources":["DarkTheme5_5.ts"],"sourcesContent":["import { createTheme, markThemeVersion } from '../../lib/theming/ThemeHelpers';\n\nimport { BasicThemeClassForExtension } from './BasicTheme';\nimport { DarkTheme5_4 } from './DarkTheme5_4';\n\nexport const DarkTheme5_5 = createTheme({\n themeClass: class DarkTheme5_5 extends BasicThemeClassForExtension {\n //#region FileUploader\n public static get fileUploaderErrorColor() {\n return this.textColorDisabled;\n }\n\n public static fileUploaderFileTypeUnknownIconColor = '#676767';\n public static fileUploaderPaddingXSmall = '7px';\n public static fileUploaderPaddingXMedium = '9px';\n public static fileUploaderPaddingXLarge = '11px';\n\n public static fileUploaderErrorBgColor = '#4F2421';\n public static fileUploaderErrorBgHoverColor = '#612A29';\n public static get fileUploaderErrorTextColor() {\n return this.errorText;\n }\n public static fileUploaderWarningBgColor = '#3F2F1E';\n public static fileUploaderWarningBgHoverColor = '#4C3923';\n public static fileUploaderWarningTextColor = '#FDD481';\n\n public static get fileUploaderValidationTextColor() {\n return this.fileUploaderTextColorDefault;\n }\n public static get fileUploaderAfterLinkColor() {\n return this.gray;\n }\n public static get fileUploaderBorderColor() {\n return this.borderColorGrayLight;\n }\n public static fileUploaderDisabledColor = 'rgba(255, 255, 255, 0.54)';\n public static fileUploaderDisabledIconColor = 'rgba(255, 255, 255, 0.32)';\n public static get fileUploaderDisabledTextColor() {\n return this.fileUploaderDisabledColor;\n }\n public static get fileUploaderDisabledFileTypeIcon() {\n return this.fileUploaderDisabledIconColor;\n }\n //#endregion FileUploader\n },\n prototypeTheme: DarkTheme5_4,\n themeMarkers: [markThemeVersion('5.5')],\n});\n"],"mappings":"0VAA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