repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon-registry/lib/UUIIconHost.ts
packages/uui-icon-registry/lib/UUIIconHost.ts
export class UUIIconHost { public readonly promise: Promise<string>; private readonly resolve!: Function; public readonly reject!: Function; constructor(svg?: string) { this.promise = new Promise<string>((resolveMethod, rejectMethod) => { (this as any).resolve = resolveMethod; // Intentionally skippi...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon-registry/lib/UUIIconRegistry.ts
packages/uui-icon-registry/lib/UUIIconRegistry.ts
import { UUIIconRequestEvent } from '@umbraco-ui/uui-icon/lib'; import { UUIIconHost } from './UUIIconHost'; export class UUIIconRegistry { private icons: Record<string, UUIIconHost> = {}; /** * Attach an element to provide this registry. Use detach when disconnected. * @param {EventTarget} element the ele...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon-registry/lib/UUIIconRegistry.test.ts
packages/uui-icon-registry/lib/UUIIconRegistry.test.ts
import { assert, expect } from '@open-wc/testing'; import { UUIIconRegistry } from './UUIIconRegistry'; import '.'; const TEST_SVG = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"></svg>'; describe('UUIIconRegistry', () => { let registry: UUIIconRegistry; beforeEach(async () => { registry =...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon-registry/lib/uui-icon-registry.element.ts
packages/uui-icon-registry/lib/uui-icon-registry.element.ts
import { LitElement, html } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property } from 'lit/decorators.js'; import { UUIIconRegistry } from './UUIIconRegistry'; /** * @element uui-icon-registry * @description - Icon Registry component delivers icons for any child of t...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon-registry/lib/index.ts
packages/uui-icon-registry/lib/index.ts
export * from './uui-icon-registry.element'; export * from './UUIIconHost'; export * from './UUIIconRegistry';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.test.ts
packages/uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUISymbolFileDropzoneElement } from './uui-symbol-file-dropzone.element'; import '.'; describe('UUISymbolFileDropzoneElement', () => { let element: UUISymbolFileDropzoneElement; beforeEach(async () => { element = await fixture(html` <uui...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.story.ts
packages/uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-symbol-file-dropzone', component: 'uui-symbol-file-dropzone', title: 'Symbols/File Dro...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-file-dropzone/lib/index.ts
packages/uui-symbol-file-dropzone/lib/index.ts
export * from './uui-symbol-file-dropzone.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.element.ts
packages/uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; /** * @element uui-symbol-file-dropzone */ @defineElement('uui-symbol-file-dropzone') export class UUISymbolFileDropzoneElement extends LitElement { /** ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-swatch/lib/uui-color-swatch.element.ts
packages/uui-color-swatch/lib/uui-color-swatch.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property } from 'lit/decorators.js'; import { css, html, LitElement, nothing } from 'lit'; import { ref } from 'lit/directives/ref.js'; import { iconCheck } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs'; import { ActiveMixin, ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-swatch/lib/uui-color-swatch.test.ts
packages/uui-color-swatch/lib/uui-color-swatch.test.ts
import { html, fixture, expect, elementUpdated } from '@open-wc/testing'; import { UUIColorSwatchElement } from './uui-color-swatch.element'; import { UUITestMouse } from '../../../test/index'; describe('UUIColorSwatchElement', () => { let element: UUIColorSwatchElement; beforeEach(async () => { element = awa...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-swatch/lib/index.ts
packages/uui-color-swatch/lib/index.ts
export * from './uui-color-swatch.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-swatch/lib/uui-color-swatch.story.ts
packages/uui-color-swatch/lib/uui-color-swatch.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-color-swatch', component: 'uui-color-swatch', title: 'Inputs/Color/Color ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-button-group/lib/uui-button-group.story.ts
packages/uui-button-group/lib/uui-button-group.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; const meta: Meta = { id: 'uui-button-group', component: 'uui-button-group', title: 'Buttons/Button Group', render: () => html` <uui-button-group> <uui-b...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-button-group/lib/uui-button-group.element.ts
packages/uui-button-group/lib/uui-button-group.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; /** * Place <uui-button> elements in the slot. They will be nicely displayed. * @element uui-button-group * @slot - The slot for buttons. It supports `<uui-button>` elements out of the box. */ @de...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-button-group/lib/index.ts
packages/uui-button-group/lib/index.ts
export * from './uui-button-group.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-button-group/lib/uui-button-group.test.ts
packages/uui-button-group/lib/uui-button-group.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUIButtonGroupElement } from './uui-button-group.element'; import '@umbraco-ui/uui-button/lib'; describe('UuiButtonGroup', () => { let element: UUIButtonGroupElement; beforeEach(async () => { element = await fixture(html` <uui-button-grou...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table.story.ts
packages/uui-table/lib/uui-table.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { ArrayOfUmbracoWords } from '../../../storyhelpers/UmbracoWordGenerator'; import '@umbraco-ui/uui-box/lib'; import '@umbraco-ui/uui-symbol-sort/lib'; import './uu...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-row.story.ts
packages/uui-table/lib/uui-table-row.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { ArrayOfUmbracoWords } from '../../../storyhelpers/UmbracoWordGenerator'; import '@umbraco-ui/uui-table'; import '@umbraco-ui/uui-input'; import '@umbraco-ui/uui-...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-column.element.ts
packages/uui-table/lib/uui-table-column.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, LitElement } from 'lit'; /** * Table column element. Equivalent of native col. Any styles you apply to it will be applied to the corresponding column in the table. Must be a child of uui-table. If you want to have unstyled column bet...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-row.element.ts
packages/uui-table/lib/uui-table-row.element.ts
import { SelectableMixin, SelectOnlyMixin, } from '@umbraco-ui/uui-base/lib/mixins'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { queryAssignedElements } from 'lit/decorators.js'; /** * Table row element with option to set is as sele...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-advanced-example.ts
packages/uui-table/lib/uui-table-advanced-example.ts
import '.'; import '@umbraco-ui/uui-avatar/lib'; import '@umbraco-ui/uui-box/lib'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-checkbox/lib'; import '@umbraco-ui/uui-icon/lib'; import '@umbraco-ui/uui-progress-bar/lib'; import '@umbraco-ui/uui-tag/lib'; import '@umbraco-ui/uui-symbol-sort/lib'; import...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-head.element.ts
packages/uui-table/lib/uui-table-head.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; /** * Table head element. Holds the styles for table head. Parent to uui-table-head-cell. * @element uui-table-head * @slot - slot for uui-table-head-cell elements. */ @defineElement('uui-table-he...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-row.test.ts
packages/uui-table/lib/uui-table-row.test.ts
import { elementUpdated, expect, fixture, html, oneEvent, } from '@open-wc/testing'; import '.'; import { UUITableRowElement } from './uui-table-row.element'; import { UUITestMouse } from '../../../test/index'; describe('UuiTableRow', () => { let element: UUITableRowElement; let tableElement: HTMLElemen...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-cell.element.ts
packages/uui-table/lib/uui-table-cell.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; /** * Table cell that detects if it has overflow and if so it'll add a title attribute to itself to display full text. Must be a child of uui-table-row * ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table.element.ts
packages/uui-table/lib/uui-table.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; /** * Recreation of native table and it's child elements. `<uui-table>` is a parent element to `<uui-table-head>` `<and uui-table-row>`. To make it fully accessible remember to add aria-label and aria-...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table.test.ts
packages/uui-table/lib/uui-table.test.ts
import '.'; import { elementUpdated, expect, fixture, html } from '@open-wc/testing'; import { UUITableCellElement } from './uui-table-cell.element'; import { UUITableRowElement } from './uui-table-row.element'; import { UUITableElement } from './uui-table.element'; describe('UuiTable', () => { let table: UUITable...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-head-cell.element.ts
packages/uui-table/lib/uui-table-head-cell.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css } from 'lit'; import { UUITableCellElement } from './uui-table-cell.element'; /** * Child element of uui-table-head. Use it there. * @element uui-table-head-cell */ @defineElement('uui-table-head-cell') export class UUITableHeadCe...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/index.ts
packages/uui-table/lib/index.ts
export * from './uui-table.element'; export * from './uui-table-cell.element'; export * from './uui-table-column.element'; export * from './uui-table-head-cell.element'; export * from './uui-table-head.element'; export * from './uui-table-row.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-table/lib/uui-table-cell.story.ts
packages/uui-table/lib/uui-table-cell.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import '@umbraco-ui/uui-input/lib'; const meta: Meta = { id: 'uui-table-cell', component: 'uui-table-cell', title: 'Layout/Table/Table Cell', args: { slot: '...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon/lib/uui-icon.story.ts
packages/uui-icon/lib/uui-icon.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; import { ifDefined } from 'lit/directives/if-defined.js'; const meta: Meta = { id: 'uui-icon', component:...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon/lib/UUIIconRequestEvent.ts
packages/uui-icon/lib/UUIIconRequestEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; export class UUIIconRequestEvent extends UUIEvent<{ iconName: string }> { public static readonly ICON_REQUEST = 'icon-request'; public icon: Promise<string> | null = null; constructor(evName: string, eventInit: any | null = {}) { super(evName, { ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon/lib/uui-icon.element.ts
packages/uui-icon/lib/uui-icon.element.ts
import { LitElement, css, html } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property, state } from 'lit/decorators.js'; import { UUIIconRequestEvent } from './UUIIconRequestEvent'; import { unsafeHTML } from 'lit/directives/unsafe-html.js'; /** * @element uui-icon * @...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon/lib/uui-icon.test.ts
packages/uui-icon/lib/uui-icon.test.ts
import '.'; import '@umbraco-ui/uui-icon-registry/lib'; import { elementUpdated, expect, fixture, html, oneEvent, } from '@open-wc/testing'; import { UUIIconRegistryElement } from '@umbraco-ui/uui-icon-registry/lib/uui-icon-registry.element'; import { LitElement } from 'lit'; import { UUIIconElement } from ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-icon/lib/index.ts
packages/uui-icon/lib/index.ts
export * from './uui-icon.element'; export * from './UUIIconRequestEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form-layout-item/lib/uui-form-layout-item.element.ts
packages/uui-form-layout-item/lib/uui-form-layout-item.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils'; import { css, html, LitElement } from 'lit'; import { property, state } from 'lit/decorators.js'; // TODO: Make sure validation messages can be seen for the whole Form Item. Make...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form-layout-item/lib/uui-form-layout-item.test.ts
packages/uui-form-layout-item/lib/uui-form-layout-item.test.ts
import { expect, fixture, html } from '@open-wc/testing'; import '@umbraco-ui/uui-form-validation-message/lib'; import { UUIFormLayoutItemElement } from './uui-form-layout-item.element'; describe('UUIFormLayoutItemElement', () => { let element: UUIFormLayoutItemElement; beforeEach(async () => { element = awa...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form-layout-item/lib/index.ts
packages/uui-form-layout-item/lib/index.ts
export * from './uui-form-layout-item.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form-layout-item/lib/uui-form-layout-item.story.ts
packages/uui-form-layout-item/lib/uui-form-layout-item.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-checkbox/lib'; import '@umbraco-ui/uui-form/lib'...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-toast-notification-container/lib/uui-toast-notification-container.story.ts
packages/uui-toast-notification-container/lib/uui-toast-notification-container.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { UUIToastNotificationElement } from '@umbraco-ui/uui-toast-notification'; import { UUIToastNotificationLayoutElement } from '@umbraco-ui/uui-toast-notification-lay...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-toast-notification-container/lib/uui-toast-notification-container.element.ts
packages/uui-toast-notification-container/lib/uui-toast-notification-container.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { UUIToastNotificationElement, UUIToastNotificationEvent, } from '@umbraco-ui/uui-toast-notification/lib'; import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; /** * @element uui-toast-notification-...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-toast-notification-container/lib/uui-toast-notification-container.test.ts
packages/uui-toast-notification-container/lib/uui-toast-notification-container.test.ts
import '.'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-icon/lib'; import { elementUpdated, expect, fixture, html, oneEvent, } from '@open-wc/testing'; import { UUIToastNotificationElement, UUIToastNotificationEvent, } from '@umbraco-ui/uui-toast-notification/lib'; import { UUIToastNoti...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-toast-notification-container/lib/index.ts
packages/uui-toast-notification-container/lib/index.ts
export * from './uui-toast-notification-container.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader-bar/lib/uui-loader-bar.test.ts
packages/uui-loader-bar/lib/uui-loader-bar.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUILoaderBarElement } from './uui-loader-bar.element'; import './index'; describe('UuiTextfield with steps', () => { let element: UUILoaderBarElement; beforeEach(async () => { element = await fixture(html` <uui-loader-bar></uui-loader-bar> `); ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader-bar/lib/uui-loader-bar.element.ts
packages/uui-loader-bar/lib/uui-loader-bar.element.ts
import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { clamp } from '@umbraco-ui/uui-base/lib/utils'; /** * @element uui-loader-bar * @description - Linear loader for indicating loading. */ @defineEl...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader-bar/lib/uui-loader-bar.story.ts
packages/uui-loader-bar/lib/uui-loader-bar.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-loader-bar', component: 'uui-loader-bar', title: 'Loaders/Loader Bar', args: { c...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader-bar/lib/index.ts
packages/uui-loader-bar/lib/index.ts
export * from './uui-loader-bar.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-picker/lib/uui-color-picker.element.ts
packages/uui-color-picker/lib/uui-color-picker.element.ts
import { LitElement, html, css, nothing } from 'lit'; import { Colord, colord, extend, HslaColor } from 'colord'; import namesPlugin from 'colord/plugins/names'; extend([namesPlugin]); import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property, query, state } from 'lit/decorators.js'; im...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-picker/lib/uui-color-picker.test.ts
packages/uui-color-picker/lib/uui-color-picker.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUIColorPickerElement } from './uui-color-picker.element'; import '@umbraco-ui/uui-icon/lib'; import '@umbraco-ui/uui-icon-registry-essential/lib'; import '@umbraco-ui/uui-input/lib'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-button-...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-picker/lib/index.ts
packages/uui-color-picker/lib/index.ts
export * from './uui-color-picker.element'; export * from './UUIColorPickerEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-picker/lib/UUIColorPickerEvent.ts
packages/uui-color-picker/lib/UUIColorPickerEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIColorPickerElement } from './uui-color-picker.element'; export class UUIColorPickerChangeEvent extends UUIEvent< {}, UUIColorPickerElement > { public static readonly CHANGE = 'change'; constructor(evName: string, eventInit: any | null = ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-picker/lib/uui-color-picker.story.ts
packages/uui-color-picker/lib/uui-color-picker.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { spread } from '../../../storyhelpers'; import '@umbraco-ui/uui-button-group/lib'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-color-area/lib'; i...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-document-type/lib/uui-ref-node-document-type.story.ts
packages/uui-ref-node-document-type/lib/uui-ref-node-document-type.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-ref-node-document-type', component: 'uui-ref-node-document-type', title: ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-document-type/lib/uui-ref-node-document-type.test.ts
packages/uui-ref-node-document-type/lib/uui-ref-node-document-type.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import '@umbraco-ui/uui-icon/lib'; import { UUIRefNodeDocumentTypeElement } from './uui-ref-node-document-type.element'; import '.'; describe('UUIRefNodeDocumentTypeElement', () => { let element: UUIRefNodeDocumentTypeElem...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-document-type/lib/uui-ref-node-document-type.element.ts
packages/uui-ref-node-document-type/lib/uui-ref-node-document-type.element.ts
import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { html } from 'lit'; import { property } from 'lit/decorators.js'; /** * @element uui-ref-node-document-type * @fires {UUIRefEvent} open - fires when the ref title is clic...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-document-type/lib/index.ts
packages/uui-ref-node-document-type/lib/index.ts
export * from './uui-ref-node-document-type.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/uui-tabs.test.ts
packages/uui-tabs/lib/uui-tabs.test.ts
import { expect, fixture, html, oneEvent } from '@open-wc/testing'; import { UUITabGroupElement } from './uui-tab-group.element'; import { UUITabElement } from './uui-tab.element'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-popover-container/lib'; import '@umbraco-ui/uui-symbol-more/lib'; describe(...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/UUITabEvent.ts
packages/uui-tabs/lib/UUITabEvent.ts
import { UUITabElement } from './uui-tab.element'; import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; type DetailType = {}; export class UUITabEvent extends UUIEvent<DetailType, UUITabElement> {}
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/UUITabGroupEvent.ts
packages/uui-tabs/lib/UUITabGroupEvent.ts
import { UUITabGroupElement } from './uui-tab-group.element'; import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; type DetailType = {}; export class UUITabGroupEvent extends UUIEvent< DetailType, UUITabGroupElement > {}
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/uui-tab-group.element.ts
packages/uui-tabs/lib/uui-tab-group.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils'; import type { UUIButtonElement } from '@umbraco-ui/uui-button/lib'; import type { UUIPopoverContainerElement } from '@umbraco-ui/uui-popover-container/lib'; import { css, html, Li...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/uui-tab.element.ts
packages/uui-tabs/lib/uui-tab.element.ts
import { ActiveMixin, LabelMixin } from '@umbraco-ui/uui-base/lib/mixins'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; import { ifDefined } from 'lit/directives/if-defined.js'; /** * A single tab. Sho...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/index.ts
packages/uui-tabs/lib/index.ts
export * from './uui-tab.element'; export * from './uui-tab-group.element'; export * from './UUITabEvent'; export * from './UUITabGroupEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/uui-tab.test.ts
packages/uui-tabs/lib/uui-tab.test.ts
import { html, fixture, expect, elementUpdated } from '@open-wc/testing'; import { UUITabElement } from './uui-tab.element'; import '.'; describe('UuiTab', () => { let element: UUITabElement; beforeEach(async () => { element = await fixture(html` <uui-tab label="My label">Hello uui-tab</uui-tab> `);...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-tabs/lib/uui-tabs.story.ts
packages/uui-tabs/lib/uui-tabs.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import '@umbraco-ui/uui-icon/lib'; import '@umbraco-ui/uui-icon-registry-essential/lib'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-popover-container/li...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input-lock/lib/UUIInputLockEvent.ts
packages/uui-input-lock/lib/UUIInputLockEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIInputLockElement } from './uui-input-lock.element'; export class UUIInputLockEvent extends UUIEvent<{}, UUIInputLockElement> { public static readonly LOCK_CHANGE: string = 'lock-change'; constructor(evName: string, eventInit: any | null = {})...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input-lock/lib/uui-input-lock.story.ts
packages/uui-input-lock/lib/uui-input-lock.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; /** * uui-input-lock extends uui-input. See [uui-input](/docs/uui-input--docs) for more details. */ const m...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input-lock/lib/uui-input-lock.test.ts
packages/uui-input-lock/lib/uui-input-lock.test.ts
import { expect, fixture, html, oneEvent } from '@open-wc/testing'; import { UUIInputElement } from '@umbraco-ui/uui-input/lib'; import '@umbraco-ui/uui-icon/lib'; import '@umbraco-ui/uui-button/lib'; import { UUIInputLockElement } from './uui-input-lock.element'; import { UUIInputLockEvent } from './UUIInputLockEvent...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input-lock/lib/uui-input-lock.element.ts
packages/uui-input-lock/lib/uui-input-lock.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils'; import { css, html } from 'lit'; import { UUIInputElement } from '@umbraco-ui/uui-input/lib'; import { iconLock, iconUnlock, } from '@umbraco-ui/uui-icon-registry-essential/li...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input-lock/lib/index.ts
packages/uui-input-lock/lib/index.ts
export * from './uui-input-lock.element'; export * from './UUIInputLockEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader/lib/uui-loader.element.ts
packages/uui-loader/lib/uui-loader.element.ts
import { LitElement, html, css } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; /** * A basic loader. * @element uui-loader */ @defineElement('uui-loader') export class UUILoaderElement extends LitElement { render() { return html` <div></div> <div></div> ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader/lib/uui-loader.test.ts
packages/uui-loader/lib/uui-loader.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUILoaderElement } from './uui-loader.element'; import '.'; describe('UuiLoader', () => { let element: UUILoaderElement; beforeEach(async () => { element = await fixture(html` <uui-loader></uui-loader> `); }); it('passes the a11y audit', a...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader/lib/uui-loader.story.ts
packages/uui-loader/lib/uui-loader.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; const meta: Meta = { id: 'uui-loader', component: 'uui-loader', title: 'Loaders/Loader', args: { color: 'color: #006eff', }, render: args => html`<uui-loa...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-loader/lib/index.ts
packages/uui-loader/lib/index.ts
export * from './uui-loader.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-form/lib/uui-ref-node-form.element.ts
packages/uui-ref-node-form/lib/uui-ref-node-form.element.ts
import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; /** * @element uui-ref-node-form * @fires {UUIRefEvent} open - fires when the ref title is clicked * @fires {UUIRefEvent} selected - fires when the ref is selected * @fires {...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-form/lib/uui-ref-node-form.story.ts
packages/uui-ref-node-form/lib/uui-ref-node-form.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-ref-node-form', component: 'uui-ref-node-form', title: 'Displays/Referenc...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-form/lib/uui-ref-node-form.test.ts
packages/uui-ref-node-form/lib/uui-ref-node-form.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import '@umbraco-ui/uui-icon/lib'; import { UUIRefNodeFormElement } from './uui-ref-node-form.element'; import '.'; describe('UUIRefNodeFormElement', () => { let element: UUIRefNodeFormElement; beforeEach(async () => { ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node-form/lib/index.ts
packages/uui-ref-node-form/lib/index.ts
export * from './uui-ref-node-form.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node/lib/uui-ref-node.story.ts
packages/uui-ref-node/lib/uui-ref-node.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { renderSlots, spread } from '../../../storyhelpers'; import '@umbraco-ui/uui-tag/lib'; import '@umbraco-ui/uui-action-bar/lib'; import '@umbraco-ui/uui-button/lib...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node/lib/uui-ref-node.element.ts
packages/uui-ref-node/lib/uui-ref-node.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils'; import { ifDefined } from 'lit/directives/if-defined.js'; import { UUIRefElement } from '@umbraco-ui/uui-ref/lib'; import { css, html, nothing } from 'lit'; import { property, que...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node/lib/uui-ref-node.test.ts
packages/uui-ref-node/lib/uui-ref-node.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import '@umbraco-ui/uui-icon/lib'; import { UUIRefNodeElement } from './uui-ref-node.element'; import '.'; describe('UUIRefNodeElement', () => { let element: UUIRefNodeElement; beforeEach(async () => { element = awa...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-node/lib/index.ts
packages/uui-ref-node/lib/index.ts
export * from './uui-ref-node.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-slider/lib/uui-color-slider.test.ts
packages/uui-color-slider/lib/uui-color-slider.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUIColorSliderElement } from './uui-color-slider.element'; describe('UUIColorSliderElement', () => { let element: UUIColorSliderElement; beforeEach(async () => { element = await fixture(html` <uui-color-slider label="Color slider"></uui-...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-slider/lib/uui-color-slider.story.ts
packages/uui-color-slider/lib/uui-color-slider.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import { ifDefined } from 'lit/directives/if-defined.js'; import { styleMap } from 'lit/directives/style-map.js'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { useState } from 'storybook/preview-api'; import ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-slider/lib/UUIColorSliderEvent.ts
packages/uui-color-slider/lib/UUIColorSliderEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIColorSliderElement } from './uui-color-slider.element'; export class UUIColorSliderEvent extends UUIEvent<{}, UUIColorSliderElement> { public static readonly CHANGE = 'change'; constructor(evName: string, eventInit: any | null = {}) { sup...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-slider/lib/index.ts
packages/uui-color-slider/lib/index.ts
export * from './uui-color-slider.element'; export * from './UUIColorSliderEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-slider/lib/uui-color-slider.element.ts
packages/uui-color-slider/lib/uui-color-slider.element.ts
import { LitElement, html, css } from 'lit'; import { Colord } from 'colord'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property } from 'lit/decorators.js'; import { styleMap } from 'lit/directives/style-map.js'; import { ifDefined } from 'lit/directives/if-defined.js'; import { ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/uui-modal.test.ts
packages/uui-modal/lib/uui-modal.test.ts
import { html, fixture, expect, oneEvent } from '@open-wc/testing'; import { UUIModalDialogElement, UUIModalSidebarElement, UUIModalContainerElement, UUIModalCloseEvent, UUIModalCloseEndEvent, } from '.'; describe('UUIModalContainerElement', () => { let element: UUIModalContainerElement; beforeEach(asyn...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/modal-example.element.ts
packages/uui-modal/lib/modal-example.element.ts
import { LitElement, css, html, TemplateResult } from 'lit'; import { state } from 'lit/decorators.js'; import './uui-modal-container'; import { ref, createRef } from 'lit/directives/ref.js'; import { UUIModalElement } from './uui-modal.element'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; @...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/uui-modal.story.ts
packages/uui-modal/lib/uui-modal.story.ts
import '@umbraco-ui/uui-dialog-layout/lib'; import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import './modal-example.element'; const meta: Meta = { id: 'uui-modal', component: 'uui-modal', title: 'Layout/Modals', ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/uui-modal-sidebar.element.ts
packages/uui-modal/lib/uui-modal-sidebar.element.ts
import { css, html, PropertyValueMap } from 'lit'; import { property } from 'lit/decorators.js'; import { UUIModalElement } from './uui-modal.element'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; export type UUIModalSidebarSize = 'small' | 'medium' | 'large' | 'full'; @defineElement('uui-mo...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/uui-modal-container.ts
packages/uui-modal/lib/uui-modal-container.ts
import { LitElement, PropertyValueMap, css, html } from 'lit'; import { property, query, state } from 'lit/decorators.js'; import { UUIModalSidebarElement } from './uui-modal-sidebar.element'; import { UUIModalCloseEvent, UUIModalElement } from './uui-modal.element'; import { defineElement } from '@umbraco-ui/uui-base/...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/uui-modal.element.ts
packages/uui-modal/lib/uui-modal.element.ts
import { LitElement, css } from 'lit'; import { property, query } from 'lit/decorators.js'; export const UUIModalOpenEvent = 'uui:modal-open'; export const UUIModalCloseEvent = 'uui:modal-close'; export const UUIModalCloseEndEvent = 'uui:modal-close-end'; export class UUIModalElement extends LitElement { @query('di...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/uui-modal-dialog.element.ts
packages/uui-modal/lib/uui-modal-dialog.element.ts
import { css, html } from 'lit'; import { UUIModalElement } from './uui-modal.element'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; @defineElement('uui-modal-dialog') export class UUIModalDialogElement extends UUIModalElement { render() { return html` <dialog> <slot></slo...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-modal/lib/index.ts
packages/uui-modal/lib/index.ts
export * from './uui-modal.element'; export * from './uui-modal-container'; export * from './uui-modal-dialog.element'; export * from './uui-modal-sidebar.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-expand/lib/uui-symbol-expand.story.ts
packages/uui-symbol-expand/lib/uui-symbol-expand.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { spread } from '../../../storyhelpers'; import { UUISymbolExpandElement } from './uui-symbol-expand.element.js'; import '@umbraco-ui/uui-button/lib'; const meta: ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-expand/lib/uui-symbol-expand.element.ts
packages/uui-symbol-expand/lib/uui-symbol-expand.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; /** * A symbol indicating whether related composition is expanded or collapsed * @element uui-symbol-expand */ @defineElement('uui-symbol-expand') expor...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-expand/lib/index.ts
packages/uui-symbol-expand/lib/index.ts
export * from './uui-symbol-expand.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-expand/lib/uui-symbol-expand.test.ts
packages/uui-symbol-expand/lib/uui-symbol-expand.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUISymbolExpandElement } from './uui-symbol-expand.element'; import '.'; describe('UUISymbolExpandElement', () => { let element: UUISymbolExpandElement; beforeEach(async () => { element = await fixture(html` <uui-symbol-expand></uui-symbol-exp...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-file-thumbnail/lib/uui-symbol-file-thumbnail.story.ts
packages/uui-symbol-file-thumbnail/lib/uui-symbol-file-thumbnail.story.ts
import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-symbol-file-thumbnail', component: 'uui-symbol-file-thumbnail', title: 'Symbols/File T...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-file-thumbnail/lib/index.ts
packages/uui-symbol-file-thumbnail/lib/index.ts
export * from './uui-symbol-file-thumbnail.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false