{"_id":"@dta-au/designsystem-sdc","_rev":"7-ee2d0362f05cfd40e6d85923da682e4c","name":"@dta-au/designsystem-sdc","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@dta-au/designsystem-sdc","version":"1.0.0","keywords":["ui kit","uikit","components","component library","design system","pattern library","storybook","styleguide"],"license":"GPL-2.0-or-later","_id":"@dta-au/designsystem-sdc@1.0.0","maintainers":[{"name":"jamesfehon-dta","email":"james.fehon@dta.gov.au"}],"homepage":"https://github.com/dta-au/design-system","bugs":{"url":"https://github.com/JamesFehon-DTA/civictheme-uikit/issues"},"os":["darwin","linux","win32"],"cpu":["x64","arm","arm64","ia32"],"dist":{"shasum":"1d0715b0041d32be3ecd9a662b24d53b0c972357","tarball":"https://registry.npmjs.org/@dta-au/designsystem-sdc/-/designsystem-sdc-1.0.0.tgz","fileCount":1001,"integrity":"sha512-xX+Kk4V5dEYrVYI4jJvU9bLv+I8axVphwW2W280xqDK4A0fFiXLojMTw5l1Zls02V/jDWG+rvNeM+jpqc/5J5A==","signatures":[{"sig":"MEUCIHRokuPV+5cucZ82Th4zcrCeHkWc+vb3obBTeYn+avZzAiEAxoXzb2ankjhDRChv9KxnaBTI+kQmEk0lismu1qg+P20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dta-au%2fdesignsystem-sdc@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14856861},"main":"dist/civictheme.base.js","type":"module","module":"dist/civictheme.base.esm.js","engines":{"node":">=22.6.0"},"exports":{".":{"import":"./dist/civictheme.base.esm.js","default":"./dist/civictheme.base.js"},"./dist/*":"./dist/*","./assets/*":"./assets/*","./chart.data":{"import":"./dist/chart.data.esm.js","default":"./dist/chart.data.umd.js"},"./components/*":"./components/*","./package.json":"./package.json"},"gitHead":"1edba1e2bc18acd6bc2e69f776424f26b4c08bf5","scripts":{"dev":"npm run dist && node build.js cli \"dist:watch\" \"dist:runtime:watch\" \"storybook\"","dist":"node build.js base build styles_storybook styles_variables styles_stories assets constants sdc_base sdc_components && npm run dist:lib && npm run dist:runtime","lint":"eslint ./components ./.storybook ./tests && stylelint 'components/**/*.scss'","test":"node --experimental-vm-modules ../../node_modules/.bin/jest","build":"npm run build-storybook","test:ci":"npm run test-unit:ci","dist:lib":"vite build --config vite.lib.config.js","lint:fix":"eslint ./components ./.storybook ./tests --fix","storybook":"storybook dev -p ${PORT:-6007}","dist:watch":"node build.js base build watch styles_storybook styles_variables styles_stories assets constants sdc_base sdc_components","update-twig":"node scripts/generate-twig-headers.js","dist:runtime":"vite build --config vite.runtime.config.js","test-unit:ci":"node --experimental-vm-modules ../../node_modules/.bin/jest --coverage","build-storybook":"npm run dist && storybook build","gen-twig-headers":"node scripts/generate-twig-headers.js","dist:runtime:watch":"vite build --watch --config vite.runtime.config.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fe2ba833-15f1-42ab-ad5b-6aff5dca8885"}},"repository":{"url":"git+https://github.com/dta-au/design-system.git","type":"git"},"_npmVersion":"11.16.0","description":"CivicTheme UI Kit for Single Directory Components (Drupal)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@popperjs/core":"^2.11.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^13.0.0","jest":"^29.7.0","vite":"^6.3.5","storybook":"10.4.2","stylelint":"^17.4.0","sass-embedded":"1.77.5","jest-transform-stub":"^2.0.0","@storybook/html-vite":"10.4.2","twig-testing-library":"^1.2.0","@storybook/addon-a11y":"10.4.2","@storybook/addon-docs":"10.4.2","@storybook/addon-links":"10.4.2","jest-environment-jsdom":"^30.3.0","vite-plugin-twig-drupal":"^1.7.0","stylelint-config-standard":"^40.0.0","stylelint-config-standard-scss":"^17.0.0","@whitespace/storybook-addon-html":"^9.0.0","@civictheme/scss-variables-extractor":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/designsystem-sdc_1.0.0_1785131444062_0.8500871647007848","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dta-au/designsystem-sdc","version":"1.0.1","keywords":["ui kit","uikit","components","component library","design system","pattern library","storybook","styleguide"],"license":"GPL-2.0-or-later","_id":"@dta-au/designsystem-sdc@1.0.1","maintainers":[{"name":"jamesfehon-dta","email":"james.fehon@dta.gov.au"}],"homepage":"https://github.com/dta-au/design-system","bugs":{"url":"https://github.com/dta-au/design-system/issues"},"os":["darwin","linux","win32"],"cpu":["x64","arm","arm64","ia32"],"dist":{"shasum":"3cec9142945a3bdd0f8e7bbeca48472b55816ee1","tarball":"https://registry.npmjs.org/@dta-au/designsystem-sdc/-/designsystem-sdc-1.0.1.tgz","fileCount":1001,"integrity":"sha512-LDTXWcSq9gw/EXoZiNBgcNmWglzmr3Breo+/95B9RTh19xGuQ/OATr63SCqJZ60c7MqyiCEssHFduR0WajO4UA==","signatures":[{"sig":"MEYCIQDjO+sG0rOMIhTm7Ftq9DZv16MxONwpCfh0AFwMyNwEKQIhAI4XgJlYn3Utaw5cbZO2riEZhlOCAfZmlxOyAQEScWLW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dta-au%2fdesignsystem-sdc@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14858092},"main":"dist/civictheme.base.js","type":"module","module":"dist/civictheme.base.esm.js","engines":{"node":">=22.6.0"},"exports":{".":{"import":"./dist/civictheme.base.esm.js","default":"./dist/civictheme.base.js"},"./dist/*":"./dist/*","./assets/*":"./assets/*","./chart.data":{"import":"./dist/chart.data.esm.js","default":"./dist/chart.data.umd.js"},"./components/*":"./components/*","./package.json":"./package.json"},"gitHead":"6b3f5d438aaa7a0c240a8c114b07741b5f25beb2","scripts":{"dev":"npm run dist && node build.js cli \"dist:watch\" \"dist:runtime:watch\" \"storybook\"","dist":"node build.js base build styles_storybook styles_variables styles_stories assets constants sdc_base sdc_components && npm run dist:lib && npm run dist:runtime","lint":"eslint ./components ./.storybook ./tests && stylelint 'components/**/*.scss'","test":"node --experimental-vm-modules ../../node_modules/.bin/jest","build":"npm run build-storybook","test:ci":"npm run test-unit:ci","dist:lib":"vite build --config vite.lib.config.js","lint:fix":"eslint ./components ./.storybook ./tests --fix","storybook":"storybook dev -p ${PORT:-6007}","dist:watch":"node build.js base build watch styles_storybook styles_variables styles_stories assets constants sdc_base sdc_components","update-twig":"node scripts/generate-twig-headers.js","dist:runtime":"vite build --config vite.runtime.config.js","test-unit:ci":"node --experimental-vm-modules ../../node_modules/.bin/jest --coverage","build-storybook":"npm run dist && storybook build","gen-twig-headers":"node scripts/generate-twig-headers.js","dist:runtime:watch":"vite build --watch --config vite.runtime.config.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fe2ba833-15f1-42ab-ad5b-6aff5dca8885"}},"repository":{"url":"git+https://github.com/dta-au/design-system.git","type":"git"},"_npmVersion":"11.16.0","description":"CivicTheme UI Kit for Single Directory Components (Drupal)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@popperjs/core":"^2.11.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^13.0.0","jest":"^29.7.0","vite":"^6.3.5","storybook":"10.4.2","stylelint":"^17.4.0","sass-embedded":"1.77.5","jest-transform-stub":"^2.0.0","@storybook/html-vite":"10.4.2","twig-testing-library":"^1.2.0","@storybook/addon-a11y":"10.4.2","@storybook/addon-docs":"10.4.2","@storybook/addon-links":"10.4.2","jest-environment-jsdom":"^30.3.0","vite-plugin-twig-drupal":"^1.7.0","stylelint-config-standard":"^40.0.0","stylelint-config-standard-scss":"^17.0.0","@whitespace/storybook-addon-html":"^9.0.0","@civictheme/scss-variables-extractor":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/designsystem-sdc_1.0.1_1785281610237_0.10935633361567221","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@dta-au/designsystem-sdc","version":"1.1.0","license":"GPL-2.0-or-later","description":"CivicTheme UI Kit for Single Directory Components (Drupal)","keywords":["ui kit","uikit","components","component library","design system","pattern library","storybook","styleguide"],"homepage":"https://github.com/dta-au/design-system","bugs":{"url":"https://github.com/dta-au/design-system/issues"},"repository":{"type":"git","url":"git+https://github.com/dta-au/design-system.git"},"publishConfig":{"access":"public"},"type":"module","main":"dist/civictheme.base.js","module":"dist/civictheme.base.esm.js","exports":{".":{"import":"./dist/civictheme.base.esm.js","default":"./dist/civictheme.base.js"},"./chart.data":{"import":"./dist/chart.data.esm.js","default":"./dist/chart.data.umd.js"},"./dist/*":"./dist/*","./components/*":"./components/*","./assets/*":"./assets/*","./package.json":"./package.json"},"engines":{"node":">=22.6.0"},"os":["darwin","linux","win32"],"cpu":["x64","arm","arm64","ia32"],"scripts":{"build":"npm run build-storybook","dist":"node build.js base build styles_storybook styles_variables styles_stories assets constants sdc_base sdc_components && npm run dist:lib && npm run dist:runtime","dist:lib":"vite build --config vite.lib.config.js","dist:runtime":"vite build --config vite.runtime.config.js","dist:runtime:watch":"vite build --watch --config vite.runtime.config.js","dist:watch":"node build.js base build watch styles_storybook styles_variables styles_stories assets constants sdc_base sdc_components","storybook":"storybook dev -p ${PORT:-6007}","build-storybook":"npm run dist && storybook build","dev":"npm run dist && node build.js cli \"dist:watch\" \"dist:runtime:watch\" \"storybook\"","test":"node --experimental-vm-modules ../../node_modules/.bin/jest","test:ci":"npm run test-unit:ci","test-unit:ci":"node --experimental-vm-modules ../../node_modules/.bin/jest --coverage","lint":"eslint ./components ./.storybook ./tests && stylelint 'components/**/*.scss'","lint:fix":"eslint ./components ./.storybook ./tests --fix","gen-twig-headers":"node scripts/generate-twig-headers.js","update-twig":"node scripts/generate-twig-headers.js"},"devDependencies":{"@civictheme/scss-variables-extractor":"^0.2.1","@storybook/addon-a11y":"10.4.2","@storybook/addon-docs":"10.4.2","@storybook/addon-links":"10.4.2","@storybook/html-vite":"10.4.2","@whitespace/storybook-addon-html":"^9.0.0","glob":"^13.0.0","jest":"^29.7.0","jest-environment-jsdom":"^30.3.0","jest-transform-stub":"^2.0.0","sass-embedded":"1.77.5","storybook":"10.4.2","stylelint":"^17.4.0","stylelint-config-standard":"^40.0.0","stylelint-config-standard-scss":"^17.0.0","twig-testing-library":"^1.2.0","vite":"^6.3.5","vite-plugin-twig-drupal":"^1.7.0"},"dependencies":{"@popperjs/core":"^2.11.8"},"gitHead":"5fac59239ace015fb1021425b4c80ae523927f05","_id":"@dta-au/designsystem-sdc@1.1.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-QrE1Ppu5LhCNm2ZIApfZeG4VOeRph6yV7pVeRTGKP4kGgKBdddKNKM58kAWIcXTmiKITklaPN3tAF3X2FvOsvg==","shasum":"801531959d90a41f5e6d4c3b0b8181ef053afa4c","tarball":"https://registry.npmjs.org/@dta-au/designsystem-sdc/-/designsystem-sdc-1.1.0.tgz","fileCount":1023,"unpackedSize":15042864,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dta-au%2fdesignsystem-sdc@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCe7O0bM5nNQmd6Ub/SdWhhdUo/oejfCNSC8/VeVy6MqgIgHYAwykI+SeTUaz2F8qxYaXc34D1Fa3HDBxyU/A4tFds="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fe2ba833-15f1-42ab-ad5b-6aff5dca8885"}},"directories":{},"maintainers":[{"name":"jamesfehon-dta","email":"james.fehon@dta.gov.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/designsystem-sdc_1.1.0_1786259547218_0.45234599519788343"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-27T05:44:57.908Z","modified":"2026-08-09T07:12:27.800Z","0.0.0":"2026-07-27T05:44:58.164Z","1.0.0":"2026-07-27T05:50:44.346Z","1.0.1":"2026-07-28T23:33:30.598Z","1.1.0":"2026-08-09T07:12:27.503Z"},"bugs":{"url":"https://github.com/dta-au/design-system/issues"},"license":"GPL-2.0-or-later","homepage":"https://github.com/dta-au/design-system","keywords":["ui kit","uikit","components","component library","design system","pattern library","storybook","styleguide"],"repository":{"type":"git","url":"git+https://github.com/dta-au/design-system.git"},"description":"CivicTheme UI Kit for Single Directory Components (Drupal)","maintainers":[{"name":"jamesfehon-dta","email":"james.fehon@dta.gov.au"}],"readme":"# @dta-au/designsystem-sdc\n\nCivicTheme UI Kit for Drupal Single Directory Components. Each component ships its own Twig, YAML schema, CSS, and JS under `components/` for per-component attachment by Drupal.\n\n## Runtime JS\n\n`dist/civictheme.base.js` is the supported runtime entry (package main): a classic-safe IIFE bundle of the `00-base` utilities plus `window.Popper`, built by Vite. It runs behaviours on DOMContentLoaded – or registers one `Drupal.behaviors.civictheme_*` entry per behaviour when Drupal is present – and exposes `window.CivicTheme.attach()`. Component-level behaviours are not in this bundle; they ship per component for SDC auto-attach.\n\n`dist/civictheme.base.esm.js` is the same bundle as an ES module exporting `attach` and `behaviours`. `dist/civictheme.drupal.base.js` is a byte-identical alias of the main entry, kept for consumers of the old Drupal-only build – the bundle is now environment-aware.\n\n## Chart data contract\n\n`@dta-au/designsystem-sdc/chart.data` resolves the shared chart data module: ESM for bundlers, UMD (global `bdgaChartData`) as the default for classic scripts.\n\n## Styles\n\n- `dist/civictheme.base.css` – base styles for the `00-base` layer\n- `dist/civictheme.variables.css` – CSS custom properties\n- per-component `*.css` files compiled next to their source under `components/`\n\nIssues and source live in the repository at https://github.com/dta-au/design-system.\n","readmeFilename":"README.md"}