nysoh-web-components v0.0.49
Change Log
0.0.49
- Fixed Dashboard Url for Proxy user and Indvidual user In Desktop View.
0.0.48
- Added .lightblue class for td's.
- Removed bottom margin on last paragraph in accordions.
- Updated buttons: now host passes buttonid to as it's ID.
- Added 'buttontype', 'buttonsize' and 'buttonstyle' to the IGNORE_ATTRS so they aren't passed to the button from the host.
- dropdown-item and nav-item components are updated to allow for linkClicked events in addition to the existing link/href prop.
- Added nysoh-rating-input component for star rating filter.
0.0.47
- Removed type="button" at the component level.
- Finalized nysoh-offcanvas component.
- Updated header using nysoh-offcanvas and nysoh-accordion for mobile menu.
- Nysoh-header component has separate props for individual-dashboard-url and proxy-dashboard-url.
- Fixes for nysoh-header and contentstack utlity to pull in the correct entry.
0.0.46
- Fix for mobile header where the offcanvas was showing for desktop.
- Removed type="button" at the component level
- Built nysoh-offcanvas component
- Updated header using nysoh-offcanvas# Change Log
0.0.45
- Added type="button" at the component level to correct the error when added to
- Initial version of offcanvas component and WIP mobile header.
- Added "!important" on the font size of the H2 inside accordions to force it 1rem.
0.0.44
- Nysoh-header now accepts several new props for proxy user display.
- Nysoh-header acc-holder-name prop is split up into multiple props for display flexibility.
0.0.43
- Removed border and background from modal close button
- Removed type=button entry in button.scss from previous release - breaks full width buttons on mobile
0.0.42
- Added type=button entry in button.scss to overwrite bootstrap so buttons will be full width when type="button" is added to nysoh-button
- Pulled accordion h2 out of "details" in scss so any h2 in the title will look correct (1rem / bold)
- Updated h2 to 1.5rem
- Breadcrumb component updated for mobile display. Now includes a "mobile-completed" slot.
0.0.41
- Package issue fixed
0.0.40
- Updated footer to remove "chat" section
- Added next to the in the nysoh-required file to prevent the from breaking to a new line alone.
- Added 'text-wrap:nowrap' to floating button / was breaking to two lines
0.0.39
- Button group component added with option for toggle
- Button toggle component added for use with button-group
- Button now has prop to become a dropdown combined with slot=menu and the dropdown-item component.
- Candidate fix for fixing the default date of today in desktop Safari
- Added "!important" to error-message class to overwrite bootstrap
0.0.38
- Updated disabled colors in the select.scss file
- Fixed floating button / will stick to the bottom of when scrolled past
- Updated dropdown-buttons with a slot to allow onClick, etc
- Updated / Fixed footer
0.0.37
- Added .lightblue class for 's in the Plan tables
- Updated alert text color to primary font color (black)
- Added badges for cards (info, success, warning, danger)
0.0.36
- Updated .error-message class to overwrite bootstrap color
0.0.35
- Range/slider input styled to match design system
- Updated table styles for compare plans accordions
- Star ratings styled and updated to accept 1/2 star values
- Disabled links and buttons get pointer-events: none to prevent actions
- Tooltips get role="tooltip" for 508 compliance.
0.0.34
- Republish since v0.0.33 package was broken.
0.0.33
- Added theme prop for accordions to add "table-accordion" for accordions to go inside tables.
0.0.32
- Tweaks to accordions for better spacing/max-height
- Fix for dropdown JS
0.0.31
- Added new prop(displayRequired) in from-wrapper to display required message at the bottom, only when required.And exisitng locale prop accepts either 'en' |'es'
0.0.31
- Added new prop(displayRequired) in from-wrapper to display required message at the bottom, only when required. And exisitng locale prop accepts either 'en' |'es'
0.0.30
- Removed padding from nysoh-form-wrapper
- Added margin on top of paragraphs in page title
- Updated select disabled colors
- Tables styled to match design system and classes added for variations
- Fix close button color in modals
- Accordions refactored to remove JS dependency and fix ongoing issues
0.0.29
- Reverted accordion fix while we find solution for Angular
- Added "!important" to hover color on secondary danger button
- Metal level badge styles added to nysoh-badge types
- nysoh-card-banner component added and supports background color
- nysoh-card accepts background prop for colors
- nysoh-card-footer component added and supports background color
- nysoh-range component added, pending style updates to match design system
- Added disabled class for anchor tags
- nysoh-header - removed hidden right side of util nav for Spanish mobile testing workaround
- Invalid input styles updated to target on ng-touched in addition to ng-invalid.
0.0.28
- Added disabled class and attribute styles for select and input
- Updated hover color on secondary success button
- nysoh-spinner added for loading indication
- Fixed error icon location for date pickers with "ng-invalid" class
- Added error styling for class "error-message" & "ng-invalid"
- Removed footer slot from card (not being used) to fix space issue
- Removed heading prop from card (not being used)
0.0.27
- Candidate fix to align datepicker text left on Webkit/Safari.
- Updated input error styles to fix
- Added danger style for Tertiary buttons (Remove button)
- Added "float:none;" to - this fixes the first radio/checkbox alignment issue
0.0.26
- Fix for accordion collapse issue
- Updated header styles and fixed hamburger icon
- Removed default color from paragraph
- Added Bootstrap text color overwrite (text-primary, text-danger, text-success, etc)
- form-wrapper accepts locale prop to show english or spanish "* = required field"
- data-summary refactored to use span instead of nysoh-label
- data-summary allows for html tags to be used in the summary-value prop
- data-summary: fixed issues with summary-type='danger'
0.0.25
- Removing text transform capitalize from H2, H3, H4
- Button styles: applied !important to overwrite bootstrap css
- Removed margin on last paragraph in tooltips
- Removed margin on last paragraph in alerts
- Added margin-bottom to input group to match other inputs
- Updated tertiary buttons to have dark blue text
- Updated Modal X button to blue
- Removed modal top and bottom borders
- Updated page title top and bottom margins - used prop instead of html for title / added margin on h1 only when followed by
- Updated info alert icon and heading to match figma colors
- Updated header slot of card - checks for prop before adding card-header
- Added icon spacing for icons inside label
0.0.24
- Remove background color for inputs suspected to be negatively impacting disabled inputs on iPhone
0.0.23
- MM/DD/YYYY placeholder now capitalized in datepickers
- Minor header changes to support Spanish mode
- Desktop version of breadcrumbs mostly styled to match design system
0.0.22
- Breadcrumb components are available but not yet styled. See index.html for example usage.
- Tooltip styling fixes
- Remove aria-required from asterisk (failed 508)
- Button styles more closely match design system.
- Success and Danger styles fully styled for Primary and Secondary buttons. Use buttonstyle="success/danger/link".
- Alert style fixes
- Card now has theme="donate-life" for the Donate Life/Organ Donor use case
- Performance issue related to nysoh-icon fixed. Bundle size reduced by half
- Alerts with danger style receive role="alert" for 508 compliance
- Color of labels for summary component fixed
- More examples added in index.html file
Stencil Component Starter
This is a starter project for building a standalone Web Component using Stencil.
Stencil is also great for building entire apps. For that, use the stencil-app-starter instead.
Stencil
Stencil is a compiler for building fast web apps using Web Components.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
Getting Started
To start building a new web component using Stencil, clone this repo to a new directory:
git clone https://github.com/ionic-team/stencil-component-starter.git my-component
cd my-component
git remote rm origin
and run:
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Need help? Check out our docs here.
Naming Components
When creating new component tags, we recommend not using stencil
in the component name (ex: <stencil-datepicker>
). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix ion
.
Using this component
There are three strategies we recommend for using web components built with Stencil.
The first step for all three of these strategies is to publish to NPM.
Script tag
- Put a script tag similar to this
<script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
Node Modules
- Run
npm install my-component --save
- Put a script tag similar to this
<script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
In a stencil-starter app
- Run
npm install my-component --save
- Add an import to the npm packages
import my-component;
- Then you can use the element anywhere in your template, JSX, html etc
Quick Tip
- May need to delete excess CSS files created by stencil. Only file should be inside src/assets/nysoh-styles.css
- npm run build
- npm cache clean --force
- npm run storybook
- npx npkill
- build from components folder which is nysoh/nysoh-components/packages/nysoh-web-components
- Remember to add document files for documentation
- you may need to delete node modules folder, packages lock json and dist folder or run npx npkill if you get stuck building
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
5 months ago
3 months ago
3 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
1 year ago
1 year ago
1 year ago