@sheinx/shineout-style 3.4.0-beta.3 → 3.4.0-beta.5
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/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +4 -0
- package/cjs/normalize.js +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +5 -0
- package/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +8 -0
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +0 -3
- package/cjs/tooltip/tooltip.d.ts.map +1 -1
- package/cjs/tooltip/tooltip.js +91 -90
- package/cjs/version.d.ts +1 -1
- package/cjs/version.js +1 -1
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +4 -0
- package/esm/normalize.js +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +5 -0
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +8 -0
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +0 -3
- package/esm/tooltip/tooltip.d.ts.map +1 -1
- package/esm/tooltip/tooltip.js +91 -90
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAonBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -685,6 +685,10 @@ var datePickerStyle = _objectSpread(_objectSpread({
|
|
|
685
685
|
cursor: 'pointer'
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
|
+
quickPickerActiveItem: {
|
|
689
|
+
color: _theme.default.datePickerQuickPanelItemActiveFontColor,
|
|
690
|
+
background: _theme.default.datePickerQuickPanelItemActiveBackgroundColor
|
|
691
|
+
},
|
|
688
692
|
pickerFooterBtn: {}
|
|
689
693
|
});
|
|
690
694
|
var _default = exports.default = datePickerStyle;
|
package/cjs/normalize.js
CHANGED
|
@@ -25,7 +25,7 @@ var token = {
|
|
|
25
25
|
};
|
|
26
26
|
var lineHeightComputed = '20px';
|
|
27
27
|
var lineHeightComputed2 = '10px';
|
|
28
|
-
var css = "*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\n\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n color: ".concat(token.color, ";\n font-family: ").concat(token.fontFamily, ";\n font-size: ").concat(token.fontSize, ";\n line-height: ").concat(token.lineHeight, ";\n}\n\n\narticle,\naside,\nfooter,\nheader,\nnav,\nsection {\n display: block;\n}\n\nh1 {\n margin: 0.67em 0;\n font-size: 2em;\n}\n\nfigcaption,\nfigure,\nmain {\n display: block;\n}\n\nfigure {\n margin: 1em 40px;\n}\n\nhr {\n overflow: visible;\n height: 0;\n box-sizing: content-box;\n}\n\npre {\n font-family: \"SFMono-Regular\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 1em;\n}\n\na {\n background-color: transparent;\n color: ").concat(token.linkColor, ";\n cursor: pointer;\n outline: none;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n -webkit-text-decoration-skip: objects;\n transition: color 0.3s;\n}\n\na:active,\na:hover {\n color: ").concat(token.linkColor, ";\n outline: 0;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n}\na[disabled] {\n color: ").concat(token.linkDisabledColor, ";\n cursor: not-allowed;\n pointer-events: none;\n}\n\nabbr[title] {\n border-bottom: none;\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\nb,\nstrong {\n font-weight: inherit;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\ndfn {\n font-style: italic;\n}\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\naudio,\nvideo {\n display: inline-block;\n}\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\nimg {\n border-style: none;\n}\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton:-moz-focusring,\n[type='button']:-moz-focusring,\n[type='reset']:-moz-focusring,\n[type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\nlegend {\n display: table;\n max-width: 100%;\n box-sizing: border-box;\n padding: 0;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n display: inline-block;\n vertical-align: baseline;\n}\n\ntextarea {\n overflow: auto;\n}\n\n[type='checkbox'],\n[type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n\n\ndetails,\nmenu {\n display: block;\n}\n\n\nsummary {\n display: list-item;\n}\n\n\ncanvas {\n display: inline-block;\n}\n\n\ntemplate {\n display: none;\n}\n\n\n[hidden] {\n display: none;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n color: ").concat(token.headingsColor, ";\n font-family: ").concat(token.headingsFontFamily, ";\n font-weight: ").concat(token.headingsFontWeight, ";\n line-height: ").concat(token.headingsLineHeight, ";\n}\nh1 small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small,\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n color: ").concat(token.headingsSmallColor, ";\n font-weight: normal;\n line-height: 1;\n}\n\n\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: ").concat(lineHeightComputed, ";\n margin-bottom: ").concat(
|
|
28
|
+
var css = "*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\n\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n color: ".concat(token.color, ";\n font-family: ").concat(token.fontFamily, ";\n font-size: ").concat(token.fontSize, ";\n line-height: ").concat(token.lineHeight, ";\n}\n\n\narticle,\naside,\nfooter,\nheader,\nnav,\nsection {\n display: block;\n}\n\nh1 {\n margin: 0.67em 0;\n font-size: 2em;\n}\n\nfigcaption,\nfigure,\nmain {\n display: block;\n}\n\nfigure {\n margin: 1em 40px;\n}\n\nhr {\n overflow: visible;\n height: 0;\n box-sizing: content-box;\n}\n\npre {\n font-family: \"SFMono-Regular\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 1em;\n}\n\na {\n background-color: transparent;\n color: ").concat(token.linkColor, ";\n cursor: pointer;\n outline: none;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n -webkit-text-decoration-skip: objects;\n transition: color 0.3s;\n}\n\na:active,\na:hover {\n color: ").concat(token.linkColor, ";\n outline: 0;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n}\na[disabled] {\n color: ").concat(token.linkDisabledColor, ";\n cursor: not-allowed;\n pointer-events: none;\n}\n\nabbr[title] {\n border-bottom: none;\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\nb,\nstrong {\n font-weight: inherit;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\ndfn {\n font-style: italic;\n}\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\naudio,\nvideo {\n display: inline-block;\n}\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\nimg {\n border-style: none;\n}\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton:-moz-focusring,\n[type='button']:-moz-focusring,\n[type='reset']:-moz-focusring,\n[type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\nlegend {\n display: table;\n max-width: 100%;\n box-sizing: border-box;\n padding: 0;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n display: inline-block;\n vertical-align: baseline;\n}\n\ntextarea {\n overflow: auto;\n}\n\n[type='checkbox'],\n[type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n\n\ndetails,\nmenu {\n display: block;\n}\n\n\nsummary {\n display: list-item;\n}\n\n\ncanvas {\n display: inline-block;\n}\n\n\ntemplate {\n display: none;\n}\n\n\n[hidden] {\n display: none;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n color: ").concat(token.headingsColor, ";\n font-family: ").concat(token.headingsFontFamily, ";\n font-weight: ").concat(token.headingsFontWeight, ";\n line-height: ").concat(token.headingsLineHeight, ";\n}\nh1 small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small,\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n color: ").concat(token.headingsSmallColor, ";\n font-weight: normal;\n line-height: 1;\n}\n\n\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: ").concat(lineHeightComputed, ";\n margin-bottom: ").concat(lineHeightComputed2, ";\n}\n\nhi small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small {\n font-size: 65%;\n}\n\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: ").concat(lineHeightComputed2, ";\n margin-bottom: ").concat(lineHeightComputed2, ";\n}\n\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n font-size: 75%;\n}\n\np {\n margin: 0 0 ").concat(lineHeightComputed2, ";\n}");
|
|
29
29
|
if (typeof window !== 'undefined') {
|
|
30
30
|
var link = document.createElement('style');
|
|
31
31
|
link.innerHTML = css;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAygB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/select/select.js
CHANGED
|
@@ -445,6 +445,11 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
445
445
|
padding: 0,
|
|
446
446
|
width: '100%'
|
|
447
447
|
},
|
|
448
|
+
dynamicList: {
|
|
449
|
+
'& $optionInner': {
|
|
450
|
+
textWrap: 'wrap'
|
|
451
|
+
}
|
|
452
|
+
},
|
|
448
453
|
option: {
|
|
449
454
|
listStyle: 'none',
|
|
450
455
|
lineHeight: _theme.default.lineHeightDynamic,
|
package/cjs/table/table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAscxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/table/table.js
CHANGED
|
@@ -242,6 +242,14 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
242
242
|
background: "".concat(_theme.default.tableTbodyHoverBackgroundColor)
|
|
243
243
|
}
|
|
244
244
|
},
|
|
245
|
+
rowHover: {
|
|
246
|
+
'& td': {
|
|
247
|
+
transition: 'background-color 0.2s'
|
|
248
|
+
},
|
|
249
|
+
'&&:hover td': {
|
|
250
|
+
background: "".concat(_theme.default.tableTbodyHoverBackgroundColor)
|
|
251
|
+
}
|
|
252
|
+
},
|
|
245
253
|
floatLeft: {
|
|
246
254
|
'& $cellFixedLast$cellFixedLeft': {
|
|
247
255
|
'&::after': {
|
package/cjs/tag/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA8IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/cjs/tag/tag.js
CHANGED
|
@@ -171,9 +171,6 @@ var TagStyle = {
|
|
|
171
171
|
padding: "0 ".concat(_theme.default.tagSmallPaddingX),
|
|
172
172
|
fontWeight: _theme.default.tagSmallFontWeight,
|
|
173
173
|
borderRadius: _theme.default.tagSmallBorderRadius,
|
|
174
|
-
'& $container': {
|
|
175
|
-
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
|
|
176
|
-
},
|
|
177
174
|
'& $wrapper': {
|
|
178
175
|
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
|
|
179
176
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C9C,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C9C,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,cAAc,CAoMhD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/cjs/tooltip/tooltip.js
CHANGED
|
@@ -89,7 +89,8 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
89
89
|
backgroundColor: _theme.default.tooltipDangerBackgroundColor,
|
|
90
90
|
color: _theme.default.tooltipDangerColor
|
|
91
91
|
},
|
|
92
|
-
'&::before': {
|
|
92
|
+
// '&::before': {
|
|
93
|
+
'& $arrow': {
|
|
93
94
|
'z-index': 1,
|
|
94
95
|
position: 'absolute',
|
|
95
96
|
content: '" "',
|
|
@@ -104,19 +105,13 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
104
105
|
},
|
|
105
106
|
'&[data-soui-position^="bottom"]': {
|
|
106
107
|
marginTop: arrowGap - 2,
|
|
107
|
-
'
|
|
108
|
-
top: '0',
|
|
109
|
-
left: '0',
|
|
110
|
-
right: '0',
|
|
111
|
-
margin: 'auto'
|
|
112
|
-
},
|
|
113
|
-
'&[dir=ltr]::before': {
|
|
108
|
+
'&[dir=ltr] $arrow': {
|
|
114
109
|
transform: 'translate(0, -50%) rotate(-45deg)'
|
|
115
110
|
},
|
|
116
|
-
'&[dir=rtl]
|
|
111
|
+
'&[dir=rtl] $arrow': {
|
|
117
112
|
transform: 'translate(0, -50%) rotate(45deg)'
|
|
118
113
|
},
|
|
119
|
-
'
|
|
114
|
+
'& $arrow::after': {
|
|
120
115
|
top: arrowGap * -1,
|
|
121
116
|
left: '0',
|
|
122
117
|
right: '0',
|
|
@@ -128,105 +123,105 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
128
123
|
},
|
|
129
124
|
'&[data-soui-position^="top"]': {
|
|
130
125
|
marginTop: (arrowGap - 2) * -1,
|
|
131
|
-
'
|
|
132
|
-
bottom: '0',
|
|
133
|
-
transform: 'translate(0, 50%) rotate(135deg)',
|
|
134
|
-
left: '0',
|
|
135
|
-
right: '0',
|
|
136
|
-
margin: 'auto'
|
|
137
|
-
},
|
|
138
|
-
'&[dir=ltr]::before': {
|
|
126
|
+
'&[dir=ltr] $arrow': {
|
|
139
127
|
transform: 'translate(0, 50%) rotate(135deg)'
|
|
140
128
|
},
|
|
141
|
-
'&[dir=rtl]
|
|
129
|
+
'&[dir=rtl] $arrow': {
|
|
142
130
|
transform: 'translate(0, 50%) rotate(-135deg)'
|
|
143
|
-
},
|
|
144
|
-
'&::after': {
|
|
145
|
-
bottom: arrowGap * -1,
|
|
146
|
-
left: '0',
|
|
147
|
-
right: '0',
|
|
148
|
-
content: '" "',
|
|
149
|
-
display: 'block',
|
|
150
|
-
height: arrowGap,
|
|
151
|
-
position: 'absolute'
|
|
152
131
|
}
|
|
132
|
+
// '&::before': {
|
|
133
|
+
// bottom: '0',
|
|
134
|
+
// transform: 'translate(0, 50%) rotate(135deg)',
|
|
135
|
+
// left: '0',
|
|
136
|
+
// right: '0',
|
|
137
|
+
// margin: 'auto',
|
|
138
|
+
// },
|
|
139
|
+
// '&[dir=ltr]::before': {
|
|
140
|
+
// transform: 'translate(0, 50%) rotate(135deg)',
|
|
141
|
+
// },
|
|
142
|
+
// '&[dir=rtl]::before': {
|
|
143
|
+
// transform: 'translate(0, 50%) rotate(-135deg)',
|
|
144
|
+
// },
|
|
145
|
+
// '&::after': {
|
|
146
|
+
// bottom: arrowGap * -1,
|
|
147
|
+
// left: '0',
|
|
148
|
+
// right: '0',
|
|
149
|
+
// content: '" "',
|
|
150
|
+
// display: 'block',
|
|
151
|
+
// height: arrowGap,
|
|
152
|
+
// position: 'absolute',
|
|
153
|
+
// },
|
|
153
154
|
},
|
|
154
155
|
'&[data-soui-position^="left"]': {
|
|
155
156
|
marginLeft: (arrowGap - 2) * -1,
|
|
156
|
-
'&[dir=ltr]': {
|
|
157
|
-
marginLeft: (arrowGap - 2) * -1
|
|
158
|
-
},
|
|
159
|
-
'&[dir=rtl]': {
|
|
160
|
-
marginRight: (arrowGap - 2) * -1
|
|
161
|
-
},
|
|
162
|
-
'&::before': {
|
|
163
|
-
right: 0,
|
|
164
|
-
top: '0',
|
|
165
|
-
bottom: '0',
|
|
166
|
-
margin: 'auto'
|
|
167
|
-
},
|
|
168
|
-
'&[dir=ltr]::before': {
|
|
157
|
+
'&[dir=ltr] $arrow': {
|
|
169
158
|
transform: 'translate(50%, 0) rotate(45deg)'
|
|
170
159
|
},
|
|
171
|
-
'&[dir=rtl]
|
|
160
|
+
'&[dir=rtl] $arrow': {
|
|
172
161
|
transform: 'translate(50%, 0) rotate(135deg)'
|
|
173
|
-
},
|
|
174
|
-
'&::after': {
|
|
175
|
-
left: arrowGap * -1,
|
|
176
|
-
top: '0',
|
|
177
|
-
bottom: '0',
|
|
178
|
-
content: '" "',
|
|
179
|
-
display: 'block',
|
|
180
|
-
width: arrowGap,
|
|
181
|
-
position: 'absolute'
|
|
182
162
|
}
|
|
163
|
+
|
|
164
|
+
// '&[dir=ltr]': { marginLeft: (arrowGap - 2) * -1 },
|
|
165
|
+
// '&[dir=rtl]': { marginRight: (arrowGap - 2) * -1 },
|
|
166
|
+
// '&::before': {
|
|
167
|
+
// right: 0,
|
|
168
|
+
// top: '0',
|
|
169
|
+
// bottom: '0',
|
|
170
|
+
// margin: 'auto',
|
|
171
|
+
// },
|
|
172
|
+
// '&[dir=ltr]::before': {
|
|
173
|
+
// transform: 'translate(50%, 0) rotate(45deg)',
|
|
174
|
+
// },
|
|
175
|
+
// '&[dir=rtl]::before': {
|
|
176
|
+
// transform: 'translate(50%, 0) rotate(135deg)',
|
|
177
|
+
// },
|
|
178
|
+
// '&::after': {
|
|
179
|
+
// left: arrowGap * -1,
|
|
180
|
+
// top: '0',
|
|
181
|
+
// bottom: '0',
|
|
182
|
+
// content: '" "',
|
|
183
|
+
// display: 'block',
|
|
184
|
+
// width: arrowGap,
|
|
185
|
+
// position: 'absolute',
|
|
186
|
+
// },
|
|
183
187
|
},
|
|
184
188
|
'&[data-soui-position^="right"]': {
|
|
185
189
|
marginLeft: arrowGap - 2,
|
|
186
|
-
'&[dir=ltr]': {
|
|
187
|
-
marginLeft: arrowGap - 2
|
|
188
|
-
},
|
|
189
|
-
'&[dir=rtl]': {
|
|
190
|
-
marginRight: arrowGap - 2
|
|
191
|
-
},
|
|
192
|
-
'&::before': {
|
|
193
|
-
left: '0',
|
|
194
|
-
top: '0',
|
|
195
|
-
bottom: '0',
|
|
196
|
-
margin: 'auto'
|
|
197
|
-
},
|
|
198
|
-
'&[dir=ltr]::before': {
|
|
190
|
+
'&[dir=ltr] $arrow': {
|
|
199
191
|
transform: 'translate(-50%, 0) rotate(-135deg)'
|
|
200
192
|
},
|
|
201
|
-
'&[dir=rtl]
|
|
193
|
+
'&[dir=rtl] $arrow': {
|
|
202
194
|
transform: 'translate(-50%, 0) rotate(-45deg)'
|
|
203
|
-
},
|
|
204
|
-
'&::after': {
|
|
205
|
-
left: arrowGap * -1,
|
|
206
|
-
top: '0',
|
|
207
|
-
bottom: '0',
|
|
208
|
-
content: '" "',
|
|
209
|
-
display: 'block',
|
|
210
|
-
width: arrowGap,
|
|
211
|
-
position: 'absolute'
|
|
212
195
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
196
|
+
|
|
197
|
+
// '&[dir=ltr]': { marginLeft: arrowGap - 2 },
|
|
198
|
+
// '&[dir=rtl]': { marginRight: arrowGap - 2 },
|
|
199
|
+
// '&::before': {
|
|
200
|
+
// left: '0',
|
|
201
|
+
// top: '0',
|
|
202
|
+
// bottom: '0',
|
|
203
|
+
// margin: 'auto',
|
|
204
|
+
// },
|
|
205
|
+
// '&[dir=ltr]::before': {
|
|
206
|
+
// transform: 'translate(-50%, 0) rotate(-135deg)',
|
|
207
|
+
// },
|
|
208
|
+
// '&[dir=rtl]::before': {
|
|
209
|
+
// transform: 'translate(-50%, 0) rotate(-45deg)',
|
|
210
|
+
// },
|
|
211
|
+
// '&::after': {
|
|
212
|
+
// left: arrowGap * -1,
|
|
213
|
+
// top: '0',
|
|
214
|
+
// bottom: '0',
|
|
215
|
+
// content: '" "',
|
|
216
|
+
// display: 'block',
|
|
217
|
+
// width: arrowGap,
|
|
218
|
+
// position: 'absolute',
|
|
219
|
+
// },
|
|
229
220
|
}
|
|
221
|
+
// '&&[data-soui-position$="-left"]::before': { left: arrowMargin, right: 'auto' },
|
|
222
|
+
// '&&[data-soui-position$="-right"]::before': { right: arrowMargin, left: 'auto' },
|
|
223
|
+
// '&&[data-soui-position$="-top"]::before': { top: arrowMargin, bottom: 'auto' },
|
|
224
|
+
// '&&[data-soui-position$="-bottom"]::before': { bottom: arrowMargin, top: 'auto' },
|
|
230
225
|
},
|
|
231
226
|
wrapperOpen: {
|
|
232
227
|
display: 'block',
|
|
@@ -246,6 +241,12 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
246
241
|
target: {
|
|
247
242
|
display: 'inline-block'
|
|
248
243
|
},
|
|
244
|
+
arrow: {
|
|
245
|
+
// before
|
|
246
|
+
'&::before': {
|
|
247
|
+
content: "''"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
249
250
|
content: {
|
|
250
251
|
padding: "".concat(_theme.default.tooltipPaddingY, " ").concat(_theme.default.tooltipPaddingX),
|
|
251
252
|
fontSize: _theme.default.tooltipFontSize
|
package/cjs/version.d.ts
CHANGED
package/cjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAonBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -678,6 +678,10 @@ var datePickerStyle = _objectSpread(_objectSpread({
|
|
|
678
678
|
cursor: 'pointer'
|
|
679
679
|
}
|
|
680
680
|
},
|
|
681
|
+
quickPickerActiveItem: {
|
|
682
|
+
color: token.datePickerQuickPanelItemActiveFontColor,
|
|
683
|
+
background: token.datePickerQuickPanelItemActiveBackgroundColor
|
|
684
|
+
},
|
|
681
685
|
pickerFooterBtn: {}
|
|
682
686
|
});
|
|
683
687
|
export default datePickerStyle;
|
package/esm/normalize.js
CHANGED
|
@@ -22,7 +22,7 @@ var token = {
|
|
|
22
22
|
};
|
|
23
23
|
var lineHeightComputed = '20px';
|
|
24
24
|
var lineHeightComputed2 = '10px';
|
|
25
|
-
var css = "*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\n\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n color: ".concat(token.color, ";\n font-family: ").concat(token.fontFamily, ";\n font-size: ").concat(token.fontSize, ";\n line-height: ").concat(token.lineHeight, ";\n}\n\n\narticle,\naside,\nfooter,\nheader,\nnav,\nsection {\n display: block;\n}\n\nh1 {\n margin: 0.67em 0;\n font-size: 2em;\n}\n\nfigcaption,\nfigure,\nmain {\n display: block;\n}\n\nfigure {\n margin: 1em 40px;\n}\n\nhr {\n overflow: visible;\n height: 0;\n box-sizing: content-box;\n}\n\npre {\n font-family: \"SFMono-Regular\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 1em;\n}\n\na {\n background-color: transparent;\n color: ").concat(token.linkColor, ";\n cursor: pointer;\n outline: none;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n -webkit-text-decoration-skip: objects;\n transition: color 0.3s;\n}\n\na:active,\na:hover {\n color: ").concat(token.linkColor, ";\n outline: 0;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n}\na[disabled] {\n color: ").concat(token.linkDisabledColor, ";\n cursor: not-allowed;\n pointer-events: none;\n}\n\nabbr[title] {\n border-bottom: none;\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\nb,\nstrong {\n font-weight: inherit;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\ndfn {\n font-style: italic;\n}\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\naudio,\nvideo {\n display: inline-block;\n}\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\nimg {\n border-style: none;\n}\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton:-moz-focusring,\n[type='button']:-moz-focusring,\n[type='reset']:-moz-focusring,\n[type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\nlegend {\n display: table;\n max-width: 100%;\n box-sizing: border-box;\n padding: 0;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n display: inline-block;\n vertical-align: baseline;\n}\n\ntextarea {\n overflow: auto;\n}\n\n[type='checkbox'],\n[type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n\n\ndetails,\nmenu {\n display: block;\n}\n\n\nsummary {\n display: list-item;\n}\n\n\ncanvas {\n display: inline-block;\n}\n\n\ntemplate {\n display: none;\n}\n\n\n[hidden] {\n display: none;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n color: ").concat(token.headingsColor, ";\n font-family: ").concat(token.headingsFontFamily, ";\n font-weight: ").concat(token.headingsFontWeight, ";\n line-height: ").concat(token.headingsLineHeight, ";\n}\nh1 small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small,\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n color: ").concat(token.headingsSmallColor, ";\n font-weight: normal;\n line-height: 1;\n}\n\n\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: ").concat(lineHeightComputed, ";\n margin-bottom: ").concat(
|
|
25
|
+
var css = "*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\n\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n color: ".concat(token.color, ";\n font-family: ").concat(token.fontFamily, ";\n font-size: ").concat(token.fontSize, ";\n line-height: ").concat(token.lineHeight, ";\n}\n\n\narticle,\naside,\nfooter,\nheader,\nnav,\nsection {\n display: block;\n}\n\nh1 {\n margin: 0.67em 0;\n font-size: 2em;\n}\n\nfigcaption,\nfigure,\nmain {\n display: block;\n}\n\nfigure {\n margin: 1em 40px;\n}\n\nhr {\n overflow: visible;\n height: 0;\n box-sizing: content-box;\n}\n\npre {\n font-family: \"SFMono-Regular\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 1em;\n}\n\na {\n background-color: transparent;\n color: ").concat(token.linkColor, ";\n cursor: pointer;\n outline: none;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n -webkit-text-decoration-skip: objects;\n transition: color 0.3s;\n}\n\na:active,\na:hover {\n color: ").concat(token.linkColor, ";\n outline: 0;\n text-decoration: ").concat(token.linkHoverDecoration, ";\n}\na[disabled] {\n color: ").concat(token.linkDisabledColor, ";\n cursor: not-allowed;\n pointer-events: none;\n}\n\nabbr[title] {\n border-bottom: none;\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\nb,\nstrong {\n font-weight: inherit;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\ndfn {\n font-style: italic;\n}\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\naudio,\nvideo {\n display: inline-block;\n}\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\nimg {\n border-style: none;\n}\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton:-moz-focusring,\n[type='button']:-moz-focusring,\n[type='reset']:-moz-focusring,\n[type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\nlegend {\n display: table;\n max-width: 100%;\n box-sizing: border-box;\n padding: 0;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n display: inline-block;\n vertical-align: baseline;\n}\n\ntextarea {\n overflow: auto;\n}\n\n[type='checkbox'],\n[type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n\n\ndetails,\nmenu {\n display: block;\n}\n\n\nsummary {\n display: list-item;\n}\n\n\ncanvas {\n display: inline-block;\n}\n\n\ntemplate {\n display: none;\n}\n\n\n[hidden] {\n display: none;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n color: ").concat(token.headingsColor, ";\n font-family: ").concat(token.headingsFontFamily, ";\n font-weight: ").concat(token.headingsFontWeight, ";\n line-height: ").concat(token.headingsLineHeight, ";\n}\nh1 small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small,\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n color: ").concat(token.headingsSmallColor, ";\n font-weight: normal;\n line-height: 1;\n}\n\n\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: ").concat(lineHeightComputed, ";\n margin-bottom: ").concat(lineHeightComputed2, ";\n}\n\nhi small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small {\n font-size: 65%;\n}\n\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: ").concat(lineHeightComputed2, ";\n margin-bottom: ").concat(lineHeightComputed2, ";\n}\n\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n font-size: 75%;\n}\n\np {\n margin: 0 0 ").concat(lineHeightComputed2, ";\n}");
|
|
26
26
|
if (typeof window !== 'undefined') {
|
|
27
27
|
var link = document.createElement('style');
|
|
28
28
|
link.innerHTML = css;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAygB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/select/select.js
CHANGED
package/esm/table/table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAscxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/table/table.js
CHANGED
|
@@ -235,6 +235,14 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
235
235
|
background: "".concat(token.tableTbodyHoverBackgroundColor)
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
|
+
rowHover: {
|
|
239
|
+
'& td': {
|
|
240
|
+
transition: 'background-color 0.2s'
|
|
241
|
+
},
|
|
242
|
+
'&&:hover td': {
|
|
243
|
+
background: "".concat(token.tableTbodyHoverBackgroundColor)
|
|
244
|
+
}
|
|
245
|
+
},
|
|
238
246
|
floatLeft: {
|
|
239
247
|
'& $cellFixedLast$cellFixedLeft': {
|
|
240
248
|
'&::after': {
|
package/esm/tag/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA8IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/esm/tag/tag.js
CHANGED
|
@@ -164,9 +164,6 @@ var TagStyle = {
|
|
|
164
164
|
padding: "0 ".concat(Token.tagSmallPaddingX),
|
|
165
165
|
fontWeight: Token.tagSmallFontWeight,
|
|
166
166
|
borderRadius: Token.tagSmallBorderRadius,
|
|
167
|
-
'& $container': {
|
|
168
|
-
lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
|
|
169
|
-
},
|
|
170
167
|
'& $wrapper': {
|
|
171
168
|
lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
|
|
172
169
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C9C,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C9C,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,cAAc,CAoMhD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/esm/tooltip/tooltip.js
CHANGED
|
@@ -82,7 +82,8 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
82
82
|
backgroundColor: token.tooltipDangerBackgroundColor,
|
|
83
83
|
color: token.tooltipDangerColor
|
|
84
84
|
},
|
|
85
|
-
'&::before': {
|
|
85
|
+
// '&::before': {
|
|
86
|
+
'& $arrow': {
|
|
86
87
|
'z-index': 1,
|
|
87
88
|
position: 'absolute',
|
|
88
89
|
content: '" "',
|
|
@@ -97,19 +98,13 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
97
98
|
},
|
|
98
99
|
'&[data-soui-position^="bottom"]': {
|
|
99
100
|
marginTop: arrowGap - 2,
|
|
100
|
-
'
|
|
101
|
-
top: '0',
|
|
102
|
-
left: '0',
|
|
103
|
-
right: '0',
|
|
104
|
-
margin: 'auto'
|
|
105
|
-
},
|
|
106
|
-
'&[dir=ltr]::before': {
|
|
101
|
+
'&[dir=ltr] $arrow': {
|
|
107
102
|
transform: 'translate(0, -50%) rotate(-45deg)'
|
|
108
103
|
},
|
|
109
|
-
'&[dir=rtl]
|
|
104
|
+
'&[dir=rtl] $arrow': {
|
|
110
105
|
transform: 'translate(0, -50%) rotate(45deg)'
|
|
111
106
|
},
|
|
112
|
-
'
|
|
107
|
+
'& $arrow::after': {
|
|
113
108
|
top: arrowGap * -1,
|
|
114
109
|
left: '0',
|
|
115
110
|
right: '0',
|
|
@@ -121,105 +116,105 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
121
116
|
},
|
|
122
117
|
'&[data-soui-position^="top"]': {
|
|
123
118
|
marginTop: (arrowGap - 2) * -1,
|
|
124
|
-
'
|
|
125
|
-
bottom: '0',
|
|
126
|
-
transform: 'translate(0, 50%) rotate(135deg)',
|
|
127
|
-
left: '0',
|
|
128
|
-
right: '0',
|
|
129
|
-
margin: 'auto'
|
|
130
|
-
},
|
|
131
|
-
'&[dir=ltr]::before': {
|
|
119
|
+
'&[dir=ltr] $arrow': {
|
|
132
120
|
transform: 'translate(0, 50%) rotate(135deg)'
|
|
133
121
|
},
|
|
134
|
-
'&[dir=rtl]
|
|
122
|
+
'&[dir=rtl] $arrow': {
|
|
135
123
|
transform: 'translate(0, 50%) rotate(-135deg)'
|
|
136
|
-
},
|
|
137
|
-
'&::after': {
|
|
138
|
-
bottom: arrowGap * -1,
|
|
139
|
-
left: '0',
|
|
140
|
-
right: '0',
|
|
141
|
-
content: '" "',
|
|
142
|
-
display: 'block',
|
|
143
|
-
height: arrowGap,
|
|
144
|
-
position: 'absolute'
|
|
145
124
|
}
|
|
125
|
+
// '&::before': {
|
|
126
|
+
// bottom: '0',
|
|
127
|
+
// transform: 'translate(0, 50%) rotate(135deg)',
|
|
128
|
+
// left: '0',
|
|
129
|
+
// right: '0',
|
|
130
|
+
// margin: 'auto',
|
|
131
|
+
// },
|
|
132
|
+
// '&[dir=ltr]::before': {
|
|
133
|
+
// transform: 'translate(0, 50%) rotate(135deg)',
|
|
134
|
+
// },
|
|
135
|
+
// '&[dir=rtl]::before': {
|
|
136
|
+
// transform: 'translate(0, 50%) rotate(-135deg)',
|
|
137
|
+
// },
|
|
138
|
+
// '&::after': {
|
|
139
|
+
// bottom: arrowGap * -1,
|
|
140
|
+
// left: '0',
|
|
141
|
+
// right: '0',
|
|
142
|
+
// content: '" "',
|
|
143
|
+
// display: 'block',
|
|
144
|
+
// height: arrowGap,
|
|
145
|
+
// position: 'absolute',
|
|
146
|
+
// },
|
|
146
147
|
},
|
|
147
148
|
'&[data-soui-position^="left"]': {
|
|
148
149
|
marginLeft: (arrowGap - 2) * -1,
|
|
149
|
-
'&[dir=ltr]': {
|
|
150
|
-
marginLeft: (arrowGap - 2) * -1
|
|
151
|
-
},
|
|
152
|
-
'&[dir=rtl]': {
|
|
153
|
-
marginRight: (arrowGap - 2) * -1
|
|
154
|
-
},
|
|
155
|
-
'&::before': {
|
|
156
|
-
right: 0,
|
|
157
|
-
top: '0',
|
|
158
|
-
bottom: '0',
|
|
159
|
-
margin: 'auto'
|
|
160
|
-
},
|
|
161
|
-
'&[dir=ltr]::before': {
|
|
150
|
+
'&[dir=ltr] $arrow': {
|
|
162
151
|
transform: 'translate(50%, 0) rotate(45deg)'
|
|
163
152
|
},
|
|
164
|
-
'&[dir=rtl]
|
|
153
|
+
'&[dir=rtl] $arrow': {
|
|
165
154
|
transform: 'translate(50%, 0) rotate(135deg)'
|
|
166
|
-
},
|
|
167
|
-
'&::after': {
|
|
168
|
-
left: arrowGap * -1,
|
|
169
|
-
top: '0',
|
|
170
|
-
bottom: '0',
|
|
171
|
-
content: '" "',
|
|
172
|
-
display: 'block',
|
|
173
|
-
width: arrowGap,
|
|
174
|
-
position: 'absolute'
|
|
175
155
|
}
|
|
156
|
+
|
|
157
|
+
// '&[dir=ltr]': { marginLeft: (arrowGap - 2) * -1 },
|
|
158
|
+
// '&[dir=rtl]': { marginRight: (arrowGap - 2) * -1 },
|
|
159
|
+
// '&::before': {
|
|
160
|
+
// right: 0,
|
|
161
|
+
// top: '0',
|
|
162
|
+
// bottom: '0',
|
|
163
|
+
// margin: 'auto',
|
|
164
|
+
// },
|
|
165
|
+
// '&[dir=ltr]::before': {
|
|
166
|
+
// transform: 'translate(50%, 0) rotate(45deg)',
|
|
167
|
+
// },
|
|
168
|
+
// '&[dir=rtl]::before': {
|
|
169
|
+
// transform: 'translate(50%, 0) rotate(135deg)',
|
|
170
|
+
// },
|
|
171
|
+
// '&::after': {
|
|
172
|
+
// left: arrowGap * -1,
|
|
173
|
+
// top: '0',
|
|
174
|
+
// bottom: '0',
|
|
175
|
+
// content: '" "',
|
|
176
|
+
// display: 'block',
|
|
177
|
+
// width: arrowGap,
|
|
178
|
+
// position: 'absolute',
|
|
179
|
+
// },
|
|
176
180
|
},
|
|
177
181
|
'&[data-soui-position^="right"]': {
|
|
178
182
|
marginLeft: arrowGap - 2,
|
|
179
|
-
'&[dir=ltr]': {
|
|
180
|
-
marginLeft: arrowGap - 2
|
|
181
|
-
},
|
|
182
|
-
'&[dir=rtl]': {
|
|
183
|
-
marginRight: arrowGap - 2
|
|
184
|
-
},
|
|
185
|
-
'&::before': {
|
|
186
|
-
left: '0',
|
|
187
|
-
top: '0',
|
|
188
|
-
bottom: '0',
|
|
189
|
-
margin: 'auto'
|
|
190
|
-
},
|
|
191
|
-
'&[dir=ltr]::before': {
|
|
183
|
+
'&[dir=ltr] $arrow': {
|
|
192
184
|
transform: 'translate(-50%, 0) rotate(-135deg)'
|
|
193
185
|
},
|
|
194
|
-
'&[dir=rtl]
|
|
186
|
+
'&[dir=rtl] $arrow': {
|
|
195
187
|
transform: 'translate(-50%, 0) rotate(-45deg)'
|
|
196
|
-
},
|
|
197
|
-
'&::after': {
|
|
198
|
-
left: arrowGap * -1,
|
|
199
|
-
top: '0',
|
|
200
|
-
bottom: '0',
|
|
201
|
-
content: '" "',
|
|
202
|
-
display: 'block',
|
|
203
|
-
width: arrowGap,
|
|
204
|
-
position: 'absolute'
|
|
205
188
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
189
|
+
|
|
190
|
+
// '&[dir=ltr]': { marginLeft: arrowGap - 2 },
|
|
191
|
+
// '&[dir=rtl]': { marginRight: arrowGap - 2 },
|
|
192
|
+
// '&::before': {
|
|
193
|
+
// left: '0',
|
|
194
|
+
// top: '0',
|
|
195
|
+
// bottom: '0',
|
|
196
|
+
// margin: 'auto',
|
|
197
|
+
// },
|
|
198
|
+
// '&[dir=ltr]::before': {
|
|
199
|
+
// transform: 'translate(-50%, 0) rotate(-135deg)',
|
|
200
|
+
// },
|
|
201
|
+
// '&[dir=rtl]::before': {
|
|
202
|
+
// transform: 'translate(-50%, 0) rotate(-45deg)',
|
|
203
|
+
// },
|
|
204
|
+
// '&::after': {
|
|
205
|
+
// left: arrowGap * -1,
|
|
206
|
+
// top: '0',
|
|
207
|
+
// bottom: '0',
|
|
208
|
+
// content: '" "',
|
|
209
|
+
// display: 'block',
|
|
210
|
+
// width: arrowGap,
|
|
211
|
+
// position: 'absolute',
|
|
212
|
+
// },
|
|
222
213
|
}
|
|
214
|
+
// '&&[data-soui-position$="-left"]::before': { left: arrowMargin, right: 'auto' },
|
|
215
|
+
// '&&[data-soui-position$="-right"]::before': { right: arrowMargin, left: 'auto' },
|
|
216
|
+
// '&&[data-soui-position$="-top"]::before': { top: arrowMargin, bottom: 'auto' },
|
|
217
|
+
// '&&[data-soui-position$="-bottom"]::before': { bottom: arrowMargin, top: 'auto' },
|
|
223
218
|
},
|
|
224
219
|
wrapperOpen: {
|
|
225
220
|
display: 'block',
|
|
@@ -239,6 +234,12 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
239
234
|
target: {
|
|
240
235
|
display: 'inline-block'
|
|
241
236
|
},
|
|
237
|
+
arrow: {
|
|
238
|
+
// before
|
|
239
|
+
'&::before': {
|
|
240
|
+
content: "''"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
242
243
|
content: {
|
|
243
244
|
padding: "".concat(token.tooltipPaddingY, " ").concat(token.tooltipPaddingX),
|
|
244
245
|
fontSize: token.tooltipFontSize
|
package/esm/version.d.ts
CHANGED
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '3.4.0-beta.
|
|
1
|
+
export default '3.4.0-beta.5';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/shineout-style",
|
|
3
|
-
"version": "3.4.0-beta.
|
|
3
|
+
"version": "3.4.0-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"jss": "10.9.2",
|
|
19
19
|
"react-jss": "10.9.2",
|
|
20
|
-
"@sheinx/theme": "3.4.0-beta.
|
|
21
|
-
"@sheinx/base": "3.4.0-beta.
|
|
20
|
+
"@sheinx/theme": "3.4.0-beta.5",
|
|
21
|
+
"@sheinx/base": "3.4.0-beta.5"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"core-js": ">=3"
|