superdesk-ui-framework 3.0.35 → 3.0.38
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/app/styles/_sd-tag-input.scss +3 -5
- package/app/styles/_tag-labels.scss +0 -2
- package/app/styles/app.scss +1 -0
- package/app/styles/form-elements/_checkbox.scss +3 -0
- package/app/styles/form-elements/_input-preview.scss +70 -0
- package/app/styles/form-elements/_inputs.scss +10 -14
- package/app/styles/primereact/_pr-tag-input.scss +1 -1
- package/app-typescript/components/DatePicker.tsx +101 -101
- package/app-typescript/components/DurationInput.tsx +76 -76
- package/app-typescript/components/Form/InputNew.tsx +1 -1
- package/app-typescript/components/Form/InputWrapper.tsx +34 -18
- package/app-typescript/components/Input.tsx +38 -62
- package/app-typescript/components/MultiSelect.tsx +49 -47
- package/app-typescript/components/Select.tsx +13 -22
- package/app-typescript/components/SelectPreview.tsx +100 -0
- package/app-typescript/components/SelectWithTemplate.tsx +2 -12
- package/app-typescript/components/TagInput.tsx +25 -24
- package/app-typescript/components/TimePicker.tsx +13 -16
- package/app-typescript/components/TreeSelect.tsx +218 -158
- package/dist/examples.bundle.js +2400 -2258
- package/dist/react/Autocomplete.tsx +32 -31
- package/dist/react/DatePicker.tsx +56 -73
- package/dist/react/DurationInput.tsx +36 -47
- package/dist/react/Inputs.tsx +86 -248
- package/dist/react/MultiSelect.tsx +30 -23
- package/dist/react/Selects.tsx +12 -44
- package/dist/react/TagInputDocs.tsx +15 -21
- package/dist/react/TimePicker.tsx +25 -32
- package/dist/react/TreeSelect.tsx +97 -90
- package/dist/superdesk-ui.bundle.css +85 -18
- package/dist/superdesk-ui.bundle.js +1973 -1816
- package/dist/vendor.bundle.js +14 -14
- package/examples/pages/react/Autocomplete.tsx +32 -31
- package/examples/pages/react/DatePicker.tsx +56 -73
- package/examples/pages/react/DurationInput.tsx +36 -47
- package/examples/pages/react/Inputs.tsx +86 -248
- package/examples/pages/react/MultiSelect.tsx +30 -23
- package/examples/pages/react/Selects.tsx +12 -44
- package/examples/pages/react/TagInputDocs.tsx +15 -21
- package/examples/pages/react/TimePicker.tsx +25 -32
- package/examples/pages/react/TreeSelect.tsx +97 -90
- package/package.json +1 -1
- package/react/components/DatePicker.d.ts +2 -12
- package/react/components/DatePicker.js +14 -8
- package/react/components/DurationInput.d.ts +2 -11
- package/react/components/DurationInput.js +14 -4
- package/react/components/Form/InputNew.d.ts +1 -1
- package/react/components/Form/InputWrapper.d.ts +11 -5
- package/react/components/Form/InputWrapper.js +6 -9
- package/react/components/Input.d.ts +3 -19
- package/react/components/Input.js +8 -21
- package/react/components/MultiSelect.d.ts +4 -13
- package/react/components/MultiSelect.js +6 -2
- package/react/components/Select.d.ts +3 -15
- package/react/components/Select.js +7 -8
- package/react/components/SelectPreview.d.ts +17 -0
- package/react/components/SelectPreview.js +109 -0
- package/react/components/SelectWithTemplate.d.ts +2 -11
- package/react/components/SelectWithTemplate.js +0 -1
- package/react/components/TagInput.d.ts +3 -12
- package/react/components/TagInput.js +6 -2
- package/react/components/TimePicker.d.ts +2 -11
- package/react/components/TimePicker.js +6 -2
- package/react/components/TreeSelect.d.ts +5 -11
- package/react/components/TreeSelect.js +78 -47
@@ -20,53 +20,52 @@ let options = [
|
|
20
20
|
{
|
21
21
|
value: {name: 'Sub-category1'},
|
22
22
|
children: [
|
23
|
-
{value: {name: '
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
{value: {name: 'Item5'}},
|
24
|
+
{value: {name: 'Item6'}},
|
25
|
+
{value: {name: 'Item7'}},
|
26
|
+
{value: {name: 'Item8'}},
|
27
27
|
|
28
28
|
]
|
29
29
|
},
|
30
30
|
{
|
31
31
|
value: {name: 'Sub-category2'},
|
32
32
|
children: [
|
33
|
-
{value: {name: '
|
34
|
-
{value: {name: '
|
35
|
-
{value: {name: '
|
33
|
+
{value: {name: 'Item9'}},
|
34
|
+
{value: {name: 'Item10'}},
|
35
|
+
{value: {name: 'Item11'}},
|
36
|
+
{value: {name: 'Item12'}},
|
36
37
|
]
|
37
38
|
},
|
38
39
|
{
|
39
40
|
value: {name: 'Sub-category3'},
|
40
41
|
children: [
|
41
|
-
{value: {name: '
|
42
|
-
{value: {name: '
|
43
|
-
{value: {name: 'Item53'}}
|
42
|
+
{value: {name: 'Item13'}},
|
43
|
+
{value: {name: 'Item14'}},
|
44
44
|
]
|
45
45
|
},
|
46
46
|
{
|
47
47
|
value: {name: 'Sub-category4'},
|
48
48
|
children: [
|
49
|
-
{value: {name: '
|
50
|
-
{value: {name: '
|
51
|
-
{value: {name: 'Item42'}},
|
52
|
-
{value: {name: 'Item43'}}
|
49
|
+
{value: {name: 'Item15'}},
|
50
|
+
{value: {name: 'Item16'}},
|
53
51
|
]
|
54
52
|
},
|
55
53
|
{
|
56
54
|
value: {name: 'Sub-category5'},
|
57
55
|
children: [
|
58
|
-
{value: {name: '
|
59
|
-
{value: {name: '
|
60
|
-
{value: {name: '
|
61
|
-
{value: {name: '
|
56
|
+
{value: {name: 'Item17'}},
|
57
|
+
{value: {name: 'Item18'}},
|
58
|
+
{value: {name: 'Item19'}},
|
59
|
+
{value: {name: 'Item20'}},
|
62
60
|
]
|
63
61
|
},
|
64
62
|
{
|
65
63
|
value: {name: 'Sub-category6'},
|
66
64
|
children: [
|
67
|
-
{value: {name: '
|
68
|
-
{value: {name: '
|
69
|
-
{value: {name: '
|
65
|
+
{value: {name: 'Item21'}},
|
66
|
+
{value: {name: 'Item22'}},
|
67
|
+
{value: {name: 'Item23'}},
|
68
|
+
{value: {name: 'Item24'}},
|
70
69
|
]
|
71
70
|
}
|
72
71
|
]
|
@@ -75,21 +74,21 @@ let options = [
|
|
75
74
|
value: {name: 'Category2'},
|
76
75
|
children: [
|
77
76
|
{
|
78
|
-
value: {name: '
|
77
|
+
value: {name: 'Item1'}
|
79
78
|
},
|
80
|
-
|
81
|
-
|
82
|
-
|
79
|
+
{
|
80
|
+
value: {name: 'Item2'}
|
81
|
+
}
|
83
82
|
]
|
84
83
|
},
|
85
84
|
{
|
86
85
|
value: {name: 'Category3', bgColor: 'red'},
|
87
86
|
children: [
|
88
87
|
{
|
89
|
-
value: {name: '
|
88
|
+
value: {name: 'Item3'}
|
90
89
|
},
|
91
90
|
{
|
92
|
-
value: {name: '
|
91
|
+
value: {name: 'Item4'}
|
93
92
|
}
|
94
93
|
]
|
95
94
|
},
|
@@ -102,41 +101,47 @@ let options2 = [
|
|
102
101
|
{
|
103
102
|
value: {name: 'Sub-category1'},
|
104
103
|
children: [
|
105
|
-
{value: {name: '
|
104
|
+
{value: {name: 'Item5'}},
|
105
|
+
{value: {name: 'Item6'}},
|
106
106
|
]
|
107
107
|
},
|
108
108
|
{
|
109
109
|
value: {name: 'Sub-category2'},
|
110
110
|
children: [
|
111
|
-
{value: {name: '
|
111
|
+
{value: {name: 'Item7'}},
|
112
|
+
{value: {name: 'Item8'}},
|
112
113
|
]
|
113
114
|
}
|
114
115
|
,
|
115
116
|
{
|
116
117
|
value: {name: 'Sub-category3'},
|
117
118
|
children: [
|
118
|
-
{value: {name: '
|
119
|
+
{value: {name: 'Item9'}},
|
120
|
+
{value: {name: 'Item10'}},
|
119
121
|
]
|
120
122
|
}
|
121
123
|
,
|
122
124
|
{
|
123
125
|
value: {name: 'Sub-category4'},
|
124
126
|
children: [
|
125
|
-
{value: {name: '
|
127
|
+
{value: {name: 'Item11'}},
|
128
|
+
{value: {name: 'Item12'}},
|
126
129
|
]
|
127
130
|
}
|
128
131
|
,
|
129
132
|
{
|
130
133
|
value: {name: 'Sub-category5'},
|
131
134
|
children: [
|
132
|
-
{value: {name: '
|
135
|
+
{value: {name: 'Item13'}},
|
136
|
+
{value: {name: 'Item14'}},
|
133
137
|
]
|
134
138
|
}
|
135
139
|
,
|
136
140
|
{
|
137
141
|
value: {name: 'Sub-category6'},
|
138
142
|
children: [
|
139
|
-
{value: {name: '
|
143
|
+
{value: {name: 'Item15'}},
|
144
|
+
{value: {name: 'Item16'}},
|
140
145
|
]
|
141
146
|
}
|
142
147
|
]
|
@@ -145,10 +150,10 @@ let options2 = [
|
|
145
150
|
value: {name: 'Category2', border: 'green'},
|
146
151
|
children: [
|
147
152
|
{
|
148
|
-
value: {name: '
|
153
|
+
value: {name: 'Item1'}
|
149
154
|
},
|
150
155
|
{
|
151
|
-
value: {name: '
|
156
|
+
value: {name: 'Item2'}
|
152
157
|
}
|
153
158
|
]
|
154
159
|
},
|
@@ -156,10 +161,10 @@ let options2 = [
|
|
156
161
|
value: {name: 'Category3', border: 'yellow'},
|
157
162
|
children: [
|
158
163
|
{
|
159
|
-
value: {name: '
|
164
|
+
value: {name: 'Item3'}
|
160
165
|
},
|
161
166
|
{
|
162
|
-
value: {name: '
|
167
|
+
value: {name: 'Item4'}
|
163
168
|
}
|
164
169
|
]
|
165
170
|
},
|
@@ -223,10 +228,13 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
223
228
|
|
224
229
|
<Markup.ReactMarkupCodePreview>{`
|
225
230
|
<TreeSelect
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
231
|
+
kind={'synchronous' | 'asynchronous'}
|
232
|
+
value={this.state.value}
|
233
|
+
getOptions={() => this.state.options}
|
234
|
+
getLabel={(item) => item.label}
|
235
|
+
getId={(item) => item.id}
|
236
|
+
allowMultiple
|
237
|
+
selectBranchWithChildren
|
230
238
|
onChange={() => false}
|
231
239
|
/>
|
232
240
|
`}
|
@@ -237,22 +245,18 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
237
245
|
<div className='docs-page__content-row docs-page__content-row--no-margin'>
|
238
246
|
<div className='form__row'>
|
239
247
|
<TreeSelect
|
240
|
-
|
248
|
+
kind='synchronous'
|
249
|
+
value={[{name: 'Category1'}]}
|
241
250
|
getOptions={() => options}
|
242
|
-
kind={'synchronous'}
|
243
251
|
getId={(item) => item.name}
|
244
252
|
getLabel={(item) => item.name}
|
245
|
-
|
246
|
-
selectBranchWithChildren={true}
|
253
|
+
selectBranchWithChildren
|
247
254
|
allowMultiple
|
248
|
-
fullWidth
|
249
|
-
//singleLevelSearch
|
250
|
-
required
|
251
|
-
info={'Info Message'}
|
252
|
-
error={'Error Message'}
|
253
|
-
label={'TreeSelect Label'}
|
254
255
|
searchPlaceholder='Search...'
|
255
|
-
|
256
|
+
info='Info Message'
|
257
|
+
error='Error Message'
|
258
|
+
label='TreeSelect Label'
|
259
|
+
getBackgroundColor={(item: any) => item.bgColor}
|
256
260
|
valueTemplate={(item, Wrapper) => {
|
257
261
|
return (
|
258
262
|
<Wrapper backgroundColor={item.bgColor}>
|
@@ -260,6 +264,7 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
260
264
|
</Wrapper>
|
261
265
|
);
|
262
266
|
}}
|
267
|
+
onChange={(e) => false}
|
263
268
|
/>
|
264
269
|
</div>
|
265
270
|
</div>
|
@@ -267,22 +272,18 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
267
272
|
|
268
273
|
<Markup.ReactMarkupCode>{`
|
269
274
|
<TreeSelect
|
270
|
-
|
275
|
+
kind='synchronous'
|
276
|
+
value={[{name: 'Item 1'}, {name: 'Item 2'}]}
|
271
277
|
getOptions={() => options}
|
272
|
-
kind={'synchronous'}
|
273
278
|
getId={(item) => item.name}
|
274
279
|
getLabel={(item) => item.name}
|
275
|
-
|
276
|
-
selectBranchWithChildren={true}
|
280
|
+
selectBranchWithChildren
|
277
281
|
allowMultiple
|
278
|
-
|
279
|
-
singleLevelSearch
|
280
|
-
required
|
282
|
+
searchPlaceholder='Search...'
|
281
283
|
info={'Info Message'}
|
282
284
|
error={'Error Message'}
|
283
285
|
label={'TreeSelect Label'}
|
284
|
-
|
285
|
-
onChange={(e) => false}
|
286
|
+
getBackgroundColor={(item: any) => item.bgColor}
|
286
287
|
valueTemplate={(item, Wrapper) => {
|
287
288
|
return (
|
288
289
|
<Wrapper backgroundColor={item.bgColor}>
|
@@ -290,6 +291,7 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
290
291
|
</Wrapper>
|
291
292
|
);
|
292
293
|
}}
|
294
|
+
onChange={(e) => false}
|
293
295
|
/>
|
294
296
|
`}</Markup.ReactMarkupCode>
|
295
297
|
|
@@ -302,16 +304,18 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
302
304
|
<div className='form__row'>
|
303
305
|
<TreeSelect
|
304
306
|
kind="asynchronous"
|
305
|
-
searchOptions={searchOptions}
|
306
307
|
value={this.state.value}
|
308
|
+
getLabel={({display_name}) => display_name}
|
309
|
+
getId={({display_name}) => display_name}
|
310
|
+
selectBranchWithChildren
|
311
|
+
allowMultiple
|
312
|
+
searchOptions={searchOptions}
|
313
|
+
info='Info Message'
|
314
|
+
error='Error Message'
|
315
|
+
label='TreeSelect Label'
|
307
316
|
onChange={(val) => {
|
308
317
|
this.setState({value: val});
|
309
318
|
}}
|
310
|
-
getLabel={({display_name}) => display_name
|
311
|
-
}
|
312
|
-
getId={({qcode}) => qcode.display_name}
|
313
|
-
selectBranchWithChildren={false}
|
314
|
-
allowMultiple={true}
|
315
319
|
/>
|
316
320
|
</div>
|
317
321
|
</div>
|
@@ -320,36 +324,37 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
320
324
|
<Markup.ReactMarkupCode>{`
|
321
325
|
<TreeSelect
|
322
326
|
kind="asynchronous"
|
323
|
-
searchOptions={searchOptions}
|
324
327
|
value={this.state.value}
|
328
|
+
getLabel={({display_name}) => display_name}
|
329
|
+
getId={({qcode}) => qcode.display_name}
|
330
|
+
selectBranchWithChildren
|
331
|
+
allowMultiple
|
332
|
+
searchOptions={searchOptions}
|
325
333
|
onChange={(val) => {
|
326
334
|
this.setState({value: val});
|
327
335
|
}}
|
328
|
-
getLabel={({name}) => name}
|
329
|
-
getId={({qcode}) => qcode}
|
330
|
-
selectBranchWithChildren={false}
|
331
|
-
optionTemplate={(item) => <span style={{color: 'blue'}}>{item.name}</span>}
|
332
|
-
allowMultiple={true}
|
333
336
|
/>
|
334
337
|
`}</Markup.ReactMarkupCode>
|
335
338
|
|
336
339
|
</Markup.ReactMarkup>
|
337
340
|
|
338
|
-
<p className='docs-page__paragraph'>
|
341
|
+
<p className='docs-page__paragraph'>SingleSelect mode with custom template.</p>
|
339
342
|
<Markup.ReactMarkup>
|
340
343
|
<Markup.ReactMarkupPreview>
|
341
344
|
<div className='docs-page__content-row docs-page__content-row--no-margin'>
|
342
345
|
<div className='form__row'>
|
343
346
|
<TreeSelect
|
347
|
+
kind='synchronous'
|
348
|
+
value={[]}
|
344
349
|
getOptions={() => options2}
|
345
|
-
kind={'synchronous'}
|
346
|
-
getId={(item) => item.name}
|
347
350
|
getLabel={(item) => item.name}
|
348
|
-
|
351
|
+
getId={(item) => item.name}
|
349
352
|
getBorderColor={(item) => item.border}
|
353
|
+
selectBranchWithChildren
|
350
354
|
placeholder='Select one'
|
351
|
-
|
352
|
-
|
355
|
+
info='Info Message'
|
356
|
+
error='Error Message'
|
357
|
+
label='TreeSelect Label'
|
353
358
|
optionTemplate={(item: any) => {
|
354
359
|
return <div>Label: {item.name}</div>
|
355
360
|
}}
|
@@ -358,6 +363,7 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
358
363
|
<span>{item.name}</span>
|
359
364
|
</Wrapper>
|
360
365
|
}}
|
366
|
+
onChange={(e) => false}
|
361
367
|
/>
|
362
368
|
</div>
|
363
369
|
</div>
|
@@ -365,15 +371,15 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
365
371
|
|
366
372
|
<Markup.ReactMarkupCode>{`
|
367
373
|
<TreeSelect
|
374
|
+
kind='synchronous'
|
375
|
+
value={[{name: 'Item 1'}]}
|
368
376
|
getOptions={() => options2}
|
369
|
-
kind={'synchronous'}
|
370
|
-
getId={(item) => item.name}
|
371
377
|
getLabel={(item) => item.name}
|
378
|
+
getId={(item) => item.name}
|
372
379
|
getBackgroundColor={(item) => item.bgColor}
|
373
380
|
getBorderColor={(item) => item.border}
|
381
|
+
selectBranchWithChildren
|
374
382
|
placeholder='Select one'
|
375
|
-
selectBranchWithChildren={true}
|
376
|
-
onChange={(e) => false}
|
377
383
|
optionTemplate={(item: any) => {
|
378
384
|
return <div>Label: {item.name}</div>
|
379
385
|
}}
|
@@ -382,6 +388,7 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
382
388
|
<span>{item.name}</span>
|
383
389
|
</Wrapper>
|
384
390
|
}}
|
391
|
+
onChange={(e) => false}
|
385
392
|
/>
|
386
393
|
`}</Markup.ReactMarkupCode>
|
387
394
|
|
@@ -408,13 +415,13 @@ export class TreeSelectDocs extends React.Component<{}, IState> {
|
|
408
415
|
<Prop name='optionTemplate' isRequired={false} type='Function(item)' default='/' description='Function that gets the option and returns the content for it.'/>
|
409
416
|
<Prop name='searchOptions' isRequired={false} type='Function' default='/' description='The function will be called when a search is initiated from UI in asynchronous mode.'/>
|
410
417
|
<Prop name='onChange' isRequired={true} type='Function' default='/' description='Callback to invoke when value changes.'/>
|
411
|
-
<Prop name='label' isRequired={false} type='string' default='/' description='
|
412
|
-
<Prop name='
|
413
|
-
<Prop name='
|
414
|
-
<Prop name='
|
415
|
-
<Prop name='
|
416
|
-
<Prop name='
|
417
|
-
<Prop name='
|
418
|
+
<Prop name='label' isRequired={false} type='string' default='/' description='Label of component.' />
|
419
|
+
<Prop name='inlineLabel' isRequired={false} type='boolean' default='false' description='Position labels as inline.' />
|
420
|
+
<Prop name='tabindex' isRequired={false} type='number' default='/' description='Indicates an element can be focused on, and determines how that focus is handled.'/>
|
421
|
+
<Prop name='info' isRequired={false} type='string' default='/' description='Info message of component.' />
|
422
|
+
<Prop name='error' isRequired={false} type='string' default='/' description='Error message of component.' />
|
423
|
+
<Prop name='required' isRequired={false} type='boolean' default='false' description='Mark field as required.' />
|
424
|
+
<Prop name='disabled' isRequired={false} type='boolean' default='false' description='Mark field as disabled.' />
|
418
425
|
</PropsList>
|
419
426
|
|
420
427
|
<p className='docs-page__paragraph'>synchronous:</p>
|
@@ -35186,8 +35186,6 @@ a.toggle-box__header {
|
|
35186
35186
|
text-align: center;
|
35187
35187
|
font-weight: 400;
|
35188
35188
|
transition: background-color .2s ease-out, opacity .1s ease-out;
|
35189
|
-
margin: 0.2rem 0;
|
35190
|
-
margin-right: 0.3rem;
|
35191
35189
|
height: 2.4rem;
|
35192
35190
|
color: var(--color-text);
|
35193
35191
|
background: var(--sd-colour__tag-label-Bg--1); }
|
@@ -35352,8 +35350,6 @@ tags-input,
|
|
35352
35350
|
text-align: center;
|
35353
35351
|
font-weight: 400;
|
35354
35352
|
transition: background-color .2s ease-out, opacity .1s ease-out;
|
35355
|
-
margin: 0.2rem 0;
|
35356
|
-
margin-right: 0.3rem;
|
35357
35353
|
height: 2.4rem;
|
35358
35354
|
color: var(--color-text);
|
35359
35355
|
transition: background-color .2s ease-out, color .1s ease-out, opacity .1s ease-out;
|
@@ -35424,9 +35420,6 @@ tags-input,
|
|
35424
35420
|
tags-input .tags-input__tags .tags-input__tag-item ti-tag-item .tags-input__helper-box span,
|
35425
35421
|
.tags-input .tags-input__tags .tags-input__tag-item ti-tag-item .tags-input__helper-box span {
|
35426
35422
|
flex-grow: 1; }
|
35427
|
-
tags-input .tags-input__tags .tags-input__tag-item--multi-select,
|
35428
|
-
.tags-input .tags-input__tags .tags-input__tag-item--multi-select {
|
35429
|
-
margin: 0 !important; }
|
35430
35423
|
tags-input .tags-input__tags .tags-input__tag-item--readonly,
|
35431
35424
|
.tags-input .tags-input__tags .tags-input__tag-item--readonly {
|
35432
35425
|
cursor: default !important; }
|
@@ -35505,11 +35498,11 @@ tags-input,
|
|
35505
35498
|
tags-input .tags-input__add-button i,
|
35506
35499
|
.tags-input .tags-input__add-button i {
|
35507
35500
|
color: inherit; }
|
35508
|
-
tags-input .tags-input__add-button:hover,
|
35509
|
-
.tags-input .tags-input__add-button:hover {
|
35501
|
+
tags-input .tags-input__add-button:not(.tags-input__add-button--disabled):hover,
|
35502
|
+
.tags-input .tags-input__add-button:not(.tags-input__add-button--disabled):hover {
|
35510
35503
|
opacity: 1; }
|
35511
|
-
tags-input .tags-input__add-button:focus,
|
35512
|
-
.tags-input .tags-input__add-button:focus {
|
35504
|
+
tags-input .tags-input__add-button:not(.tags-input__add-button--disabled):focus,
|
35505
|
+
.tags-input .tags-input__add-button:not(.tags-input__add-button--disabled):focus {
|
35513
35506
|
opacity: 1; }
|
35514
35507
|
tags-input .tags-input__add-button[disabled], tags-input .tags-input__add-button [disabled]:hover, tags-input .tags-input__add-button [disabled]:active,
|
35515
35508
|
.tags-input .tags-input__add-button[disabled],
|
@@ -49266,6 +49259,8 @@ textarea.sd-media-carousel__media-title {
|
|
49266
49259
|
color: white; }
|
49267
49260
|
.sd-input--boxed-label.sd-input--disabled .sd-input__label--boxed {
|
49268
49261
|
background-color: rgba(0, 0, 0, 0.4) !important; }
|
49262
|
+
.sd-input--disabled * {
|
49263
|
+
cursor: not-allowed !important; }
|
49269
49264
|
|
49270
49265
|
.sd-input__duration-input,
|
49271
49266
|
.sd-input__time-date-input {
|
@@ -49317,11 +49312,11 @@ textarea.sd-media-carousel__media-title {
|
|
49317
49312
|
appearance: none;
|
49318
49313
|
border: 0;
|
49319
49314
|
background-color: transparent;
|
49320
|
-
height: 3.2rem;
|
49321
49315
|
display: inline-block;
|
49322
|
-
color: var(--color-text);
|
49323
49316
|
text-align: end;
|
49317
|
+
color: var(--color-text);
|
49324
49318
|
width: 2.5ch;
|
49319
|
+
height: 3.2rem;
|
49325
49320
|
font-size: 1.4rem;
|
49326
49321
|
padding: 0 !important;
|
49327
49322
|
line-height: 3.2rem; }
|
@@ -49789,6 +49784,8 @@ textarea.sd-media-carousel__media-title {
|
|
49789
49784
|
margin-inline-end: 1.2rem; }
|
49790
49785
|
.sd-check-button__group.sd-check-button__group--compact {
|
49791
49786
|
gap: 0.4rem; }
|
49787
|
+
.sd-check-button__group.sd-check-button__group--no-wrap {
|
49788
|
+
flex-wrap: nowrap; }
|
49792
49789
|
|
49793
49790
|
.sd-check-new__wrapper {
|
49794
49791
|
display: inline-flex;
|
@@ -50209,6 +50206,78 @@ label + .sd-radio {
|
|
50209
50206
|
.input-wrap--medium.sd-input--boxed-style .sd-input__select:focus {
|
50210
50207
|
box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-20); }
|
50211
50208
|
|
50209
|
+
.tags-preview {
|
50210
|
+
display: flex;
|
50211
|
+
align-items: flex-start;
|
50212
|
+
word-wrap: break-word;
|
50213
|
+
min-height: 3.2rem;
|
50214
|
+
padding: 0.4rem 0.4rem 0.3rem 0.4rem;
|
50215
|
+
overflow: hidden;
|
50216
|
+
background-color: transparent; }
|
50217
|
+
.tags-preview .tags-preview__tag-list {
|
50218
|
+
display: flex;
|
50219
|
+
justify-content: flex-start;
|
50220
|
+
align-items: center;
|
50221
|
+
flex-wrap: wrap;
|
50222
|
+
gap: 0.4rem;
|
50223
|
+
margin: 0;
|
50224
|
+
padding: 0;
|
50225
|
+
list-style-type: none; }
|
50226
|
+
.tags-preview .tags-preview__tag-item {
|
50227
|
+
display: inline-flex;
|
50228
|
+
align-items: center;
|
50229
|
+
min-width: 1.8em;
|
50230
|
+
padding: 0;
|
50231
|
+
padding-inline: 1em 1em;
|
50232
|
+
border-radius: var(--b-radius--full);
|
50233
|
+
font-size: 1.4rem;
|
50234
|
+
line-height: 100%;
|
50235
|
+
position: relative;
|
50236
|
+
text-align: center;
|
50237
|
+
font-weight: 400;
|
50238
|
+
transition: background-color .2s ease-out, opacity .1s ease-out;
|
50239
|
+
height: 2.4rem;
|
50240
|
+
color: var(--color-text);
|
50241
|
+
color: currentColor;
|
50242
|
+
background: var(--sd-colour__tag-label-Bg--1); }
|
50243
|
+
.tags-preview .tags-preview__tag-item--single-select {
|
50244
|
+
border-radius: 2px;
|
50245
|
+
padding-inline-start: 0.714em;
|
50246
|
+
padding-inline-end: 0.857em; }
|
50247
|
+
.tags-preview .tags-preview__tag-item--border {
|
50248
|
+
border-left: solid;
|
50249
|
+
border-left-width: 5px; }
|
50250
|
+
.tags-preview .tags-input__helper-box {
|
50251
|
+
display: flex;
|
50252
|
+
align-items: center; }
|
50253
|
+
|
50254
|
+
.sd-input__duration-input-preview {
|
50255
|
+
display: flex;
|
50256
|
+
gap: 2px;
|
50257
|
+
grid-row: 2/3;
|
50258
|
+
grid-column: 2/4; }
|
50259
|
+
.sd-input__duration-input-preview:focus-within {
|
50260
|
+
box-shadow: 0 1px 0 0 var(--sd-colour-interactive);
|
50261
|
+
border-color: var(--sd-colour-interactive);
|
50262
|
+
background-color: var(--sd-colour-interactive--alpha-20); }
|
50263
|
+
.sd-input__duration-input-preview .duration-input-preview {
|
50264
|
+
display: inline-block;
|
50265
|
+
text-align: end;
|
50266
|
+
color: var(--color-text);
|
50267
|
+
width: 2.5ch;
|
50268
|
+
height: 3.2rem;
|
50269
|
+
font-size: 1.4rem;
|
50270
|
+
line-height: 3.2rem; }
|
50271
|
+
.sd-input__duration-input-preview .sd-input__suffix {
|
50272
|
+
height: 3.2rem;
|
50273
|
+
line-height: 3.2rem;
|
50274
|
+
font-size: 1.4rem;
|
50275
|
+
color: var(--color-text-light);
|
50276
|
+
display: inline-block;
|
50277
|
+
pointer-events: none;
|
50278
|
+
margin-inline-end: 2px;
|
50279
|
+
text-align: center; }
|
50280
|
+
|
50212
50281
|
.sd-sidebar-menu {
|
50213
50282
|
position: absolute;
|
50214
50283
|
bottom: 0;
|
@@ -62109,8 +62178,6 @@ i.sd-sidetab-menu__helper-icon {
|
|
62109
62178
|
text-align: center;
|
62110
62179
|
font-weight: 400;
|
62111
62180
|
transition: background-color .2s ease-out, opacity .1s ease-out;
|
62112
|
-
margin: 0.2rem 0;
|
62113
|
-
margin-right: 0.3rem;
|
62114
62181
|
height: 2.4rem;
|
62115
62182
|
color: var(--color-text);
|
62116
62183
|
background: var(--sd-colour__tag-label-Bg--1); }
|
@@ -62544,6 +62611,8 @@ i.sd-sidetab-menu__helper-icon {
|
|
62544
62611
|
margin-inline-end: 1.2rem; }
|
62545
62612
|
.sd-check-button__group.sd-check-button__group--compact {
|
62546
62613
|
gap: 0.4rem; }
|
62614
|
+
.sd-check-button__group.sd-check-button__group--no-wrap {
|
62615
|
+
flex-wrap: nowrap; }
|
62547
62616
|
|
62548
62617
|
.sd-check-new__wrapper {
|
62549
62618
|
display: inline-flex;
|
@@ -63495,8 +63564,6 @@ i.sd-sidetab-menu__helper-icon {
|
|
63495
63564
|
text-align: center;
|
63496
63565
|
font-weight: 400;
|
63497
63566
|
transition: background-color .2s ease-out, opacity .1s ease-out;
|
63498
|
-
margin: 0.2rem 0;
|
63499
|
-
margin-right: 0.3rem;
|
63500
63567
|
height: 2.4rem;
|
63501
63568
|
color: var(--color-text);
|
63502
63569
|
transition: background-color .2s ease-out, color .1s ease-out, opacity .1s ease-out;
|
@@ -63528,7 +63595,7 @@ i.sd-sidetab-menu__helper-icon {
|
|
63528
63595
|
justify-content: flex-start;
|
63529
63596
|
align-items: center;
|
63530
63597
|
flex-wrap: wrap;
|
63531
|
-
gap: 0.
|
63598
|
+
gap: 0.4rem;
|
63532
63599
|
width: 100%;
|
63533
63600
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
63534
63601
|
border-radius: 2px 2px 0 0;
|