@hermes-ui/angular 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +52 -52
  2. package/button/_properties.buttons.scss +387 -387
  3. package/fesm2022/hermes-ui-angular-accordion.mjs.map +1 -1
  4. package/fesm2022/hermes-ui-angular-addons-a11y.mjs.map +1 -1
  5. package/fesm2022/hermes-ui-angular-addons-card-container.mjs.map +1 -1
  6. package/fesm2022/hermes-ui-angular-addons-certificate-viewer.mjs.map +1 -1
  7. package/fesm2022/hermes-ui-angular-addons-datagrid-filters.mjs.map +1 -1
  8. package/fesm2022/hermes-ui-angular-addons-datagrid.mjs +28 -28
  9. package/fesm2022/hermes-ui-angular-addons-datagrid.mjs.map +1 -1
  10. package/fesm2022/hermes-ui-angular-addons-dialog.mjs.map +1 -1
  11. package/fesm2022/hermes-ui-angular-addons-menu.mjs +8 -8
  12. package/fesm2022/hermes-ui-angular-addons-menu.mjs.map +1 -1
  13. package/fesm2022/hermes-ui-angular-addons-property-view.mjs.map +1 -1
  14. package/fesm2022/hermes-ui-angular-addons-stepper.mjs.map +1 -1
  15. package/fesm2022/hermes-ui-angular-addons-tabs.mjs.map +1 -1
  16. package/fesm2022/hermes-ui-angular-addons-testing.mjs +78 -78
  17. package/fesm2022/hermes-ui-angular-addons-testing.mjs.map +1 -1
  18. package/fesm2022/hermes-ui-angular-addons-theme-builder.mjs.map +1 -1
  19. package/fesm2022/hermes-ui-angular-addons-var.mjs.map +1 -1
  20. package/fesm2022/hermes-ui-angular-addons-wizard.mjs.map +1 -1
  21. package/fesm2022/hermes-ui-angular-addons-workflow.mjs.map +1 -1
  22. package/fesm2022/hermes-ui-angular-button.mjs +74 -74
  23. package/fesm2022/hermes-ui-angular-button.mjs.map +1 -1
  24. package/fesm2022/hermes-ui-angular-card.mjs.map +1 -1
  25. package/fesm2022/hermes-ui-angular-collapsible-panel.mjs.map +1 -1
  26. package/fesm2022/hermes-ui-angular-data-datagrid.mjs +926 -926
  27. package/fesm2022/hermes-ui-angular-data-datagrid.mjs.map +1 -1
  28. package/fesm2022/hermes-ui-angular-data-stack-view.mjs +114 -114
  29. package/fesm2022/hermes-ui-angular-data-stack-view.mjs.map +1 -1
  30. package/fesm2022/hermes-ui-angular-data-tree-view.mjs +12 -12
  31. package/fesm2022/hermes-ui-angular-data-tree-view.mjs.map +1 -1
  32. package/fesm2022/hermes-ui-angular-data.mjs.map +1 -1
  33. package/fesm2022/hermes-ui-angular-divider.mjs +2 -2
  34. package/fesm2022/hermes-ui-angular-divider.mjs.map +1 -1
  35. package/fesm2022/hermes-ui-angular-emphasis-alert.mjs.map +1 -1
  36. package/fesm2022/hermes-ui-angular-emphasis-badge.mjs.map +1 -1
  37. package/fesm2022/hermes-ui-angular-emphasis-label.mjs +16 -16
  38. package/fesm2022/hermes-ui-angular-emphasis-label.mjs.map +1 -1
  39. package/fesm2022/hermes-ui-angular-emphasis.mjs.map +1 -1
  40. package/fesm2022/hermes-ui-angular-forms-checkbox.mjs +50 -50
  41. package/fesm2022/hermes-ui-angular-forms-checkbox.mjs.map +1 -1
  42. package/fesm2022/hermes-ui-angular-forms-combobox.mjs +126 -126
  43. package/fesm2022/hermes-ui-angular-forms-combobox.mjs.map +1 -1
  44. package/fesm2022/hermes-ui-angular-forms-common.mjs.map +1 -1
  45. package/fesm2022/hermes-ui-angular-forms-datalist.mjs +46 -46
  46. package/fesm2022/hermes-ui-angular-forms-datalist.mjs.map +1 -1
  47. package/fesm2022/hermes-ui-angular-forms-datepicker.mjs +374 -374
  48. package/fesm2022/hermes-ui-angular-forms-datepicker.mjs.map +1 -1
  49. package/fesm2022/hermes-ui-angular-forms-file-input.mjs +190 -190
  50. package/fesm2022/hermes-ui-angular-forms-file-input.mjs.map +1 -1
  51. package/fesm2022/hermes-ui-angular-forms-input.mjs +52 -52
  52. package/fesm2022/hermes-ui-angular-forms-input.mjs.map +1 -1
  53. package/fesm2022/hermes-ui-angular-forms-native-select.mjs +38 -38
  54. package/fesm2022/hermes-ui-angular-forms-native-select.mjs.map +1 -1
  55. package/fesm2022/hermes-ui-angular-forms-number-input.mjs +80 -80
  56. package/fesm2022/hermes-ui-angular-forms-number-input.mjs.map +1 -1
  57. package/fesm2022/hermes-ui-angular-forms-password.mjs +58 -58
  58. package/fesm2022/hermes-ui-angular-forms-password.mjs.map +1 -1
  59. package/fesm2022/hermes-ui-angular-forms-radio.mjs +50 -50
  60. package/fesm2022/hermes-ui-angular-forms-radio.mjs.map +1 -1
  61. package/fesm2022/hermes-ui-angular-forms-range.mjs +44 -44
  62. package/fesm2022/hermes-ui-angular-forms-range.mjs.map +1 -1
  63. package/fesm2022/hermes-ui-angular-forms-select.mjs +8 -8
  64. package/fesm2022/hermes-ui-angular-forms-select.mjs.map +1 -1
  65. package/fesm2022/hermes-ui-angular-forms-textarea.mjs +38 -38
  66. package/fesm2022/hermes-ui-angular-forms-textarea.mjs.map +1 -1
  67. package/fesm2022/hermes-ui-angular-forms.mjs.map +1 -1
  68. package/fesm2022/hermes-ui-angular-icon.mjs.map +1 -1
  69. package/fesm2022/hermes-ui-angular-layout-breadcrumbs.mjs.map +1 -1
  70. package/fesm2022/hermes-ui-angular-layout-main-container.mjs.map +1 -1
  71. package/fesm2022/hermes-ui-angular-layout-nav.mjs +46 -46
  72. package/fesm2022/hermes-ui-angular-layout-nav.mjs.map +1 -1
  73. package/fesm2022/hermes-ui-angular-layout-tabs.mjs +146 -146
  74. package/fesm2022/hermes-ui-angular-layout-tabs.mjs.map +1 -1
  75. package/fesm2022/hermes-ui-angular-layout-vertical-nav.mjs.map +1 -1
  76. package/fesm2022/hermes-ui-angular-layout.mjs.map +1 -1
  77. package/fesm2022/hermes-ui-angular-modal.mjs.map +1 -1
  78. package/fesm2022/hermes-ui-angular-pagination.mjs +8 -8
  79. package/fesm2022/hermes-ui-angular-pagination.mjs.map +1 -1
  80. package/fesm2022/hermes-ui-angular-popover-common.mjs +26 -3
  81. package/fesm2022/hermes-ui-angular-popover-common.mjs.map +1 -1
  82. package/fesm2022/hermes-ui-angular-popover-dropdown.mjs.map +1 -1
  83. package/fesm2022/hermes-ui-angular-popover-signpost.mjs +66 -66
  84. package/fesm2022/hermes-ui-angular-popover-signpost.mjs.map +1 -1
  85. package/fesm2022/hermes-ui-angular-popover-tooltip.mjs.map +1 -1
  86. package/fesm2022/hermes-ui-angular-popover.mjs.map +1 -1
  87. package/fesm2022/hermes-ui-angular-progress-progress-bars.mjs +10 -10
  88. package/fesm2022/hermes-ui-angular-progress-progress-bars.mjs.map +1 -1
  89. package/fesm2022/hermes-ui-angular-progress-spinner.mjs.map +1 -1
  90. package/fesm2022/hermes-ui-angular-stepper.mjs.map +1 -1
  91. package/fesm2022/hermes-ui-angular-timeline.mjs.map +1 -1
  92. package/fesm2022/hermes-ui-angular-toast.mjs +4 -4
  93. package/fesm2022/hermes-ui-angular-toast.mjs.map +1 -1
  94. package/fesm2022/hermes-ui-angular-utils-conditional.mjs.map +1 -1
  95. package/fesm2022/hermes-ui-angular-utils.mjs.map +1 -1
  96. package/fesm2022/hermes-ui-angular-wizard.mjs +56 -56
  97. package/fesm2022/hermes-ui-angular-wizard.mjs.map +1 -1
  98. package/fesm2022/hermes-ui-angular.mjs.map +1 -1
  99. package/hermes-ui.scss +7 -7
  100. package/package.json +1 -1
  101. package/toast/README.md +65 -65
  102. package/toast/_properties.toast.scss +56 -56
  103. package/toast/_toast.clarity.scss +190 -190
  104. package/toast/_variables.toast.scss +33 -33
  105. package/types/hermes-ui-angular-data-datagrid.d.ts.map +1 -1
  106. package/types/hermes-ui-angular-popover-common.d.ts +4 -3
  107. package/types/hermes-ui-angular-popover-common.d.ts.map +1 -1
  108. package/types/hermes-ui-angular-wizard.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"hermes-ui-angular.mjs","sources":["../../../hermes-angular.module.ts","../../../index.ts","../../../hermes-ui-angular.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { NgModule } from '@angular/core';\nimport { HermesAccordionModule } from '@hermes-ui/angular/accordion';\nimport { HermesButtonModule } from '@hermes-ui/angular/button';\nimport { HermesCard } from '@hermes-ui/angular/card';\nimport { HermesDataModule } from '@hermes-ui/angular/data';\nimport { HermesDivider } from '@hermes-ui/angular/divider';\nimport { HermesEmphasisModule } from '@hermes-ui/angular/emphasis';\nimport { HermesFormsModule } from '@hermes-ui/angular/forms';\nimport { HermesIcon, HermesIconModule } from '@hermes-ui/angular/icon';\nimport { HermesLayoutModule } from '@hermes-ui/angular/layout';\nimport { HermesModalModule, HermesSidePanelModule } from '@hermes-ui/angular/modal';\nimport { HermesPaginationModule } from '@hermes-ui/angular/pagination';\nimport { HermesPopoverModule } from '@hermes-ui/angular/popover';\nimport { HermesPopoverModuleNext } from '@hermes-ui/angular/popover/common';\nimport { HermesProgressBarModule } from '@hermes-ui/angular/progress/progress-bars';\nimport { HermesSpinnerModule } from '@hermes-ui/angular/progress/spinner';\nimport { HermesStepperModule } from '@hermes-ui/angular/stepper';\nimport { HermesTimelineModule } from '@hermes-ui/angular/timeline';\nimport { HermesToastModule } from '@hermes-ui/angular/toast';\nimport { HermesConditionalModule, HermesFocusOnViewInitModule, HermesLoadingModule } from '@hermes-ui/angular/utils';\nimport { HermesWizardModule } from '@hermes-ui/angular/wizard';\n\n@NgModule({\n imports: [HermesIcon, HermesDivider, HermesCard],\n exports: [\n HermesEmphasisModule,\n HermesDataModule,\n HermesCard,\n HermesDivider,\n HermesIcon,\n HermesIconModule,\n HermesModalModule,\n HermesPaginationModule,\n HermesLoadingModule,\n HermesConditionalModule,\n HermesFocusOnViewInitModule,\n HermesButtonModule,\n HermesFormsModule,\n HermesLayoutModule,\n HermesPopoverModule,\n HermesWizardModule,\n HermesSidePanelModule,\n HermesAccordionModule,\n HermesStepperModule,\n HermesSpinnerModule,\n HermesProgressBarModule,\n HermesPopoverModuleNext,\n HermesTimelineModule,\n HermesToastModule,\n ],\n})\nexport class HermesModule {}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from './hermes-angular.module';\n\nexport * from '@hermes-ui/angular/button';\nexport * from '@hermes-ui/angular/card';\nexport * from '@hermes-ui/angular/data';\nexport * from '@hermes-ui/angular/divider';\nexport * from '@hermes-ui/angular/emphasis';\nexport * from '@hermes-ui/angular/forms';\nexport * from '@hermes-ui/angular/icon';\nexport * from '@hermes-ui/angular/layout';\nexport * from '@hermes-ui/angular/modal';\nexport * from '@hermes-ui/angular/pagination';\nexport * from '@hermes-ui/angular/popover';\nexport * from '@hermes-ui/angular/utils';\nexport * from '@hermes-ui/angular/wizard';\nexport * from '@hermes-ui/angular/collapsible-panel';\nexport * from '@hermes-ui/angular/accordion';\nexport * from '@hermes-ui/angular/stepper';\nexport * from '@hermes-ui/angular/progress/spinner';\nexport * from '@hermes-ui/angular/progress/progress-bars';\nexport * from '@hermes-ui/angular/timeline';\nexport * from '@hermes-ui/angular/toast';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAKG;MAqDU,YAAY,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YA5Bb,UAAU,EAAE,aAAa,EAAE,UAAU,aAE7C,oBAAoB;YACpB,gBAAgB;YAChB,UAAU;YACV,aAAa;YACb,UAAU;YACV,gBAAgB;YAChB,iBAAiB;YACjB,sBAAsB;YACtB,mBAAmB;YACnB,uBAAuB;YACvB,2BAA2B;YAC3B,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,qBAAqB;YACrB,qBAAqB;YACrB,mBAAmB;YACnB,mBAAmB;YACnB,uBAAuB;YACvB,uBAAuB;YACvB,oBAAoB;YACpB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGR,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YA5Bb,UAAU,EAAE,aAAa,EAAE,UAAU,EAE7C,oBAAoB;YACpB,gBAAgB;YAIhB,gBAAgB;YAChB,iBAAiB;YACjB,sBAAsB;YACtB,mBAAmB;YACnB,uBAAuB;YACvB,2BAA2B;YAC3B,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,qBAAqB;YACrB,qBAAqB;YACrB,mBAAmB;YACnB,mBAAmB;YACnB,uBAAuB;YACvB,uBAAuB;YACvB,oBAAoB;YACpB,iBAAiB,CAAA,EAAA,CAAA,CAAA;;4FAGR,YAAY,EAAA,UAAA,EAAA,CAAA;kBA7BxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,UAAU,CAAC;AAChD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,gBAAgB;wBAChB,UAAU;wBACV,aAAa;wBACb,UAAU;wBACV,gBAAgB;wBAChB,iBAAiB;wBACjB,sBAAsB;wBACtB,mBAAmB;wBACnB,uBAAuB;wBACvB,2BAA2B;wBAC3B,kBAAkB;wBAClB,iBAAiB;wBACjB,kBAAkB;wBAClB,mBAAmB;wBACnB,kBAAkB;wBAClB,qBAAqB;wBACrB,qBAAqB;wBACrB,mBAAmB;wBACnB,mBAAmB;wBACnB,uBAAuB;wBACvB,uBAAuB;wBACvB,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACF,iBAAA;;;ACzDD;;;;;AAKG;;ACLH;;AAEG;;"}
1
+ {"version":3,"file":"hermes-ui-angular.mjs","sources":["../../../hermes-angular.module.ts","../../../index.ts","../../../hermes-ui-angular.ts"],"sourcesContent":["/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { NgModule } from '@angular/core';\r\nimport { HermesAccordionModule } from '@hermes-ui/angular/accordion';\r\nimport { HermesButtonModule } from '@hermes-ui/angular/button';\r\nimport { HermesCard } from '@hermes-ui/angular/card';\r\nimport { HermesDataModule } from '@hermes-ui/angular/data';\r\nimport { HermesDivider } from '@hermes-ui/angular/divider';\r\nimport { HermesEmphasisModule } from '@hermes-ui/angular/emphasis';\r\nimport { HermesFormsModule } from '@hermes-ui/angular/forms';\r\nimport { HermesIcon, HermesIconModule } from '@hermes-ui/angular/icon';\r\nimport { HermesLayoutModule } from '@hermes-ui/angular/layout';\r\nimport { HermesModalModule, HermesSidePanelModule } from '@hermes-ui/angular/modal';\r\nimport { HermesPaginationModule } from '@hermes-ui/angular/pagination';\r\nimport { HermesPopoverModule } from '@hermes-ui/angular/popover';\r\nimport { HermesPopoverModuleNext } from '@hermes-ui/angular/popover/common';\r\nimport { HermesProgressBarModule } from '@hermes-ui/angular/progress/progress-bars';\r\nimport { HermesSpinnerModule } from '@hermes-ui/angular/progress/spinner';\r\nimport { HermesStepperModule } from '@hermes-ui/angular/stepper';\r\nimport { HermesTimelineModule } from '@hermes-ui/angular/timeline';\r\nimport { HermesToastModule } from '@hermes-ui/angular/toast';\r\nimport { HermesConditionalModule, HermesFocusOnViewInitModule, HermesLoadingModule } from '@hermes-ui/angular/utils';\r\nimport { HermesWizardModule } from '@hermes-ui/angular/wizard';\r\n\r\n@NgModule({\r\n imports: [HermesIcon, HermesDivider, HermesCard],\r\n exports: [\r\n HermesEmphasisModule,\r\n HermesDataModule,\r\n HermesCard,\r\n HermesDivider,\r\n HermesIcon,\r\n HermesIconModule,\r\n HermesModalModule,\r\n HermesPaginationModule,\r\n HermesLoadingModule,\r\n HermesConditionalModule,\r\n HermesFocusOnViewInitModule,\r\n HermesButtonModule,\r\n HermesFormsModule,\r\n HermesLayoutModule,\r\n HermesPopoverModule,\r\n HermesWizardModule,\r\n HermesSidePanelModule,\r\n HermesAccordionModule,\r\n HermesStepperModule,\r\n HermesSpinnerModule,\r\n HermesProgressBarModule,\r\n HermesPopoverModuleNext,\r\n HermesTimelineModule,\r\n HermesToastModule,\r\n ],\r\n})\r\nexport class HermesModule {}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nexport * from './hermes-angular.module';\r\n\r\nexport * from '@hermes-ui/angular/button';\r\nexport * from '@hermes-ui/angular/card';\r\nexport * from '@hermes-ui/angular/data';\r\nexport * from '@hermes-ui/angular/divider';\r\nexport * from '@hermes-ui/angular/emphasis';\r\nexport * from '@hermes-ui/angular/forms';\r\nexport * from '@hermes-ui/angular/icon';\r\nexport * from '@hermes-ui/angular/layout';\r\nexport * from '@hermes-ui/angular/modal';\r\nexport * from '@hermes-ui/angular/pagination';\r\nexport * from '@hermes-ui/angular/popover';\r\nexport * from '@hermes-ui/angular/utils';\r\nexport * from '@hermes-ui/angular/wizard';\r\nexport * from '@hermes-ui/angular/collapsible-panel';\r\nexport * from '@hermes-ui/angular/accordion';\r\nexport * from '@hermes-ui/angular/stepper';\r\nexport * from '@hermes-ui/angular/progress/spinner';\r\nexport * from '@hermes-ui/angular/progress/progress-bars';\r\nexport * from '@hermes-ui/angular/timeline';\r\nexport * from '@hermes-ui/angular/toast';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAKG;MAqDU,YAAY,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YA5Bb,UAAU,EAAE,aAAa,EAAE,UAAU,aAE7C,oBAAoB;YACpB,gBAAgB;YAChB,UAAU;YACV,aAAa;YACb,UAAU;YACV,gBAAgB;YAChB,iBAAiB;YACjB,sBAAsB;YACtB,mBAAmB;YACnB,uBAAuB;YACvB,2BAA2B;YAC3B,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,qBAAqB;YACrB,qBAAqB;YACrB,mBAAmB;YACnB,mBAAmB;YACnB,uBAAuB;YACvB,uBAAuB;YACvB,oBAAoB;YACpB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGR,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YA5Bb,UAAU,EAAE,aAAa,EAAE,UAAU,EAE7C,oBAAoB;YACpB,gBAAgB;YAIhB,gBAAgB;YAChB,iBAAiB;YACjB,sBAAsB;YACtB,mBAAmB;YACnB,uBAAuB;YACvB,2BAA2B;YAC3B,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,qBAAqB;YACrB,qBAAqB;YACrB,mBAAmB;YACnB,mBAAmB;YACnB,uBAAuB;YACvB,uBAAuB;YACvB,oBAAoB;YACpB,iBAAiB,CAAA,EAAA,CAAA,CAAA;;4FAGR,YAAY,EAAA,UAAA,EAAA,CAAA;kBA7BxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,UAAU,CAAC;AAChD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,gBAAgB;wBAChB,UAAU;wBACV,aAAa;wBACb,UAAU;wBACV,gBAAgB;wBAChB,iBAAiB;wBACjB,sBAAsB;wBACtB,mBAAmB;wBACnB,uBAAuB;wBACvB,2BAA2B;wBAC3B,kBAAkB;wBAClB,iBAAiB;wBACjB,kBAAkB;wBAClB,mBAAmB;wBACnB,kBAAkB;wBAClB,qBAAqB;wBACrB,qBAAqB;wBACrB,mBAAmB;wBACnB,mBAAmB;wBACnB,uBAAuB;wBACvB,uBAAuB;wBACvB,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACF,iBAAA;;;ACzDD;;;;;AAKG;;ACLH;;AAEG;;"}
package/hermes-ui.scss CHANGED
@@ -1,7 +1,7 @@
1
- /*
2
- * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
3
- * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- @use './main';
1
+ /*
2
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
3
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
4
+ * This software is released under MIT license.
5
+ * The full license information can be found in LICENSE in the root directory of this project.
6
+ */
7
+ @use './main';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hermes-ui/angular",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Angular components for Hermes",
5
5
  "keywords": [
6
6
  "hermes",
package/toast/README.md CHANGED
@@ -1,65 +1,65 @@
1
- # Toast
2
-
3
- Replicates shadcn's Toast (Base UI primitive) stacking effect natively in hermes/angular:
4
- newest toast on top, older ones peeking out and scaled down behind it, expanding to a
5
- full list on hover/focus, sliding in/out with the same 500ms ease-out curve.
6
-
7
- ## Setup - two separate pieces
8
-
9
- `HermesToastService` and `<hermes-toaster>` are not wired to each other automatically;
10
- each consuming app has to connect them itself:
11
-
12
- - **`HermesToastService`** is `@Injectable({ providedIn: 'root' })` - it's available for
13
- injection anywhere in the app with zero setup. Calling `show()`/`success()`/etc. just
14
- pushes the toast onto an internal `BehaviorSubject`; it does **not** render anything.
15
- - **`<hermes-toaster>`** is a regular Angular component (selector `hermes-toaster`,
16
- from `HermesToastModule`) that has to be placed **once**, manually, somewhere in the
17
- app's template - it's the only thing that subscribes to the service and actually
18
- draws the stack.
19
-
20
- If `<hermes-toaster>` is never mounted, `HermesToastService` calls silently no-op from
21
- the user's perspective: the toasts pile up in the service's internal state but nothing
22
- ever appears on screen. Mount it once near the app root (same pattern as shadcn/sonner's
23
- `<Toaster />`):
24
-
25
- ```ts
26
- // app.component.ts
27
- import { HermesToastModule } from '@hermes/angular/toast';
28
-
29
- @Component({
30
- imports: [HermesToastModule /* ... */],
31
- template: `
32
- <router-outlet></router-outlet>
33
- <hermes-toaster></hermes-toaster>
34
- `,
35
- })
36
- export class AppComponent {}
37
- ```
38
-
39
- ## Triggering toasts
40
-
41
- From anywhere in the app, inject `HermesToastService`:
42
-
43
- ```ts
44
- constructor(private toasts: HermesToastService) {}
45
-
46
- save() {
47
- this.toasts.promise(this.api.save(), {
48
- loading: 'Saving...',
49
- success: 'Saved',
50
- error: 'Could not save',
51
- });
52
- }
53
- ```
54
-
55
- `HermesToastService` also exposes `show()`, `default()`, `info()`, `success()`, `warning()`,
56
- `danger()`, `loading()`, `update()`, `dismiss()` and `dismissAll()`.
57
-
58
- ## Known scope cuts
59
-
60
- - **Fixed-ish stack height**: each toast's height is measured live via `ResizeObserver`
61
- (see `toast-item.ts`), but the very first render frame uses `--hermes-toast-fallback-height`
62
- until that measurement lands.
63
- - **No swipe-to-dismiss**: shadcn's Base UI toast supports drag-to-dismiss in all four
64
- directions; this port dismisses only via the close button, the action button, timeout,
65
- or Escape (dismisses the frontmost toast).
1
+ # Toast
2
+
3
+ Replicates shadcn's Toast (Base UI primitive) stacking effect natively in hermes/angular:
4
+ newest toast on top, older ones peeking out and scaled down behind it, expanding to a
5
+ full list on hover/focus, sliding in/out with the same 500ms ease-out curve.
6
+
7
+ ## Setup - two separate pieces
8
+
9
+ `HermesToastService` and `<hermes-toaster>` are not wired to each other automatically;
10
+ each consuming app has to connect them itself:
11
+
12
+ - **`HermesToastService`** is `@Injectable({ providedIn: 'root' })` - it's available for
13
+ injection anywhere in the app with zero setup. Calling `show()`/`success()`/etc. just
14
+ pushes the toast onto an internal `BehaviorSubject`; it does **not** render anything.
15
+ - **`<hermes-toaster>`** is a regular Angular component (selector `hermes-toaster`,
16
+ from `HermesToastModule`) that has to be placed **once**, manually, somewhere in the
17
+ app's template - it's the only thing that subscribes to the service and actually
18
+ draws the stack.
19
+
20
+ If `<hermes-toaster>` is never mounted, `HermesToastService` calls silently no-op from
21
+ the user's perspective: the toasts pile up in the service's internal state but nothing
22
+ ever appears on screen. Mount it once near the app root (same pattern as shadcn/sonner's
23
+ `<Toaster />`):
24
+
25
+ ```ts
26
+ // app.component.ts
27
+ import { HermesToastModule } from '@hermes/angular/toast';
28
+
29
+ @Component({
30
+ imports: [HermesToastModule /* ... */],
31
+ template: `
32
+ <router-outlet></router-outlet>
33
+ <hermes-toaster></hermes-toaster>
34
+ `,
35
+ })
36
+ export class AppComponent {}
37
+ ```
38
+
39
+ ## Triggering toasts
40
+
41
+ From anywhere in the app, inject `HermesToastService`:
42
+
43
+ ```ts
44
+ constructor(private toasts: HermesToastService) {}
45
+
46
+ save() {
47
+ this.toasts.promise(this.api.save(), {
48
+ loading: 'Saving...',
49
+ success: 'Saved',
50
+ error: 'Could not save',
51
+ });
52
+ }
53
+ ```
54
+
55
+ `HermesToastService` also exposes `show()`, `default()`, `info()`, `success()`, `warning()`,
56
+ `danger()`, `loading()`, `update()`, `dismiss()` and `dismissAll()`.
57
+
58
+ ## Known scope cuts
59
+
60
+ - **Fixed-ish stack height**: each toast's height is measured live via `ResizeObserver`
61
+ (see `toast-item.ts`), but the very first render frame uses `--hermes-toast-fallback-height`
62
+ until that measurement lands.
63
+ - **No swipe-to-dismiss**: shadcn's Base UI toast supports drag-to-dismiss in all four
64
+ directions; this port dismisses only via the close button, the action button, timeout,
65
+ or Escape (dismisses the frontmost toast).
@@ -1,56 +1,56 @@
1
- /*
2
- * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
3
- * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
-
8
- @use '../styles/mixins';
9
- @use '../styles/core/tokens/variables.tokens' as tokens;
10
- @use '../styles/variables/variables.density' as density;
11
-
12
- @include mixins.exports('toast.properties') {
13
- @include mixins.root-or-host() {
14
- // Layout - shadcn's Toast viewport is `w-auto max-w-sm` (384px) with a 0.75rem
15
- // gap/peek between stacked cards and 1rem inset from the viewport edge.
16
- --hermes-toast-viewport-inset: #{mixins.baselinePx(16)};
17
- --hermes-toast-max-width: #{mixins.baselinePx(384)};
18
- --hermes-toast-gap: #{mixins.baselinePx(12)};
19
- --hermes-toast-peek: #{mixins.baselinePx(12)};
20
- // Fallback height used before the item's own ResizeObserver reports its real,
21
- // content-driven height (see toast-item.ts) - only visible for one frame on insert.
22
- --hermes-toast-fallback-height: #{mixins.baselinePx(56)};
23
- --hermes-toast-content-padding: #{mixins.baselinePx(16)};
24
- --hermes-toast-content-gap: #{mixins.baselinePx(12)};
25
- --hermes-toast-icon-size: #{mixins.baselinePx(16)};
26
-
27
- &,
28
- & [hermes-density] {
29
- // shadcn's default --radius token (0.625rem @ Tailwind's 16px root = 10px)
30
- --hermes-toast-border-radius: #{mixins.baselinePx(10)};
31
- }
32
-
33
- &,
34
- & [hermes-theme] {
35
- // shadcn's Toast is a neutral `bg-popover` surface - unlike hermes-alert, the
36
- // status color lives only on the icon, not on the card background.
37
- --hermes-toast-bg-color: #{tokens.$hermes-alias-object-overlay-background};
38
- --hermes-toast-color: #{tokens.$hermes-alias-typography-color-400};
39
- --hermes-toast-description-color: #{tokens.$hermes-alias-typography-color-300};
40
- --hermes-toast-border-color: #{tokens.$hermes-alias-object-container-border-color};
41
- --hermes-toast-border-width: #{tokens.$hermes-alias-object-border-width-100};
42
- // one step below the modal's shadow-300: toasts sit above page content but
43
- // below the modal/dialog surface when both happen to be visible together
44
- --hermes-toast-box-shadow: #{tokens.$hermes-alias-object-shadow-200};
45
-
46
- --hermes-toast-info-icon-color: #{tokens.$hermes-alias-status-info};
47
- --hermes-toast-success-icon-color: #{tokens.$hermes-alias-status-success};
48
- --hermes-toast-warning-icon-color: #{tokens.$hermes-alias-status-warning-dark};
49
- --hermes-toast-danger-icon-color: #{tokens.$hermes-alias-status-danger};
50
-
51
- --hermes-toast-action-color: #{tokens.$hermes-alias-typography-color-400};
52
- --hermes-toast-close-color: var(--hermes-close-color);
53
- --hermes-toast-close-color-hover: var(--hermes-close-color-hover);
54
- }
55
- }
56
- }
1
+ /*
2
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
3
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
4
+ * This software is released under MIT license.
5
+ * The full license information can be found in LICENSE in the root directory of this project.
6
+ */
7
+
8
+ @use '../styles/mixins';
9
+ @use '../styles/core/tokens/variables.tokens' as tokens;
10
+ @use '../styles/variables/variables.density' as density;
11
+
12
+ @include mixins.exports('toast.properties') {
13
+ @include mixins.root-or-host() {
14
+ // Layout - shadcn's Toast viewport is `w-auto max-w-sm` (384px) with a 0.75rem
15
+ // gap/peek between stacked cards and 1rem inset from the viewport edge.
16
+ --hermes-toast-viewport-inset: #{mixins.baselinePx(16)};
17
+ --hermes-toast-max-width: #{mixins.baselinePx(384)};
18
+ --hermes-toast-gap: #{mixins.baselinePx(12)};
19
+ --hermes-toast-peek: #{mixins.baselinePx(12)};
20
+ // Fallback height used before the item's own ResizeObserver reports its real,
21
+ // content-driven height (see toast-item.ts) - only visible for one frame on insert.
22
+ --hermes-toast-fallback-height: #{mixins.baselinePx(56)};
23
+ --hermes-toast-content-padding: #{mixins.baselinePx(16)};
24
+ --hermes-toast-content-gap: #{mixins.baselinePx(12)};
25
+ --hermes-toast-icon-size: #{mixins.baselinePx(16)};
26
+
27
+ &,
28
+ & [hermes-density] {
29
+ // shadcn's default --radius token (0.625rem @ Tailwind's 16px root = 10px)
30
+ --hermes-toast-border-radius: #{mixins.baselinePx(10)};
31
+ }
32
+
33
+ &,
34
+ & [hermes-theme] {
35
+ // shadcn's Toast is a neutral `bg-popover` surface - unlike hermes-alert, the
36
+ // status color lives only on the icon, not on the card background.
37
+ --hermes-toast-bg-color: #{tokens.$hermes-alias-object-overlay-background};
38
+ --hermes-toast-color: #{tokens.$hermes-alias-typography-color-400};
39
+ --hermes-toast-description-color: #{tokens.$hermes-alias-typography-color-300};
40
+ --hermes-toast-border-color: #{tokens.$hermes-alias-object-container-border-color};
41
+ --hermes-toast-border-width: #{tokens.$hermes-alias-object-border-width-100};
42
+ // one step below the modal's shadow-300: toasts sit above page content but
43
+ // below the modal/dialog surface when both happen to be visible together
44
+ --hermes-toast-box-shadow: #{tokens.$hermes-alias-object-shadow-200};
45
+
46
+ --hermes-toast-info-icon-color: #{tokens.$hermes-alias-status-info};
47
+ --hermes-toast-success-icon-color: #{tokens.$hermes-alias-status-success};
48
+ --hermes-toast-warning-icon-color: #{tokens.$hermes-alias-status-warning-dark};
49
+ --hermes-toast-danger-icon-color: #{tokens.$hermes-alias-status-danger};
50
+
51
+ --hermes-toast-action-color: #{tokens.$hermes-alias-typography-color-400};
52
+ --hermes-toast-close-color: var(--hermes-close-color);
53
+ --hermes-toast-close-color-hover: var(--hermes-close-color-hover);
54
+ }
55
+ }
56
+ }