@epa-wg/custom-element-dist 0.0.32 → 0.0.34
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/.claude/settings.local.json +18 -0
- package/.github/workflows/deploy.yml +59 -0
- package/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/custom-element-dist.iml +2 -0
- package/.storybook/main.ts +20 -21
- package/.storybook/preview.ts +23 -25
- package/README.md +6 -4
- package/coverage/block-navigation.js +1 -1
- package/coverage/coverage-final.json +8 -18
- package/coverage/index.html +45 -30
- package/coverage/sorter.js +21 -7
- package/coverage/src/custom-element/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js.html +687 -480
- package/coverage/src/custom-element/http-request.js/coverage.svg +1 -1
- package/coverage/src/custom-element/http-request.js.html +39 -18
- package/coverage/src/custom-element/index.html +35 -35
- package/coverage/src/custom-element/local-storage.js.html +1 -1
- package/coverage/src/custom-element/location-element.js.html +31 -31
- package/coverage/src/custom-element/module-url.js/coverage.svg +1 -1
- package/coverage/src/custom-element/module-url.js.html +20 -20
- package/coverage/src/index.html +1 -1
- package/coverage/src/{stories/local-storage.test.stories.ts → material/theme/colors.js}/coverage.svg +1 -1
- package/coverage/src/material/theme/colors.js.html +217 -0
- package/coverage/src/{stories/location-element.test.stories.ts → material/theme}/coverage.svg +1 -1
- package/coverage/src/material/theme/index.html +116 -0
- package/coverage/src/mocks/handlers.ts.html +1 -1
- package/coverage/src/mocks/index.html +1 -1
- package/coverage/src/stories/coverage.svg +1 -1
- package/coverage/src/stories/{external-template.test.stories.ts → frame.canvas.ts}/coverage.svg +1 -1
- package/coverage/src/stories/frame.canvas.ts.html +175 -0
- package/coverage/src/stories/http-request.stories.ts.html +1 -1
- package/coverage/src/stories/index.html +14 -179
- package/coverage/src/stories/testStoryBook.ts.html +12 -12
- package/coverage/src/sum.ts.html +1 -1
- package/dist/custom-element-BoYMoUtP.js +619 -0
- package/dist/custom-element-BqtjrCRF.cjs +97 -0
- package/dist/custom-element-bundle.cjs +1 -1
- package/dist/custom-element-bundle.js +3 -3
- package/dist/demo/a.html +10 -3
- package/dist/demo/a.svg +26 -26
- package/dist/demo/attributes.html +153 -0
- package/dist/demo/external-templates-sb-6.html +42 -0
- package/dist/demo/external-templates-sb-7.html +42 -0
- package/dist/demo/html-template.html +5 -4
- package/dist/demo/module-url-sb-2.html +46 -0
- package/dist/demo/module-url-sb-4.html +48 -0
- package/dist/demo/module-url-sb-5.html +53 -0
- package/dist/demo/s.xml +3859 -7
- package/dist/demo/s.xslt +13 -48
- package/dist/demo/s1.xml +3706 -0
- package/dist/demo/ss.html +13 -4
- package/dist/http-request-DSaowcG1.cjs +1 -0
- package/dist/{http-request-BOvP4KTl.js → http-request-DTCzZ1gc.js} +15 -9
- package/dist/mockServiceWorker.js +31 -8
- package/package.json +25 -26
- package/public/demo/a.html +10 -3
- package/public/demo/a.svg +26 -26
- package/public/demo/attributes.html +153 -0
- package/public/demo/external-templates-sb-6.html +42 -0
- package/public/demo/external-templates-sb-7.html +42 -0
- package/public/demo/html-template.html +5 -4
- package/public/demo/module-url-sb-2.html +46 -0
- package/public/demo/module-url-sb-4.html +48 -0
- package/public/demo/module-url-sb-5.html +53 -0
- package/public/demo/s.xml +3859 -7
- package/public/demo/s.xslt +13 -48
- package/public/demo/s1.xml +3706 -0
- package/public/demo/ss.html +13 -4
- package/public/mockServiceWorker.js +31 -8
- package/src/custom-element/custom-element.d.ts +4 -0
- package/src/custom-element/custom-element.js +119 -50
- package/src/custom-element/demo/a.html +10 -3
- package/src/custom-element/demo/a.svg +26 -26
- package/src/custom-element/demo/attributes.html +153 -0
- package/src/custom-element/demo/html-template.html +5 -4
- package/src/custom-element/demo/s.xml +3859 -7
- package/src/custom-element/demo/s.xslt +13 -48
- package/src/custom-element/demo/s1.xml +3706 -0
- package/src/custom-element/demo/ss.html +13 -4
- package/src/custom-element/http-request.js +7 -0
- package/src/custom-element/ide/web-types-dce.json +1 -1
- package/src/custom-element/ide/web-types-xsl.json +1 -1
- package/src/custom-element/index.html +1 -1
- package/src/material/angular.css +987 -987
- package/src/material/components/action.html +262 -0
- package/src/material/components/autocomplete.html +167 -239
- package/src/material/components/badge.html +239 -0
- package/src/material/components/dropdown.html +7 -13
- package/src/material/components/icon-link.html +160 -160
- package/src/material/components/icon.html +252 -0
- package/src/material/components/input.html +569 -362
- package/src/material/components/menu.html +235 -234
- package/src/material/components.html +157 -121
- package/src/material/demo.css +36 -36
- package/src/material/index.html +109 -110
- package/src/material/material.css +356 -356
- package/src/material/theme/Base-Principles.md +339 -0
- package/src/material/theme/README.md +298 -18
- package/src/material/theme/UI Domain Model in web applications.svg +1 -0
- package/src/material/theme/User Semantic Theme tokens.svg +1 -0
- package/src/material/theme/action-pending-poc.html +62 -0
- package/src/material/theme/actions-color.html +141 -0
- package/src/material/theme/colors-light.html +631 -0
- package/src/material/theme/colors-native.html +51 -0
- package/src/material/theme/colors-poc.html +66 -0
- package/src/material/theme/colors.html +297 -0
- package/src/material/theme/colors.js +44 -0
- package/src/material/theme/consumer-theme.css +745 -0
- package/src/material/theme/semantic.css +132 -113
- package/src/material/theme/style-bug.html +123 -0
- package/src/material/theme/theme-data.css +43 -0
- package/src/material/theme/theme-data.xhtml +2926 -0
- package/src/material/theme/todo.md +274 -0
- package/src/material/theme/tokens/action-colors.png +0 -0
- package/src/material/theme/tokens/cem-article-illustration-4x1-letterbox-2000x500.png +0 -0
- package/src/material/theme/tokens/cem-breakpoints.md +519 -0
- package/src/material/theme/tokens/cem-colors.md +715 -0
- package/src/material/theme/tokens/cem-consumerflow-typography-matrix.svg +198 -0
- package/src/material/theme/tokens/cem-coupling.md +372 -0
- package/src/material/theme/tokens/cem-data-vs-reading-numerals.svg +164 -0
- package/src/material/theme/tokens/cem-dimension.md +625 -0
- package/src/material/theme/tokens/cem-layering.md +562 -0
- package/src/material/theme/tokens/cem-m3-parity.md +343 -0
- package/src/material/theme/tokens/cem-responsive.md +238 -0
- package/src/material/theme/tokens/cem-shape.md +691 -0
- package/src/material/theme/tokens/cem-stroke-density-illustration-4to1-v3.svg +102 -0
- package/src/material/theme/tokens/cem-stroke.md +480 -0
- package/src/material/theme/tokens/cem-timing.md +198 -0
- package/src/material/theme/tokens/cem-typography-model-stack.svg +64 -0
- package/src/material/theme/tokens/cem-voice-fonts-typography.md +718 -0
- package/src/material/theme/tokens/cem-voice-ladder.svg +91 -0
- package/src/material/theme/tokens/chips.png +0 -0
- package/src/material/theme/tokens/columns-page.png +0 -0
- package/src/material/theme/tokens/initials.png +0 -0
- package/src/material/theme/tokens/nav-buttons.png +0 -0
- package/src/material/theme/tokens/script.png +0 -0
- package/src/material/theme/tokens/sufler.png +0 -0
- package/src/material/theme/tokens/typography-icons.png +0 -0
- package/src/mocks/versions.mock.ts +1 -1
- package/src/stories/__screenshots__/attributes.test.stories.ts +1 -0
- package/src/stories/__screenshots__/dom-merge.test.stories.ts/dom-merge-dom-merge-OrderPreservingOn2ndTransform-1.png +0 -0
- package/src/stories/__screenshots__/external-template.test.stories.ts +1 -0
- package/src/stories/__screenshots__/module-url.test.stories.ts +1 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-Attributes-definition-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-Attributes-runtime-change-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-Instance-Attributes-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-Instance-Attributes-2.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-cloneAs-el-newTag--1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-mergeAttr--from--to---1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-mergeAttr--from--to---2.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-mergeAttr--from--to---3.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/attributes-mix-to-from--1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-Attributes-definition-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-Attributes-runtime-change-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-Instance-Attributes-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-Instance-Attributes-2.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-cloneAs-el-newTag--1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-http-request-headers-and-response-status-and-headers-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-http-request-with-delayed--5-seconds-response-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-http-request-with-error-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-mergeAttr--from--to---1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-mergeAttr--from--to---2.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-mergeAttr--from--to---3.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-mix-to-from--1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-url-and-slice-1.png +0 -0
- package/src/stories/__screenshots__/stories.test.ts/http-request-url-change-1.png +0 -0
- package/src/stories/__screenshots__/xslt-conditionals.test.stories.ts/xslt-conditionals-xslt-conditionals-MultipleIfOrderingWorkaround-1.png +0 -0
- package/src/stories/attributes.test.stories.ts +83 -17
- package/src/stories/dom-merge.test.stories.ts +25 -1
- package/src/stories/external-template.test.stories.ts +16 -14
- package/src/stories/frame.canvas.ts +31 -0
- package/src/stories/module-url.test.stories.ts +29 -61
- package/src/stories/xslt-conditionals.test.stories.ts +492 -0
- package/src/stories/xslt-if.test.stories.ts +89 -0
- package/storybook-static/assets/Color-F6OSRLHC-CzTOSlqB.js +1 -0
- package/storybook-static/assets/Configure-7GqRsAoJ.js +165 -0
- package/storybook-static/assets/DocsRenderer-CFRXHY34-Duc5rSIm.js +2 -0
- package/storybook-static/assets/{attributes.test.stories-D1X6EBrd.js → attributes.test.stories-DYuxF8h1.js} +109 -38
- package/storybook-static/assets/{css.test.stories-Cp_g2hE1.js → css.test.stories-LOmvINyb.js} +1 -1
- package/storybook-static/assets/custom-element-Bwx7otrT.js +97 -0
- package/storybook-static/assets/{dom-merge.test.stories-hbpdCka0.js → dom-merge.test.stories-CEKhWjaS.js} +47 -6
- package/storybook-static/assets/entry-preview-BNCt9WBs.js +26 -0
- package/storybook-static/assets/entry-preview-docs-CbF8-81D.js +2 -0
- package/storybook-static/assets/{external-template.test.stories-BK89h6sk.js → external-template.test.stories-jHu0wsJ-.js} +38 -40
- package/storybook-static/assets/{form.test.stories-BfoLe_rw.js → form.test.stories-CUyUnmwP.js} +1 -1
- package/storybook-static/assets/frame.canvas-E5n9h6j1.js +1 -0
- package/storybook-static/assets/{handlers-yVPwH_Nz.js → handlers-F7GUfMqr.js} +17 -14
- package/storybook-static/assets/http-request-BWeEEBkP.js +1 -0
- package/storybook-static/assets/{http-request.stories-CBFJS2Ws.js → http-request.stories-wyX5-QOv.js} +1 -1
- package/storybook-static/assets/iframe-BS_DPWl0.js +199 -0
- package/storybook-static/assets/index-CGuyH0k-.js +240 -0
- package/storybook-static/assets/index-DB7LLObI.js +1 -0
- package/storybook-static/assets/index-DO1nmyvI.js +11 -0
- package/storybook-static/assets/index-V1EGs-wm.js +621 -0
- package/storybook-static/assets/{local-storage.test.stories-C0Yzy6Am.js → local-storage.test.stories-BxOhsf1k.js} +1 -1
- package/storybook-static/assets/{location-element.test.stories-DNFrEu5A.js → location-element.test.stories-DqhvvUoa.js} +1 -1
- package/storybook-static/assets/module-url.test.stories-C1gG9G7Y.js +142 -0
- package/storybook-static/assets/preview-1xJJ3sKE.js +1 -0
- package/storybook-static/assets/preview-Bn8igYMp.js +1 -0
- package/storybook-static/assets/preview-CTOeX_lO.js +1 -0
- package/storybook-static/assets/preview-Cwy1XFu2.js +2 -0
- package/storybook-static/assets/preview-D6sehqkw.js +50 -0
- package/storybook-static/assets/preview-DfTudP20.js +1 -0
- package/storybook-static/assets/{set-url.test.stories-BBfLxv2u.js → set-url.test.stories-BKQNdknJ.js} +1 -1
- package/storybook-static/assets/{slice-events.test.stories-HcXF8XQI.js → slice-events.test.stories-ChqULCeA.js} +1 -1
- package/storybook-static/assets/{slots.test.stories-i6mnIFM2.js → slots.test.stories-BlyLoCRe.js} +1 -1
- package/storybook-static/assets/{version-select.test.stories-BsUFH6Va.js → version-select.test.stories-CPGSh1tR.js} +1 -1
- package/storybook-static/assets/xslt-conditionals.test.stories-YC6QPqWZ.js +633 -0
- package/storybook-static/assets/xslt-if.test.stories-BRSWy2-x.js +71 -0
- package/storybook-static/demo/a.html +10 -3
- package/storybook-static/demo/a.svg +26 -26
- package/storybook-static/demo/attributes.html +153 -0
- package/storybook-static/demo/external-templates-sb-6.html +42 -0
- package/storybook-static/demo/external-templates-sb-7.html +42 -0
- package/storybook-static/demo/html-template.html +5 -4
- package/storybook-static/demo/module-url-sb-2.html +46 -0
- package/storybook-static/demo/module-url-sb-4.html +48 -0
- package/storybook-static/demo/module-url-sb-5.html +53 -0
- package/storybook-static/demo/s.xml +3859 -7
- package/storybook-static/demo/s.xslt +13 -48
- package/storybook-static/demo/s1.xml +3706 -0
- package/storybook-static/demo/ss.html +13 -4
- package/storybook-static/iframe.html +2 -2
- package/storybook-static/index.html +6 -10
- package/storybook-static/index.json +1 -1
- package/storybook-static/mockServiceWorker.js +31 -8
- package/storybook-static/project.json +1 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +8 -8
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +394 -0
- package/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js +233 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/interactions-9/manager-bundle.js +58 -58
- package/storybook-static/sb-manager/globals-module-info.js +9 -0
- package/storybook-static/sb-manager/globals-runtime.js +10719 -10473
- package/storybook-static/sb-manager/runtime.js +4944 -6321
- package/coverage/src/stories/attributes.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/attributes.test.stories.ts.html +0 -814
- package/coverage/src/stories/css.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/css.test.stories.ts.html +0 -460
- package/coverage/src/stories/dom-merge.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/dom-merge.test.stories.ts.html +0 -706
- package/coverage/src/stories/external-template.test.stories.ts.html +0 -865
- package/coverage/src/stories/form.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/form.test.stories.ts.html +0 -661
- package/coverage/src/stories/local-storage.test.stories.ts.html +0 -1315
- package/coverage/src/stories/location-element.test.stories.ts.html +0 -523
- package/coverage/src/stories/module-url.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/module-url.test.stories.ts.html +0 -640
- package/coverage/src/stories/set-url.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/set-url.test.stories.ts.html +0 -433
- package/coverage/src/stories/slice-events.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/slice-events.test.stories.ts.html +0 -952
- package/coverage/src/stories/slots.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/slots.test.stories.ts.html +0 -742
- package/coverage/src/stories/version-select.test.stories.ts/coverage.svg +0 -10
- package/coverage/src/stories/version-select.test.stories.ts.html +0 -397
- package/dist/custom-element-D2wf_rqP.js +0 -576
- package/dist/custom-element-Dtzhbjkc.cjs +0 -97
- package/dist/http-request-DPrY7mGh.cjs +0 -1
- package/storybook-static/assets/Color-F6OSRLHC-BU3iy8jH.js +0 -1
- package/storybook-static/assets/Configure-DN6ifayP.js +0 -165
- package/storybook-static/assets/DocsRenderer-CFRXHY34-BaVEufDj.js +0 -2
- package/storybook-static/assets/custom-element-uuAtIYWS.js +0 -97
- package/storybook-static/assets/entry-preview-DHVXbf3x.js +0 -26
- package/storybook-static/assets/entry-preview-docs-BbcIMweR.js +0 -2
- package/storybook-static/assets/http-request-DNq59pnj.js +0 -1
- package/storybook-static/assets/iframe-CJEL_4Nu.js +0 -2
- package/storybook-static/assets/index-BcZLpTeD.js +0 -8
- package/storybook-static/assets/index-CxRwF5Or.js +0 -234
- package/storybook-static/assets/index-D-8MO0q_.js +0 -1
- package/storybook-static/assets/index-D5fBh-7N.js +0 -1
- package/storybook-static/assets/index-DM-KBPdl.js +0 -1
- package/storybook-static/assets/index-RSFf30w1.js +0 -1
- package/storybook-static/assets/index-SnjB5uV8.js +0 -769
- package/storybook-static/assets/module-url.test.stories-CXibF5Ta.js +0 -208
- package/storybook-static/assets/preview-BhhEZcNS.js +0 -1
- package/storybook-static/assets/preview-Bnd0XhaF.js +0 -52
- package/storybook-static/assets/preview-CNKoaWES.js +0 -1
- package/storybook-static/assets/preview-DAeyCMnM.js +0 -1
- package/storybook-static/assets/preview-DHPc-V4N.js +0 -1
- package/storybook-static/assets/preview-DJMlNTk8.js +0 -2
- package/storybook-static/assets/preview-DYzi3Z2p.js +0 -1
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -333
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -40
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -391
- package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/storybook-static/sb-preview/globals.js +0 -33
- package/storybook-static/sb-preview/runtime.js +0 -7174
- package/test-runner-jest.config.js +0 -15
- /package/storybook-static/sb-addons/{essentials-actions-3 → essentials-actions-2}/manager-bundle.js.LEGAL.txt +0 -0
- /package/storybook-static/sb-addons/{essentials-controls-2 → essentials-controls-1}/manager-bundle.js.LEGAL.txt +0 -0
- /package/storybook-static/sb-addons/{links-1 → essentials-docs-3}/manager-bundle.js.LEGAL.txt +0 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
# Theme Metadata Documentation Plan for theme-data.xhtml
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
This plan outlines the tasks needed to fill out the theme metadata in `theme-data.xhtml` based on the existing
|
|
5
|
+
implementation in `consumer-theme.css`, documentation in `README.md`, and principles in `Base-Principles.md`.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Phase 1: Document Branded Palette Colors
|
|
10
|
+
|
|
11
|
+
### 1.1 Add Branded Color Definitions
|
|
12
|
+
- [x] Document all `--cem-color-*` tokens with their variants (xl, l, d, xd)
|
|
13
|
+
- Cyan family (cyan-xl, cyan-l, cyan-d, cyan-xd)
|
|
14
|
+
- Blue family (blue-xl, blue-l, blue-d, blue-xd)
|
|
15
|
+
- Red family (red-xl, red-l, red-d, red-xd)
|
|
16
|
+
- Purple family (purple-xl, purple-l, purple-d, purple-xd)
|
|
17
|
+
- Orange family (orange-xl, orange-l, orange-d, orange-xd)
|
|
18
|
+
- Brown family (brown-xl, brown-l, brown-d, brown-xd)
|
|
19
|
+
- Grey family (grey-l, grey-d)
|
|
20
|
+
|
|
21
|
+
### 1.2 Map Branded Colors to Material Design
|
|
22
|
+
- [x] Add mapping table showing correspondence with Angular Material color tokens
|
|
23
|
+
- [x] Document the hex values for each branded color
|
|
24
|
+
- [x] Include notes about brightness levels (xl=extra light, l=light, d=dark, xd=extra dark)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Phase 2: Expand Emotional Palette Documentation
|
|
29
|
+
|
|
30
|
+
### 2.1 Add Emotional Palette Variations
|
|
31
|
+
- [x] Document base emotional tokens with their `-text`, `-x`, and `-text-x` variants
|
|
32
|
+
- `--cem-palette-comfort` and variants
|
|
33
|
+
- `--cem-palette-calm` and variants
|
|
34
|
+
- `--cem-palette-trust` and variants
|
|
35
|
+
- `--cem-palette-danger` and variants
|
|
36
|
+
- `--cem-palette-creativity` and variants
|
|
37
|
+
- `--cem-palette-enthusiasm` and variants
|
|
38
|
+
- `--cem-palette-conservative` and variants
|
|
39
|
+
|
|
40
|
+
### 2.2 Document Light-Dark Behavior
|
|
41
|
+
- [x] Explain `light-dark()` CSS function usage
|
|
42
|
+
- [x] Document how tokens automatically switch between light and dark themes
|
|
43
|
+
- [x] Add examples of color transitions across themes
|
|
44
|
+
|
|
45
|
+
### 2.3 Map Emotional to Branded Colors
|
|
46
|
+
- [x] Create comprehensive mapping showing which branded colors are used for each emotional token
|
|
47
|
+
- [x] Document the color-mix formulas used for state variations
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Phase 3: Document Action Intent Token System
|
|
52
|
+
|
|
53
|
+
### 3.1 Expand Action Intent Documentation
|
|
54
|
+
- [x] Add detailed descriptions for each intent:
|
|
55
|
+
- `explicit` - user explicitly/intentionally clicks or activates
|
|
56
|
+
- `primary` - default, confirmatory, implicit (triggered by ENTER)
|
|
57
|
+
- `contextual` - integrated within a specific context (toolbar/menu)
|
|
58
|
+
- `alternate` - triggering not usual alternative flow
|
|
59
|
+
- `destructive` - risky, potentially harmful, requires caution
|
|
60
|
+
|
|
61
|
+
### 3.2 Document Intent-to-Emotion Mapping
|
|
62
|
+
- [x] Map each action intent to its emotional palette color:
|
|
63
|
+
- explicit → creativity (purple)
|
|
64
|
+
- primary → trust (blue)
|
|
65
|
+
- contextual → comfort (cyan/white)
|
|
66
|
+
- alternate → enthusiasm (orange/yellow)
|
|
67
|
+
- destructive → danger (red)
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Phase 4: Complete Action State Documentation
|
|
72
|
+
|
|
73
|
+
### 4.1 Add CSS Variable Tokens for All States
|
|
74
|
+
For each combination of (intent × state), document:
|
|
75
|
+
- [x] Background token: `--cem-action-{intent}-{state}-background`
|
|
76
|
+
- [x] Text token: `--cem-action-{intent}-{state}-text`
|
|
77
|
+
- [x] Which tokens have values vs. which are intentionally undefined
|
|
78
|
+
|
|
79
|
+
### 4.2 Document State Sequences
|
|
80
|
+
- [x] Create visual/textual representation of state progression:
|
|
81
|
+
```
|
|
82
|
+
disabled → readonly → editable → default → indeterminate → hover → active → pending
|
|
83
|
+
(30% mix) (80% mix) (90% mix) (base) (90% mix) (60-70% mix) (25% mix) (5% mix)
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 4.3 Document Zebra Outline States
|
|
87
|
+
- [x] Explain which states use zebra outlines (selected, focused, target)
|
|
88
|
+
- [x] Document zebra color tokens (`--cem-zebra-color-0`, `--cem-zebra-color-1`, etc.)
|
|
89
|
+
- [x] Add examples of zebra outline patterns
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Phase 5: Document Theme Variants
|
|
94
|
+
|
|
95
|
+
### 5.1 Native Theme
|
|
96
|
+
- [x] Document system color mappings:
|
|
97
|
+
- Canvas, CanvasText, Highlight, HighlightText, etc.
|
|
98
|
+
- [x] Explain fallback behavior when system colors unavailable
|
|
99
|
+
- [x] Document forced-colors mode support
|
|
100
|
+
|
|
101
|
+
### 5.2 Light and Dark Themes
|
|
102
|
+
- [x] Document color-scheme declarations
|
|
103
|
+
- [x] Explain automatic switching via `light-dark()`
|
|
104
|
+
- [x] Add examples of theme-specific overrides
|
|
105
|
+
|
|
106
|
+
### 5.3 Contrast Themes (contrast-light, contrast-dark)
|
|
107
|
+
- [x] Document neutralized backgrounds principle
|
|
108
|
+
- [x] Explain zebra-only state signaling
|
|
109
|
+
- [x] Document 4-strip zebra pattern (vs 3-strip in normal themes)
|
|
110
|
+
- [x] Add notes about increased outline thickness
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Phase 6: Document Dimensional Tokens
|
|
115
|
+
|
|
116
|
+
### 6.1 Bend/Border-Radius Tokens
|
|
117
|
+
- [x] Document `--cem-bend` token system:
|
|
118
|
+
- `--cem-bend-smooth` (0.5rem)
|
|
119
|
+
- `--cem-bend-round` (50cqh)
|
|
120
|
+
- `--cem-bend-sharp` (0)
|
|
121
|
+
- [x] Add examples showing different corner styles
|
|
122
|
+
|
|
123
|
+
### 6.2 Box Shadow Tokens
|
|
124
|
+
- [x] Document shadow tokens for each state:
|
|
125
|
+
- `--cem-action-box-shadow` (default)
|
|
126
|
+
- `--cem-action-box-shadow-hover`
|
|
127
|
+
- `--cem-action-box-shadow-active`
|
|
128
|
+
- `--cem-action-box-shadow-pending`
|
|
129
|
+
- [x] Explain contrast theme shadow overrides (zebra-based)
|
|
130
|
+
|
|
131
|
+
### 6.3 Thickness/Font-Weight Mapping
|
|
132
|
+
- [x] Document 7 thickness levels from README.md:
|
|
133
|
+
- xx-light (100), x-light (200), light (300), normal (400), bold (700), x-bold (800), xx-bold (900)
|
|
134
|
+
|
|
135
|
+
### 6.4 Typography and Voice Tokens
|
|
136
|
+
- [x] Create voice-fonts-typography.md with complete typography token system
|
|
137
|
+
- [x] Document Fontography tokens (font families and feature policies)
|
|
138
|
+
- [x] Document Typography tokens (size, line-height, spacing scales)
|
|
139
|
+
- [x] Document Voice tokens (cross-modal prominence)
|
|
140
|
+
- [x] Define voice-to-thickness mapping (all 7 levels utilized):
|
|
141
|
+
- whisper→xx-light(100), soft→x-light(200), gentle→light(300), regular→normal(400)
|
|
142
|
+
- firm→bold(700), strong→x-bold(800), loud→xx-bold(900)
|
|
143
|
+
- [x] Add cross-reference in README.md
|
|
144
|
+
- [ ] Implement typography tokens in consumer-theme.css
|
|
145
|
+
- [ ] Add typography examples to theme-data.xhtml
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Phase 7: Add Interactive Examples
|
|
150
|
+
|
|
151
|
+
### 7.1 Create Interactive Color Swatches
|
|
152
|
+
- [ ] Add color visualization for each emotional palette token
|
|
153
|
+
- [ ] Show light and dark variants side-by-side
|
|
154
|
+
- [ ] Include text color overlays to demonstrate contrast
|
|
155
|
+
|
|
156
|
+
### 7.2 Add State Demonstration Elements
|
|
157
|
+
- [ ] Create interactive buttons showing all states
|
|
158
|
+
- [ ] Demonstrate state transitions with hover/active/focus
|
|
159
|
+
- [ ] Show pending animation examples
|
|
160
|
+
|
|
161
|
+
### 7.3 Add Theme Switcher Examples
|
|
162
|
+
- [ ] Provide controls to switch between themes
|
|
163
|
+
- [ ] Demonstrate zebra outlines in contrast modes
|
|
164
|
+
- [ ] Show system color integration in native theme
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Phase 8: Document Accessibility Features
|
|
169
|
+
|
|
170
|
+
### 8.1 Contrast Ratios
|
|
171
|
+
- [ ] Document WCAG compliance for all color combinations
|
|
172
|
+
- [ ] Explain 3:1 minimum for adjacent stripes
|
|
173
|
+
- [ ] Note 4.5:1 for text against backgrounds
|
|
174
|
+
|
|
175
|
+
### 8.2 Animation Controls
|
|
176
|
+
- [ ] Document `prefers-reduced-motion` support
|
|
177
|
+
- [ ] Explain pending animation behavior with reduced motion
|
|
178
|
+
- [ ] Note animation speed token (`--cem-animation-speed`)
|
|
179
|
+
|
|
180
|
+
### 8.3 Forced Colors Mode
|
|
181
|
+
- [ ] Document `@media (forced-colors: active)` support
|
|
182
|
+
- [ ] Explain system color fallbacks
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Phase 9: Add Technical Implementation Notes
|
|
187
|
+
|
|
188
|
+
### 9.1 CSS Variable Architecture
|
|
189
|
+
- [ ] Document token naming conventions
|
|
190
|
+
- [ ] Explain cascading pattern (theme → intent → state)
|
|
191
|
+
- [ ] Show override patterns for customization
|
|
192
|
+
|
|
193
|
+
### 9.2 Color-Mix Formulas
|
|
194
|
+
- [ ] Document the mixing percentages for each state
|
|
195
|
+
- [ ] Explain the progression from base to extreme colors
|
|
196
|
+
- [ ] Note the use of conservative color for disabled states
|
|
197
|
+
|
|
198
|
+
### 9.3 Selector Patterns
|
|
199
|
+
- [ ] Document attribute selectors: `[disabled]`, `[hover]`, etc.
|
|
200
|
+
- [ ] Document class selectors: `.disabled`, `.hover`, etc.
|
|
201
|
+
- [ ] Document pseudo-class selectors: `:disabled`, `:hover`, etc.
|
|
202
|
+
- [ ] Explain the triple-selector pattern for maximum compatibility
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## Phase 10: Cross-Reference and Validation
|
|
207
|
+
|
|
208
|
+
### 10.1 Verify Token Completeness
|
|
209
|
+
- [ ] Cross-check all CSS variables in consumer-theme.css are documented
|
|
210
|
+
- [ ] Verify all states from Base-Principles.md are covered
|
|
211
|
+
- [ ] Ensure all emotional tokens from README.md are included
|
|
212
|
+
|
|
213
|
+
### 10.2 Add Usage Guidelines
|
|
214
|
+
- [ ] Create "Quick Start" section showing common patterns
|
|
215
|
+
- [ ] Add "Best Practices" for choosing intents and emotions
|
|
216
|
+
- [ ] Include "Common Pitfalls" section
|
|
217
|
+
|
|
218
|
+
### 10.3 Link to External Resources
|
|
219
|
+
- [ ] Add references to blog posts (blog.firsov.net)
|
|
220
|
+
- [ ] Link to GitHub discussions (#14)
|
|
221
|
+
- [ ] Reference Material Design and system color specifications
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Phase 11: Format and Structure Improvements
|
|
226
|
+
|
|
227
|
+
### 11.1 Enhance HTML Structure
|
|
228
|
+
- [ ] Add proper semantic sections with `<section>` tags
|
|
229
|
+
- [ ] Use `<table>` elements for token reference tables
|
|
230
|
+
- [ ] Add `<code>` tags for CSS variable names
|
|
231
|
+
- [ ] Include `<figure>` and `<figcaption>` for visual examples
|
|
232
|
+
|
|
233
|
+
### 11.2 Improve Styling
|
|
234
|
+
- [ ] Enhance datalist presentation with color swatches
|
|
235
|
+
- [ ] Add visual indicators for state sequences
|
|
236
|
+
- [ ] Style token names with monospace font
|
|
237
|
+
- [ ] Add hover effects for interactive elements
|
|
238
|
+
|
|
239
|
+
### 11.3 Add Navigation
|
|
240
|
+
- [ ] Create table of contents
|
|
241
|
+
- [ ] Add internal anchor links
|
|
242
|
+
- [ ] Include "Back to Top" navigation
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## Phase 12: Generate Output Artifacts
|
|
247
|
+
|
|
248
|
+
### 12.1 CSS Documentation
|
|
249
|
+
- [ ] Generate CSS custom property reference
|
|
250
|
+
- [ ] Create printable token cheat sheet
|
|
251
|
+
- [ ] Build interactive token browser
|
|
252
|
+
|
|
253
|
+
### 12.2 Integration with Build Tools
|
|
254
|
+
- [ ] Document theme-generate.html usage (mentioned in Base-Principles.md)
|
|
255
|
+
- [ ] Explain CLI generation process (TBD)
|
|
256
|
+
- [ ] Add validation scripts for token completeness
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Priority Legend
|
|
261
|
+
- **High Priority**: Phases 1-4 (Core token documentation)
|
|
262
|
+
- **Medium Priority**: Phases 5-8 (Themes, dimensions, accessibility)
|
|
263
|
+
- **Low Priority**: Phases 9-12 (Technical details, validation, tooling)
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Notes
|
|
268
|
+
- Source of truth: `theme-data.xhtml` (as stated in Base-Principles.md §10)
|
|
269
|
+
- Implementation: `consumer-theme.css` contains actual CSS
|
|
270
|
+
- Documentation: `README.md` and `Base-Principles.md` provide context
|
|
271
|
+
- The 7-token limit is a key design principle to maintain
|
|
272
|
+
- Zebra outlines are distinctive for focus/selected/target states
|
|
273
|
+
- Contrast themes use zebra-only signaling with neutralized backgrounds
|
|
274
|
+
````
|
|
Binary file
|