@fldr/ui 0.3.6 → 0.3.7
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/ai/component-registry.json +962 -43
- package/ai/component-registry.md +1 -1
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +18 -18
- package/dist/blocks-source/activity-feed/activity-feed.test.tsx +75 -0
- package/dist/blocks-source/activity-feed/activity-feed.tsx +256 -0
- package/dist/blocks-source/app-shell/app-shell.test.tsx +74 -0
- package/dist/blocks-source/app-shell/app-shell.tsx +123 -0
- package/dist/blocks-source/auth-card/auth-card.test.tsx +64 -0
- package/dist/blocks-source/auth-card/auth-card.tsx +234 -0
- package/dist/blocks-source/dashboard-page/dashboard-page.tsx +167 -0
- package/dist/blocks-source/error-page/error-page.test.tsx +60 -0
- package/dist/blocks-source/error-page/error-page.tsx +97 -0
- package/dist/blocks-source/file-table/file-item.tsx +164 -0
- package/dist/blocks-source/file-table/file-table.test.tsx +82 -0
- package/dist/blocks-source/file-table/file-table.tsx +292 -0
- package/dist/blocks-source/folder-grid/folder-grid.test.tsx +54 -0
- package/dist/blocks-source/folder-grid/folder-grid.tsx +170 -0
- package/dist/blocks-source/login-page/login-page.tsx +47 -0
- package/dist/blocks-source/onboarding-checklist/onboarding-checklist.test.tsx +50 -0
- package/dist/blocks-source/onboarding-checklist/onboarding-checklist.tsx +180 -0
- package/dist/blocks-source/settings-section/settings-section.test.tsx +43 -0
- package/dist/blocks-source/settings-section/settings-section.tsx +165 -0
- package/dist/blocks-source/share-dialog/share-dialog.test.tsx +69 -0
- package/dist/blocks-source/share-dialog/share-dialog.tsx +307 -0
- package/dist/blocks-source/stat-grid/stat-grid.test.tsx +52 -0
- package/dist/blocks-source/stat-grid/stat-grid.tsx +153 -0
- package/dist/blocks-source/upload-dropzone/upload-dropzone.test.tsx +82 -0
- package/dist/blocks-source/upload-dropzone/upload-dropzone.tsx +264 -0
- package/dist/blocks.d.ts +780 -0
- package/dist/blocks.js +1664 -0
- package/dist/chunks/delete-resource-cmlptb61ih8s84r3.js +151 -0
- package/dist/delete-resource-DY-GFy2s.d.ts +48 -0
- package/dist/index.d.ts +4 -50
- package/dist/index.js +1 -146
- package/dist/primitives.d.ts +1 -1
- package/dist/styles/kumo-standalone.css +1 -1
- package/package.json +5 -1
|
@@ -8273,6 +8273,316 @@
|
|
|
8273
8273
|
}
|
|
8274
8274
|
},
|
|
8275
8275
|
"blocks": {
|
|
8276
|
+
"ActivityFeed": {
|
|
8277
|
+
"name": "ActivityFeed",
|
|
8278
|
+
"type": "block",
|
|
8279
|
+
"description": "Compact vertical timeline of file and folder activity.",
|
|
8280
|
+
"importPath": "@fldr/ui",
|
|
8281
|
+
"category": "Other",
|
|
8282
|
+
"props": {
|
|
8283
|
+
"events": {
|
|
8284
|
+
"type": "ActivityEvent[]",
|
|
8285
|
+
"required": true
|
|
8286
|
+
},
|
|
8287
|
+
"groupByDay": {
|
|
8288
|
+
"type": "boolean",
|
|
8289
|
+
"optional": true,
|
|
8290
|
+
"description": "Group rows under \"Today\", \"Yesterday\" and date headings."
|
|
8291
|
+
},
|
|
8292
|
+
"loadingMore": {
|
|
8293
|
+
"type": "boolean",
|
|
8294
|
+
"optional": true
|
|
8295
|
+
},
|
|
8296
|
+
"footer": {
|
|
8297
|
+
"type": "ReactNode",
|
|
8298
|
+
"optional": true,
|
|
8299
|
+
"description": "Replaces the default \"Load more\" button."
|
|
8300
|
+
},
|
|
8301
|
+
"now": {
|
|
8302
|
+
"type": "string",
|
|
8303
|
+
"optional": true,
|
|
8304
|
+
"description": "Reference time for relative formatting. Defaults to the current time."
|
|
8305
|
+
},
|
|
8306
|
+
"locale": {
|
|
8307
|
+
"type": "string",
|
|
8308
|
+
"optional": true
|
|
8309
|
+
},
|
|
8310
|
+
"labels": {
|
|
8311
|
+
"type": "Partial<ActivityFeedLabels>",
|
|
8312
|
+
"optional": true
|
|
8313
|
+
},
|
|
8314
|
+
"className": {
|
|
8315
|
+
"type": "string",
|
|
8316
|
+
"optional": true
|
|
8317
|
+
}
|
|
8318
|
+
},
|
|
8319
|
+
"examples": [],
|
|
8320
|
+
"colors": [
|
|
8321
|
+
"bg-kumo-recessed",
|
|
8322
|
+
"text-kumo-default",
|
|
8323
|
+
"text-kumo-link",
|
|
8324
|
+
"text-kumo-subtle"
|
|
8325
|
+
],
|
|
8326
|
+
"files": [
|
|
8327
|
+
"activity-feed/activity-feed.tsx",
|
|
8328
|
+
"activity-feed/activity-feed.test.tsx"
|
|
8329
|
+
],
|
|
8330
|
+
"dependencies": [
|
|
8331
|
+
"Button"
|
|
8332
|
+
]
|
|
8333
|
+
},
|
|
8334
|
+
"AppShell": {
|
|
8335
|
+
"name": "AppShell",
|
|
8336
|
+
"type": "block",
|
|
8337
|
+
"description": "Application frame: sidebar navigation, top bar and a scrollable content area. The sidebar collapses to icons on desktop and becomes a drawer on narrow screens.",
|
|
8338
|
+
"importPath": "@fldr/ui",
|
|
8339
|
+
"category": "Other",
|
|
8340
|
+
"props": {
|
|
8341
|
+
"brand": {
|
|
8342
|
+
"type": "ReactNode",
|
|
8343
|
+
"optional": true,
|
|
8344
|
+
"description": "Brand or logo, rendered in the sidebar header."
|
|
8345
|
+
},
|
|
8346
|
+
"nav": {
|
|
8347
|
+
"type": "ReactNode",
|
|
8348
|
+
"optional": true,
|
|
8349
|
+
"description": "Sidebar navigation, typically `Sidebar.Group` / `Sidebar.Menu` elements."
|
|
8350
|
+
},
|
|
8351
|
+
"sidebarFooter": {
|
|
8352
|
+
"type": "ReactNode",
|
|
8353
|
+
"optional": true,
|
|
8354
|
+
"description": "Sidebar footer content, e.g. the signed-in account."
|
|
8355
|
+
},
|
|
8356
|
+
"header": {
|
|
8357
|
+
"type": "ReactNode",
|
|
8358
|
+
"optional": true,
|
|
8359
|
+
"description": "Left side of the top bar, e.g. breadcrumbs or a page title."
|
|
8360
|
+
},
|
|
8361
|
+
"actions": {
|
|
8362
|
+
"type": "ReactNode",
|
|
8363
|
+
"optional": true,
|
|
8364
|
+
"description": "Right side of the top bar, e.g. search, upload or account actions."
|
|
8365
|
+
},
|
|
8366
|
+
"children": {
|
|
8367
|
+
"type": "ReactNode",
|
|
8368
|
+
"optional": true,
|
|
8369
|
+
"description": "Main page content. Scrolls independently of the sidebar and top bar."
|
|
8370
|
+
},
|
|
8371
|
+
"defaultOpen": {
|
|
8372
|
+
"type": "boolean",
|
|
8373
|
+
"optional": true,
|
|
8374
|
+
"description": "Initial desktop sidebar state when uncontrolled."
|
|
8375
|
+
},
|
|
8376
|
+
"open": {
|
|
8377
|
+
"type": "boolean",
|
|
8378
|
+
"optional": true,
|
|
8379
|
+
"description": "Controlled desktop sidebar state."
|
|
8380
|
+
},
|
|
8381
|
+
"collapsible": {
|
|
8382
|
+
"type": "enum",
|
|
8383
|
+
"optional": true,
|
|
8384
|
+
"description": "How the desktop sidebar collapses.",
|
|
8385
|
+
"values": [
|
|
8386
|
+
"icon",
|
|
8387
|
+
"offcanvas",
|
|
8388
|
+
"none"
|
|
8389
|
+
]
|
|
8390
|
+
},
|
|
8391
|
+
"mobileBreakpoint": {
|
|
8392
|
+
"type": "number",
|
|
8393
|
+
"optional": true,
|
|
8394
|
+
"description": "Viewport width (px) below which the sidebar becomes a drawer."
|
|
8395
|
+
},
|
|
8396
|
+
"contained": {
|
|
8397
|
+
"type": "boolean",
|
|
8398
|
+
"optional": true,
|
|
8399
|
+
"description": "Keep the shell inside its parent instead of filling the viewport."
|
|
8400
|
+
},
|
|
8401
|
+
"toggleLabel": {
|
|
8402
|
+
"type": "string",
|
|
8403
|
+
"optional": true,
|
|
8404
|
+
"description": "Accessible label for the sidebar toggle button."
|
|
8405
|
+
},
|
|
8406
|
+
"className": {
|
|
8407
|
+
"type": "string",
|
|
8408
|
+
"optional": true,
|
|
8409
|
+
"description": "Classes for the outer shell."
|
|
8410
|
+
},
|
|
8411
|
+
"contentClassName": {
|
|
8412
|
+
"type": "string",
|
|
8413
|
+
"optional": true,
|
|
8414
|
+
"description": "Classes for the scrollable content area."
|
|
8415
|
+
}
|
|
8416
|
+
},
|
|
8417
|
+
"examples": [],
|
|
8418
|
+
"colors": [
|
|
8419
|
+
"bg-kumo-base",
|
|
8420
|
+
"border-kumo-line",
|
|
8421
|
+
"text-kumo-default"
|
|
8422
|
+
],
|
|
8423
|
+
"files": [
|
|
8424
|
+
"app-shell/app-shell.tsx",
|
|
8425
|
+
"app-shell/app-shell.test.tsx"
|
|
8426
|
+
],
|
|
8427
|
+
"dependencies": [
|
|
8428
|
+
"Sidebar"
|
|
8429
|
+
]
|
|
8430
|
+
},
|
|
8431
|
+
"AuthCard": {
|
|
8432
|
+
"name": "AuthCard",
|
|
8433
|
+
"type": "block",
|
|
8434
|
+
"description": "Centered sign-in / sign-up card with optional providers and magic-link mode.",
|
|
8435
|
+
"importPath": "@fldr/ui",
|
|
8436
|
+
"category": "Other",
|
|
8437
|
+
"props": {
|
|
8438
|
+
"mode": {
|
|
8439
|
+
"type": "enum",
|
|
8440
|
+
"optional": true,
|
|
8441
|
+
"values": [
|
|
8442
|
+
"sign-in",
|
|
8443
|
+
"sign-up"
|
|
8444
|
+
]
|
|
8445
|
+
},
|
|
8446
|
+
"method": {
|
|
8447
|
+
"type": "enum",
|
|
8448
|
+
"optional": true,
|
|
8449
|
+
"description": "`\"magic-link\"` hides the password field.",
|
|
8450
|
+
"values": [
|
|
8451
|
+
"password",
|
|
8452
|
+
"magic-link"
|
|
8453
|
+
]
|
|
8454
|
+
},
|
|
8455
|
+
"providers": {
|
|
8456
|
+
"type": "AuthCardProvider[]",
|
|
8457
|
+
"optional": true,
|
|
8458
|
+
"description": "Provider buttons rendered above the \"or\" divider."
|
|
8459
|
+
},
|
|
8460
|
+
"providerSlot": {
|
|
8461
|
+
"type": "ReactNode",
|
|
8462
|
+
"optional": true,
|
|
8463
|
+
"description": "Custom provider slot; replaces `providers` when set."
|
|
8464
|
+
},
|
|
8465
|
+
"logo": {
|
|
8466
|
+
"type": "ReactNode",
|
|
8467
|
+
"optional": true,
|
|
8468
|
+
"description": "Logo rendered above the title."
|
|
8469
|
+
},
|
|
8470
|
+
"title": {
|
|
8471
|
+
"type": "ReactNode",
|
|
8472
|
+
"optional": true,
|
|
8473
|
+
"description": "Overrides the mode's default title."
|
|
8474
|
+
},
|
|
8475
|
+
"description": {
|
|
8476
|
+
"type": "ReactNode",
|
|
8477
|
+
"optional": true,
|
|
8478
|
+
"description": "Secondary text below the title."
|
|
8479
|
+
},
|
|
8480
|
+
"error": {
|
|
8481
|
+
"type": "ReactNode",
|
|
8482
|
+
"optional": true,
|
|
8483
|
+
"description": "Error message shown in a banner above the form."
|
|
8484
|
+
},
|
|
8485
|
+
"loading": {
|
|
8486
|
+
"type": "boolean",
|
|
8487
|
+
"optional": true,
|
|
8488
|
+
"description": "Disables inputs and shows a spinner on submit."
|
|
8489
|
+
},
|
|
8490
|
+
"footer": {
|
|
8491
|
+
"type": "ReactNode",
|
|
8492
|
+
"optional": true,
|
|
8493
|
+
"description": "Footer slot, e.g. \"Don't have an account? Sign up\"."
|
|
8494
|
+
},
|
|
8495
|
+
"labels": {
|
|
8496
|
+
"type": "Partial<AuthCardLabels>",
|
|
8497
|
+
"optional": true,
|
|
8498
|
+
"description": "Overridable strings for i18n."
|
|
8499
|
+
},
|
|
8500
|
+
"className": {
|
|
8501
|
+
"type": "string",
|
|
8502
|
+
"optional": true
|
|
8503
|
+
}
|
|
8504
|
+
},
|
|
8505
|
+
"examples": [],
|
|
8506
|
+
"colors": [
|
|
8507
|
+
"bg-kumo-elevated",
|
|
8508
|
+
"bg-kumo-line",
|
|
8509
|
+
"text-kumo-default",
|
|
8510
|
+
"text-kumo-subtle"
|
|
8511
|
+
],
|
|
8512
|
+
"files": [
|
|
8513
|
+
"auth-card/auth-card.tsx",
|
|
8514
|
+
"auth-card/auth-card.test.tsx"
|
|
8515
|
+
],
|
|
8516
|
+
"dependencies": [
|
|
8517
|
+
"Banner",
|
|
8518
|
+
"Button",
|
|
8519
|
+
"Input"
|
|
8520
|
+
]
|
|
8521
|
+
},
|
|
8522
|
+
"DashboardPage": {
|
|
8523
|
+
"name": "DashboardPage",
|
|
8524
|
+
"type": "block",
|
|
8525
|
+
"description": "DashboardPage: the first screen after sign-in. A header, stats, recent files, and a side column with onboarding and activity. Render it inside `AppShell`; every section is optional.",
|
|
8526
|
+
"importPath": "@fldr/ui",
|
|
8527
|
+
"category": "Other",
|
|
8528
|
+
"props": {
|
|
8529
|
+
"title": {
|
|
8530
|
+
"type": "ReactNode",
|
|
8531
|
+
"optional": true,
|
|
8532
|
+
"description": "e.g. \"Good morning, Ada\"."
|
|
8533
|
+
},
|
|
8534
|
+
"description": {
|
|
8535
|
+
"type": "ReactNode",
|
|
8536
|
+
"optional": true
|
|
8537
|
+
},
|
|
8538
|
+
"actions": {
|
|
8539
|
+
"type": "ReactNode",
|
|
8540
|
+
"optional": true,
|
|
8541
|
+
"description": "Header buttons, e.g. Upload and New folder."
|
|
8542
|
+
},
|
|
8543
|
+
"stats": {
|
|
8544
|
+
"type": "StatProps[]",
|
|
8545
|
+
"optional": true
|
|
8546
|
+
},
|
|
8547
|
+
"recentFiles": {
|
|
8548
|
+
"type": "FileItem[]",
|
|
8549
|
+
"optional": true
|
|
8550
|
+
},
|
|
8551
|
+
"allFilesHref": {
|
|
8552
|
+
"type": "string",
|
|
8553
|
+
"optional": true,
|
|
8554
|
+
"description": "\"View all\" link next to Recent files."
|
|
8555
|
+
},
|
|
8556
|
+
"activity": {
|
|
8557
|
+
"type": "Omit<ActivityFeedProps,\"className\">",
|
|
8558
|
+
"optional": true
|
|
8559
|
+
},
|
|
8560
|
+
"children": {
|
|
8561
|
+
"type": "ReactNode",
|
|
8562
|
+
"optional": true,
|
|
8563
|
+
"description": "Extra content under Recent files."
|
|
8564
|
+
},
|
|
8565
|
+
"labels": {
|
|
8566
|
+
"type": "Partial<DashboardPageLabels>",
|
|
8567
|
+
"optional": true
|
|
8568
|
+
},
|
|
8569
|
+
"className": {
|
|
8570
|
+
"type": "string",
|
|
8571
|
+
"optional": true
|
|
8572
|
+
}
|
|
8573
|
+
},
|
|
8574
|
+
"examples": [],
|
|
8575
|
+
"colors": [
|
|
8576
|
+
"text-kumo-strong",
|
|
8577
|
+
"text-kumo-subtle"
|
|
8578
|
+
],
|
|
8579
|
+
"files": [
|
|
8580
|
+
"dashboard-page/dashboard-page.tsx"
|
|
8581
|
+
],
|
|
8582
|
+
"dependencies": [
|
|
8583
|
+
"Link"
|
|
8584
|
+
]
|
|
8585
|
+
},
|
|
8276
8586
|
"DeleteResource": {
|
|
8277
8587
|
"name": "DeleteResource",
|
|
8278
8588
|
"type": "block",
|
|
@@ -8293,71 +8603,424 @@
|
|
|
8293
8603
|
},
|
|
8294
8604
|
"default": "base"
|
|
8295
8605
|
},
|
|
8296
|
-
"open": {
|
|
8297
|
-
"type": "boolean",
|
|
8298
|
-
"required": true,
|
|
8299
|
-
"description": "Whether the dialog is open"
|
|
8606
|
+
"open": {
|
|
8607
|
+
"type": "boolean",
|
|
8608
|
+
"required": true,
|
|
8609
|
+
"description": "Whether the dialog is open"
|
|
8610
|
+
},
|
|
8611
|
+
"resourceType": {
|
|
8612
|
+
"type": "string",
|
|
8613
|
+
"required": true,
|
|
8614
|
+
"description": "The type of resource being deleted (e.g., \"Zone\", \"Worker\", \"KV Namespace\")"
|
|
8615
|
+
},
|
|
8616
|
+
"resourceName": {
|
|
8617
|
+
"type": "string",
|
|
8618
|
+
"required": true,
|
|
8619
|
+
"description": "The name of the specific resource being deleted"
|
|
8620
|
+
},
|
|
8621
|
+
"isDeleting": {
|
|
8622
|
+
"type": "boolean",
|
|
8623
|
+
"optional": true,
|
|
8624
|
+
"description": "Whether the delete action is in progress"
|
|
8625
|
+
},
|
|
8626
|
+
"caseSensitive": {
|
|
8627
|
+
"type": "boolean",
|
|
8628
|
+
"optional": true,
|
|
8629
|
+
"description": "Whether the confirmation input should be case-sensitive (default: true)"
|
|
8630
|
+
},
|
|
8631
|
+
"deleteButtonText": {
|
|
8632
|
+
"type": "string",
|
|
8633
|
+
"optional": true,
|
|
8634
|
+
"description": "Custom delete button text (defaults to \"Delete {resourceType}\")"
|
|
8635
|
+
},
|
|
8636
|
+
"className": {
|
|
8637
|
+
"type": "string",
|
|
8638
|
+
"optional": true,
|
|
8639
|
+
"description": "Additional className for the dialog"
|
|
8640
|
+
},
|
|
8641
|
+
"errorMessage": {
|
|
8642
|
+
"type": "string",
|
|
8643
|
+
"optional": true,
|
|
8644
|
+
"description": "Error message to display if the delete action fails"
|
|
8645
|
+
}
|
|
8646
|
+
},
|
|
8647
|
+
"examples": [
|
|
8648
|
+
"<>\n <Button variant=\"destructive\" onClick={() => setOpen(true)}>\n Delete Zone\n </Button>\n <DeleteResource\n open={open}\n onOpenChange={setOpen}\n resourceType=\"Zone\"\n resourceName=\"example.com\"\n onDelete={handleDelete}\n isDeleting={isDeleting}\n />\n </>",
|
|
8649
|
+
"<>\n <Button variant=\"destructive\" onClick={() => setOpen(true)}>\n Delete Worker\n </Button>\n <DeleteResource\n open={open}\n onOpenChange={setOpen}\n resourceType=\"Worker\"\n resourceName=\"api-gateway-worker\"\n onDelete={handleDelete}\n isDeleting={isDeleting}\n />\n </>",
|
|
8650
|
+
"<>\n <Button variant=\"destructive\" onClick={() => setOpen(true)}>\n Delete Zone\n </Button>\n <DeleteResource\n open={open}\n onOpenChange={setOpen}\n resourceType=\"Zone\"\n resourceName=\"example.com\"\n onDelete={handleDelete}\n isDeleting={isDeleting}\n errorMessage={errorMsg}\n />\n </>"
|
|
8651
|
+
],
|
|
8652
|
+
"colors": [
|
|
8653
|
+
"bg-kumo-fill",
|
|
8654
|
+
"bg-kumo-tint",
|
|
8655
|
+
"border-kumo-line",
|
|
8656
|
+
"text-kumo-default",
|
|
8657
|
+
"text-kumo-subtle"
|
|
8658
|
+
],
|
|
8659
|
+
"files": [
|
|
8660
|
+
"delete-resource/delete-resource.tsx",
|
|
8661
|
+
"delete-resource/delete-resource.test.tsx"
|
|
8662
|
+
],
|
|
8663
|
+
"dependencies": [
|
|
8664
|
+
"Banner",
|
|
8665
|
+
"Button",
|
|
8666
|
+
"Dialog",
|
|
8667
|
+
"DialogClose",
|
|
8668
|
+
"DialogRoot",
|
|
8669
|
+
"DialogTitle",
|
|
8670
|
+
"Input"
|
|
8671
|
+
]
|
|
8672
|
+
},
|
|
8673
|
+
"ErrorPage": {
|
|
8674
|
+
"name": "ErrorPage",
|
|
8675
|
+
"type": "block",
|
|
8676
|
+
"description": "ErrorPage: a quiet 404 / 403 / 500 page with a way back.",
|
|
8677
|
+
"importPath": "@fldr/ui",
|
|
8678
|
+
"category": "Other",
|
|
8679
|
+
"props": {
|
|
8680
|
+
"status": {
|
|
8681
|
+
"type": "number",
|
|
8682
|
+
"optional": true,
|
|
8683
|
+
"description": "HTTP-style status. 403, 404 and 500 come with default copy."
|
|
8684
|
+
},
|
|
8685
|
+
"title": {
|
|
8686
|
+
"type": "string",
|
|
8687
|
+
"optional": true
|
|
8688
|
+
},
|
|
8689
|
+
"description": {
|
|
8690
|
+
"type": "ReactNode",
|
|
8691
|
+
"optional": true
|
|
8692
|
+
},
|
|
8693
|
+
"homeHref": {
|
|
8694
|
+
"type": "string | null",
|
|
8695
|
+
"optional": true,
|
|
8696
|
+
"description": "Where the primary button goes. Pass `null` to hide it."
|
|
8697
|
+
},
|
|
8698
|
+
"homeLabel": {
|
|
8699
|
+
"type": "string",
|
|
8700
|
+
"optional": true
|
|
8701
|
+
},
|
|
8702
|
+
"actions": {
|
|
8703
|
+
"type": "ReactNode",
|
|
8704
|
+
"optional": true,
|
|
8705
|
+
"description": "Extra actions after the home button, e.g. \"Contact support\"."
|
|
8706
|
+
},
|
|
8707
|
+
"logo": {
|
|
8708
|
+
"type": "ReactNode",
|
|
8709
|
+
"optional": true,
|
|
8710
|
+
"description": "Shown above the status, e.g. the product mark."
|
|
8711
|
+
},
|
|
8712
|
+
"details": {
|
|
8713
|
+
"type": "ReactNode",
|
|
8714
|
+
"optional": true,
|
|
8715
|
+
"description": "Small print under the actions, e.g. a request ID."
|
|
8716
|
+
},
|
|
8717
|
+
"fullScreen": {
|
|
8718
|
+
"type": "boolean",
|
|
8719
|
+
"optional": true,
|
|
8720
|
+
"description": "Fill the viewport. Set false to render inside a layout."
|
|
8721
|
+
},
|
|
8722
|
+
"className": {
|
|
8723
|
+
"type": "string",
|
|
8724
|
+
"optional": true
|
|
8725
|
+
}
|
|
8726
|
+
},
|
|
8727
|
+
"examples": [],
|
|
8728
|
+
"colors": [
|
|
8729
|
+
"bg-kumo-canvas",
|
|
8730
|
+
"text-kumo-default",
|
|
8731
|
+
"text-kumo-strong",
|
|
8732
|
+
"text-kumo-subtle"
|
|
8733
|
+
],
|
|
8734
|
+
"files": [
|
|
8735
|
+
"error-page/error-page.tsx",
|
|
8736
|
+
"error-page/error-page.test.tsx"
|
|
8737
|
+
],
|
|
8738
|
+
"dependencies": [
|
|
8739
|
+
"LinkButton"
|
|
8740
|
+
]
|
|
8741
|
+
},
|
|
8742
|
+
"FileTable": {
|
|
8743
|
+
"name": "FileTable",
|
|
8744
|
+
"type": "block",
|
|
8745
|
+
"description": "FileTable component",
|
|
8746
|
+
"importPath": "@fldr/ui",
|
|
8747
|
+
"category": "Other",
|
|
8748
|
+
"props": {
|
|
8749
|
+
"items": {
|
|
8750
|
+
"type": "T[]",
|
|
8751
|
+
"required": true
|
|
8752
|
+
},
|
|
8753
|
+
"sort": {
|
|
8754
|
+
"type": "FileTableSort",
|
|
8755
|
+
"optional": true,
|
|
8756
|
+
"description": "Controlled sort. Folders always stay above files."
|
|
8757
|
+
},
|
|
8758
|
+
"defaultSort": {
|
|
8759
|
+
"type": "FileTableSort",
|
|
8760
|
+
"optional": true
|
|
8761
|
+
},
|
|
8762
|
+
"selectable": {
|
|
8763
|
+
"type": "boolean",
|
|
8764
|
+
"optional": true,
|
|
8765
|
+
"description": "Show row checkboxes and the bulk-action bar."
|
|
8766
|
+
},
|
|
8767
|
+
"selectedIds": {
|
|
8768
|
+
"type": "string[]",
|
|
8769
|
+
"optional": true
|
|
8770
|
+
},
|
|
8771
|
+
"defaultSelectedIds": {
|
|
8772
|
+
"type": "string[]",
|
|
8773
|
+
"optional": true
|
|
8774
|
+
},
|
|
8775
|
+
"bulkActions": {
|
|
8776
|
+
"type": "ReactNode | ((selectedIds: string[]) => ReactNode)",
|
|
8777
|
+
"optional": true,
|
|
8778
|
+
"description": "Shown in the bulk-action bar while rows are selected."
|
|
8779
|
+
},
|
|
8780
|
+
"actions": {
|
|
8781
|
+
"type": "FileActions<T>",
|
|
8782
|
+
"optional": true,
|
|
8783
|
+
"description": "Per-row actions menu: an items array or a render prop returning `DropdownMenu.Item`s."
|
|
8784
|
+
},
|
|
8785
|
+
"empty": {
|
|
8786
|
+
"type": "ReactNode",
|
|
8787
|
+
"optional": true,
|
|
8788
|
+
"description": "Rendered instead of the table when `items` is empty."
|
|
8789
|
+
},
|
|
8790
|
+
"labels": {
|
|
8791
|
+
"type": "Partial<FileTableLabels>",
|
|
8792
|
+
"optional": true
|
|
8793
|
+
},
|
|
8794
|
+
"locale": {
|
|
8795
|
+
"type": "string",
|
|
8796
|
+
"optional": true,
|
|
8797
|
+
"description": "Locale for size and date formatting. Defaults to the runtime locale."
|
|
8798
|
+
},
|
|
8799
|
+
"className": {
|
|
8800
|
+
"type": "string",
|
|
8801
|
+
"optional": true
|
|
8802
|
+
}
|
|
8803
|
+
},
|
|
8804
|
+
"examples": [],
|
|
8805
|
+
"colors": [
|
|
8806
|
+
"bg-kumo-base",
|
|
8807
|
+
"bg-kumo-tint",
|
|
8808
|
+
"text-kumo-default",
|
|
8809
|
+
"text-kumo-subtle"
|
|
8810
|
+
],
|
|
8811
|
+
"files": [
|
|
8812
|
+
"file-table/file-table.tsx",
|
|
8813
|
+
"file-table/file-table.test.tsx"
|
|
8814
|
+
],
|
|
8815
|
+
"dependencies": [
|
|
8816
|
+
"Button",
|
|
8817
|
+
"Table"
|
|
8818
|
+
]
|
|
8819
|
+
},
|
|
8820
|
+
"FolderGrid": {
|
|
8821
|
+
"name": "FolderGrid",
|
|
8822
|
+
"type": "block",
|
|
8823
|
+
"description": "FolderGrid component",
|
|
8824
|
+
"importPath": "@fldr/ui",
|
|
8825
|
+
"category": "Other",
|
|
8826
|
+
"props": {
|
|
8827
|
+
"items": {
|
|
8828
|
+
"type": "T[]",
|
|
8829
|
+
"required": true
|
|
8830
|
+
},
|
|
8831
|
+
"selectable": {
|
|
8832
|
+
"type": "boolean",
|
|
8833
|
+
"optional": true,
|
|
8834
|
+
"description": "Show a checkbox on each card."
|
|
8835
|
+
},
|
|
8836
|
+
"selectedIds": {
|
|
8837
|
+
"type": "string[]",
|
|
8838
|
+
"optional": true
|
|
8839
|
+
},
|
|
8840
|
+
"defaultSelectedIds": {
|
|
8841
|
+
"type": "string[]",
|
|
8842
|
+
"optional": true
|
|
8843
|
+
},
|
|
8844
|
+
"actions": {
|
|
8845
|
+
"type": "FileActions<T>",
|
|
8846
|
+
"optional": true,
|
|
8847
|
+
"description": "Per-card actions menu: an items array or a render prop returning `DropdownMenu.Item`s."
|
|
8848
|
+
},
|
|
8849
|
+
"meta": {
|
|
8850
|
+
"type": "(item: T) => ReactNode",
|
|
8851
|
+
"optional": true,
|
|
8852
|
+
"description": "Override the meta line. Defaults to \"48 files · 12 MB\" for folders, \"12 MB · Nov 3, 2026\" for files."
|
|
8853
|
+
},
|
|
8854
|
+
"empty": {
|
|
8855
|
+
"type": "ReactNode",
|
|
8856
|
+
"optional": true,
|
|
8857
|
+
"description": "Rendered instead of the grid when `items` is empty."
|
|
8858
|
+
},
|
|
8859
|
+
"labels": {
|
|
8860
|
+
"type": "Partial<FolderGridLabels>",
|
|
8861
|
+
"optional": true
|
|
8862
|
+
},
|
|
8863
|
+
"locale": {
|
|
8864
|
+
"type": "string",
|
|
8865
|
+
"optional": true,
|
|
8866
|
+
"description": "Locale for size and date formatting. Defaults to the runtime locale."
|
|
8867
|
+
},
|
|
8868
|
+
"className": {
|
|
8869
|
+
"type": "string",
|
|
8870
|
+
"optional": true
|
|
8871
|
+
}
|
|
8872
|
+
},
|
|
8873
|
+
"examples": [],
|
|
8874
|
+
"colors": [
|
|
8875
|
+
"bg-kumo-elevated",
|
|
8876
|
+
"bg-kumo-recessed",
|
|
8877
|
+
"bg-kumo-tint",
|
|
8878
|
+
"text-kumo-default",
|
|
8879
|
+
"text-kumo-subtle"
|
|
8880
|
+
],
|
|
8881
|
+
"files": [
|
|
8882
|
+
"folder-grid/folder-grid.tsx",
|
|
8883
|
+
"folder-grid/folder-grid.test.tsx"
|
|
8884
|
+
],
|
|
8885
|
+
"dependencies": [
|
|
8886
|
+
"Checkbox"
|
|
8887
|
+
]
|
|
8888
|
+
},
|
|
8889
|
+
"LoginPage": {
|
|
8890
|
+
"name": "LoginPage",
|
|
8891
|
+
"type": "block",
|
|
8892
|
+
"description": "LoginPage: a full-screen sign-in or sign-up page around `AuthCard`.",
|
|
8893
|
+
"importPath": "@fldr/ui",
|
|
8894
|
+
"category": "Other",
|
|
8895
|
+
"props": {
|
|
8896
|
+
"mode": {
|
|
8897
|
+
"type": "enum",
|
|
8898
|
+
"optional": true,
|
|
8899
|
+
"values": [
|
|
8900
|
+
"sign-in",
|
|
8901
|
+
"sign-up"
|
|
8902
|
+
]
|
|
8903
|
+
},
|
|
8904
|
+
"method": {
|
|
8905
|
+
"type": "enum",
|
|
8906
|
+
"optional": true,
|
|
8907
|
+
"description": "`\"magic-link\"` hides the password field.",
|
|
8908
|
+
"values": [
|
|
8909
|
+
"password",
|
|
8910
|
+
"magic-link"
|
|
8911
|
+
]
|
|
8912
|
+
},
|
|
8913
|
+
"providers": {
|
|
8914
|
+
"type": "AuthCardProvider[]",
|
|
8915
|
+
"optional": true,
|
|
8916
|
+
"description": "Provider buttons rendered above the \"or\" divider."
|
|
8917
|
+
},
|
|
8918
|
+
"providerSlot": {
|
|
8919
|
+
"type": "ReactNode",
|
|
8920
|
+
"optional": true,
|
|
8921
|
+
"description": "Custom provider slot; replaces `providers` when set."
|
|
8922
|
+
},
|
|
8923
|
+
"title": {
|
|
8924
|
+
"type": "ReactNode",
|
|
8925
|
+
"optional": true,
|
|
8926
|
+
"description": "Overrides the mode's default title."
|
|
8300
8927
|
},
|
|
8301
|
-
"
|
|
8302
|
-
"type": "
|
|
8303
|
-
"
|
|
8304
|
-
"description": "
|
|
8928
|
+
"description": {
|
|
8929
|
+
"type": "ReactNode",
|
|
8930
|
+
"optional": true,
|
|
8931
|
+
"description": "Secondary text below the title."
|
|
8305
8932
|
},
|
|
8306
|
-
"
|
|
8307
|
-
"type": "
|
|
8308
|
-
"
|
|
8309
|
-
"description": "
|
|
8933
|
+
"error": {
|
|
8934
|
+
"type": "ReactNode",
|
|
8935
|
+
"optional": true,
|
|
8936
|
+
"description": "Error message shown in a banner above the form."
|
|
8310
8937
|
},
|
|
8311
|
-
"
|
|
8938
|
+
"loading": {
|
|
8312
8939
|
"type": "boolean",
|
|
8313
8940
|
"optional": true,
|
|
8314
|
-
"description": "
|
|
8941
|
+
"description": "Disables inputs and shows a spinner on submit."
|
|
8315
8942
|
},
|
|
8316
|
-
"
|
|
8317
|
-
"type": "
|
|
8943
|
+
"footer": {
|
|
8944
|
+
"type": "ReactNode",
|
|
8318
8945
|
"optional": true,
|
|
8319
|
-
"description": "
|
|
8946
|
+
"description": "Footer slot, e.g. \"Don't have an account? Sign up\"."
|
|
8320
8947
|
},
|
|
8321
|
-
"
|
|
8322
|
-
"type": "
|
|
8948
|
+
"labels": {
|
|
8949
|
+
"type": "Partial<AuthCardLabels>",
|
|
8323
8950
|
"optional": true,
|
|
8324
|
-
"description": "
|
|
8951
|
+
"description": "Overridable strings for i18n."
|
|
8952
|
+
},
|
|
8953
|
+
"logo": {
|
|
8954
|
+
"type": "ReactNode",
|
|
8955
|
+
"optional": true,
|
|
8956
|
+
"description": "Product mark, shown above the card."
|
|
8957
|
+
},
|
|
8958
|
+
"legal": {
|
|
8959
|
+
"type": "ReactNode",
|
|
8960
|
+
"optional": true,
|
|
8961
|
+
"description": "Small print under the card, e.g. terms and privacy links."
|
|
8325
8962
|
},
|
|
8326
8963
|
"className": {
|
|
8327
8964
|
"type": "string",
|
|
8965
|
+
"optional": true
|
|
8966
|
+
}
|
|
8967
|
+
},
|
|
8968
|
+
"examples": [],
|
|
8969
|
+
"colors": [
|
|
8970
|
+
"bg-kumo-canvas",
|
|
8971
|
+
"text-kumo-default",
|
|
8972
|
+
"text-kumo-subtle"
|
|
8973
|
+
],
|
|
8974
|
+
"files": [
|
|
8975
|
+
"login-page/login-page.tsx"
|
|
8976
|
+
],
|
|
8977
|
+
"dependencies": []
|
|
8978
|
+
},
|
|
8979
|
+
"OnboardingChecklist": {
|
|
8980
|
+
"name": "OnboardingChecklist",
|
|
8981
|
+
"type": "block",
|
|
8982
|
+
"description": "Getting-started card with progress and a list of steps. The first incomplete step is expanded; others show only their title.",
|
|
8983
|
+
"importPath": "@fldr/ui",
|
|
8984
|
+
"category": "Other",
|
|
8985
|
+
"props": {
|
|
8986
|
+
"steps": {
|
|
8987
|
+
"type": "OnboardingStep[]",
|
|
8988
|
+
"required": true
|
|
8989
|
+
},
|
|
8990
|
+
"title": {
|
|
8991
|
+
"type": "ReactNode",
|
|
8328
8992
|
"optional": true,
|
|
8329
|
-
"description": "
|
|
8993
|
+
"description": "Overrides `labels.title`."
|
|
8330
8994
|
},
|
|
8331
|
-
"
|
|
8332
|
-
"type": "
|
|
8995
|
+
"description": {
|
|
8996
|
+
"type": "ReactNode",
|
|
8997
|
+
"optional": true
|
|
8998
|
+
},
|
|
8999
|
+
"labels": {
|
|
9000
|
+
"type": "Partial<OnboardingChecklistLabels>",
|
|
8333
9001
|
"optional": true,
|
|
8334
|
-
"description": "
|
|
9002
|
+
"description": "Overridable strings for i18n."
|
|
9003
|
+
},
|
|
9004
|
+
"className": {
|
|
9005
|
+
"type": "string",
|
|
9006
|
+
"optional": true
|
|
8335
9007
|
}
|
|
8336
9008
|
},
|
|
8337
|
-
"examples": [
|
|
8338
|
-
"<>\n <Button variant=\"destructive\" onClick={() => setOpen(true)}>\n Delete Zone\n </Button>\n <DeleteResource\n open={open}\n onOpenChange={setOpen}\n resourceType=\"Zone\"\n resourceName=\"example.com\"\n onDelete={handleDelete}\n isDeleting={isDeleting}\n />\n </>",
|
|
8339
|
-
"<>\n <Button variant=\"destructive\" onClick={() => setOpen(true)}>\n Delete Worker\n </Button>\n <DeleteResource\n open={open}\n onOpenChange={setOpen}\n resourceType=\"Worker\"\n resourceName=\"api-gateway-worker\"\n onDelete={handleDelete}\n isDeleting={isDeleting}\n />\n </>",
|
|
8340
|
-
"<>\n <Button variant=\"destructive\" onClick={() => setOpen(true)}>\n Delete Zone\n </Button>\n <DeleteResource\n open={open}\n onOpenChange={setOpen}\n resourceType=\"Zone\"\n resourceName=\"example.com\"\n onDelete={handleDelete}\n isDeleting={isDeleting}\n errorMessage={errorMsg}\n />\n </>"
|
|
8341
|
-
],
|
|
9009
|
+
"examples": [],
|
|
8342
9010
|
"colors": [
|
|
8343
|
-
"bg-kumo-
|
|
9011
|
+
"bg-kumo-elevated",
|
|
8344
9012
|
"bg-kumo-tint",
|
|
8345
|
-
"border-kumo-line",
|
|
8346
9013
|
"text-kumo-default",
|
|
8347
|
-
"text-kumo-subtle"
|
|
9014
|
+
"text-kumo-subtle",
|
|
9015
|
+
"text-kumo-success"
|
|
8348
9016
|
],
|
|
8349
9017
|
"files": [
|
|
8350
|
-
"
|
|
8351
|
-
"
|
|
9018
|
+
"onboarding-checklist/onboarding-checklist.tsx",
|
|
9019
|
+
"onboarding-checklist/onboarding-checklist.test.tsx"
|
|
8352
9020
|
],
|
|
8353
9021
|
"dependencies": [
|
|
8354
|
-
"Banner",
|
|
8355
9022
|
"Button",
|
|
8356
|
-
"
|
|
8357
|
-
"DialogClose",
|
|
8358
|
-
"DialogRoot",
|
|
8359
|
-
"DialogTitle",
|
|
8360
|
-
"Input"
|
|
9023
|
+
"Meter"
|
|
8361
9024
|
]
|
|
8362
9025
|
},
|
|
8363
9026
|
"PageHeader": {
|
|
@@ -8488,6 +9151,223 @@
|
|
|
8488
9151
|
"resource-list/resource-list.test.tsx"
|
|
8489
9152
|
],
|
|
8490
9153
|
"dependencies": []
|
|
9154
|
+
},
|
|
9155
|
+
"SettingsSection": {
|
|
9156
|
+
"name": "SettingsSection",
|
|
9157
|
+
"type": "block",
|
|
9158
|
+
"description": "A titled group of settings rows.",
|
|
9159
|
+
"importPath": "@fldr/ui",
|
|
9160
|
+
"category": "Other",
|
|
9161
|
+
"props": {
|
|
9162
|
+
"title": {
|
|
9163
|
+
"type": "ReactNode",
|
|
9164
|
+
"optional": true
|
|
9165
|
+
},
|
|
9166
|
+
"description": {
|
|
9167
|
+
"type": "ReactNode",
|
|
9168
|
+
"optional": true
|
|
9169
|
+
},
|
|
9170
|
+
"variant": {
|
|
9171
|
+
"type": "enum",
|
|
9172
|
+
"optional": true,
|
|
9173
|
+
"description": "`danger` tints the heading and border for destructive settings.",
|
|
9174
|
+
"values": [
|
|
9175
|
+
"default",
|
|
9176
|
+
"danger"
|
|
9177
|
+
]
|
|
9178
|
+
},
|
|
9179
|
+
"children": {
|
|
9180
|
+
"type": "ReactNode",
|
|
9181
|
+
"optional": true,
|
|
9182
|
+
"description": "`SettingsRow` elements."
|
|
9183
|
+
},
|
|
9184
|
+
"className": {
|
|
9185
|
+
"type": "string",
|
|
9186
|
+
"optional": true
|
|
9187
|
+
}
|
|
9188
|
+
},
|
|
9189
|
+
"examples": [],
|
|
9190
|
+
"colors": [
|
|
9191
|
+
"bg-kumo-elevated",
|
|
9192
|
+
"border-kumo-danger",
|
|
9193
|
+
"border-kumo-hairline",
|
|
9194
|
+
"border-kumo-line",
|
|
9195
|
+
"text-kumo-danger",
|
|
9196
|
+
"text-kumo-default",
|
|
9197
|
+
"text-kumo-subtle"
|
|
9198
|
+
],
|
|
9199
|
+
"files": [
|
|
9200
|
+
"settings-section/settings-section.tsx",
|
|
9201
|
+
"settings-section/settings-section.test.tsx"
|
|
9202
|
+
],
|
|
9203
|
+
"dependencies": [
|
|
9204
|
+
"Button"
|
|
9205
|
+
]
|
|
9206
|
+
},
|
|
9207
|
+
"ShareDialog": {
|
|
9208
|
+
"name": "ShareDialog",
|
|
9209
|
+
"type": "block",
|
|
9210
|
+
"description": "Share dialog for a file or folder: invite people, manage their roles, set general link access and copy the link.",
|
|
9211
|
+
"importPath": "@fldr/ui",
|
|
9212
|
+
"category": "Other",
|
|
9213
|
+
"props": {
|
|
9214
|
+
"resourceName": {
|
|
9215
|
+
"type": "string",
|
|
9216
|
+
"required": true,
|
|
9217
|
+
"description": "Name of the shared file or folder, used in the title."
|
|
9218
|
+
},
|
|
9219
|
+
"members": {
|
|
9220
|
+
"type": "ShareMember[]",
|
|
9221
|
+
"required": true
|
|
9222
|
+
},
|
|
9223
|
+
"linkAccess": {
|
|
9224
|
+
"type": "ShareLinkAccess",
|
|
9225
|
+
"required": true
|
|
9226
|
+
},
|
|
9227
|
+
"link": {
|
|
9228
|
+
"type": "string",
|
|
9229
|
+
"required": true
|
|
9230
|
+
},
|
|
9231
|
+
"roles": {
|
|
9232
|
+
"type": "Record<ShareRole,string>",
|
|
9233
|
+
"optional": true,
|
|
9234
|
+
"description": "Role key → label. First key is the default invite role."
|
|
9235
|
+
},
|
|
9236
|
+
"open": {
|
|
9237
|
+
"type": "boolean",
|
|
9238
|
+
"optional": true
|
|
9239
|
+
},
|
|
9240
|
+
"trigger": {
|
|
9241
|
+
"type": "ReactNode",
|
|
9242
|
+
"optional": true,
|
|
9243
|
+
"description": "Element that opens the dialog, e.g. `<Button>Share</Button>`."
|
|
9244
|
+
},
|
|
9245
|
+
"labels": {
|
|
9246
|
+
"type": "ShareDialogLabels",
|
|
9247
|
+
"optional": true
|
|
9248
|
+
},
|
|
9249
|
+
"className": {
|
|
9250
|
+
"type": "string",
|
|
9251
|
+
"optional": true
|
|
9252
|
+
}
|
|
9253
|
+
},
|
|
9254
|
+
"examples": [],
|
|
9255
|
+
"colors": [
|
|
9256
|
+
"bg-kumo-fill",
|
|
9257
|
+
"bg-kumo-tint",
|
|
9258
|
+
"text-kumo-default",
|
|
9259
|
+
"text-kumo-strong",
|
|
9260
|
+
"text-kumo-subtle"
|
|
9261
|
+
],
|
|
9262
|
+
"files": [
|
|
9263
|
+
"share-dialog/share-dialog.tsx",
|
|
9264
|
+
"share-dialog/share-dialog.test.tsx"
|
|
9265
|
+
],
|
|
9266
|
+
"dependencies": [
|
|
9267
|
+
"Button",
|
|
9268
|
+
"ClipboardText",
|
|
9269
|
+
"Input",
|
|
9270
|
+
"LayerDialog",
|
|
9271
|
+
"Select"
|
|
9272
|
+
]
|
|
9273
|
+
},
|
|
9274
|
+
"StatGrid": {
|
|
9275
|
+
"name": "StatGrid",
|
|
9276
|
+
"type": "block",
|
|
9277
|
+
"description": "Responsive grid of metric cards with optional delta, footnote, icon and meter.",
|
|
9278
|
+
"importPath": "@fldr/ui",
|
|
9279
|
+
"category": "Other",
|
|
9280
|
+
"props": {
|
|
9281
|
+
"items": {
|
|
9282
|
+
"type": "StatProps[]",
|
|
9283
|
+
"optional": true,
|
|
9284
|
+
"description": "Stats to render. Alternatively pass `Stat` elements as children."
|
|
9285
|
+
},
|
|
9286
|
+
"children": {
|
|
9287
|
+
"type": "ReactNode",
|
|
9288
|
+
"optional": true
|
|
9289
|
+
},
|
|
9290
|
+
"columns": {
|
|
9291
|
+
"type": "enum",
|
|
9292
|
+
"optional": true,
|
|
9293
|
+
"description": "Maximum columns on wide screens.",
|
|
9294
|
+
"values": [
|
|
9295
|
+
2,
|
|
9296
|
+
3,
|
|
9297
|
+
4
|
|
9298
|
+
]
|
|
9299
|
+
},
|
|
9300
|
+
"className": {
|
|
9301
|
+
"type": "string",
|
|
9302
|
+
"optional": true
|
|
9303
|
+
}
|
|
9304
|
+
},
|
|
9305
|
+
"examples": [],
|
|
9306
|
+
"colors": [
|
|
9307
|
+
"bg-kumo-elevated",
|
|
9308
|
+
"text-kumo-danger",
|
|
9309
|
+
"text-kumo-default",
|
|
9310
|
+
"text-kumo-subtle",
|
|
9311
|
+
"text-kumo-success"
|
|
9312
|
+
],
|
|
9313
|
+
"files": [
|
|
9314
|
+
"stat-grid/stat-grid.tsx",
|
|
9315
|
+
"stat-grid/stat-grid.test.tsx"
|
|
9316
|
+
],
|
|
9317
|
+
"dependencies": [
|
|
9318
|
+
"Meter"
|
|
9319
|
+
]
|
|
9320
|
+
},
|
|
9321
|
+
"UploadDropzone": {
|
|
9322
|
+
"name": "UploadDropzone",
|
|
9323
|
+
"type": "block",
|
|
9324
|
+
"description": "Drag-and-drop upload area with a file list. Performs no network requests: the consumer owns upload state and reacts to the callbacks.",
|
|
9325
|
+
"importPath": "@fldr/ui",
|
|
9326
|
+
"category": "Other",
|
|
9327
|
+
"props": {
|
|
9328
|
+
"uploads": {
|
|
9329
|
+
"type": "UploadItem[]",
|
|
9330
|
+
"optional": true,
|
|
9331
|
+
"description": "Current uploads, owned by the consumer."
|
|
9332
|
+
},
|
|
9333
|
+
"maxSize": {
|
|
9334
|
+
"type": "number",
|
|
9335
|
+
"optional": true,
|
|
9336
|
+
"description": "Maximum file size in bytes."
|
|
9337
|
+
},
|
|
9338
|
+
"disabled": {
|
|
9339
|
+
"type": "boolean",
|
|
9340
|
+
"optional": true
|
|
9341
|
+
},
|
|
9342
|
+
"labels": {
|
|
9343
|
+
"type": "Partial<UploadDropzoneLabels>",
|
|
9344
|
+
"optional": true
|
|
9345
|
+
},
|
|
9346
|
+
"className": {
|
|
9347
|
+
"type": "string",
|
|
9348
|
+
"optional": true
|
|
9349
|
+
}
|
|
9350
|
+
},
|
|
9351
|
+
"examples": [],
|
|
9352
|
+
"colors": [
|
|
9353
|
+
"bg-kumo-brand",
|
|
9354
|
+
"bg-kumo-elevated",
|
|
9355
|
+
"bg-kumo-recessed",
|
|
9356
|
+
"bg-kumo-tint",
|
|
9357
|
+
"border-kumo-brand",
|
|
9358
|
+
"border-kumo-line",
|
|
9359
|
+
"text-kumo-danger",
|
|
9360
|
+
"text-kumo-default",
|
|
9361
|
+
"text-kumo-subtle",
|
|
9362
|
+
"text-kumo-success"
|
|
9363
|
+
],
|
|
9364
|
+
"files": [
|
|
9365
|
+
"upload-dropzone/upload-dropzone.tsx",
|
|
9366
|
+
"upload-dropzone/upload-dropzone.test.tsx"
|
|
9367
|
+
],
|
|
9368
|
+
"dependencies": [
|
|
9369
|
+
"Button"
|
|
9370
|
+
]
|
|
8491
9371
|
}
|
|
8492
9372
|
},
|
|
8493
9373
|
"search": {
|
|
@@ -8504,7 +9384,20 @@
|
|
|
8504
9384
|
"TableOfContents",
|
|
8505
9385
|
"TagInput",
|
|
8506
9386
|
"Toolbar",
|
|
8507
|
-
"
|
|
9387
|
+
"ActivityFeed",
|
|
9388
|
+
"AppShell",
|
|
9389
|
+
"AuthCard",
|
|
9390
|
+
"DashboardPage",
|
|
9391
|
+
"DeleteResource",
|
|
9392
|
+
"ErrorPage",
|
|
9393
|
+
"FileTable",
|
|
9394
|
+
"FolderGrid",
|
|
9395
|
+
"LoginPage",
|
|
9396
|
+
"OnboardingChecklist",
|
|
9397
|
+
"SettingsSection",
|
|
9398
|
+
"ShareDialog",
|
|
9399
|
+
"StatGrid",
|
|
9400
|
+
"UploadDropzone"
|
|
8508
9401
|
],
|
|
8509
9402
|
"Display": [
|
|
8510
9403
|
"Badge",
|
|
@@ -8568,6 +9461,9 @@
|
|
|
8568
9461
|
]
|
|
8569
9462
|
},
|
|
8570
9463
|
"byName": [
|
|
9464
|
+
"ActivityFeed",
|
|
9465
|
+
"AppShell",
|
|
9466
|
+
"AuthCard",
|
|
8571
9467
|
"Autocomplete",
|
|
8572
9468
|
"Badge",
|
|
8573
9469
|
"Banner",
|
|
@@ -8584,13 +9480,17 @@
|
|
|
8584
9480
|
"Collapsible",
|
|
8585
9481
|
"Combobox",
|
|
8586
9482
|
"CommandPalette",
|
|
9483
|
+
"DashboardPage",
|
|
8587
9484
|
"DatePicker",
|
|
8588
9485
|
"DateRangePicker",
|
|
8589
9486
|
"DeleteResource",
|
|
8590
9487
|
"Dialog",
|
|
8591
9488
|
"DropdownMenu",
|
|
8592
9489
|
"Empty",
|
|
9490
|
+
"ErrorPage",
|
|
8593
9491
|
"Field",
|
|
9492
|
+
"FileTable",
|
|
9493
|
+
"FolderGrid",
|
|
8594
9494
|
"GlobeMap",
|
|
8595
9495
|
"Grid",
|
|
8596
9496
|
"InlineCopyText",
|
|
@@ -8601,8 +9501,10 @@
|
|
|
8601
9501
|
"LayerDialog",
|
|
8602
9502
|
"Link",
|
|
8603
9503
|
"Loader",
|
|
9504
|
+
"LoginPage",
|
|
8604
9505
|
"MenuBar",
|
|
8605
9506
|
"Meter",
|
|
9507
|
+
"OnboardingChecklist",
|
|
8606
9508
|
"PageHeader",
|
|
8607
9509
|
"Pagination",
|
|
8608
9510
|
"Popover",
|
|
@@ -8611,8 +9513,11 @@
|
|
|
8611
9513
|
"SankeyChart",
|
|
8612
9514
|
"Select",
|
|
8613
9515
|
"SensitiveInput",
|
|
9516
|
+
"SettingsSection",
|
|
9517
|
+
"ShareDialog",
|
|
8614
9518
|
"Sidebar",
|
|
8615
9519
|
"Slider",
|
|
9520
|
+
"StatGrid",
|
|
8616
9521
|
"Surface",
|
|
8617
9522
|
"Switch",
|
|
8618
9523
|
"Table",
|
|
@@ -8623,7 +9528,8 @@
|
|
|
8623
9528
|
"TimeseriesChart",
|
|
8624
9529
|
"Toasty",
|
|
8625
9530
|
"Toolbar",
|
|
8626
|
-
"Tooltip"
|
|
9531
|
+
"Tooltip",
|
|
9532
|
+
"UploadDropzone"
|
|
8627
9533
|
],
|
|
8628
9534
|
"byType": {
|
|
8629
9535
|
"component": [
|
|
@@ -8682,9 +9588,22 @@
|
|
|
8682
9588
|
"Tooltip"
|
|
8683
9589
|
],
|
|
8684
9590
|
"block": [
|
|
9591
|
+
"ActivityFeed",
|
|
9592
|
+
"AppShell",
|
|
9593
|
+
"AuthCard",
|
|
9594
|
+
"DashboardPage",
|
|
8685
9595
|
"DeleteResource",
|
|
9596
|
+
"ErrorPage",
|
|
9597
|
+
"FileTable",
|
|
9598
|
+
"FolderGrid",
|
|
9599
|
+
"LoginPage",
|
|
9600
|
+
"OnboardingChecklist",
|
|
8686
9601
|
"PageHeader",
|
|
8687
|
-
"ResourceListPage"
|
|
9602
|
+
"ResourceListPage",
|
|
9603
|
+
"SettingsSection",
|
|
9604
|
+
"ShareDialog",
|
|
9605
|
+
"StatGrid",
|
|
9606
|
+
"UploadDropzone"
|
|
8688
9607
|
]
|
|
8689
9608
|
}
|
|
8690
9609
|
}
|