@webquark/browser 1.1.0 → 1.1.1-dev.1
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/cjs/{action.props-B6vl_1p5.js → action.props-CNe2JXR5.js} +1 -1
- package/dist/cjs/{field-B5nxD8Kc.js → field-BRAR56Ex.js} +1 -1
- package/dist/cjs/{form-control-validity-D1ukC0_e.js → form-control-validity-BkilGb3E.js} +3 -3
- package/dist/cjs/{index-BD6Jjssb.js → index-BN-WdOQM.js} +13 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q-accordion.cjs.entry.js +1 -1
- package/dist/cjs/q-alert.cjs.entry.js +2 -2
- package/dist/cjs/q-avatar.cjs.entry.js +2 -2
- package/dist/cjs/q-banner.cjs.entry.js +1 -1
- package/dist/cjs/q-button_3.cjs.entry.js +907 -0
- package/dist/cjs/q-card.cjs.entry.js +2 -2
- package/dist/cjs/q-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-control-group.cjs.entry.js +3 -3
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
- package/dist/cjs/q-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q-dialog.cjs.entry.js +3 -3
- package/dist/cjs/q-divider.cjs.entry.js +3 -3
- package/dist/cjs/q-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/q-form.cjs.entry.js +6 -6
- package/dist/cjs/q-grid.cjs.entry.js +3 -3
- package/dist/cjs/q-icon.cjs.entry.js +1 -1
- package/dist/cjs/q-image-comparison.cjs.entry.js +2 -2
- package/dist/cjs/q-inline.cjs.entry.js +3 -3
- package/dist/cjs/q-input_2.cjs.entry.js +6 -6
- package/dist/cjs/q-link.cjs.entry.js +2 -2
- package/dist/cjs/q-map.cjs.entry.js +1 -1
- package/dist/cjs/q-media.cjs.entry.js +2 -2
- package/dist/cjs/q-navbar.cjs.entry.js +3 -3
- package/dist/cjs/q-pagination.cjs.entry.js +1 -1
- package/dist/cjs/q-panel.cjs.entry.js +6 -6
- package/dist/cjs/q-quantity-selector.cjs.entry.js +5 -5
- package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/q-reel.cjs.entry.js +23 -23
- package/dist/cjs/q-section.cjs.entry.js +2 -2
- package/dist/cjs/q-sidepanel.cjs.entry.js +4 -3
- package/dist/cjs/q-slider.cjs.entry.js +2 -2
- package/dist/cjs/q-stack.cjs.entry.js +3 -3
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram.cjs.entry.js +3 -3
- package/dist/cjs/q-syntax-box.cjs.entry.js +180 -719
- package/dist/cjs/q-syntax-view.cjs.entry.js +65 -0
- package/dist/cjs/q-tabs.cjs.entry.js +2 -2
- package/dist/cjs/q-textarea.cjs.entry.js +5 -5
- package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
- package/dist/cjs/q-toast.cjs.entry.js +1 -1
- package/dist/cjs/q-toggle.cjs.entry.js +6 -6
- package/dist/cjs/q-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/syntax-content-BmSExDiW.js +910 -0
- package/dist/cjs/{tokens-Cd7g-VMz.js → tokens-BMrfol_M.js} +1 -1
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/actions/button/button.css +27 -9
- package/dist/collection/components/communication/alert/alert.css +4 -1
- package/dist/collection/components/data-display/syntax-box/internals/formatters/css.js +4 -0
- package/dist/collection/components/data-display/syntax-box/internals/formatters/formatter.js +20 -0
- package/dist/collection/components/data-display/syntax-box/internals/{formatter.unit.test.js → formatters/formatter.unit.test.js} +38 -11
- package/dist/collection/components/data-display/syntax-box/internals/formatters/html.js +4 -0
- package/dist/collection/components/data-display/syntax-box/internals/formatters/javascript.js +4 -0
- package/dist/collection/components/data-display/syntax-box/internals/{formatter.js → formatters/json.js} +2 -20
- package/dist/collection/components/data-display/syntax-box/internals/formatters/languages.js +15 -0
- package/dist/collection/components/data-display/syntax-box/internals/formatters/util/prettier.js +17 -0
- package/dist/collection/components/data-display/syntax-box/internals/views.js +29 -0
- package/dist/collection/components/data-display/syntax-box/internals/views.unit.test.js +19 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.css +107 -36
- package/dist/collection/components/data-display/syntax-box/syntax-box.js +179 -637
- package/dist/collection/components/data-display/syntax-box/syntax-content.js +748 -0
- package/dist/collection/components/data-display/syntax-box/syntax-ui.js +8 -0
- package/dist/collection/components/data-display/syntax-box/test/format-fixtures.js +2 -2
- package/dist/collection/components/data-display/syntax-box/test/syntax-format.cmp.test.js +20 -20
- package/dist/collection/components/data-display/syntax-box/test/syntax-views.cmp.test.js +228 -0
- package/dist/collection/components/data-display/syntax-view/syntax-view.js +64 -0
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
- package/dist/collection/components/inputs/dropdown/dropdown.js +2 -2
- package/dist/collection/components/inputs/form/form.js +2 -2
- package/dist/collection/components/inputs/form/internals/controls.js +2 -2
- package/dist/collection/components/inputs/input/input.js +3 -3
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
- package/dist/collection/components/inputs/radio-group/radio-group.js +2 -2
- package/dist/collection/components/inputs/slider/slider.js +1 -1
- package/dist/collection/components/inputs/textarea/textarea.js +2 -2
- package/dist/collection/components/inputs/toggle/toggle.js +3 -3
- package/dist/collection/components/layout/control-group/control-group.js +1 -1
- package/dist/collection/components/layout/divider/divider.js +1 -1
- package/dist/collection/components/layout/grid/grid.js +1 -1
- package/dist/collection/components/layout/inline/inline.js +1 -1
- package/dist/collection/components/layout/navbar/navbar.js +2 -2
- package/dist/collection/components/layout/panel/panel.js +4 -4
- package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
- package/dist/collection/components/layout/section/section.js +1 -1
- package/dist/collection/components/layout/sidepanel/internals/nav-items.js +2 -2
- package/dist/collection/components/layout/sidepanel/sidepanel.js +3 -0
- package/dist/collection/components/layout/stack/stack.js +1 -1
- package/dist/collection/components/layout/tabs/tabs.js +1 -1
- package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
- package/dist/collection/components/media/avatar/avatar.js +1 -1
- package/dist/collection/components/media/image-comparison/image-comparison.js +1 -1
- package/dist/collection/components/media/media/media.js +1 -1
- package/dist/collection/components/media/reel/reel.js +23 -23
- package/dist/collection/components/media/reel/test/focus.cmp.test.js +33 -0
- package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/overlays/dialog/dialog.js +2 -2
- package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
- package/dist/collection/theme/tokens.js +1 -1
- package/dist/collection/utils/form-control-validity.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CArIPzJU.js → p-B610wOGe.js} +1 -1
- package/dist/components/p-BGlbV43y.js +13 -0
- package/dist/components/{p-BZXIeEKC.js → p-BKWL9zOn.js} +1 -1
- package/dist/components/p-BxxU73QQ.js +1 -0
- package/dist/components/{p-kfrqZyfJ.js → p-CVEQfA-v.js} +1 -1
- package/dist/components/p-CpbWWDiY.js +1 -0
- package/dist/components/{p-BwPMm43W.js → p-D2fczi8m.js} +1 -1
- package/dist/components/{p-BGHNFaaC.js → p-D5vpGqZ9.js} +1 -1
- package/dist/components/p-DQIYo8zC.js +1 -0
- package/dist/components/{p-IwIJb0Mc.js → p-DX6PCIPS.js} +1 -1
- package/dist/components/{p-CpkX9YAW.js → p-DY9D4z7Z.js} +1 -1
- package/dist/{webquark/p-BDsIecIx.js → components/p-DbzjRzhu.js} +1 -1
- package/dist/components/{p-Bp6Xr92S.js → p-RX4DjgmV.js} +1 -1
- package/dist/components/{p-Bc2_QcLn.js → p-Ts5oOvg8.js} +1 -1
- package/dist/components/p-u1Qz6OcP.js +1 -0
- package/dist/components/q-accordion.js +1 -1
- package/dist/components/q-alert.js +1 -1
- package/dist/components/q-avatar.js +1 -1
- package/dist/components/q-banner.js +1 -1
- package/dist/components/q-button.js +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-chip.js +1 -1
- package/dist/components/q-control-group.js +1 -1
- package/dist/components/q-conversation-bubble.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-divider.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.js +1 -1
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-image-comparison.js +1 -1
- package/dist/components/q-inline.js +1 -1
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-link.js +1 -1
- package/dist/components/q-map.js +1 -1
- package/dist/components/q-media.js +1 -1
- package/dist/components/q-navbar.js +1 -1
- package/dist/components/q-pagination.js +1 -1
- package/dist/components/q-panel.js +1 -1
- package/dist/components/q-progress.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-radio-group.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-section.js +1 -1
- package/dist/components/q-sidepanel.js +2 -2
- package/dist/components/q-slider.js +1 -1
- package/dist/components/q-stack.js +1 -1
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +1 -13
- package/dist/components/q-syntax-view.d.ts +11 -0
- package/dist/components/q-syntax-view.js +1 -0
- package/dist/components/q-tabs.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.js +1 -1
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/{action.props-Di_LpF5H.js → action.props-CbSH7c-q.js} +1 -1
- package/dist/esm/{dom-CArIPzJU.js → dom-B610wOGe.js} +1 -1
- package/dist/esm/{field-C4Iilew6.js → field-D5xUxo11.js} +1 -1
- package/dist/esm/{form-control-validity-Bj2RJb2E.js → form-control-validity-BxxU73QQ.js} +3 -3
- package/dist/esm/{form-submit-action-CoEIvDqE.js → form-submit-action-BjjfVWyu.js} +1 -1
- package/dist/esm/{index-DoGM9gsC.js → index-CIMzZPQO.js} +13 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/q-accordion.entry.js +1 -1
- package/dist/esm/q-alert.entry.js +2 -2
- package/dist/esm/q-avatar.entry.js +2 -2
- package/dist/esm/q-banner.entry.js +1 -1
- package/dist/esm/q-button_3.entry.js +903 -0
- package/dist/esm/q-card.entry.js +3 -3
- package/dist/esm/q-carousel.entry.js +2 -2
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-control-group.entry.js +3 -3
- package/dist/esm/q-conversation-bubble.entry.js +1 -1
- package/dist/esm/q-data-table.entry.js +1 -1
- package/dist/esm/q-dialog.entry.js +4 -4
- package/dist/esm/q-divider.entry.js +3 -3
- package/dist/esm/q-dropdown.entry.js +4 -4
- package/dist/esm/q-form.entry.js +7 -7
- package/dist/esm/q-grid.entry.js +3 -3
- package/dist/esm/q-icon.entry.js +1 -1
- package/dist/esm/q-image-comparison.entry.js +2 -2
- package/dist/esm/q-inline.entry.js +3 -3
- package/dist/esm/q-input_2.entry.js +7 -7
- package/dist/esm/q-link.entry.js +2 -2
- package/dist/esm/q-map.entry.js +1 -1
- package/dist/esm/q-media.entry.js +2 -2
- package/dist/esm/q-navbar.entry.js +3 -3
- package/dist/esm/q-pagination.entry.js +1 -1
- package/dist/esm/q-panel.entry.js +7 -7
- package/dist/esm/q-quantity-selector.entry.js +5 -5
- package/dist/esm/q-radio-group.entry.js +4 -4
- package/dist/esm/q-reel.entry.js +24 -24
- package/dist/esm/q-section.entry.js +2 -2
- package/dist/esm/q-sidepanel.entry.js +5 -4
- package/dist/esm/q-slider.entry.js +2 -2
- package/dist/esm/q-stack.entry.js +3 -3
- package/dist/esm/q-step-diagram-item.entry.js +2 -2
- package/dist/esm/q-step-diagram.entry.js +4 -4
- package/dist/esm/q-syntax-box.entry.js +180 -719
- package/dist/esm/q-syntax-view.entry.js +63 -0
- package/dist/esm/q-tabs.entry.js +2 -2
- package/dist/esm/q-textarea.entry.js +5 -5
- package/dist/esm/q-thumbnail.entry.js +3 -3
- package/dist/esm/q-toast.entry.js +1 -1
- package/dist/esm/q-toggle.entry.js +6 -6
- package/dist/esm/q-toolbar.entry.js +4 -4
- package/dist/esm/syntax-content-Cr9kSbmA.js +903 -0
- package/dist/esm/{tokens-BDsIecIx.js → tokens-DbzjRzhu.js} +1 -1
- package/dist/esm/webquark.js +3 -3
- package/dist/formatters/prettier/LICENSE +7 -0
- package/dist/formatters/prettier/THIRD-PARTY-NOTICES.md +7941 -0
- package/dist/formatters/prettier/html-fragment.mjs +1 -0
- package/dist/formatters/prettier/html-fragment.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/angular.mjs +1 -0
- package/dist/formatters/prettier/languages/angular.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/css.mjs +1 -0
- package/dist/formatters/prettier/languages/css.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/flow.mjs +1 -0
- package/dist/formatters/prettier/languages/flow.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/graphql.mjs +1 -0
- package/dist/formatters/prettier/languages/graphql.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/handlebars.mjs +1 -0
- package/dist/formatters/prettier/languages/handlebars.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/html.mjs +1 -0
- package/dist/formatters/prettier/languages/html.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/javascript.mjs +1 -0
- package/dist/formatters/prettier/languages/javascript.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/json-stringify.mjs +1 -0
- package/dist/formatters/prettier/languages/json-stringify.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/json.mjs +1 -0
- package/dist/formatters/prettier/languages/json.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/json5.mjs +1 -0
- package/dist/formatters/prettier/languages/json5.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/jsonc.mjs +1 -0
- package/dist/formatters/prettier/languages/jsonc.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/jsx.mjs +1 -0
- package/dist/formatters/prettier/languages/jsx.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/less.mjs +1 -0
- package/dist/formatters/prettier/languages/less.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/lwc.mjs +1 -0
- package/dist/formatters/prettier/languages/lwc.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/markdown.mjs +1 -0
- package/dist/formatters/prettier/languages/markdown.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/mdx.mjs +1 -0
- package/dist/formatters/prettier/languages/mdx.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/mjml.mjs +1 -0
- package/dist/formatters/prettier/languages/mjml.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/postcss.mjs +1 -0
- package/dist/formatters/prettier/languages/postcss.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/scss.mjs +1 -0
- package/dist/formatters/prettier/languages/scss.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/tsx.mjs +1 -0
- package/dist/formatters/prettier/languages/tsx.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/typescript.mjs +1 -0
- package/dist/formatters/prettier/languages/typescript.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/vue.mjs +1 -0
- package/dist/formatters/prettier/languages/vue.mjs.gz +0 -0
- package/dist/formatters/prettier/languages/yaml.mjs +1 -0
- package/dist/formatters/prettier/languages/yaml.mjs.gz +0 -0
- package/dist/formatters/prettier/manifest.json +87 -0
- package/dist/formatters/prettier/plugins/acorn.mjs +17 -0
- package/dist/formatters/prettier/plugins/acorn.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/angular.mjs +7 -0
- package/dist/formatters/prettier/plugins/angular.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/babel.mjs +16 -0
- package/dist/formatters/prettier/plugins/babel.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/estree.mjs +44 -0
- package/dist/formatters/prettier/plugins/estree.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/flow.mjs +7 -0
- package/dist/formatters/prettier/plugins/flow.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/glimmer.mjs +37 -0
- package/dist/formatters/prettier/plugins/glimmer.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/graphql.mjs +17 -0
- package/dist/formatters/prettier/plugins/graphql.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/html.mjs +25 -0
- package/dist/formatters/prettier/plugins/html.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/markdown.mjs +70 -0
- package/dist/formatters/prettier/plugins/markdown.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/meriyah.mjs +9 -0
- package/dist/formatters/prettier/plugins/meriyah.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/postcss.mjs +62 -0
- package/dist/formatters/prettier/plugins/postcss.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/typescript.mjs +22 -0
- package/dist/formatters/prettier/plugins/typescript.mjs.gz +0 -0
- package/dist/formatters/prettier/plugins/yaml.mjs +150 -0
- package/dist/formatters/prettier/plugins/yaml.mjs.gz +0 -0
- package/dist/formatters/prettier/runtime.d.mts +2 -0
- package/dist/formatters/prettier/runtime.mjs +1 -0
- package/dist/formatters/prettier/runtime.mjs.gz +0 -0
- package/dist/formatters/prettier/standalone.mjs +29 -0
- package/dist/formatters/prettier/standalone.mjs.gz +0 -0
- package/dist/playground/components/theme-designer/token-row.js +45 -74
- package/dist/playground/utils/color.js +14 -25
- package/dist/types/components/data-display/syntax-box/internals/formatters/css.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/formatter.d.ts +10 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/formatter.types.d.ts +4 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/formatter.unit.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/html.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/javascript.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/json.d.ts +6 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/languages.d.ts +27 -0
- package/dist/types/components/data-display/syntax-box/internals/formatters/util/prettier.d.ts +3 -0
- package/dist/types/components/data-display/syntax-box/internals/syntax.d.ts +1 -1
- package/dist/types/components/data-display/syntax-box/internals/views.d.ts +11 -0
- package/dist/types/components/data-display/syntax-box/internals/views.unit.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +66 -63
- package/dist/types/components/data-display/syntax-box/syntax-box.types.d.ts +1 -1
- package/dist/types/components/data-display/syntax-box/syntax-content.d.ts +41 -0
- package/dist/types/components/data-display/syntax-box/syntax-ui.d.ts +15 -0
- package/dist/types/components/data-display/syntax-box/test/format-fixtures.d.ts +1 -1
- package/dist/types/components/data-display/syntax-box/test/syntax-views.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-view/syntax-view.d.ts +48 -0
- package/dist/types/components/layout/sidepanel/sidepanel.d.ts +2 -0
- package/dist/types/components/layout/sidepanel/sidepanel.types.d.ts +1 -0
- package/dist/types/components/media/reel/reel.d.ts +3 -3
- package/dist/types/components/media/reel/test/focus.cmp.test.d.ts +1 -0
- package/dist/types/components.d.ts +201 -7
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/token-row.d.ts +1 -1
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/dom-factory.d.ts +1 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/color.d.ts +2 -8
- package/dist/types/utils/form-control-validity.d.ts +2 -1
- package/dist/webquark/{p-846dc838.entry.js → p-014c2f4a.entry.js} +1 -1
- package/dist/webquark/{p-0182e114.entry.js → p-0389577c.entry.js} +1 -1
- package/dist/webquark/p-041e17c1.entry.js +1 -0
- package/dist/webquark/p-0479c571.entry.js +1 -0
- package/dist/webquark/{p-17b9713f.entry.js → p-0ebca9be.entry.js} +1 -1
- package/dist/webquark/{p-0a2c52de.entry.js → p-1bf375f7.entry.js} +2 -2
- package/dist/webquark/{p-e2721e77.entry.js → p-20dc3ab5.entry.js} +1 -1
- package/dist/webquark/p-28d3348f.entry.js +1 -0
- package/dist/webquark/p-35c177d3.entry.js +1 -0
- package/dist/webquark/{p-f4d23ffe.entry.js → p-3a60086d.entry.js} +1 -1
- package/dist/webquark/{p-e723a7ae.entry.js → p-3ab798aa.entry.js} +1 -1
- package/dist/webquark/{p-15bad9ef.entry.js → p-3b580baf.entry.js} +1 -1
- package/dist/webquark/{p-4609c362.entry.js → p-3b65f787.entry.js} +1 -1
- package/dist/webquark/p-4bf610f8.entry.js +1 -0
- package/dist/webquark/{p-f51e1098.entry.js → p-4d30227e.entry.js} +1 -1
- package/dist/webquark/p-4de536ae.entry.js +1 -0
- package/dist/webquark/{p-3daafc56.entry.js → p-4e4d70c9.entry.js} +1 -1
- package/dist/webquark/p-4efeb7c9.entry.js +1 -0
- package/dist/webquark/{p-a314bc21.entry.js → p-51b3d71b.entry.js} +1 -1
- package/dist/webquark/p-778b6bbb.entry.js +1 -0
- package/dist/webquark/{p-a66550da.entry.js → p-7da78b2f.entry.js} +1 -1
- package/dist/webquark/{p-fe14f038.entry.js → p-7f8f986b.entry.js} +1 -1
- package/dist/webquark/{p-e0943d41.entry.js → p-8253c742.entry.js} +1 -1
- package/dist/webquark/{p-a2334abe.entry.js → p-9a1ddeb7.entry.js} +1 -1
- package/dist/webquark/{p-CArIPzJU.js → p-B610wOGe.js} +1 -1
- package/dist/webquark/p-BxxU73QQ.js +1 -0
- package/dist/webquark/p-CIMzZPQO.js +3 -0
- package/dist/webquark/p-CfR85WgM.js +13 -0
- package/dist/webquark/{p-DDUED8LT.js → p-D8p28N9s.js} +1 -1
- package/dist/{components/p-BDsIecIx.js → webquark/p-DbzjRzhu.js} +1 -1
- package/dist/webquark/{p-BOdNg0jc.js → p-DeOEN0si.js} +1 -1
- package/dist/webquark/p-a2b1de23.entry.js +1 -0
- package/dist/webquark/{p-dbcf7592.entry.js → p-a55edc17.entry.js} +1 -1
- package/dist/webquark/p-a8808020.entry.js +1 -0
- package/dist/webquark/{p-9a76cd71.entry.js → p-b1084b3c.entry.js} +1 -1
- package/dist/webquark/{p-a2ff1b64.entry.js → p-b6c4dff4.entry.js} +1 -1
- package/dist/webquark/{p-b21ad707.entry.js → p-b962e950.entry.js} +1 -1
- package/dist/webquark/{p-5b584d3c.entry.js → p-bc369cd6.entry.js} +1 -1
- package/dist/webquark/p-c119a8ea.entry.js +1 -0
- package/dist/webquark/{p-85131314.entry.js → p-c6b77e9a.entry.js} +1 -1
- package/dist/webquark/{p-84b350a3.entry.js → p-ca1c03b4.entry.js} +1 -1
- package/dist/webquark/{p-b8fdef4f.entry.js → p-ce436162.entry.js} +1 -1
- package/dist/webquark/{p-86c05afd.entry.js → p-d0a47a7c.entry.js} +1 -1
- package/dist/webquark/{p-222405b8.entry.js → p-e1fbc8fc.entry.js} +1 -1
- package/dist/webquark/{p-44bbe12f.entry.js → p-e32833ce.entry.js} +1 -1
- package/dist/webquark/{p-d86bd51d.entry.js → p-e369a4aa.entry.js} +1 -1
- package/dist/webquark/p-e4430c61.entry.js +1 -0
- package/dist/webquark/{p-aa342e81.entry.js → p-e9c0052b.entry.js} +1 -1
- package/dist/webquark/{p-852e88ae.entry.js → p-f5c4ca18.entry.js} +1 -1
- package/dist/webquark/{p-d4788321.entry.js → p-f6683126.entry.js} +1 -1
- package/dist/webquark/{p-Dnz3WmdX.js → p-ojSDiptZ.js} +1 -1
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +5 -1
- package/dist/cjs/q-button_2.cjs.entry.js +0 -462
- package/dist/cjs/q-scrollable.cjs.entry.js +0 -449
- package/dist/components/p-Bj2RJb2E.js +0 -1
- package/dist/components/p-D2nxHd1b.js +0 -1
- package/dist/components/p-x3C-wjU9.js +0 -1
- package/dist/esm/q-button_2.entry.js +0 -459
- package/dist/esm/q-scrollable.entry.js +0 -447
- package/dist/types/components/data-display/syntax-box/internals/formatter.d.ts +0 -15
- package/dist/webquark/p-048103e0.entry.js +0 -1
- package/dist/webquark/p-0baf478a.entry.js +0 -1
- package/dist/webquark/p-2eaa3a9f.entry.js +0 -1
- package/dist/webquark/p-65fe9cac.entry.js +0 -1
- package/dist/webquark/p-8c5b2706.entry.js +0 -1
- package/dist/webquark/p-923527f0.entry.js +0 -1
- package/dist/webquark/p-Bj2RJb2E.js +0 -1
- package/dist/webquark/p-DoGM9gsC.js +0 -3
- package/dist/webquark/p-a0d97367.entry.js +0 -1
- package/dist/webquark/p-a16bd8d5.entry.js +0 -13
- package/dist/webquark/p-a3e1096d.entry.js +0 -1
- package/dist/webquark/p-b1c771fb.entry.js +0 -1
- package/dist/webquark/p-b45ca926.entry.js +0 -1
- package/dist/webquark/p-eb800d1e.entry.js +0 -1
- /package/dist/{types/components/data-display/syntax-box/internals/formatter.unit.test.d.ts → collection/components/data-display/syntax-box/internals/formatters/formatter.types.js} +0 -0
|
@@ -1,72 +1,75 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @slot actions - Additional actions rendered in the panel header.
|
|
7
|
-
*/
|
|
8
|
-
export declare class QSyntaxBox {
|
|
9
|
-
el: HTMLElement;
|
|
10
|
-
internals: ElementInternals;
|
|
11
|
-
/** Mirrored with `value`; prefer `code` for domain usage. */
|
|
12
|
-
code?: string;
|
|
13
|
-
/** Form-value alias mirrored with `code` for compatibility. */
|
|
14
|
-
value?: string;
|
|
15
|
-
/** Shown only in the panel variant. */
|
|
16
|
-
heading?: string;
|
|
17
|
-
/** Accessible name for the editor; falls back to `heading`, then the language. */
|
|
18
|
-
ariaLabel: string | null;
|
|
1
|
+
import type { QSyntaxBoxVariant } from './syntax-box.types';
|
|
2
|
+
declare const QSyntaxBox_base: abstract new (...args: any[]) => {
|
|
3
|
+
componentWillLoad: () => void;
|
|
4
|
+
componentDidLoad: () => void;
|
|
5
|
+
heading: string;
|
|
19
6
|
variant: QSyntaxBoxVariant;
|
|
20
|
-
|
|
21
|
-
height
|
|
7
|
+
name: string;
|
|
8
|
+
height: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
ariaLabel: string;
|
|
11
|
+
value: string;
|
|
12
|
+
required: boolean;
|
|
13
|
+
code: string;
|
|
22
14
|
copyable: boolean;
|
|
23
15
|
editable: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/** Disables editing and panel actions. */
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
/** Emitted when editable content is committed by the native change event or by formatting. */
|
|
32
|
-
qChange: EventEmitter<string>;
|
|
33
|
-
/** Emitted on each editable content input and after formatting. */
|
|
34
|
-
qInput: EventEmitter<string>;
|
|
35
|
-
private disabledState;
|
|
36
|
-
private get isDisabled();
|
|
16
|
+
language: "json" | "html" | "javascript" | "css" | "typescript" | "jsx" | "tsx" | "flow" | "json5" | "jsonc" | "json-stringify" | "postcss" | "less" | "scss" | "angular" | "vue" | "lwc" | "mjml" | "handlebars" | "graphql" | "markdown" | "mdx" | "yaml";
|
|
17
|
+
qChange: import("@stencil/core").EventEmitter<string>;
|
|
18
|
+
qInput: import("@stencil/core").EventEmitter<string>;
|
|
19
|
+
el: HTMLElement;
|
|
20
|
+
internals: ElementInternals;
|
|
37
21
|
copied: boolean;
|
|
38
22
|
copyFailed: boolean;
|
|
39
|
-
formatMessage
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
23
|
+
formatMessage: string;
|
|
24
|
+
watchCode: (newCode: string | undefined) => void;
|
|
25
|
+
watchValue: (newValue: string | undefined) => void;
|
|
26
|
+
watchLanguage: () => void;
|
|
27
|
+
watchConstraints: () => void;
|
|
28
|
+
watchEditable: () => void;
|
|
29
|
+
formDisabledCallback: () => void;
|
|
30
|
+
formResetCallback: () => void;
|
|
31
|
+
scrollToBottom: () => Promise<void>;
|
|
32
|
+
checkValidity: () => Promise<boolean>;
|
|
33
|
+
reportValidity: () => Promise<boolean>;
|
|
34
|
+
renderContent: (variant: QSyntaxBoxVariant) => any[];
|
|
35
|
+
renderActions: () => any;
|
|
36
|
+
} & import("./syntax-content").SyntaxContentLifecycle;
|
|
37
|
+
/**
|
|
38
|
+
* Displays syntax-highlighted content and automatically adds tabs for multiple views.
|
|
39
|
+
* @slot - Read-only fallback content or direct q-syntax-view children.
|
|
40
|
+
* @slot heading - Custom title content in the single-view panel header.
|
|
41
|
+
* @slot actions - Additional actions for the box's own view.
|
|
42
|
+
*/
|
|
43
|
+
export declare class QSyntaxBox extends QSyntaxBox_base {
|
|
44
|
+
el: HTMLElement;
|
|
45
|
+
internals: ElementInternals;
|
|
46
|
+
private readonly instanceId;
|
|
47
|
+
private readonly identities;
|
|
48
|
+
private nextView;
|
|
49
|
+
private views;
|
|
50
|
+
private selected?;
|
|
51
|
+
private observer?;
|
|
52
|
+
private tabSelector?;
|
|
53
|
+
private focusWithin;
|
|
54
|
+
private restoreFocus;
|
|
55
|
+
private activeVariant?;
|
|
56
|
+
private linkFrame?;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
componentWillRender(): void;
|
|
51
59
|
componentDidRender(): void;
|
|
52
60
|
disconnectedCallback(): void;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
private
|
|
61
|
-
private
|
|
62
|
-
private
|
|
63
|
-
private
|
|
64
|
-
private
|
|
65
|
-
private handleScroll;
|
|
66
|
-
private handleInput;
|
|
67
|
-
private handleChange;
|
|
68
|
-
private handleKeyDown;
|
|
69
|
-
private handleFormat;
|
|
70
|
-
private getCopyTooltipContent;
|
|
61
|
+
visible(view: HTMLElement): boolean;
|
|
62
|
+
select(view: HTMLElement): void;
|
|
63
|
+
private onFocusIn;
|
|
64
|
+
private onFocusOut;
|
|
65
|
+
private collectViews;
|
|
66
|
+
private describeView;
|
|
67
|
+
private replacementView;
|
|
68
|
+
private onTabChange;
|
|
69
|
+
private panel;
|
|
70
|
+
private syncPanels;
|
|
71
|
+
private linkTabs;
|
|
72
|
+
private recoverFocus;
|
|
71
73
|
render(): any;
|
|
72
74
|
}
|
|
75
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type QSyntaxBoxVariant = 'panel' | 'plain';
|
|
2
|
-
export type
|
|
2
|
+
export type { FormatterLanguage as QSyntaxBoxLanguage } from './internals/formatters/languages';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter, type MixedInCtor } from '../../../stencil-public-runtime';
|
|
2
|
+
import type { QSyntaxBoxVariant } from './syntax-box.types';
|
|
3
|
+
export interface SyntaxContentLifecycle {
|
|
4
|
+
componentDidRender(): void;
|
|
5
|
+
disconnectedCallback(): void;
|
|
6
|
+
}
|
|
7
|
+
export declare const withSyntaxContent: <T extends MixedInCtor>(Base: T) => MixedInCtor<{
|
|
8
|
+
componentWillLoad: () => void;
|
|
9
|
+
componentDidLoad: () => void;
|
|
10
|
+
heading: string;
|
|
11
|
+
variant: QSyntaxBoxVariant;
|
|
12
|
+
name: string;
|
|
13
|
+
height: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
ariaLabel: string;
|
|
16
|
+
value: string;
|
|
17
|
+
required: boolean;
|
|
18
|
+
code: string;
|
|
19
|
+
copyable: boolean;
|
|
20
|
+
editable: boolean;
|
|
21
|
+
language: "json" | "html" | "javascript" | "css" | "typescript" | "jsx" | "tsx" | "flow" | "json5" | "jsonc" | "json-stringify" | "postcss" | "less" | "scss" | "angular" | "vue" | "lwc" | "mjml" | "handlebars" | "graphql" | "markdown" | "mdx" | "yaml";
|
|
22
|
+
qChange: EventEmitter<string>;
|
|
23
|
+
qInput: EventEmitter<string>;
|
|
24
|
+
el: HTMLElement;
|
|
25
|
+
internals: ElementInternals;
|
|
26
|
+
copied: boolean;
|
|
27
|
+
copyFailed: boolean;
|
|
28
|
+
formatMessage: string;
|
|
29
|
+
watchCode: (newCode: string | undefined) => void;
|
|
30
|
+
watchValue: (newValue: string | undefined) => void;
|
|
31
|
+
watchLanguage: () => void;
|
|
32
|
+
watchConstraints: () => void;
|
|
33
|
+
watchEditable: () => void;
|
|
34
|
+
formDisabledCallback: () => void;
|
|
35
|
+
formResetCallback: () => void;
|
|
36
|
+
scrollToBottom: () => Promise<void>;
|
|
37
|
+
checkValidity: () => Promise<boolean>;
|
|
38
|
+
reportValidity: () => Promise<boolean>;
|
|
39
|
+
renderContent: (variant: QSyntaxBoxVariant) => any[];
|
|
40
|
+
renderActions: () => any;
|
|
41
|
+
} & SyntaxContentLifecycle>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type VNode } from '../../../stencil-public-runtime';
|
|
2
|
+
interface SyntaxActions {
|
|
3
|
+
editable: boolean;
|
|
4
|
+
copyable: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
formatLabel?: string;
|
|
7
|
+
copied: boolean;
|
|
8
|
+
copyFeedback: string;
|
|
9
|
+
onFormat: () => void;
|
|
10
|
+
onCopy: () => void;
|
|
11
|
+
ref: (element?: HTMLElement) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function renderSyntaxActions(actions: SyntaxActions): any;
|
|
14
|
+
export declare function renderSyntaxScroller(body: VNode, height: string, ref: (element?: HTMLQScrollableElement) => void): any;
|
|
15
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const JSON_SOURCE = "{\r\n \"10\":9007199254740993,\"2\":-0,\"same\":1,\"same\":2,\"array\":[1e400,2.3000,-0,1E+03],\"text\":\" \\u0061 \\/ \\\"quote\\\" \u96EA \uD83D\uDC26 \"\r\n}";
|
|
2
2
|
export declare const JSON_EXPECTED = "{\n \"10\": 9007199254740993,\n \"2\": -0,\n \"same\": 1,\n \"same\": 2,\n \"array\": [\n 1e400,\n 2.3000,\n -0,\n 1E+03\n ],\n \"text\": \" \\u0061 \\/ \\\"quote\\\" \u96EA \uD83D\uDC26 \"\n}";
|
|
3
3
|
export declare const INVALID_JSON: readonly [readonly ["commented JSON", "{/* preserve comment */\"a\":1}"], readonly ["line comment", "{\"a\":1 // keep\r\n}"], readonly ["trailing comma", "{\"a\":1,}"], readonly ["unfinished", "{\"a\":"], readonly ["missing comma", "[1 2]"], readonly ["missing colon", "{\"a\" 1}"], readonly ["unquoted member", "{a:1}"], readonly ["extra document", "{} []"], readonly ["leading zero", "[01]"], readonly ["nonfinite", "[NaN,Infinity]"], readonly ["invalid escape", "\"\\x20\""], readonly ["short Unicode escape", "\"\\u123\""], readonly ["raw string newline", "\"keep\r\nline\""], readonly ["BOM", "{\"a\":1}"], readonly ["whitespace only", " \t\r\n "]];
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const NON_JSON_SOURCE: readonly [readonly ["html", "<p class=\"message\">Hello <b>world</b> !</p>\r\n<pre> keep \t spaces\r\n</pre><!-- keep comment -->"], readonly ["javascript", "// keep\r\nfunction f(){return\n\"x\";} const t = ` a ${1}\r\n b;{} `; /[{};]/.test(t);"], readonly ["css", "/* keep */\r\n.a { content: \" x; { y } \"; --text: a b; }\r\n"]];
|
|
5
5
|
/** Independent token equality checks retain punctuation and raw numeric/string spellings. */
|
|
6
6
|
export declare function jsonTokens(source: string): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../../../../../packages/browser/components/dist/webquark/webquark.css';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const QSyntaxView_base: abstract new (...args: any[]) => {
|
|
2
|
+
componentWillLoad: () => void;
|
|
3
|
+
componentDidLoad: () => void;
|
|
4
|
+
heading: string;
|
|
5
|
+
variant: import("../syntax-box/syntax-box.types").QSyntaxBoxVariant;
|
|
6
|
+
name: string;
|
|
7
|
+
height: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
ariaLabel: string;
|
|
10
|
+
value: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
code: string;
|
|
13
|
+
copyable: boolean;
|
|
14
|
+
editable: boolean;
|
|
15
|
+
language: "json" | "html" | "javascript" | "css" | "typescript" | "jsx" | "tsx" | "flow" | "json5" | "jsonc" | "json-stringify" | "postcss" | "less" | "scss" | "angular" | "vue" | "lwc" | "mjml" | "handlebars" | "graphql" | "markdown" | "mdx" | "yaml";
|
|
16
|
+
qChange: import("@stencil/core").EventEmitter<string>;
|
|
17
|
+
qInput: import("@stencil/core").EventEmitter<string>;
|
|
18
|
+
el: HTMLElement;
|
|
19
|
+
internals: ElementInternals;
|
|
20
|
+
copied: boolean;
|
|
21
|
+
copyFailed: boolean;
|
|
22
|
+
formatMessage: string;
|
|
23
|
+
watchCode: (newCode: string | undefined) => void;
|
|
24
|
+
watchValue: (newValue: string | undefined) => void;
|
|
25
|
+
watchLanguage: () => void;
|
|
26
|
+
watchConstraints: () => void;
|
|
27
|
+
watchEditable: () => void;
|
|
28
|
+
formDisabledCallback: () => void;
|
|
29
|
+
formResetCallback: () => void;
|
|
30
|
+
scrollToBottom: () => Promise<void>;
|
|
31
|
+
checkValidity: () => Promise<boolean>;
|
|
32
|
+
reportValidity: () => Promise<boolean>;
|
|
33
|
+
renderContent: (variant: import("../syntax-box/syntax-box.types").QSyntaxBoxVariant) => any[];
|
|
34
|
+
renderActions: () => any;
|
|
35
|
+
} & import("../syntax-box/syntax-content").SyntaxContentLifecycle;
|
|
36
|
+
/**
|
|
37
|
+
* Displays one editable or read-only view, on its own or as a child of a Syntax Box.
|
|
38
|
+
* @slot - Read-only content when code is omitted.
|
|
39
|
+
* @slot actions - Actions for this view.
|
|
40
|
+
*/
|
|
41
|
+
export declare class QSyntaxView extends QSyntaxView_base {
|
|
42
|
+
el: HTMLElement;
|
|
43
|
+
internals: ElementInternals;
|
|
44
|
+
/** Optional identity for preserving selection when replacing a view element. */
|
|
45
|
+
viewKey?: string;
|
|
46
|
+
render(): any;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -14,6 +14,8 @@ import type { QSidepanelCollapseControl, QSidepanelCollapseControlAppearance, QS
|
|
|
14
14
|
* @part surface - Stable inner content surface for persistent panels.
|
|
15
15
|
* @part header - Header region.
|
|
16
16
|
* @part body - Body or navigation region.
|
|
17
|
+
* @part group-label - Text of a navigation item with children.
|
|
18
|
+
* @part item-label - Text of a navigation item without children.
|
|
17
19
|
* @part item-badge - Navigation item's optional count badge.
|
|
18
20
|
* @part footer - Footer region.
|
|
19
21
|
* @part collapse-control - Built-in collapse button.
|
|
@@ -14,7 +14,9 @@ export declare class QReel {
|
|
|
14
14
|
el: HTMLElement;
|
|
15
15
|
activeMedia: QThumbnailMaximizeDetail | null;
|
|
16
16
|
private closeButtonRef?;
|
|
17
|
-
private
|
|
17
|
+
private openingThumbnail?;
|
|
18
|
+
private focusAfterRender?;
|
|
19
|
+
componentDidRender(): void;
|
|
18
20
|
disconnectedCallback(): void;
|
|
19
21
|
handleLightboxChange(lightbox: boolean): void;
|
|
20
22
|
private getThumbnails;
|
|
@@ -28,7 +30,5 @@ export declare class QReel {
|
|
|
28
30
|
private handleNextClick;
|
|
29
31
|
private getActiveIndex;
|
|
30
32
|
private navigateMedia;
|
|
31
|
-
private clearFocusTimer;
|
|
32
|
-
private scheduleFocus;
|
|
33
33
|
render(): any;
|
|
34
34
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1976,7 +1976,7 @@ export namespace Components {
|
|
|
1976
1976
|
"status": QStepDiagramItemStatus;
|
|
1977
1977
|
}
|
|
1978
1978
|
/**
|
|
1979
|
-
* Displays
|
|
1979
|
+
* Displays syntax-highlighted content and automatically adds tabs for multiple views.
|
|
1980
1980
|
*/
|
|
1981
1981
|
interface QSyntaxBox {
|
|
1982
1982
|
/**
|
|
@@ -2006,7 +2006,7 @@ export namespace Components {
|
|
|
2006
2006
|
*/
|
|
2007
2007
|
"editable": boolean;
|
|
2008
2008
|
/**
|
|
2009
|
-
*
|
|
2009
|
+
* Title in panel mode and tab label for a composed view.
|
|
2010
2010
|
*/
|
|
2011
2011
|
"heading"?: string;
|
|
2012
2012
|
/**
|
|
@@ -2014,6 +2014,7 @@ export namespace Components {
|
|
|
2014
2014
|
*/
|
|
2015
2015
|
"height"?: string;
|
|
2016
2016
|
/**
|
|
2017
|
+
* Selects the formatter. HTML, JavaScript, CSS, and JSON also receive syntax highlighting.
|
|
2017
2018
|
* @default 'html'
|
|
2018
2019
|
*/
|
|
2019
2020
|
"language": QSyntaxBoxLanguage;
|
|
@@ -2022,7 +2023,7 @@ export namespace Components {
|
|
|
2022
2023
|
*/
|
|
2023
2024
|
"name"?: string;
|
|
2024
2025
|
/**
|
|
2025
|
-
* Reports editable constraint violations and
|
|
2026
|
+
* Reports editable constraint violations and reveals the editor in its owning box.
|
|
2026
2027
|
*/
|
|
2027
2028
|
"reportValidity": () => Promise<boolean>;
|
|
2028
2029
|
/**
|
|
@@ -2043,6 +2044,79 @@ export namespace Components {
|
|
|
2043
2044
|
*/
|
|
2044
2045
|
"variant": QSyntaxBoxVariant;
|
|
2045
2046
|
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Displays one editable or read-only view, on its own or as a child of a Syntax Box.
|
|
2049
|
+
*/
|
|
2050
|
+
interface QSyntaxView {
|
|
2051
|
+
/**
|
|
2052
|
+
* Accessible name for the editor; falls back to `heading`, then the language.
|
|
2053
|
+
* @default null
|
|
2054
|
+
*/
|
|
2055
|
+
"ariaLabel": string | null;
|
|
2056
|
+
/**
|
|
2057
|
+
* Returns whether editable content satisfies native constraints.
|
|
2058
|
+
*/
|
|
2059
|
+
"checkValidity": () => Promise<boolean>;
|
|
2060
|
+
/**
|
|
2061
|
+
* Mirrored with `value`; prefer `code` for domain usage.
|
|
2062
|
+
*/
|
|
2063
|
+
"code"?: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* @default false
|
|
2066
|
+
*/
|
|
2067
|
+
"copyable": boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
* Disables editing and panel actions.
|
|
2070
|
+
* @default false
|
|
2071
|
+
*/
|
|
2072
|
+
"disabled": boolean;
|
|
2073
|
+
/**
|
|
2074
|
+
* @default false
|
|
2075
|
+
*/
|
|
2076
|
+
"editable": boolean;
|
|
2077
|
+
/**
|
|
2078
|
+
* Title in panel mode and tab label for a composed view.
|
|
2079
|
+
*/
|
|
2080
|
+
"heading"?: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* Explicit content height. Panel mode defaults to 110px; plain mode defaults to auto.
|
|
2083
|
+
*/
|
|
2084
|
+
"height"?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Selects the formatter. HTML, JavaScript, CSS, and JSON also receive syntax highlighting.
|
|
2087
|
+
* @default 'html'
|
|
2088
|
+
*/
|
|
2089
|
+
"language": QSyntaxBoxLanguage;
|
|
2090
|
+
/**
|
|
2091
|
+
* Form field name used when the component is editable.
|
|
2092
|
+
*/
|
|
2093
|
+
"name"?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* Reports editable constraint violations and reveals the editor in its owning box.
|
|
2096
|
+
*/
|
|
2097
|
+
"reportValidity": () => Promise<boolean>;
|
|
2098
|
+
/**
|
|
2099
|
+
* Marks the editable textarea as required for form validation.
|
|
2100
|
+
* @default false
|
|
2101
|
+
*/
|
|
2102
|
+
"required": boolean;
|
|
2103
|
+
/**
|
|
2104
|
+
* Programmatically scrolls the read-only code body to the bottom when it is wrapped by q-scrollable.
|
|
2105
|
+
*/
|
|
2106
|
+
"scrollToBottom": () => Promise<void>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Form-value alias mirrored with `code` for compatibility.
|
|
2109
|
+
*/
|
|
2110
|
+
"value"?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* @default 'panel'
|
|
2113
|
+
*/
|
|
2114
|
+
"variant": QSyntaxBoxVariant;
|
|
2115
|
+
/**
|
|
2116
|
+
* Optional identity for preserving selection when replacing a view element.
|
|
2117
|
+
*/
|
|
2118
|
+
"viewKey"?: string;
|
|
2119
|
+
}
|
|
2046
2120
|
/**
|
|
2047
2121
|
* Accessible tab selector for switching between consumer-owned tab panels.
|
|
2048
2122
|
*/
|
|
@@ -2427,6 +2501,10 @@ export interface QSyntaxBoxCustomEvent<T> extends CustomEvent<T> {
|
|
|
2427
2501
|
detail: T;
|
|
2428
2502
|
target: HTMLQSyntaxBoxElement;
|
|
2429
2503
|
}
|
|
2504
|
+
export interface QSyntaxViewCustomEvent<T> extends CustomEvent<T> {
|
|
2505
|
+
detail: T;
|
|
2506
|
+
target: HTMLQSyntaxViewElement;
|
|
2507
|
+
}
|
|
2430
2508
|
export interface QTabsCustomEvent<T> extends CustomEvent<T> {
|
|
2431
2509
|
detail: T;
|
|
2432
2510
|
target: HTMLQTabsElement;
|
|
@@ -3114,7 +3192,7 @@ declare global {
|
|
|
3114
3192
|
"qInput": string;
|
|
3115
3193
|
}
|
|
3116
3194
|
/**
|
|
3117
|
-
* Displays
|
|
3195
|
+
* Displays syntax-highlighted content and automatically adds tabs for multiple views.
|
|
3118
3196
|
*/
|
|
3119
3197
|
interface HTMLQSyntaxBoxElement extends Components.QSyntaxBox, HTMLStencilElement {
|
|
3120
3198
|
addEventListener<K extends keyof HTMLQSyntaxBoxElementEventMap>(type: K, listener: (this: HTMLQSyntaxBoxElement, ev: QSyntaxBoxCustomEvent<HTMLQSyntaxBoxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3130,6 +3208,27 @@ declare global {
|
|
|
3130
3208
|
prototype: HTMLQSyntaxBoxElement;
|
|
3131
3209
|
new (): HTMLQSyntaxBoxElement;
|
|
3132
3210
|
};
|
|
3211
|
+
interface HTMLQSyntaxViewElementEventMap {
|
|
3212
|
+
"qChange": string;
|
|
3213
|
+
"qInput": string;
|
|
3214
|
+
}
|
|
3215
|
+
/**
|
|
3216
|
+
* Displays one editable or read-only view, on its own or as a child of a Syntax Box.
|
|
3217
|
+
*/
|
|
3218
|
+
interface HTMLQSyntaxViewElement extends Components.QSyntaxView, HTMLStencilElement {
|
|
3219
|
+
addEventListener<K extends keyof HTMLQSyntaxViewElementEventMap>(type: K, listener: (this: HTMLQSyntaxViewElement, ev: QSyntaxViewCustomEvent<HTMLQSyntaxViewElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3220
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3221
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3222
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3223
|
+
removeEventListener<K extends keyof HTMLQSyntaxViewElementEventMap>(type: K, listener: (this: HTMLQSyntaxViewElement, ev: QSyntaxViewCustomEvent<HTMLQSyntaxViewElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3224
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3225
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3226
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3227
|
+
}
|
|
3228
|
+
var HTMLQSyntaxViewElement: {
|
|
3229
|
+
prototype: HTMLQSyntaxViewElement;
|
|
3230
|
+
new (): HTMLQSyntaxViewElement;
|
|
3231
|
+
};
|
|
3133
3232
|
interface HTMLQTabsElementEventMap {
|
|
3134
3233
|
"qChange": string;
|
|
3135
3234
|
}
|
|
@@ -3289,6 +3388,7 @@ declare global {
|
|
|
3289
3388
|
"q-step-diagram": HTMLQStepDiagramElement;
|
|
3290
3389
|
"q-step-diagram-item": HTMLQStepDiagramItemElement;
|
|
3291
3390
|
"q-syntax-box": HTMLQSyntaxBoxElement;
|
|
3391
|
+
"q-syntax-view": HTMLQSyntaxViewElement;
|
|
3292
3392
|
"q-tabs": HTMLQTabsElement;
|
|
3293
3393
|
"q-textarea": HTMLQTextareaElement;
|
|
3294
3394
|
"q-thumbnail": HTMLQThumbnailElement;
|
|
@@ -5271,7 +5371,7 @@ declare namespace LocalJSX {
|
|
|
5271
5371
|
"status"?: QStepDiagramItemStatus;
|
|
5272
5372
|
}
|
|
5273
5373
|
/**
|
|
5274
|
-
* Displays
|
|
5374
|
+
* Displays syntax-highlighted content and automatically adds tabs for multiple views.
|
|
5275
5375
|
*/
|
|
5276
5376
|
interface QSyntaxBox {
|
|
5277
5377
|
/**
|
|
@@ -5301,7 +5401,7 @@ declare namespace LocalJSX {
|
|
|
5301
5401
|
*/
|
|
5302
5402
|
"form"?: string;
|
|
5303
5403
|
/**
|
|
5304
|
-
*
|
|
5404
|
+
* Title in panel mode and tab label for a composed view.
|
|
5305
5405
|
*/
|
|
5306
5406
|
"heading"?: string;
|
|
5307
5407
|
/**
|
|
@@ -5309,6 +5409,7 @@ declare namespace LocalJSX {
|
|
|
5309
5409
|
*/
|
|
5310
5410
|
"height"?: string;
|
|
5311
5411
|
/**
|
|
5412
|
+
* Selects the formatter. HTML, JavaScript, CSS, and JSON also receive syntax highlighting.
|
|
5312
5413
|
* @default 'html'
|
|
5313
5414
|
*/
|
|
5314
5415
|
"language"?: QSyntaxBoxLanguage;
|
|
@@ -5338,6 +5439,79 @@ declare namespace LocalJSX {
|
|
|
5338
5439
|
*/
|
|
5339
5440
|
"variant"?: QSyntaxBoxVariant;
|
|
5340
5441
|
}
|
|
5442
|
+
/**
|
|
5443
|
+
* Displays one editable or read-only view, on its own or as a child of a Syntax Box.
|
|
5444
|
+
*/
|
|
5445
|
+
interface QSyntaxView {
|
|
5446
|
+
/**
|
|
5447
|
+
* Accessible name for the editor; falls back to `heading`, then the language.
|
|
5448
|
+
* @default null
|
|
5449
|
+
*/
|
|
5450
|
+
"ariaLabel"?: string | null;
|
|
5451
|
+
/**
|
|
5452
|
+
* Mirrored with `value`; prefer `code` for domain usage.
|
|
5453
|
+
*/
|
|
5454
|
+
"code"?: string;
|
|
5455
|
+
/**
|
|
5456
|
+
* @default false
|
|
5457
|
+
*/
|
|
5458
|
+
"copyable"?: boolean;
|
|
5459
|
+
/**
|
|
5460
|
+
* Disables editing and panel actions.
|
|
5461
|
+
* @default false
|
|
5462
|
+
*/
|
|
5463
|
+
"disabled"?: boolean;
|
|
5464
|
+
/**
|
|
5465
|
+
* @default false
|
|
5466
|
+
*/
|
|
5467
|
+
"editable"?: boolean;
|
|
5468
|
+
/**
|
|
5469
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
5470
|
+
*/
|
|
5471
|
+
"form"?: string;
|
|
5472
|
+
/**
|
|
5473
|
+
* Title in panel mode and tab label for a composed view.
|
|
5474
|
+
*/
|
|
5475
|
+
"heading"?: string;
|
|
5476
|
+
/**
|
|
5477
|
+
* Explicit content height. Panel mode defaults to 110px; plain mode defaults to auto.
|
|
5478
|
+
*/
|
|
5479
|
+
"height"?: string;
|
|
5480
|
+
/**
|
|
5481
|
+
* Selects the formatter. HTML, JavaScript, CSS, and JSON also receive syntax highlighting.
|
|
5482
|
+
* @default 'html'
|
|
5483
|
+
*/
|
|
5484
|
+
"language"?: QSyntaxBoxLanguage;
|
|
5485
|
+
/**
|
|
5486
|
+
* Form field name used when the component is editable.
|
|
5487
|
+
*/
|
|
5488
|
+
"name"?: string;
|
|
5489
|
+
/**
|
|
5490
|
+
* Emitted when editable content is committed by the native change event or by formatting.
|
|
5491
|
+
*/
|
|
5492
|
+
"onQChange"?: (event: QSyntaxViewCustomEvent<string>) => void;
|
|
5493
|
+
/**
|
|
5494
|
+
* Emitted on each editable content input and after formatting.
|
|
5495
|
+
*/
|
|
5496
|
+
"onQInput"?: (event: QSyntaxViewCustomEvent<string>) => void;
|
|
5497
|
+
/**
|
|
5498
|
+
* Marks the editable textarea as required for form validation.
|
|
5499
|
+
* @default false
|
|
5500
|
+
*/
|
|
5501
|
+
"required"?: boolean;
|
|
5502
|
+
/**
|
|
5503
|
+
* Form-value alias mirrored with `code` for compatibility.
|
|
5504
|
+
*/
|
|
5505
|
+
"value"?: string;
|
|
5506
|
+
/**
|
|
5507
|
+
* @default 'panel'
|
|
5508
|
+
*/
|
|
5509
|
+
"variant"?: QSyntaxBoxVariant;
|
|
5510
|
+
/**
|
|
5511
|
+
* Optional identity for preserving selection when replacing a view element.
|
|
5512
|
+
*/
|
|
5513
|
+
"viewKey"?: string;
|
|
5514
|
+
}
|
|
5341
5515
|
/**
|
|
5342
5516
|
* Accessible tab selector for switching between consumer-owned tab panels.
|
|
5343
5517
|
*/
|
|
@@ -6072,6 +6246,21 @@ declare namespace LocalJSX {
|
|
|
6072
6246
|
"language": QSyntaxBoxLanguage;
|
|
6073
6247
|
"disabled": boolean;
|
|
6074
6248
|
}
|
|
6249
|
+
interface QSyntaxViewAttributes {
|
|
6250
|
+
"code": string;
|
|
6251
|
+
"value": string;
|
|
6252
|
+
"heading": string;
|
|
6253
|
+
"ariaLabel": string | null;
|
|
6254
|
+
"variant": QSyntaxBoxVariant;
|
|
6255
|
+
"height": string;
|
|
6256
|
+
"copyable": boolean;
|
|
6257
|
+
"editable": boolean;
|
|
6258
|
+
"name": string;
|
|
6259
|
+
"required": boolean;
|
|
6260
|
+
"language": QSyntaxBoxLanguage;
|
|
6261
|
+
"disabled": boolean;
|
|
6262
|
+
"viewKey": string;
|
|
6263
|
+
}
|
|
6075
6264
|
interface QTabsAttributes {
|
|
6076
6265
|
"items": TabItemInput[] | string;
|
|
6077
6266
|
"value": string;
|
|
@@ -6180,6 +6369,7 @@ declare namespace LocalJSX {
|
|
|
6180
6369
|
"q-step-diagram": Omit<QStepDiagram, keyof QStepDiagramAttributes> & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes]?: QStepDiagram[K] } & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes as `attr:${K}`]?: QStepDiagramAttributes[K] } & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes as `prop:${K}`]?: QStepDiagram[K] };
|
|
6181
6370
|
"q-step-diagram-item": Omit<QStepDiagramItem, keyof QStepDiagramItemAttributes> & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes]?: QStepDiagramItem[K] } & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes as `attr:${K}`]?: QStepDiagramItemAttributes[K] } & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes as `prop:${K}`]?: QStepDiagramItem[K] };
|
|
6182
6371
|
"q-syntax-box": Omit<QSyntaxBox, keyof QSyntaxBoxAttributes> & { [K in keyof QSyntaxBox & keyof QSyntaxBoxAttributes]?: QSyntaxBox[K] } & { [K in keyof QSyntaxBox & keyof QSyntaxBoxAttributes as `attr:${K}`]?: QSyntaxBoxAttributes[K] } & { [K in keyof QSyntaxBox & keyof QSyntaxBoxAttributes as `prop:${K}`]?: QSyntaxBox[K] };
|
|
6372
|
+
"q-syntax-view": Omit<QSyntaxView, keyof QSyntaxViewAttributes> & { [K in keyof QSyntaxView & keyof QSyntaxViewAttributes]?: QSyntaxView[K] } & { [K in keyof QSyntaxView & keyof QSyntaxViewAttributes as `attr:${K}`]?: QSyntaxViewAttributes[K] } & { [K in keyof QSyntaxView & keyof QSyntaxViewAttributes as `prop:${K}`]?: QSyntaxView[K] };
|
|
6183
6373
|
"q-tabs": Omit<QTabs, keyof QTabsAttributes> & { [K in keyof QTabs & keyof QTabsAttributes]?: QTabs[K] } & { [K in keyof QTabs & keyof QTabsAttributes as `attr:${K}`]?: QTabsAttributes[K] } & { [K in keyof QTabs & keyof QTabsAttributes as `prop:${K}`]?: QTabs[K] };
|
|
6184
6374
|
"q-textarea": Omit<QTextarea, keyof QTextareaAttributes> & { [K in keyof QTextarea & keyof QTextareaAttributes]?: QTextarea[K] } & { [K in keyof QTextarea & keyof QTextareaAttributes as `attr:${K}`]?: QTextareaAttributes[K] } & { [K in keyof QTextarea & keyof QTextareaAttributes as `prop:${K}`]?: QTextarea[K] };
|
|
6185
6375
|
"q-thumbnail": Omit<QThumbnail, keyof QThumbnailAttributes> & { [K in keyof QThumbnail & keyof QThumbnailAttributes]?: QThumbnail[K] } & { [K in keyof QThumbnail & keyof QThumbnailAttributes as `attr:${K}`]?: QThumbnailAttributes[K] } & { [K in keyof QThumbnail & keyof QThumbnailAttributes as `prop:${K}`]?: QThumbnail[K] };
|
|
@@ -6389,9 +6579,13 @@ declare module "@stencil/core" {
|
|
|
6389
6579
|
*/
|
|
6390
6580
|
"q-step-diagram-item": LocalJSX.IntrinsicElements["q-step-diagram-item"] & JSXBase.HTMLAttributes<HTMLQStepDiagramItemElement>;
|
|
6391
6581
|
/**
|
|
6392
|
-
* Displays
|
|
6582
|
+
* Displays syntax-highlighted content and automatically adds tabs for multiple views.
|
|
6393
6583
|
*/
|
|
6394
6584
|
"q-syntax-box": LocalJSX.IntrinsicElements["q-syntax-box"] & JSXBase.HTMLAttributes<HTMLQSyntaxBoxElement>;
|
|
6585
|
+
/**
|
|
6586
|
+
* Displays one editable or read-only view, on its own or as a child of a Syntax Box.
|
|
6587
|
+
*/
|
|
6588
|
+
"q-syntax-view": LocalJSX.IntrinsicElements["q-syntax-view"] & JSXBase.HTMLAttributes<HTMLQSyntaxViewElement>;
|
|
6395
6589
|
/**
|
|
6396
6590
|
* Accessible tab selector for switching between consumer-owned tab panels.
|
|
6397
6591
|
*/
|
package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/color.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Converts an rgb() or rgba() color string to a standard hex string (#RRGGBB).
|
|
6
|
-
* If the value is already a hex string, it is returned directly.
|
|
7
|
-
*/
|
|
8
|
-
export declare function convertToHex(rgbVal: string): string;
|
|
1
|
+
/** Native color inputs represent opaque RGB. Keep other CSS values in the text editor. */
|
|
2
|
+
export declare function convertToHex(value: string): string | null;
|