ember-inspector 4.13.1-alpha.2024.8.9 → 4.13.1-alpha.2025.6.8
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 -2
- package/app/components/app-picker.hbs +2 -2
- package/app/components/component-tree-item.hbs +13 -13
- package/app/components/component-tree-toolbar.hbs +3 -3
- package/app/components/{date-property-field.js → date-property-field.ts} +6 -5
- package/app/components/deprecation-item-source.hbs +1 -1
- package/app/components/deprecation-item.hbs +1 -1
- package/app/components/deprecations-toolbar.hbs +1 -1
- package/app/components/item-types.hbs +7 -7
- package/app/components/list-cell.hbs +3 -3
- package/app/components/list-content.hbs +4 -3
- package/app/components/list-content.ts +96 -0
- package/app/components/list.hbs +3 -3
- package/app/components/list.js +7 -7
- package/app/components/model-types-toolbar.hbs +3 -3
- package/app/components/object-inspector/dependent-keys.hbs +4 -4
- package/app/components/object-inspector/errors.hbs +4 -4
- package/app/components/object-inspector/properties-all.hbs +1 -1
- package/app/components/object-inspector/properties-grouped.hbs +5 -5
- package/app/components/object-inspector/property.hbs +16 -16
- package/app/components/object-inspector/property.ts +26 -17
- package/app/components/object-inspector/sort-properties.js +12 -4
- package/app/components/object-inspector.hbs +8 -8
- package/app/components/object-inspector.js +1 -1
- package/app/components/promise-item.hbs +11 -11
- package/app/components/promise-item.js +8 -6
- package/app/components/promise-tree-toolbar.hbs +5 -5
- package/app/components/records-toolbar.hbs +2 -2
- package/app/components/render-item.hbs +4 -4
- package/app/components/render-item.ts +12 -9
- package/app/components/render-tree-toolbar.hbs +1 -1
- package/app/components/route-cell-name.hbs +1 -1
- package/app/components/route-cell-name.js +3 -2
- package/app/components/route-tree-toolbar.hbs +2 -2
- package/app/components/scroll-container.js +2 -0
- package/app/components/side-nav.hbs +5 -5
- package/app/components/side-nav.js +1 -1
- package/app/computed/{debounce.js → debounce.ts} +7 -5
- package/app/config/environment.d.ts +5 -2
- package/app/controllers/app-config.js +1 -0
- package/app/controllers/application.js +33 -34
- package/app/controllers/component-tree.js +3 -2
- package/app/controllers/container-type.js +2 -1
- package/app/controllers/container-types/{index.js → index.ts} +5 -2
- package/app/controllers/container-types.js +3 -6
- package/app/controllers/deprecations.js +16 -11
- package/app/controllers/libraries.js +1 -0
- package/app/controllers/model-types.js +1 -0
- package/app/controllers/promise-tree.ts +149 -0
- package/app/controllers/records.js +18 -26
- package/app/controllers/{render-tree.js → render-tree.ts} +54 -45
- package/app/controllers/route-tree.js +7 -5
- package/app/helpers/build-style.js +1 -1
- package/app/initializers/setup.js +1 -1
- package/app/libs/promise-assembler.ts +249 -0
- package/app/libs/resizable-columns.js +10 -10
- package/app/models/{promise.js → promise.ts} +72 -69
- package/app/{router.js → router.ts} +1 -1
- package/app/routes/app-detected.js +3 -5
- package/app/routes/application.js +6 -12
- package/app/routes/deprecations.js +7 -16
- package/app/routes/launch.js +2 -1
- package/app/routes/libraries.js +2 -1
- package/app/routes/model-type.js +2 -3
- package/app/routes/model-types.ts +57 -0
- package/app/routes/promise-tree.ts +63 -0
- package/app/routes/records.ts +78 -0
- package/app/routes/render-tree.ts +93 -0
- package/app/routes/route-tree.js +0 -1
- package/app/routes/{tab.js → tab.ts} +9 -2
- package/app/routes/whats-new.js +1 -1
- package/app/services/adapters/{basic.js → basic.ts} +36 -30
- package/app/services/adapters/{bookmarklet.js → bookmarklet.ts} +17 -24
- package/app/services/adapters/{chrome.js → chrome.ts} +1 -2
- package/app/services/adapters/{web-extension.js → web-extension.ts} +43 -46
- package/app/services/adapters/websocket.ts +40 -0
- package/app/services/layout.ts +88 -0
- package/app/services/port.ts +195 -0
- package/app/services/storage/{local.js → local.ts} +7 -20
- package/app/services/storage/{memory.js → memory.ts} +6 -21
- package/app/services/{storage.js → storage.ts} +9 -20
- package/app/styles/base.scss +4 -2
- package/app/styles/colors.scss +33 -31
- package/app/styles/component_tree.scss +56 -51
- package/app/styles/dropdown.scss +2 -2
- package/app/styles/ember-table.scss +3 -3
- package/app/styles/mixin.scss +26 -26
- package/app/styles/object_inspector.scss +22 -21
- package/app/styles/utils.scss +408 -122
- package/app/templates/application.hbs +11 -11
- package/app/templates/component-tree.hbs +1 -1
- package/app/templates/deprecations.hbs +2 -3
- package/app/templates/info.hbs +10 -10
- package/app/templates/promise-tree.hbs +1 -1
- package/app/templates/render-tree.hbs +1 -1
- package/app/templates/route-tree.hbs +1 -1
- package/app/utils/escape-reg-exp.ts +3 -2
- package/app/utils/nullish.ts +7 -0
- package/app/utils/parse-text.ts +4 -5
- package/app/utils/truncate.js +0 -1
- package/config/ember-cli-update.json +5 -3
- package/config/ember-try.js +117 -72
- package/config/environment.js +1 -1
- package/config/optional-features.json +2 -1
- package/dist/bookmarklet/load_inspector.js +30 -11
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
- package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.css +150 -155
- package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.js +486 -590
- package/dist/bookmarklet/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-components.svg +2 -2
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-container.svg +1 -1
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-data.svg +1 -1
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-info.svg +3 -3
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
- package/dist/bookmarklet/panes-3-16-0/assets/vendor.css +147 -148
- package/dist/bookmarklet/panes-3-16-0/assets/vendor.js +5153 -5980
- package/dist/bookmarklet/panes-3-16-0/ember_debug.js +250 -268
- package/dist/bookmarklet/panes-3-16-0/index.html +3 -4
- package/dist/chrome/background.js +26 -21
- package/dist/chrome/boot.js +1 -1
- package/dist/chrome/content-script.js +11 -11
- package/dist/chrome/devtools.js +12 -3
- package/dist/chrome/manifest.json +2 -2
- package/dist/chrome/options.js +17 -12
- package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
- package/dist/chrome/panes-3-16-0/assets/ember-inspector.css +150 -155
- package/dist/chrome/panes-3-16-0/assets/ember-inspector.js +486 -590
- package/dist/chrome/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
- package/dist/chrome/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
- package/dist/chrome/panes-3-16-0/assets/svg/nav-components.svg +2 -2
- package/dist/chrome/panes-3-16-0/assets/svg/nav-container.svg +1 -1
- package/dist/chrome/panes-3-16-0/assets/svg/nav-data.svg +1 -1
- package/dist/chrome/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
- package/dist/chrome/panes-3-16-0/assets/svg/nav-info.svg +3 -3
- package/dist/chrome/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
- package/dist/chrome/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
- package/dist/chrome/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
- package/dist/chrome/panes-3-16-0/assets/vendor.css +147 -148
- package/dist/chrome/panes-3-16-0/assets/vendor.js +5153 -5980
- package/dist/chrome/panes-3-16-0/ember_debug.js +250 -268
- package/dist/chrome/panes-3-16-0/index.html +3 -4
- package/dist/chrome/scripts/in-page-script.js +19 -13
- package/dist/firefox/background.js +26 -21
- package/dist/firefox/boot.js +1 -1
- package/dist/firefox/content-script.js +11 -11
- package/dist/firefox/devtools.js +12 -3
- package/dist/firefox/manifest.json +2 -2
- package/dist/firefox/options.js +17 -12
- package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
- package/dist/firefox/panes-3-16-0/assets/ember-inspector.css +150 -155
- package/dist/firefox/panes-3-16-0/assets/ember-inspector.js +486 -590
- package/dist/firefox/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
- package/dist/firefox/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
- package/dist/firefox/panes-3-16-0/assets/svg/nav-components.svg +2 -2
- package/dist/firefox/panes-3-16-0/assets/svg/nav-container.svg +1 -1
- package/dist/firefox/panes-3-16-0/assets/svg/nav-data.svg +1 -1
- package/dist/firefox/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
- package/dist/firefox/panes-3-16-0/assets/svg/nav-info.svg +3 -3
- package/dist/firefox/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
- package/dist/firefox/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
- package/dist/firefox/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
- package/dist/firefox/panes-3-16-0/assets/vendor.css +147 -148
- package/dist/firefox/panes-3-16-0/assets/vendor.js +5153 -5980
- package/dist/firefox/panes-3-16-0/ember_debug.js +250 -268
- package/dist/firefox/panes-3-16-0/index.html +3 -4
- package/dist/firefox/scripts/in-page-script.js +19 -13
- package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/websocket/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
- package/dist/websocket/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
- package/dist/websocket/assets/ember-inspector.css +150 -155
- package/dist/websocket/assets/ember-inspector.js +486 -590
- package/dist/websocket/assets/svg/ellipsis.svg +3 -3
- package/dist/websocket/assets/svg/nav-bug.svg +1 -1
- package/dist/websocket/assets/svg/nav-components.svg +2 -2
- package/dist/websocket/assets/svg/nav-container.svg +1 -1
- package/dist/websocket/assets/svg/nav-data.svg +1 -1
- package/dist/websocket/assets/svg/nav-deprecations.svg +3 -3
- package/dist/websocket/assets/svg/nav-info.svg +3 -3
- package/dist/websocket/assets/svg/nav-promises.svg +2 -2
- package/dist/websocket/assets/svg/nav-render-performance.svg +2 -2
- package/dist/websocket/assets/svg/nav-route-tree.svg +7 -7
- package/dist/websocket/assets/vendor.css +147 -148
- package/dist/websocket/assets/vendor.js +5153 -5980
- package/dist/websocket/ember_debug.js +250 -268
- package/dist/websocket/index.html +3 -4
- package/ember-cli-build.js +11 -11
- package/ember_debug/adapters/basic.js +2 -1
- package/ember_debug/adapters/bookmarklet.js +1 -0
- package/ember_debug/adapters/firefox.js +3 -3
- package/ember_debug/adapters/web-extension.js +2 -1
- package/ember_debug/data-debug.js +5 -6
- package/ember_debug/deprecation-debug.js +8 -8
- package/ember_debug/general-debug.js +1 -1
- package/ember_debug/libs/capture-render-tree.js +0 -1
- package/ember_debug/libs/promise-assembler.js +1 -0
- package/ember_debug/libs/render-tree.js +13 -12
- package/ember_debug/libs/source-map.js +5 -4
- package/ember_debug/libs/view-inspection.js +12 -12
- package/ember_debug/main.js +1 -1
- package/ember_debug/models/profile-manager.js +2 -1
- package/ember_debug/object-inspector.js +19 -18
- package/ember_debug/port.js +1 -0
- package/ember_debug/promise-debug.js +1 -1
- package/ember_debug/route-debug.js +3 -2
- package/ember_debug/services/session.js +1 -1
- package/ember_debug/utils/classify.js +1 -1
- package/ember_debug/utils/ember/debug.js +2 -0
- package/ember_debug/utils/ember/loader.js +2 -2
- package/ember_debug/utils/ember/runloop.js +2 -0
- package/ember_debug/utils/ember-object-names.js +2 -2
- package/ember_debug/utils/ember.js +9 -3
- package/ember_debug/utils/evented.js +1 -1
- package/ember_debug/utils/get-object-name.js +2 -2
- package/ember_debug/utils/rsvp.js +1 -0
- package/ember_debug/utils/type-check.js +5 -1
- package/ember_debug/vendor/startup-wrapper.js +4 -1
- package/ember_debug/view-debug.js +3 -2
- package/eslint.config.mjs +172 -0
- package/gulpfile.js +1 -1
- package/lib/ui/addon/components/drag-handle.hbs +4 -4
- package/lib/ui/addon/components/drag-handle.js +3 -1
- package/lib/ui/addon/components/empty-message.hbs +1 -1
- package/lib/ui/addon/components/error-page.hbs +3 -3
- package/lib/ui/addon/components/resizable-column.js +1 -1
- package/lib/ui/addon/components/toolbar-clear-button.hbs +1 -1
- package/lib/ui/addon/components/toolbar-reload-button.hbs +1 -1
- package/lib/ui/addon/components/toolbar-search-field.hbs +2 -2
- package/lib/ui/addon/styles/_disclosure-triangle.scss +3 -1
- package/lib/ui/addon/styles/_drag-handle.scss +7 -7
- package/lib/ui/addon/styles/_empty-message.scss +1 -1
- package/lib/ui/addon/styles/_error-page.scss +8 -7
- package/lib/ui/addon/styles/_list.scss +46 -45
- package/lib/ui/addon/styles/_nav.scss +29 -27
- package/lib/ui/addon/styles/_object-inspector-toggle.scss +5 -5
- package/lib/ui/addon/styles/_pill.scss +4 -4
- package/lib/ui/addon/styles/_send-to-console.scss +1 -1
- package/lib/ui/addon/styles/_split.scss +17 -20
- package/lib/ui/addon/styles/addon.scss +13 -13
- package/lib/ui/addon/styles/toolbar/_checkbox.scss +5 -5
- package/lib/ui/addon/styles/toolbar/_icon-button.scss +44 -25
- package/lib/ui/addon/styles/toolbar/_index.scss +6 -5
- package/lib/ui/addon/styles/toolbar/_radio.scss +10 -10
- package/lib/ui/addon/styles/toolbar/_search.scss +5 -3
- package/package.json +85 -86
- package/public/assets/svg/ellipsis.svg +3 -3
- package/public/assets/svg/nav-bug.svg +1 -1
- package/public/assets/svg/nav-components.svg +2 -2
- package/public/assets/svg/nav-container.svg +1 -1
- package/public/assets/svg/nav-data.svg +1 -1
- package/public/assets/svg/nav-deprecations.svg +3 -3
- package/public/assets/svg/nav-info.svg +3 -3
- package/public/assets/svg/nav-promises.svg +2 -2
- package/public/assets/svg/nav-render-performance.svg +2 -2
- package/public/assets/svg/nav-route-tree.svg +7 -7
- package/scripts/download-panes.js +1 -1
- package/skeletons/bookmarklet/load_inspector.js +30 -11
- package/skeletons/web-extension/background.js +26 -21
- package/skeletons/web-extension/boot.js +1 -1
- package/skeletons/web-extension/content-script.js +11 -11
- package/skeletons/web-extension/devtools.js +12 -3
- package/skeletons/web-extension/manifest.json +2 -2
- package/skeletons/web-extension/options.js +17 -12
- package/skeletons/web-extension/scripts/in-page-script.js +19 -13
- package/testem.js +0 -1
- package/tests/acceptance/app-picker-test.js +4 -4
- package/tests/acceptance/component-tree-test.js +43 -57
- package/tests/acceptance/container-test.js +0 -2
- package/tests/acceptance/data-test.js +8 -10
- package/tests/acceptance/deprecation-test.js +8 -12
- package/tests/acceptance/info-test.js +2 -2
- package/tests/acceptance/object-inspector-test.js +62 -110
- package/tests/acceptance/promise-test.js +1 -11
- package/tests/acceptance/render-tree-test.js +2 -2
- package/tests/acceptance/route-tree-test.js +12 -14
- package/tests/acceptance/whats-new-test.js +3 -3
- package/tests/ember_debug/container-debug-test.js +4 -4
- package/tests/ember_debug/deprecation-debug-test.js +8 -5
- package/tests/ember_debug/ember-debug-test.js +1 -4
- package/tests/ember_debug/object-inspector-test.js +44 -44
- package/tests/ember_debug/profile-manager-test.js +140 -165
- package/tests/ember_debug/profile-node-test.js +3 -3
- package/tests/ember_debug/promise-assembler-test.js +12 -9
- package/tests/ember_debug/promise-debug-test.js +5 -6
- package/tests/ember_debug/route-debug-test.js +8 -7
- package/tests/ember_debug/view-debug-test.js +179 -181
- package/tests/helpers/{index.js → index.ts} +6 -5
- package/tests/helpers/setup-ember-debug-test.js +14 -0
- package/tests/integration/injection-test.js +12 -13
- package/tests/test-adapter.js +15 -15
- package/tests/test-helper.js +6 -1
- package/tests/unit/check-current-route-test.js +0 -4
- package/tests/unit/resizable-columns-test.js +53 -51
- package/tests/unit/utils/parse-text-test.js +3 -3
- package/tests/unit/utils/search-match-test.js +5 -5
- package/tests/unit/utils/type-check-test.js +22 -0
- package/tsconfig.json +3 -1
- package/types/ember-inspector/index.d.ts +2 -1
- package/types/global.d.ts +1 -7
- package/.editorconfig +0 -19
- package/.ember-cli +0 -15
- package/.eslintignore +0 -33
- package/.eslintrc.js +0 -86
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/dependabot.yml +0 -14
- package/.github/pull_request_template.md +0 -4
- package/.github/workflows/build.yml +0 -339
- package/.github/workflows/plan-release.yml +0 -83
- package/.github/workflows/publish.yml +0 -60
- package/.prettierignore +0 -25
- package/.prettierrc.js +0 -14
- package/.release-plan.json +0 -17
- package/.stylelintrc.js +0 -3
- package/.template-lintrc.js +0 -12
- package/.tool-versions +0 -2
- package/.watchmanconfig +0 -3
- package/app/components/.gitkeep +0 -0
- package/app/components/list-content.js +0 -130
- package/app/controllers/.gitkeep +0 -0
- package/app/controllers/promise-tree.js +0 -130
- package/app/helpers/.gitkeep +0 -0
- package/app/libs/promise-assembler.js +0 -169
- package/app/models/.gitkeep +0 -0
- package/app/routes/.gitkeep +0 -0
- package/app/routes/model-types.js +0 -47
- package/app/routes/promise-tree.js +0 -48
- package/app/routes/records.js +0 -55
- package/app/routes/render-tree.js +0 -66
- package/app/services/adapters/websocket.js +0 -31
- package/app/services/layout.js +0 -39
- package/app/services/port.js +0 -90
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/chrome/panes-3-16-0/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
- package/dist/chrome/panes-3-16-0/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
- package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/firefox/panes-3-16-0/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
- package/dist/firefox/panes-3-16-0/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
- package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/websocket/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
- package/dist/websocket/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
- package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/ember_debug/.eslintrc.js +0 -13
- package/tests/helpers/trigger-port.js +0 -6
- package/tests/unit/.gitkeep +0 -0
- /package/app/{app.js → app.ts} +0 -0
- /package/app/controllers/{info.js → info.ts} +0 -0
- /package/app/services/adapters/{firefox.js → firefox.ts} +0 -0
@@ -3,37 +3,34 @@
|
|
3
3
|
font-size: 1.2rem;
|
4
4
|
min-height: 22px;
|
5
5
|
|
6
|
-
|
6
|
+
&-actions {
|
7
7
|
min-height: 22px;
|
8
8
|
opacity: 0;
|
9
9
|
right: var(--unit1);
|
10
10
|
|
11
11
|
/**
|
12
|
-
*
|
12
|
+
* -actions is position:sticky so it is always visible and on top.
|
13
13
|
* Due to margins and padding on various elements, it was
|
14
|
-
* difficult to keep the background of
|
14
|
+
* difficult to keep the background of -actions on top
|
15
15
|
* of .tree-item text and align with the .tree-item background.
|
16
|
-
* This pseudo element is 100% of the width of
|
16
|
+
* This pseudo element is 100% of the width of -actions plus
|
17
17
|
* a little extra to guarantee alignment.
|
18
18
|
*/
|
19
|
-
|
19
|
+
&::after {
|
20
20
|
border-bottom-right-radius: var(--unit1);
|
21
21
|
border-top-right-radius: var(--unit1);
|
22
|
-
|
23
|
-
content:
|
24
|
-
left: calc(var(--unit1) * -1);
|
22
|
+
inset: 0 calc(var(--unit1) * -1);
|
23
|
+
content: "";
|
25
24
|
position: absolute;
|
26
|
-
right: calc(var(--unit1) * -1);
|
27
|
-
top: 0;
|
28
25
|
}
|
29
26
|
|
30
27
|
/**
|
31
|
-
*
|
28
|
+
* -actions is position:sticky so it is always visible and on top.
|
32
29
|
* :before is a gradient to soften the edge when overlaying text.
|
33
30
|
*/
|
34
|
-
|
31
|
+
&::before {
|
35
32
|
bottom: 0;
|
36
|
-
content:
|
33
|
+
content: "";
|
37
34
|
left: calc(var(--unit3) * -1);
|
38
35
|
position: absolute;
|
39
36
|
top: 0;
|
@@ -41,7 +38,7 @@
|
|
41
38
|
}
|
42
39
|
}
|
43
40
|
|
44
|
-
|
41
|
+
&-action {
|
45
42
|
&:focus {
|
46
43
|
outline: none;
|
47
44
|
}
|
@@ -71,21 +68,25 @@
|
|
71
68
|
background-color: var(--component-highlighted-bg);
|
72
69
|
}
|
73
70
|
|
74
|
-
.component-tree-
|
71
|
+
.component-tree-item-actions {
|
75
72
|
opacity: 1;
|
76
73
|
|
77
|
-
|
74
|
+
&::after {
|
78
75
|
background-color: var(--component-highlighted-bg);
|
79
76
|
}
|
80
77
|
|
81
|
-
|
82
|
-
background: linear-gradient(
|
78
|
+
&::before {
|
79
|
+
background: linear-gradient(
|
80
|
+
to right,
|
81
|
+
var(--transparent),
|
82
|
+
var(--component-highlighted-bg) 75%
|
83
|
+
);
|
83
84
|
}
|
84
85
|
}
|
85
86
|
}
|
86
87
|
}
|
87
88
|
|
88
|
-
.component-tree-
|
89
|
+
.component-tree-item-tag {
|
89
90
|
.component-name {
|
90
91
|
color: var(--component-name);
|
91
92
|
}
|
@@ -120,12 +121,12 @@
|
|
120
121
|
* highlighted - the component currently being previewed
|
121
122
|
*/
|
122
123
|
|
123
|
-
.component-tree-item.component-tree-item
|
124
|
+
.component-tree-item.component-tree-item-highlighted {
|
124
125
|
background-color: var(--component-highlighted-bg);
|
125
126
|
border-radius: 0;
|
126
127
|
}
|
127
128
|
|
128
|
-
.component-tree-item
|
129
|
+
.component-tree-item-pinned .component-tree-item-tag {
|
129
130
|
.component-name,
|
130
131
|
.bracket-token,
|
131
132
|
.key-token,
|
@@ -134,44 +135,44 @@
|
|
134
135
|
}
|
135
136
|
}
|
136
137
|
|
137
|
-
.component-tree-
|
138
|
-
.component-tree-
|
139
|
-
.component-tree-item-
|
140
|
-
.component-tree-item-
|
138
|
+
.component-tree-item-bracket::before,
|
139
|
+
.component-tree-item-bracket::after,
|
140
|
+
.component-tree-item-classic-bracket::before,
|
141
|
+
.component-tree-item-classic-bracket::after {
|
141
142
|
color: var(--base09);
|
142
143
|
}
|
143
144
|
|
144
|
-
.component-tree-
|
145
|
-
content:
|
145
|
+
.component-tree-item-has-modifier::after {
|
146
|
+
content: "" !important;
|
146
147
|
}
|
147
148
|
|
148
|
-
.component-tree-
|
149
|
-
content:
|
149
|
+
.component-tree-item-closing::before {
|
150
|
+
content: ">";
|
150
151
|
margin-left: -13px;
|
151
152
|
}
|
152
153
|
|
153
|
-
.component-tree-
|
154
|
-
content:
|
154
|
+
.component-tree-item-self-closing::before {
|
155
|
+
content: "/>";
|
155
156
|
}
|
156
157
|
|
157
|
-
.component-tree-
|
158
|
-
content:
|
158
|
+
.component-tree-item-bracket::before {
|
159
|
+
content: "<";
|
159
160
|
}
|
160
161
|
|
161
|
-
.component-tree-
|
162
|
-
content:
|
162
|
+
.component-tree-item-bracket::after {
|
163
|
+
content: ">";
|
163
164
|
}
|
164
165
|
|
165
|
-
.component-tree-
|
166
|
-
content:
|
166
|
+
.component-tree-item-bracket.component-tree-item-bracket-self-closing::after {
|
167
|
+
content: "/>";
|
167
168
|
}
|
168
169
|
|
169
|
-
.component-tree-item-
|
170
|
-
content:
|
170
|
+
.component-tree-item-classic-bracket::before {
|
171
|
+
content: "{{";
|
171
172
|
}
|
172
173
|
|
173
|
-
.component-tree-item-
|
174
|
-
content:
|
174
|
+
.component-tree-item-classic-bracket::after {
|
175
|
+
content: "}}";
|
175
176
|
}
|
176
177
|
|
177
178
|
/**
|
@@ -179,7 +180,7 @@
|
|
179
180
|
* selected - user clicked on component
|
180
181
|
*/
|
181
182
|
|
182
|
-
.component-tree-item.component-tree-item
|
183
|
+
.component-tree-item.component-tree-item-pinned {
|
183
184
|
background: var(--focus);
|
184
185
|
color: var(--focus-text);
|
185
186
|
|
@@ -191,25 +192,29 @@
|
|
191
192
|
background: var(--focus);
|
192
193
|
}
|
193
194
|
|
194
|
-
.component-tree-
|
195
|
+
.component-tree-item-actions {
|
195
196
|
opacity: 1;
|
196
197
|
|
197
|
-
|
198
|
+
&::after {
|
198
199
|
background: var(--focus);
|
199
200
|
}
|
200
201
|
|
201
|
-
|
202
|
-
background: linear-gradient(
|
202
|
+
&::before {
|
203
|
+
background: linear-gradient(
|
204
|
+
to right,
|
205
|
+
var(--transparent),
|
206
|
+
var(--focus) 75%
|
207
|
+
);
|
203
208
|
}
|
204
209
|
}
|
205
210
|
|
206
|
-
.component-tree-
|
207
|
-
.component-tree-
|
211
|
+
.component-tree-item-bracket::before,
|
212
|
+
.component-tree-item-bracket::after {
|
208
213
|
color: var(--component-backets-selected);
|
209
214
|
}
|
210
215
|
|
211
|
-
.component-tree-
|
212
|
-
.component-tree-
|
216
|
+
.component-tree-item-expand,
|
217
|
+
.component-tree-item-action {
|
213
218
|
opacity: 1;
|
214
219
|
|
215
220
|
polygon,
|
@@ -220,6 +225,6 @@
|
|
220
225
|
}
|
221
226
|
}
|
222
227
|
|
223
|
-
.component-tree-item
|
228
|
+
.component-tree-item-component {
|
224
229
|
color: var(--base09);
|
225
230
|
}
|
package/app/styles/dropdown.scss
CHANGED
@@ -66,15 +66,15 @@ $red: #ff2717;
|
|
66
66
|
background: var(--base04);
|
67
67
|
}
|
68
68
|
|
69
|
-
.et-sort-indicator
|
70
|
-
content:
|
69
|
+
.et-sort-indicator::before {
|
70
|
+
content: "\25be";
|
71
71
|
display: inline-block;
|
72
72
|
font-size: 1.4rem;
|
73
73
|
line-height: 1;
|
74
74
|
transform: rotate(0);
|
75
75
|
}
|
76
76
|
|
77
|
-
.et-sort-indicator.is-ascending
|
77
|
+
.et-sort-indicator.is-ascending::before {
|
78
78
|
transform: rotate(180deg);
|
79
79
|
}
|
80
80
|
|
package/app/styles/mixin.scss
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
$mixin-left-padding: 22px;
|
10
10
|
|
11
|
-
.
|
11
|
+
.mixin-name {
|
12
12
|
border-bottom: 1px solid var(--base03);
|
13
13
|
padding: 4px 2px 4px $mixin-left-padding;
|
14
14
|
z-index: 1;
|
@@ -17,7 +17,7 @@ $mixin-left-padding: 22px;
|
|
17
17
|
background-color: var(--base02);
|
18
18
|
}
|
19
19
|
|
20
|
-
|
20
|
+
&::before {
|
21
21
|
color: var(--base10);
|
22
22
|
content: "\25B6";
|
23
23
|
font-size: 75%;
|
@@ -30,20 +30,20 @@ $mixin-left-padding: 22px;
|
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
33
|
-
.
|
33
|
+
.mixin-props-no .mixin-name::before {
|
34
34
|
opacity: 0;
|
35
35
|
}
|
36
36
|
|
37
|
-
.
|
37
|
+
.mixin-state-expanded .mixin-name::before {
|
38
38
|
transform: rotate(90deg);
|
39
39
|
}
|
40
40
|
|
41
|
-
.
|
41
|
+
.mixin-properties {
|
42
42
|
border-bottom: 1px solid var(--base03);
|
43
43
|
padding: 3px 0 5px;
|
44
44
|
}
|
45
45
|
|
46
|
-
.
|
46
|
+
.mixin-property {
|
47
47
|
min-height: 19px;
|
48
48
|
padding-bottom: 1px;
|
49
49
|
padding-top: 1px;
|
@@ -60,19 +60,19 @@ $mixin-left-padding: 22px;
|
|
60
60
|
width: $mixin-left-padding;
|
61
61
|
}
|
62
62
|
|
63
|
-
.
|
63
|
+
.mixin-calc-btn svg {
|
64
64
|
path,
|
65
65
|
circle {
|
66
66
|
fill: var(--spec07);
|
67
67
|
}
|
68
68
|
}
|
69
69
|
|
70
|
-
.
|
70
|
+
.mixin-send-btn {
|
71
71
|
opacity: 0;
|
72
72
|
padding-right: 6px;
|
73
73
|
}
|
74
74
|
|
75
|
-
.
|
75
|
+
.mixin-cp-toggle {
|
76
76
|
outline: none;
|
77
77
|
width: $mixin-left-padding;
|
78
78
|
|
@@ -82,7 +82,7 @@ $mixin-left-padding: 22px;
|
|
82
82
|
}
|
83
83
|
}
|
84
84
|
|
85
|
-
.
|
85
|
+
.mixin-cp-toggle-expanded {
|
86
86
|
svg {
|
87
87
|
transform: rotate(0deg);
|
88
88
|
}
|
@@ -91,60 +91,60 @@ $mixin-left-padding: 22px;
|
|
91
91
|
|
92
92
|
/* Buttons */
|
93
93
|
|
94
|
-
.
|
94
|
+
.mixin-property-overridden-by {
|
95
95
|
display: none;
|
96
96
|
}
|
97
97
|
|
98
|
-
.
|
98
|
+
.mixin-property-name {
|
99
99
|
max-width: 50%;
|
100
100
|
}
|
101
101
|
|
102
|
-
.
|
102
|
+
.mixin-property-value {
|
103
103
|
flex: 1;
|
104
104
|
min-height: 14px;
|
105
105
|
}
|
106
106
|
|
107
|
-
.
|
107
|
+
.mixin-property-value-txt {
|
108
108
|
border: 1px solid var(--base09);
|
109
109
|
}
|
110
110
|
|
111
|
-
.
|
111
|
+
.mixin-property .type-function {
|
112
112
|
color: var(--base08);
|
113
113
|
}
|
114
114
|
|
115
|
-
.
|
115
|
+
.mixin-property .type-object {
|
116
116
|
color: var(--base11);
|
117
117
|
}
|
118
118
|
|
119
|
-
.
|
120
|
-
.
|
121
|
-
.
|
119
|
+
.mixin-property .type-ember-object,
|
120
|
+
.mixin-property .type-object,
|
121
|
+
.mixin-property .type-array {
|
122
122
|
cursor: pointer;
|
123
123
|
}
|
124
124
|
|
125
|
-
.
|
126
|
-
.
|
125
|
+
.mixin-property .type-null,
|
126
|
+
.mixin-property .type-boolean {
|
127
127
|
color: var(--spec03);
|
128
128
|
}
|
129
129
|
|
130
|
-
.
|
130
|
+
.mixin-property .type-descriptor {
|
131
131
|
color: var(--spec02);
|
132
132
|
cursor: pointer;
|
133
133
|
}
|
134
134
|
|
135
|
-
.
|
135
|
+
.mixin-property .type-service {
|
136
136
|
color: var(--spec09);
|
137
137
|
}
|
138
138
|
|
139
|
-
.
|
139
|
+
.mixin-property:not(.mixin-property-state-overridden):hover {
|
140
140
|
background-color: var(--base01);
|
141
141
|
}
|
142
142
|
|
143
|
-
.
|
143
|
+
.mixin-property-state-overridden:hover .mixin-property-overridden-by {
|
144
144
|
display: inline;
|
145
145
|
}
|
146
146
|
|
147
|
-
.
|
147
|
+
.mixin-property:not(.mixin-property-state-overridden):hover .mixin-send-btn {
|
148
148
|
opacity: 1;
|
149
149
|
|
150
150
|
&:active {
|
@@ -4,16 +4,17 @@
|
|
4
4
|
|
5
5
|
.object-inspector-toolbar.toolbar {
|
6
6
|
border-bottom: 1px solid var(--base03);
|
7
|
+
|
7
8
|
// override default .toolbar height
|
8
9
|
// based on table view header height
|
9
10
|
min-height: 30px;
|
10
11
|
|
11
|
-
.
|
12
|
+
.toolbar-radio-first {
|
12
13
|
margin-left: 7px;
|
13
14
|
}
|
14
15
|
}
|
15
16
|
|
16
|
-
.
|
17
|
+
.mixin-property-dependency-list {
|
17
18
|
margin-bottom: 5px;
|
18
19
|
margin-top: 2px;
|
19
20
|
padding-top: 2px;
|
@@ -27,13 +28,13 @@
|
|
27
28
|
}
|
28
29
|
}
|
29
30
|
|
30
|
-
.
|
31
|
+
.mixin-property-dependency-item {
|
31
32
|
margin-bottom: 2px;
|
32
33
|
margin-left: 55px;
|
33
34
|
|
34
|
-
|
35
|
+
&::before {
|
35
36
|
background-color: var(--base08);
|
36
|
-
content:
|
37
|
+
content: "";
|
37
38
|
height: 8px;
|
38
39
|
left: -9px;
|
39
40
|
position: absolute;
|
@@ -53,69 +54,69 @@
|
|
53
54
|
}
|
54
55
|
}
|
55
56
|
|
56
|
-
.
|
57
|
+
.mixin-property-dependency-name.subkey {
|
57
58
|
left: -11px;
|
58
59
|
position: relative;
|
59
60
|
}
|
60
61
|
|
61
|
-
.
|
62
|
+
.mixin-property-dependency-item:first-child::before {
|
62
63
|
display: none;
|
63
64
|
}
|
64
65
|
|
65
|
-
.
|
66
|
+
.mixin-property-icon-container {
|
66
67
|
width: $mixin-left-padding;
|
67
68
|
}
|
68
69
|
|
69
|
-
.
|
70
|
+
.mixin-property-icon {
|
70
71
|
height: 17px;
|
71
72
|
line-height: 17px;
|
72
73
|
width: 17px;
|
73
74
|
}
|
74
75
|
|
75
|
-
.
|
76
|
+
.mixin-property-icon-service {
|
76
77
|
background-color: var(--spec08);
|
77
78
|
|
78
|
-
|
79
|
+
&::before {
|
79
80
|
content: "S";
|
80
81
|
}
|
81
82
|
}
|
82
83
|
|
83
|
-
.
|
84
|
+
.mixin-property-icon-computed {
|
84
85
|
background-color: var(--spec07);
|
85
86
|
|
86
|
-
|
87
|
+
&::before {
|
87
88
|
content: "C";
|
88
89
|
}
|
89
90
|
}
|
90
91
|
|
91
|
-
.
|
92
|
+
.mixin-property-icon-property {
|
92
93
|
background-color: var(--base06);
|
93
94
|
|
94
|
-
|
95
|
+
&::before {
|
95
96
|
content: "P";
|
96
97
|
}
|
97
98
|
}
|
98
99
|
|
99
|
-
.
|
100
|
+
.mixin-property-icon-getter {
|
100
101
|
background-color: var(--spec07);
|
101
102
|
|
102
|
-
|
103
|
+
&::before {
|
103
104
|
content: "G";
|
104
105
|
}
|
105
106
|
}
|
106
107
|
|
107
|
-
.
|
108
|
+
.mixin-property-icon-function {
|
108
109
|
background-color: var(--base08);
|
109
110
|
|
110
|
-
|
111
|
+
&::before {
|
111
112
|
content: "ƒ";
|
112
113
|
}
|
113
114
|
}
|
114
115
|
|
115
|
-
.
|
116
|
+
.mixin-property-icon-tracked {
|
116
117
|
background-color: var(--tracked-icon-bg);
|
117
118
|
|
118
|
-
|
119
|
+
&::before {
|
119
120
|
content: "T";
|
120
121
|
}
|
121
122
|
}
|