@jobber/components 9.16.2 → 9.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActivityIndicator-cjs.js +1 -1
- package/dist/ActivityIndicator-es.js +1 -1
- package/dist/AtlantisPortalContent-es.js +1 -1
- package/dist/AtlantisThemeContext/index.mjs +1 -1
- package/dist/AtlantisThemeContext-cjs.js +1 -1
- package/dist/AtlantisThemeContext-es.js +10 -10
- package/dist/Autocomplete-cjs.js +2 -2
- package/dist/Autocomplete-es.js +5 -5
- package/dist/Body-cjs.js +1 -1
- package/dist/Body-es.js +2 -2
- package/dist/BottomSheet-cjs.js +1 -1
- package/dist/BottomSheet-es.js +3 -3
- package/dist/Box-cjs.js +2 -2
- package/dist/Box-es.js +2 -2
- package/dist/Button/index.mjs +1 -1
- package/dist/Button-es.js +1 -1
- package/dist/Card-cjs.js +1 -1
- package/dist/Card-es.js +1 -1
- package/dist/Checkbox-cjs.js +1 -1
- package/dist/Checkbox-es.js +1 -1
- package/dist/Chip/index.mjs +1 -1
- package/dist/Chip-cjs.js +2 -2
- package/dist/Chip-es.js +2 -2
- package/dist/ChipDismissible-es.js +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
- package/dist/Combobox-cjs.js +3 -3
- package/dist/Combobox-es.js +6 -6
- package/dist/ComboboxPrimitive-cjs.js +1 -1
- package/dist/ComboboxPrimitive-es.js +3 -3
- package/dist/ComboboxSeparator-es.js +4 -4
- package/dist/Container-cjs.js +1 -1
- package/dist/Container-es.js +1 -1
- package/dist/Content-cjs.js +1 -1
- package/dist/Content-es.js +1 -1
- package/dist/ContentBlock-cjs.js +1 -1
- package/dist/ContentBlock-es.js +1 -1
- package/dist/Cover-cjs.js +1 -1
- package/dist/Cover-es.js +1 -1
- package/dist/DataList-es.js +3 -3
- package/dist/DataList.const-cjs.js +0 -1
- package/dist/DataList.const-es.js +1 -2
- package/dist/DataList.module-cjs.js +1 -1
- package/dist/DataList.module-es.js +1 -1
- package/dist/DataList.utils-es.js +6 -6
- package/dist/DataListAction-cjs.js +1 -1
- package/dist/DataListAction-es.js +1 -1
- package/dist/DataListActionsMenu-cjs.js +1 -1
- package/dist/DataListActionsMenu-es.js +2 -2
- package/dist/DataListBulkActions-cjs.js +1 -1
- package/dist/DataListBulkActions-es.js +1 -1
- package/dist/DataListEmptyState-cjs.js +1 -1
- package/dist/DataListEmptyState-es.js +1 -1
- package/dist/DataListHeaderTile-cjs.js +2 -2
- package/dist/DataListHeaderTile-es.js +2 -2
- package/dist/DataListItemActions-cjs.js +1 -1
- package/dist/DataListItemActions-es.js +2 -2
- package/dist/DataListLayoutActions-cjs.js +1 -1
- package/dist/DataListLayoutActions-es.js +2 -2
- package/dist/DataListLoadMore-cjs.js +1 -1
- package/dist/DataListLoadMore-es.js +1 -1
- package/dist/DataListLoadingState-cjs.js +1 -1
- package/dist/DataListLoadingState-es.js +2 -2
- package/dist/DataListOverflowFade-cjs.js +1 -1
- package/dist/DataListOverflowFade-es.js +1 -1
- package/dist/DataListSearch-cjs.js +1 -1
- package/dist/DataListSearch-es.js +1 -1
- package/dist/DataListSortingOptions-cjs.js +1 -1
- package/dist/DataListSortingOptions-es.js +1 -1
- package/dist/DataListStickyHeader-cjs.js +1 -1
- package/dist/DataListStickyHeader-es.js +1 -1
- package/dist/DataListTags-cjs.js +1 -1
- package/dist/DataListTags-es.js +1 -1
- package/dist/DataListTotalCount-cjs.js +1 -1
- package/dist/DataListTotalCount-es.js +2 -2
- package/dist/DataTable/index.mjs +1 -1
- package/dist/DataTable-cjs.js +3 -3
- package/dist/DataTable-es.js +5 -5
- package/dist/DataTableTable-cjs.js +2 -2
- package/dist/DataTableTable-es.js +3 -3
- package/dist/DatePicker-cjs.js +47 -20
- package/dist/DatePicker-es.js +58 -31
- package/dist/Disclosure-cjs.js +1 -1
- package/dist/Disclosure-es.js +1 -1
- package/dist/Divider-cjs.js +1 -1
- package/dist/Divider-es.js +1 -1
- package/dist/DrawerGrid-cjs.js +2 -2
- package/dist/DrawerGrid-es.js +2 -2
- package/dist/FeatureSwitch-cjs.js +1 -1
- package/dist/FeatureSwitch-es.js +1 -1
- package/dist/FieldDescription-es.js +2 -2
- package/dist/FilterPicker-cjs.js +1 -1
- package/dist/FilterPicker-es.js +1 -1
- package/dist/FilterPickerAction-cjs.js +1 -1
- package/dist/FilterPickerAction-es.js +1 -1
- package/dist/FilterPickerContent-cjs.js +1 -1
- package/dist/FilterPickerContent-es.js +2 -2
- package/dist/FilterPickerContentHeader-cjs.js +1 -1
- package/dist/FilterPickerContentHeader-es.js +1 -1
- package/dist/FilterPickerContentList-es.js +2 -2
- package/dist/FilterPickerContentSearch-cjs.js +1 -1
- package/dist/FilterPickerContentSearch-es.js +1 -1
- package/dist/FilterPickerLoadMore-cjs.js +1 -1
- package/dist/FilterPickerLoadMore-es.js +1 -1
- package/dist/FilterPickerOption-cjs.js +1 -1
- package/dist/FilterPickerOption-es.js +1 -1
- package/dist/FormField/index.mjs +1 -1
- package/dist/FormFieldWrapper-cjs.js +1 -1
- package/dist/FormFieldWrapper-es.js +2 -2
- package/dist/FormatFile-cjs.js +1 -6
- package/dist/FormatFile-es.js +1 -6
- package/dist/Frame-cjs.js +1 -1
- package/dist/Frame-es.js +1 -1
- package/dist/Glimmer/index.mjs +1 -1
- package/dist/Glimmer-cjs.js +1 -1
- package/dist/Glimmer-es.js +2 -2
- package/dist/Grid-cjs.js +1 -1
- package/dist/Grid-es.js +1 -1
- package/dist/GridCell-cjs.js +1 -1
- package/dist/GridCell-es.js +1 -1
- package/dist/HelperText-cjs.js +1 -1
- package/dist/HelperText-es.js +1 -1
- package/dist/InputAvatar-cjs.js +1 -1
- package/dist/InputAvatar-es.js +1 -1
- package/dist/InputEmail-es.js +1 -1
- package/dist/InputFile-cjs.js +3 -3
- package/dist/InputFile-es.js +3 -3
- package/dist/InputPhoneNumber-cjs.js +1 -1
- package/dist/InputPhoneNumber-es.js +2 -2
- package/dist/InputText-es.js +1 -1
- package/dist/InputTime-cjs.js +0 -1
- package/dist/InputTime-es.js +1 -2
- package/dist/InputValidation-cjs.js +1 -1
- package/dist/InputValidation-es.js +1 -1
- package/dist/InternalChipDismissible-cjs.js +1 -1
- package/dist/InternalChipDismissible-es.js +2 -2
- package/dist/LegacySelect-cjs.js +1 -1
- package/dist/LegacySelect-es.js +2 -2
- package/dist/LightBox-cjs.js +1 -1
- package/dist/LightBox-es.js +1 -1
- package/dist/Link-cjs.js +1 -1
- package/dist/Link-es.js +1 -1
- package/dist/List-cjs.js +3 -3
- package/dist/List-es.js +7 -7
- package/dist/Markdown-cjs.js +142 -142
- package/dist/Markdown-es.js +148 -148
- package/dist/Menu-cjs.js +3 -3
- package/dist/Menu-es.js +7 -7
- package/dist/MenuSubmenuTrigger-cjs.js +2 -5
- package/dist/MenuSubmenuTrigger-es.js +6 -9
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.mjs +2 -2
- package/dist/MultiSelect-cjs.js +2 -2
- package/dist/MultiSelect-es.js +2 -2
- package/dist/NumberFieldInput-es.js +1 -1
- package/dist/OverlaySeparator-cjs.js +1 -1
- package/dist/OverlaySeparator-es.js +1 -1
- package/dist/Popover-cjs.js +1 -1
- package/dist/Popover-es.js +2 -2
- package/dist/ProgressBar-cjs.js +1 -1
- package/dist/ProgressBar-es.js +1 -1
- package/dist/RadioGroup-cjs.js +1 -1
- package/dist/RadioGroup-es.js +1 -1
- package/dist/ScrollAreaViewport-es.js +3 -3
- package/dist/SegmentedControl-cjs.js +1 -1
- package/dist/SegmentedControl-es.js +2 -2
- package/dist/Select-es.js +2 -2
- package/dist/SelectGroupLabel-cjs.js +1 -4
- package/dist/SelectGroupLabel-es.js +6 -9
- package/dist/SelectPrimitive-cjs.js +1 -1
- package/dist/SelectPrimitive-es.js +2 -2
- package/dist/SideDrawer-cjs.js +1 -1
- package/dist/SideDrawer-es.js +1 -1
- package/dist/Spinner-cjs.js +1 -1
- package/dist/Spinner-es.js +1 -1
- package/dist/StatusIndicator-cjs.js +1 -1
- package/dist/StatusIndicator-es.js +1 -1
- package/dist/Switch-cjs.js +1 -1
- package/dist/Switch-es.js +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.mjs +1 -1
- package/dist/Tabs-cjs.js +1 -1
- package/dist/Tabs-es.js +6 -6
- package/dist/Thumbnail-cjs.js +1 -1
- package/dist/Thumbnail-es.js +2 -2
- package/dist/Tiles-cjs.js +1 -1
- package/dist/Tiles-es.js +1 -1
- package/dist/Tooltip-cjs.js +1 -1
- package/dist/Tooltip-es.js +2 -2
- package/dist/Typography-cjs.js +3 -3
- package/dist/Typography-es.js +3 -3
- package/dist/_baseEach-cjs.js +1 -1
- package/dist/_baseEach-es.js +7 -7
- package/dist/_baseFlatten-es.js +1 -1
- package/dist/_getAllKeys-cjs.js +2 -8
- package/dist/_getAllKeys-es.js +4 -10
- package/dist/_getTag-es.js +1 -1
- package/dist/_isIterateeCall-es.js +3 -3
- package/dist/_setToString-es.js +2 -2
- package/dist/buttonRenderAdapter-cjs.js +2 -2
- package/dist/buttonRenderAdapter-es.js +2 -2
- package/dist/debounce-es.js +4 -4
- package/dist/dialogReturnFocus-es.js +2 -2
- package/dist/docs/Banner/Banner.md +7 -0
- package/dist/docs/ProgressIndicator/ProgressIndicator.md +3 -6
- package/dist/floating-ui.react-es.js +2 -2
- package/dist/identity-es.js +5 -5
- package/dist/index.mjs +7 -7
- package/dist/isSymbol-es.js +1 -1
- package/dist/isTypedArray-cjs.js +4 -4
- package/dist/isTypedArray-es.js +6 -6
- package/dist/keysIn-cjs.js +2 -2
- package/dist/keysIn-es.js +5 -5
- package/dist/noop-es.js +4 -4
- package/dist/primitives/BottomSheet/index.mjs +1 -1
- package/dist/primitives/index.mjs +1 -1
- package/dist/scrollable-es.js +1 -1
- package/dist/showToast-cjs.js +1 -1
- package/dist/showToast-es.js +1 -1
- package/dist/styles.css +8 -5
- package/dist/unstyledPrimitives/index.cjs +3 -3
- package/dist/unstyledPrimitives/index.mjs +9 -9
- package/dist/useCompositeListItem-es.js +3 -3
- package/dist/useScrollLock-cjs.js +14 -14
- package/dist/useScrollLock-es.js +15 -15
- package/dist/useScrollToActive-cjs.js +1 -1
- package/dist/useScrollToActive-es.js +8 -8
- package/package.json +11 -6
package/dist/Markdown-es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { T as Text } from './Text-es.js';
|
|
|
3
3
|
import { E as Emphasis } from './Emphasis-es.js';
|
|
4
4
|
import { H as Heading } from './Heading-es.js';
|
|
5
5
|
import { C as Content } from './Content-es.js';
|
|
6
|
-
import {
|
|
6
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
8
8
|
|
|
9
9
|
function ok$1() {}
|
|
@@ -15110,12 +15110,11 @@ function remarkParse(options) {
|
|
|
15110
15110
|
}
|
|
15111
15111
|
|
|
15112
15112
|
/**
|
|
15113
|
-
* @
|
|
15114
|
-
* @
|
|
15115
|
-
* @
|
|
15113
|
+
* @import {Element} from 'hast'
|
|
15114
|
+
* @import {Blockquote} from 'mdast'
|
|
15115
|
+
* @import {State} from '../state.js'
|
|
15116
15116
|
*/
|
|
15117
15117
|
|
|
15118
|
-
|
|
15119
15118
|
/**
|
|
15120
15119
|
* Turn an mdast `blockquote` node into hast.
|
|
15121
15120
|
*
|
|
@@ -15139,13 +15138,11 @@ function blockquote(state, node) {
|
|
|
15139
15138
|
}
|
|
15140
15139
|
|
|
15141
15140
|
/**
|
|
15142
|
-
* @
|
|
15143
|
-
* @
|
|
15144
|
-
* @
|
|
15145
|
-
* @typedef {import('../state.js').State} State
|
|
15141
|
+
* @import {Element, Text} from 'hast'
|
|
15142
|
+
* @import {Break} from 'mdast'
|
|
15143
|
+
* @import {State} from '../state.js'
|
|
15146
15144
|
*/
|
|
15147
15145
|
|
|
15148
|
-
|
|
15149
15146
|
/**
|
|
15150
15147
|
* Turn an mdast `break` node into hast.
|
|
15151
15148
|
*
|
|
@@ -15164,13 +15161,11 @@ function hardBreak(state, node) {
|
|
|
15164
15161
|
}
|
|
15165
15162
|
|
|
15166
15163
|
/**
|
|
15167
|
-
* @
|
|
15168
|
-
* @
|
|
15169
|
-
* @
|
|
15170
|
-
* @typedef {import('../state.js').State} State
|
|
15164
|
+
* @import {Element, Properties} from 'hast'
|
|
15165
|
+
* @import {Code} from 'mdast'
|
|
15166
|
+
* @import {State} from '../state.js'
|
|
15171
15167
|
*/
|
|
15172
15168
|
|
|
15173
|
-
|
|
15174
15169
|
/**
|
|
15175
15170
|
* Turn an mdast `code` node into hast.
|
|
15176
15171
|
*
|
|
@@ -15185,9 +15180,12 @@ function code(state, node) {
|
|
|
15185
15180
|
const value = node.value ? node.value + '\n' : '';
|
|
15186
15181
|
/** @type {Properties} */
|
|
15187
15182
|
const properties = {};
|
|
15183
|
+
// Someone can write `js python	ruby`.
|
|
15184
|
+
const language = node.lang ? node.lang.split(/\s+/) : [];
|
|
15188
15185
|
|
|
15189
|
-
|
|
15190
|
-
|
|
15186
|
+
// GH/CM still drop the non-first languages.
|
|
15187
|
+
if (language.length > 0) {
|
|
15188
|
+
properties.className = ['language-' + language[0]];
|
|
15191
15189
|
}
|
|
15192
15190
|
|
|
15193
15191
|
// Create `<code>`.
|
|
@@ -15213,12 +15211,11 @@ function code(state, node) {
|
|
|
15213
15211
|
}
|
|
15214
15212
|
|
|
15215
15213
|
/**
|
|
15216
|
-
* @
|
|
15217
|
-
* @
|
|
15218
|
-
* @
|
|
15214
|
+
* @import {Element} from 'hast'
|
|
15215
|
+
* @import {Delete} from 'mdast'
|
|
15216
|
+
* @import {State} from '../state.js'
|
|
15219
15217
|
*/
|
|
15220
15218
|
|
|
15221
|
-
|
|
15222
15219
|
/**
|
|
15223
15220
|
* Turn an mdast `delete` node into hast.
|
|
15224
15221
|
*
|
|
@@ -15242,12 +15239,11 @@ function strikethrough(state, node) {
|
|
|
15242
15239
|
}
|
|
15243
15240
|
|
|
15244
15241
|
/**
|
|
15245
|
-
* @
|
|
15246
|
-
* @
|
|
15247
|
-
* @
|
|
15242
|
+
* @import {Element} from 'hast'
|
|
15243
|
+
* @import {Emphasis} from 'mdast'
|
|
15244
|
+
* @import {State} from '../state.js'
|
|
15248
15245
|
*/
|
|
15249
15246
|
|
|
15250
|
-
|
|
15251
15247
|
/**
|
|
15252
15248
|
* Turn an mdast `emphasis` node into hast.
|
|
15253
15249
|
*
|
|
@@ -15271,9 +15267,9 @@ function emphasis(state, node) {
|
|
|
15271
15267
|
}
|
|
15272
15268
|
|
|
15273
15269
|
/**
|
|
15274
|
-
* @
|
|
15275
|
-
* @
|
|
15276
|
-
* @
|
|
15270
|
+
* @import {Element} from 'hast'
|
|
15271
|
+
* @import {FootnoteReference} from 'mdast'
|
|
15272
|
+
* @import {State} from '../state.js'
|
|
15277
15273
|
*/
|
|
15278
15274
|
|
|
15279
15275
|
|
|
@@ -15341,12 +15337,11 @@ function footnoteReference(state, node) {
|
|
|
15341
15337
|
}
|
|
15342
15338
|
|
|
15343
15339
|
/**
|
|
15344
|
-
* @
|
|
15345
|
-
* @
|
|
15346
|
-
* @
|
|
15340
|
+
* @import {Element} from 'hast'
|
|
15341
|
+
* @import {Heading} from 'mdast'
|
|
15342
|
+
* @import {State} from '../state.js'
|
|
15347
15343
|
*/
|
|
15348
15344
|
|
|
15349
|
-
|
|
15350
15345
|
/**
|
|
15351
15346
|
* Turn an mdast `heading` node into hast.
|
|
15352
15347
|
*
|
|
@@ -15370,13 +15365,12 @@ function heading(state, node) {
|
|
|
15370
15365
|
}
|
|
15371
15366
|
|
|
15372
15367
|
/**
|
|
15373
|
-
* @
|
|
15374
|
-
* @
|
|
15375
|
-
* @
|
|
15376
|
-
* @
|
|
15368
|
+
* @import {Element} from 'hast'
|
|
15369
|
+
* @import {Html} from 'mdast'
|
|
15370
|
+
* @import {State} from '../state.js'
|
|
15371
|
+
* @import {Raw} from '../../index.js'
|
|
15377
15372
|
*/
|
|
15378
15373
|
|
|
15379
|
-
|
|
15380
15374
|
/**
|
|
15381
15375
|
* Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise
|
|
15382
15376
|
* nothing).
|
|
@@ -15400,15 +15394,11 @@ function html(state, node) {
|
|
|
15400
15394
|
}
|
|
15401
15395
|
|
|
15402
15396
|
/**
|
|
15403
|
-
* @
|
|
15404
|
-
*
|
|
15405
|
-
* @
|
|
15406
|
-
* @typedef {import('mdast').Reference} Reference
|
|
15407
|
-
*
|
|
15408
|
-
* @typedef {import('./state.js').State} State
|
|
15397
|
+
* @import {ElementContent} from 'hast'
|
|
15398
|
+
* @import {Reference, Nodes} from 'mdast'
|
|
15399
|
+
* @import {State} from './state.js'
|
|
15409
15400
|
*/
|
|
15410
15401
|
|
|
15411
|
-
|
|
15412
15402
|
/**
|
|
15413
15403
|
* Return the content of a reference without definition as plain text.
|
|
15414
15404
|
*
|
|
@@ -15454,11 +15444,9 @@ function revert(state, node) {
|
|
|
15454
15444
|
}
|
|
15455
15445
|
|
|
15456
15446
|
/**
|
|
15457
|
-
* @
|
|
15458
|
-
* @
|
|
15459
|
-
* @
|
|
15460
|
-
* @typedef {import('mdast').ImageReference} ImageReference
|
|
15461
|
-
* @typedef {import('../state.js').State} State
|
|
15447
|
+
* @import {ElementContent, Element, Properties} from 'hast'
|
|
15448
|
+
* @import {ImageReference} from 'mdast'
|
|
15449
|
+
* @import {State} from '../state.js'
|
|
15462
15450
|
*/
|
|
15463
15451
|
|
|
15464
15452
|
|
|
@@ -15494,10 +15482,9 @@ function imageReference(state, node) {
|
|
|
15494
15482
|
}
|
|
15495
15483
|
|
|
15496
15484
|
/**
|
|
15497
|
-
* @
|
|
15498
|
-
* @
|
|
15499
|
-
* @
|
|
15500
|
-
* @typedef {import('../state.js').State} State
|
|
15485
|
+
* @import {Element, Properties} from 'hast'
|
|
15486
|
+
* @import {Image} from 'mdast'
|
|
15487
|
+
* @import {State} from '../state.js'
|
|
15501
15488
|
*/
|
|
15502
15489
|
|
|
15503
15490
|
|
|
@@ -15530,13 +15517,11 @@ function image(state, node) {
|
|
|
15530
15517
|
}
|
|
15531
15518
|
|
|
15532
15519
|
/**
|
|
15533
|
-
* @
|
|
15534
|
-
* @
|
|
15535
|
-
* @
|
|
15536
|
-
* @typedef {import('../state.js').State} State
|
|
15520
|
+
* @import {Element, Text} from 'hast'
|
|
15521
|
+
* @import {InlineCode} from 'mdast'
|
|
15522
|
+
* @import {State} from '../state.js'
|
|
15537
15523
|
*/
|
|
15538
15524
|
|
|
15539
|
-
|
|
15540
15525
|
/**
|
|
15541
15526
|
* Turn an mdast `inlineCode` node into hast.
|
|
15542
15527
|
*
|
|
@@ -15564,11 +15549,9 @@ function inlineCode(state, node) {
|
|
|
15564
15549
|
}
|
|
15565
15550
|
|
|
15566
15551
|
/**
|
|
15567
|
-
* @
|
|
15568
|
-
* @
|
|
15569
|
-
* @
|
|
15570
|
-
* @typedef {import('mdast').LinkReference} LinkReference
|
|
15571
|
-
* @typedef {import('../state.js').State} State
|
|
15552
|
+
* @import {ElementContent, Element, Properties} from 'hast'
|
|
15553
|
+
* @import {LinkReference} from 'mdast'
|
|
15554
|
+
* @import {State} from '../state.js'
|
|
15572
15555
|
*/
|
|
15573
15556
|
|
|
15574
15557
|
|
|
@@ -15609,10 +15592,9 @@ function linkReference(state, node) {
|
|
|
15609
15592
|
}
|
|
15610
15593
|
|
|
15611
15594
|
/**
|
|
15612
|
-
* @
|
|
15613
|
-
* @
|
|
15614
|
-
* @
|
|
15615
|
-
* @typedef {import('../state.js').State} State
|
|
15595
|
+
* @import {Element, Properties} from 'hast'
|
|
15596
|
+
* @import {Link} from 'mdast'
|
|
15597
|
+
* @import {State} from '../state.js'
|
|
15616
15598
|
*/
|
|
15617
15599
|
|
|
15618
15600
|
|
|
@@ -15646,15 +15628,11 @@ function link(state, node) {
|
|
|
15646
15628
|
}
|
|
15647
15629
|
|
|
15648
15630
|
/**
|
|
15649
|
-
* @
|
|
15650
|
-
* @
|
|
15651
|
-
* @
|
|
15652
|
-
* @typedef {import('mdast').ListItem} ListItem
|
|
15653
|
-
* @typedef {import('mdast').Parents} Parents
|
|
15654
|
-
* @typedef {import('../state.js').State} State
|
|
15631
|
+
* @import {ElementContent, Element, Properties} from 'hast'
|
|
15632
|
+
* @import {ListItem, Parents} from 'mdast'
|
|
15633
|
+
* @import {State} from '../state.js'
|
|
15655
15634
|
*/
|
|
15656
15635
|
|
|
15657
|
-
|
|
15658
15636
|
/**
|
|
15659
15637
|
* Turn an mdast `listItem` node into hast.
|
|
15660
15638
|
*
|
|
@@ -15770,13 +15748,11 @@ function listItemLoose(node) {
|
|
|
15770
15748
|
}
|
|
15771
15749
|
|
|
15772
15750
|
/**
|
|
15773
|
-
* @
|
|
15774
|
-
* @
|
|
15775
|
-
* @
|
|
15776
|
-
* @typedef {import('../state.js').State} State
|
|
15751
|
+
* @import {Element, Properties} from 'hast'
|
|
15752
|
+
* @import {List} from 'mdast'
|
|
15753
|
+
* @import {State} from '../state.js'
|
|
15777
15754
|
*/
|
|
15778
15755
|
|
|
15779
|
-
|
|
15780
15756
|
/**
|
|
15781
15757
|
* Turn an mdast `list` node into hast.
|
|
15782
15758
|
*
|
|
@@ -15825,12 +15801,11 @@ function list(state, node) {
|
|
|
15825
15801
|
}
|
|
15826
15802
|
|
|
15827
15803
|
/**
|
|
15828
|
-
* @
|
|
15829
|
-
* @
|
|
15830
|
-
* @
|
|
15804
|
+
* @import {Element} from 'hast'
|
|
15805
|
+
* @import {Paragraph} from 'mdast'
|
|
15806
|
+
* @import {State} from '../state.js'
|
|
15831
15807
|
*/
|
|
15832
15808
|
|
|
15833
|
-
|
|
15834
15809
|
/**
|
|
15835
15810
|
* Turn an mdast `paragraph` node into hast.
|
|
15836
15811
|
*
|
|
@@ -15854,13 +15829,11 @@ function paragraph(state, node) {
|
|
|
15854
15829
|
}
|
|
15855
15830
|
|
|
15856
15831
|
/**
|
|
15857
|
-
* @
|
|
15858
|
-
* @
|
|
15859
|
-
* @
|
|
15860
|
-
* @typedef {import('../state.js').State} State
|
|
15832
|
+
* @import {Parents as HastParents, Root as HastRoot} from 'hast'
|
|
15833
|
+
* @import {Root as MdastRoot} from 'mdast'
|
|
15834
|
+
* @import {State} from '../state.js'
|
|
15861
15835
|
*/
|
|
15862
15836
|
|
|
15863
|
-
|
|
15864
15837
|
/**
|
|
15865
15838
|
* Turn an mdast `root` node into hast.
|
|
15866
15839
|
*
|
|
@@ -15879,12 +15852,11 @@ function root(state, node) {
|
|
|
15879
15852
|
}
|
|
15880
15853
|
|
|
15881
15854
|
/**
|
|
15882
|
-
* @
|
|
15883
|
-
* @
|
|
15884
|
-
* @
|
|
15855
|
+
* @import {Element} from 'hast'
|
|
15856
|
+
* @import {Strong} from 'mdast'
|
|
15857
|
+
* @import {State} from '../state.js'
|
|
15885
15858
|
*/
|
|
15886
15859
|
|
|
15887
|
-
|
|
15888
15860
|
/**
|
|
15889
15861
|
* Turn an mdast `strong` node into hast.
|
|
15890
15862
|
*
|
|
@@ -15908,9 +15880,9 @@ function strong(state, node) {
|
|
|
15908
15880
|
}
|
|
15909
15881
|
|
|
15910
15882
|
/**
|
|
15911
|
-
* @
|
|
15912
|
-
* @
|
|
15913
|
-
* @
|
|
15883
|
+
* @import {Table} from 'mdast'
|
|
15884
|
+
* @import {Element} from 'hast'
|
|
15885
|
+
* @import {State} from '../state.js'
|
|
15914
15886
|
*/
|
|
15915
15887
|
|
|
15916
15888
|
|
|
@@ -15969,15 +15941,11 @@ function table(state, node) {
|
|
|
15969
15941
|
}
|
|
15970
15942
|
|
|
15971
15943
|
/**
|
|
15972
|
-
* @
|
|
15973
|
-
* @
|
|
15974
|
-
* @
|
|
15975
|
-
* @typedef {import('mdast').Parents} Parents
|
|
15976
|
-
* @typedef {import('mdast').TableRow} TableRow
|
|
15977
|
-
* @typedef {import('../state.js').State} State
|
|
15944
|
+
* @import {Element, ElementContent, Properties} from 'hast'
|
|
15945
|
+
* @import {Parents, TableRow} from 'mdast'
|
|
15946
|
+
* @import {State} from '../state.js'
|
|
15978
15947
|
*/
|
|
15979
15948
|
|
|
15980
|
-
|
|
15981
15949
|
/**
|
|
15982
15950
|
* Turn an mdast `tableRow` node into hast.
|
|
15983
15951
|
*
|
|
@@ -16037,12 +16005,11 @@ function tableRow(state, node, parent) {
|
|
|
16037
16005
|
}
|
|
16038
16006
|
|
|
16039
16007
|
/**
|
|
16040
|
-
* @
|
|
16041
|
-
* @
|
|
16042
|
-
* @
|
|
16008
|
+
* @import {Element} from 'hast'
|
|
16009
|
+
* @import {TableCell} from 'mdast'
|
|
16010
|
+
* @import {State} from '../state.js'
|
|
16043
16011
|
*/
|
|
16044
16012
|
|
|
16045
|
-
|
|
16046
16013
|
/**
|
|
16047
16014
|
* Turn an mdast `tableCell` node into hast.
|
|
16048
16015
|
*
|
|
@@ -16138,10 +16105,9 @@ function trimLine(value, start, end) {
|
|
|
16138
16105
|
}
|
|
16139
16106
|
|
|
16140
16107
|
/**
|
|
16141
|
-
* @
|
|
16142
|
-
* @
|
|
16143
|
-
* @
|
|
16144
|
-
* @typedef {import('../state.js').State} State
|
|
16108
|
+
* @import {Element as HastElement, Text as HastText} from 'hast'
|
|
16109
|
+
* @import {Text as MdastText} from 'mdast'
|
|
16110
|
+
* @import {State} from '../state.js'
|
|
16145
16111
|
*/
|
|
16146
16112
|
|
|
16147
16113
|
|
|
@@ -16163,12 +16129,11 @@ function text(state, node) {
|
|
|
16163
16129
|
}
|
|
16164
16130
|
|
|
16165
16131
|
/**
|
|
16166
|
-
* @
|
|
16167
|
-
* @
|
|
16168
|
-
* @
|
|
16132
|
+
* @import {Element} from 'hast'
|
|
16133
|
+
* @import {ThematicBreak} from 'mdast'
|
|
16134
|
+
* @import {State} from '../state.js'
|
|
16169
16135
|
*/
|
|
16170
16136
|
|
|
16171
|
-
|
|
16172
16137
|
/**
|
|
16173
16138
|
* Turn an mdast `thematicBreak` node into hast.
|
|
16174
16139
|
*
|
|
@@ -16191,10 +16156,15 @@ function thematicBreak(state, node) {
|
|
|
16191
16156
|
return state.applyData(node, result)
|
|
16192
16157
|
}
|
|
16193
16158
|
|
|
16159
|
+
/**
|
|
16160
|
+
* @import {Handlers} from '../state.js'
|
|
16161
|
+
*/
|
|
16162
|
+
|
|
16163
|
+
|
|
16194
16164
|
/**
|
|
16195
16165
|
* Default handlers for nodes.
|
|
16196
16166
|
*
|
|
16197
|
-
* @satisfies {
|
|
16167
|
+
* @satisfies {Handlers}
|
|
16198
16168
|
*/
|
|
16199
16169
|
const handlers = {
|
|
16200
16170
|
blockquote,
|
|
@@ -16246,6 +16216,19 @@ const BIGINT = 8;
|
|
|
16246
16216
|
|
|
16247
16217
|
const env = typeof self === 'object' ? self : globalThis;
|
|
16248
16218
|
|
|
16219
|
+
const guard = (name, init) => {
|
|
16220
|
+
switch (name) {
|
|
16221
|
+
case 'Function':
|
|
16222
|
+
case 'SharedWorker':
|
|
16223
|
+
case 'Worker':
|
|
16224
|
+
case 'eval':
|
|
16225
|
+
case 'setInterval':
|
|
16226
|
+
case 'setTimeout':
|
|
16227
|
+
throw new TypeError('unable to deserialize ' + name);
|
|
16228
|
+
}
|
|
16229
|
+
return new env[name](init);
|
|
16230
|
+
};
|
|
16231
|
+
|
|
16249
16232
|
const deserializer = ($, _) => {
|
|
16250
16233
|
const as = (out, index) => {
|
|
16251
16234
|
$.set(index, out);
|
|
@@ -16293,14 +16276,20 @@ const deserializer = ($, _) => {
|
|
|
16293
16276
|
}
|
|
16294
16277
|
case ERROR: {
|
|
16295
16278
|
const {name, message} = value;
|
|
16296
|
-
return as(
|
|
16279
|
+
return as(guard(name, message), index);
|
|
16297
16280
|
}
|
|
16298
16281
|
case BIGINT:
|
|
16299
16282
|
return as(BigInt(value), index);
|
|
16300
16283
|
case 'BigInt':
|
|
16301
16284
|
return as(Object(BigInt(value)), index);
|
|
16285
|
+
case 'ArrayBuffer':
|
|
16286
|
+
return as(new Uint8Array(value).buffer, value);
|
|
16287
|
+
case 'DataView': {
|
|
16288
|
+
const { buffer } = new Uint8Array(value);
|
|
16289
|
+
return as(new DataView(buffer), value);
|
|
16290
|
+
}
|
|
16302
16291
|
}
|
|
16303
|
-
return as(
|
|
16292
|
+
return as(guard(type, value), index);
|
|
16304
16293
|
};
|
|
16305
16294
|
|
|
16306
16295
|
return unpair;
|
|
@@ -16341,6 +16330,8 @@ const typeOf = value => {
|
|
|
16341
16330
|
return [MAP, EMPTY];
|
|
16342
16331
|
case 'Set':
|
|
16343
16332
|
return [SET, EMPTY];
|
|
16333
|
+
case 'DataView':
|
|
16334
|
+
return [ARRAY, asString];
|
|
16344
16335
|
}
|
|
16345
16336
|
|
|
16346
16337
|
if (asString.includes('Array'))
|
|
@@ -16390,9 +16381,17 @@ const serializer = (strict, json, $, _) => {
|
|
|
16390
16381
|
return as([TYPE, entry], value);
|
|
16391
16382
|
}
|
|
16392
16383
|
case ARRAY: {
|
|
16393
|
-
if (type)
|
|
16394
|
-
|
|
16395
|
-
|
|
16384
|
+
if (type) {
|
|
16385
|
+
let spread = value;
|
|
16386
|
+
if (type === 'DataView') {
|
|
16387
|
+
spread = new Uint8Array(value.buffer);
|
|
16388
|
+
}
|
|
16389
|
+
else if (type === 'ArrayBuffer') {
|
|
16390
|
+
spread = new Uint8Array(value);
|
|
16391
|
+
}
|
|
16392
|
+
return as([type, [...spread]], value);
|
|
16393
|
+
}
|
|
16394
|
+
|
|
16396
16395
|
const arr = [];
|
|
16397
16396
|
const index = as([TYPE, arr], value);
|
|
16398
16397
|
for (const entry of value)
|
|
@@ -16493,10 +16492,8 @@ var structuredClone$1 = typeof structuredClone === "function" ?
|
|
|
16493
16492
|
(any, options) => deserialize(serialize(any, options));
|
|
16494
16493
|
|
|
16495
16494
|
/**
|
|
16496
|
-
* @
|
|
16497
|
-
* @
|
|
16498
|
-
*
|
|
16499
|
-
* @typedef {import('./state.js').State} State
|
|
16495
|
+
* @import {ElementContent, Element} from 'hast'
|
|
16496
|
+
* @import {State} from './state.js'
|
|
16500
16497
|
*/
|
|
16501
16498
|
|
|
16502
16499
|
|
|
@@ -17144,22 +17141,25 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
|
17144
17141
|
}
|
|
17145
17142
|
|
|
17146
17143
|
/**
|
|
17147
|
-
* @
|
|
17148
|
-
*
|
|
17149
|
-
*
|
|
17150
|
-
*
|
|
17151
|
-
*
|
|
17152
|
-
*
|
|
17153
|
-
*
|
|
17154
|
-
*
|
|
17155
|
-
* @
|
|
17156
|
-
*
|
|
17157
|
-
*
|
|
17158
|
-
*
|
|
17159
|
-
*
|
|
17160
|
-
*
|
|
17161
|
-
* @
|
|
17162
|
-
* @
|
|
17144
|
+
* @import {
|
|
17145
|
+
* ElementContent as HastElementContent,
|
|
17146
|
+
* Element as HastElement,
|
|
17147
|
+
* Nodes as HastNodes,
|
|
17148
|
+
* Properties as HastProperties,
|
|
17149
|
+
* RootContent as HastRootContent,
|
|
17150
|
+
* Text as HastText
|
|
17151
|
+
* } from 'hast'
|
|
17152
|
+
* @import {
|
|
17153
|
+
* Definition as MdastDefinition,
|
|
17154
|
+
* FootnoteDefinition as MdastFootnoteDefinition,
|
|
17155
|
+
* Nodes as MdastNodes,
|
|
17156
|
+
* Parents as MdastParents
|
|
17157
|
+
* } from 'mdast'
|
|
17158
|
+
* @import {VFile} from 'vfile'
|
|
17159
|
+
* @import {
|
|
17160
|
+
* FootnoteBackContentTemplate,
|
|
17161
|
+
* FootnoteBackLabelTemplate
|
|
17162
|
+
* } from './footer.js'
|
|
17163
17163
|
*/
|
|
17164
17164
|
|
|
17165
17165
|
|
|
@@ -17459,9 +17459,9 @@ function trimMarkdownSpaceStart(value) {
|
|
|
17459
17459
|
}
|
|
17460
17460
|
|
|
17461
17461
|
/**
|
|
17462
|
-
* @
|
|
17463
|
-
* @
|
|
17464
|
-
* @
|
|
17462
|
+
* @import {Nodes as HastNodes} from 'hast'
|
|
17463
|
+
* @import {Nodes as MdastNodes} from 'mdast'
|
|
17464
|
+
* @import {Options} from './state.js'
|
|
17465
17465
|
*/
|
|
17466
17466
|
|
|
17467
17467
|
|
|
@@ -17781,7 +17781,7 @@ var getProperty = function getProperty(obj, name) {
|
|
|
17781
17781
|
return obj[name];
|
|
17782
17782
|
};
|
|
17783
17783
|
|
|
17784
|
-
var extend = function extend() {
|
|
17784
|
+
var extend$1 = function extend() {
|
|
17785
17785
|
var options, name, src, copy, copyIsArray, clone;
|
|
17786
17786
|
var target = arguments[0];
|
|
17787
17787
|
var i = 1;
|
|
@@ -17835,7 +17835,7 @@ var extend = function extend() {
|
|
|
17835
17835
|
return target;
|
|
17836
17836
|
};
|
|
17837
17837
|
|
|
17838
|
-
var extend
|
|
17838
|
+
var extend = /*@__PURE__*/getDefaultExportFromCjs(extend$1);
|
|
17839
17839
|
|
|
17840
17840
|
function isPlainObject(value) {
|
|
17841
17841
|
if (typeof value !== 'object' || value === null) {
|
|
@@ -19440,7 +19440,7 @@ class Processor extends CallableInstance {
|
|
|
19440
19440
|
destination.use(...attacher);
|
|
19441
19441
|
}
|
|
19442
19442
|
|
|
19443
|
-
destination.data(extend
|
|
19443
|
+
destination.data(extend(true, {}, this.namespace));
|
|
19444
19444
|
|
|
19445
19445
|
return destination
|
|
19446
19446
|
}
|
|
@@ -20038,7 +20038,7 @@ class Processor extends CallableInstance {
|
|
|
20038
20038
|
addList(result.plugins);
|
|
20039
20039
|
|
|
20040
20040
|
if (result.settings) {
|
|
20041
|
-
namespace.settings = extend
|
|
20041
|
+
namespace.settings = extend(true, namespace.settings, result.settings);
|
|
20042
20042
|
}
|
|
20043
20043
|
}
|
|
20044
20044
|
|
|
@@ -20084,7 +20084,7 @@ class Processor extends CallableInstance {
|
|
|
20084
20084
|
let [primary, ...rest] = parameters;
|
|
20085
20085
|
const currentPrimary = attachers[entryIndex][1];
|
|
20086
20086
|
if (isPlainObject(currentPrimary) && isPlainObject(primary)) {
|
|
20087
|
-
primary = extend
|
|
20087
|
+
primary = extend(true, currentPrimary, primary);
|
|
20088
20088
|
}
|
|
20089
20089
|
|
|
20090
20090
|
attachers[entryIndex] = [plugin, primary, ...rest];
|
package/dist/Menu-cjs.js
CHANGED
|
@@ -23,7 +23,7 @@ var ScrollAreaViewport = require('./ScrollAreaViewport-cjs.js');
|
|
|
23
23
|
var DrawerTitle = require('./DrawerTitle-cjs.js');
|
|
24
24
|
var MenuSubmenuTrigger$1 = require('./MenuSubmenuTrigger-cjs.js');
|
|
25
25
|
|
|
26
|
-
var styles$2 = {"wrapper":"h-nk89U2n6Q-","floatingContainer":"krpkWzoaVcc-","menu":"_7sU7mp1w0jM-","legacySection":"_4x-vvEmn4gM-","
|
|
26
|
+
var styles$2 = {"wrapper":"h-nk89U2n6Q-","floatingContainer":"krpkWzoaVcc-","menu":"_7sU7mp1w0jM-","legacySection":"_4x-vvEmn4gM-","sectionHeader":"MZJgunQcmdQ-","legacyAction":"_-1GOlrzd098-","action":"NYXV5w4pd0c-","destructive":"baYK2zQ6-GA-","overlay":"A7T14ALVEKg-","fullWidth":"Lgbn9IRPI5Y-","screenReaderOnly":"o-ps580KdWI-"};
|
|
27
27
|
|
|
28
28
|
const SMALL_SCREEN_BREAKPOINT = 490;
|
|
29
29
|
const MENU_OFFSET = 6;
|
|
@@ -220,9 +220,9 @@ function MenuPortal({ children }) {
|
|
|
220
220
|
return React.createElement(floatingUi_react.FloatingPortal, null, children);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
var styles$1 = {"submenuHeader":"Vw9MFreevMU-","submenuTitle":"wpNMcBuNwwY-"
|
|
223
|
+
var styles$1 = {"submenuHeader":"Vw9MFreevMU-","submenuTitle":"wpNMcBuNwwY-"};
|
|
224
224
|
|
|
225
|
-
var styles = {"
|
|
225
|
+
var styles = {"floatingContainer":"ba-Kj6mvQUw-","composableBackdrop":"wqvf3hcDMM0-","menu":"-DayvgvIcVo-","separator":"jnggqK3YTIU-","triggerWrapper":"oRQQVVq-yxA-","composableMenu":"atokGnmWVls-","composableDropdownPopup":"Uk14qmg-Fqc-","composableDropdownScroller":"CJKnGqldjF0-","bottomSheetMenuContent":"J3CW8IU48RM-","composableItem":"zSMkwrZodBk-","composableItemNoLeadingSlot":"qbDWOwkPouM-","composableSection":"_353OIWGazfE-","composableGroup":"Q0ssxff-Qo4-","composableRadioGroup":"_2VyPM45lQBE-","composableGroupHeader":"BklkzNPbJ5Q-","composableGroupLabel":"_5-p9DbyRav4-","action":"M1BgN-oCmKw-","destructive":"U9ihZZavz9w-","bottomSheetSubmenuPopup":"nf47GCAYI-c-","menuHidden":"cuw8ct7rX6s-","bottomSheetSubmenuBody":"a6uZEXgX8sg-","screenReaderOnly":"Bzvkz60bwWE-"};
|
|
226
226
|
|
|
227
227
|
function mergeUnsafeProps(props) {
|
|
228
228
|
return useRenderElement.mergeProps({
|