@salutejs/sdds-dfa 0.326.0-canary.2321.19133039112.0 → 0.326.0-canary.2322.19259276297.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/components/Combobox/Combobox.config.js +24 -16
- package/components/Combobox/Combobox.d.ts +48 -0
- package/components/DatePicker/DatePicker.config.js +8 -1
- package/components/DateTimePicker/DateTimePicker.config.d.ts +28 -0
- package/components/DateTimePicker/DateTimePicker.config.js +865 -0
- package/components/DateTimePicker/DateTimePicker.d.ts +41 -0
- package/components/DateTimePicker/DateTimePicker.js +14 -0
- package/components/DateTimePicker/index.d.ts +2 -0
- package/components/DateTimePicker/index.js +23 -0
- package/components/Range/Range.config.js +4 -1
- package/components/Select/Select.config.js +7 -7
- package/components/Tabs/horizontal/HorizontalTabItem.config.js +4 -4
- package/components/Tabs/vertical/VerticalTabItem.config.js +4 -4
- package/es/components/Combobox/Combobox.config.js +24 -16
- package/es/components/DatePicker/DatePicker.config.js +8 -1
- package/es/components/DateTimePicker/DateTimePicker.config.js +855 -0
- package/es/components/DateTimePicker/DateTimePicker.js +4 -0
- package/es/components/DateTimePicker/index.js +2 -0
- package/es/components/Range/Range.config.js +4 -1
- package/es/components/Select/Select.config.js +7 -7
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +4 -4
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +4 -4
- package/es/index.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { dateTimePickerConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
|
2
|
+
import { config } from './DateTimePicker.config';
|
|
3
|
+
var mergedConfig = mergeConfig(dateTimePickerConfig, config);
|
|
4
|
+
export var DateTimePicker = component(mergedConfig);
|
|
@@ -19,6 +19,9 @@ function _templateObject() {
|
|
|
19
19
|
": var(--text-secondary);\n ",
|
|
20
20
|
": var(--text-negative);\n ",
|
|
21
21
|
": var(--text-positive);\n\n ",
|
|
22
|
+
": var(--text-secondary);\n ",
|
|
23
|
+
": var(--text-secondary-hover);\n ",
|
|
24
|
+
": var(--text-secondary-active);\n\n ",
|
|
22
25
|
": var(--text-primary);\n ",
|
|
23
26
|
": var(--text-secondary);\n ",
|
|
24
27
|
": var(--text-tertiary);\n ",
|
|
@@ -338,7 +341,7 @@ export var config = {
|
|
|
338
341
|
},
|
|
339
342
|
variations: {
|
|
340
343
|
view: {
|
|
341
|
-
default: css(_templateObject(), tokens.background, tokens.backgroundError, tokens.backgroundSuccess, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.leftHelperColorError, tokens.leftHelperColorSuccess, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldCaretColor, tokens.indicatorColor, tokens.textFieldBackgroundColorHover, tokens.textFieldBackgroundColorFocus, tokens.textFieldBackgroundErrorColor, tokens.textFieldBackgroundErrorColorHover, tokens.textFieldBackgroundErrorColorFocus, tokens.textFieldBackgroundSuccessColor, tokens.textFieldBackgroundSuccessColorHover, tokens.textFieldBackgroundSuccessColorFocus, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor)
|
|
344
|
+
default: css(_templateObject(), tokens.background, tokens.backgroundError, tokens.backgroundSuccess, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.leftHelperColorError, tokens.leftHelperColorSuccess, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldCaretColor, tokens.indicatorColor, tokens.textFieldBackgroundColorHover, tokens.textFieldBackgroundColorFocus, tokens.textFieldBackgroundErrorColor, tokens.textFieldBackgroundErrorColorHover, tokens.textFieldBackgroundErrorColorFocus, tokens.textFieldBackgroundSuccessColor, tokens.textFieldBackgroundSuccessColorHover, tokens.textFieldBackgroundSuccessColorFocus, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor)
|
|
342
345
|
},
|
|
343
346
|
size: {
|
|
344
347
|
xl: css(_templateObject1(), tokens.borderRadius, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.indicatorSize, tokens.indicatorSizeOuter, tokens.indicatorPlacement, tokens.indicatorOuterPlacement, tokens.indicatorPlacementRight, tokens.indicatorOuterPlacementRight),
|
|
@@ -431,8 +431,8 @@ function _templateObject10() {
|
|
|
431
431
|
": 0.125rem;\n ",
|
|
432
432
|
": 0.875rem;\n\n ",
|
|
433
433
|
": 1.5rem;\n ",
|
|
434
|
-
": 1rem
|
|
435
|
-
": 0.75rem
|
|
434
|
+
": 1rem 0.875rem;\n ",
|
|
435
|
+
": 0.75rem 0.875rem;\n ",
|
|
436
436
|
": 0.75rem;\n ",
|
|
437
437
|
": 0 0.5rem 0 0;\n ",
|
|
438
438
|
": 1.5rem;\n ",
|
|
@@ -544,8 +544,8 @@ function _templateObject11() {
|
|
|
544
544
|
": 0.125rem;\n ",
|
|
545
545
|
": 0.75rem;\n\n ",
|
|
546
546
|
": 1.5rem;\n ",
|
|
547
|
-
": 0.75rem 0.
|
|
548
|
-
": 0.5rem 0.
|
|
547
|
+
": 0.75rem 0.75rem;\n ",
|
|
548
|
+
": 0.5rem 0.75rem;\n ",
|
|
549
549
|
": 0.625rem;\n ",
|
|
550
550
|
": 0 0.375rem 0 0;\n ",
|
|
551
551
|
": 1.5rem;\n ",
|
|
@@ -657,7 +657,7 @@ function _templateObject12() {
|
|
|
657
657
|
": 0.125rem;\n ",
|
|
658
658
|
": 0.625rem;\n\n ",
|
|
659
659
|
": 1.5rem;\n ",
|
|
660
|
-
": 0.5rem 0.
|
|
660
|
+
": 0.5rem 0.625rem;\n ",
|
|
661
661
|
": 0.25rem 0.75rem;\n ",
|
|
662
662
|
": 0.5rem;\n ",
|
|
663
663
|
": 1.5rem;\n ",
|
|
@@ -770,8 +770,8 @@ function _templateObject13() {
|
|
|
770
770
|
": 0.125rem;\n ",
|
|
771
771
|
": 0.5rem;\n\n ",
|
|
772
772
|
": 1rem;\n ",
|
|
773
|
-
": 0.5rem;\n ",
|
|
774
|
-
": 0.25rem 0.
|
|
773
|
+
": 0.5rem 0.375rem;\n ",
|
|
774
|
+
": 0.25rem 0.375rem;\n ",
|
|
775
775
|
": 0.375rem;\n ",
|
|
776
776
|
": 1rem;\n ",
|
|
777
777
|
": 1rem;\n ",
|
|
@@ -140,7 +140,7 @@ function _templateObject4() {
|
|
|
140
140
|
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
141
141
|
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
142
142
|
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
143
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
143
|
+
": var(--plasma-typo-body-xs-bold-font-weight);\n ",
|
|
144
144
|
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
145
145
|
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
146
146
|
": 0;\n "
|
|
@@ -164,7 +164,7 @@ function _templateObject5() {
|
|
|
164
164
|
": var(--plasma-typo-body-s-font-family);\n ",
|
|
165
165
|
": var(--plasma-typo-body-s-font-size);\n ",
|
|
166
166
|
": var(--plasma-typo-body-s-font-style);\n ",
|
|
167
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
167
|
+
": var(--plasma-typo-body-s-bold-font-weight);\n ",
|
|
168
168
|
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
169
169
|
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
170
170
|
": 0.125rem;\n "
|
|
@@ -188,7 +188,7 @@ function _templateObject6() {
|
|
|
188
188
|
": var(--plasma-typo-body-m-font-family);\n ",
|
|
189
189
|
": var(--plasma-typo-body-m-font-size);\n ",
|
|
190
190
|
": var(--plasma-typo-body-m-font-style);\n ",
|
|
191
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
191
|
+
": var(--plasma-typo-body-m-bold-font-weight);\n ",
|
|
192
192
|
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
193
193
|
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
194
194
|
": 0.25rem;\n "
|
|
@@ -212,7 +212,7 @@ function _templateObject7() {
|
|
|
212
212
|
": var(--plasma-typo-body-l-font-family);\n ",
|
|
213
213
|
": var(--plasma-typo-body-l-font-size);\n ",
|
|
214
214
|
": var(--plasma-typo-body-l-font-style);\n ",
|
|
215
|
-
": var(--plasma-typo-body-l-font-weight);\n ",
|
|
215
|
+
": var(--plasma-typo-body-l-bold-font-weight);\n ",
|
|
216
216
|
": var(--plasma-typo-body-l-letter-spacing);\n ",
|
|
217
217
|
": var(--plasma-typo-body-l-line-height);\n\n ",
|
|
218
218
|
": 0.125rem;\n "
|
|
@@ -55,7 +55,7 @@ function _templateObject1() {
|
|
|
55
55
|
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
56
56
|
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
57
57
|
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
58
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
58
|
+
": var(--plasma-typo-body-xs-bold-font-weight);\n ",
|
|
59
59
|
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
60
60
|
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
61
61
|
": 0;\n "
|
|
@@ -80,7 +80,7 @@ function _templateObject2() {
|
|
|
80
80
|
": var(--plasma-typo-body-s-font-family);\n ",
|
|
81
81
|
": var(--plasma-typo-body-s-font-size);\n ",
|
|
82
82
|
": var(--plasma-typo-body-s-font-style);\n ",
|
|
83
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
83
|
+
": var(--plasma-typo-body-s-bold-font-weight);\n ",
|
|
84
84
|
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
85
85
|
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
86
86
|
": 0.25rem;\n "
|
|
@@ -105,7 +105,7 @@ function _templateObject3() {
|
|
|
105
105
|
": var(--plasma-typo-body-m-font-family);\n ",
|
|
106
106
|
": var(--plasma-typo-body-m-font-size);\n ",
|
|
107
107
|
": var(--plasma-typo-body-m-font-style);\n ",
|
|
108
|
-
": var(--plasma-typo-body-m-font-weight);\n ",
|
|
108
|
+
": var(--plasma-typo-body-m-bold-font-weight);\n ",
|
|
109
109
|
": var(--plasma-typo-body-m-letter-spacing);\n ",
|
|
110
110
|
": var(--plasma-typo-body-m-line-height);\n\n ",
|
|
111
111
|
": 0.125rem;\n "
|
|
@@ -130,7 +130,7 @@ function _templateObject4() {
|
|
|
130
130
|
": var(--plasma-typo-body-l-font-family);\n ",
|
|
131
131
|
": var(--plasma-typo-body-l-font-size);\n ",
|
|
132
132
|
": var(--plasma-typo-body-l-font-style);\n ",
|
|
133
|
-
": var(--plasma-typo-body-l-font-weight);\n ",
|
|
133
|
+
": var(--plasma-typo-body-l-bold-font-weight);\n ",
|
|
134
134
|
": var(--plasma-typo-body-l-letter-spacing);\n ",
|
|
135
135
|
": var(--plasma-typo-body-l-line-height);\n\n ",
|
|
136
136
|
": 0.125rem;\n "
|
package/es/index.js
CHANGED
|
@@ -72,6 +72,7 @@ export * from './components/Tour';
|
|
|
72
72
|
export * from './components/EmbedIconButton';
|
|
73
73
|
export * from './components/TimePicker';
|
|
74
74
|
export * from './components/ProgressBarCircular';
|
|
75
|
+
export * from './components/DateTimePicker';
|
|
75
76
|
export * from './mixins';
|
|
76
77
|
export * from './tokens';
|
|
77
78
|
export * from './types';
|
package/index.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export * from './components/Tour';
|
|
|
72
72
|
export * from './components/EmbedIconButton';
|
|
73
73
|
export * from './components/TimePicker';
|
|
74
74
|
export * from './components/ProgressBarCircular';
|
|
75
|
+
export * from './components/DateTimePicker';
|
|
75
76
|
export * from './mixins';
|
|
76
77
|
export * from './tokens';
|
|
77
78
|
export * from './types';
|
package/index.js
CHANGED
|
@@ -76,6 +76,7 @@ _export_star(require("./components/Tour"), exports);
|
|
|
76
76
|
_export_star(require("./components/EmbedIconButton"), exports);
|
|
77
77
|
_export_star(require("./components/TimePicker"), exports);
|
|
78
78
|
_export_star(require("./components/ProgressBarCircular"), exports);
|
|
79
|
+
_export_star(require("./components/DateTimePicker"), exports);
|
|
79
80
|
_export_star(require("./mixins"), exports);
|
|
80
81
|
_export_star(require("./tokens"), exports);
|
|
81
82
|
_export_star(require("./types"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-dfa",
|
|
3
|
-
"version": "0.326.0-canary.
|
|
3
|
+
"version": "0.326.0-canary.2322.19259276297.0",
|
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS DFA web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "packages/sdds-dfa"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@salutejs/plasma-new-hope": "0.340.0-canary.
|
|
22
|
+
"@salutejs/plasma-new-hope": "0.340.0-canary.2322.19259276297.0",
|
|
23
23
|
"@salutejs/sdds-themes": "0.48.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"Anton Vinogradov"
|
|
95
95
|
],
|
|
96
96
|
"sideEffects": false,
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "a4cb9f8dce8b7357eee5bb58c6fed164a21b4362"
|
|
98
98
|
}
|