@headless-adminapp/fluent 0.0.17-alpha.26 → 0.0.17-alpha.27
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/DataGrid/GridColumnHeader/FilterForm.js +3 -1
- package/PageEntityForm/StandardControl.js +17 -12
- package/form/controls/CurrencyControl.js +36 -6
- package/form/controls/RichTextControl.d.ts +5 -0
- package/form/controls/RichTextControl.js +33 -0
- package/form/controls/SwitchControl.d.ts +1 -1
- package/form/controls/SwitchControl.js +4 -2
- package/package.json +6 -4
- package/styles.css +100 -0
- package/index.css +0 -27
|
@@ -34,7 +34,9 @@ const FilterForm = ({ defaultValue, attribute, onApply, onCancel, }) => {
|
|
|
34
34
|
};
|
|
35
35
|
const isValid = (0, react_1.useMemo)(() => {
|
|
36
36
|
return (!!selectedOption &&
|
|
37
|
-
values.filter(
|
|
37
|
+
values.filter((value) => {
|
|
38
|
+
return value !== null && value !== undefined;
|
|
39
|
+
}).length === selectedOption.controls.length);
|
|
38
40
|
}, [selectedOption, values]);
|
|
39
41
|
return ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_components_1.DialogContent, { style: { paddingBlock: 8 }, children: (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
40
42
|
display: 'flex',
|
|
@@ -19,13 +19,14 @@ const LookupControl_1 = require("../form/controls/LookupControl");
|
|
|
19
19
|
const MultiSelectControl_1 = __importDefault(require("../form/controls/MultiSelectControl"));
|
|
20
20
|
const MultiSelectLookupControl_1 = require("../form/controls/MultiSelectLookupControl");
|
|
21
21
|
const NumberControl_1 = require("../form/controls/NumberControl");
|
|
22
|
+
const RichTextControl_1 = require("../form/controls/RichTextControl");
|
|
22
23
|
const SelectControl_1 = __importDefault(require("../form/controls/SelectControl"));
|
|
23
24
|
const SwitchControl_1 = require("../form/controls/SwitchControl");
|
|
24
25
|
const TelephoneControl_1 = require("../form/controls/TelephoneControl");
|
|
25
26
|
const TextAreaControl_1 = require("../form/controls/TextAreaControl");
|
|
26
27
|
const TextControl_1 = require("../form/controls/TextControl");
|
|
27
28
|
const StandardControl = (props) => {
|
|
28
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
29
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
29
30
|
const { attribute, label: _label, isError,
|
|
30
31
|
// errorMessage,
|
|
31
32
|
name, value, onBlur, onChange,
|
|
@@ -78,11 +79,15 @@ const StandardControl = (props) => {
|
|
|
78
79
|
const Control = (_f = componentStore_1.componentStore.getComponent('Form.TextAreaControl')) !== null && _f !== void 0 ? _f : TextAreaControl_1.TextAreaControl;
|
|
79
80
|
return (0, jsx_runtime_1.jsx)(Control, Object.assign({}, controlProps));
|
|
80
81
|
}
|
|
82
|
+
case 'richtext': {
|
|
83
|
+
const Control = (_g = componentStore_1.componentStore.getComponent('Form.RichTextControl')) !== null && _g !== void 0 ? _g : RichTextControl_1.RichTextControl;
|
|
84
|
+
return (0, jsx_runtime_1.jsx)(Control, Object.assign({}, controlProps));
|
|
85
|
+
}
|
|
81
86
|
default:
|
|
82
87
|
return (0, jsx_runtime_1.jsx)(react_1.Fragment, {});
|
|
83
88
|
}
|
|
84
89
|
case 'number': {
|
|
85
|
-
const Control = (
|
|
90
|
+
const Control = (_h = componentStore_1.componentStore.getComponent('Form.NumberControl')) !== null && _h !== void 0 ? _h : NumberControl_1.NumberControl;
|
|
86
91
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, placeholder: placeholder, value: value, onChange: onChange, onBlur: onBlur, error: isError, disabled: isDisabled, readOnly: readOnly }));
|
|
87
92
|
}
|
|
88
93
|
case 'date': {
|
|
@@ -97,11 +102,11 @@ const StandardControl = (props) => {
|
|
|
97
102
|
readOnly,
|
|
98
103
|
};
|
|
99
104
|
if (attribute.format === 'datetime') {
|
|
100
|
-
const Control = (
|
|
105
|
+
const Control = (_j = componentStore_1.componentStore.getComponent('Form.DateTimeControl')) !== null && _j !== void 0 ? _j : DateTimeControl_1.DateTimeControl;
|
|
101
106
|
return (0, jsx_runtime_1.jsx)(Control, Object.assign({}, controlProps));
|
|
102
107
|
}
|
|
103
108
|
else {
|
|
104
|
-
const Control = (
|
|
109
|
+
const Control = (_k = componentStore_1.componentStore.getComponent('Form.DateControl')) !== null && _k !== void 0 ? _k : DateControl_1.DateControl;
|
|
105
110
|
return (0, jsx_runtime_1.jsx)(Control, Object.assign({}, controlProps));
|
|
106
111
|
}
|
|
107
112
|
}
|
|
@@ -116,35 +121,35 @@ const StandardControl = (props) => {
|
|
|
116
121
|
disabled: isDisabled,
|
|
117
122
|
readOnly,
|
|
118
123
|
};
|
|
119
|
-
const Control = (
|
|
124
|
+
const Control = (_l = componentStore_1.componentStore.getComponent('Form.DateRangeControl')) !== null && _l !== void 0 ? _l : DateRangeControl_1.DateRangeControl;
|
|
120
125
|
return (0, jsx_runtime_1.jsx)(Control, Object.assign({}, controlProps));
|
|
121
126
|
}
|
|
122
127
|
case 'money': {
|
|
123
|
-
const Control = (
|
|
128
|
+
const Control = (_m = componentStore_1.componentStore.getComponent('Form.CurrencyControl')) !== null && _m !== void 0 ? _m : CurrencyControl_1.CurrencyControl;
|
|
124
129
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, placeholder: placeholder, value: value, onChange: onChange, onBlur: onBlur, error: isError, disabled: isDisabled, borderOnFocusOnly: borderOnFocusOnly, readOnly: readOnly }));
|
|
125
130
|
}
|
|
126
131
|
case 'lookup': {
|
|
127
|
-
const Control = (
|
|
132
|
+
const Control = (_o = componentStore_1.componentStore.getComponent('Form.LookupControl')) !== null && _o !== void 0 ? _o : LookupControl_1.LookupControl;
|
|
128
133
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, value: value, onChange: onChange, onBlur: onBlur, placeholder: placeholder, disabled: isDisabled, dataService: dataService, schema: schemaStore.getSchema(attribute.entity), experienceStore: experienceStore, allowNavigation: allowNavigation, allowNewRecord: allowNewRecord }));
|
|
129
134
|
}
|
|
130
135
|
case 'lookups': {
|
|
131
|
-
const Control = (
|
|
136
|
+
const Control = (_p = componentStore_1.componentStore.getComponent('Form.MultiSelectLookupControl')) !== null && _p !== void 0 ? _p : MultiSelectLookupControl_1.MultiSelectLookupControl;
|
|
132
137
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, value: value, onChange: onChange, onBlur: onBlur, placeholder: placeholder, disabled: isDisabled, dataService: dataService, schema: schemaStore.getSchema(attribute.entity), experienceStore: experienceStore, allowNavigation: allowNavigation, allowNewRecord: allowNewRecord }));
|
|
133
138
|
}
|
|
134
139
|
case 'boolean': {
|
|
135
|
-
const Control = (
|
|
140
|
+
const Control = (_q = componentStore_1.componentStore.getComponent('Form.SwitchControl')) !== null && _q !== void 0 ? _q : SwitchControl_1.SwitchControl;
|
|
136
141
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, value: value, onChange: onChange, onBlur: onBlur, error: isError, disabled: isDisabled, readOnly: readOnly }));
|
|
137
142
|
}
|
|
138
143
|
case 'choice': {
|
|
139
|
-
const Control = (
|
|
144
|
+
const Control = (_r = componentStore_1.componentStore.getComponent('Form.SelectControl')) !== null && _r !== void 0 ? _r : SelectControl_1.default;
|
|
140
145
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, value: value, onChange: onChange, onBlur: onBlur, error: isError, disabled: isDisabled, options: attribute.options, placeholder: placeholder, borderOnFocusOnly: borderOnFocusOnly, readOnly: readOnly }));
|
|
141
146
|
}
|
|
142
147
|
case 'choices': {
|
|
143
|
-
const Control = (
|
|
148
|
+
const Control = (_s = componentStore_1.componentStore.getComponent('Form.MultiSelectControl')) !== null && _s !== void 0 ? _s : MultiSelectControl_1.default;
|
|
144
149
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, value: value, onChange: onChange, onBlur: onBlur, error: isError, disabled: isDisabled, options: attribute.options, placeholder: placeholder, borderOnFocusOnly: borderOnFocusOnly, readOnly: readOnly }));
|
|
145
150
|
}
|
|
146
151
|
case 'attachments': {
|
|
147
|
-
const Control = (
|
|
152
|
+
const Control = (_t = componentStore_1.componentStore.getComponent('Form.AttachmentsControl')) !== null && _t !== void 0 ? _t : AttachmentsControl_1.AttachmentsControl;
|
|
148
153
|
return ((0, jsx_runtime_1.jsx)(Control, { name: name, value: value, onChange: onChange, onBlur: onBlur, error: isError, disabled: isDisabled, placeholder: placeholder, borderOnFocusOnly: borderOnFocusOnly, readOnly: readOnly }));
|
|
149
154
|
}
|
|
150
155
|
// case 'attachment': {
|
|
@@ -4,18 +4,48 @@ exports.CurrencyControl = CurrencyControl;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_components_1 = require("@fluentui/react-components");
|
|
6
6
|
const locale_1 = require("@headless-adminapp/app/locale");
|
|
7
|
+
const react_1 = require("react");
|
|
7
8
|
function CurrencyControl({ value, onChange, id, name, onBlur, onFocus,
|
|
8
9
|
// error,
|
|
9
10
|
disabled, placeholder, autoFocus,
|
|
10
11
|
// borderOnFocusOnly,
|
|
11
12
|
readOnly, }) {
|
|
12
|
-
var _a;
|
|
13
13
|
const symbol = (0, locale_1.useCurrencySymbol)();
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
const [internalValue, setInternalValue] = (0, react_1.useState)(value ? value.toString() : '');
|
|
15
|
+
const internalValueRef = (0, react_1.useRef)(internalValue);
|
|
16
|
+
internalValueRef.current = internalValue;
|
|
17
|
+
(0, react_1.useEffect)(() => {
|
|
18
|
+
let _value = '';
|
|
19
|
+
if (typeof value === 'number') {
|
|
20
|
+
_value = value.toString();
|
|
21
|
+
}
|
|
22
|
+
if (!_value && internalValueRef.current === '-') {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
if (internalValueRef.current !== _value) {
|
|
26
|
+
setInternalValue(_value);
|
|
27
|
+
}
|
|
28
|
+
}, [value]);
|
|
29
|
+
const handleChange = (e) => {
|
|
30
|
+
let value = e.target.value;
|
|
31
|
+
if (!value) {
|
|
32
|
+
setInternalValue('');
|
|
33
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(null);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
value = value.replace(',', '');
|
|
37
|
+
if (value === '-') {
|
|
38
|
+
setInternalValue('-');
|
|
39
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(null);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (isNaN(Number(value))) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
setInternalValue(value);
|
|
46
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(Number(value));
|
|
47
|
+
};
|
|
48
|
+
return ((0, jsx_runtime_1.jsx)(react_components_1.Input, { placeholder: placeholder, id: id, autoFocus: autoFocus, name: name, value: internalValue, onChange: handleChange, onBlur: () => onBlur === null || onBlur === void 0 ? void 0 : onBlur(), appearance: "filled-darker", onFocus: () => onFocus === null || onFocus === void 0 ? void 0 : onFocus(), contentBefore: (0, jsx_runtime_1.jsx)("div", { children: symbol }), disabled: disabled, readOnly: readOnly, style: {
|
|
19
49
|
width: '100%',
|
|
20
50
|
} }));
|
|
21
51
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.RichTextControl = void 0;
|
|
27
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
const react_1 = require("react");
|
|
29
|
+
const ReactQuill = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('react-quill'))));
|
|
30
|
+
const RichTextControl = ({ value, onChange, id, onBlur, onFocus, disabled, readOnly, }) => {
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)(ReactQuill, { value: value !== null && value !== void 0 ? value : '', onChange: onChange, className: "hdlapp_rte", readOnly: disabled || readOnly, style: { maxHeight: '400px', minHeight: '200px' }, onFocus: onFocus, onBlur: onBlur, id: id }));
|
|
32
|
+
};
|
|
33
|
+
exports.RichTextControl = RichTextControl;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ControlProps } from './types';
|
|
2
2
|
export interface SwitchControlProps extends ControlProps<boolean> {
|
|
3
3
|
}
|
|
4
|
-
export declare function SwitchControl({}: SwitchControlProps):
|
|
4
|
+
export declare function SwitchControl({ value, onChange, id, name, disabled, readOnly, onBlur, onFocus, }: SwitchControlProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SwitchControl = SwitchControl;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_components_1 = require("@fluentui/react-components");
|
|
6
|
+
function SwitchControl({ value, onChange, id, name, disabled, readOnly, onBlur, onFocus, }) {
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)(react_components_1.Switch, { checked: value !== null && value !== void 0 ? value : false, onChange: (e) => onChange === null || onChange === void 0 ? void 0 : onChange(e.currentTarget.checked), id: id, name: name, disabled: disabled, readOnly: readOnly, onBlur: onBlur, onFocus: onFocus }));
|
|
6
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headless-adminapp/fluent",
|
|
3
|
-
"version": "0.0.17-alpha.
|
|
3
|
+
"version": "0.0.17-alpha.27",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"url": "https://github.com/headless-adminapp/adminapp/issues"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "tsc",
|
|
20
|
+
"build": "tsc && sass src/styles/index.scss dist/styles.css --no-source-map",
|
|
21
21
|
"clean": "rm -rf dist && rm -f tsconfig.tsbuildinfo",
|
|
22
22
|
"ts-check": "tsc --noEmit",
|
|
23
|
-
"copy-files": "cp package.json dist
|
|
23
|
+
"copy-files": "cp package.json dist",
|
|
24
24
|
"prepublishOnly": "pnpm run build && pnpm run copy-files",
|
|
25
25
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
26
26
|
},
|
|
@@ -42,8 +42,10 @@
|
|
|
42
42
|
"react-dnd": "^16.0.1",
|
|
43
43
|
"react-dnd-html5-backend": "^16.0.1",
|
|
44
44
|
"react-hook-form": "7.52.2",
|
|
45
|
+
"react-quill": "^2.0.0",
|
|
46
|
+
"sass": "1.81.0",
|
|
45
47
|
"uuid": "11.0.3",
|
|
46
48
|
"yup": "^1.4.0"
|
|
47
49
|
},
|
|
48
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "249b7141dedc93a334d3d918d134bd167cecd6ae"
|
|
49
51
|
}
|
package/styles.css
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
|
+
padding: 0;
|
|
4
|
+
margin: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.TextControl_readonly:after {
|
|
8
|
+
border-bottom-color: var(--colorNeutralStrokeDisabled) !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.FormBody_scrollview > div {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding: var(--spacingVerticalM);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
* {
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.fui-MenuItem__icon > svg,
|
|
24
|
+
.fui-Button__icon > svg {
|
|
25
|
+
width: inherit;
|
|
26
|
+
height: inherit;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hdlapp_rte {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
background-color: var(--colorNeutralBackground3);
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
border-radius: var(--borderRadiusMedium);
|
|
35
|
+
border: 1px solid transparent;
|
|
36
|
+
}
|
|
37
|
+
.hdlapp_rte:focus-within {
|
|
38
|
+
border-color: var(--colorNeutralForeground2BrandSelected);
|
|
39
|
+
}
|
|
40
|
+
.hdlapp_rte .ql-snow .ql-picker {
|
|
41
|
+
color: var(--colorNeutralForeground3Hover);
|
|
42
|
+
}
|
|
43
|
+
.hdlapp_rte .ql-snow .ql-stroke {
|
|
44
|
+
stroke: var(--colorNeutralForeground3Hover);
|
|
45
|
+
}
|
|
46
|
+
.hdlapp_rte .ql-snow.ql-toolbar button:hover,
|
|
47
|
+
.hdlapp_rte .ql-snow .ql-toolbar button:hover,
|
|
48
|
+
.hdlapp_rte .ql-snow.ql-toolbar button:focus,
|
|
49
|
+
.hdlapp_rte .ql-snow .ql-toolbar button:focus,
|
|
50
|
+
.hdlapp_rte .ql-snow.ql-toolbar button.ql-active,
|
|
51
|
+
.hdlapp_rte .ql-snow .ql-toolbar button.ql-active,
|
|
52
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-label:hover,
|
|
53
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-label:hover,
|
|
54
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-label.ql-active,
|
|
55
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-label.ql-active,
|
|
56
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-item:hover,
|
|
57
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-item:hover,
|
|
58
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-item.ql-selected,
|
|
59
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-item.ql-selected {
|
|
60
|
+
color: var(--colorNeutralForeground1);
|
|
61
|
+
}
|
|
62
|
+
.hdlapp_rte .ql-snow.ql-toolbar button:hover .ql-stroke,
|
|
63
|
+
.hdlapp_rte .ql-snow .ql-toolbar button:hover .ql-stroke,
|
|
64
|
+
.hdlapp_rte .ql-snow.ql-toolbar button:focus .ql-stroke,
|
|
65
|
+
.hdlapp_rte .ql-snow .ql-toolbar button:focus .ql-stroke,
|
|
66
|
+
.hdlapp_rte .ql-snow.ql-toolbar button.ql-active .ql-stroke,
|
|
67
|
+
.hdlapp_rte .ql-snow .ql-toolbar button.ql-active .ql-stroke,
|
|
68
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
|
|
69
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,
|
|
70
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
|
|
71
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
|
|
72
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,
|
|
73
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,
|
|
74
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
|
|
75
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
|
|
76
|
+
.hdlapp_rte .ql-snow.ql-toolbar button:hover .ql-stroke-miter,
|
|
77
|
+
.hdlapp_rte .ql-snow .ql-toolbar button:hover .ql-stroke-miter,
|
|
78
|
+
.hdlapp_rte .ql-snow.ql-toolbar button:focus .ql-stroke-miter,
|
|
79
|
+
.hdlapp_rte .ql-snow .ql-toolbar button:focus .ql-stroke-miter,
|
|
80
|
+
.hdlapp_rte .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,
|
|
81
|
+
.hdlapp_rte .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,
|
|
82
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
|
|
83
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
|
|
84
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
|
|
85
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
|
|
86
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
|
|
87
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
|
|
88
|
+
.hdlapp_rte .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
|
|
89
|
+
.hdlapp_rte .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
|
|
90
|
+
stroke: var(--colorNeutralForeground1);
|
|
91
|
+
}
|
|
92
|
+
.hdlapp_rte .ql-snow.ql-toolbar {
|
|
93
|
+
border: none;
|
|
94
|
+
}
|
|
95
|
+
.hdlapp_rte .ql-toolbar.ql-snow + .ql-container.ql-snow {
|
|
96
|
+
border-top: 1px solid var(--colorNeutralBackground1Hover);
|
|
97
|
+
}
|
|
98
|
+
.hdlapp_rte .ql-container.ql-snow {
|
|
99
|
+
border: none;
|
|
100
|
+
}
|
package/index.css
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
html,
|
|
2
|
-
body {
|
|
3
|
-
padding: 0;
|
|
4
|
-
margin: 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.TextControl_readonly:after {
|
|
8
|
-
border-bottom-color: var(--colorNeutralStrokeDisabled) !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.FormBody_scrollview > div {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
padding: var(--spacingVerticalM);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
* {
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
padding: 0;
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.fui-MenuItem__icon > svg,
|
|
24
|
-
.fui-Button__icon > svg {
|
|
25
|
-
width: inherit;
|
|
26
|
-
height: inherit;
|
|
27
|
-
}
|