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
pmndrs/react-three-lightmap
https://github.com/pmndrs/react-three-lightmap/blob/49ceb48e68994bad1eaa33f2d2ddf0011ffed878/src/core/atlas.ts
src/core/atlas.ts
import * as THREE from 'three'; import { ProbeTexel } from './lightProbe'; export interface AtlasMapItem { faceCount: number; originalMesh: THREE.Mesh; originalBuffer: THREE.BufferGeometry; } interface AtlasMapInternalItem extends AtlasMapItem { perFaceBuffer: THREE.BufferGeometry; } export interface AtlasM...
typescript
MIT
49ceb48e68994bad1eaa33f2d2ddf0011ffed878
2026-01-05T05:00:43.281026Z
false
pmndrs/react-three-lightmap
https://github.com/pmndrs/react-three-lightmap/blob/49ceb48e68994bad1eaa33f2d2ddf0011ffed878/src/core/AutoUV2.tsx
src/core/AutoUV2.tsx
import * as THREE from 'three'; /// <reference path="potpack.d.ts"/> import potpack, { PotPackItem } from 'potpack'; const tmpOrigin = new THREE.Vector3(); const tmpU = new THREE.Vector3(); const tmpV = new THREE.Vector3(); const tmpW = new THREE.Vector3(); const tmpNormal = new THREE.Vector3(); const tmpUAxis = new...
typescript
MIT
49ceb48e68994bad1eaa33f2d2ddf0011ffed878
2026-01-05T05:00:43.281026Z
false
pmndrs/react-three-lightmap
https://github.com/pmndrs/react-three-lightmap/blob/49ceb48e68994bad1eaa33f2d2ddf0011ffed878/src/core/workbench.ts
src/core/workbench.ts
import * as THREE from 'three'; import { renderAtlas, AtlasMap } from './atlas'; import { LightProbeSettings, DEFAULT_LIGHT_PROBE_SETTINGS } from './lightProbe'; import { computeAutoUV2Layout } from './AutoUV2'; export interface Workbench { aoMode: boolean; aoDistance: number; emissiveMultiplier: number; boun...
typescript
MIT
49ceb48e68994bad1eaa33f2d2ddf0011ffed878
2026-01-05T05:00:43.281026Z
false
pmndrs/react-three-lightmap
https://github.com/pmndrs/react-three-lightmap/blob/49ceb48e68994bad1eaa33f2d2ddf0011ffed878/src/core/Lightmap.tsx
src/core/Lightmap.tsx
/* * Copyright (c) 2021-now Nick Matantsev * Licensed under the MIT license */ import React, { useState, useLayoutEffect, useRef } from 'react'; import * as THREE from 'three'; import { materialIsSupported } from './lightScene'; import { traverseSceneItems, WorkbenchSettings, LIGHTMAP_READONLY_FLAG, LIGHTM...
typescript
MIT
49ceb48e68994bad1eaa33f2d2ddf0011ffed878
2026-01-05T05:00:43.281026Z
false
pmndrs/react-three-lightmap
https://github.com/pmndrs/react-three-lightmap/blob/49ceb48e68994bad1eaa33f2d2ddf0011ffed878/src/core/offscreenWorkflow.tsx
src/core/offscreenWorkflow.tsx
/* * Copyright (c) 2021-now Nick Matantsev * Licensed under the MIT license */ import React, { useState, useLayoutEffect, useRef } from 'react'; import { useThree, createRoot } from '@react-three/fiber'; import * as THREE from 'three'; import { withLightScene } from './lightScene'; import { initializeWorkbench, Wo...
typescript
MIT
49ceb48e68994bad1eaa33f2d2ddf0011ffed878
2026-01-05T05:00:43.281026Z
false
pmndrs/react-three-lightmap
https://github.com/pmndrs/react-three-lightmap/blob/49ceb48e68994bad1eaa33f2d2ddf0011ffed878/src/core/lightProbe.ts
src/core/lightProbe.ts
import * as THREE from 'three'; const tmpOrigin = new THREE.Vector3(); const tmpU = new THREE.Vector3(); const tmpV = new THREE.Vector3(); const tmpNormal = new THREE.Vector3(); const tmpLookAt = new THREE.Vector3(); const tmpProbeBox = new THREE.Vector4(); const tmpPrevClearColor = new THREE.Color(); // used insid...
typescript
MIT
49ceb48e68994bad1eaa33f2d2ddf0011ffed878
2026-01-05T05:00:43.281026Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/vite.config.ts
vite.config.ts
/* vite config is not useable in our setup. Config is defined in .storybook/main.js */ import { defineConfig } from 'vite'; export default defineConfig({});
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/.storybook/preview.ts
.storybook/preview.ts
import { setCustomElementsManifest, type Preview, } from '@storybook/web-components-vite'; import '../packages/uui-css/dist/uui-css.css'; import customElements from '../custom-elements.json'; import { html } from 'lit'; import '@umbraco-ui/uui-icon-registry-essential/lib'; const preview: Preview = { parameters:...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/.storybook/main.ts
.storybook/main.ts
import type { StorybookConfig } from '@storybook/web-components-vite'; import remarkGfm from 'remark-gfm'; import { fileURLToPath } from 'node:url'; const config: StorybookConfig & { managerEntries?: (entry?: string[]) => string[]; } = { stories: [ '../packages/**/*.mdx', '../packages/**/*.story.@(js|jsx|m...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/auth-layout.example.ts
stories/auth/auth-layout.example.ts
import { css, CSSResultGroup, html, LitElement } from 'lit'; import { customElement } from 'lit/decorators.js'; @customElement('uui-auth-layout-example') export class UUIAuthLayoutExample extends LitElement { static styles: CSSResultGroup = [ css` #background { position: fixed; overflow: hi...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/login/login.story.ts
stories/auth/login/login.story.ts
import { StoryFn } from '@storybook/web-components-vite'; import { html } from 'lit'; import '../auth-layout.example.ts'; import './login.example.ts'; export default { id: 'login-example', title: 'Examples/Auth/Login', component: 'uui-login-example', }; export const Login: StoryFn = () => html` <uui-login-ex...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/login/login.example.ts
stories/auth/login/login.example.ts
import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import isChromatic from 'chromatic/isChromatic'; import { css, CSSResultGroup, html, LitElement } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { ifDefined } from 'lit/directives/if-defined.js'; @customElement('uui-login-example') ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/reset-password/reset-password.story.ts
stories/auth/reset-password/reset-password.story.ts
import { StoryFn } from '@storybook/web-components-vite'; import { html } from 'lit'; import '../auth-layout.example.ts'; import './reset-password.example.ts'; export default { id: 'reset-password-example', title: 'Examples/Auth/Reset Password', component: 'uui-reset-password-example', }; export const ResetPas...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/reset-password/reset-password.example.ts
stories/auth/reset-password/reset-password.example.ts
import { css, CSSResultGroup, html, LitElement } from 'lit'; import { customElement } from 'lit/decorators.js'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; @customElement('uui-reset-password-example') export class UUIResetPasswordExample extends LitElement { static styles: CSSResultGroup = [ UUIText...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/new-user/new-user-password.story.ts
stories/auth/new-user/new-user-password.story.ts
import { StoryFn } from '@storybook/web-components-vite'; import { html } from 'lit'; import '../auth-layout.example.ts'; import './new-user-password.example.ts'; export default { id: 'new-user-password-example', title: 'Examples/Auth/New User/Create Password', component: 'uui-new-user-password-example', }; ex...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/auth/new-user/new-user-password.example.ts
stories/auth/new-user/new-user-password.example.ts
import { css, CSSResultGroup, html, LitElement } from 'lit'; import { customElement } from 'lit/decorators.js'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; @customElement('uui-new-user-password-example') export class UUINewUserPasswordExample extends LitElement { static styles: CSSResultGroup = [ UU...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/home/home.story.element.ts
stories/home/home.story.element.ts
import { LitElement, html, css } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; @defineElement('story-home') export class UUIBoxElement extends LitElement { static styles = [ UUITextStyles, css` #app { ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/home/home.story.ts
stories/home/home.story.ts
import type { StoryFn } from '@storybook/web-components-vite'; import { html } from 'lit'; import '@umbraco-ui/uui-symbol-expand/lib'; import '@umbraco-ui/uui-loader-bar/lib'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-input/lib'; import '@umbraco-ui/uui-scroll-container/lib'; 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/stories/scaffolding/app-header/app-header.example.ts
stories/scaffolding/app-header/app-header.example.ts
import { css, CSSResultGroup, html, LitElement } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; @customElement('uui-app-header-example') export class UUIAppHeaderExample extends LitElement { static styles: CSSResultGroup = [ UUITextS...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/stories/scaffolding/app-header/app-header.story.ts
stories/scaffolding/app-header/app-header.story.ts
import { StoryFn } from '@storybook/web-components-vite'; import { html } from 'lit'; import '@umbraco-ui/uui-tabs/lib'; import '@umbraco-ui/uui-icon-registry-essential/lib'; import '@umbraco-ui/uui-symbol-more/lib'; import '@umbraco-ui/uui-menu-item/lib'; import '@umbraco-ui/uui-avatar/lib'; import './app-header.exa...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/test/index.ts
test/index.ts
import { sendMouse } from '@web/test-runner-commands'; export class UUITestMouse { leftClick(targetElement: HTMLElement) { return sendMouse({ type: 'click', position: this.#getCenterCoordinatesOfElement(targetElement), button: 'left', }); } #getCenterCoordinatesOfElement(element: HTMLE...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/types/filesystem.d.ts
types/filesystem.d.ts
declare module '*.css'; declare module '*?raw' { const content: string; export default content; }
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/UmbracoWordGenerator.ts
storyhelpers/UmbracoWordGenerator.ts
import isChromatic from 'chromatic/isChromatic'; export const UmbracoWords: Readonly<string[]> = [ 'Unicorn', 'ModelsBuilder', 'ContentApps', 'Placeholder', 'The Rabbit', 'Content Editor', 'Flipped car', 'Candid Contributions', '#H5YR', 'ICanBeDirty', 'Office hours', 'Infinite Editing', 'Umbr...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/RegionsAndCountries.ts
storyhelpers/RegionsAndCountries.ts
export default [ { name: 'Africa', countries: [ { regionName: 'Africa', subRegionName: 'Northern Africa', countryName: 'Algeria', ISOAlpha3Code: 'DZ', ISOAlpha2Code: 'DZA', flag: 'https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DZ.sv...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
true
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/index.ts
storyhelpers/index.ts
export * from './spread-directive'; export * from './render-slots';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/spread-directive.ts
storyhelpers/spread-directive.ts
/* eslint-disable @typescript-eslint/no-unused-vars */ // @ts-nocheck import { Args, ArgTypes } from '@storybook/web-components'; import { directive, Directive } from 'lit/directive.js'; /** * A directive that spreads the properties of an object onto an element while filtering out certain properties such as events an...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/render-slots.ts
storyhelpers/render-slots.ts
import { Args } from '@storybook/web-components'; import { nothing, TemplateResult } from 'lit'; import { unsafeHTML } from 'lit/directives/unsafe-html.js'; /** * Render a list of slots, filtering out any null or undefined slots to prevent empty lines. * Accepts an array of TemplateResults or an Args object. If an A...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/storybook-readme/manager.ts
storyhelpers/storybook-readme/manager.ts
import { addons, types } from 'storybook/manager-api'; import { ADDON_ID, PANEL_ID } from './constants'; import { ReadmePanel } from './panel'; addons.register(ADDON_ID, () => { addons.add(PANEL_ID, { type: types.PANEL, title: 'Readme', render: ({ active }) => ReadmePanel({ active: active || false }), ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/storybook-readme/panel.tsx
storyhelpers/storybook-readme/panel.tsx
/* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-unused-vars */ import 'github-markdown-css/github-markdown.css'; import { useParameter } from 'storybook/manager-api'; import { AddonPanel } from 'storybook/internal/components'; import React, { useEffect, useState } from '...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/storyhelpers/storybook-readme/constants.ts
storyhelpers/storybook-readme/constants.ts
export const ADDON_ID = 'readme'; export const PANEL_ID = `${ADDON_ID}/panel`; export const PARAM_KEY = 'readme';
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-data-type/lib/uui-ref-node-data-type.test.ts
packages/uui-ref-node-data-type/lib/uui-ref-node-data-type.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import '@umbraco-ui/uui-icon/lib'; import { UUIRefNodeDataTypeElement } from './uui-ref-node-data-type.element'; import '.'; describe('UUIRefNodeDataTypeElement', () => { let element: UUIRefNodeDataTypeElement; beforeEa...
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-data-type/lib/uui-ref-node-data-type.element.ts
packages/uui-ref-node-data-type/lib/uui-ref-node-data-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-data-type * @fires {UUIRefEvent} open - fires when the ref title is clicked ...
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-data-type/lib/uui-ref-node-data-type.story.ts
packages/uui-ref-node-data-type/lib/uui-ref-node-data-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-data-type', component: 'uui-ref-node-data-type', title: 'Display...
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-data-type/lib/index.ts
packages/uui-ref-node-data-type/lib/index.ts
export * from './uui-ref-node-data-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-card-user/lib/uui-card-user.element.ts
packages/uui-card-user/lib/uui-card-user.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement, slotHasContent, } from '@umbraco-ui/uui-base/lib/utils'; import { UUICardElement } from '@umbraco-ui/uui-card/lib'; import { css, html, nothing } from 'lit'; import { property, state } from 'lit/decorators.js'; impo...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-user/lib/uui-card-user.story.ts
packages/uui-card-user/lib/uui-card-user.story.ts
import '.'; import readme from '../README.md?raw'; import '@umbraco-ui/uui-tag/lib/index'; import '@umbraco-ui/uui-button/lib/index'; import '@umbraco-ui/uui-avatar/lib/index'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { spread, renderSlots } from '../../.....
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-user/lib/uui-card-user.test.ts
packages/uui-card-user/lib/uui-card-user.test.ts
import '.'; import { elementUpdated, expect, fixture, html, oneEvent, } from '@open-wc/testing'; import '@umbraco-ui/uui-avatar/lib'; import { UUISelectableEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUICardEvent } from '@umbraco-ui/uui-card/lib'; import { UUICardUserElement } from './uui-card-...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-user/lib/index.ts
packages/uui-card-user/lib/index.ts
export * from './uui-card-user.element';
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-layout/lib/uui-toast-notification-layout.test.ts
packages/uui-toast-notification-layout/lib/uui-toast-notification-layout.test.ts
import '.'; import '@umbraco-ui/uui-button/lib'; import '@umbraco-ui/uui-icon/lib'; import { expect, fixture, html } from '@open-wc/testing'; import { UUIToastNotificationLayoutElement } from './uui-toast-notification-layout.element'; describe('UUIToastNotificationLayoutElement', () => { let element: UUIToastNotif...
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-layout/lib/uui-toast-notification-layout.element.ts
packages/uui-toast-notification-layout/lib/uui-toast-notification-layout.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { css, html, LitElement } from 'lit'; import { property, state } from 'lit/decorators.js'; /** * @element uui-toast-notification-layout * @description - Component for setting the l...
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-layout/lib/index.ts
packages/uui-toast-notification-layout/lib/index.ts
export * from './uui-toast-notification-layout.element';
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-layout/lib/uui-toast-notification-layout.story.ts
packages/uui-toast-notification-layout/lib/uui-toast-notification-layout.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-toast-notification-layout', component: 'uui-toast-notification-layout', t...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-textarea/lib/UUITextareaEvent.ts
packages/uui-textarea/lib/UUITextareaEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUITextareaElement } from './uui-textarea.element'; export class UUITextareaEvent extends UUIEvent<{}, UUITextareaElement> { public static readonly CHANGE: string = 'change'; public static readonly INPUT: string = 'input'; constructor(evName: ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-textarea/lib/uui-textarea.story.ts
packages/uui-textarea/lib/uui-textarea.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-textarea', component: 'uui-textarea', title: 'Inputs/Textarea', args: { label: '...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-textarea/lib/index.ts
packages/uui-textarea/lib/index.ts
export * from './uui-textarea.element'; export * from './UUITextareaEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-textarea/lib/uui-textarea.element.ts
packages/uui-textarea/lib/uui-textarea.element.ts
import { LitElement, html, css } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property, query } from 'lit/decorators.js'; import { UUITextareaEvent } from './UUITextareaEvent'; import { UUIFormControlMixin } from '@umbraco-ui/uui-base/lib/mixins'; import { ifDefined } from...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-textarea/lib/uui-textarea.test.ts
packages/uui-textarea/lib/uui-textarea.test.ts
import { html, fixture, expect, elementUpdated } from '@open-wc/testing'; import { UUITextareaElement } from './uui-textarea.element'; import '.'; describe('UUITextareaElement', () => { let element: UUITextareaElement; beforeEach(async () => { element = await fixture(html` <uui-textarea label="textarea"...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-breadcrumbs/lib/uui-breadcrumb-item.test.ts
packages/uui-breadcrumbs/lib/uui-breadcrumb-item.test.ts
import { expect, fixture, html } from '@open-wc/testing'; import { UUIBreadcrumbItemElement } from './uui-breadcrumb-item.element'; describe('UuiBreadcrumbItem', () => { it('is defined', async () => { const element = await fixture<UUIBreadcrumbItemElement>(html` <uui-breadcrumb-item>One</uui-breadcrumb-it...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-breadcrumbs/lib/uui-breadcrumbs.element.ts
packages/uui-breadcrumbs/lib/uui-breadcrumbs.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { queryAssignedElements } from 'lit/decorators.js'; import { UUIBreadcrumbItemElement } from './uui-breadcrumb-item.element'; /** * A breadcrumbs component to be used in combination with the uui...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-breadcrumbs/lib/uui-breadcrumbs.story.ts
packages/uui-breadcrumbs/lib/uui-breadcrumbs.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-breadcrumbs', component: 'uui-breadcrumbs', title: 'Buttons/Breadcrumbs', render: () => html`<uui-breadcrumbs> <uui-breadc...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-breadcrumbs/lib/index.ts
packages/uui-breadcrumbs/lib/index.ts
export * from './uui-breadcrumbs.element'; export * from './uui-breadcrumb-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-breadcrumbs/lib/uui-breadcrumbs.test.ts
packages/uui-breadcrumbs/lib/uui-breadcrumbs.test.ts
import '.'; import { expect, fixture, html } from '@open-wc/testing'; import { UUIBreadcrumbItemElement } from './uui-breadcrumb-item.element'; import { UUIBreadcrumbsElement } from './uui-breadcrumbs.element'; describe('UuiBreadcrumbs', () => { let element: UUIBreadcrumbsElement; beforeEach(async () => { el...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-breadcrumbs/lib/uui-breadcrumb-item.element.ts
packages/uui-breadcrumbs/lib/uui-breadcrumb-item.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; /** * A breadcrumb-item to be used with the breadcrumbs component. * @element uui-breadcrumb-item * @slot - This slot displays elements inside the bread...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-slider/lib/native-input.styles.ts
packages/uui-slider/lib/native-input.styles.ts
import { css } from 'lit'; export const nativeInputStyles = css` input[type='range'] { left: 0; position: absolute; top: 0; height: 100%; width: 100%; z-index: 2; height: 100%; -webkit-appearance: none; margin: 0px; padding: 0px; border: 0 none; background: transparen...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-slider/lib/uui-slider.element.ts
packages/uui-slider/lib/uui-slider.element.ts
import { UUIHorizontalPulseKeyframes } from '@umbraco-ui/uui-base/lib/animations'; import { UUIFormControlMixin } from '@umbraco-ui/uui-base/lib/mixins'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement, nothing, svg } from 'lit'; import { property, query, state } fr...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-slider/lib/uui-slider.story.ts
packages/uui-slider/lib/uui-slider.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-slider', component: 'uui-slider', title: 'Inputs/Slider', args: { min: -100, ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-slider/lib/UUISliderEvent.ts
packages/uui-slider/lib/UUISliderEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUISliderElement } from './uui-slider.element'; export class UUISliderEvent extends UUIEvent<{}, UUISliderElement> { public static readonly INPUT = 'input'; public static readonly CHANGE = 'change'; constructor(evName: string, eventInit: any |...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-slider/lib/uui-slider.test.ts
packages/uui-slider/lib/uui-slider.test.ts
import '.'; import { elementUpdated, expect, fixture, html, oneEvent, } from '@open-wc/testing'; import { UUISliderElement } from './uui-slider.element'; import { UUISliderEvent } from './UUISliderEvent'; const preventSubmit = (e: SubmitEvent) => { e.preventDefault(); }; describe('UuiSlider', () => { ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-slider/lib/index.ts
packages/uui-slider/lib/index.ts
export * from './uui-slider.element'; export * from './UUISliderEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-media/lib/uui-card-media.element.ts
packages/uui-card-media/lib/uui-card-media.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils'; import { UUICardElement } from '@umbraco-ui/uui-card/lib'; import { css, html, nothing } from 'lit'; import { property, state } from 'lit/decorators.js'; import { ifDefined } from...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-media/lib/uui-card-media.test.ts
packages/uui-card-media/lib/uui-card-media.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import '@umbraco-ui/uui-symbol-folder/lib'; import '@umbraco-ui/uui-symbol-file/lib'; import { UUICardMediaElement } from './uui-card-media.element'; import { UUICardEvent } from '@umbraco-ui/uui-card/lib'; import { UUISelect...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-media/lib/uui-card-media.story.ts
packages/uui-card-media/lib/uui-card-media.story.ts
import '.'; import readme from '../README.md?raw'; import '@umbraco-ui/uui-tag/lib/index'; import '@umbraco-ui/uui-button/lib/index'; import '@umbraco-ui/uui-symbol-file/lib/index'; import '@umbraco-ui/uui-symbol-folder/lib/index'; import { html } from 'lit'; import type { Meta, StoryObj } from '@storybook/web-componen...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-card-media/lib/index.ts
packages/uui-card-media/lib/index.ts
export * from './uui-card-media.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-more/lib/uui-symbol-more.element.ts
packages/uui-symbol-more/lib/uui-symbol-more.element.ts
import { LitElement, svg, css } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; /** * @element uui-symbol-more */ @defineElement('uui-symbol-more') export class UUISymbolMoreElement extends LitElement { render() { return svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-more/lib/uui-symbol-more.story.ts
packages/uui-symbol-more/lib/uui-symbol-more.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-symbol-more', component: 'uui-symbol-more', title: 'Symbols/More', render: () => html`<uui-symbol-more></uui-symbol-more>`, parame...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-more/lib/uui-symbol-more.test.ts
packages/uui-symbol-more/lib/uui-symbol-more.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUISymbolMoreElement } from './uui-symbol-more.element'; import '.'; describe('UUISymbolMoreElement', () => { let element: UUISymbolMoreElement; beforeEach(async () => { element = await fixture(html` <uui-symbol-more></uui-symbol-more> `); }...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-symbol-more/lib/index.ts
packages/uui-symbol-more/lib/index.ts
export * from './uui-symbol-more.element';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input/lib/uui-input.story.ts
packages/uui-input/lib/uui-input.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-input', component: 'uui-input', title: 'Inputs/Input', render: args => ...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input/lib/UUIInputEvent.ts
packages/uui-input/lib/UUIInputEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIInputElement } from './uui-input.element'; export class UUIInputEvent extends UUIEvent<{}, UUIInputElement> { public static readonly CHANGE: string = 'change'; public static readonly INPUT: string = 'input'; constructor(evName: string, even...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input/lib/uui-input.test.ts
packages/uui-input/lib/uui-input.test.ts
import { elementUpdated, expect, fixture, html, oneEvent, } from '@open-wc/testing'; import { UUIInputElement } from './uui-input.element'; import { UUIInputEvent } from './UUIInputEvent'; const preventSubmit = (e: SubmitEvent) => { e.preventDefault(); }; function sleep(ms: number) { return new Promise...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input/lib/index.ts
packages/uui-input/lib/index.ts
export * from './uui-input.element'; export * from './UUIInputEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-input/lib/uui-input.element.ts
packages/uui-input/lib/uui-input.element.ts
import { UUIFormControlMixin, 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, query } from 'lit/decorators.js'; import { ifDefined } from 'lit/directives/if-defined.js'; impo...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/uui-combobox.story.ts
packages/uui-combobox/lib/uui-combobox.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-scroll-container/lib'; import '@umbraco-ui/uui-icon/lib'; import '@umbraco-ui/uui-input/lib'; impo...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/uui-combobox.element.ts
packages/uui-combobox/lib/uui-combobox.element.ts
import { UUIFormControlMixin } from '@umbraco-ui/uui-base/lib/mixins'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils'; import { UUIComboboxListElement, UUIComboboxListEvent, } from '@umbraco-ui/uui-combobox-list/lib'; impor...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/uui-combobox-async-options-example.ts
packages/uui-combobox/lib/uui-combobox-async-options-example.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { html, LitElement } from 'lit'; import { property, state } from 'lit/decorators.js'; interface Fruit { name: string; value: string; } const data: Array<Fruit> = [ { name: 'Apple', value: 'apple' }, { name: 'Orange', value: 'orange'...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/uui-combobox.test.ts
packages/uui-combobox/lib/uui-combobox.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import { UUIComboboxElement } from './uui-combobox.element'; import { UUIComboboxEvent } from './UUIComboboxEvent'; import { UUIComboboxListOptionElement } from '@umbraco-ui/uui-combobox-list/lib'; import '@umbraco-ui/uui-ic...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/uui-combobox-async-example.ts
packages/uui-combobox/lib/uui-combobox-async-example.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { css, html, LitElement, nothing } from 'lit'; import { state } from 'lit/decorators.js'; interface Fruit { name: string; value: string; } const data: Array<Fruit> = [ { name: 'Apple', value: 'apple' }, { name: 'Orange', value: 'ora...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/index.ts
packages/uui-combobox/lib/index.ts
export * from './uui-combobox.element'; export * from './UUIComboboxEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-combobox/lib/UUIComboboxEvent.ts
packages/uui-combobox/lib/UUIComboboxEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIComboboxElement } from './uui-combobox.element'; export class UUIComboboxEvent extends UUIEvent<UUIComboboxElement> { public static readonly SEARCH: string = 'search'; public static readonly CHANGE: string = 'change'; constructor(evName: st...
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/lib/uui-toast-notification.test.ts
packages/uui-toast-notification/lib/uui-toast-notification.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 { UUIButtonElement } from '@umbraco-ui/uui-button/lib/uui-button.element'; import { UUIToastNotificationElement } from './uui-toast-...
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/lib/uui-toast-notification.story.ts
packages/uui-toast-notification/lib/uui-toast-notification.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-toast-notification-layout/lib'; const meta: Meta = { id: '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/lib/uui-toast-notification.element.ts
packages/uui-toast-notification/lib/uui-toast-notification.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { demandCustomElement, Timer } from '@umbraco-ui/uui-base/lib/utils'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { iconRemove } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs'; import { css, html, LitElement } fro...
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/lib/UUIToastNotificationEvent.ts
packages/uui-toast-notification/lib/UUIToastNotificationEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIToastNotificationElement } from './uui-toast-notification.element'; export class UUIToastNotificationEvent extends UUIEvent< {}, UUIToastNotificationElement > { public static readonly OPENING = 'opening'; public static readonly OPENED = '...
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/lib/index.ts
packages/uui-toast-notification/lib/index.ts
export * from './uui-toast-notification.element'; export * from './UUIToastNotificationEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-area/lib/uui-color-area.story.ts
packages/uui-color-area/lib/uui-color-area.story.ts
import type { StoryFn, Meta, StoryObj } from '@storybook/web-components-vite'; import type { UUIColorAreaElement } from './uui-color-area.element'; import '.'; import readme from '../README.md?raw'; import { html } from 'lit'; import { spread } from '../../../storyhelpers'; const meta: Meta = { id: 'uui-color-area',...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-area/lib/uui-color-area.element.ts
packages/uui-color-area/lib/uui-color-area.element.ts
import { colord } from 'colord'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { property, state } from 'lit/decorators.js'; import { classMap } from 'lit/directives/class-map.js'; import { ifDefined } from 'lit/directives/if-defined.js'; import { css, html, LitElement } from 'lit'; imp...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-area/lib/UUIColorAreaEvent.ts
packages/uui-color-area/lib/UUIColorAreaEvent.ts
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events'; import { UUIColorAreaElement } from './uui-color-area.element'; export class UUIColorAreaEvent extends UUIEvent<{}, UUIColorAreaElement> { public static readonly CHANGE = 'change'; constructor(evName: string, eventInit: any | null = {}) { super(evNam...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-area/lib/uui-color-area.test.ts
packages/uui-color-area/lib/uui-color-area.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUIColorAreaElement } from './uui-color-area.element'; describe('UUIColorAreaElement', () => { let element: UUIColorAreaElement; beforeEach(async () => { element = await fixture(html` <uui-color-area></uui-color-area> `); }); it('is defin...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-color-area/lib/index.ts
packages/uui-color-area/lib/index.ts
export * from './uui-color-area.element'; export * from './UUIColorAreaEvent';
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form/lib/uui-form.test.ts
packages/uui-form/lib/uui-form.test.ts
import { expect, fixture, html, oneEvent } from '@open-wc/testing'; import { UUIFormElement } from './uui-form.element'; const preventSubmit = (e: SubmitEvent) => { e.preventDefault(); }; describe('UUIFormElement', () => { let element: UUIFormElement; let formElement: HTMLFormElement; 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-form/lib/uui-form.element.ts
packages/uui-form/lib/uui-form.element.ts
import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { html, LitElement } from 'lit'; /** * @element uui-form * @description uui-form must wrap a native form element. This ensures the User Experiences of the form fits with the Umbraco standard. */ @defineElement('uui-form') export class UUI...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form/lib/uui-form.story.ts
packages/uui-form/lib/uui-form.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-form-layout-item/lib'; import '@umbraco-ui/uui-label/lib'; import '@umbraco-ui/uui-checkbox/lib'; import '@umbraco-ui/uui-slider/lib'; import '@um...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-form/lib/index.ts
packages/uui-form/lib/index.ts
export * from './uui-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-package/lib/uui-ref-node-package.test.ts
packages/uui-ref-node-package/lib/uui-ref-node-package.test.ts
import { html, fixture, expect, oneEvent, elementUpdated, } from '@open-wc/testing'; import '@umbraco-ui/uui-icon/lib'; import { UUIRefNodePackageElement } from './uui-ref-node-package.element'; import '.'; describe('UUIRefNodePackageElement', () => { let element: UUIRefNodePackageElement; beforeEach(as...
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-package/lib/uui-ref-node-package.element.ts
packages/uui-ref-node-package/lib/uui-ref-node-package.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-package * @fires {UUIRefEvent} open - fires when the ref title is clicked *...
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-package/lib/uui-ref-node-package.story.ts
packages/uui-ref-node-package/lib/uui-ref-node-package.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-package', component: 'uui-ref-node-package', title: 'Displays/Re...
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-package/lib/index.ts
packages/uui-ref-node-package/lib/index.ts
export * from './uui-ref-node-package.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-list/lib/uui-ref-list.test.ts
packages/uui-ref-list/lib/uui-ref-list.test.ts
import { html, fixture, expect } from '@open-wc/testing'; import { UUIRefListElement } from './uui-ref-list.element'; import '.'; describe('UUIRefListElement', () => { let element: UUIRefListElement; beforeEach(async () => { element = await fixture(html` <uui-ref-list></uui-ref-list> `); }); it('passes t...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-list/lib/uui-ref-list.element.ts
packages/uui-ref-list/lib/uui-ref-list.element.ts
import { LitElement, html, css } from 'lit'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; /** * @element uui-ref-list */ @defineElement('uui-ref-list') export class UUIRefListElement extends LitElement { render() { return html`<slot></slot>`; } static styles = [ css` :h...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false
umbraco/Umbraco.UI
https://github.com/umbraco/Umbraco.UI/blob/0d855e6203e9ea01c3b231ef55c37fcbddaf24c8/packages/uui-ref-list/lib/uui-ref-list.story.ts
packages/uui-ref-list/lib/uui-ref-list.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 { ArrayOfUmbracoWords } from '../../../storyhelpers/UmbracoWordGenerator'; // TODO: Figure out why we now need to i...
typescript
MIT
0d855e6203e9ea01c3b231ef55c37fcbddaf24c8
2026-01-05T05:00:22.758985Z
false