@crisp-ui-kit/crisp 0.53.4 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/bulkbar/bulkbar.js +5 -1
- package/dist/cjs/components/fileupload/fileupload.js +19 -3
- package/dist/cjs/components/formfield/formfield.js +8 -1
- package/dist/cjs/components/heatmapchart/heatmapchart.js +14 -2
- package/dist/cjs/components/skiplink/index.js +17 -0
- package/dist/cjs/components/skiplink/skiplink.js +16 -0
- package/dist/cjs/components/skiplink/skiplink.recipe.js +33 -0
- package/dist/cjs/components/textlink/index.js +7 -0
- package/dist/cjs/components/textlink/textlink.js +16 -0
- package/dist/cjs/components/textlink/textlink.recipe.js +35 -0
- package/dist/cjs/components/visuallyhidden/index.js +17 -0
- package/dist/cjs/components/visuallyhidden/visuallyhidden.js +16 -0
- package/dist/cjs/components/visuallyhidden/visuallyhidden.recipe.js +20 -0
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/product/board/board.js +11 -2
- package/dist/cjs/product/command/command.js +13 -1
- package/dist/cjs/product/flowcanvas/flowcanvas.js +9 -2
- package/dist/cjs/product/headerbar/headerbar.js +15 -0
- package/dist/cjs/product/headerbar/headerbar.recipe.js +35 -0
- package/dist/cjs/product/headerbar/index.js +17 -0
- package/dist/cjs/product/inbox/inbox.js +13 -1
- package/dist/cjs/product/onboarding/onboarding.js +22 -1
- package/dist/cjs/product/recordpage/index.js +2 -1
- package/dist/cjs/product/recordpage/recordpage.js +197 -123
- package/dist/cjs/product/recordpage/recordpage.recipe.js +5 -0
- package/dist/cjs/product/richtext/richtext.js +3 -3
- package/dist/cjs/product/settingssection/settingssection.recipe.js +11 -2
- package/dist/cjs/product/tasklist/tasklist.js +8 -1
- package/dist/esm/components/bulkbar/bulkbar.js +5 -1
- package/dist/esm/components/fileupload/fileupload.js +20 -4
- package/dist/esm/components/formfield/formfield.js +8 -1
- package/dist/esm/components/heatmapchart/heatmapchart.js +14 -2
- package/dist/esm/components/skiplink/index.js +1 -0
- package/dist/esm/components/skiplink/skiplink.js +13 -0
- package/dist/esm/components/skiplink/skiplink.recipe.js +30 -0
- package/dist/esm/components/textlink/index.js +2 -0
- package/dist/esm/components/textlink/textlink.js +13 -0
- package/dist/esm/components/textlink/textlink.recipe.js +32 -0
- package/dist/esm/components/visuallyhidden/index.js +1 -0
- package/dist/esm/components/visuallyhidden/visuallyhidden.js +13 -0
- package/dist/esm/components/visuallyhidden/visuallyhidden.recipe.js +17 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/product/board/board.js +12 -3
- package/dist/esm/product/command/command.js +14 -2
- package/dist/esm/product/flowcanvas/flowcanvas.js +9 -2
- package/dist/esm/product/headerbar/headerbar.js +12 -0
- package/dist/esm/product/headerbar/headerbar.recipe.js +32 -0
- package/dist/esm/product/headerbar/index.js +1 -0
- package/dist/esm/product/inbox/inbox.js +13 -1
- package/dist/esm/product/onboarding/onboarding.js +22 -1
- package/dist/esm/product/recordpage/index.js +1 -1
- package/dist/esm/product/recordpage/recordpage.js +197 -124
- package/dist/esm/product/recordpage/recordpage.recipe.js +5 -0
- package/dist/esm/product/richtext/richtext.js +3 -3
- package/dist/esm/product/settingssection/settingssection.recipe.js +11 -2
- package/dist/esm/product/tasklist/tasklist.js +8 -1
- package/dist/headerbar.css +7 -0
- package/dist/headerbar.d.ts +7 -0
- package/dist/headerbar.layered.css +9 -0
- package/dist/recordpage.css +17 -31
- package/dist/recordpage.layered.css +17 -31
- package/dist/settingssection.css +2 -2
- package/dist/settingssection.layered.css +2 -2
- package/dist/skiplink.css +5 -0
- package/dist/skiplink.d.ts +7 -0
- package/dist/skiplink.layered.css +7 -0
- package/dist/styles.css +49 -33
- package/dist/styles.layered.css +49 -33
- package/dist/textlink.css +11 -0
- package/dist/textlink.d.ts +7 -0
- package/dist/textlink.layered.css +13 -0
- package/dist/types/components/bulkbar/bulkbar.d.ts +1 -1
- package/dist/types/components/heatmapchart/heatmapchart.d.ts +1 -1
- package/dist/types/components/skiplink/index.d.ts +1 -0
- package/dist/types/components/skiplink/skiplink.d.ts +18 -0
- package/dist/types/components/skiplink/skiplink.recipe.d.ts +3 -0
- package/dist/types/components/textlink/index.d.ts +2 -0
- package/dist/types/components/textlink/textlink.d.ts +19 -0
- package/dist/types/components/textlink/textlink.recipe.d.ts +13 -0
- package/dist/types/components/visuallyhidden/index.d.ts +1 -0
- package/dist/types/components/visuallyhidden/visuallyhidden.d.ts +15 -0
- package/dist/types/components/visuallyhidden/visuallyhidden.recipe.d.ts +3 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/product/board/board.d.ts +1 -1
- package/dist/types/product/command/command.d.ts +1 -1
- package/dist/types/product/flowcanvas/flowcanvas.d.ts +1 -1
- package/dist/types/product/headerbar/headerbar.d.ts +27 -0
- package/dist/types/product/headerbar/headerbar.recipe.d.ts +3 -0
- package/dist/types/product/headerbar/index.d.ts +1 -0
- package/dist/types/product/inbox/inbox.d.ts +1 -1
- package/dist/types/product/onboarding/onboarding.d.ts +1 -1
- package/dist/types/product/recordpage/index.d.ts +1 -1
- package/dist/types/product/recordpage/recordpage.d.ts +90 -1
- package/dist/types/product/richtext/richtext.d.ts +20 -0
- package/dist/types/product/tasklist/tasklist.d.ts +1 -1
- package/dist/visuallyhidden.css +3 -0
- package/dist/visuallyhidden.d.ts +7 -0
- package/dist/visuallyhidden.layered.css +5 -0
- package/package.json +21 -1
|
@@ -93,6 +93,16 @@ export type RichTextEditorProps = Omit<React.ComponentPropsWithoutRef<"div">, "c
|
|
|
93
93
|
* headings/lists/marks all survive into it. No toolbar renders in this
|
|
94
94
|
* mode. */
|
|
95
95
|
readOnly?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Renders the title field at all (default `true`, matching Attio's own
|
|
98
|
+
* preview — see `readOnly` above). `false` omits it from the DOM
|
|
99
|
+
* entirely, not just visually: for a consumer whose own layout already
|
|
100
|
+
* shows a note's title elsewhere (a list row's own heading, a record's
|
|
101
|
+
* collapsed-note summary), rendering it a second time here would
|
|
102
|
+
* duplicate it rather than match anything Attio does. `onChange`'s
|
|
103
|
+
* `title` is always `""` with this off; `defaultTitle` is ignored.
|
|
104
|
+
*/
|
|
105
|
+
showTitle?: boolean;
|
|
96
106
|
className?: string;
|
|
97
107
|
};
|
|
98
108
|
/**
|
|
@@ -187,5 +197,15 @@ export declare const RichTextEditor: React.ForwardRefExoticComponent<Omit<Omit<R
|
|
|
187
197
|
* headings/lists/marks all survive into it. No toolbar renders in this
|
|
188
198
|
* mode. */
|
|
189
199
|
readOnly?: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Renders the title field at all (default `true`, matching Attio's own
|
|
202
|
+
* preview — see `readOnly` above). `false` omits it from the DOM
|
|
203
|
+
* entirely, not just visually: for a consumer whose own layout already
|
|
204
|
+
* shows a note's title elsewhere (a list row's own heading, a record's
|
|
205
|
+
* collapsed-note summary), rendering it a second time here would
|
|
206
|
+
* duplicate it rather than match anything Attio does. `onChange`'s
|
|
207
|
+
* `title` is always `""` with this off; `defaultTitle` is ignored.
|
|
208
|
+
*/
|
|
209
|
+
showTitle?: boolean;
|
|
190
210
|
className?: string;
|
|
191
211
|
} & React.RefAttributes<RichTextEditorHandle>>;
|
|
@@ -34,7 +34,7 @@ export type TaskListProps = Omit<React.ComponentPropsWithoutRef<"div">, "childre
|
|
|
34
34
|
* count, then rows of a round complete-checkbox + title + trailing meta.
|
|
35
35
|
* Completed rows strike through; overdue dates go red.
|
|
36
36
|
*/
|
|
37
|
-
export declare function TaskList({ tasks, groups, onToggle, emptyLabel, className, completeLabel, incompleteLabel, ...rest }: TaskListProps): React.JSX.Element;
|
|
37
|
+
export declare function TaskList({ tasks, groups, onToggle, emptyLabel: emptyLabelProp, className, completeLabel: completeLabelProp, incompleteLabel: incompleteLabelProp, ...rest }: TaskListProps): React.JSX.Element;
|
|
38
38
|
export declare namespace TaskList {
|
|
39
39
|
var displayName: string;
|
|
40
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crisp-ui-kit/crisp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"description": "A lean React design system, measured pixel-for-pixel from Attio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -243,6 +243,11 @@
|
|
|
243
243
|
"import": "./dist/esm/components/skeleton/index.js",
|
|
244
244
|
"require": "./dist/cjs/components/skeleton/index.js"
|
|
245
245
|
},
|
|
246
|
+
"./skiplink": {
|
|
247
|
+
"types": "./dist/types/components/skiplink/index.d.ts",
|
|
248
|
+
"import": "./dist/esm/components/skiplink/index.js",
|
|
249
|
+
"require": "./dist/cjs/components/skiplink/index.js"
|
|
250
|
+
},
|
|
246
251
|
"./slider": {
|
|
247
252
|
"types": "./dist/types/components/slider/index.d.ts",
|
|
248
253
|
"import": "./dist/esm/components/slider/index.js",
|
|
@@ -288,6 +293,11 @@
|
|
|
288
293
|
"import": "./dist/esm/components/textarea/index.js",
|
|
289
294
|
"require": "./dist/cjs/components/textarea/index.js"
|
|
290
295
|
},
|
|
296
|
+
"./textlink": {
|
|
297
|
+
"types": "./dist/types/components/textlink/index.d.ts",
|
|
298
|
+
"import": "./dist/esm/components/textlink/index.js",
|
|
299
|
+
"require": "./dist/cjs/components/textlink/index.js"
|
|
300
|
+
},
|
|
291
301
|
"./timepicker": {
|
|
292
302
|
"types": "./dist/types/components/timepicker/index.d.ts",
|
|
293
303
|
"import": "./dist/esm/components/timepicker/index.js",
|
|
@@ -303,6 +313,11 @@
|
|
|
303
313
|
"import": "./dist/esm/components/tooltip/index.js",
|
|
304
314
|
"require": "./dist/cjs/components/tooltip/index.js"
|
|
305
315
|
},
|
|
316
|
+
"./visuallyhidden": {
|
|
317
|
+
"types": "./dist/types/components/visuallyhidden/index.d.ts",
|
|
318
|
+
"import": "./dist/esm/components/visuallyhidden/index.js",
|
|
319
|
+
"require": "./dist/cjs/components/visuallyhidden/index.js"
|
|
320
|
+
},
|
|
306
321
|
"./wheelpicker": {
|
|
307
322
|
"types": "./dist/types/components/wheelpicker/index.d.ts",
|
|
308
323
|
"import": "./dist/esm/components/wheelpicker/index.js",
|
|
@@ -338,6 +353,11 @@
|
|
|
338
353
|
"import": "./dist/esm/product/flowcanvas/index.js",
|
|
339
354
|
"require": "./dist/cjs/product/flowcanvas/index.js"
|
|
340
355
|
},
|
|
356
|
+
"./headerbar": {
|
|
357
|
+
"types": "./dist/types/product/headerbar/index.d.ts",
|
|
358
|
+
"import": "./dist/esm/product/headerbar/index.js",
|
|
359
|
+
"require": "./dist/cjs/product/headerbar/index.js"
|
|
360
|
+
},
|
|
341
361
|
"./inbox": {
|
|
342
362
|
"types": "./dist/types/product/inbox/index.d.ts",
|
|
343
363
|
"import": "./dist/esm/product/inbox/index.js",
|