├── src └── scss │ ├── mixins.scss │ └── global-variables.scss ├── .env.example ├── .npmrc ├── packages ├── nys-icon │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-alert │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-avatar │ ├── src │ │ ├── index.ts │ │ └── nys-avatar.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-badge │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-button │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-divider │ ├── src │ │ ├── index.ts │ │ ├── nys-divider.figma.ts │ │ ├── nys-divider.ts │ │ └── nys-divider.scss │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-label │ ├── src │ │ ├── index.ts │ │ └── nys-label.test.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-modal │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-skipnav │ ├── src │ │ ├── index.ts │ │ └── nys-skipnav.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-toggle │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-tooltip │ ├── src │ │ ├── index.ts │ │ └── nys-tooltip.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-backtotop │ ├── src │ │ ├── index.ts │ │ ├── nys-backtotop.figma.ts │ │ └── nys-backtotop.scss │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-fileinput │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-textarea │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-textinput │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-errormessage │ ├── src │ │ ├── index.ts │ │ └── nys-errormessage.test.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-globalfooter │ ├── src │ │ ├── index.ts │ │ └── nys-globalfooter.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-globalheader │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-pagination │ ├── src │ │ ├── index.ts │ │ └── nys-pagination.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-unavfooter │ ├── src │ │ ├── index.ts │ │ └── nys-unavfooter.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-unavheader │ ├── src │ │ ├── index.ts │ │ └── nys-unavheader.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── styles │ ├── src │ │ ├── core │ │ │ └── global.scss │ │ ├── utilities │ │ │ ├── float.scss │ │ │ ├── zindex.scss │ │ │ └── opacity.scss │ │ ├── nysds-full.scss │ │ └── themes │ │ │ ├── safety.scss │ │ │ ├── admin.scss │ │ │ ├── business.scss │ │ │ ├── local.scss │ │ │ ├── health.scss │ │ │ ├── environment.scss │ │ │ └── transportation.scss │ └── uswds │ │ ├── packages │ │ ├── uswds-core │ │ │ ├── _index.scss │ │ │ ├── src │ │ │ │ ├── styles │ │ │ │ │ ├── functions │ │ │ │ │ │ ├── math │ │ │ │ │ │ │ └── _index.scss │ │ │ │ │ │ ├── grid │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ └── columns.scss │ │ │ │ │ │ ├── utilities │ │ │ │ │ │ │ └── _index.scss │ │ │ │ │ │ ├── output │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── get-standard-values.scss │ │ │ │ │ │ │ ├── ns.scss │ │ │ │ │ │ │ └── number-to-token.scss │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ ├── units │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── _root.scss │ │ │ │ │ │ │ ├── px-to-rem.scss │ │ │ │ │ │ │ ├── rem-to-user-em.scss │ │ │ │ │ │ │ ├── spacing-multiple.scss │ │ │ │ │ │ │ ├── rem-to-px.scss │ │ │ │ │ │ │ └── px-to-user-em.scss │ │ │ │ │ │ ├── font │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── convert-to-font-type.scss │ │ │ │ │ │ │ ├── cap-height.scss │ │ │ │ │ │ │ ├── normalize-type-scale.scss │ │ │ │ │ │ │ └── system-type-scale.scss │ │ │ │ │ │ ├── general │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── error.scss │ │ │ │ │ │ │ ├── get-last.scss │ │ │ │ │ │ │ ├── get-default.scss │ │ │ │ │ │ │ ├── has-important.scss │ │ │ │ │ │ │ ├── multi-cat.scss │ │ │ │ │ │ │ ├── append-important.scss │ │ │ │ │ │ │ ├── error-not-token.scss │ │ │ │ │ │ │ ├── strip-unit.scss │ │ │ │ │ │ │ ├── map-deep-get.scss │ │ │ │ │ │ │ ├── map-collect.scss │ │ │ │ │ │ │ ├── de-list.scss │ │ │ │ │ │ │ ├── str-replace.scss │ │ │ │ │ │ │ └── remove.scss │ │ │ │ │ │ └── color │ │ │ │ │ │ │ ├── is-theme-color-token.scss │ │ │ │ │ │ │ ├── is-color-token.scss │ │ │ │ │ │ │ ├── wcag-magic-number.scss │ │ │ │ │ │ │ ├── is-system-color-token.scss │ │ │ │ │ │ │ ├── color-token-type.scss │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── color-token-family.scss │ │ │ │ │ │ │ ├── is-accessible-magic-number.scss │ │ │ │ │ │ │ └── color-token-variant.scss │ │ │ │ │ ├── tokens │ │ │ │ │ │ ├── units │ │ │ │ │ │ │ ├── neg-prefix.scss │ │ │ │ │ │ │ ├── grid-base.scss │ │ │ │ │ │ │ ├── spacing-em.scss │ │ │ │ │ │ │ ├── column-gaps.scss │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── input-widths.scss │ │ │ │ │ │ │ ├── breakpoints.scss │ │ │ │ │ │ │ └── layout-grid-widths.scss │ │ │ │ │ │ ├── font │ │ │ │ │ │ │ ├── base-cap-height.scss │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── line-height.scss │ │ │ │ │ │ │ ├── measure.scss │ │ │ │ │ │ │ ├── type-scale.scss │ │ │ │ │ │ │ └── stacks.scss │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ └── color │ │ │ │ │ │ │ ├── _global.scss │ │ │ │ │ │ │ ├── shortcodes-color-project.scss │ │ │ │ │ │ │ ├── _gray-cool.scss │ │ │ │ │ │ │ ├── _gray-warm.scss │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── _gray.scss │ │ │ │ │ │ │ ├── shortcodes-color-all.scss │ │ │ │ │ │ │ ├── _black-transparent.scss │ │ │ │ │ │ │ ├── _white-transparent.scss │ │ │ │ │ │ │ ├── _blue.scss │ │ │ │ │ │ │ ├── _cyan.scss │ │ │ │ │ │ │ ├── _gold.scss │ │ │ │ │ │ │ ├── _mint.scss │ │ │ │ │ │ │ ├── _red.scss │ │ │ │ │ │ │ ├── _green.scss │ │ │ │ │ │ │ ├── _indigo.scss │ │ │ │ │ │ │ ├── _orange.scss │ │ │ │ │ │ │ ├── _violet.scss │ │ │ │ │ │ │ ├── _yellow.scss │ │ │ │ │ │ │ ├── _magenta.scss │ │ │ │ │ │ │ ├── _blue-cool.scss │ │ │ │ │ │ │ ├── _blue-warm.scss │ │ │ │ │ │ │ ├── _mint-cool.scss │ │ │ │ │ │ │ ├── _red-cool.scss │ │ │ │ │ │ │ ├── _red-warm.scss │ │ │ │ │ │ │ ├── _green-cool.scss │ │ │ │ │ │ │ ├── _green-warm.scss │ │ │ │ │ │ │ ├── _indigo-cool.scss │ │ │ │ │ │ │ ├── _indigo-warm.scss │ │ │ │ │ │ │ ├── _orange-warm.scss │ │ │ │ │ │ │ ├── _violet-warm.scss │ │ │ │ │ │ │ └── high-contrast-mode-colors.scss │ │ │ │ │ ├── placeholders │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ ├── _list.scss │ │ │ │ │ │ └── _forms.scss │ │ │ │ │ ├── mixins │ │ │ │ │ │ ├── layout-grid │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ └── _grid-row.scss │ │ │ │ │ │ ├── helpers │ │ │ │ │ │ │ ├── format-label.scss │ │ │ │ │ │ │ ├── format-input.scss │ │ │ │ │ │ │ ├── override-prose.scss │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── border-box-sizing.scss │ │ │ │ │ │ │ ├── add-label-styles.scss │ │ │ │ │ │ │ ├── set-text-from-bg.scss │ │ │ │ │ │ │ ├── set-icon-from-bg.scss │ │ │ │ │ │ │ └── set-text-and-bg.scss │ │ │ │ │ │ ├── general │ │ │ │ │ │ │ ├── add-kerning.scss │ │ │ │ │ │ │ ├── clearfix.scss │ │ │ │ │ │ │ ├── media-block-img.scss │ │ │ │ │ │ │ ├── media-link.scss │ │ │ │ │ │ │ ├── add-success-mark.scss │ │ │ │ │ │ │ ├── button-disabled.scss │ │ │ │ │ │ │ ├── add-responsive-site-margins.scss │ │ │ │ │ │ │ ├── add-background-svg.scss │ │ │ │ │ │ │ ├── add-checkbox-placeholder.scss │ │ │ │ │ │ │ ├── screen-reader.scss │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ └── focus-outline.scss │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ ├── typography │ │ │ │ │ │ │ ├── _index.scss │ │ │ │ │ │ │ ├── unstyled-list.scss │ │ │ │ │ │ │ ├── add-list-reset.scss │ │ │ │ │ │ │ └── usa-list.scss │ │ │ │ │ │ └── utilities │ │ │ │ │ │ │ ├── _square.scss │ │ │ │ │ │ │ ├── _align-self.scss │ │ │ │ │ │ │ ├── _top.scss │ │ │ │ │ │ │ ├── _background-color.scss │ │ │ │ │ │ │ ├── _circle.scss │ │ │ │ │ │ │ ├── _color.scss │ │ │ │ │ │ │ ├── _bottom.scss │ │ │ │ │ │ │ ├── _left.scss │ │ │ │ │ │ │ ├── _order.scss │ │ │ │ │ │ │ ├── _right.scss │ │ │ │ │ │ │ ├── _width.scss │ │ │ │ │ │ │ ├── _cursor.scss │ │ │ │ │ │ │ ├── _height.scss │ │ │ │ │ │ │ ├── _z-index.scss │ │ │ │ │ │ │ ├── _border-color.scss │ │ │ │ │ │ │ ├── _display.scss │ │ │ │ │ │ │ ├── _float.scss │ │ │ │ │ │ │ ├── _outline-color.scss │ │ │ │ │ │ │ ├── _shadow.scss │ │ │ │ │ │ │ ├── _max-width.scss │ │ │ │ │ │ │ ├── _min-width.scss │ │ │ │ │ │ │ ├── _max-height.scss │ │ │ │ │ │ │ ├── _min-height.scss │ │ │ │ │ │ │ ├── _measure.scss │ │ │ │ │ │ │ ├── _position.scss │ │ │ │ │ │ │ ├── _font-weight.scss │ │ │ │ │ │ │ ├── _text-decoration-color.scss │ │ │ │ │ │ │ ├── _white-space.scss │ │ │ │ │ │ │ ├── _text-align.scss │ │ │ │ │ │ │ ├── _text-indent.scss │ │ │ │ │ │ │ ├── _flex-direction.scss │ │ │ │ │ │ │ ├── _justify-content.scss │ │ │ │ │ │ │ ├── _vertical-align.scss │ │ │ │ │ │ │ ├── _line-height.scss │ │ │ │ │ │ │ ├── _align-items.scss │ │ │ │ │ │ │ └── _text-decoration.scss │ │ │ │ │ ├── variables │ │ │ │ │ │ ├── size-touch-target.scss │ │ │ │ │ │ ├── separator.scss │ │ │ │ │ │ ├── namespace.scss │ │ │ │ │ │ ├── wcag-magic-numbers.scss │ │ │ │ │ │ ├── color-palette-grayscale.scss │ │ │ │ │ │ ├── grid.scss │ │ │ │ │ │ ├── project-easing.scss │ │ │ │ │ │ ├── color-theme-grades.scss │ │ │ │ │ │ ├── color-families.scss │ │ │ │ │ │ ├── column-gaps.scss │ │ │ │ │ │ ├── border-high-contrast.scss │ │ │ │ │ │ ├── font-role-tokens.scss │ │ │ │ │ │ ├── aspect-ratios.scss │ │ │ │ │ │ ├── project-defaults.scss │ │ │ │ │ │ ├── project-font-weights.scss │ │ │ │ │ │ ├── border-radius.scss │ │ │ │ │ │ ├── theme-color-grades.scss │ │ │ │ │ │ ├── project-font-types.scss │ │ │ │ │ │ ├── project-cap-heights.scss │ │ │ │ │ │ ├── type-scale.scss │ │ │ │ │ │ └── _index.scss │ │ │ │ │ ├── settings │ │ │ │ │ │ └── _index.scss │ │ │ │ │ ├── _test.scss │ │ │ │ │ ├── _index.scss │ │ │ │ │ └── _defaults.scss │ │ │ │ └── theme │ │ │ │ │ ├── styles.scss │ │ │ │ │ ├── _uswds-theme.scss │ │ │ │ │ └── _uswds-theme-custom-styles.scss │ │ │ └── README.md │ │ ├── uswds-helpers │ │ │ ├── _index.scss │ │ │ └── src │ │ │ │ └── styles │ │ │ │ ├── _index.scss │ │ │ │ ├── _usa-focus.scss │ │ │ │ └── _usa-sr-only.scss │ │ ├── uswds-utilities │ │ │ ├── src │ │ │ │ └── styles │ │ │ │ │ ├── functions │ │ │ │ │ └── _index.scss │ │ │ │ │ ├── palettes │ │ │ │ │ ├── _index.scss │ │ │ │ │ └── colors │ │ │ │ │ │ ├── _black-transparent-palettes.scss │ │ │ │ │ │ └── _white-transparent-palettes.scss │ │ │ │ │ ├── _index.scss │ │ │ │ │ └── rules │ │ │ │ │ ├── top.scss │ │ │ │ │ ├── left.scss │ │ │ │ │ ├── width.scss │ │ │ │ │ ├── float.scss │ │ │ │ │ ├── right.scss │ │ │ │ │ ├── height.scss │ │ │ │ │ ├── cursor.scss │ │ │ │ │ ├── font.scss │ │ │ │ │ ├── display.scss │ │ │ │ │ ├── order.scss │ │ │ │ │ └── z-index.scss │ │ │ └── _index.scss │ │ └── usa-layout-grid │ │ │ ├── src │ │ │ └── styles │ │ │ │ └── _index.scss │ │ │ └── _index.scss │ │ └── src │ │ └── stylesheets │ │ ├── uswds.scss │ │ └── packages │ │ ├── _uswds-elements.scss │ │ ├── _usa-layout-grid.scss │ │ ├── _uswds-core.scss │ │ ├── _uswds-helpers.scss │ │ ├── _uswds-global.scss │ │ └── _uswds-utilities.scss ├── nys-select │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-stepper │ ├── src │ │ ├── index.ts │ │ └── nys-stepper.figma.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-accordion │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── nys-checkbox │ ├── src │ │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js └── nys-radiobutton │ ├── src │ └── index.ts │ ├── web-test-runner.config.js │ ├── tsconfig.json │ └── vite.config.js ├── templates ├── index.template.hbs ├── webtestrunner.template.hbs ├── figma.template.hbs ├── tsconfig.template.hbs └── viteconfig.template.hbs ├── .storybook ├── assets │ └── fonts │ │ ├── dsari-bold.woff │ │ ├── dsari_bold.woff2 │ │ ├── oswald-variable.woff │ │ ├── oswald-variable.woff2 │ │ ├── proximanova-bold.woff │ │ ├── proximanova-bold.woff2 │ │ ├── proximanova-italic.woff │ │ ├── proximanova-light.woff │ │ ├── proximanova-light.woff2 │ │ ├── proximanova-italic.woff2 │ │ ├── proximanova-regular.woff │ │ ├── proximanova-regular.woff2 │ │ ├── proximanova-semibold.woff │ │ ├── proximanova-bolditalic.woff │ │ ├── proximanova-bolditalic.woff2 │ │ ├── proximanova-extrabold.woff │ │ ├── proximanova-extrabold.woff2 │ │ ├── proximanova-lightitalic.woff │ │ ├── proximanova-semibold.woff2 │ │ └── proximanova-lightitalic.woff2 ├── manager.ts ├── preview-head.html ├── manager-head.html └── nysds-theme.js ├── .prettierignore ├── public └── nys-stepper │ ├── newsletter.html │ ├── survey.html │ ├── team.html │ └── personal.html ├── .vscode ├── settings.json └── vscode.css-custom-data.json ├── .editorconfig ├── favicon.svg ├── .npmignore ├── .github └── ISSUE_TEMPLATE │ ├── parent-component.yml │ └── testing-checklist.yml └── .gitignore /src/scss/mixins.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | FIGMA_ACCESS_TOKEN=your-token-here 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | @nysds:registry=https://registry.npmjs.org/ -------------------------------------------------------------------------------- /src/scss/global-variables.scss: -------------------------------------------------------------------------------- 1 | $primary-color:#bada55; -------------------------------------------------------------------------------- /packages/nys-icon/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-icon"; 2 | -------------------------------------------------------------------------------- /packages/nys-alert/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-alert"; 2 | -------------------------------------------------------------------------------- /packages/nys-avatar/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-avatar"; 2 | -------------------------------------------------------------------------------- /packages/nys-badge/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-badge"; 2 | -------------------------------------------------------------------------------- /packages/nys-button/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-button"; 2 | -------------------------------------------------------------------------------- /packages/nys-divider/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-divider"; 2 | -------------------------------------------------------------------------------- /packages/nys-label/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-label"; 2 | -------------------------------------------------------------------------------- /packages/nys-modal/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-modal"; 2 | -------------------------------------------------------------------------------- /packages/nys-skipnav/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-skipnav"; 2 | -------------------------------------------------------------------------------- /packages/nys-toggle/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-toggle"; 2 | -------------------------------------------------------------------------------- /packages/nys-tooltip/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-tooltip"; 2 | -------------------------------------------------------------------------------- /packages/nys-backtotop/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-backtotop"; 2 | -------------------------------------------------------------------------------- /packages/nys-fileinput/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-fileinput"; 2 | -------------------------------------------------------------------------------- /packages/nys-textarea/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-textarea"; 2 | -------------------------------------------------------------------------------- /packages/nys-textinput/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-textinput"; 2 | -------------------------------------------------------------------------------- /templates/index.template.hbs: -------------------------------------------------------------------------------- 1 | export * from "./nys-{{componentName}}"; 2 | -------------------------------------------------------------------------------- /packages/nys-errormessage/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-errormessage"; 2 | -------------------------------------------------------------------------------- /packages/nys-globalfooter/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-globalfooter"; 2 | -------------------------------------------------------------------------------- /packages/nys-globalheader/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-globalheader"; 2 | -------------------------------------------------------------------------------- /packages/nys-pagination/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-pagination"; 2 | -------------------------------------------------------------------------------- /packages/nys-unavfooter/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-unavfooter"; 2 | -------------------------------------------------------------------------------- /packages/nys-unavheader/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-unavheader"; 2 | -------------------------------------------------------------------------------- /packages/styles/src/core/global.scss: -------------------------------------------------------------------------------- 1 | /* === NYSDS: Global Styles */ 2 | 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "src/styles"; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-helpers/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "src/styles"; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/src/stylesheets/uswds.scss: -------------------------------------------------------------------------------- 1 | @forward "../../packages/uswds"; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/src/stylesheets/packages/_uswds-elements.scss: -------------------------------------------------------------------------------- 1 | @forward "uswds-elements"; 2 | -------------------------------------------------------------------------------- /packages/nys-select/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-select"; 2 | export * from "./nys-option"; 3 | -------------------------------------------------------------------------------- /packages/nys-stepper/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-stepper"; 2 | export * from "./nys-step"; 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/math/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "pow"; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/units/neg-prefix.scss: -------------------------------------------------------------------------------- 1 | $neg-prefix: "neg"; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-utilities/src/styles/functions/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "get-palettes"; 2 | -------------------------------------------------------------------------------- /packages/nys-accordion/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-accordion"; 2 | export * from "./nys-accordionitem"; 3 | -------------------------------------------------------------------------------- /packages/nys-checkbox/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-checkbox"; 2 | export * from "./nys-checkboxgroup"; 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-utilities/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "uswds-core"; 2 | @forward "src/styles"; 3 | -------------------------------------------------------------------------------- /packages/nys-radiobutton/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nys-radiobutton"; 2 | export * from "./nys-radiogroup"; 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/units/grid-base.scss: -------------------------------------------------------------------------------- 1 | $system-spacing-grid-base: 8px; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/placeholders/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "forms"; 2 | @forward "list"; 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/font/base-cap-height.scss: -------------------------------------------------------------------------------- 1 | $system-base-cap-height: 362px; 2 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-helpers/src/styles/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "usa-focus"; 2 | @forward "usa-sr-only"; 3 | -------------------------------------------------------------------------------- /templates/webtestrunner.template.hbs: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /.storybook/assets/fonts/dsari-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/dsari-bold.woff -------------------------------------------------------------------------------- /packages/nys-icon/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /.storybook/assets/fonts/dsari_bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/dsari_bold.woff2 -------------------------------------------------------------------------------- /packages/nys-accordion/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-alert/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-avatar/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-backtotop/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-badge/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-button/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-checkbox/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-divider/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-fileinput/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-label/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-modal/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-select/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-skipnav/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-stepper/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-textarea/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-textinput/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-toggle/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-tooltip/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /.storybook/assets/fonts/oswald-variable.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/oswald-variable.woff -------------------------------------------------------------------------------- /packages/nys-errormessage/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-globalfooter/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-globalheader/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-pagination/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-radiobutton/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-unavfooter/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/nys-unavheader/web-test-runner.config.js: -------------------------------------------------------------------------------- 1 | import config from "../../web-test-runner.config.js"; 2 | export default config; 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/usa-layout-grid/src/styles/_index.scss: -------------------------------------------------------------------------------- 1 | // dependencies 2 | 3 | // src 4 | @forward "usa-layout-grid"; 5 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/grid/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "columns"; 2 | @forward "calc-gap-offset"; 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "color"; 2 | @forward "font"; 3 | @forward "units"; 4 | -------------------------------------------------------------------------------- /packages/styles/uswds/src/stylesheets/packages/_usa-layout-grid.scss: -------------------------------------------------------------------------------- 1 | // dependencies 2 | 3 | // src 4 | @forward "usa-layout-grid"; 5 | -------------------------------------------------------------------------------- /.storybook/assets/fonts/oswald-variable.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/oswald-variable.woff2 -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-bold.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-bold.woff2 -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-italic.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-light.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-light.woff2 -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/layout-grid/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "grid-container"; 2 | @forward "grid-row"; 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | packages/*/dist 4 | packages/*/node_modules 5 | packages/styles/uswds 6 | storybook-static 7 | coverage -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-italic.woff2 -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-regular.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-regular.woff2 -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-semibold.woff -------------------------------------------------------------------------------- /packages/styles/uswds/packages/usa-layout-grid/_index.scss: -------------------------------------------------------------------------------- 1 | //dependencies 2 | @forward "uswds-core"; 3 | 4 | // src 5 | @forward "src/styles"; 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/src/stylesheets/packages/_uswds-core.scss: -------------------------------------------------------------------------------- 1 | // Core 2 | // ------------------------------------- 3 | @forward "uswds-core"; 4 | -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-bolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-bolditalic.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-bolditalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-bolditalic.woff2 -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-extrabold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-extrabold.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-extrabold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-extrabold.woff2 -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-lightitalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-lightitalic.woff -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-semibold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-semibold.woff2 -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/size-touch-target.scss: -------------------------------------------------------------------------------- 1 | $size-touch-target: 6; // 48px to meet WCAG minimum of 44px 2 | -------------------------------------------------------------------------------- /.storybook/assets/fonts/proximanova-lightitalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITS-HCD/nysds/HEAD/.storybook/assets/fonts/proximanova-lightitalic.woff2 -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/separator.scss: -------------------------------------------------------------------------------- 1 | @use "../settings"; 2 | 3 | $separator: settings.$theme-prefix-separator; 4 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/theme/styles.scss: -------------------------------------------------------------------------------- 1 | @forward "uswds-theme"; 2 | @forward "uswds"; 3 | @forward "uswds-theme-custom-styles"; 4 | -------------------------------------------------------------------------------- /packages/styles/uswds/src/stylesheets/packages/_uswds-helpers.scss: -------------------------------------------------------------------------------- 1 | // Helpers 2 | // ------------------------------------- 3 | @forward "uswds-helpers"; 4 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/helpers/format-label.scss: -------------------------------------------------------------------------------- 1 | @mixin format-label { 2 | & + [class*="__label"] { 3 | @content; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/utilities/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "color"; 2 | @forward "etc"; 3 | @forward "line-height"; 4 | @forward "utility-font"; 5 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/general/add-kerning.scss: -------------------------------------------------------------------------------- 1 | @mixin add-kerning { 2 | font-feature-settings: "kern" 1; 3 | font-kerning: normal; 4 | } 5 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/helpers/format-input.scss: -------------------------------------------------------------------------------- 1 | @mixin format-input { 2 | & + [class*="__label"]::before { 3 | @content; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/helpers/override-prose.scss: -------------------------------------------------------------------------------- 1 | @mixin override-prose { 2 | @content; 3 | .usa-prose { 4 | @content; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/namespace.scss: -------------------------------------------------------------------------------- 1 | @use "../functions/output/ns" as *; 2 | 3 | $ns-utility: ns("utility"); 4 | $ns-grid: ns("grid"); 5 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/wcag-magic-numbers.scss: -------------------------------------------------------------------------------- 1 | $system-wcag-magic-numbers: ( 2 | "AA": 50, 3 | "AAA": 70, 4 | "AA-large": 40, 5 | ); 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/color-palette-grayscale.scss: -------------------------------------------------------------------------------- 1 | @use "../tokens/color/gray" as *; 2 | 3 | $color-palette-grayscale: $system-color-gray; 4 | -------------------------------------------------------------------------------- /packages/styles/src/utilities/float.scss: -------------------------------------------------------------------------------- 1 | .nys-float-left { 2 | float: left; 3 | } 4 | .nys-float-none { 5 | float: none; 6 | } 7 | .nys-float-right { 8 | float: right; 9 | } 10 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/color/_global.scss: -------------------------------------------------------------------------------- 1 | $tokens-color-global: ( 2 | "transparent": transparent, 3 | "black": black, 4 | "white": white, 5 | ); 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-helpers/src/styles/_usa-focus.scss: -------------------------------------------------------------------------------- 1 | @use "uswds-core/src/styles/mixins/general/focus-outline" as *; 2 | 3 | .usa-focus { 4 | @include focus-outline; 5 | } 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-helpers/src/styles/_usa-sr-only.scss: -------------------------------------------------------------------------------- 1 | @use "uswds-core/src/styles/mixins/general/screen-reader" as *; 2 | 3 | .usa-sr-only { 4 | @include sr-only; 5 | } 6 | -------------------------------------------------------------------------------- /public/nys-stepper/newsletter.html: -------------------------------------------------------------------------------- 1 |
2 |

Newsletter Opt-In

3 |

Subscribe to our newsletter to stay updated on the latest features and offers.

4 |
-------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/output/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "get-uswds-value"; 2 | @forward "get-standard-values"; 3 | @forward "ns"; 4 | @forward "number-to-token"; 5 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/general/clearfix.scss: -------------------------------------------------------------------------------- 1 | @mixin clearfix { 2 | &::after { 3 | clear: both; 4 | content: ""; 5 | display: block; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.storybook/manager.ts: -------------------------------------------------------------------------------- 1 | import nysdsTheme from "./nysds-theme"; // Custom Storybook theme 2 | 3 | import { addons } from "storybook/manager-api"; 4 | 5 | addons.setConfig({ 6 | theme: nysdsTheme, 7 | }); 8 | -------------------------------------------------------------------------------- /packages/nys-skipnav/src/nys-skipnav.figma.ts: -------------------------------------------------------------------------------- 1 | import figma, { html } from "@figma/code-connect/html"; 2 | 3 | figma.connect("", { 4 | example: () => html``, 5 | }); 6 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "radiobutton" 4 | ], 5 | "html.customData": [".vscode/vscode.html-custom-data.json"], 6 | "css.customData": [".vscode/vscode.css-custom-data.json"] 7 | } -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/units/spacing-em.scss: -------------------------------------------------------------------------------- 1 | $system-spacing-em: ( 2 | small: ( 3 | "05em": 0.5em, 4 | 1em: 1em, 5 | 105em: 1.5em, 6 | 2em: 2em, 7 | ), 8 | ); 9 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/grid.scss: -------------------------------------------------------------------------------- 1 | @use "../settings"; 2 | 3 | $grid-global: ""; 4 | 5 | @if settings.$theme-layout-grid-use-important { 6 | $grid-global: "!important"; 7 | } 8 | -------------------------------------------------------------------------------- /packages/nys-unavfooter/src/nys-unavfooter.figma.ts: -------------------------------------------------------------------------------- 1 | import figma, { html } from "@figma/code-connect/html"; 2 | 3 | figma.connect("", { 4 | example: () => html``, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/nys-unavheader/src/nys-unavheader.figma.ts: -------------------------------------------------------------------------------- 1 | import figma, { html } from "@figma/code-connect/html"; 2 | 3 | figma.connect("", { 4 | example: () => html``, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "general"; 2 | @forward "helpers"; 3 | @forward "layout-grid"; 4 | @forward "typography"; 5 | @forward "utilities"; 6 | @forward "utility-builder"; 7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/font/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "base-cap-height"; 2 | @forward "line-height"; 3 | @forward "measure"; 4 | @forward "stacks"; 5 | @forward "typefaces"; 6 | @forward "type-scale"; 7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/project-easing.scss: -------------------------------------------------------------------------------- 1 | /* 2 | ---------------------------------------- 3 | Easing 4 | ---------------------------------------- 5 | */ 6 | $project-easing: 0.15s ease-in-out; 7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-utilities/src/styles/palettes/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "color-palettes"; 2 | @forward "default-palettes"; 3 | @forward "font-palettes"; 4 | @forward "palette-registry"; 5 | @forward "spacing-palettes"; 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/general/media-block-img.scss: -------------------------------------------------------------------------------- 1 | @use "../../functions" as *; 2 | 3 | @mixin media-block-img($margin-right: units(1)) { 4 | flex-shrink: 0; 5 | margin-right: $margin-right; 6 | } 7 | -------------------------------------------------------------------------------- /.vscode/vscode.css-custom-data.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json", 3 | "version": 1.1, 4 | "properties": [], 5 | "pseudoElements": [] 6 | } 7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/general/media-link.scss: -------------------------------------------------------------------------------- 1 | // TODO: Add documentation instructions for using this class on image links 2 | @mixin media-link { 3 | display: inline-block; 4 | line-height: 0; 5 | } 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/units/column-gaps.scss: -------------------------------------------------------------------------------- 1 | $system-column-gaps: ( 2 | 0: 0, 3 | "2px": 2px, 4 | "05": "05", 5 | 1: 1, 6 | 2: 2, 7 | 3: 3, 8 | 4: 4, 9 | 5: 5, 10 | 6: 6, 11 | ); 12 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/color-theme-grades.scss: -------------------------------------------------------------------------------- 1 | $uswds-color-theme-grades: ( 2 | "lightest", 3 | "lighter", 4 | "light", 5 | "default", 6 | "dark", 7 | "darker", 8 | "darkest" 9 | ); 10 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "color"; 2 | @forward "font"; 3 | @forward "general"; 4 | @forward "grid"; 5 | @forward "math"; 6 | @forward "output"; 7 | @forward "units"; 8 | @forward "utilities"; 9 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/color-families.scss: -------------------------------------------------------------------------------- 1 | $uswds-color-families: ( 2 | "primary", 3 | "secondary", 4 | "accent", 5 | "base", 6 | "warning", 7 | "error", 8 | "success", 9 | "info" 10 | ); 11 | -------------------------------------------------------------------------------- /packages/styles/uswds/src/stylesheets/packages/_uswds-global.scss: -------------------------------------------------------------------------------- 1 | // Global 2 | // ------------------------------------- 3 | @forward "uswds-elements/lib/normalize"; 4 | @forward "uswds-core"; 5 | @forward "uswds-elements"; 6 | @forward "uswds-helpers"; 7 | -------------------------------------------------------------------------------- /public/nys-stepper/survey.html: -------------------------------------------------------------------------------- 1 |
2 |

Usage Survey

3 |

Tell us how you plan to use this application. Your feedback helps us improve.

4 | 5 |
-------------------------------------------------------------------------------- /.storybook/preview-head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/units/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "root"; 2 | @forward "px-to-rem"; 3 | @forward "px-to-user-em"; 4 | @forward "rem-to-px"; 5 | @forward "rem-to-user-em"; 6 | @forward "spacing-multiple"; 7 | @forward "units"; 8 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/column-gaps.scss: -------------------------------------------------------------------------------- 1 | @use "../settings"; 2 | 3 | $project-column-gaps: ( 4 | "sm": settings.$theme-column-gap-sm, 5 | "md": settings.$theme-column-gap-md, 6 | "lg": settings.$theme-column-gap-lg, 7 | ); 8 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/settings/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "settings-general"; 2 | @forward "settings-typography"; 3 | @forward "settings-color"; 4 | @forward "settings-components"; 5 | @forward "settings-spacing"; 6 | @forward "settings-utilities"; 7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/typography/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "add-list-reset"; 2 | @forward "headings"; 3 | @forward "typeset"; 4 | @forward "unstyled-list"; 5 | @forward "usa-content-styles"; 6 | @forward "usa-list"; 7 | @forward "usa-table-styles"; 8 | -------------------------------------------------------------------------------- /templates/figma.template.hbs: -------------------------------------------------------------------------------- 1 | import figma, { html } from "@figma/code-connect/html"; 2 | 3 | figma.connect("", { 4 | props: { 5 | // TODO: Add props here 6 | }, 7 | example: () => html` `, 8 | }); 9 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/units/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "breakpoints"; 2 | @forward "column-gaps"; 3 | @forward "grid-base"; 4 | @forward "input-widths"; 5 | @forward "layout-grid-widths"; 6 | @forward "neg-prefix"; 7 | @forward "spacing"; 8 | @forward "spacing-em"; 9 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/units/input-widths.scss: -------------------------------------------------------------------------------- 1 | $system-input-widths: ( 2 | "2xs": 5ex, 3 | "xs": 9ex, 4 | "sm": 13ex, 5 | "small": 13ex, 6 | "md": 20ex, 7 | "medium": 20ex, 8 | "lg": 30ex, 9 | "xl": 40ex, 10 | "2xl": 50ex, 11 | ); 12 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/variables/border-high-contrast.scss: -------------------------------------------------------------------------------- 1 | @use "../tokens/color/high-contrast-mode-colors"; 2 | @use "../functions/utilities/color" as *; 3 | 4 | $border-high-contrast: 2px solid transparent; 5 | $border-high-contrast-disabled: 2px solid color(GrayText); 6 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = auto 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | 13 | [*.md] 14 | trim_trailing_whitespace = false 15 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/color/shortcodes-color-project.scss: -------------------------------------------------------------------------------- 1 | @use "../../functions/general"; 2 | @use "shortcodes-color-state" as *; 3 | @use "shortcodes-color-theme" as *; 4 | 5 | $project-color-shortcodes: general.map-collect( 6 | $tokens-color-theme, 7 | $tokens-color-state 8 | ); 9 | -------------------------------------------------------------------------------- /packages/nys-stepper/src/nys-stepper.figma.ts: -------------------------------------------------------------------------------- 1 | import figma, { html } from "@figma/code-connect/html"; 2 | 3 | figma.connect("", { 4 | props: { 5 | label: figma.string("Label"), 6 | }, 7 | example: (props) => html` 8 | 9 | `, 10 | }); 11 | -------------------------------------------------------------------------------- /packages/nys-divider/src/nys-divider.figma.ts: -------------------------------------------------------------------------------- 1 | import figma, { html } from "@figma/code-connect/html"; 2 | 3 | figma.connect("", { 4 | props: { 5 | inverted: figma.boolean("Inverted"), 6 | }, 7 | example: (props) => 8 | html` `, 9 | }); 10 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/README.md: -------------------------------------------------------------------------------- 1 | # Core SASS Package for the United States Web Design System 2 | 3 | !! This package has _no style output_ and used exclusively for SASS. !! 4 | 5 | To see the design system and its documentation on the web, visit [https://designsystem.digital.gov](https://designsystem.digital.gov). 6 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/tokens/font/line-height.scss: -------------------------------------------------------------------------------- 1 | /* 2 | ---------------------------------------- 3 | Line height 4 | ---------------------------------------- 5 | */ 6 | 7 | $system-line-height: ( 8 | 1: 1, 9 | 2: 1.2, 10 | 3: 1.35, 11 | 4: 1.5, 12 | 5: 1.62, 13 | 6: 1.75, 14 | ); 15 | -------------------------------------------------------------------------------- /.storybook/manager-head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/_test.scss: -------------------------------------------------------------------------------- 1 | @use "./functions/color/get-system-color" as *; 2 | @use "./functions/color/test-color" as *; 3 | @use "./tokens/color/shortcodes-color-system" as *; 4 | @use "./settings" as *; 5 | 6 | @if $test-system-color-tokens { 7 | $color-test: test-colors($system-color-shortcodes); 8 | } 9 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/functions/font/_index.scss: -------------------------------------------------------------------------------- 1 | @forward "cap-height"; 2 | @forward "convert-to-font-type"; 3 | @forward "font-sources"; 4 | @forward "get-font-stack"; 5 | @forward "get-typeface-token"; 6 | @forward "normalize-type-scale"; 7 | @forward "system-type-scale"; 8 | @forward "validate-typeface-token"; 9 | -------------------------------------------------------------------------------- /public/nys-stepper/team.html: -------------------------------------------------------------------------------- 1 |
2 |

Team Information

3 |

Provide details about your team. Who are you working with? What is your role?

4 | 5 | 6 |
7 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/typography/unstyled-list.scss: -------------------------------------------------------------------------------- 1 | @use "../utilities" as *; 2 | 3 | // Unstyled list helper 4 | @mixin unstyled-list() { 5 | @include u-margin-y(0); 6 | list-style-type: none; 7 | padding-left: 0; 8 | 9 | > li { 10 | margin-bottom: 0; 11 | max-width: unset; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-utilities/src/styles/_index.scss: -------------------------------------------------------------------------------- 1 | // Utilities 2 | // ------------------------------------- 3 | 4 | // Dependencies 5 | @use "uswds-core/src/styles/mixins/utility-builder" as *; 6 | 7 | // Src 8 | @use "utility-fonts"; 9 | @use "rules/package" as *; 10 | 11 | @include render-utilities-in($utilities-package); 12 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/utilities/_square.scss: -------------------------------------------------------------------------------- 1 | @use "../../functions" as *; 2 | @use "./height" as *; 3 | @use "./width" as *; 4 | 5 | // Outputs a square 6 | @mixin u-square($value...) { 7 | $value: unpack($value); 8 | $dimension: $value; 9 | @include u-height($value); 10 | @include u-width($value); 11 | } 12 | -------------------------------------------------------------------------------- /packages/nys-icon/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-alert/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-avatar/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-button/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-checkbox/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-label/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-select/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-textarea/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-toggle/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /public/nys-stepper/personal.html: -------------------------------------------------------------------------------- 1 |
2 |

Personal Details

3 |

This is the form to enter your personal information. Fill in your name, address, and contact details here.

4 | 5 | 6 |
7 | -------------------------------------------------------------------------------- /packages/nys-badge/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-divider/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-errormessage/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-globalfooter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-globalheader/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-modal/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-stepper/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-tooltip/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-unavfooter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/nys-unavheader/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/styles/uswds/packages/uswds-core/src/styles/mixins/general/add-success-mark.scss: -------------------------------------------------------------------------------- 1 | @use "./add-background-svg" as *; 2 | @use "../../functions" as *; 3 | 4 | @mixin add-success-mark { 5 | &::before { 6 | @include add-background-svg("usa-icons-bg/check--blue-60v"); 7 | background-position: center; 8 | background-size: units(3); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /templates/tsconfig.template.hbs: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-accordion/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-backtotop/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-fileinput/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-pagination/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": [ 9 | "**/*.stories.ts", 10 | "**/*.styles.ts", 11 | "**/*.test.ts", 12 | "packages", 13 | "node_modules", 14 | "dist" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/nys-label/src/nys-label.test.ts: -------------------------------------------------------------------------------- 1 | // Accessibility Tests 2 | /* 3 | * Ensure that the for attribute in the