@intlayer/design-system 9.3.1 → 9.3.3

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 (129) hide show
  1. package/dist/esm/api/hooks/auth.mjs +2 -0
  2. package/dist/esm/api/hooks/auth.mjs.map +1 -1
  3. package/dist/esm/api/index.mjs +2 -2
  4. package/dist/esm/components/Browser/Browser.mjs +1 -1
  5. package/dist/esm/components/Browser/Browser.mjs.map +1 -1
  6. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  7. package/dist/esm/components/CopyButton/index.mjs +2 -1
  8. package/dist/esm/components/CopyButton/index.mjs.map +1 -1
  9. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +4 -5
  10. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
  11. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +6 -10
  12. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  13. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  14. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +1 -1
  15. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -1
  16. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
  17. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  18. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +1 -1
  19. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
  20. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +3 -7
  21. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  22. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  23. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
  24. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  25. package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs +19 -12
  26. package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
  27. package/dist/esm/components/Form/FormBase.mjs.map +1 -1
  28. package/dist/esm/components/Form/elements/FormElementWrapper.mjs +1 -1
  29. package/dist/esm/components/Form/elements/FormElementWrapper.mjs.map +1 -1
  30. package/dist/esm/components/HTMLRender/HTMLRender.mjs +2 -2
  31. package/dist/esm/components/HTMLRender/HTMLRender.mjs.map +1 -1
  32. package/dist/esm/components/IDE/Code.mjs +3 -3
  33. package/dist/esm/components/IDE/Code.mjs.map +1 -1
  34. package/dist/esm/components/IDE/CodeBlockClient.mjs +16 -4
  35. package/dist/esm/components/IDE/CodeBlockClient.mjs.map +1 -1
  36. package/dist/esm/components/IDE/CodeBlockHighlight.mjs +14 -5
  37. package/dist/esm/components/IDE/CodeBlockHighlight.mjs.map +1 -1
  38. package/dist/esm/components/IDE/CodeBlockServer.mjs +5 -3
  39. package/dist/esm/components/IDE/CodeBlockServer.mjs.map +1 -1
  40. package/dist/esm/components/IDE/CodeBlockShiki.mjs +18 -18
  41. package/dist/esm/components/IDE/CodeBlockShiki.mjs.map +1 -1
  42. package/dist/esm/components/IDE/IDE.mjs +2 -5
  43. package/dist/esm/components/IDE/IDE.mjs.map +1 -1
  44. package/dist/esm/components/IDE/MarkDownRender.mjs +1 -2
  45. package/dist/esm/components/IDE/MarkDownRender.mjs.map +1 -1
  46. package/dist/esm/components/IDE/index.mjs +2 -2
  47. package/dist/esm/components/IDE/shikiThemes.mjs +18 -0
  48. package/dist/esm/components/IDE/shikiThemes.mjs.map +1 -0
  49. package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs +105 -4
  50. package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs.map +1 -1
  51. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +16 -16
  52. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
  53. package/dist/esm/components/MaxHeightSmoother/index.mjs +1 -1
  54. package/dist/esm/components/MaxHeightSmoother/index.mjs.map +1 -1
  55. package/dist/esm/components/MaxWidthSmoother/index.mjs +1 -1
  56. package/dist/esm/components/MaxWidthSmoother/index.mjs.map +1 -1
  57. package/dist/esm/components/Pattern/GridDistortionPattern.mjs +100 -15
  58. package/dist/esm/components/Pattern/GridDistortionPattern.mjs.map +1 -1
  59. package/dist/esm/components/Popover/dynamic.mjs +5 -4
  60. package/dist/esm/components/Popover/dynamic.mjs.map +1 -1
  61. package/dist/esm/components/Popover/index.mjs +2 -2
  62. package/dist/esm/components/Popover/static.mjs +47 -18
  63. package/dist/esm/components/Popover/static.mjs.map +1 -1
  64. package/dist/esm/components/Tab/Tab.mjs +37 -16
  65. package/dist/esm/components/Tab/Tab.mjs.map +1 -1
  66. package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +3 -2
  67. package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
  68. package/dist/esm/components/index.mjs +3 -3
  69. package/dist/esm/hooks/useDevice.mjs +16 -6
  70. package/dist/esm/hooks/useDevice.mjs.map +1 -1
  71. package/dist/esm/hooks/useItemSelector.mjs +107 -112
  72. package/dist/esm/hooks/useItemSelector.mjs.map +1 -1
  73. package/dist/esm/libs/auth.mjs +16 -3
  74. package/dist/esm/libs/auth.mjs.map +1 -1
  75. package/dist/esm/structured-data/buildCreativeWorkJsonLd.mjs +1 -1
  76. package/dist/esm/structured-data/buildCreativeWorkJsonLd.mjs.map +1 -1
  77. package/dist/types/api/hooks/auth.d.ts.map +1 -1
  78. package/dist/types/components/Browser/Browser.d.ts +7 -1
  79. package/dist/types/components/Browser/Browser.d.ts.map +1 -1
  80. package/dist/types/components/CopyButton/index.d.ts +9 -3
  81. package/dist/types/components/CopyButton/index.d.ts.map +1 -1
  82. package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts +0 -1
  83. package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts.map +1 -1
  84. package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts +0 -1
  85. package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  86. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts +1 -1
  87. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +0 -1
  88. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  89. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts +1 -1
  90. package/dist/types/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -1
  91. package/dist/types/components/Form/FormBase.d.ts +1 -1
  92. package/dist/types/components/Form/elements/FormElementWrapper.d.ts +1 -1
  93. package/dist/types/components/HTMLRender/HTMLRender.d.ts +1 -2
  94. package/dist/types/components/HTMLRender/HTMLRender.d.ts.map +1 -1
  95. package/dist/types/components/IDE/Code.d.ts +6 -1
  96. package/dist/types/components/IDE/Code.d.ts.map +1 -1
  97. package/dist/types/components/IDE/CodeBlockClient.d.ts +18 -2
  98. package/dist/types/components/IDE/CodeBlockClient.d.ts.map +1 -1
  99. package/dist/types/components/IDE/CodeBlockHighlight.d.ts +3 -2
  100. package/dist/types/components/IDE/CodeBlockHighlight.d.ts.map +1 -1
  101. package/dist/types/components/IDE/CodeBlockServer.d.ts +0 -1
  102. package/dist/types/components/IDE/CodeBlockServer.d.ts.map +1 -1
  103. package/dist/types/components/IDE/CodeBlockShiki.d.ts +0 -1
  104. package/dist/types/components/IDE/CodeBlockShiki.d.ts.map +1 -1
  105. package/dist/types/components/IDE/IDE.d.ts +0 -1
  106. package/dist/types/components/IDE/IDE.d.ts.map +1 -1
  107. package/dist/types/components/IDE/MarkDownRender.d.ts +0 -1
  108. package/dist/types/components/IDE/MarkDownRender.d.ts.map +1 -1
  109. package/dist/types/components/IDE/index.d.ts +2 -2
  110. package/dist/types/components/IDE/shikiThemes.d.ts +18 -0
  111. package/dist/types/components/IDE/shikiThemes.d.ts.map +1 -0
  112. package/dist/types/components/MarkDownRender/MarkDownIframe.d.ts.map +1 -1
  113. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts +1 -2
  114. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
  115. package/dist/types/components/Pattern/GridDistortionPattern.d.ts.map +1 -1
  116. package/dist/types/components/Popover/dynamic.d.ts.map +1 -1
  117. package/dist/types/components/Popover/index.d.ts +2 -2
  118. package/dist/types/components/Popover/static.d.ts +6 -1
  119. package/dist/types/components/Popover/static.d.ts.map +1 -1
  120. package/dist/types/components/Tab/Tab.d.ts +2 -2
  121. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  122. package/dist/types/components/index.d.ts +3 -3
  123. package/dist/types/hooks/useItemSelector.d.ts.map +1 -1
  124. package/dist/types/libs/auth.d.ts +3 -0
  125. package/dist/types/libs/auth.d.ts.map +1 -1
  126. package/dist/types/structured-data/buildCreativeWorkJsonLd.d.ts +9 -3
  127. package/dist/types/structured-data/buildCreativeWorkJsonLd.d.ts.map +1 -1
  128. package/package.json +43 -38
  129. package/tailwind.css +27 -1
@@ -1,6 +1,11 @@
1
1
  import { Container } from "../Container/index.js";
2
2
  import { ComponentProps, DetailedHTMLProps, FC, HTMLAttributes } from "react";
3
3
  //#region src/components/Popover/static.d.ts
4
+ /** Ids of a popover pair, unique to the instance that rendered it. */
5
+ declare const usePopoverIds: (identifier: string) => {
6
+ triggerId: string;
7
+ panelId: string;
8
+ };
4
9
  /**
5
10
  * Props for the main Popover component
6
11
  * Extends HTMLDivElement attributes for full DOM compatibility
@@ -191,5 +196,5 @@ type DetailProps = ComponentProps<typeof Container> & {
191
196
  */
192
197
  declare const Detail: FC<DetailProps>;
193
198
  //#endregion
194
- export { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign };
199
+ export { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, usePopoverIds };
195
200
  //# sourceMappingURL=static.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"static.d.ts","names":[],"sources":["../../../../src/components/Popover/static.tsx"],"mappings":";;;;;;;KAaY,eAAe,kBACzB,eAAe,iBACf;;EAGA;;;;;;KAOU,cAAc,GAAG;EAC3B,QAAQ,GAAG;;;;;KAMD;;;;KAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmFC,eAAe;;;;;KAoBhB,cAAc,sBAAsB;;EAE9C;;EAEA;;EAEA;;EAEA;;EAEA,SAAS,mBAAmB;;EAE5B,SAAS,mBAAmB;;EAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkEI,QAAQ,GAAG"}
1
+ {"version":3,"file":"static.d.ts","names":[],"sources":["../../../../src/components/Popover/static.tsx"],"mappings":";;;;cAwBa,gBAAa;EAItB;EACA;;;;;;KAQQ,eAAe,kBACzB,eAAe,iBACf;;EAGA;;;;;;KAOU,cAAc,GAAG;EAC3B,QAAQ,GAAG;;;;;KAMD;;;;KAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmFC,eAAe;;;;;KA2BhB,cAAc,sBAAsB;;EAE9C;;EAEA;;EAEA;;EAEA;;EAEA,SAAS,mBAAmB;;EAE5B,SAAS,mBAAmB;;EAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkEI,QAAQ,GAAG"}
@@ -13,8 +13,8 @@ type TabProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabContaine
13
13
  fullHeight?: boolean;
14
14
  };
15
15
  type TabItemProps = HTMLAttributes<HTMLDivElement> & {
16
- label: string;
17
- value: string;
16
+ label?: string;
17
+ value?: string;
18
18
  disabled?: boolean;
19
19
  children: ReactNode;
20
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"mappings":";;;cA0BM,sBAAmB;;;6CAevB;KAEU,WAAW,eAAe,kBACpC,oBAAoB;EAClB;EACA;EACA,UAAU;EACV;EACA;;KAGQ,eAAe,eAAe;EACxC;EACA;EACA;EACA,UAAU;;;;;;cAON;KAAmC,aAAA,SAAA,+BAAY,IAAA;;;;;;;;;;;;;;;;;;cAwB/C,iBAAY,YAAA,OAAA,SAAA,UAAA,WAAA,iBAAA,eAAA,SASf,6BAAQ,IAAA;cAwJE,YAAG;eAAA"}
1
+ {"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"mappings":";;;cAuCM,sBAAmB;;;6CAevB;KAEU,WAAW,eAAe,kBACpC,oBAAoB;EAClB;EACA;EACA,UAAU;EACV;EACA;;KAGQ,eAAe,eAAe;EACxC;EACA;EACA;EACA,UAAU;;;;;;cA2BN;KAAmC,aAAA,SAAA,+BAAY,IAAA;;;;;;;;;;;;;;;;;;cAwB/C,iBAAY,YAAA,OAAA,SAAA,UAAA,WAAA,iBAAA,eAAA,SASf,6BAAQ,IAAA;cAmKE,YAAG;eAAA"}
@@ -90,7 +90,7 @@ import { HeightResizer } from "./HeightResizer/index.js";
90
90
  import { HideShow, HideShowProps } from "./HideShow/index.js";
91
91
  import { CodeLanguage } from "./IDE/shikiLanguages.js";
92
92
  import { Code, CodeCompAttributes } from "./IDE/Code.js";
93
- import { CodeBlock, CodeBlockProps, CodeDefault } from "./IDE/CodeBlockClient.js";
93
+ import { CodeBlock, CodeBlockProps, CodeDefault, CodeHighlighted, shikiWrapperClassName } from "./IDE/CodeBlockClient.js";
94
94
  import { FileList, FileListProps } from "./IDE/FileList.js";
95
95
  import { IDE, IDEProps } from "./IDE/IDE.js";
96
96
  import "./IDE/index.js";
@@ -136,7 +136,7 @@ import { GridDistortionPattern } from "./Pattern/GridDistortionPattern.js";
136
136
  import { GridPattern } from "./Pattern/GridPattern.js";
137
137
  import { Spotlight } from "./Pattern/SpotLight.js";
138
138
  import "./Pattern/index.js";
139
- import { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign } from "./Popover/static.js";
139
+ import { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, usePopoverIds } from "./Popover/static.js";
140
140
  import { Popover } from "./Popover/dynamic.js";
141
141
  import "./Popover/index.js";
142
142
  import { PressableSpan } from "./PressableSpan/PressableSpan.js";
@@ -182,4 +182,4 @@ import { reducer, toast, useToast } from "./Toaster/useToast.js";
182
182
  import "./Toaster/index.js";
183
183
  import { WithResizer } from "./WithResizer/index.js";
184
184
  import { MarkdownRenderer, ParsedMarkdown, baseMarkdownComponents, getIntlayerMarkdownOptions } from "./MarkDownRender/MarkDownRender.js";
185
- export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, BitbucketLogo, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Burger, Button, ButtonColor, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Carousel, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeBlock, CodeBlockProps, CodeCompAttributes, CodeDefault, type CodeLanguage, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentEditableTextArea, ContentEditableTextAreaHandle, ContentEditableTextAreaProps, ContentEditorInput, ContentEditorInputProps, ContentEditorProps, ContentEditorTextArea, ContentEditorTextAreaProps, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, type CreateEditorUploadFnOptions, DesktopNavbar, DesktopThemeSwitcher, Detail, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, DropDownYAlign, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, flags_d_exports as Flags, Footer, FooterLink, Form, AutoSizedTextAreaElement as FormAutoSizedTextArea, Button as FormButton, CheckboxElement as FormCheckbox, FormControl, FormDescription, EditableFieldInputElement as FormEditableFieldInput, EditableFieldTextAreaElement as FormEditableFieldTextArea, FormElement, FormField, InputElement as FormInput, InputPasswordElement as FormInputPassword, FormItem, FormLabelLayout as FormLabel, FormMessage, MultiSelectElement as FormMultiSelect, OTPElement as FormOTP, SearchInputElement as FormSearchInput, SelectElement as FormSelect, SwitchSelectorElement as FormSwitchSelector, TextAreaElement as FormTextArea, GitHubLogo, GitLabLogo, GoogleLogo, GridDistortionPattern, GridPattern, H1, H2, H3, H4, H5, H6, HTMLRenderer, HeadingProps, HeightResizer, HideShow, HideShowProps, Hr, IDE, IDEProps, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyList, KeyPathBreadcrumb, KeyboardScreenAdapter, KeyboardShortcut, KeyboardShortcutProps, KeyboardShortcutType, Label, LabelProps, LanguageBackground, LanguageSection, Link, LinkColor, LinkGroup, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkDownIframe, MarkdownEditor, type MarkdownEditorProps, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileNavbar, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, OTPInput, OTPInputContext, OTPInputProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, type ParsedMarkdown, Popover, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, Radio, RadioColor, RadioProps, RadioSize, RenderProps, RightDrawer, SaveForm, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SlotProps, SmartTable, SocialNetworks, Spotlight, Step, Steps, SwitchSelector, SwitchSelectorBaseProps, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, TableProps, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Td, TechLogo, type TechLogoName, techLogos_d_exports as TechLogos, Terminal, TerminalProps, TextArea, TextAreaProps, TextEditor, TextEditorContainer, TextEditorProps, Th, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tr, TriggerProps, type UploadImageFn, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, VerticalSwitchSelector, VerticalSwitchSelectorProps, WithResizer, XLogo, YoutubeLogo, badgeVariants, baseMarkdownComponents, buttonVariants, checkIsExternalLink, checkboxVariants, choiceVariant, containerVariants, createEditorUploadFn, defaultChoices, drawerManager, getCapitals, getIntlayerHTMLOptions, getIntlayerMarkdownOptions, indicatorVariant, inputSlotVariants, inputVariants, isTextChildren, linkVariants, paginationVariants, radioVariants, reducer, switchSelectorVariant, toast, toastVariants, traceKeys, useContentEditable, useCopyToClipboard, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePrevious, useRightDrawer, useToast, useVersionSwitcher };
185
+ export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, BitbucketLogo, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Burger, Button, ButtonColor, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Carousel, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeBlock, CodeBlockProps, CodeCompAttributes, CodeDefault, CodeHighlighted, type CodeLanguage, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentEditableTextArea, ContentEditableTextAreaHandle, ContentEditableTextAreaProps, ContentEditorInput, ContentEditorInputProps, ContentEditorProps, ContentEditorTextArea, ContentEditorTextAreaProps, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, type CreateEditorUploadFnOptions, DesktopNavbar, DesktopThemeSwitcher, Detail, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, DropDownYAlign, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, flags_d_exports as Flags, Footer, FooterLink, Form, AutoSizedTextAreaElement as FormAutoSizedTextArea, Button as FormButton, CheckboxElement as FormCheckbox, FormControl, FormDescription, EditableFieldInputElement as FormEditableFieldInput, EditableFieldTextAreaElement as FormEditableFieldTextArea, FormElement, FormField, InputElement as FormInput, InputPasswordElement as FormInputPassword, FormItem, FormLabelLayout as FormLabel, FormMessage, MultiSelectElement as FormMultiSelect, OTPElement as FormOTP, SearchInputElement as FormSearchInput, SelectElement as FormSelect, SwitchSelectorElement as FormSwitchSelector, TextAreaElement as FormTextArea, GitHubLogo, GitLabLogo, GoogleLogo, GridDistortionPattern, GridPattern, H1, H2, H3, H4, H5, H6, HTMLRenderer, HeadingProps, HeightResizer, HideShow, HideShowProps, Hr, IDE, IDEProps, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyList, KeyPathBreadcrumb, KeyboardScreenAdapter, KeyboardShortcut, KeyboardShortcutProps, KeyboardShortcutType, Label, LabelProps, LanguageBackground, LanguageSection, Link, LinkColor, LinkGroup, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkDownIframe, MarkdownEditor, type MarkdownEditorProps, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileNavbar, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, OTPInput, OTPInputContext, OTPInputProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, type ParsedMarkdown, Popover, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, Radio, RadioColor, RadioProps, RadioSize, RenderProps, RightDrawer, SaveForm, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SlotProps, SmartTable, SocialNetworks, Spotlight, Step, Steps, SwitchSelector, SwitchSelectorBaseProps, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, TableProps, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Td, TechLogo, type TechLogoName, techLogos_d_exports as TechLogos, Terminal, TerminalProps, TextArea, TextAreaProps, TextEditor, TextEditorContainer, TextEditorProps, Th, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tr, TriggerProps, type UploadImageFn, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, VerticalSwitchSelector, VerticalSwitchSelectorProps, WithResizer, XLogo, YoutubeLogo, badgeVariants, baseMarkdownComponents, buttonVariants, checkIsExternalLink, checkboxVariants, choiceVariant, containerVariants, createEditorUploadFn, defaultChoices, drawerManager, getCapitals, getIntlayerHTMLOptions, getIntlayerMarkdownOptions, indicatorVariant, inputSlotVariants, inputVariants, isTextChildren, linkVariants, paginationVariants, radioVariants, reducer, shikiWrapperClassName, switchSelectorVariant, toast, toastVariants, traceKeys, useContentEditable, useCopyToClipboard, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePopoverIds, usePrevious, useRightDrawer, useToast, useVersionSwitcher };
@@ -1 +1 @@
1
- {"version":3,"file":"useItemSelector.d.ts","names":[],"sources":["../../../src/hooks/useItemSelector.ts"],"mappings":";;KAIY;KAEP;EACH;EACA;EACA;;KAGG;EACH;EACA;EACA;;KAGG,aAAa,uBAAuB;KAKpC;EACH,YAAY,QAAQ,aAAa;EACjC;EACA,cAAc;;cAGH,kBAAe,aACb,UAAU,kBAAc,UAAA,aAAA,gBAKlC"}
1
+ {"version":3,"file":"useItemSelector.d.ts","names":[],"sources":["../../../src/hooks/useItemSelector.ts"],"mappings":";;KAUY;KAEP;EACH;EACA;EACA;;KAGG;EACH;EACA;EACA;;KAGG,aAAa,uBAAuB;KAWpC;EACH,YAAY,QAAQ,aAAa;EACjC;EACA,cAAc;;cAGH,kBAAe,aACb,UAAU,kBAAc,UAAA,aAAA,gBAKlC"}
@@ -46,6 +46,9 @@ interface AuthAPI {
46
46
  providerId: string;
47
47
  }) => Promise<any>;
48
48
  signInSSO: AuthClient['signIn']['sso'];
49
+ listDeviceSessions: AuthClient['multiSession']['listDeviceSessions'];
50
+ setActiveSession: AuthClient['multiSession']['setActive'];
51
+ revokeDeviceSession: AuthClient['multiSession']['revoke'];
49
52
  }
50
53
  declare const getAuthAPI: (intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => AuthAPI;
51
54
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","names":[],"sources":["../../../src/libs/auth.ts"],"mappings":";;cAQM,gBAAa;KAsBd,aAAa,kBAAkB;UAEnB;EACf,qBAAqB;EACrB,aAAa;EACb,aAAa;EACb,SAAS;EACT,cAAc;EACd,YAAY;EACZ,uBAAuB;EACvB,6BAA6B;EAC7B,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;EACvB,aAAa;EACb,YAAY;EACZ,eAAe;EACf,gBAAgB;EAChB,qBAAqB;EACrB,cAAc;EACd,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,aAAa;EACb,YAAY;EACZ,cAAc;EACd,iBAAiB;EACjB,kBAAkB;EAClB,YAAY;EACZ,kBAAkB;EAClB,YAAY;EACZ,eAAe;EACf,eAAe;EACf,oBAAoB;EACpB,kBAEE;IAAS;IAAe;;EAE1B,aAAa;EACb,wBAAwB;EACxB,oBAAoB;IAAQ;QAAyB;EACrD,WAAW;;cAGA,aAAU,iBACJ,KAAK,8BACrB"}
1
+ {"version":3,"file":"auth.d.ts","names":[],"sources":["../../../src/libs/auth.ts"],"mappings":";;cAYM,gBAAa;KAuBd,aAAa,kBAAkB;UAEnB;EACf,qBAAqB;EACrB,aAAa;EACb,aAAa;EACb,SAAS;EACT,cAAc;EACd,YAAY;EACZ,uBAAuB;EACvB,6BAA6B;EAC7B,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;EACvB,aAAa;EACb,YAAY;EACZ,eAAe;EACf,gBAAgB;EAChB,qBAAqB;EACrB,cAAc;EACd,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,aAAa;EACb,YAAY;EACZ,cAAc;EACd,iBAAiB;EACjB,kBAAkB;EAClB,YAAY;EACZ,kBAAkB;EAClB,YAAY;EACZ,eAAe;EACf,eAAe;EACf,oBAAoB;EACpB,kBAEE;IAAS;IAAe;;EAE1B,aAAa;EACb,wBAAwB;EACxB,oBAAoB;IAAQ;QAAyB;EACrD,WAAW;EACX,oBAAoB;EACpB,kBAAkB;EAClB,qBAAqB;;cAGV,aAAU,iBACJ,KAAK,8BACrB"}
@@ -13,8 +13,14 @@ type BuildCreativeWorkJsonLdParams = {
13
13
  type?: CreativeWorkType;
14
14
  name: string;
15
15
  description: string;
16
- /** Full text / markdown body of the document. */
17
- content: string;
16
+ /**
17
+ * Full text / markdown body of the document, emitted as `text`.
18
+ *
19
+ * Omit it for long documents: `text` duplicates the whole page inside the
20
+ * `<head>`, which is bytes every reader downloads and parses before the
21
+ * article itself can paint.
22
+ */
23
+ content?: string;
18
24
  keywords: string;
19
25
  datePublished?: Date;
20
26
  dateModified?: Date;
@@ -54,7 +60,7 @@ declare const buildCreativeWorkJsonLd: ({ type, name, description, content, keyw
54
60
  name: string;
55
61
  headline: string;
56
62
  image?: string;
57
- text: string;
63
+ text?: string;
58
64
  description: string;
59
65
  url: string;
60
66
  datePublished: string;
@@ -1 +1 @@
1
- {"version":3,"file":"buildCreativeWorkJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildCreativeWorkJsonLd.ts"],"mappings":";;KAuBY;;KAQA;EACV;EACA;EACA;EACA;GACC;;KAGS;EACV,OAAO;EACP;EACA;;EAEA;EACA;EACA,gBAAgB;EAChB,eAAe;EACf;;EAEA,SAAS;;EAET;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;cASW,4BAAuB,MAAA,MAAA,aAAA,SAAA,UAAA,eAAA,cAAA,KAAA,QAAA,SAAA,cAAA,eAAA,kBAAA,cAejC;EACW;;;;;IAOJ;IACA;IACA;MACE;MACA;;;;;;;;;;;;;;;IAkBC"}
1
+ {"version":3,"file":"buildCreativeWorkJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildCreativeWorkJsonLd.ts"],"mappings":";;KAsBY;;KAQA;EACV;EACA;EACA;EACA;GACC;;KAGS;EACV,OAAO;EACP;EACA;;;;;;;;EAQA;EACA;EACA,gBAAgB;EAChB,eAAe;EACf;;EAEA,SAAS;;EAET;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;cASW,4BAAuB,MAAA,MAAA,aAAA,SAAA,UAAA,eAAA,cAAA,KAAA,QAAA,SAAA,cAAA,eAAA,kBAAA,cAejC;EACW;;;;;IAOJ;IACA;IACA;MACE;MACA;;;;;;;;;;;;;;;IAkBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.3.1",
3
+ "version": "9.3.3",
4
4
  "private": false,
5
5
  "description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
6
6
  "keywords": [
@@ -222,6 +222,11 @@
222
222
  "import": "./dist/esm/components/IDE/index.mjs",
223
223
  "default": "./dist/esm/components/IDE/index.mjs"
224
224
  },
225
+ "./shiki-themes": {
226
+ "types": "./dist/types/components/IDE/shikiThemes.d.ts",
227
+ "import": "./dist/esm/components/IDE/shikiThemes.mjs",
228
+ "default": "./dist/esm/components/IDE/shikiThemes.mjs"
229
+ },
225
230
  "./information-tag": {
226
231
  "types": "./dist/types/components/InformationTag/index.d.ts",
227
232
  "import": "./dist/esm/components/InformationTag/index.mjs",
@@ -440,15 +445,15 @@
440
445
  "typecheck_": "tsc --noEmit --project tsconfig.types.json"
441
446
  },
442
447
  "dependencies": {
443
- "@better-auth/passkey": "1.6.27",
444
- "@better-auth/sso": "1.6.27",
445
- "@intlayer/api": "9.3.1",
446
- "@intlayer/config": "9.3.1",
447
- "@intlayer/core": "9.3.1",
448
- "@intlayer/dictionaries-entry": "9.3.1",
449
- "@intlayer/editor-react": "9.3.1",
450
- "@intlayer/engine": "9.3.1",
451
- "@intlayer/types": "9.3.1",
448
+ "@better-auth/passkey": "1.7.1",
449
+ "@better-auth/sso": "1.7.1",
450
+ "@intlayer/api": "9.3.2",
451
+ "@intlayer/config": "9.3.3",
452
+ "@intlayer/core": "9.3.3",
453
+ "@intlayer/dictionaries-entry": "9.3.3",
454
+ "@intlayer/editor-react": "9.3.2",
455
+ "@intlayer/engine": "9.3.2",
456
+ "@intlayer/types": "9.3.3",
452
457
  "@radix-ui/react-dialog": "1.1.23",
453
458
  "@radix-ui/react-select": "2.3.7",
454
459
  "@radix-ui/react-slot": "1.3.3",
@@ -457,31 +462,31 @@
457
462
  "@tanstack/query-async-storage-persister": "5.101.4",
458
463
  "@tanstack/react-query-persist-client": "5.101.4",
459
464
  "@tanstack/react-virtual": "3.14.9",
460
- "@tiptap/core": "3.30.0",
461
- "@tiptap/extension-character-count": "3.30.0",
462
- "@tiptap/extension-color": "3.30.0",
463
- "@tiptap/extension-highlight": "3.30.0",
464
- "@tiptap/extension-horizontal-rule": "3.30.0",
465
- "@tiptap/extension-image": "3.30.0",
466
- "@tiptap/extension-link": "3.30.0",
467
- "@tiptap/extension-placeholder": "3.30.0",
468
- "@tiptap/extension-task-item": "3.30.0",
469
- "@tiptap/extension-task-list": "3.30.0",
470
- "@tiptap/extension-text-style": "3.30.0",
471
- "@tiptap/extension-underline": "3.30.0",
472
- "@tiptap/extension-youtube": "3.30.0",
473
- "@tiptap/pm": "3.30.0",
474
- "@tiptap/react": "3.30.0",
475
- "@tiptap/starter-kit": "3.30.0",
476
- "@tiptap/suggestion": "3.30.0",
477
- "better-auth": "1.6.27",
465
+ "@tiptap/core": "3.30.1",
466
+ "@tiptap/extension-character-count": "3.30.1",
467
+ "@tiptap/extension-color": "3.30.1",
468
+ "@tiptap/extension-highlight": "3.30.1",
469
+ "@tiptap/extension-horizontal-rule": "3.30.1",
470
+ "@tiptap/extension-image": "3.30.1",
471
+ "@tiptap/extension-link": "3.30.1",
472
+ "@tiptap/extension-placeholder": "3.30.1",
473
+ "@tiptap/extension-task-item": "3.30.1",
474
+ "@tiptap/extension-task-list": "3.30.1",
475
+ "@tiptap/extension-text-style": "3.30.1",
476
+ "@tiptap/extension-underline": "3.30.1",
477
+ "@tiptap/extension-youtube": "3.30.1",
478
+ "@tiptap/pm": "3.30.1",
479
+ "@tiptap/react": "3.30.1",
480
+ "@tiptap/starter-kit": "3.30.1",
481
+ "@tiptap/suggestion": "3.30.1",
482
+ "better-auth": "1.7.1",
478
483
  "class-variance-authority": "0.7.1",
479
484
  "cmdk": "1.1.1",
480
485
  "cnfast": "^0.1.0",
481
486
  "defu": "6.1.7",
482
487
  "dompurify": "3.4.13",
483
488
  "isomorphic-dompurify": "3.22.0",
484
- "react-intlayer": "9.3.1",
489
+ "react-intlayer": "9.3.3",
485
490
  "rollup-preserve-directives": "1.1.3",
486
491
  "tiptap-extension-code-block-shiki": "^1.2.0",
487
492
  "tiptap-extension-global-drag-handle": "^0.1.18",
@@ -490,7 +495,7 @@
490
495
  "zod": "4.4.3"
491
496
  },
492
497
  "devDependencies": {
493
- "@intlayer/backend": "9.3.1",
498
+ "@intlayer/backend": "9.3.3",
494
499
  "@shikijs/transformers": "4.4.3",
495
500
  "@storybook/addon-a11y": "8.6.14",
496
501
  "@storybook/addon-essentials": "8.6.14",
@@ -520,33 +525,33 @@
520
525
  "@utils/ts-config": "1.0.4",
521
526
  "@utils/ts-config-types": "1.0.4",
522
527
  "fast-glob": "3.3.3",
523
- "intlayer": "9.3.1",
528
+ "intlayer": "9.3.3",
524
529
  "rimraf": "6.1.3",
525
530
  "shiki": "4.4.3",
526
531
  "storybook": "8.6.14",
527
532
  "tsdown": "0.22.14",
528
533
  "typescript": "7.0.2",
529
534
  "vite": "8.2.1",
530
- "vite-intlayer": "9.3.1",
535
+ "vite-intlayer": "9.3.3",
531
536
  "vite-plugin-dts": "5.0.3",
532
- "vitest": "4.1.10"
537
+ "vitest": "4.1.11"
533
538
  },
534
539
  "peerDependencies": {
535
540
  "@better-fetch/fetch": "1.3.1",
536
- "@hookform/resolvers": "5.7.1",
537
- "@intlayer/backend": "9.3.1",
541
+ "@hookform/resolvers": "5.9.1",
542
+ "@intlayer/backend": "9.3.3",
538
543
  "@monaco-editor/react": "4.7.0",
539
544
  "@shikijs/transformers": "4.4.3",
540
545
  "@tanstack/react-query": "5.101.4",
541
546
  "@tanstack/react-query-devtools": "5.101.4",
542
547
  "framer-motion": "13.1.0",
543
548
  "fuse.js": "7.5.0",
544
- "intlayer": "9.3.1",
545
- "lucide-react": "1.31.0",
549
+ "intlayer": "9.3.3",
550
+ "lucide-react": "1.33.0",
546
551
  "react": ">=16.0.0",
547
552
  "react-dom": ">=16.0.0",
548
553
  "react-hook-form": "7.85.0",
549
- "react-intlayer": "9.3.1",
554
+ "react-intlayer": "9.3.3",
550
555
  "shiki": "4.4.3",
551
556
  "tailwindcss": "4.3.3"
552
557
  },
package/tailwind.css CHANGED
@@ -5,7 +5,9 @@
5
5
  font-style: normal;
6
6
  font-weight: 100 900;
7
7
  font-display: swap;
8
- src: url("/Geist-VariableFont_wght.ttf") format("truetype");
8
+ src:
9
+ url("/Geist-VariableFont_wght.woff2") format("woff2"),
10
+ url("/Geist-VariableFont_wght.ttf") format("truetype");
9
11
  }
10
12
 
11
13
  @theme {
@@ -241,3 +243,27 @@
241
243
  @plugin "@tailwindcss/aspect-ratio";
242
244
 
243
245
  @source "./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}";
246
+
247
+ /**
248
+ * Dual-theme Shiki output.
249
+ *
250
+ * Code blocks are highlighted once with both `github-light` and `github-dark`,
251
+ * and every token carries its two colours as the `--shiki-light` /
252
+ * `--shiki-dark` custom properties instead of a resolved `color`. One markup
253
+ * therefore serves both themes, which is what allows the highlighting to be
254
+ * done ahead of time — at build, on the server — rather than re-run in the
255
+ * browser whenever the resolved theme changes.
256
+ *
257
+ * These rules live here, rather than in each app's `shiki.css`, because they
258
+ * are what makes the code block components render at all: without them every
259
+ * token resolves to an undefined variable.
260
+ */
261
+ .shiki,
262
+ .shiki span {
263
+ color: var(--shiki-light);
264
+ }
265
+
266
+ [data-theme="dark"] .shiki,
267
+ [data-theme="dark"] .shiki span {
268
+ color: var(--shiki-dark);
269
+ }