@epam/ai-dial-ui-kit 0.15.0-dev.1 → 0.15.0-dev.10

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.
Files changed (94) hide show
  1. package/README.md +146 -0
  2. package/dist/CHANGELOG.md +15 -0
  3. package/dist/{DateCellRenderer-BVM-Q8yx.cjs → DateCellRenderer-CHi2CB33.cjs} +26 -26
  4. package/dist/DateCellRenderer-xGfSaQHO.cjs +1 -0
  5. package/dist/JsonEditor-D2jSlRFi.cjs +1 -0
  6. package/dist/{MarkdownEditor-jQ8nDJfx.cjs → MarkdownEditor-BzEbdj7R.cjs} +1 -1
  7. package/dist/{MarkdownEditor-DHn2pYOJ.cjs → MarkdownEditor-C9-ZMRVi.cjs} +1 -1
  8. package/dist/MarkdownEditorContainer-BvwJjkiZ.cjs +1 -0
  9. package/dist/components/Dropdown/Dropdown.js +70 -65
  10. package/dist/components/Dropdown/DropdownSubMenuItem.js +63 -55
  11. package/dist/components/Dropdown/constants.js +15 -13
  12. package/dist/components/DropdownIcon/DropdownIcon.js +43 -32
  13. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +18 -16
  14. package/dist/components/New/Accordion/Accordion.js +40 -38
  15. package/dist/components/New/Breadcrumbs/Breadcrumbs.js +146 -0
  16. package/dist/components/New/Breadcrumbs/constants.js +32 -0
  17. package/dist/components/New/ButtonDropdown/ButtonDropdown.js +7 -6
  18. package/dist/components/New/Calendar/Calendar.js +337 -289
  19. package/dist/components/New/CaptionText/CaptionText.js +18 -15
  20. package/dist/components/New/CardShell/CardShell.js +5 -3
  21. package/dist/components/New/Checkbox/Checkbox.js +67 -56
  22. package/dist/components/New/Checkbox/CheckboxBox.js +5 -3
  23. package/dist/components/New/CloseButton/CloseButton.js +18 -16
  24. package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +39 -34
  25. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +44 -39
  26. package/dist/components/New/Dropdown/Dropdown.js +101 -95
  27. package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +20 -18
  28. package/dist/components/New/FileDropzone/FileDropzone.js +27 -25
  29. package/dist/components/New/FilterChips/FilterChips.js +43 -0
  30. package/dist/components/New/FilterChips/constants.js +5 -0
  31. package/dist/components/New/FolderPath/FolderPath.js +29 -28
  32. package/dist/components/New/Highlight/Highlight.js +23 -30
  33. package/dist/components/New/InfoButton/InfoButton.js +13 -11
  34. package/dist/components/New/InlineSelect/InlineSelect.js +43 -41
  35. package/dist/components/New/InteractiveTooltip/InteractiveTooltip.js +41 -39
  36. package/dist/components/New/Label/Label.js +13 -8
  37. package/dist/components/New/MenuItem/MenuItem.js +29 -27
  38. package/dist/components/New/MenuItem/constants.js +9 -8
  39. package/dist/components/New/NoDataContent/NoDataContent.js +21 -19
  40. package/dist/components/New/Notification/Notification.js +29 -27
  41. package/dist/components/New/NumberInput/NumberInput.js +42 -33
  42. package/dist/components/New/PasswordInput/PasswordInput.js +41 -34
  43. package/dist/components/New/Popup/Popup.js +46 -44
  44. package/dist/components/New/Radio/Radio.js +75 -64
  45. package/dist/components/New/RadioGroup/RadioGroup.js +76 -65
  46. package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +117 -106
  47. package/dist/components/New/ResizableContainer/ResizableContainer.js +42 -40
  48. package/dist/components/New/Search/Search.js +29 -27
  49. package/dist/components/New/SegmentedControl/SegmentedControl.js +29 -23
  50. package/dist/components/New/Select/Select.js +120 -109
  51. package/dist/components/New/Switch/Switch.js +69 -58
  52. package/dist/components/New/Tabs/Tabs.js +122 -61
  53. package/dist/components/New/Tag/Tag.js +42 -40
  54. package/dist/components/New/TagInput/TagInput.js +45 -43
  55. package/dist/components/New/ToggleIconButton/ToggleIconButton.js +26 -24
  56. package/dist/components/New/Tooltip/TooltipContent.js +11 -9
  57. package/dist/components/ProgressBar/ProgressBar.js +45 -33
  58. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +46 -31
  59. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +223 -135
  60. package/dist/components/SchemaRenderer/types.js +19 -8
  61. package/dist/components/SchemaRenderer/utils.js +121 -96
  62. package/dist/components/Skeleton/Skeleton.js +25 -19
  63. package/dist/components/Spinner/Spinner.js +7 -5
  64. package/dist/components-manifest.json +218 -6
  65. package/dist/constants/public-class-names.js +175 -0
  66. package/dist/dial-ui-kit.cjs +2 -2
  67. package/dist/dial-ui-kit.js +231 -223
  68. package/dist/editor-_174x-qy.cjs +1 -0
  69. package/dist/editors.cjs +1 -1
  70. package/dist/file-manager.cjs +1 -1
  71. package/dist/grid.cjs +1 -1
  72. package/dist/index.css +1 -1
  73. package/dist/lazy-DM-7dL0Y.cjs +1 -0
  74. package/dist/src/components/New/Breadcrumbs/Breadcrumbs.d.ts +83 -0
  75. package/dist/src/components/New/Breadcrumbs/constants.d.ts +48 -0
  76. package/dist/src/components/New/Calendar/Calendar.d.ts +14 -1
  77. package/dist/src/components/New/FilterChips/FilterChips.d.ts +69 -0
  78. package/dist/src/components/New/FilterChips/constants.d.ts +13 -0
  79. package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +4 -1
  80. package/dist/src/components/New/Tabs/Tabs.d.ts +47 -6
  81. package/dist/src/components/SchemaRenderer/types.d.ts +11 -0
  82. package/dist/src/components/SchemaRenderer/utils.d.ts +5 -1
  83. package/dist/src/constants/public-class-names.d.ts +166 -0
  84. package/dist/src/index.d.ts +7 -0
  85. package/dist/src/utils/__tests__/timezone.spec.d.ts +1 -0
  86. package/dist/src/utils/timezone.d.ts +24 -0
  87. package/dist/use-file-manager-tabs-C_UUfS-F.cjs +3 -0
  88. package/dist/utils/timezone.js +19 -0
  89. package/package.json +2 -2
  90. package/dist/DateCellRenderer-ssp7eaZY.cjs +0 -1
  91. package/dist/JsonEditor-qv1Z0dLX.cjs +0 -1
  92. package/dist/MarkdownEditorContainer-Bzcnoemw.cjs +0 -1
  93. package/dist/lazy-tfN4sKhq.cjs +0 -1
  94. package/dist/use-file-manager-tabs-DjdR_mYM.cjs +0 -3
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.15.0-dev.1",
3
- "generatedAt": "2026-09-14T16:58:20.214Z",
2
+ "version": "0.15.0-dev.10",
3
+ "generatedAt": "2026-09-21T15:01:21.223Z",
4
4
  "kit": {
5
5
  "name": "@epam/ai-dial-ui-kit",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -429,6 +429,12 @@
429
429
  "required": false,
430
430
  "description": "Callback fired with the next value when the selection changes"
431
431
  },
432
+ {
433
+ "name": "onBlur",
434
+ "type": "FocusEventHandler<HTMLInputElement>",
435
+ "required": false,
436
+ "description": "Called when the Calendar's input field loses focus, e.g. for on-blur validation"
437
+ },
432
438
  {
433
439
  "name": "labelProps",
434
440
  "type": "LabelProps",
@@ -491,6 +497,13 @@
491
497
  "type": "string",
492
498
  "required": false,
493
499
  "description": "Additional classes merged onto the trigger field, overriding conflicting defaults"
500
+ },
501
+ {
502
+ "name": "showTimezone",
503
+ "type": "boolean",
504
+ "required": false,
505
+ "defaultValue": "false",
506
+ "description": "Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the `time` field"
494
507
  }
495
508
  ],
496
509
  "examples": [
@@ -543,6 +556,64 @@
543
556
  ],
544
557
  "sourceFile": "components/New/FolderPath/FolderPath.tsx"
545
558
  },
559
+ {
560
+ "name": "Breadcrumbs",
561
+ "category": "Components_2_0",
562
+ "generation": "2.0",
563
+ "description": "A navigation trail: where the user is, and every level they can step back to.\naliases: Breadcrumb|NavigationPath|BreadcrumbTrail\nDesign system 2.0\n\nThe last item is the current page — drawn semibold and primary, and never a\ncontrol, since a link to the page you are already on does nothing. Every\nearlier item with an `href` or an `onClick` is a link; one with neither is\ndrawn as plain text, which is how a read-only location path is built.\n\nThe trail never wraps. Segments truncate instead, each revealing its full\nlabel in a tooltip only once it is actually clipped, and a trail longer than\n`maxVisibleItems` collapses its middle behind an ellipsis menu — the root and\nthe current page, the two segments that carry the most meaning, always stay\non screen.\n\na11y: an `<ol>` inside a named `<nav>`, with `aria-current=\"page\"` on the last\nsegment. Separators are decorative and hidden from assistive tech, so the\ntrail is announced as a list of links rather than a string of chevrons.\n\nLabels are the caller's to translate; the two accessible names default to\nEnglish and take an override.",
564
+ "props": [
565
+ {
566
+ "name": "items",
567
+ "type": "BreadcrumbsItem[]",
568
+ "required": true,
569
+ "description": "The trail, outermost first; the last entry is the current page"
570
+ },
571
+ {
572
+ "name": "maxVisibleItems",
573
+ "type": "number",
574
+ "required": false,
575
+ "defaultValue": "DEFAULT_MAX_VISIBLE_ITEMS",
576
+ "description": "Segments drawn before the middle collapses behind an ellipsis menu"
577
+ },
578
+ {
579
+ "name": "separator",
580
+ "type": "ReactNode",
581
+ "required": false,
582
+ "defaultValue": "defaultSeparator",
583
+ "description": "Node drawn between two segments; defaults to a right chevron"
584
+ },
585
+ {
586
+ "name": "ariaLabel",
587
+ "type": "string",
588
+ "required": false,
589
+ "defaultValue": "'Breadcrumb'",
590
+ "description": "Accessible name for the `<nav>`"
591
+ },
592
+ {
593
+ "name": "overflowAriaLabel",
594
+ "type": "string",
595
+ "required": false,
596
+ "defaultValue": "'Show hidden path segments'",
597
+ "description": "Accessible name for the ellipsis button"
598
+ },
599
+ {
600
+ "name": "className",
601
+ "type": "string",
602
+ "required": false,
603
+ "description": "Additional CSS classes for the `<nav>`"
604
+ },
605
+ {
606
+ "name": "itemClassName",
607
+ "type": "string",
608
+ "required": false,
609
+ "description": "Additional CSS classes applied to every segment"
610
+ }
611
+ ],
612
+ "examples": [
613
+ "<Breadcrumbs\n ariaLabel={t('File path')}\n items={[\n { label: t('My files'), onClick: () => open('/') },\n { label: 'DK Test', onClick: () => open('/DK Test') },\n { label: 'DK Test with nested' },\n ]}\n/>"
614
+ ],
615
+ "sourceFile": "components/New/Breadcrumbs/Breadcrumbs.tsx"
616
+ },
546
617
  {
547
618
  "name": "DangerButton",
548
619
  "category": "Components_2_0",
@@ -1517,7 +1588,7 @@
1517
1588
  "name": "PasswordInput",
1518
1589
  "category": "Components_2_0",
1519
1590
  "generation": "2.0",
1520
- "description": "A password field with a reveal toggle, built on .\naliases: SecureInput|ToggleablePassword\nDesign system 2.0\n\nThe toggle is a real `<button>`, so it is reachable by keyboard and announces\nboth its purpose and its state. `type` and `iconAfter` are owned by this\ncomponent; every other prop is passed through.",
1591
+ "description": "A password field with a reveal toggle, built on .\naliases: SecureInput|ToggleablePassword\nDesign system 2.0\n\nThe toggle is a real `<button>`, so it is reachable by keyboard and announces\nboth its purpose and its state. `type` and `iconAfter` are owned by this\ncomponent; every other prop is passed through.\n\nA disabled field is masked with no toggle at all, and comes back masked if it\nis enabled again.",
1521
1592
  "props": [
1522
1593
  {
1523
1594
  "name": "showPasswordLabel",
@@ -2841,7 +2912,7 @@
2841
2912
  "name": "Tabs",
2842
2913
  "category": "Components_2_0",
2843
2914
  "generation": "2.0",
2844
- "description": "A horizontal row of tabs, underlining the active one and showing optional count badges.\naliases: TabRow|TabNavigation|TabBar\nDesign system 2.0\n\nFollows the ARIA tabs pattern with automatic activation: only the active tab is\nin the tab order, and the arrow keys move both focus and selection. `Home` and\n`End` jump to the first and last tab, and the arrows wrap around the ends.\nTabs marked `disabled` are greyed out, cannot be clicked, and are skipped by\nkeyboard navigation.\n\nThe component renders the tabs only; the panels stay with the consumer.",
2915
+ "description": "A row or rail of tabs, marking the active one and showing optional icons and count badges.\naliases: TabRow|TabNavigation|TabBar|VerticalTabs|SettingsNav|SideNav\nDesign system 2.0\n\nFollows the ARIA tabs pattern with automatic activation: only the active tab is\nin the tab order, and the arrow keys move both focus and selection. `Home` and\n`End` jump to the first and last tab, and the arrows wrap around the ends.\nTabs marked `disabled` are greyed out, cannot be clicked, and are skipped by\nkeyboard navigation.\n\n`TabOrientation.Horizontal` draws the default row: the active tab takes a\ngradient underline, and `ArrowLeft` / `ArrowRight` move along it.\n`TabOrientation.Vertical` draws the settings-page rail instead — full-width\nrows with the active one on a tinted pill rather than an underline, driven by\n`ArrowUp` / `ArrowDown`. The rail is the shape to reach for when the tabs\nlabel whole pages of a settings surface; the row, when they filter one.\n\n`className` lands on whichever element is outermost: the heading wrapper when\n`sectionLabel` is set, the `role=\"tablist\"` itself when it is not.\n\nThe component renders the tabs only; the panels stay with the consumer.",
2845
2916
  "props": [
2846
2917
  {
2847
2918
  "name": "tabs",
@@ -2861,6 +2932,19 @@
2861
2932
  "required": true,
2862
2933
  "description": "Fired with the tab's `id` when the user selects a tab."
2863
2934
  },
2935
+ {
2936
+ "name": "orientation",
2937
+ "type": "TabOrientation",
2938
+ "required": false,
2939
+ "defaultValue": "TabOrientation.Horizontal",
2940
+ "description": "Layout direction of the tab list."
2941
+ },
2942
+ {
2943
+ "name": "sectionLabel",
2944
+ "type": "string",
2945
+ "required": false,
2946
+ "description": "Heading rendered above the tabs, which also names the tab list."
2947
+ },
2864
2948
  {
2865
2949
  "name": "ariaLabel",
2866
2950
  "type": "string",
@@ -2871,20 +2955,86 @@
2871
2955
  "name": "className",
2872
2956
  "type": "string",
2873
2957
  "required": false,
2874
- "description": "Additional CSS classes for the tab list container."
2958
+ "description": "Additional CSS classes for the root element."
2875
2959
  },
2876
2960
  {
2877
2961
  "name": "tabClassName",
2878
2962
  "type": "string",
2879
2963
  "required": false,
2880
2964
  "description": "Additional CSS classes applied to every tab."
2965
+ },
2966
+ {
2967
+ "name": "sectionLabelClassName",
2968
+ "type": "string",
2969
+ "required": false,
2970
+ "description": "Additional CSS classes for the `sectionLabel` heading."
2881
2971
  }
2882
2972
  ],
2883
2973
  "examples": [
2884
- "<Tabs\n ariaLabel=\"Conversation views\"\n tabs={[\n { id: 'all', label: 'All', count: 12 },\n { id: 'shared', label: 'Shared with me' },\n ]}\n activeTabId={activeTabId}\n onTabChange={setActiveTabId}\n/>"
2974
+ "<Tabs\n ariaLabel=\"Conversation views\"\n tabs={[\n { id: 'all', label: 'All', count: 12 },\n { id: 'shared', label: 'Shared with me' },\n ]}\n activeTabId={activeTabId}\n onTabChange={setActiveTabId}\n/>",
2975
+ "<Tabs\norientation={TabOrientation.Vertical}\nsectionLabel={t('Settings')}\nclassName=\"w-[240px] shrink-0 border-e border-e-tertiary\"\ntabs={[\n{ id: 'preferences', label: t('Preferences'), icon: <IconSettings size={18} /> },\n{ id: 'usage', label: t('Usage'), icon: <IconChartBar size={18} /> },\n]}\nactiveTabId={activeTabId}\nonTabChange={setActiveTabId}\n/>"
2885
2976
  ],
2886
2977
  "sourceFile": "components/New/Tabs/Tabs.tsx"
2887
2978
  },
2979
+ {
2980
+ "name": "FilterChips",
2981
+ "category": "Components_2_0",
2982
+ "generation": "2.0",
2983
+ "description": "A row of filter chips that picks one value out of a few.\naliases: FilterChipRow|ChipTabs|TagTabs|FilterTabs\nDesign system 2.0\n\nThe chip-shaped sibling of the kit's other single-select rows, and the one to\nreach for when the options label a *subset of a list* — \"All\", \"Shared\",\n\"Mine\" above a history panel. `Tabs` underlines the active option and reads\nas navigation between panels; `SegmentedControl` sinks equal segments into a\ntrack and reads as a view switch. This one draws `TagAppearance.Selectable`\nchips: no fill until selected, and a semibold label once it is. Selecting a\nchip therefore widens it by the difference between the regular and semibold\nlabel — give the row `stretch`, or the chips a width, if that shift matters.\n\nEach chip is a toggle button carrying its state on `aria-pressed`, wrapped in\na named `role=\"group\"` — the pattern `Tag` is built for. That makes every\nchip its own tab stop, which is what a filter row wants: unlike a\n`radiogroup`, arrowing onto a chip never changes the filter by accident.\nName the group through `aria-label` or `aria-labelledby`, or the chips are\nannounced as a handful of unrelated toggles.\n\nThere is no disabled chip. An option the user must not pick is left out of\n`items` — a chip that renders but cannot be activated is a label and nothing\nelse, and `Tag` drops its button role when disabled, so it would not even\nannounce as unavailable.\n\nLabels are the caller's to translate — the component ships no English\ndefaults.",
2984
+ "props": [
2985
+ {
2986
+ "name": "items",
2987
+ "type": "FilterChipItem<T>[]",
2988
+ "required": true,
2989
+ "description": "Chips to render, in order; each needs a unique `value` and a `label`"
2990
+ },
2991
+ {
2992
+ "name": "value",
2993
+ "type": "T",
2994
+ "required": true,
2995
+ "description": "The `value` of the selected chip"
2996
+ },
2997
+ {
2998
+ "name": "onChange",
2999
+ "type": "(value: T) => void",
3000
+ "required": true,
3001
+ "description": "Called with the `value` of the chip the user picked. A click on the already-selected chip fires it again, so a row that clears back to a default handles that itself"
3002
+ },
3003
+ {
3004
+ "name": "stretch",
3005
+ "type": "boolean",
3006
+ "required": false,
3007
+ "defaultValue": "false",
3008
+ "description": "Grows the chips to share the row width equally instead of hugging their labels"
3009
+ },
3010
+ {
3011
+ "name": "className",
3012
+ "type": "string",
3013
+ "required": false,
3014
+ "description": "Additional classes for the row, e.g. its padding or `flex-wrap`"
3015
+ },
3016
+ {
3017
+ "name": "chipClassName",
3018
+ "type": "string",
3019
+ "required": false,
3020
+ "description": "Additional classes for every chip. A panel too narrow for the chips' default padding can tighten it here"
3021
+ },
3022
+ {
3023
+ "name": "'aria-label'",
3024
+ "type": "string",
3025
+ "required": false
3026
+ },
3027
+ {
3028
+ "name": "'aria-labelledby'",
3029
+ "type": "string",
3030
+ "required": false
3031
+ }
3032
+ ],
3033
+ "examples": [
3034
+ "<FilterChips\n aria-label={t('Filter chats')}\n value={tab}\n onChange={setTab}\n items={[\n { value: 'all', label: t('All') },\n { value: 'mine', label: t('My chats') },\n { value: 'shared', label: t('Shared') },\n ]}\n/>"
3035
+ ],
3036
+ "sourceFile": "components/New/FilterChips/FilterChips.tsx"
3037
+ },
2888
3038
  {
2889
3039
  "name": "FileDropzone",
2890
3040
  "category": "Components_2_0",
@@ -10375,6 +10525,30 @@
10375
10525
  "sourceFile": "components/New/Calendar/Calendar.tsx",
10376
10526
  "typeBody": "Date | string | null"
10377
10527
  },
10528
+ {
10529
+ "name": "BreadcrumbsItem",
10530
+ "kind": "interface",
10531
+ "members": [
10532
+ {
10533
+ "name": "label",
10534
+ "value": "string"
10535
+ },
10536
+ {
10537
+ "name": "href?",
10538
+ "value": "string"
10539
+ },
10540
+ {
10541
+ "name": "onClick?",
10542
+ "value": "(event: MouseEvent<HTMLElement>) => void"
10543
+ },
10544
+ {
10545
+ "name": "icon?",
10546
+ "value": "ReactNode"
10547
+ }
10548
+ ],
10549
+ "sourceFile": "components/New/Breadcrumbs/Breadcrumbs.tsx",
10550
+ "description": "One step of the trail rendered by ."
10551
+ },
10378
10552
  {
10379
10553
  "name": "TextareaResize",
10380
10554
  "kind": "enum",
@@ -10472,6 +10646,10 @@
10472
10646
  "name": "count?",
10473
10647
  "value": "number"
10474
10648
  },
10649
+ {
10650
+ "name": "icon?",
10651
+ "value": "ReactNode"
10652
+ },
10475
10653
  {
10476
10654
  "name": "disabled?",
10477
10655
  "value": "boolean"
@@ -10480,6 +10658,25 @@
10480
10658
  "sourceFile": "components/New/Tabs/Tabs.tsx",
10481
10659
  "description": "A single tab entry rendered by ."
10482
10660
  },
10661
+ {
10662
+ "name": "FilterChipItem",
10663
+ "kind": "interface",
10664
+ "members": [
10665
+ {
10666
+ "name": "value",
10667
+ "value": "T"
10668
+ },
10669
+ {
10670
+ "name": "label",
10671
+ "value": "string"
10672
+ },
10673
+ {
10674
+ "name": "icon?",
10675
+ "value": "ReactNode"
10676
+ }
10677
+ ],
10678
+ "sourceFile": "components/New/FilterChips/FilterChips.tsx"
10679
+ },
10483
10680
  {
10484
10681
  "name": "TagAppearance",
10485
10682
  "kind": "enum",
@@ -10686,6 +10883,16 @@
10686
10883
  "sourceFile": "utils/flat-to-hierarchy-convertor.ts",
10687
10884
  "description": "Helper to create a root folder wrapping flat items.\nUseful when you want the entire tree to be nested under a single root.",
10688
10885
  "signature": "function wrapInRootFolder(flatItems: FlatFileItem[], rootName = 'Prompts', rootPath = 'prompts/public/', rootFolderId = 'root'): DialFile[]"
10886
+ },
10887
+ {
10888
+ "name": "getTimezoneLabel",
10889
+ "sourceFile": "utils/timezone.ts",
10890
+ "description": "Returns a timezone as a hint label for time-of-day fields, e.g.\n`(GMT+01:00) Europe/Berlin`: the UTC offset in effect at `options.date`\nrendered by `Intl` (`timeZoneName: 'longOffset'`), followed by the IANA\ntimezone name.",
10891
+ "signature": "({\n locale,\n timeZone,\n date = new Date(),\n}: TimezoneLabelOptions = {}) => string"
10892
+ },
10893
+ {
10894
+ "name": "TimezoneLabelOptions",
10895
+ "sourceFile": "utils/timezone.ts"
10689
10896
  }
10690
10897
  ],
10691
10898
  "constants": [
@@ -10738,6 +10945,11 @@
10738
10945
  "name": "NOT_ALLOWED_SPACES_REGEXP",
10739
10946
  "sourceFile": "constants/validation.ts",
10740
10947
  "signature": "NOT_ALLOWED_SPACES_REGEXP = new RegExp(NOT_ALLOWED_SPACES)"
10948
+ },
10949
+ {
10950
+ "name": "DIAL_KIT_CLASS",
10951
+ "sourceFile": "constants/public-class-names.ts",
10952
+ "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
10741
10953
  }
10742
10954
  ]
10743
10955
  }
@@ -0,0 +1,175 @@
1
+ const i = {
2
+ /* ── Feedback and status ───────────────────────────────────────────────── */
3
+ /** The `role="status"` root of a `Spinner`. */
4
+ spinner: "dial-kit-spinner",
5
+ /**
6
+ * The outermost element of a `ProgressBar`: the box wrapping its label,
7
+ * track and readout — or the track itself, which is the root when the bar
8
+ * has neither.
9
+ */
10
+ progressBar: "dial-kit-progress-bar",
11
+ /** The root of a `Skeleton`, wrapping its avatar and text rows. */
12
+ skeleton: "dial-kit-skeleton",
13
+ /**
14
+ * The `Notification` surface. Present on every wrapper too — the toast and
15
+ * section-message variants of error, info, success, warning, loading and
16
+ * general all render this component.
17
+ */
18
+ notification: "dial-kit-notification",
19
+ /** The empty-state root of `NoDataContent`. */
20
+ noDataContent: "dial-kit-no-data-content",
21
+ /* ── Text ──────────────────────────────────────────────────────────────── */
22
+ /** The text element of a `Highlight`, which renders the matched query. */
23
+ highlight: "dial-kit-highlight",
24
+ /** The caption line under a field, rendered by `CaptionText`. */
25
+ captionText: "dial-kit-caption-text",
26
+ /**
27
+ * A caption in its error variant — what `ErrorText` renders. Additive to
28
+ * `captionText`, since one component draws both.
29
+ */
30
+ errorText: "dial-kit-error-text",
31
+ /** The `Label` root, which wraps the `label` element and its info button. */
32
+ label: "dial-kit-label",
33
+ /* ── Containers ────────────────────────────────────────────────────────── */
34
+ /** The `article` element of a `CardShell`. */
35
+ cardShell: "dial-kit-card-shell",
36
+ /** The `aside` element of a `CollapsibleSidebar`. */
37
+ collapsibleSidebar: "dial-kit-collapsible-sidebar",
38
+ /** The content box inside a `ResizableContainer`'s resize frame. */
39
+ resizableContainer: "dial-kit-resizable-container",
40
+ /**
41
+ * The `role="dialog"` panel of a `Popup`. Its backdrop is reached through
42
+ * `overlayClassName`.
43
+ */
44
+ popup: "dial-kit-popup",
45
+ /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */
46
+ confirmationPopup: "dial-kit-confirmation-popup",
47
+ /** The root of an `Accordion`. */
48
+ accordion: "dial-kit-accordion",
49
+ /** The breadcrumb root of a `FolderPath`. */
50
+ folderPath: "dial-kit-folder-path",
51
+ /** The `nav` element of a `Breadcrumbs` trail. */
52
+ breadcrumbs: "dial-kit-breadcrumbs",
53
+ /**
54
+ * One segment of a `Breadcrumbs` trail: the link, button or plain span that
55
+ * draws the label — not the `li`, which also holds the separator after it.
56
+ */
57
+ breadcrumbsItem: "dial-kit-breadcrumbs-item",
58
+ /* ── Menus and overlays ────────────────────────────────────────────────── */
59
+ /**
60
+ * The trigger wrapper of a `Dropdown`. Its floating panel is reached through
61
+ * `listClassName`.
62
+ */
63
+ dropdown: "dial-kit-dropdown",
64
+ /**
65
+ * The `role="none"` item list inside a dropdown overlay — the box that holds
66
+ * the rows and owns their vertical padding. Present in both generations, and
67
+ * on a submenu's own list. It is *not* the floating panel.
68
+ */
69
+ dropdownList: "dial-kit-dropdown-list",
70
+ /**
71
+ * One row of a floating overlay: a dropdown item, a `Select` option, a
72
+ * submenu trigger, or a submenu child. It sits on the element that draws the
73
+ * row box — so on the wrapper, not the inner button, for a row that has a
74
+ * `rightControl` beside it.
75
+ */
76
+ menuItem: "dial-kit-menuitem",
77
+ /**
78
+ * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like
79
+ * the glyph itself — the row's `aria-checked` / `aria-selected` carries the
80
+ * state.
81
+ */
82
+ menuItemCheck: "dial-kit-menuitem-check",
83
+ /** The primary icon of a `DialDropdownIcon` trigger. */
84
+ dropdownIcon: "dial-kit-dropdown-icon",
85
+ /**
86
+ * The caret badge of a `DialDropdownIcon` trigger — the round plate the
87
+ * chevron sits on. Absent when `showCaret` is `false`.
88
+ */
89
+ dropdownIconCaret: "dial-kit-dropdown-icon-caret",
90
+ /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */
91
+ tooltip: "dial-kit-tooltip",
92
+ /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */
93
+ interactiveTooltip: "dial-kit-interactive-tooltip",
94
+ /** The text element of an `EllipsisTooltip`, which is also its trigger. */
95
+ ellipsisTooltip: "dial-kit-ellipsis-tooltip",
96
+ /* ── Fields ────────────────────────────────────────────────────────────── */
97
+ /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */
98
+ search: "dial-kit-search",
99
+ /** The `PasswordInput` field, additive to `dial-kit-input`. */
100
+ passwordInput: "dial-kit-password-input",
101
+ /** The `NumberInput` field, additive to `dial-kit-input`. */
102
+ numberInput: "dial-kit-number-input",
103
+ /** The `TagInput` field, additive to `dial-kit-input`. */
104
+ tagInput: "dial-kit-tag-input",
105
+ /** The root of a `Select`, wrapping its label, field and caption. */
106
+ select: "dial-kit-select",
107
+ /** The trigger button of an `InlineSelect`. */
108
+ inlineSelect: "dial-kit-inline-select",
109
+ /** The root of a `Calendar`, wrapping its label and date field. */
110
+ calendar: "dial-kit-calendar",
111
+ /** The drop area of a `FileDropzone`. */
112
+ fileDropzone: "dial-kit-file-dropzone",
113
+ /* ── Controls ──────────────────────────────────────────────────────────── */
114
+ /** The row of a `Switch`: the control and its label. */
115
+ switch: "dial-kit-switch",
116
+ /** The row of a `Checkbox`: the box and its label. */
117
+ checkbox: "dial-kit-checkbox",
118
+ /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */
119
+ checkboxBox: "dial-kit-checkbox-box",
120
+ /** The row of a `Radio`: the circle and its label. */
121
+ radio: "dial-kit-radio",
122
+ /** The root of a `RadioGroup`, wrapping its label and its radios. */
123
+ radioGroup: "dial-kit-radio-group",
124
+ /**
125
+ * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed
126
+ * field that opens the group.
127
+ */
128
+ radioGroupPopupField: "dial-kit-radio-group-popup-field",
129
+ /** The `role="radiogroup"` track of a `SegmentedControl`. */
130
+ segmentedControl: "dial-kit-segmented-control",
131
+ /** One segment of a `SegmentedControl`. */
132
+ segmentedControlItem: "dial-kit-segmented-control-item",
133
+ /**
134
+ * The outermost element of a `Tabs`: the box wrapping its heading and tab
135
+ * list — or the `role="tablist"` itself, which is the root when the tabs
136
+ * carry no `sectionLabel`.
137
+ */
138
+ tabs: "dial-kit-tabs",
139
+ /**
140
+ * The `role="tablist"` holding the tabs, in either orientation. Additive to
141
+ * `tabs` when there is no heading above it, since one element is then both.
142
+ */
143
+ tabList: "dial-kit-tab-list",
144
+ /**
145
+ * One tab inside `Tabs`, in either orientation. The selected tab of a
146
+ * horizontal row keeps its own `dial-kit-tab-selected-underline`.
147
+ */
148
+ tab: "dial-kit-tab",
149
+ /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */
150
+ tabsSectionLabel: "dial-kit-tabs-section-label",
151
+ /**
152
+ * The `role="group"` row of a `FilterChips`. Its chips are `Tag` pills, so
153
+ * they carry `dial-kit-tag` and have no entry of their own.
154
+ */
155
+ filterChips: "dial-kit-filter-chips",
156
+ /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */
157
+ tag: "dial-kit-tag",
158
+ /**
159
+ * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it
160
+ * already carries.
161
+ */
162
+ toggleIconButton: "dial-kit-toggle-icon-button",
163
+ /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */
164
+ closeButton: "dial-kit-close-button",
165
+ /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */
166
+ infoButton: "dial-kit-info-button",
167
+ /**
168
+ * The wrapper of a `ButtonDropdown` — its trigger carries
169
+ * `dial-kit-base-button`.
170
+ */
171
+ buttonDropdown: "dial-kit-button-dropdown"
172
+ };
173
+ export {
174
+ i as DIAL_KIT_CLASS
175
+ };