@gobolt/genesis 0.2.21 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -11
- package/dist/_virtual/index6.cjs +4 -4
- package/dist/_virtual/index6.js +4 -4
- package/dist/_virtual/index7.cjs +5 -2
- package/dist/_virtual/index7.js +5 -2
- package/dist/_virtual/index8.cjs +3 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/utilities.cjs +3 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/components/Avatar/styles.d.ts +2 -2
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +1 -0
- package/dist/components/Badge/styles.cjs +2 -1
- package/dist/components/Badge/styles.d.ts +2 -2
- package/dist/components/Badge/styles.js +2 -1
- package/dist/components/Breadcrumb/styles.cjs +3 -1
- package/dist/components/Breadcrumb/styles.d.ts +4 -4
- package/dist/components/Breadcrumb/styles.js +3 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Button/icon-button-styles.d.ts +2 -2
- package/dist/components/Button/styles.d.ts +4 -4
- package/dist/components/Card/styles.d.ts +2 -2
- package/dist/components/Chat/Chat.cjs +247 -0
- package/dist/components/Chat/Chat.d.ts +18 -0
- package/dist/components/Chat/Chat.js +248 -0
- package/dist/components/Chat/Message.cjs +96 -0
- package/dist/components/Chat/Message.d.ts +8 -0
- package/dist/components/Chat/Message.js +97 -0
- package/dist/components/Chat/__stories__/Chat.stories.d.ts +19 -0
- package/dist/components/Chat/index.d.ts +2 -0
- package/dist/components/Checkbox/styles.d.ts +2 -2
- package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +2 -2
- package/dist/components/Dashboard/styles.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.cjs +2 -2
- package/dist/components/DatePicker/DatePicker.d.ts +3 -3
- package/dist/components/DatePicker/DatePicker.js +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.cjs +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.cjs +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js +2 -2
- package/dist/components/ErrorBoundary/styles.d.ts +2 -2
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.cjs +12 -4
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +1 -1
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +12 -4
- package/dist/components/Filters/__stories__/Filters.stories.d.ts +0 -2
- package/dist/components/Filters/__stories__/mock.d.ts +5 -0
- package/dist/components/Filters/styles.d.ts +4 -4
- package/dist/components/Form/Form.cjs +2 -2
- package/dist/components/Form/Form.d.ts +2 -2
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Glyph/custom/UnitNumber.cjs +51 -0
- package/dist/components/Glyph/custom/UnitNumber.d.ts +5 -0
- package/dist/components/Glyph/custom/UnitNumber.js +52 -0
- package/dist/components/Glyph/custom/__stories__/UnitNumber.stories.d.ts +7 -0
- package/dist/components/Glyph/index.d.ts +2 -0
- package/dist/components/Glyph/styles.d.ts +2 -2
- package/dist/components/Input/Input.cjs +19 -2
- package/dist/components/Input/Input.d.ts +7 -3
- package/dist/components/Input/Input.js +19 -2
- package/dist/components/Input/styles.cjs +43 -12
- package/dist/components/Input/styles.d.ts +5 -4
- package/dist/components/Input/styles.js +43 -12
- package/dist/components/Layout/Content/ResponsiveContent.d.ts +2 -2
- package/dist/components/Layout/Content/styles.d.ts +2 -2
- package/dist/components/Message/Message.cjs +21 -11
- package/dist/components/Message/Message.js +21 -11
- package/dist/components/Notification/Notification.cjs +11 -6
- package/dist/components/Notification/Notification.js +11 -6
- package/dist/components/Notification/NotificationBadge/NotificationBadge.cjs +19 -10
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +19 -10
- package/dist/components/Notification/NotificationBadge/icons/ASN.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/ASN.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/ASN.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Appointment.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Appointment.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/Appointment.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Inventory.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Inventory.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/Inventory.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Parcel.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Parcel.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/Parcel.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Product.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Product.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/Product.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Route.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Route.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/Route.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Shipment.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/Shipment.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/Shipment.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.js +2 -2
- package/dist/components/Notification/NotificationBadge/icons/System.cjs +2 -2
- package/dist/components/Notification/NotificationBadge/icons/System.d.ts +1 -1
- package/dist/components/Notification/NotificationBadge/icons/System.js +2 -2
- package/dist/components/Notification/NotificationRightChevron.cjs +2 -2
- package/dist/components/Notification/NotificationRightChevron.d.ts +1 -1
- package/dist/components/Notification/NotificationRightChevron.js +2 -2
- package/dist/components/Notification/styles.d.ts +2 -2
- package/dist/components/Popover/styles.d.ts +2 -2
- package/dist/components/Progress/Progress.cjs +1 -1
- package/dist/components/Progress/Progress.js +1 -1
- package/dist/components/Progress/styles.d.ts +2 -2
- package/dist/components/Radio/Radio.cjs +3 -3
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +3 -3
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Radio/states/RadioChecked.cjs +2 -2
- package/dist/components/Radio/states/RadioChecked.d.ts +1 -1
- package/dist/components/Radio/states/RadioChecked.js +2 -2
- package/dist/components/Radio/states/RadioCheckedDisabled.cjs +2 -2
- package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +1 -1
- package/dist/components/Radio/states/RadioCheckedDisabled.js +2 -2
- package/dist/components/Radio/states/RadioCheckedFocussed.cjs +2 -2
- package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +1 -1
- package/dist/components/Radio/states/RadioCheckedFocussed.js +2 -2
- package/dist/components/Radio/states/RadioCheckedHover.cjs +2 -2
- package/dist/components/Radio/states/RadioCheckedHover.d.ts +1 -1
- package/dist/components/Radio/states/RadioCheckedHover.js +2 -2
- package/dist/components/Radio/states/RadioUnchecked.cjs +2 -2
- package/dist/components/Radio/states/RadioUnchecked.d.ts +1 -1
- package/dist/components/Radio/states/RadioUnchecked.js +2 -2
- package/dist/components/Radio/states/RadioUncheckedDisabled.cjs +2 -2
- package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +1 -1
- package/dist/components/Radio/states/RadioUncheckedDisabled.js +2 -2
- package/dist/components/Radio/states/RadioUncheckedFocussed.cjs +2 -2
- package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +1 -1
- package/dist/components/Radio/states/RadioUncheckedFocussed.js +2 -2
- package/dist/components/Radio/states/RadioUncheckedHover.cjs +2 -2
- package/dist/components/Radio/states/RadioUncheckedHover.d.ts +1 -1
- package/dist/components/Radio/states/RadioUncheckedHover.js +2 -2
- package/dist/components/Row/Row.cjs +2 -2
- package/dist/components/Row/Row.d.ts +1 -1
- package/dist/components/Row/Row.js +2 -2
- package/dist/components/Row/RowActions/RowActions.d.ts +2 -2
- package/dist/components/Row/RowLabelValue/RowLabelValue.cjs +1 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +2 -2
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +1 -1
- package/dist/components/Row/RowLabelValue/styles.d.ts +2 -2
- package/dist/components/Row/styles.d.ts +2 -2
- package/dist/components/SegmentedControls/styles.d.ts +2 -2
- package/dist/components/Select/Select.cjs +187 -51
- package/dist/components/Select/Select.d.ts +10 -3
- package/dist/components/Select/Select.js +189 -53
- package/dist/components/Select/SelectTrigger.cjs +131 -0
- package/dist/components/Select/SelectTrigger.d.ts +23 -0
- package/dist/components/Select/SelectTrigger.js +132 -0
- package/dist/components/Select/__stories__/Select.stories.d.ts +4 -3
- package/dist/components/Select/index.d.ts +0 -2
- package/dist/components/Switch/styles.d.ts +2 -2
- package/dist/components/Table/Table.cjs +21 -2
- package/dist/components/Table/Table.d.ts +7 -3
- package/dist/components/Table/Table.js +21 -2
- package/dist/components/Table/TableControls/CustomPagination.cjs +321 -0
- package/dist/components/Table/TableControls/CustomPagination.d.ts +13 -0
- package/dist/components/Table/TableControls/CustomPagination.js +321 -0
- package/dist/components/Table/TableControls/PaginationNumber.cjs +44 -0
- package/dist/components/Table/TableControls/PaginationNumber.d.ts +7 -0
- package/dist/components/Table/TableControls/PaginationNumber.js +45 -0
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.cjs +74 -39
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.d.ts +3 -1
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +74 -39
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.cjs +8 -6
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.js +8 -6
- package/dist/components/Table/TableControls/TableControls.cjs +3 -1
- package/dist/components/Table/TableControls/TableControls.js +3 -1
- package/dist/components/Table/TableControls/__stories__/CustomPaginationStandalone.stories.d.ts +9 -0
- package/dist/components/Table/TableControls/__stories__/PaginationNumber.stories.d.ts +7 -0
- package/dist/components/Table/TableControls/styles.d.ts +2 -2
- package/dist/components/Table/TablePagination.cjs +51 -0
- package/dist/components/Table/TablePagination.d.ts +13 -0
- package/dist/components/Table/TablePagination.js +52 -0
- package/dist/components/Table/TableWithControls/TableWithControls.cjs +2 -2
- package/dist/components/Table/TableWithControls/TableWithControls.js +2 -2
- package/dist/components/Table/TableWithControls/useTableWithControls.cjs +19 -19
- package/dist/components/Table/TableWithControls/useTableWithControls.js +20 -20
- package/dist/components/Table/__mocks__/table-mocks.cjs +241 -9
- package/dist/components/Table/__mocks__/table-mocks.d.ts +1 -1
- package/dist/components/Table/__mocks__/table-mocks.js +241 -9
- package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +3 -1
- package/dist/components/Table/__stories__/Table.stories.d.ts +4 -4
- package/dist/components/Table/index.d.ts +2 -1
- package/dist/components/Table/styles.cjs +54 -25
- package/dist/components/Table/styles.d.ts +25 -4
- package/dist/components/Table/styles.js +54 -25
- package/dist/components/Tabs/styles.d.ts +2 -2
- package/dist/components/Tile/styles.d.ts +2 -2
- package/dist/components/Toast/Toast.cjs +20 -10
- package/dist/components/Toast/Toast.js +20 -10
- package/dist/components/Tooltip/Tooltip.cjs +4 -4
- package/dist/components/Tooltip/Tooltip.js +4 -4
- package/dist/components/Tooltip/styles.cjs +18 -2
- package/dist/components/Tooltip/styles.d.ts +2 -2
- package/dist/components/Tooltip/styles.js +18 -2
- package/dist/components/Typography/Typography.cjs +1 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/styles.cjs +4 -2
- package/dist/components/Typography/styles.d.ts +4 -4
- package/dist/components/Typography/styles.js +4 -2
- package/dist/components/index.d.ts +4 -2
- package/dist/components/shared/DropdownChevron.cjs +3 -3
- package/dist/components/shared/DropdownChevron.d.ts +1 -1
- package/dist/components/shared/DropdownChevron.js +3 -3
- package/dist/genesis/GenesisThemeDemo.d.ts +2 -2
- package/dist/genesis/styles.d.ts +3 -3
- package/dist/index.cjs +6 -4
- package/dist/index.js +52 -50
- package/dist/node_modules/@socket.io/component-emitter/lib/esm/index.cjs +72 -0
- package/dist/node_modules/@socket.io/component-emitter/lib/esm/index.js +73 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs +67 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +68 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.cjs +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs +134 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +135 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.cjs +21 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +22 -0
- package/dist/node_modules/bail/index.cjs +7 -0
- package/dist/node_modules/bail/index.js +8 -0
- package/dist/node_modules/comma-separated-tokens/index.cjs +9 -0
- package/dist/node_modules/comma-separated-tokens/index.js +10 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.cjs +16 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +17 -0
- package/dist/node_modules/devlop/lib/default.cjs +7 -0
- package/dist/node_modules/devlop/lib/default.js +8 -0
- package/dist/node_modules/engine.io-client/build/esm/contrib/has-cors.cjs +8 -0
- package/dist/node_modules/engine.io-client/build/esm/contrib/has-cors.js +9 -0
- package/dist/node_modules/engine.io-client/build/esm/contrib/parseqs.cjs +23 -0
- package/dist/node_modules/engine.io-client/build/esm/contrib/parseqs.js +24 -0
- package/dist/node_modules/engine.io-client/build/esm/contrib/parseuri.cjs +60 -0
- package/dist/node_modules/engine.io-client/build/esm/contrib/parseuri.js +61 -0
- package/dist/node_modules/engine.io-client/build/esm/globals.cjs +25 -0
- package/dist/node_modules/engine.io-client/build/esm/globals.js +26 -0
- package/dist/node_modules/engine.io-client/build/esm/socket.cjs +575 -0
- package/dist/node_modules/engine.io-client/build/esm/socket.js +576 -0
- package/dist/node_modules/engine.io-client/build/esm/transport.cjs +137 -0
- package/dist/node_modules/engine.io-client/build/esm/transport.js +138 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/index.cjs +10 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/index.js +11 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.cjs +248 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +249 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/polling.cjs +134 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/polling.js +135 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/websocket.cjs +101 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/websocket.js +102 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/webtransport.cjs +66 -0
- package/dist/node_modules/engine.io-client/build/esm/transports/webtransport.js +67 -0
- package/dist/node_modules/engine.io-client/build/esm/util.cjs +52 -0
- package/dist/node_modules/engine.io-client/build/esm/util.js +53 -0
- package/dist/node_modules/engine.io-parser/build/esm/commons.cjs +17 -0
- package/dist/node_modules/engine.io-parser/build/esm/commons.js +18 -0
- package/dist/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.cjs +27 -0
- package/dist/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js +28 -0
- package/dist/node_modules/engine.io-parser/build/esm/decodePacket.browser.cjs +55 -0
- package/dist/node_modules/engine.io-parser/build/esm/decodePacket.browser.js +56 -0
- package/dist/node_modules/engine.io-parser/build/esm/encodePacket.browser.cjs +56 -0
- package/dist/node_modules/engine.io-parser/build/esm/encodePacket.browser.js +57 -0
- package/dist/node_modules/engine.io-parser/build/esm/index.cjs +151 -0
- package/dist/node_modules/engine.io-parser/build/esm/index.js +152 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.cjs +10 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +11 -0
- package/dist/node_modules/extend/index.cjs +93 -0
- package/dist/node_modules/extend/index.js +94 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +389 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +390 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.cjs +9 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/html-url-attributes/lib/index.cjs +25 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/node_modules/inline-style-parser/index.cjs +140 -0
- package/dist/node_modules/inline-style-parser/index.js +141 -0
- package/dist/node_modules/is-plain-obj/index.cjs +9 -0
- package/dist/node_modules/is-plain-obj/index.js +10 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs +718 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +719 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.cjs +114 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +115 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.cjs +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +23 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +24 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +40 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +41 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.cjs +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +11 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.cjs +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +16 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.cjs +58 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +59 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +23 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +24 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.cjs +17 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +63 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +64 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.cjs +25 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +26 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.cjs +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +34 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +35 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.cjs +38 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +39 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.cjs +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.cjs +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.cjs +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +29 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.cjs +147 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +148 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.cjs +37 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +38 -0
- package/dist/node_modules/micromark/lib/constructs.cjs +92 -0
- package/dist/node_modules/micromark/lib/constructs.js +93 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.cjs +319 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +320 -0
- package/dist/node_modules/micromark/lib/initialize/content.cjs +52 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +53 -0
- package/dist/node_modules/micromark/lib/initialize/document.cjs +185 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +186 -0
- package/dist/node_modules/micromark/lib/initialize/flow.cjs +41 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +42 -0
- package/dist/node_modules/micromark/lib/initialize/text.cjs +141 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +142 -0
- package/dist/node_modules/micromark/lib/parse.cjs +33 -0
- package/dist/node_modules/micromark/lib/parse.js +34 -0
- package/dist/node_modules/micromark/lib/postprocess.cjs +8 -0
- package/dist/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/node_modules/micromark/lib/preprocess.cjs +79 -0
- package/dist/node_modules/micromark/lib/preprocess.js +80 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.cjs +134 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +135 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.cjs +102 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +103 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.cjs +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.cjs +60 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +61 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.cjs +27 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +28 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.cjs +67 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +68 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.cjs +185 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +186 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.cjs +66 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +67 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.cjs +115 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +116 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.cjs +74 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +75 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.cjs +93 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +94 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +22 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.cjs +94 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +95 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.cjs +382 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +383 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.cjs +308 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +309 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.cjs +234 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +235 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.cjs +32 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +33 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.cjs +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +24 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.cjs +16 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.cjs +134 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +135 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.cjs +94 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +95 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.cjs +41 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +42 -0
- package/dist/node_modules/micromark-factory-destination/index.cjs +93 -0
- package/dist/node_modules/micromark-factory-destination/index.js +94 -0
- package/dist/node_modules/micromark-factory-label/index.cjs +62 -0
- package/dist/node_modules/micromark-factory-label/index.js +63 -0
- package/dist/node_modules/micromark-factory-space/index.cjs +23 -0
- package/dist/node_modules/micromark-factory-space/index.js +24 -0
- package/dist/node_modules/micromark-factory-title/index.cjs +64 -0
- package/dist/node_modules/micromark-factory-title/index.js +65 -0
- package/dist/node_modules/micromark-factory-whitespace/index.cjs +21 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +22 -0
- package/dist/node_modules/micromark-util-character/index.cjs +43 -0
- package/dist/node_modules/micromark-util-character/index.js +44 -0
- package/dist/node_modules/micromark-util-chunked/index.cjs +35 -0
- package/dist/node_modules/micromark-util-chunked/index.js +36 -0
- package/dist/node_modules/micromark-util-classify-character/index.cjs +11 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +12 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.cjs +40 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +41 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.cjs +18 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +19 -0
- package/dist/node_modules/micromark-util-decode-string/index.cjs +20 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +21 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.cjs +68 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +69 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.cjs +5 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.cjs +14 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +15 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.cjs +40 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +41 -0
- package/dist/node_modules/micromark-util-subtokenize/index.cjs +156 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +157 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +193 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +194 -0
- package/dist/node_modules/property-information/index.cjs +12 -0
- package/dist/node_modules/property-information/index.js +13 -0
- package/dist/node_modules/property-information/lib/aria.cjs +60 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.cjs +39 -0
- package/dist/node_modules/property-information/lib/find.js +40 -0
- package/dist/node_modules/property-information/lib/hast-to-react.cjs +21 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.cjs +367 -0
- package/dist/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/property-information/lib/normalize.cjs +5 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.cjs +565 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.cjs +6 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.cjs +5 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.cjs +24 -0
- package/dist/node_modules/property-information/lib/util/create.js +25 -0
- package/dist/node_modules/property-information/lib/util/defined-info.cjs +40 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +41 -0
- package/dist/node_modules/property-information/lib/util/info.cjs +28 -0
- package/dist/node_modules/property-information/lib/util/info.js +29 -0
- package/dist/node_modules/property-information/lib/util/merge.cjs +12 -0
- package/dist/node_modules/property-information/lib/util/merge.js +13 -0
- package/dist/node_modules/property-information/lib/util/schema.cjs +24 -0
- package/dist/node_modules/property-information/lib/util/schema.js +25 -0
- package/dist/node_modules/property-information/lib/util/types.cjs +19 -0
- package/dist/node_modules/property-information/lib/util/types.js +20 -0
- package/dist/node_modules/property-information/lib/xlink.cjs +18 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.cjs +10 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.cjs +10 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-icons/hi/index.cjs +32 -0
- package/dist/node_modules/react-icons/hi/index.js +33 -1
- package/dist/node_modules/react-icons/pi/index.cjs +4 -0
- package/dist/node_modules/react-icons/pi/index.js +5 -1
- package/dist/node_modules/react-markdown/lib/index.cjs +148 -0
- package/dist/node_modules/react-markdown/lib/index.js +149 -0
- package/dist/node_modules/remark-parse/lib/index.cjs +18 -0
- package/dist/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/node_modules/remark-rehype/lib/index.cjs +20 -0
- package/dist/node_modules/remark-rehype/lib/index.js +21 -0
- package/dist/node_modules/socket.io-client/build/esm/contrib/backo2.cjs +31 -0
- package/dist/node_modules/socket.io-client/build/esm/contrib/backo2.js +32 -0
- package/dist/node_modules/socket.io-client/build/esm/index.cjs +58 -0
- package/dist/node_modules/socket.io-client/build/esm/index.js +58 -0
- package/dist/node_modules/socket.io-client/build/esm/manager.cjs +363 -0
- package/dist/node_modules/socket.io-client/build/esm/manager.js +364 -0
- package/dist/node_modules/socket.io-client/build/esm/on.cjs +8 -0
- package/dist/node_modules/socket.io-client/build/esm/on.js +9 -0
- package/dist/node_modules/socket.io-client/build/esm/socket.cjs +777 -0
- package/dist/node_modules/socket.io-client/build/esm/socket.js +778 -0
- package/dist/node_modules/socket.io-client/build/esm/url.cjs +48 -0
- package/dist/node_modules/socket.io-client/build/esm/url.js +49 -0
- package/dist/node_modules/socket.io-parser/build/esm/binary.cjs +64 -0
- package/dist/node_modules/socket.io-parser/build/esm/binary.js +65 -0
- package/dist/node_modules/socket.io-parser/build/esm/index.cjs +261 -0
- package/dist/node_modules/socket.io-parser/build/esm/index.js +263 -0
- package/dist/node_modules/socket.io-parser/build/esm/is-binary.cjs +38 -0
- package/dist/node_modules/socket.io-parser/build/esm/is-binary.js +39 -0
- package/dist/node_modules/space-separated-tokens/index.cjs +5 -0
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/style-to-js/cjs/index.cjs +30 -0
- package/dist/node_modules/style-to-js/cjs/index.js +31 -0
- package/dist/node_modules/style-to-js/cjs/utilities.cjs +41 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +42 -0
- package/dist/node_modules/style-to-object/cjs/index.cjs +37 -0
- package/dist/node_modules/style-to-object/cjs/index.js +38 -0
- package/dist/node_modules/trim-lines/index.cjs +40 -0
- package/dist/node_modules/trim-lines/index.js +41 -0
- package/dist/node_modules/trough/lib/index.cjs +85 -0
- package/dist/node_modules/trough/lib/index.js +86 -0
- package/dist/node_modules/unified/lib/callable-instance.cjs +29 -0
- package/dist/node_modules/unified/lib/callable-instance.js +30 -0
- package/dist/node_modules/unified/lib/index.cjs +635 -0
- package/dist/node_modules/unified/lib/index.js +636 -0
- package/dist/node_modules/unist-util-is/lib/index.cjs +92 -0
- package/dist/node_modules/unist-util-is/lib/index.js +93 -0
- package/dist/node_modules/unist-util-position/lib/index.cjs +26 -0
- package/dist/node_modules/unist-util-position/lib/index.js +27 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.cjs +26 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +27 -0
- package/dist/node_modules/unist-util-visit/lib/index.cjs +26 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +28 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.cjs +5 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.cjs +82 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +83 -0
- package/dist/node_modules/vfile/lib/index.cjs +461 -0
- package/dist/node_modules/vfile/lib/index.js +462 -0
- package/dist/node_modules/vfile/lib/minpath.browser.cjs +213 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +214 -0
- package/dist/node_modules/vfile/lib/minproc.browser.cjs +6 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.cjs +45 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +46 -0
- package/dist/node_modules/vfile/lib/minurl.shared.cjs +8 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +9 -0
- package/dist/node_modules/vfile-message/lib/index.cjs +137 -0
- package/dist/node_modules/vfile-message/lib/index.js +138 -0
- package/dist/providers/BreakpointProvider.cjs +4 -2
- package/dist/providers/BreakpointProvider.d.ts +2 -2
- package/dist/providers/BreakpointProvider.js +4 -2
- package/dist/providers/GenesisProvider.cjs +1 -1
- package/dist/providers/GenesisProvider.d.ts +2 -2
- package/dist/providers/GenesisProvider.js +1 -1
- package/dist/providers/ToastProvider.cjs +3 -3
- package/dist/providers/ToastProvider.js +3 -3
- package/dist/providers/useGenesis.cjs +1 -1
- package/dist/providers/useGenesis.js +1 -1
- package/dist/styles/global-styles.cjs +1 -1
- package/dist/styles/global-styles.js +1 -1
- package/dist/styles/theme/genesis-theme.cjs +19 -8
- package/dist/styles/theme/genesis-theme.js +20 -9
- package/dist/styles/theme/genesis-theme.types.d.ts +7 -1
- package/dist/utils/icon-util.cjs +57 -48
- package/dist/utils/icon-util.js +58 -49
- package/dist/utils/styled.d.ts +1 -6
- package/dist/utils/user-util.cjs +2 -2
- package/dist/utils/user-util.js +2 -2
- package/package.json +11 -2
- package/dist/components/Select/MultiSelectCount.cjs +0 -48
- package/dist/components/Select/MultiSelectCount.d.ts +0 -13
- package/dist/components/Select/MultiSelectCount.js +0 -49
- package/dist/components/Select/__stories__/MultiSelectCount.stories.d.ts +0 -8
- package/dist/components/Select/styles.cjs +0 -238
- package/dist/components/Select/styles.d.ts +0 -41
- package/dist/components/Select/styles.js +0 -239
- package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleFilled.cjs +0 -35
- package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleFilled.js +0 -17
- package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleFilled.cjs +0 -35
- package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleFilled.js +0 -17
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleFilled.cjs +0 -3
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleFilled.js +0 -4
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleFilled.cjs +0 -3
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleFilled.js +0 -4
- package/dist/node_modules/debounce/index.cjs +0 -83
- package/dist/node_modules/debounce/index.js +0 -84
- package/dist/utils/styled.cjs +0 -10
- package/dist/utils/styled.js +0 -11
- /package/dist/components/{Select/__tests__/Select.test.d.ts → Table/TableControls/__tests__/CustomPagination.test.d.ts} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Info } from "./info.js";
|
|
2
|
+
import * as types from "./types.js";
|
|
3
|
+
const checks = (
|
|
4
|
+
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
5
|
+
Object.keys(types)
|
|
6
|
+
);
|
|
7
|
+
class DefinedInfo extends Info {
|
|
8
|
+
/**
|
|
9
|
+
* @constructor
|
|
10
|
+
* @param {string} property
|
|
11
|
+
* Property.
|
|
12
|
+
* @param {string} attribute
|
|
13
|
+
* Attribute.
|
|
14
|
+
* @param {number | null | undefined} [mask]
|
|
15
|
+
* Mask.
|
|
16
|
+
* @param {Space | undefined} [space]
|
|
17
|
+
* Space.
|
|
18
|
+
* @returns
|
|
19
|
+
* Info.
|
|
20
|
+
*/
|
|
21
|
+
constructor(property, attribute, mask, space) {
|
|
22
|
+
let index = -1;
|
|
23
|
+
super(property, attribute);
|
|
24
|
+
mark(this, "space", space);
|
|
25
|
+
if (typeof mask === "number") {
|
|
26
|
+
while (++index < checks.length) {
|
|
27
|
+
const check = checks[index];
|
|
28
|
+
mark(this, checks[index], (mask & types[check]) === types[check]);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
DefinedInfo.prototype.defined = true;
|
|
34
|
+
function mark(values, key, value) {
|
|
35
|
+
if (value) {
|
|
36
|
+
values[key] = value;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
DefinedInfo
|
|
41
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
class Info {
|
|
3
|
+
/**
|
|
4
|
+
* @param {string} property
|
|
5
|
+
* Property.
|
|
6
|
+
* @param {string} attribute
|
|
7
|
+
* Attribute.
|
|
8
|
+
* @returns
|
|
9
|
+
* Info.
|
|
10
|
+
*/
|
|
11
|
+
constructor(property, attribute) {
|
|
12
|
+
this.attribute = attribute;
|
|
13
|
+
this.property = property;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
Info.prototype.attribute = "";
|
|
17
|
+
Info.prototype.booleanish = false;
|
|
18
|
+
Info.prototype.boolean = false;
|
|
19
|
+
Info.prototype.commaOrSpaceSeparated = false;
|
|
20
|
+
Info.prototype.commaSeparated = false;
|
|
21
|
+
Info.prototype.defined = false;
|
|
22
|
+
Info.prototype.mustUseProperty = false;
|
|
23
|
+
Info.prototype.number = false;
|
|
24
|
+
Info.prototype.overloadedBoolean = false;
|
|
25
|
+
Info.prototype.property = "";
|
|
26
|
+
Info.prototype.spaceSeparated = false;
|
|
27
|
+
Info.prototype.space = void 0;
|
|
28
|
+
exports.Info = Info;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
class Info {
|
|
2
|
+
/**
|
|
3
|
+
* @param {string} property
|
|
4
|
+
* Property.
|
|
5
|
+
* @param {string} attribute
|
|
6
|
+
* Attribute.
|
|
7
|
+
* @returns
|
|
8
|
+
* Info.
|
|
9
|
+
*/
|
|
10
|
+
constructor(property, attribute) {
|
|
11
|
+
this.attribute = attribute;
|
|
12
|
+
this.property = property;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
Info.prototype.attribute = "";
|
|
16
|
+
Info.prototype.booleanish = false;
|
|
17
|
+
Info.prototype.boolean = false;
|
|
18
|
+
Info.prototype.commaOrSpaceSeparated = false;
|
|
19
|
+
Info.prototype.commaSeparated = false;
|
|
20
|
+
Info.prototype.defined = false;
|
|
21
|
+
Info.prototype.mustUseProperty = false;
|
|
22
|
+
Info.prototype.number = false;
|
|
23
|
+
Info.prototype.overloadedBoolean = false;
|
|
24
|
+
Info.prototype.property = "";
|
|
25
|
+
Info.prototype.spaceSeparated = false;
|
|
26
|
+
Info.prototype.space = void 0;
|
|
27
|
+
export {
|
|
28
|
+
Info
|
|
29
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var schema = require("./schema.cjs");
|
|
3
|
+
function merge(definitions, space) {
|
|
4
|
+
const property = {};
|
|
5
|
+
const normal = {};
|
|
6
|
+
for (const definition of definitions) {
|
|
7
|
+
Object.assign(property, definition.property);
|
|
8
|
+
Object.assign(normal, definition.normal);
|
|
9
|
+
}
|
|
10
|
+
return new schema.Schema(property, normal, space);
|
|
11
|
+
}
|
|
12
|
+
exports.merge = merge;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Schema } from "./schema.js";
|
|
2
|
+
function merge(definitions, space) {
|
|
3
|
+
const property = {};
|
|
4
|
+
const normal = {};
|
|
5
|
+
for (const definition of definitions) {
|
|
6
|
+
Object.assign(property, definition.property);
|
|
7
|
+
Object.assign(normal, definition.normal);
|
|
8
|
+
}
|
|
9
|
+
return new Schema(property, normal, space);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
merge
|
|
13
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
class Schema {
|
|
3
|
+
/**
|
|
4
|
+
* @param {SchemaType['property']} property
|
|
5
|
+
* Property.
|
|
6
|
+
* @param {SchemaType['normal']} normal
|
|
7
|
+
* Normal.
|
|
8
|
+
* @param {Space | undefined} [space]
|
|
9
|
+
* Space.
|
|
10
|
+
* @returns
|
|
11
|
+
* Schema.
|
|
12
|
+
*/
|
|
13
|
+
constructor(property, normal, space) {
|
|
14
|
+
this.normal = normal;
|
|
15
|
+
this.property = property;
|
|
16
|
+
if (space) {
|
|
17
|
+
this.space = space;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
Schema.prototype.normal = {};
|
|
22
|
+
Schema.prototype.property = {};
|
|
23
|
+
Schema.prototype.space = void 0;
|
|
24
|
+
exports.Schema = Schema;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
class Schema {
|
|
2
|
+
/**
|
|
3
|
+
* @param {SchemaType['property']} property
|
|
4
|
+
* Property.
|
|
5
|
+
* @param {SchemaType['normal']} normal
|
|
6
|
+
* Normal.
|
|
7
|
+
* @param {Space | undefined} [space]
|
|
8
|
+
* Space.
|
|
9
|
+
* @returns
|
|
10
|
+
* Schema.
|
|
11
|
+
*/
|
|
12
|
+
constructor(property, normal, space) {
|
|
13
|
+
this.normal = normal;
|
|
14
|
+
this.property = property;
|
|
15
|
+
if (space) {
|
|
16
|
+
this.space = space;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
Schema.prototype.normal = {};
|
|
21
|
+
Schema.prototype.property = {};
|
|
22
|
+
Schema.prototype.space = void 0;
|
|
23
|
+
export {
|
|
24
|
+
Schema
|
|
25
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
let powers = 0;
|
|
3
|
+
const boolean = increment();
|
|
4
|
+
const booleanish = increment();
|
|
5
|
+
const overloadedBoolean = increment();
|
|
6
|
+
const number = increment();
|
|
7
|
+
const spaceSeparated = increment();
|
|
8
|
+
const commaSeparated = increment();
|
|
9
|
+
const commaOrSpaceSeparated = increment();
|
|
10
|
+
function increment() {
|
|
11
|
+
return 2 ** ++powers;
|
|
12
|
+
}
|
|
13
|
+
exports.boolean = boolean;
|
|
14
|
+
exports.booleanish = booleanish;
|
|
15
|
+
exports.commaOrSpaceSeparated = commaOrSpaceSeparated;
|
|
16
|
+
exports.commaSeparated = commaSeparated;
|
|
17
|
+
exports.number = number;
|
|
18
|
+
exports.overloadedBoolean = overloadedBoolean;
|
|
19
|
+
exports.spaceSeparated = spaceSeparated;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
let powers = 0;
|
|
2
|
+
const boolean = increment();
|
|
3
|
+
const booleanish = increment();
|
|
4
|
+
const overloadedBoolean = increment();
|
|
5
|
+
const number = increment();
|
|
6
|
+
const spaceSeparated = increment();
|
|
7
|
+
const commaSeparated = increment();
|
|
8
|
+
const commaOrSpaceSeparated = increment();
|
|
9
|
+
function increment() {
|
|
10
|
+
return 2 ** ++powers;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
boolean,
|
|
14
|
+
booleanish,
|
|
15
|
+
commaOrSpaceSeparated,
|
|
16
|
+
commaSeparated,
|
|
17
|
+
number,
|
|
18
|
+
overloadedBoolean,
|
|
19
|
+
spaceSeparated
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var create = require("./util/create.cjs");
|
|
3
|
+
const xlink = create.create({
|
|
4
|
+
properties: {
|
|
5
|
+
xLinkActuate: null,
|
|
6
|
+
xLinkArcRole: null,
|
|
7
|
+
xLinkHref: null,
|
|
8
|
+
xLinkRole: null,
|
|
9
|
+
xLinkShow: null,
|
|
10
|
+
xLinkTitle: null,
|
|
11
|
+
xLinkType: null
|
|
12
|
+
},
|
|
13
|
+
space: "xlink",
|
|
14
|
+
transform(_, property) {
|
|
15
|
+
return "xlink:" + property.slice(5).toLowerCase();
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
exports.xlink = xlink;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { create } from "./util/create.js";
|
|
2
|
+
const xlink = create({
|
|
3
|
+
properties: {
|
|
4
|
+
xLinkActuate: null,
|
|
5
|
+
xLinkArcRole: null,
|
|
6
|
+
xLinkHref: null,
|
|
7
|
+
xLinkRole: null,
|
|
8
|
+
xLinkShow: null,
|
|
9
|
+
xLinkTitle: null,
|
|
10
|
+
xLinkType: null
|
|
11
|
+
},
|
|
12
|
+
space: "xlink",
|
|
13
|
+
transform(_, property) {
|
|
14
|
+
return "xlink:" + property.slice(5).toLowerCase();
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
xlink
|
|
19
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var create = require("./util/create.cjs");
|
|
3
|
+
const xml = create.create({
|
|
4
|
+
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
5
|
+
space: "xml",
|
|
6
|
+
transform(_, property) {
|
|
7
|
+
return "xml:" + property.slice(3).toLowerCase();
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
exports.xml = xml;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var create = require("./util/create.cjs");
|
|
3
|
+
var caseInsensitiveTransform = require("./util/case-insensitive-transform.cjs");
|
|
4
|
+
const xmlns = create.create({
|
|
5
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
6
|
+
properties: { xmlnsXLink: null, xmlns: null },
|
|
7
|
+
space: "xmlns",
|
|
8
|
+
transform: caseInsensitiveTransform.caseInsensitiveTransform
|
|
9
|
+
});
|
|
10
|
+
exports.xmlns = xmlns;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { create } from "./util/create.js";
|
|
2
|
+
import { caseInsensitiveTransform } from "./util/case-insensitive-transform.js";
|
|
3
|
+
const xmlns = create({
|
|
4
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
5
|
+
properties: { xmlnsXLink: null, xmlns: null },
|
|
6
|
+
space: "xmlns",
|
|
7
|
+
transform: caseInsensitiveTransform
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
xmlns
|
|
11
|
+
};
|
|
@@ -1,27 +1,59 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var iconBase = require("../lib/iconBase.cjs");
|
|
3
3
|
require("../lib/iconContext.cjs");
|
|
4
|
+
function HiClock(props) {
|
|
5
|
+
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
6
|
+
}
|
|
7
|
+
function HiExclamationCircle(props) {
|
|
8
|
+
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
9
|
+
}
|
|
10
|
+
function HiMinusCircle(props) {
|
|
11
|
+
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 000 2h6a1 1 0 100-2H7z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
12
|
+
}
|
|
4
13
|
function HiSearch(props) {
|
|
5
14
|
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
6
15
|
}
|
|
16
|
+
function HiXCircle(props) {
|
|
17
|
+
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
18
|
+
}
|
|
7
19
|
function HiOutlineCheckCircle(props) {
|
|
8
20
|
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
9
21
|
}
|
|
22
|
+
function HiOutlineClock(props) {
|
|
23
|
+
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
24
|
+
}
|
|
25
|
+
function HiOutlineExclamationCircle(props) {
|
|
26
|
+
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
27
|
+
}
|
|
10
28
|
function HiOutlineGlobe(props) {
|
|
11
29
|
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
12
30
|
}
|
|
31
|
+
function HiOutlineMinusCircle(props) {
|
|
32
|
+
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
33
|
+
}
|
|
13
34
|
function HiOutlineSortAscending(props) {
|
|
14
35
|
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12" }, "child": [] }] })(props);
|
|
15
36
|
}
|
|
16
37
|
function HiOutlineSortDescending(props) {
|
|
17
38
|
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4" }, "child": [] }] })(props);
|
|
18
39
|
}
|
|
40
|
+
function HiOutlineXCircle(props) {
|
|
41
|
+
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
42
|
+
}
|
|
19
43
|
function HiOutlineX(props) {
|
|
20
44
|
return iconBase.GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M6 18L18 6M6 6l12 12" }, "child": [] }] })(props);
|
|
21
45
|
}
|
|
46
|
+
exports.HiClock = HiClock;
|
|
47
|
+
exports.HiExclamationCircle = HiExclamationCircle;
|
|
48
|
+
exports.HiMinusCircle = HiMinusCircle;
|
|
22
49
|
exports.HiOutlineCheckCircle = HiOutlineCheckCircle;
|
|
50
|
+
exports.HiOutlineClock = HiOutlineClock;
|
|
51
|
+
exports.HiOutlineExclamationCircle = HiOutlineExclamationCircle;
|
|
23
52
|
exports.HiOutlineGlobe = HiOutlineGlobe;
|
|
53
|
+
exports.HiOutlineMinusCircle = HiOutlineMinusCircle;
|
|
24
54
|
exports.HiOutlineSortAscending = HiOutlineSortAscending;
|
|
25
55
|
exports.HiOutlineSortDescending = HiOutlineSortDescending;
|
|
26
56
|
exports.HiOutlineX = HiOutlineX;
|
|
57
|
+
exports.HiOutlineXCircle = HiOutlineXCircle;
|
|
27
58
|
exports.HiSearch = HiSearch;
|
|
59
|
+
exports.HiXCircle = HiXCircle;
|
|
@@ -1,28 +1,60 @@
|
|
|
1
1
|
import { GenIcon } from "../lib/iconBase.js";
|
|
2
2
|
import "../lib/iconContext.js";
|
|
3
|
+
function HiClock(props) {
|
|
4
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
5
|
+
}
|
|
6
|
+
function HiExclamationCircle(props) {
|
|
7
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
8
|
+
}
|
|
9
|
+
function HiMinusCircle(props) {
|
|
10
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 000 2h6a1 1 0 100-2H7z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
11
|
+
}
|
|
3
12
|
function HiSearch(props) {
|
|
4
13
|
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
5
14
|
}
|
|
15
|
+
function HiXCircle(props) {
|
|
16
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
17
|
+
}
|
|
6
18
|
function HiOutlineCheckCircle(props) {
|
|
7
19
|
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
8
20
|
}
|
|
21
|
+
function HiOutlineClock(props) {
|
|
22
|
+
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
23
|
+
}
|
|
24
|
+
function HiOutlineExclamationCircle(props) {
|
|
25
|
+
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
26
|
+
}
|
|
9
27
|
function HiOutlineGlobe(props) {
|
|
10
28
|
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
11
29
|
}
|
|
30
|
+
function HiOutlineMinusCircle(props) {
|
|
31
|
+
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
32
|
+
}
|
|
12
33
|
function HiOutlineSortAscending(props) {
|
|
13
34
|
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12" }, "child": [] }] })(props);
|
|
14
35
|
}
|
|
15
36
|
function HiOutlineSortDescending(props) {
|
|
16
37
|
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4" }, "child": [] }] })(props);
|
|
17
38
|
}
|
|
39
|
+
function HiOutlineXCircle(props) {
|
|
40
|
+
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" }, "child": [] }] })(props);
|
|
41
|
+
}
|
|
18
42
|
function HiOutlineX(props) {
|
|
19
43
|
return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M6 18L18 6M6 6l12 12" }, "child": [] }] })(props);
|
|
20
44
|
}
|
|
21
45
|
export {
|
|
46
|
+
HiClock,
|
|
47
|
+
HiExclamationCircle,
|
|
48
|
+
HiMinusCircle,
|
|
22
49
|
HiOutlineCheckCircle,
|
|
50
|
+
HiOutlineClock,
|
|
51
|
+
HiOutlineExclamationCircle,
|
|
23
52
|
HiOutlineGlobe,
|
|
53
|
+
HiOutlineMinusCircle,
|
|
24
54
|
HiOutlineSortAscending,
|
|
25
55
|
HiOutlineSortDescending,
|
|
26
56
|
HiOutlineX,
|
|
27
|
-
|
|
57
|
+
HiOutlineXCircle,
|
|
58
|
+
HiSearch,
|
|
59
|
+
HiXCircle
|
|
28
60
|
};
|
|
@@ -7,5 +7,9 @@ function PiInfoFill(props) {
|
|
|
7
7
|
function PiInfo(props) {
|
|
8
8
|
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z" }, "child": [] }] })(props);
|
|
9
9
|
}
|
|
10
|
+
function PiRobot(props) {
|
|
11
|
+
return iconBase.GenIcon({ "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M200,48H136V16a8,8,0,0,0-16,0V48H56A32,32,0,0,0,24,80V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32V80A32,32,0,0,0,200,48Zm16,144a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V80A16,16,0,0,1,56,64H200a16,16,0,0,1,16,16Zm-52-56H92a28,28,0,0,0,0,56h72a28,28,0,0,0,0-56Zm-24,16v24H116V152ZM80,164a12,12,0,0,1,12-12h8v24H92A12,12,0,0,1,80,164Zm84,12h-8V152h8a12,12,0,0,1,0,24ZM72,108a12,12,0,1,1,12,12A12,12,0,0,1,72,108Zm88,0a12,12,0,1,1,12,12A12,12,0,0,1,160,108Z" }, "child": [] }] })(props);
|
|
12
|
+
}
|
|
10
13
|
exports.PiInfo = PiInfo;
|
|
11
14
|
exports.PiInfoFill = PiInfoFill;
|
|
15
|
+
exports.PiRobot = PiRobot;
|
|
@@ -6,7 +6,11 @@ function PiInfoFill(props) {
|
|
|
6
6
|
function PiInfo(props) {
|
|
7
7
|
return GenIcon({ "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z" }, "child": [] }] })(props);
|
|
8
8
|
}
|
|
9
|
+
function PiRobot(props) {
|
|
10
|
+
return GenIcon({ "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M200,48H136V16a8,8,0,0,0-16,0V48H56A32,32,0,0,0,24,80V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32V80A32,32,0,0,0,200,48Zm16,144a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V80A16,16,0,0,1,56,64H200a16,16,0,0,1,16,16Zm-52-56H92a28,28,0,0,0,0,56h72a28,28,0,0,0,0-56Zm-24,16v24H116V152ZM80,164a12,12,0,0,1,12-12h8v24H92A12,12,0,0,1,80,164Zm84,12h-8V152h8a12,12,0,0,1,0,24ZM72,108a12,12,0,1,1,12,12A12,12,0,0,1,72,108Zm88,0a12,12,0,1,1,12,12A12,12,0,0,1,160,108Z" }, "child": [] }] })(props);
|
|
11
|
+
}
|
|
9
12
|
export {
|
|
10
13
|
PiInfo,
|
|
11
|
-
PiInfoFill
|
|
14
|
+
PiInfoFill,
|
|
15
|
+
PiRobot
|
|
12
16
|
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _default = require("../../devlop/lib/default.cjs");
|
|
3
|
+
var jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
require("react");
|
|
5
|
+
var index = require("../../unified/lib/index.cjs");
|
|
6
|
+
var index$1 = require("../../remark-parse/lib/index.cjs");
|
|
7
|
+
var index$2 = require("../../remark-rehype/lib/index.cjs");
|
|
8
|
+
var index$3 = require("../../vfile/lib/index.cjs");
|
|
9
|
+
var index$4 = require("../../unist-util-visit/lib/index.cjs");
|
|
10
|
+
var index$5 = require("../../hast-util-to-jsx-runtime/lib/index.cjs");
|
|
11
|
+
var index$6 = require("../../html-url-attributes/lib/index.cjs");
|
|
12
|
+
const changelog = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md";
|
|
13
|
+
const emptyPlugins = [];
|
|
14
|
+
const emptyRemarkRehypeOptions = { allowDangerousHtml: true };
|
|
15
|
+
const safeProtocol = /^(https?|ircs?|mailto|xmpp)$/i;
|
|
16
|
+
const deprecations = [
|
|
17
|
+
{ from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
|
|
18
|
+
{ from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
|
|
19
|
+
{
|
|
20
|
+
from: "allowNode",
|
|
21
|
+
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
22
|
+
to: "allowElement"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
from: "allowedTypes",
|
|
26
|
+
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
27
|
+
to: "allowedElements"
|
|
28
|
+
},
|
|
29
|
+
{ from: "className", id: "remove-classname" },
|
|
30
|
+
{
|
|
31
|
+
from: "disallowedTypes",
|
|
32
|
+
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
33
|
+
to: "disallowedElements"
|
|
34
|
+
},
|
|
35
|
+
{ from: "escapeHtml", id: "remove-buggy-html-in-markdown-parser" },
|
|
36
|
+
{ from: "includeElementIndex", id: "#remove-includeelementindex" },
|
|
37
|
+
{
|
|
38
|
+
from: "includeNodeIndex",
|
|
39
|
+
id: "change-includenodeindex-to-includeelementindex"
|
|
40
|
+
},
|
|
41
|
+
{ from: "linkTarget", id: "remove-linktarget" },
|
|
42
|
+
{ from: "plugins", id: "change-plugins-to-remarkplugins", to: "remarkPlugins" },
|
|
43
|
+
{ from: "rawSourcePos", id: "#remove-rawsourcepos" },
|
|
44
|
+
{ from: "renderers", id: "change-renderers-to-components", to: "components" },
|
|
45
|
+
{ from: "source", id: "change-source-to-children", to: "children" },
|
|
46
|
+
{ from: "sourcePos", id: "#remove-sourcepos" },
|
|
47
|
+
{ from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
|
|
48
|
+
{ from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
|
|
49
|
+
];
|
|
50
|
+
function Markdown(options) {
|
|
51
|
+
const processor = createProcessor(options);
|
|
52
|
+
const file = createFile(options);
|
|
53
|
+
return post(processor.runSync(processor.parse(file), file), options);
|
|
54
|
+
}
|
|
55
|
+
function createProcessor(options) {
|
|
56
|
+
const rehypePlugins = options.rehypePlugins || emptyPlugins;
|
|
57
|
+
const remarkPlugins = options.remarkPlugins || emptyPlugins;
|
|
58
|
+
const remarkRehypeOptions = options.remarkRehypeOptions ? { ...options.remarkRehypeOptions, ...emptyRemarkRehypeOptions } : emptyRemarkRehypeOptions;
|
|
59
|
+
const processor = index.unified().use(index$1).use(remarkPlugins).use(index$2, remarkRehypeOptions).use(rehypePlugins);
|
|
60
|
+
return processor;
|
|
61
|
+
}
|
|
62
|
+
function createFile(options) {
|
|
63
|
+
const children = options.children || "";
|
|
64
|
+
const file = new index$3.VFile();
|
|
65
|
+
if (typeof children === "string") {
|
|
66
|
+
file.value = children;
|
|
67
|
+
}
|
|
68
|
+
return file;
|
|
69
|
+
}
|
|
70
|
+
function post(tree, options) {
|
|
71
|
+
const allowedElements = options.allowedElements;
|
|
72
|
+
const allowElement = options.allowElement;
|
|
73
|
+
const components = options.components;
|
|
74
|
+
const disallowedElements = options.disallowedElements;
|
|
75
|
+
const skipHtml = options.skipHtml;
|
|
76
|
+
const unwrapDisallowed = options.unwrapDisallowed;
|
|
77
|
+
const urlTransform = options.urlTransform || defaultUrlTransform;
|
|
78
|
+
for (const deprecation of deprecations) {
|
|
79
|
+
if (Object.hasOwn(options, deprecation.from)) {
|
|
80
|
+
_default.unreachable(
|
|
81
|
+
"Unexpected `" + deprecation.from + "` prop, " + (deprecation.to ? "use `" + deprecation.to + "` instead" : "remove it") + " (see <" + changelog + "#" + deprecation.id + "> for more info)"
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
index$4.visit(tree, transform);
|
|
86
|
+
return index$5.toJsxRuntime(tree, {
|
|
87
|
+
Fragment: jsxRuntime.Fragment,
|
|
88
|
+
components,
|
|
89
|
+
ignoreInvalidStyle: true,
|
|
90
|
+
jsx: jsxRuntime.jsx,
|
|
91
|
+
jsxs: jsxRuntime.jsxs,
|
|
92
|
+
passKeys: true,
|
|
93
|
+
passNode: true
|
|
94
|
+
});
|
|
95
|
+
function transform(node, index2, parent) {
|
|
96
|
+
if (node.type === "raw" && parent && typeof index2 === "number") {
|
|
97
|
+
if (skipHtml) {
|
|
98
|
+
parent.children.splice(index2, 1);
|
|
99
|
+
} else {
|
|
100
|
+
parent.children[index2] = { type: "text", value: node.value };
|
|
101
|
+
}
|
|
102
|
+
return index2;
|
|
103
|
+
}
|
|
104
|
+
if (node.type === "element") {
|
|
105
|
+
let key;
|
|
106
|
+
for (key in index$6.urlAttributes) {
|
|
107
|
+
if (Object.hasOwn(index$6.urlAttributes, key) && Object.hasOwn(node.properties, key)) {
|
|
108
|
+
const value = node.properties[key];
|
|
109
|
+
const test = index$6.urlAttributes[key];
|
|
110
|
+
if (test === null || test.includes(node.tagName)) {
|
|
111
|
+
node.properties[key] = urlTransform(String(value || ""), key, node);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
if (node.type === "element") {
|
|
117
|
+
let remove = allowedElements ? !allowedElements.includes(node.tagName) : disallowedElements ? disallowedElements.includes(node.tagName) : false;
|
|
118
|
+
if (!remove && allowElement && typeof index2 === "number") {
|
|
119
|
+
remove = !allowElement(node, index2, parent);
|
|
120
|
+
}
|
|
121
|
+
if (remove && parent && typeof index2 === "number") {
|
|
122
|
+
if (unwrapDisallowed && node.children) {
|
|
123
|
+
parent.children.splice(index2, 1, ...node.children);
|
|
124
|
+
} else {
|
|
125
|
+
parent.children.splice(index2, 1);
|
|
126
|
+
}
|
|
127
|
+
return index2;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
function defaultUrlTransform(value) {
|
|
133
|
+
const colon = value.indexOf(":");
|
|
134
|
+
const questionMark = value.indexOf("?");
|
|
135
|
+
const numberSign = value.indexOf("#");
|
|
136
|
+
const slash = value.indexOf("/");
|
|
137
|
+
if (
|
|
138
|
+
// If there is no protocol, it’s relative.
|
|
139
|
+
colon === -1 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
|
|
140
|
+
slash !== -1 && colon > slash || questionMark !== -1 && colon > questionMark || numberSign !== -1 && colon > numberSign || // It is a protocol, it should be allowed.
|
|
141
|
+
safeProtocol.test(value.slice(0, colon))
|
|
142
|
+
) {
|
|
143
|
+
return value;
|
|
144
|
+
}
|
|
145
|
+
return "";
|
|
146
|
+
}
|
|
147
|
+
exports.Markdown = Markdown;
|
|
148
|
+
exports.defaultUrlTransform = defaultUrlTransform;
|