@tectra-ng/blocks 0.0.0-stage → 0.1.6

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 (101) hide show
  1. package/README.md +16 -2
  2. package/action-tile/README.md +33 -0
  3. package/actions-menu/README.md +42 -0
  4. package/app-footer/README.md +30 -0
  5. package/app-layout/README.md +51 -0
  6. package/command-palette/README.md +63 -0
  7. package/console-layout/README.md +70 -0
  8. package/cookie-notice/README.md +45 -0
  9. package/empty-state/README.md +35 -0
  10. package/fesm2022/tectra-ng-blocks-action-tile.mjs +294 -0
  11. package/fesm2022/tectra-ng-blocks-action-tile.mjs.map +1 -0
  12. package/fesm2022/tectra-ng-blocks-actions-menu.mjs +380 -0
  13. package/fesm2022/tectra-ng-blocks-actions-menu.mjs.map +1 -0
  14. package/fesm2022/tectra-ng-blocks-app-footer.mjs +276 -0
  15. package/fesm2022/tectra-ng-blocks-app-footer.mjs.map +1 -0
  16. package/fesm2022/tectra-ng-blocks-app-layout.mjs +544 -0
  17. package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -0
  18. package/fesm2022/tectra-ng-blocks-command-palette.mjs +663 -0
  19. package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -0
  20. package/fesm2022/tectra-ng-blocks-console-layout.mjs +1060 -0
  21. package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -0
  22. package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +416 -0
  23. package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -0
  24. package/fesm2022/tectra-ng-blocks-empty-state.mjs +278 -0
  25. package/fesm2022/tectra-ng-blocks-empty-state.mjs.map +1 -0
  26. package/fesm2022/tectra-ng-blocks-filters-panel.mjs +959 -0
  27. package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -0
  28. package/fesm2022/tectra-ng-blocks-kanban.mjs +864 -0
  29. package/fesm2022/tectra-ng-blocks-kanban.mjs.map +1 -0
  30. package/fesm2022/tectra-ng-blocks-network-status.mjs +303 -0
  31. package/fesm2022/tectra-ng-blocks-network-status.mjs.map +1 -0
  32. package/fesm2022/tectra-ng-blocks-page-header.mjs +195 -0
  33. package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -0
  34. package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs +692 -0
  35. package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs.map +1 -0
  36. package/fesm2022/tectra-ng-blocks-public-header.mjs +372 -0
  37. package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -0
  38. package/fesm2022/tectra-ng-blocks-qr-code.mjs +487 -0
  39. package/fesm2022/tectra-ng-blocks-qr-code.mjs.map +1 -0
  40. package/fesm2022/tectra-ng-blocks-switch-language.mjs +316 -0
  41. package/fesm2022/tectra-ng-blocks-switch-language.mjs.map +1 -0
  42. package/fesm2022/tectra-ng-blocks-switch-theme.mjs +416 -0
  43. package/fesm2022/tectra-ng-blocks-switch-theme.mjs.map +1 -0
  44. package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs +260 -0
  45. package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs.map +1 -0
  46. package/fesm2022/tectra-ng-blocks-wizard.mjs +1284 -0
  47. package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -0
  48. package/fesm2022/tectra-ng-blocks.mjs +4 -0
  49. package/fesm2022/tectra-ng-blocks.mjs.map +1 -0
  50. package/filters-panel/README.md +68 -0
  51. package/kanban/README.md +55 -0
  52. package/network-status/README.md +33 -0
  53. package/package.json +137 -3
  54. package/page-header/README.md +32 -0
  55. package/pinned-tabs/README.md +42 -0
  56. package/public-header/README.md +44 -0
  57. package/qr-code/README.md +52 -0
  58. package/switch-language/README.md +33 -0
  59. package/switch-theme/README.md +32 -0
  60. package/topbar-preferences/README.md +35 -0
  61. package/types/tectra-ng-blocks-action-tile.d.ts +114 -0
  62. package/types/tectra-ng-blocks-action-tile.d.ts.map +1 -0
  63. package/types/tectra-ng-blocks-actions-menu.d.ts +112 -0
  64. package/types/tectra-ng-blocks-actions-menu.d.ts.map +1 -0
  65. package/types/tectra-ng-blocks-app-footer.d.ts +111 -0
  66. package/types/tectra-ng-blocks-app-footer.d.ts.map +1 -0
  67. package/types/tectra-ng-blocks-app-layout.d.ts +212 -0
  68. package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -0
  69. package/types/tectra-ng-blocks-command-palette.d.ts +291 -0
  70. package/types/tectra-ng-blocks-command-palette.d.ts.map +1 -0
  71. package/types/tectra-ng-blocks-console-layout.d.ts +454 -0
  72. package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -0
  73. package/types/tectra-ng-blocks-cookie-notice.d.ts +168 -0
  74. package/types/tectra-ng-blocks-cookie-notice.d.ts.map +1 -0
  75. package/types/tectra-ng-blocks-empty-state.d.ts +138 -0
  76. package/types/tectra-ng-blocks-empty-state.d.ts.map +1 -0
  77. package/types/tectra-ng-blocks-filters-panel.d.ts +314 -0
  78. package/types/tectra-ng-blocks-filters-panel.d.ts.map +1 -0
  79. package/types/tectra-ng-blocks-kanban.d.ts +260 -0
  80. package/types/tectra-ng-blocks-kanban.d.ts.map +1 -0
  81. package/types/tectra-ng-blocks-network-status.d.ts +108 -0
  82. package/types/tectra-ng-blocks-network-status.d.ts.map +1 -0
  83. package/types/tectra-ng-blocks-page-header.d.ts +86 -0
  84. package/types/tectra-ng-blocks-page-header.d.ts.map +1 -0
  85. package/types/tectra-ng-blocks-pinned-tabs.d.ts +159 -0
  86. package/types/tectra-ng-blocks-pinned-tabs.d.ts.map +1 -0
  87. package/types/tectra-ng-blocks-public-header.d.ts +142 -0
  88. package/types/tectra-ng-blocks-public-header.d.ts.map +1 -0
  89. package/types/tectra-ng-blocks-qr-code.d.ts +160 -0
  90. package/types/tectra-ng-blocks-qr-code.d.ts.map +1 -0
  91. package/types/tectra-ng-blocks-switch-language.d.ts +106 -0
  92. package/types/tectra-ng-blocks-switch-language.d.ts.map +1 -0
  93. package/types/tectra-ng-blocks-switch-theme.d.ts +108 -0
  94. package/types/tectra-ng-blocks-switch-theme.d.ts.map +1 -0
  95. package/types/tectra-ng-blocks-topbar-preferences.d.ts +103 -0
  96. package/types/tectra-ng-blocks-topbar-preferences.d.ts.map +1 -0
  97. package/types/tectra-ng-blocks-wizard.d.ts +682 -0
  98. package/types/tectra-ng-blocks-wizard.d.ts.map +1 -0
  99. package/types/tectra-ng-blocks.d.ts +2 -0
  100. package/types/tectra-ng-blocks.d.ts.map +1 -0
  101. package/wizard/README.md +77 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tectra-ng-blocks-wizard.mjs","names":[],"sources":["../../../../packages/blocks/wizard/src/wizard-layout.component.ts","../../../../packages/blocks/wizard/src/wizard-progress.component.ts","../../../../packages/blocks/wizard/src/wizard-step-head.component.ts","../../../../packages/blocks/wizard/src/wizard-stage.component.ts","../../../../packages/blocks/wizard/src/wizard-footer.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardLayoutPart, TxWizardResponsive } from './wizard.types';\n\n@Component({\n selector: 'tx-wizard-layout',\n template: `\n <div class=\"tx-wizard-layout__grid\">\n <section class=\"tx-wizard-layout__panel\" [class]=\"passThrough().panel?.class\" [style]=\"passThrough().panel?.style\">\n <div class=\"tx-wizard-layout__inner\">\n <div class=\"tx-wizard-layout__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-content select=\"[txWizardHeader]\" />\n </div>\n <div class=\"tx-wizard-layout__main\">\n <div class=\"tx-wizard-layout__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <ng-content select=\"[txWizardBody]\" />\n </div>\n <div class=\"tx-wizard-layout__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-content select=\"[txWizardFooter]\" />\n </div>\n </div>\n </div>\n </section>\n <aside class=\"tx-wizard-layout__visual\" [class]=\"passThrough().visual?.class\" [style]=\"passThrough().visual?.style\">\n <ng-content select=\"[txWizardVisual]\" />\n </aside>\n </div>\n `,\n styleUrl: './wizard-layout.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-layout',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-responsive]': 'responsive()',\n },\n})\nexport class TxWizardLayout {\n readonly responsive = input<TxWizardResponsive>('viewport');\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardLayoutPart, TxWizardLayout> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardLayout', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, computed, input, numberAttribute } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardProgressPart } from './wizard.types';\n\n@Component({\n selector: 'tx-wizard-progress',\n template: `\n @if (label()) {\n <span class=\"tx-wizard-progress__label\" aria-hidden=\"true\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ label() }}</span>\n }\n <ol class=\"tx-wizard-progress__segments\" [attr.aria-label]=\"label() || translations().wizardProgress\" [class]=\"passThrough().segments?.class\" [style]=\"passThrough().segments?.style\">\n @for (segment of segments(); track $index; let position = $index) {\n <li\n class=\"tx-wizard-progress__segment\"\n [class.tx-wizard-progress__segment--done]=\"position < current()\"\n [class.tx-wizard-progress__segment--current]=\"position === current()\"\n [attr.aria-current]=\"position === current() ? 'step' : null\"\n [attr.aria-label]=\"stepLabels()[position] || null\"\n [class]=\"passThrough().segment?.class\"\n [style]=\"passThrough().segment?.style\"\n >\n <span class=\"tx-wizard-progress__fill\"></span>\n </li>\n }\n </ol>\n `,\n styleUrl: './wizard-progress.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-progress',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n})\nexport class TxWizardProgress {\n readonly total = input.required<number, unknown>({ transform: numberAttribute });\n readonly current = input.required<number, unknown>({ transform: numberAttribute });\n readonly label = input<string | undefined>(undefined);\n readonly stepLabels = input<readonly string[]>([]);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardProgressPart, TxWizardProgress> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardProgress', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n protected readonly segments = computed(() => Array.from({ length: Math.max(this.total(), 0) }));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxPill } from '@tectra-ng/ui/pill';\nimport { TxWizardStepHeadPart } from './wizard.types';\n\n@Component({\n selector: 'tx-wizard-step-head',\n imports: [TxIcon, TxPill],\n template: `\n @if (icon(); as name) {\n <span class=\"tx-wizard-step-head__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"name\" />\n </span>\n }\n <div class=\"tx-wizard-step-head__title-row\">\n <h1 class=\"tx-wizard-step-head__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() }}</h1>\n @if (badge()) {\n <tx-pill tone=\"neutral\" size=\"small\" [value]=\"badge()\" [unstyled]=\"isUnstyled()\" />\n }\n </div>\n @if (lead()) {\n <p class=\"tx-wizard-step-head__lead\" [class]=\"passThrough().lead?.class\" [style]=\"passThrough().lead?.style\">{{ lead() }}</p>\n }\n `,\n styleUrl: './wizard-step-head.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-step-head',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n})\nexport class TxWizardStepHead {\n readonly title = input.required<string>();\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly lead = input<string | undefined>(undefined);\n readonly badge = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardStepHeadPart, TxWizardStepHead> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardStepHead', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { DecimalPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxWizardLayout } from './wizard-layout.component';\nimport { TxWizardDirection, TxWizardStagePart } from './wizard.types';\n\n@Component({\n selector: 'tx-wizard-stage',\n imports: [DecimalPipe],\n template: `\n <ng-content select=\"[txWizardBackdrop]\" />\n <div class=\"tx-wizard-stage__stage\" aria-hidden=\"true\" [class]=\"passThrough().stage?.class\" [style]=\"passThrough().stage?.style\">\n <ng-content />\n </div>\n @if (caption(); as text) {\n @for (current of [text]; track current) {\n <div class=\"tx-wizard-stage__caption\" animate.enter=\"tx-wizard-stage__caption--enter\" [class]=\"passThrough().caption?.class\" [style]=\"passThrough().caption?.style\">\n @if (number() !== undefined) {\n <span class=\"tx-wizard-stage__number\">{{ number() | number: '2.0-0' }}</span>\n }\n <span class=\"tx-wizard-stage__title\">{{ current }}</span>\n </div>\n }\n }\n `,\n styleUrl: './wizard-stage.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-stage',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-direction]': 'direction()',\n '[attr.data-responsive]': 'responsive()',\n },\n})\nexport class TxWizardStage {\n private readonly layout = inject(TxWizardLayout, { optional: true });\n\n readonly direction = input<TxWizardDirection>('forward');\n readonly number = input<number | undefined>(undefined);\n readonly caption = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardStagePart, TxWizardStage> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardStage', this, this.pt, this.ptOptions);\n protected readonly responsive = computed(() => this.layout?.responsive() ?? 'viewport');\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, output } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraWizardTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxWizardFooterPart } from './wizard.types';\n\n@Component({\n selector: 'tx-wizard-footer',\n imports: [TxButton],\n template: `\n @if (showBack()) {\n <button\n txButton\n type=\"button\"\n severity=\"secondary\"\n outlined\n icon=\"arrow-left\"\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().back?.class\"\n [style]=\"passThrough().back?.style\"\n (click)=\"back.emit()\"\n >\n {{ backLabel() ?? translations().wizardBack }}\n </button>\n }\n <div class=\"tx-wizard-footer__end\">\n @if (skipLabel(); as skipText) {\n <button\n txButton\n type=\"button\"\n severity=\"secondary\"\n text\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().skip?.class\"\n [style]=\"passThrough().skip?.style\"\n (click)=\"skip.emit()\"\n >\n {{ skipText }}\n </button>\n }\n <button\n txButton\n type=\"button\"\n [icon]=\"nextIcon()\"\n [loading]=\"loading()\"\n [disabled]=\"loading()\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().next?.class\"\n [style]=\"passThrough().next?.style\"\n (click)=\"next.emit()\"\n >\n {{ nextLabel() ?? translations().wizardNext }}\n </button>\n </div>\n `,\n styleUrl: './wizard-footer.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-wizard-footer',\n role: 'group',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n})\nexport class TxWizardFooter {\n readonly nextLabel = input<string | undefined>(undefined);\n readonly nextIcon = input<TxIconName | (string & {})>('arrow-right');\n readonly backLabel = input<string | undefined>(undefined);\n readonly showBack = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly skipLabel = input<string | undefined>(undefined);\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraWizardTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxWizardFooterPart, TxWizardFooter> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly back = output<void>();\n readonly next = output<void>();\n readonly skip = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('wizardFooter', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-wizard'), ...this.passThrough().root?.style }));\n}\n"],"mappings":";;;;;;;;;;AAwCA,IAAa,iBAAb,MAAa,eAAc;CAChB,aAAa,MAA0B,YAAW,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAClD,KAAK,MAAyD,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CACxE,KAAK,MAAqE,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CACpF,YAAY,MAAwC,Q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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CT,UAAA;EAAA,QAAA,CAAA,yWAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MAhDS;GAAQ,UAAA;GAAA,QAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;GAAA;EAAA,CAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AA2DP,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EA7D1B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,SACnB,CAAC,QAAQ;GAAC,UACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CT,iBAEgB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,MAAM;IACN,WAAW;IACX,WAAW;IACX,sBAAsB;GACvB;GAAA,QAAA,CAAA,yWAAA;EAAA,CAAA"}
@@ -0,0 +1,4 @@
1
+ const TECTRA_BLOCKS_VERSION = "0.0.0";
2
+ export { TECTRA_BLOCKS_VERSION };
3
+
4
+ //# sourceMappingURL=tectra-ng-blocks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tectra-ng-blocks.mjs","names":[],"sources":["../../../../packages/blocks/index.ts"],"sourcesContent":["export const TECTRA_BLOCKS_VERSION = '0.0.0';\n"],"mappings":"AAAA,MAAa,wBAAwB"}
@@ -0,0 +1,68 @@
1
+ # Filters panel
2
+
3
+ A card that holds the filter fields above a table or a list. Users choose which filters are shown and drag them into their own order; the choice is saved per panel. Below 1024px the fields fold into a "Filters" button.
4
+
5
+ ```html
6
+ <tx-filters-panel stateKey="orders-filters" [busy]="loading()">
7
+ <div txFilterField="search" filterLabel="Search" [filterActive]="search() | hasFilterValue">
8
+ <tx-label subtle for="orders-search">Search</tx-label>
9
+ <input txInput id="orders-search" [(ngModel)]="search" />
10
+ </div>
11
+ <div txFilterField="status" filterLabel="Status" [filterActive]="status() | hasFilterValue">
12
+ <tx-label subtle for="orders-status">Status</tx-label>
13
+ <tx-select inputId="orders-status" [options]="statuses" [(ngModel)]="status" />
14
+ </div>
15
+ <button txButton txFiltersActions txFiltersReset icon="filter-slash" severity="warn" aria-label="Clear filters" txTooltip="Clear filters" (click)="clear()"></button>
16
+ </tx-filters-panel>
17
+ ```
18
+
19
+ Every field wrapper carries `txFilterField`; fields may sit at any depth, but only direct children of the panel follow the saved order. A field whose `filterActive` is `true` is always shown and cannot be hidden.
20
+
21
+ ## Inputs
22
+ | Name | Description |
23
+ |---|---|
24
+ | variant | `card` — own frame (default); `plain` — no frame, for filters inside another card or a dialog |
25
+ | busy | While the list loads: every field turns into a skeleton of its label and control (same size, values kept) and the fields do not take the pointer |
26
+ | stateKey | Storage key of the layout. When set, the "Show filters" menu appears and the shown fields and their order are saved as `{ order, visible }` (an older array value is read as `visible`). Without it all fields are always shown |
27
+ | stateStorage | `local` (default) or `session` |
28
+ | collapse | When the fields fold behind the "Filters" button: `auto` below 1024px (default), `always`, `never`. A panel with one field never folds |
29
+ | defaultVisible | How many fields, from the start, are shown until the user changes the choice (default 3) |
30
+ | ariaLabel | Name of the `search` landmark |
31
+ | txFilterField | `[txFilterField]`: required key of the field inside the panel, used in the saved layout |
32
+ | filterLabel | `[txFilterField]`: required name of the field in the "Show filters" menu |
33
+ | filterActive | `[txFilterField]`: the filter has a value — the field is always shown and counts on the "Filters" button |
34
+ | dt | Design tokens of this instance (`filtersPanel`) |
35
+ | pt | Classes and styles of the parts: `root`, `toggle`, `panel`, `fields`, `actions`, `menuButton`, `menu` |
36
+ | ptOptions | How `pt` merges with the global pass-through |
37
+ | unstyled | Removes the tectra styles |
38
+
39
+ ## Outputs
40
+ | Name | Description |
41
+ |---|---|
42
+ | layoutChange | The user showed, hid or moved a field (`{ order, visible }`), or reset the layout (`null`) |
43
+ | expandedChange | The collapsed panel opened or closed (below 1024px) |
44
+
45
+ ## Methods
46
+ | Name | Description |
47
+ |---|---|
48
+ | reset() | Removes the saved layout: the default fields and order come back |
49
+ | setExpanded(open) | Opens or closes the collapsed panel |
50
+
51
+ ## Slots
52
+ | Name | Description |
53
+ |---|---|
54
+ | default | The filter fields, each wrapper with `txFilterField` |
55
+ | txFiltersActions | Buttons at the end of the panel: reset, create … |
56
+ | txFiltersReset | Marks the reset action: below 1024px it leaves the bar and a "Clear filters" button in the panel clicks it |
57
+
58
+ ## Pipe — `hasFilterValue`
59
+ `value | hasFilterValue` is `true` for a non-blank string, a non-empty array and any other value except `null` / `undefined`. `a | hasFilterValue: b : c` is `true` when any of them has a value. The same check is exported as the `hasFilterValue()` function.
60
+
61
+ ## Keyboard
62
+ | Key | Action |
63
+ |---|---|
64
+ | Enter / Space | On the menu button: opens the "Show filters" menu; on a menu row: shows or hides the field |
65
+ | Arrow Down / Arrow Up | Moves through the menu rows and the reset item |
66
+ | Home / End | First / last menu item |
67
+ | Alt + Arrow Up / Alt + Arrow Down | Moves the focused field up / down in the order |
68
+ | Escape | Closes the menu, or the collapsed panel (focus goes back to the "Filters" button) |
@@ -0,0 +1,55 @@
1
+ # Kanban
2
+
3
+ A board of columns with cards. Cards move inside a column and between columns, whole columns move by their handle — with the pointer or with Alt and the arrow keys. The board only reports the move; the page updates its own state and calls its API.
4
+
5
+ ```html
6
+ <tx-kanban [columns]="columns()" [itemId]="taskId" itemsDraggable (itemDropped)="moveTask($event)">
7
+ <ng-template txKanbanCard let-task>
8
+ <task-card [task]="task" />
9
+ </ng-template>
10
+ </tx-kanban>
11
+ ```
12
+
13
+ `itemDropped` gives `{ itemId, fromColumnId, toColumnId, beforeId, afterId }` — the neighbours among the shown cards of the target column (`null` at the edges); `columnDropped` gives `{ columnId, beforeId, afterId }`. Long columns show `pageSize` cards and a full-width "Show N more" button; it scrolls to the first new card and moves the focus there. With `height` every column scrolls inside; without it the page scrolls. The board scrolls sideways when dragged by its background.
14
+
15
+ ## Inputs
16
+ | Name | Description |
17
+ |---|---|
18
+ | columns | Required. Columns to show (`TxKanbanColumn<T>[]`: `id`, `title`, `items`) |
19
+ | itemId | Required. `(item) => string` — the card id, used for tracking and in the events |
20
+ | itemsDraggable | Cards move inside and between columns |
21
+ | columnsDraggable | Columns move; a handle shows in every header |
22
+ | focusableCards | The card wrappers take the focus for the keyboard moves (default on). Turn it off when the card template is focusable itself — Alt and the arrows then work from inside the card |
23
+ | columnWidth | Width of every column (`252px` by default, the `column.width` token) |
24
+ | label | Name of the board; the translated "Board" by default |
25
+ | emptyText | Text of an empty column without a `txKanbanEmpty` template; translated by default |
26
+ | columnDragLabel | Name of the column handle; translated by default |
27
+ | pageSize | Cards per column before "Show N more"; `0` shows all (default 30) |
28
+ | height | Height of the board, e.g. `70vh`; the columns then scroll inside |
29
+ | dt | Design tokens of this instance (`kanban`) |
30
+ | pt | Classes and styles of the parts: `root`, `column`, `header`, `list`, `card`, `empty` |
31
+ | ptOptions | How `pt` merges with the global pass-through |
32
+ | unstyled | Removes the tectra styles |
33
+
34
+ ## Outputs
35
+ | Name | Description |
36
+ |---|---|
37
+ | itemDropped | A card moved: `{ itemId, fromColumnId, toColumnId, beforeId, afterId }` |
38
+ | columnDropped | A column moved: `{ columnId, beforeId, afterId }` |
39
+
40
+ ## Slots
41
+ | Name | Description |
42
+ |---|---|
43
+ | txKanbanCard | Required. `<ng-template txKanbanCard let-item let-column="column">` — the card |
44
+ | txKanbanColumnHeader | `<ng-template txKanbanColumnHeader let-column>` — own header instead of the title and the count |
45
+ | txKanbanColumnTop | `<ng-template txKanbanColumnTop let-column>` — under the header, e.g. a quick-add field |
46
+ | txKanbanColumnFooter | `<ng-template txKanbanColumnFooter let-column>` — at the bottom of a column |
47
+ | txKanbanEmpty | `<ng-template txKanbanEmpty let-column>` — content of an empty column |
48
+ | default | After the last column, e.g. an "Add column" button |
49
+
50
+ ## Keyboard
51
+ | Key | Action |
52
+ |---|---|
53
+ | Tab | Moves through the cards (when `itemsDraggable`) and the column handles |
54
+ | Alt + Arrow Up / Arrow Down | On a card: moves it up or down in its column |
55
+ | Alt + Arrow Left / Arrow Right | On a card: moves it to the column before or after; on a handle: moves the column |
@@ -0,0 +1,33 @@
1
+ # Network status
2
+
3
+ A pill at the bottom of the window that says "No internet connection" while the browser is offline, and "Connection restored" for three seconds once it is back. Put it once in the app root.
4
+
5
+ ```html
6
+ <tx-network-status />
7
+ ```
8
+
9
+ It listens to the browser `offline` / `online` events and checks `navigator.onLine` on start — in the browser only, so nothing shows on the server. While the pill is shown the body gets the `bodyClass` class (`tx-offline`), e.g. to dim actions that need the network. The pill sits in a polite live region, so screen readers announce both messages.
10
+
11
+ ## Inputs
12
+ | Name | Description |
13
+ |---|---|
14
+ | offlineText | Text while offline (translated "No internet connection" by default) |
15
+ | restoredText | Text after the connection is back (translated "Connection restored" by default) |
16
+ | restoredDuration | How long "Connection restored" stays, in ms (default 3000) |
17
+ | bodyClass | Class on `<body>` while the pill is shown (default `tx-offline`; empty — none) |
18
+ | dt | Design tokens of this instance (`networkStatus`) |
19
+ | pt | Classes and styles of the parts: `root`, `pill`, `icon`, `text` |
20
+ | ptOptions | How `pt` merges with the global pass-through |
21
+ | unstyled | Removes the tectra styles |
22
+
23
+ ## Outputs
24
+ | Name | Description |
25
+ |---|---|
26
+ | statusChange | The new state: `offline`, `restored` or `online` |
27
+
28
+ ## Methods
29
+ | Name | Description |
30
+ |---|---|
31
+ | onOffline() | Shows the offline pill, as the browser `offline` event does |
32
+ | onOnline() | Shows "Connection restored", as the browser `online` event does |
33
+ | status | Signal: `online`, `offline` or `restored` |
package/package.json CHANGED
@@ -1,6 +1,140 @@
1
1
  {
2
2
  "name": "@tectra-ng/blocks",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.6",
4
+ "description": "Ready page blocks for Angular consoles and admin apps on the tectra components: filters panel, page header, empty state, layouts, wizard, command palette and more.",
5
+ "license": "MIT",
6
+ "homepage": "https://tectra-ng.com",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/kulakovskyi/tectra-ng.git",
10
+ "directory": "packages/blocks"
11
+ },
12
+ "bugs": "https://github.com/kulakovskyi/tectra-ng/issues",
13
+ "keywords": [
14
+ "tectra",
15
+ "angular",
16
+ "angular-components",
17
+ "angular-ui",
18
+ "ui-blocks",
19
+ "admin",
20
+ "dashboard",
21
+ "console",
22
+ "filters",
23
+ "layout",
24
+ "signals"
25
+ ],
26
+ "peerDependencies": {
27
+ "@angular/cdk": "^22.0.0",
28
+ "@angular/common": "^22.0.0",
29
+ "@angular/core": "^22.0.0",
30
+ "@angular/router": "^22.0.0",
31
+ "@tectra-ng/core": "^0.1.6",
32
+ "@tectra-ng/icons": "^0.1.6",
33
+ "@tectra-ng/qr": "^0.1.6",
34
+ "@tectra-ng/themes": "^0.1.6",
35
+ "@tectra-ng/ui": "^0.1.6"
36
+ },
37
+ "peerDependenciesMeta": {
38
+ "@angular/router": {
39
+ "optional": true
40
+ },
41
+ "@tectra-ng/qr": {
42
+ "optional": true
43
+ }
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "module": "fesm2022/tectra-ng-blocks.mjs",
49
+ "typings": "types/tectra-ng-blocks.d.ts",
50
+ "exports": {
51
+ "./package.json": {
52
+ "default": "./package.json"
53
+ },
54
+ ".": {
55
+ "types": "./types/tectra-ng-blocks.d.ts",
56
+ "default": "./fesm2022/tectra-ng-blocks.mjs"
57
+ },
58
+ "./action-tile": {
59
+ "types": "./types/tectra-ng-blocks-action-tile.d.ts",
60
+ "default": "./fesm2022/tectra-ng-blocks-action-tile.mjs"
61
+ },
62
+ "./actions-menu": {
63
+ "types": "./types/tectra-ng-blocks-actions-menu.d.ts",
64
+ "default": "./fesm2022/tectra-ng-blocks-actions-menu.mjs"
65
+ },
66
+ "./app-footer": {
67
+ "types": "./types/tectra-ng-blocks-app-footer.d.ts",
68
+ "default": "./fesm2022/tectra-ng-blocks-app-footer.mjs"
69
+ },
70
+ "./app-layout": {
71
+ "types": "./types/tectra-ng-blocks-app-layout.d.ts",
72
+ "default": "./fesm2022/tectra-ng-blocks-app-layout.mjs"
73
+ },
74
+ "./command-palette": {
75
+ "types": "./types/tectra-ng-blocks-command-palette.d.ts",
76
+ "default": "./fesm2022/tectra-ng-blocks-command-palette.mjs"
77
+ },
78
+ "./console-layout": {
79
+ "types": "./types/tectra-ng-blocks-console-layout.d.ts",
80
+ "default": "./fesm2022/tectra-ng-blocks-console-layout.mjs"
81
+ },
82
+ "./cookie-notice": {
83
+ "types": "./types/tectra-ng-blocks-cookie-notice.d.ts",
84
+ "default": "./fesm2022/tectra-ng-blocks-cookie-notice.mjs"
85
+ },
86
+ "./empty-state": {
87
+ "types": "./types/tectra-ng-blocks-empty-state.d.ts",
88
+ "default": "./fesm2022/tectra-ng-blocks-empty-state.mjs"
89
+ },
90
+ "./filters-panel": {
91
+ "types": "./types/tectra-ng-blocks-filters-panel.d.ts",
92
+ "default": "./fesm2022/tectra-ng-blocks-filters-panel.mjs"
93
+ },
94
+ "./kanban": {
95
+ "types": "./types/tectra-ng-blocks-kanban.d.ts",
96
+ "default": "./fesm2022/tectra-ng-blocks-kanban.mjs"
97
+ },
98
+ "./network-status": {
99
+ "types": "./types/tectra-ng-blocks-network-status.d.ts",
100
+ "default": "./fesm2022/tectra-ng-blocks-network-status.mjs"
101
+ },
102
+ "./page-header": {
103
+ "types": "./types/tectra-ng-blocks-page-header.d.ts",
104
+ "default": "./fesm2022/tectra-ng-blocks-page-header.mjs"
105
+ },
106
+ "./pinned-tabs": {
107
+ "types": "./types/tectra-ng-blocks-pinned-tabs.d.ts",
108
+ "default": "./fesm2022/tectra-ng-blocks-pinned-tabs.mjs"
109
+ },
110
+ "./public-header": {
111
+ "types": "./types/tectra-ng-blocks-public-header.d.ts",
112
+ "default": "./fesm2022/tectra-ng-blocks-public-header.mjs"
113
+ },
114
+ "./qr-code": {
115
+ "types": "./types/tectra-ng-blocks-qr-code.d.ts",
116
+ "default": "./fesm2022/tectra-ng-blocks-qr-code.mjs"
117
+ },
118
+ "./switch-language": {
119
+ "types": "./types/tectra-ng-blocks-switch-language.d.ts",
120
+ "default": "./fesm2022/tectra-ng-blocks-switch-language.mjs"
121
+ },
122
+ "./switch-theme": {
123
+ "types": "./types/tectra-ng-blocks-switch-theme.d.ts",
124
+ "default": "./fesm2022/tectra-ng-blocks-switch-theme.mjs"
125
+ },
126
+ "./topbar-preferences": {
127
+ "types": "./types/tectra-ng-blocks-topbar-preferences.d.ts",
128
+ "default": "./fesm2022/tectra-ng-blocks-topbar-preferences.mjs"
129
+ },
130
+ "./wizard": {
131
+ "types": "./types/tectra-ng-blocks-wizard.d.ts",
132
+ "default": "./fesm2022/tectra-ng-blocks-wizard.mjs"
133
+ }
134
+ },
135
+ "sideEffects": false,
136
+ "type": "module",
137
+ "dependencies": {
138
+ "tslib": "^2.3.0"
139
+ }
6
140
  }
@@ -0,0 +1,32 @@
1
+ # Page header
2
+
3
+ The header of a page: a title, an optional subtitle and the page actions on the right. The actions wrap under the title when the space runs out. Use it at the top of every page instead of a hand-made heading row.
4
+
5
+ ```html
6
+ <tx-page-header title="Payments" subtitle="All company payments">
7
+ <button txButton icon="plus" (click)="create()">Create payment</button>
8
+ </tx-page-header>
9
+ ```
10
+
11
+ The space below the header is set from the outside (a class or a style on `tx-page-header`). A solid `secondary` button among the actions gets the card background and border, so it stays visible on the page background.
12
+
13
+ ## Inputs
14
+ | Name | Description |
15
+ |---|---|
16
+ | title | Required. Text of the page heading |
17
+ | subtitle | Muted line under the title — a short description or a count (tabular digits) |
18
+ | headingLevel | Level of the heading element, `1` (default) to `6` |
19
+ | dt | Design tokens of this instance (`pageHeader`) |
20
+ | pt | Classes and styles of the parts: `root`, `heading`, `title`, `subtitle`, `actions` |
21
+ | ptOptions | How `pt` merges with the global pass-through |
22
+ | unstyled | Removes the tectra styles |
23
+
24
+ ## Slots
25
+ | Name | Description |
26
+ |---|---|
27
+ | default | Page actions: buttons, tabs, pills. The area is left out when empty |
28
+
29
+ ## Keyboard
30
+ | Key | Action |
31
+ |---|---|
32
+ | Tab / Shift + Tab | Moves through the actions in order |
@@ -0,0 +1,42 @@
1
+ # Pinned tabs
2
+
3
+ Quick-switch tabs for a filter with many values: the user pins the values they use often in a dialog, and those values appear as tabs next to an "All" tab. The choice is saved in `localStorage`. Put it above a list next to the full select of the same filter and bind both to one value.
4
+
5
+ ```html
6
+ <tx-pinned-tabs [stateKey]="'teams:' + userId()" [options]="teams()" allLabel="All teams" [(selected)]="selectedTeams" />
7
+ ```
8
+
9
+ With nothing pinned only a labelled "Customize" button shows and the host gets `tx-pinned-tabs--empty`; next to tabs it is a square icon with a tooltip. The tabs scroll sideways when they do not fit and the button stays visible — give the host `min-width: 0` inside a flex row.
10
+
11
+ ## Inputs
12
+ | Name | Description |
13
+ |---|---|
14
+ | stateKey | Required. `localStorage` key of the pinned values; add the user id to keep the choice per user. Read again when it changes |
15
+ | options | Required. Values that can be pinned (`TxPinnedTabOption[]`: `value`, `label`); the tabs follow this order, a pinned value missing here shows no tab |
16
+ | allLabel | Label of the tab that clears the selection; the translated "All" by default |
17
+ | selected | Two-way: the selection of the filter. Empty — the "All" tab is active, one value — its tab, several values — no tab |
18
+ | dialogTitle | Title of the settings dialog; the translated "Pinned tabs" by default |
19
+ | dialogText | Explanation in the settings dialog; a translated hint by default |
20
+ | ariaLabel | Name of the tab list |
21
+ | dt | Design tokens of this instance (`pinnedTabs`) |
22
+ | pt | Classes and styles of the parts: `root`, `tabs`, `button` |
23
+ | ptOptions | How `pt` merges with the global pass-through |
24
+ | unstyled | Removes the tectra styles |
25
+
26
+ ## Outputs
27
+ | Name | Description |
28
+ |---|---|
29
+ | selectedChange | A tab was picked: `[value]`, or `[]` for "All" |
30
+
31
+ ## Methods
32
+ | Name | Description |
33
+ |---|---|
34
+ | openSettings() | Opens the settings dialog |
35
+
36
+ ## Keyboard
37
+ | Key | Action |
38
+ |---|---|
39
+ | Arrow Left / Arrow Right | Move between the tabs |
40
+ | Enter / Space | Pick a tab; on the button: open the settings |
41
+ | Tab | In the dialog: through the values, Cancel and Save; Space toggles a value |
42
+ | Escape | Closes the dialog without saving |
@@ -0,0 +1,44 @@
1
+ # Public header
2
+
3
+ The sticky header of public pages — a landing, pricing, docs, sign-in: the brand, the links, the language and theme preferences and the actions, on a translucent blurred bar. Below 768px the links, the preferences and the actions fold into a panel behind a burger.
4
+
5
+ ```html
6
+ <tx-public-header brand="Northwind" logo="/logo.svg">
7
+ <nav txPublicHeaderNav aria-label="Main">
8
+ <a routerLink="/features">Features</a>
9
+ <a routerLink="/pricing">Pricing</a>
10
+ </nav>
11
+ <div txPublicHeaderActions>
12
+ <a txButton severity="secondary" text routerLink="/sign-in">Sign in</a>
13
+ <a txButton routerLink="/sign-up">Get started</a>
14
+ </div>
15
+ </tx-public-header>
16
+ ```
17
+
18
+ The panel closes on a link or a button inside, on Escape (the focus goes back to the burger) and when the page grows past the breakpoint. In the panel the preferences turn into labelled rows and the actions take the full width.
19
+
20
+ ## Inputs
21
+ | Name | Description |
22
+ |---|---|
23
+ | brand | Required. Name next to the logo; the brand links to `homeLink` |
24
+ | logo | Logo image URL; left out when empty |
25
+ | homeLink | Where the brand leads: router commands or a path (default `/`); a plain link without the router |
26
+ | preferences | Shows the language and theme preferences (default on) |
27
+ | responsive | `viewport` (default) — the burger follows the window width; `container` — the header's own width, for previews |
28
+ | dt | Design tokens of this instance (`publicHeader`) |
29
+ | pt | Classes and styles of the parts: `root`, `bar`, `brand`, `logo`, `panel`, `nav`, `end`, `actions`, `toggle` |
30
+ | ptOptions | How `pt` merges with the global pass-through |
31
+ | unstyled | Removes the tectra styles |
32
+
33
+ ## Slots
34
+ | Name | Description |
35
+ |---|---|
36
+ | txPublicHeaderNav | `<nav txPublicHeaderNav>` — the links; direct `a` children get the link look |
37
+ | txPublicHeaderActions | `<div txPublicHeaderActions>` — buttons at the end, e.g. sign in and sign up |
38
+
39
+ ## Keyboard
40
+ | Key | Action |
41
+ |---|---|
42
+ | Enter / Space | On the burger: opens or closes the panel |
43
+ | Escape | Closes the panel and returns the focus to the burger |
44
+ | Tab | Moves through the brand, the links, the preferences and the actions |
@@ -0,0 +1,52 @@
1
+ # QR code
2
+
3
+ A string drawn as a QR code — a link, a sign-in secret, Wi-Fi details. The encoder is tectra's own: every version (1–40), the four error-correction levels, numeric, alphanumeric and UTF-8 text, no dependency. The code is an SVG, so it renders on the server the same way, stays sharp at any size and downloads as SVG or PNG.
4
+
5
+ ```html
6
+ <tx-qr-code data="https://example.com/r/7Q2M" [size]="200" />
7
+
8
+ <tx-qr-code
9
+ data="https://example.com"
10
+ dotStyle="rounded"
11
+ eyeFrameStyle="rounded"
12
+ eyeBallStyle="circle"
13
+ [gradient]="{ type: 'linear', colors: ['#111827', '#2563eb'], rotation: 45 }"
14
+ logo="/logo.svg"
15
+ />
16
+ ```
17
+
18
+ With a `logo` the dots under it are left out and the error correction goes up to `H`, so phones still read the code. Keep dark dots on a light background — many scanners cannot read the opposite. Data that does not fit shows a translated "Unable to render QR code".
19
+
20
+ `encodeQr(text, options)` returns the matrix (`version`, `size`, `errorCorrection`, `mask`, `modules`) for your own drawing; `qrPaths(matrix, shapes)` gives the SVG paths.
21
+
22
+ ## Inputs
23
+ | Name | Description |
24
+ |---|---|
25
+ | data | Required. Text to encode; empty — nothing is drawn |
26
+ | size | Width and height in px (default 200) |
27
+ | margin | Quiet zone around the code, in modules (default 1) |
28
+ | errorCorrection | `L`, `M`, `Q` or `H`; `M` by default, `H` with a logo |
29
+ | dotStyle | `square` (default), `dots`, `rounded` — joined neighbours, `soft` — separate rounded squares |
30
+ | eyeFrameStyle | Outer ring of the three corner eyes: `square` (default), `rounded`, `circle` |
31
+ | eyeBallStyle | Centre of the eyes: `square` (default), `rounded`, `circle` |
32
+ | color | Colour of the dots (the `color` token by default) |
33
+ | background | Background colour (the `background` token by default) |
34
+ | eyeColor | Colour of the eye rings, and of their centres unless `eyeBallColor` is set |
35
+ | eyeBallColor | Colour of the eye centres |
36
+ | gradient | `{ type: 'linear' \| 'radial', colors: [from, to], rotation }` for the dots and the eyes without their own colour |
37
+ | logo | Image URL in the middle |
38
+ | logoSize | Logo side as a share of the code (default 0.22, at most 0.4) |
39
+ | logoMargin | Empty modules around the logo (default 1) |
40
+ | ariaLabel | Accessible name (translated "QR code" by default) |
41
+ | dt | Design tokens of this instance (`qrCode`) |
42
+ | pt | Classes and styles of the parts: `root`, `svg`, `error` |
43
+ | ptOptions | How `pt` merges with the global pass-through |
44
+ | unstyled | Removes the tectra styles |
45
+
46
+ ## Methods
47
+ | Name | Description |
48
+ |---|---|
49
+ | download(format, fileName, pixelSize) | Saves the code as `png` (default, 1024 px) or `svg`; the logo is embedded |
50
+ | toDataUrl(format, pixelSize) | The image as a data URL |
51
+ | toSvgString() | A standalone SVG with the colours resolved |
52
+ | matrix | Signal: the encoded matrix, or `null` |
@@ -0,0 +1,33 @@
1
+ # Switch language
2
+
3
+ A segmented switch of the interface language: short codes in a capsule with a sliding thumb. By default it shows English and Ukrainian and sets the locale of `TxLocaleService`, so every tectra text follows.
4
+
5
+ ```html
6
+ <tx-switch-language [(value)]="language" (valueChange)="translate.use($event)" />
7
+ ```
8
+
9
+ Give your own list with `languages` (`{ code, name, short }`). With `syncLocale` off the switch only reports the choice. Keep the choice yourself — save it on `valueChange`.
10
+
11
+ ## Inputs
12
+ | Name | Description |
13
+ |---|---|
14
+ | languages | Options (`TxLanguageOption[]`: `code`, `name` — the accessible name and the title, `short` — the visible code); English and Ukrainian by default |
15
+ | value | Two-way code of the chosen language; follows the current locale while empty |
16
+ | syncLocale | Sets the `TxLocaleService` locale on a change (default on) |
17
+ | ariaLabel | Name of the group (translated "Language" by default) |
18
+ | dt | Design tokens of this instance (`switchLanguage`) |
19
+ | pt | Classes and styles of the parts: `root`, `group`, `thumb`, `option` |
20
+ | ptOptions | How `pt` merges with the global pass-through |
21
+ | unstyled | Removes the tectra styles |
22
+
23
+ ## Outputs
24
+ | Name | Description |
25
+ |---|---|
26
+ | valueChange | The code of the chosen language |
27
+
28
+ ## Keyboard
29
+ | Key | Action |
30
+ |---|---|
31
+ | Tab | Moves the focus to the chosen language |
32
+ | Right / Down, Left / Up | Chooses the next / previous language, wrapping around |
33
+ | Home / End | Chooses the first / last language |
@@ -0,0 +1,32 @@
1
+ # Switch theme
2
+
3
+ A round button that switches between the light and the dark theme. The sun and the moon swap with a turn, and the new theme grows as a circle from the click. The circle comes from the `txThemeReveal` directive — put it on any element that changes the theme.
4
+
5
+ ```html
6
+ <tx-switch-theme (modeChange)="save($event)" />
7
+
8
+ <button txButton text icon="moon" txThemeReveal (themeChange)="theme.toggleMode()">Theme</button>
9
+ ```
10
+
11
+ It reads and sets the mode of `TxThemeService` (`data-tx-theme` on `<html>`); keep the choice with `modeChange`. The circle needs the View Transitions API; without it, or with reduced motion, the theme changes at once.
12
+
13
+ ## Inputs
14
+ | Name | Description |
15
+ |---|---|
16
+ | revealDuration | Length of the circle in ms (default 550); also on `txThemeReveal` |
17
+ | revealEasing | Easing of the circle; also on `txThemeReveal` |
18
+ | dt | Design tokens of this instance (`switchTheme`) |
19
+ | pt | Classes and styles of the parts: `root`, `button`, `icon` |
20
+ | ptOptions | How `pt` merges with the global pass-through |
21
+ | unstyled | Removes the tectra styles |
22
+
23
+ ## Outputs
24
+ | Name | Description |
25
+ |---|---|
26
+ | modeChange | The new mode, `light` or `dark` |
27
+ | themeChange | `txThemeReveal`: change the theme now — it runs inside the view transition |
28
+
29
+ ## Keyboard
30
+ | Key | Action |
31
+ |---|---|
32
+ | Enter / Space | Switches the theme; the circle starts from the middle of the button |