@grantcodes/ui 2.0.0-beta.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +6 -8
- package/custom-elements.json +4273 -0
- package/package.json +80 -90
- package/src/components/app-bar/app-bar.component.js +90 -0
- package/src/components/app-bar/app-bar.js +8 -0
- package/src/components/app-bar/app-bar.stories.js +84 -0
- package/src/components/app-bar/app-bar.styles.js +227 -0
- package/src/components/app-bar/app-bar.test.js +174 -0
- package/src/components/app-bar/index.js +3 -0
- package/src/components/avatar/avatar.component.js +78 -0
- package/src/components/avatar/avatar.js +18 -0
- package/src/components/avatar/avatar.stories.js +45 -0
- package/src/components/avatar/avatar.styles.js +42 -0
- package/src/components/avatar/avatar.test.js +85 -0
- package/src/components/avatar/index.js +13 -0
- package/src/components/badge/badge.component.js +36 -0
- package/src/components/badge/badge.js +8 -0
- package/src/components/badge/badge.stories.js +46 -0
- package/src/components/badge/badge.styles.js +94 -0
- package/src/components/badge/badge.test.js +70 -0
- package/src/components/badge/index.js +3 -0
- package/src/components/breadcrumb/breadcrumb.component.js +110 -0
- package/src/components/breadcrumb/breadcrumb.js +12 -0
- package/src/components/breadcrumb/breadcrumb.stories.js +25 -0
- package/src/components/breadcrumb/breadcrumb.styles.js +96 -0
- package/src/components/breadcrumb/breadcrumb.test.js +144 -0
- package/src/components/breadcrumb/index.js +3 -0
- package/src/components/button/button.component.js +64 -0
- package/src/components/button/button.js +6 -0
- package/src/components/button/button.stories.js +78 -0
- package/src/components/button/button.styles.js +97 -0
- package/src/components/button/button.test.js +98 -0
- package/src/components/button/index.js +1 -0
- package/src/components/button-group/button-group.component.js +27 -0
- package/src/components/button-group/button-group.js +6 -0
- package/src/components/button-group/button-group.stories.js +33 -0
- package/src/components/button-group/button-group.styles.js +43 -0
- package/src/components/button-group/button-group.test.js +57 -0
- package/src/components/button-group/index.js +1 -0
- package/src/components/card/card.component.js +17 -0
- package/src/components/card/card.js +6 -0
- package/src/components/card/card.stories.js +36 -0
- package/src/components/card/card.styles.js +128 -0
- package/src/components/card/card.test.js +59 -0
- package/src/components/card/index.js +1 -0
- package/src/components/code-preview/code-preview.component.js +53 -0
- package/src/components/code-preview/code-preview.js +7 -0
- package/src/components/code-preview/code-preview.stories.js +67 -0
- package/src/components/code-preview/code-preview.styles.js +18 -0
- package/src/components/code-preview/code-preview.test.js +118 -0
- package/src/components/code-preview/index.js +1 -0
- package/src/components/container/container.component.js +38 -0
- package/src/components/container/container.js +7 -0
- package/src/components/container/container.stories.js +59 -0
- package/src/components/container/container.styles.js +43 -0
- package/src/components/container/container.test.js +84 -0
- package/src/components/container/index.js +1 -0
- package/src/components/dialog/dialog.component.js +78 -0
- package/src/components/dialog/dialog.js +7 -0
- package/src/components/dialog/dialog.stories.js +43 -0
- package/src/components/dialog/dialog.styles.js +74 -0
- package/src/components/dialog/dialog.test.js +97 -0
- package/src/components/dialog/index.js +1 -0
- package/src/components/dropdown/dropdown.component.js +225 -0
- package/src/components/dropdown/dropdown.js +12 -0
- package/src/components/dropdown/dropdown.stories.js +107 -0
- package/src/components/dropdown/dropdown.styles.js +128 -0
- package/src/components/dropdown/dropdown.test.js +144 -0
- package/src/components/dropdown/index.js +3 -0
- package/src/components/dropzone/dropzone.component.js +141 -0
- package/src/components/dropzone/dropzone.js +6 -0
- package/src/components/dropzone/dropzone.stories.js +41 -0
- package/src/components/dropzone/dropzone.styles.js +64 -0
- package/src/components/dropzone/dropzone.test.js +112 -0
- package/src/components/dropzone/index.js +1 -0
- package/src/components/footer/footer-column.component.js +15 -0
- package/src/components/footer/footer-column.styles.js +51 -0
- package/src/components/footer/footer.component.js +38 -0
- package/src/components/footer/footer.js +9 -0
- package/src/components/footer/footer.stories.js +143 -0
- package/src/components/footer/footer.styles.js +90 -0
- package/src/components/footer/footer.test.js +107 -0
- package/src/components/footer/index.js +2 -0
- package/src/components/form-field/form-field.component.js +173 -0
- package/src/components/form-field/form-field.js +7 -0
- package/src/components/form-field/form-field.stories.js +104 -0
- package/src/components/form-field/form-field.styles.js +47 -0
- package/src/components/form-field/form-field.test.js +118 -0
- package/src/components/form-field/index.js +1 -0
- package/src/components/gallery/gallery-image.component.js +52 -0
- package/src/components/gallery/gallery-image.js +7 -0
- package/src/components/gallery/gallery.component.js +25 -0
- package/src/components/gallery/gallery.js +7 -0
- package/src/components/gallery/gallery.stories.js +60 -0
- package/src/components/gallery/gallery.styles.js +56 -0
- package/src/components/gallery/gallery.test.js +58 -0
- package/src/components/gallery/index.js +2 -0
- package/src/components/icon/icon.component.js +14 -0
- package/src/components/icon/icon.js +7 -0
- package/src/components/icon/icon.stories.js +26 -0
- package/src/components/icon/icon.styles.js +28 -0
- package/src/components/icon/icon.test.js +57 -0
- package/src/components/icon/index.js +1 -0
- package/src/components/loading/index.js +1 -0
- package/src/components/loading/loading.component.js +21 -0
- package/src/components/loading/loading.js +7 -0
- package/src/components/loading/loading.stories.js +25 -0
- package/src/components/loading/loading.styles.js +43 -0
- package/src/components/loading/loading.test.js +57 -0
- package/src/components/notice/index.js +1 -0
- package/src/components/notice/notice.component.js +77 -0
- package/src/components/notice/notice.js +7 -0
- package/src/components/notice/notice.stories.js +122 -0
- package/src/components/notice/notice.styles.js +72 -0
- package/src/components/notice/notice.test.js +146 -0
- package/src/components/pagination/index.js +1 -0
- package/src/components/pagination/pagination.component.js +62 -0
- package/src/components/pagination/pagination.js +7 -0
- package/src/components/pagination/pagination.stories.js +34 -0
- package/src/components/pagination/pagination.styles.js +19 -0
- package/src/components/pagination/pagination.test.js +98 -0
- package/src/components/sidebar/index.js +3 -0
- package/src/components/sidebar/sidebar.component.js +165 -0
- package/src/components/sidebar/sidebar.js +8 -0
- package/src/components/sidebar/sidebar.stories.js +155 -0
- package/src/components/sidebar/sidebar.styles.js +192 -0
- package/src/components/sidebar/sidebar.test.js +196 -0
- package/src/components/tabs/index.js +2 -0
- package/src/components/tabs/internal/tabs-button.component.js +39 -0
- package/src/components/tabs/internal/tabs-button.js +7 -0
- package/src/components/tabs/internal/tabs-item.component.js +39 -0
- package/src/components/tabs/tab.component.js +20 -0
- package/src/components/tabs/tab.js +7 -0
- package/src/components/tabs/tabs.component.js +130 -0
- package/src/components/tabs/tabs.js +7 -0
- package/src/components/tabs/tabs.stories.js +39 -0
- package/src/components/tabs/tabs.styles.js +88 -0
- package/src/components/tabs/tabs.test.js +148 -0
- package/src/components/toast/index.js +3 -0
- package/src/components/toast/toast.component.js +187 -0
- package/src/components/toast/toast.js +9 -0
- package/src/components/toast/toast.stories.js +169 -0
- package/src/components/toast/toast.styles.js +207 -0
- package/src/components/toast/toast.test.js +196 -0
- package/src/components/tooltip/index.js +1 -0
- package/src/components/tooltip/tooltip.component.js +70 -0
- package/src/components/tooltip/tooltip.js +7 -0
- package/src/components/tooltip/tooltip.stories.js +33 -0
- package/src/components/tooltip/tooltip.styles.js +78 -0
- package/src/components/tooltip/tooltip.test.js +150 -0
- package/src/css/all.css +1 -0
- package/src/css/base.css +31 -0
- package/src/css/colors.stories.js +192 -0
- package/src/css/elements/a.css +50 -0
- package/src/css/elements/forms/button.css +15 -0
- package/src/css/elements/forms/input.css +183 -0
- package/src/css/elements/forms/label.css +5 -0
- package/src/css/elements/media/image.css +3 -0
- package/src/css/elements.css +5 -0
- package/src/css/elements.stories.js +108 -0
- package/src/css/helpers.css +16 -0
- package/src/css/themes/grantcodes.css +3 -0
- package/src/css/themes/todomap.css +2 -0
- package/src/css/themes/wireframe.css +2 -0
- package/src/css/tokens.stories.js +183 -0
- package/src/css/typography.css +64 -0
- package/src/css/typography.stories.js +179 -0
- package/src/css/util/functions.css +16 -0
- package/src/css/util/index.css +2 -0
- package/src/css/util/mixins.css +63 -0
- package/src/icons.js +3 -0
- package/src/lib/classnames.js +61 -0
- package/src/lib/generate-id.js +10 -0
- package/src/main.js +17 -0
- package/src/test-utils/assert-helpers.js +150 -0
- package/src/test-utils/events.js +88 -0
- package/src/test-utils/fixture.js +77 -0
- package/src/test-utils/index.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js +0 -1
- package/dist/_virtual/index.js +0 -1
- package/dist/_virtual/react.production.min.js +0 -1
- package/dist/_virtual/react.production.min2.js +0 -1
- package/dist/components/avatar/avatar.component.js +0 -3
- package/dist/components/avatar/avatar.js +0 -1
- package/dist/components/avatar/avatar.react.js +0 -1
- package/dist/components/avatar/avatar.scss.js +0 -1
- package/dist/components/avatar/index.js +0 -1
- package/dist/components/button/button.component.js +0 -5
- package/dist/components/button/button.js +0 -1
- package/dist/components/button/button.react.js +0 -1
- package/dist/components/button/button.scss.js +0 -1
- package/dist/components/button/index.js +0 -1
- package/dist/components/button-group/button-group.component.js +0 -5
- package/dist/components/button-group/button-group.js +0 -1
- package/dist/components/button-group/button-group.react.js +0 -1
- package/dist/components/button-group/button-group.scss.js +0 -1
- package/dist/components/button-group/index.js +0 -1
- package/dist/components/card/card.component.js +0 -8
- package/dist/components/card/card.js +0 -1
- package/dist/components/card/card.react.js +0 -1
- package/dist/components/card/card.scss.js +0 -1
- package/dist/components/card/index.js +0 -1
- package/dist/components/code-preview/code-preview.component.js +0 -3
- package/dist/components/code-preview/code-preview.js +0 -1
- package/dist/components/code-preview/code-preview.react.js +0 -1
- package/dist/components/code-preview/code-preview.scss.js +0 -1
- package/dist/components/code-preview/index.js +0 -1
- package/dist/components/container/container.component.js +0 -5
- package/dist/components/container/container.js +0 -1
- package/dist/components/container/container.react.js +0 -1
- package/dist/components/container/container.scss.js +0 -1
- package/dist/components/container/index.js +0 -1
- package/dist/components/dialog/dialog.component.js +0 -23
- package/dist/components/dialog/dialog.js +0 -1
- package/dist/components/dialog/dialog.react.js +0 -1
- package/dist/components/dialog/dialog.scss.js +0 -1
- package/dist/components/dialog/index.js +0 -1
- package/dist/components/dropzone/dropzone.component.js +0 -11
- package/dist/components/dropzone/dropzone.js +0 -1
- package/dist/components/dropzone/dropzone.react.js +0 -1
- package/dist/components/dropzone/dropzone.scss.js +0 -1
- package/dist/components/dropzone/index.js +0 -1
- package/dist/components/form-field/form-field.component.js +0 -22
- package/dist/components/form-field/form-field.js +0 -1
- package/dist/components/form-field/form-field.react.js +0 -1
- package/dist/components/form-field/form-field.scss.js +0 -1
- package/dist/components/form-field/index.js +0 -1
- package/dist/components/gallery/gallery-image.component.js +0 -14
- package/dist/components/gallery/gallery-image.js +0 -1
- package/dist/components/gallery/gallery.component.js +0 -5
- package/dist/components/gallery/gallery.js +0 -1
- package/dist/components/gallery/gallery.react.js +0 -1
- package/dist/components/gallery/gallery.scss.js +0 -1
- package/dist/components/gallery/index.js +0 -1
- package/dist/components/icon/icon.component.js +0 -1
- package/dist/components/icon/icon.js +0 -1
- package/dist/components/icon/icon.react.js +0 -1
- package/dist/components/icon/icon.scss.js +0 -1
- package/dist/components/icon/index.js +0 -1
- package/dist/components/loading/index.js +0 -1
- package/dist/components/loading/loading.component.js +0 -5
- package/dist/components/loading/loading.js +0 -1
- package/dist/components/loading/loading.react.js +0 -1
- package/dist/components/loading/loading.scss.js +0 -1
- package/dist/components/notice/index.js +0 -1
- package/dist/components/notice/notice.component.js +0 -16
- package/dist/components/notice/notice.js +0 -1
- package/dist/components/notice/notice.react.js +0 -1
- package/dist/components/notice/notice.scss.js +0 -1
- package/dist/components/pagination/index.js +0 -1
- package/dist/components/pagination/pagination.component.js +0 -13
- package/dist/components/pagination/pagination.js +0 -1
- package/dist/components/pagination/pagination.react.js +0 -1
- package/dist/components/pagination/pagination.scss.js +0 -1
- package/dist/components/tabs/index.js +0 -1
- package/dist/components/tabs/internal/tabs-button.component.js +0 -13
- package/dist/components/tabs/internal/tabs-button.js +0 -1
- package/dist/components/tabs/internal/tabs-item.component.js +0 -1
- package/dist/components/tabs/tab.component.js +0 -10
- package/dist/components/tabs/tab.js +0 -1
- package/dist/components/tabs/tabs.component.js +0 -22
- package/dist/components/tabs/tabs.js +0 -1
- package/dist/components/tabs/tabs.react.js +0 -1
- package/dist/components/tabs/tabs.scss.js +0 -1
- package/dist/components/tooltip/index.js +0 -1
- package/dist/components/tooltip/tooltip.component.js +0 -10
- package/dist/components/tooltip/tooltip.js +0 -1
- package/dist/components/tooltip/tooltip.react.js +0 -1
- package/dist/components/tooltip/tooltip.scss.js +0 -1
- package/dist/css/base.css +0 -1
- package/dist/css/themes/grantcodes.css +0 -1
- package/dist/fonts/greycliff-bold-oblique.woff +0 -0
- package/dist/fonts/greycliff-bold-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-bold.woff +0 -0
- package/dist/fonts/greycliff-bold.woff2 +0 -0
- package/dist/fonts/greycliff-demi-bold-oblique.woff +0 -0
- package/dist/fonts/greycliff-demi-bold-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-demi-bold.woff +0 -0
- package/dist/fonts/greycliff-demi-bold.woff2 +0 -0
- package/dist/fonts/greycliff-extra-bold-oblique.woff +0 -0
- package/dist/fonts/greycliff-extra-bold-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-extra-bold.woff +0 -0
- package/dist/fonts/greycliff-extra-bold.woff2 +0 -0
- package/dist/fonts/greycliff-extra-light-oblique.woff +0 -0
- package/dist/fonts/greycliff-extra-light-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-extra-light.woff +0 -0
- package/dist/fonts/greycliff-extra-light.woff2 +0 -0
- package/dist/fonts/greycliff-heavy-oblique.woff +0 -0
- package/dist/fonts/greycliff-heavy-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-heavy.woff +0 -0
- package/dist/fonts/greycliff-heavy.woff2 +0 -0
- package/dist/fonts/greycliff-light-oblique.woff +0 -0
- package/dist/fonts/greycliff-light-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-light.woff +0 -0
- package/dist/fonts/greycliff-light.woff2 +0 -0
- package/dist/fonts/greycliff-medium-oblique.woff +0 -0
- package/dist/fonts/greycliff-medium-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-medium.woff +0 -0
- package/dist/fonts/greycliff-medium.woff2 +0 -0
- package/dist/fonts/greycliff-regular-oblique.woff +0 -0
- package/dist/fonts/greycliff-regular-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-regular.woff +0 -0
- package/dist/fonts/greycliff-regular.woff2 +0 -0
- package/dist/fonts/greycliff-thin-oblique.woff +0 -0
- package/dist/fonts/greycliff-thin-oblique.woff2 +0 -0
- package/dist/fonts/greycliff-thin.woff +0 -0
- package/dist/fonts/greycliff-thin.woff2 +0 -0
- package/dist/icons.js +0 -1
- package/dist/lib/generate-id.js +0 -1
- package/dist/main.js +0 -1
- package/dist/node_modules/react/cjs/react.production.min.js +0 -9
- package/dist/node_modules/react/index.js +0 -1
- package/dist/react.js +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{LitElement as f,html as o,unsafeCSS as u}from"lit";import{property as a,queryAssignedElements as d,customElement as c}from"lit/decorators.js";import m from"./form-field.scss.js";import b from"classnames";import{generateId as y}from"../../lib/generate-id.js";var g=Object.defineProperty,I=Object.getOwnPropertyDescriptor,i=(e,s,p,l)=>{for(var r=l>1?void 0:l?I(s,p):s,n=e.length-1,h;n>=0;n--)(h=e[n])&&(r=(l?h(s,p,r):h(r))||r);return l&&r&&g(s,p,r),r};let t=class extends f{constructor(){super(),this.label="",this.inlineInput=!1,this.groupInput=!1,this.id||(this.id=y("form-field"))}get errorId(){return`${this.id}-error`}get helpId(){return`${this.id}-help`}get ariaDescribedBy(){const e=[];return this.error&&e.push(this.errorId),this.help&&e.push(this.helpId),e.join(" ")}firstUpdated(){const e=this.inputElements[0];this.nestedFields.length>0&&(this.groupInput=!0,this.requestUpdate()),e&&(e.id=this.id,e.setAttribute("aria-describedby",this.ariaDescribedBy),(e.type==="checkbox"||e.type==="radio")&&(this.inlineInput=!0,this.requestUpdate()))}handleLabelClick(){const e=this.inputElements[0];e&&(e.focus(),e instanceof HTMLInputElement&&(e.type==="checkbox"||e.type==="radio")&&(e.checked=!e.checked))}errorTemplate(){return this.error?o`
|
|
2
|
-
<p class="form-field__error" id=${this.errorId}>Error: ${this.error}</p>
|
|
3
|
-
`:""}helpTemplate(){return this.help?o`
|
|
4
|
-
<span class="form-field__help" id=${this.helpId}>${this.help}</span>
|
|
5
|
-
`:""}groupTemplate({className:e}){return o`
|
|
6
|
-
<fieldset class="${e}">
|
|
7
|
-
<legend class="form-field__label">${this.label}</legend>
|
|
8
|
-
<slot></slot>
|
|
9
|
-
${this.errorTemplate()}
|
|
10
|
-
</fieldset>
|
|
11
|
-
`}render(){const e=b("form-field",{"form-field--inline":this.inlineInput});return this.groupInput?this.groupTemplate({className:e}):o`
|
|
12
|
-
<div class="${e}">
|
|
13
|
-
<label>
|
|
14
|
-
<span class="form-field__label" @click=${this.handleLabelClick}
|
|
15
|
-
>${this.label}</span
|
|
16
|
-
>
|
|
17
|
-
${this.helpTemplate()}
|
|
18
|
-
<slot></slot>
|
|
19
|
-
</label>
|
|
20
|
-
${this.errorTemplate()}
|
|
21
|
-
</div>
|
|
22
|
-
`}};t.formAssociated=!0;t.styles=[u(m)];i([a({type:String})],t.prototype,"label",2);i([a({type:String})],t.prototype,"error",2);i([a({type:String})],t.prototype,"help",2);i([d({selector:"input, select, textarea"})],t.prototype,"inputElements",2);i([d({selector:"grantcodes-form-field"})],t.prototype,"nestedFields",2);t=i([c("grantcodes-form-field")],t);export{t as GrantCodesFormField};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesFormField as o}from"./form-field.component.js";const e=o;export{o as GrantCodesFormField,e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from"../../node_modules/react/index.js";import{createComponent as o}from"@lit/react";import{GrantCodesFormField as r}from"./form-field.component.js";const a=o({tagName:"grantcodes-form-field",elementClass:r,react:e});export{a as FormField};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e="*,*:before,*:after{box-sizing:border-box}:host{display:block}.form-field{display:flex;flex-direction:column;gap:.25rem;padding:0;margin:0;border:none}.form-field label,.form-field slot{display:flex;flex-direction:column;gap:inherit}.form-field--inline label{flex-direction:row-reverse;align-items:center;justify-content:flex-end}.form-field__label{margin:0;padding:0}.form-field__label:where(legend){margin-bottom:.25rem}.form-field__help{font-size:var(--font-size-small);opacity:.7}.form-field__error{margin:0;font-size:var(--font-size-small);color:var(--color-base-error-700)}";export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./form-field.js";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{LitElement as g,html as h,unsafeCSS as c}from"lit";import{property as i,customElement as m}from"lit/decorators.js";import y from"./gallery.scss.js";var u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,r=(n,p,o,s)=>{for(var e=s>1?void 0:s?f(p,o):p,a=n.length-1,l;a>=0;a--)(l=n[a])&&(e=(s?l(p,o,e):l(e))||e);return s&&e&&u(p,o,e),e};let t=class extends g{constructor(){super(...arguments),this.width=0,this.height=0,this.src="",this.alt="",this.caption="",this.thumbnail=""}captionTemplate(){if(this.caption)return h`
|
|
2
|
-
<figcaption class="gallery__image__caption">${this.caption}</figcaption>
|
|
3
|
-
`}render(){return h`
|
|
4
|
-
<figure class="gallery__image">
|
|
5
|
-
<img
|
|
6
|
-
width=${this.width}
|
|
7
|
-
height=${this.height}
|
|
8
|
-
src=${this.src}
|
|
9
|
-
alt=${this.alt}
|
|
10
|
-
loading="lazy"
|
|
11
|
-
/>
|
|
12
|
-
${this.captionTemplate()}
|
|
13
|
-
</figure>
|
|
14
|
-
`}};t.styles=[c(y)];r([i({type:Number})],t.prototype,"width",2);r([i({type:Number})],t.prototype,"height",2);r([i({type:String})],t.prototype,"src",2);r([i({type:String})],t.prototype,"alt",2);r([i({type:String})],t.prototype,"caption",2);r([i({type:String})],t.prototype,"thumbnail",2);t=r([m("grantcodes-gallery-image")],t);export{t as GrantCodesGalleryImage};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesGalleryImage as a}from"./gallery-image.component.js";const r=a;export{a as GrantCodesGalleryImage,r as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{LitElement as p,html as g,unsafeCSS as y}from"lit";import{queryAssignedElements as c,customElement as f}from"lit/decorators.js";import i from"./gallery.scss.js";var v=Object.defineProperty,_=Object.getOwnPropertyDescriptor,n=(m,r,t,l)=>{for(var e=l>1?void 0:l?_(r,t):r,o=m.length-1,a;o>=0;o--)(a=m[o])&&(e=(l?a(r,t,e):a(e))||e);return l&&e&&v(r,t,e),e};let s=class extends p{render(){return g`
|
|
2
|
-
<div class="gallery">
|
|
3
|
-
<slot class="gallery__slot"></slot>
|
|
4
|
-
</div>
|
|
5
|
-
`}};s.styles=[y(i)];n([c({selector:"grantcodes-gallery-image"})],s.prototype,"images",2);s=n([f("grantcodes-gallery")],s);export{s as GrantCodesGallery};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesGallery as a}from"./gallery.component.js";const e=a;export{a as GrantCodesGallery,e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from"../../node_modules/react/index.js";import{createComponent as r}from"@lit/react";import{GrantCodesGallery as o}from"./gallery.component.js";const m=r({tagName:"grantcodes-gallery",elementClass:o,react:e});export{m as Gallery};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const l="*,*:before,*:after{box-sizing:border-box}:host{display:block}.gallery{display:block}.gallery__slot{display:grid;grid-template-columns:repeat(var(--gallery-columns, 3),1fr);width:100%;flex-direction:row;flex-wrap:wrap;gap:var(--gallery-gap, 0)}.gallery__slot>*{display:block;width:100%}.gallery--has-lightbox>*{cursor:pointer}.gallery__image{position:relative;width:100%;display:block;flex-direction:column;margin:0}.gallery__image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center}.gallery__image__caption{position:absolute;top:0;right:0;bottom:0;left:0;inset-block-start:auto;background-color:#0006;padding-inline:.5em;padding-block:.3em;line-height:1.2;color:#fff}";export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./gallery.js";import"./gallery-image.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{LitElement as m,html as f,unsafeCSS as l}from"lit";import{property as a,customElement as u}from"lit/decorators.js";import{unsafeHTML as v}from"lit/directives/unsafe-html.js";import _ from"./icon.scss.js";var y=Object.defineProperty,h=Object.getOwnPropertyDescriptor,i=(c,e,s,t)=>{for(var r=t>1?void 0:t?h(e,s):e,n=c.length-1,p;n>=0;n--)(p=c[n])&&(r=(t?p(e,s,r):p(r))||r);return t&&r&&y(e,s,r),r};let o=class extends m{constructor(){super(...arguments),this.icon=""}render(){return f`<span class="icon">${v(this.icon)}</span>`}};o.styles=[l(_)];i([a({type:String})],o.prototype,"icon",2);o=i([u("grantcodes-icon")],o);export{o as GrantCodesIcon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesIcon as o}from"./icon.component.js";const a=o;export{o as GrantCodesIcon,a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as o from"../../node_modules/react/index.js";import{createComponent as e}from"@lit/react";import{GrantCodesIcon as t}from"./icon.component.js";const m=e({tagName:"grantcodes-icon",elementClass:t,react:o});export{m as Icon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o="*,*:before,*:after{box-sizing:border-box}:host{display:block}.icon{display:inline-block;color:inherit;width:1em;height:1em}.icon svg{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.icon svg:not([fill]){fill:currentColor}.icon svg:not([stoke]){stroke:currentColor}";export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./icon.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./loading.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{LitElement as p,html as m,unsafeCSS as f}from"lit";import{customElement as i}from"lit/decorators.js";import c from"./loading.scss.js";var d=Object.defineProperty,v=Object.getOwnPropertyDescriptor,_=(a,r,t,s)=>{for(var e=s>1?void 0:s?v(r,t):r,o=a.length-1,l;o>=0;o--)(l=a[o])&&(e=(s?l(r,t,e):l(e))||e);return s&&e&&d(r,t,e),e};let n=class extends p{render(){return m`
|
|
2
|
-
<span class="loading">
|
|
3
|
-
<slot></slot>
|
|
4
|
-
</span>
|
|
5
|
-
`}};n.styles=[f(c)];n=_([i("grantcodes-loading")],n);export{n as GrantCodesLoading};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesLoading as a}from"./loading.component.js";const d=a;export{a as GrantCodesLoading,d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as o from"../../node_modules/react/index.js";import{createComponent as e}from"@lit/react";import{GrantCodesLoading as t}from"./loading.component.js";const n=e({tagName:"grantcodes-loading",elementClass:t,react:o});export{n as Loading};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const i="*,*:before,*:after{box-sizing:border-box}:host{display:block}:host{--height: .5rem;--inner-width: 40%;--starting-position: calc(0% - (var(--inner-width) * 2));--ending-position: calc(100% + (var(--inner-width) * 2))}.loading{display:block;height:var(--height);border-radius:calc(var(--height) / 2);overflow:hidden;padding-top:var(--height);background-repeat:no-repeat;background-color:var(--color-base-primary-500);background-image:linear-gradient(to right,transparent 0%,var(--color-base-secondary-500) 10%,var(--color-base-secondary-500) 90%,transparent 100%);background-size:var(--inner-width) 100%;background-position-x:var(--starting-position);animation:loading 2s linear infinite;font-size:0}@keyframes loading{0%{background-position-x:var(--starting-position)}to{background-position-x:var(--ending-position)}}";export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./notice.js";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{LitElement as p,html as r,unsafeCSS as d}from"lit";import{property as m,customElement as f}from"lit/decorators.js";import h from"classnames";import u from"./notice.scss.js";import{GrantCodesIcon as v}from"../icon/icon.component.js";import"../../icons.js";import{Info as _,CheckCircle2 as C,AlertCircle as g,XCircle as $,X as b}from"lucide-static";var y=Object.defineProperty,D=Object.getOwnPropertyDescriptor,n=(s,i,c,o)=>{for(var t=o>1?void 0:o?D(i,c):i,a=s.length-1,l;a>=0;a--)(l=s[a])&&(t=(o?l(i,c,t):l(t))||t);return o&&t&&y(i,c,t),t};const w={info:_,success:C,warning:g,error:$};let e=class extends p{constructor(){super(...arguments),this.variant="info",this.title="",this.dismissable=!1}onDismiss(s){document.startViewTransition?document.startViewTransition(()=>{this.remove()}):this.remove()}renderDismiss(){return this.dismissable?r`
|
|
2
|
-
<button class="notice__close" @click=${this.onDismiss}>
|
|
3
|
-
<grantcodes-icon icon="${b}" title="Close Notice"></grantcodes-icon>
|
|
4
|
-
</button>
|
|
5
|
-
`:r``}render(){const s=w[this.variant];return r`
|
|
6
|
-
<aside class="${h("notice",`notice--${this.variant}`)}">
|
|
7
|
-
<grantcodes-icon icon="${s}" class="notice__icon"></grantcodes-icon>
|
|
8
|
-
|
|
9
|
-
<div class="notice__content">
|
|
10
|
-
${this.title&&r`<h2 class="notice__title">${this.title}</h2>`}
|
|
11
|
-
<p><slot></slot></p>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
${this.renderDismiss()}
|
|
15
|
-
</aside>
|
|
16
|
-
`}};e.dependencies={"grancodes-icon":v};e.styles=[d(u)];n([m()],e.prototype,"variant",2);n([m()],e.prototype,"title",2);n([m({type:Boolean})],e.prototype,"dismissable",2);e=n([f("grantcodes-notice")],e);export{e as GrantCodesNotice};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesNotice as o}from"./notice.component.js";const e=o;export{o as GrantCodesNotice,e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from"../../node_modules/react/index.js";import{createComponent as o}from"@lit/react";import{GrantCodesNotice as t}from"./notice.component.js";const a=o({tagName:"grantcodes-notice",elementClass:t,react:e});export{a as Notice};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o="*,*:before,*:after{box-sizing:border-box}:host{display:block}.notice{display:flex;flex-direction:row;align-items:flex-start;gap:1rem;padding:1rem;border-radius:.25rem;view-transition-name:notice;transition:opacity .5s}.notice--info{color:var(--color-base-info-900);background-color:var(--color-base-info-100)}.notice--success{color:var(--color-base-success-900);background-color:var(--color-base-success-100)}.notice--warning{color:var(--color-base-warning-900);background-color:var(--color-base-warning-100)}.notice--error{color:var(--color-base-error-900);background-color:var(--color-base-error-100)}.notice__title{font-size:1rem;margin:0}.notice__icon{font-size:calc(var(--font-line-height-body) * 1em)}.notice__content{flex-grow:1}.notice__close{background:none;color:inherit;opacity:.5;transition:.2s;font-size:calc(var(--font-line-height-body) * 1em);line-height:1;padding:.5rem;margin:-.5rem -.5rem 0 0;border:0}.notice__close:hover,.notice__close:focus-visible{background:none;color:inherit;opacity:1}.notice p{margin:0}";export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./pagination.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{LitElement as l,html as s,unsafeCSS as v}from"lit";import{property as f,customElement as m}from"lit/decorators.js";import c from"./pagination.scss.js";import{GrantCodesButton as g}from"../button/button.component.js";var h=Object.defineProperty,b=Object.getOwnPropertyDescriptor,p=(u,r,o,n)=>{for(var e=n>1?void 0:n?b(r,o):r,a=u.length-1,i;a>=0;a--)(i=u[a])&&(e=(n?i(r,o,e):i(e))||e);return n&&e&&h(r,o,e),e};let t=class extends l{nextTemplate(){return this.nextHref?s`
|
|
2
|
-
<grantcodes-button class="pagination__next" href=${this.nextHref}
|
|
3
|
-
>Next</grantcodes-button
|
|
4
|
-
>
|
|
5
|
-
`:""}previousTemplate(){return this.previousHref?s`
|
|
6
|
-
<grantcodes-button class="pagination__previous" href=${this.previousHref}
|
|
7
|
-
>Previous</grantcodes-button
|
|
8
|
-
>
|
|
9
|
-
`:""}render(){return s`
|
|
10
|
-
<nav class="pagination" aria-label="Pagination navigation">
|
|
11
|
-
${this.previousTemplate()} ${this.nextTemplate()}
|
|
12
|
-
</nav>
|
|
13
|
-
`}};t.styles=[v(c)];t.dependencies={"grantcodes-button":g};p([f({attribute:"previous-href"})],t.prototype,"previousHref",2);p([f({attribute:"next-href"})],t.prototype,"nextHref",2);t=p([m("grantcodes-pagination")],t);export{t as GrantCodesPagination};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesPagination as a}from"./pagination.component.js";const o=a;export{a as GrantCodesPagination,o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as o from"../../node_modules/react/index.js";import{createComponent as t}from"@lit/react";import{GrantCodesPagination as a}from"./pagination.component.js";const r=t({tagName:"grantcodes-pagination",elementClass:a,react:o});export{r as Pagination};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const i="*,*:before,*:after{box-sizing:border-box}:host{display:block}.pagination{display:flex;flex-direction:row;align-items:center}.pagination__next{margin-inline-start:auto}.pagination__previous{margin-inline-end:auto}";export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./tabs.js";import"./tab.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{GrantCodesTabsItem as l}from"./tabs-item.component.js";import{html as p,LitElement as b,unsafeCSS as m}from"lit";import{customElement as c}from"lit/decorators.js";import{ifDefined as d}from"lit/directives/if-defined.js";import f from"../tabs.scss.js";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=(n,e,r,s)=>{for(var t=s>1?void 0:s?v(e,r):e,a=n.length-1,i;a>=0;a--)(i=n[a])&&(t=(s?i(e,r,t):i(t))||t);return s&&t&&u(e,r,t),t};let o=class extends l{render(){return p`
|
|
2
|
-
<button
|
|
3
|
-
id="${this.buttonId}"
|
|
4
|
-
type="button"
|
|
5
|
-
role="tab"
|
|
6
|
-
?aria-selected=${this.active}
|
|
7
|
-
aria-controls="${this.panelId}"
|
|
8
|
-
tabindex=${d(this.active?void 0:"-1")}
|
|
9
|
-
class="tabs__tab ${this.active?"is-active":""}"
|
|
10
|
-
>
|
|
11
|
-
<span>${this.label}</span>
|
|
12
|
-
</button>
|
|
13
|
-
`}};o.shadowRootOptions={...b.shadowRootOptions,delegatesFocus:!0};o.styles=[m(f)];o=h([c("grantcodes-tabs-button")],o);export{o as GrantCodesTabsButton};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesTabsButton as t}from"./tabs-button.component.js";const o=t;export{t as GrantCodesTabsButton,o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{LitElement as y,html as c}from"lit";import{property as e}from"lit/decorators.js";var u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,r=(i,o,s,p)=>{for(var t=p>1?void 0:p?d(o,s):o,a=i.length-1,l;a>=0;a--)(l=i[a])&&(t=(p?l(o,s,t):l(t))||t);return p&&t&&u(o,s,t),t};class n extends y{constructor(){super(...arguments),this.active=!1,this.label="",this.index=-1,this.containerId=""}get buttonId(){return`${this.containerId}-button-${this.index.toString()}`}get panelId(){return`${this.containerId}-panel-${this.index.toString()}`}get content(){return this.label}render(){return c``}}r([e({type:Boolean})],n.prototype,"active",2);r([e({type:String})],n.prototype,"label",2);r([e({type:Number})],n.prototype,"index",2);r([e({type:String})],n.prototype,"containerId",2);r([e({type:String,reflect:!0})],n.prototype,"buttonId",1);r([e({type:String})],n.prototype,"panelId",1);r([e({type:String})],n.prototype,"content",1);export{n as GrantCodesTabsItem};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{GrantCodesTabsItem as n}from"./internal/tabs-item.component.js";import{html as p,unsafeCSS as m}from"lit";import{customElement as b}from"lit/decorators.js";import f from"./tabs.scss.js";var v=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=(i,t,s,r)=>{for(var e=r>1?void 0:r?d(t,s):t,a=i.length-1,l;a>=0;a--)(l=i[a])&&(e=(r?l(t,s,e):l(e))||e);return r&&e&&v(t,s,e),e};let o=class extends n{render(){return p`
|
|
2
|
-
<div
|
|
3
|
-
id="${this.panelId}"
|
|
4
|
-
role="tabpanel"
|
|
5
|
-
aria-labelledby="${this.buttonId}"
|
|
6
|
-
class="tabs__panel ${this.active?"is-active":""}"
|
|
7
|
-
>
|
|
8
|
-
<slot></slot>
|
|
9
|
-
</div>
|
|
10
|
-
`}};o.styles=[m(f)];o=c([b("grantcodes-tab")],o);export{o as GrantCodesTab};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesTab as a}from"./tab.component.js";const s=a;export{a as GrantCodesTab,s as default};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{LitElement as l,html as d,unsafeCSS as c}from"lit";import{property as h,queryAssignedElements as f,queryAll as u,state as p,customElement as v}from"lit/decorators.js";import{ifDefined as T}from"lit/directives/if-defined.js";import m from"./tabs.scss.js";import"./internal/tabs-button.js";import{generateId as y}from"../../lib/generate-id.js";var _=Object.defineProperty,x=Object.getOwnPropertyDescriptor,n=(t,e,s,i)=>{for(var a=i>1?void 0:i?x(e,s):e,o=t.length-1,b;o>=0;o--)(b=t[o])&&(a=(i?b(e,s,a):b(a))||a);return i&&a&&_(e,s,a),a};let r=class extends l{constructor(){super(),this.focusedTabIndex=-1,this.id||(this.id=y("tabs"))}get activeTab(){return this.tabs.find(t=>t.active)??null}set activeTab(t){this.tabs.forEach((e,s)=>{e===t?(e.active=!0,this.focusedTabIndex=s):e.active=!1}),this.requestUpdate()}initializeTabs(){this.tabs.forEach((t,e)=>{t.index=e,t.containerId=this.id}),this.activeTab==null&&(this.focusedTabIndex=0,this.activeTab=this.tabs[0])}firstUpdated(){this.initializeTabs()}handleTabKeyDown(t){if(t.key==="ArrowRight"||t.key==="ArrowLeft"){t.preventDefault();const e=this.tabs,s=t.key==="ArrowRight"?(this.focusedTabIndex+1)%e.length:this.focusedTabIndex-1,i=this.tabButtons[s];i&&(i.focus(),this.focusedTabIndex=s)}}renderTabButtons(){return this.tabs.map((t,e)=>d`
|
|
2
|
-
<grantcodes-tabs-button
|
|
3
|
-
index=${e+1}
|
|
4
|
-
label="${t.label}"
|
|
5
|
-
containerId="${this.id}"
|
|
6
|
-
?active=${t.active}
|
|
7
|
-
@click=${()=>{this.activeTab=t}}
|
|
8
|
-
@keydown=${this.handleTabKeyDown}
|
|
9
|
-
></grantcodes-tabs-button>
|
|
10
|
-
`)}render(){return d`
|
|
11
|
-
<div class="tabs" id="${this.id}">
|
|
12
|
-
<div role="tablist" class="tabs__tablist" aria-label=${T(this.label)}>
|
|
13
|
-
<div class="tabs__tablist__inner">
|
|
14
|
-
${this.renderTabButtons()}
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<div class="tabs__panels">
|
|
19
|
-
<slot></slot>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
`}};r.styles=[c(m)];n([h({type:String})],r.prototype,"label",2);n([f({selector:"grantcodes-tab"})],r.prototype,"tabs",2);n([u("grantcodes-tabs-button")],r.prototype,"tabButtons",2);n([p()],r.prototype,"focusedTabIndex",2);r=n([v("grantcodes-tabs")],r);export{r as GrantCodesTabs};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesTabs as a}from"./tabs.component.js";const o=a;export{a as GrantCodesTabs,o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as t from"../../node_modules/react/index.js";import{createComponent as e}from"@lit/react";import{GrantCodesTabs as o}from"./tabs.component.js";const m=e({tagName:"grantcodes-tabs",elementClass:o,react:t});export{m as Tabs};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o="*,*:before,*:after{box-sizing:border-box}:host{display:block}.tabs{display:block}.tabs__tablist{overflow:auto;contain:none}.tabs__tablist::-webkit-scrollbar{width:.5rem;height:.5rem}.tabs__tablist::-webkit-scrollbar-track{background-color:#0000000d;border-radius:.25rem}.tabs__tablist::-webkit-scrollbar-thumb{border-radius:.25rem;min-height:2rem;background-color:#0000004d}.tabs__tablist__inner{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;width:fit-content;min-width:100%;background-image:linear-gradient(var(--color-base-primary-100),var(--color-base-primary-100));background-size:auto 3px;background-position:bottom;background-repeat:repeat-x}.tabs__tab{padding:.6em 1.2em;line-height:1;font-size:1rem;border:none;border-block-start:3px solid transparent;border-block-end:3px solid var(--color-base-primary-100);opacity:.7;white-space:nowrap;cursor:pointer;transition:opacity .2s,border-color .2s;--component-focus-ring-offset: calc(var(--component-focus-ring-width) * -1);outline-color:transparent;outline-offset:var(--component-focus-ring-offset, 0px);outline-style:solid;outline-width:var(--component-focus-ring-width, 2px)}.tabs__tab:focus-visible{outline-color:var(--component-focus-ring-color)}@media (prefers-contrast: more){.tabs__tab:focus-visible{--component-focus-ring-color: var(--color-base-primary-200);box-shadow:0 0 0 calc((var(--component-focus-ring-width) + var(--component-focus-ring-offset, 0px)) * 1.5) var(--color-base-primary-800)}}@media (min-width: 40em){.tabs__tab{padding-inline:var(--size-space-unit, 1rem)}}.tabs__tab:hover,.tabs__tab:focus-visible{opacity:1;border-block-end-color:var(--color-base-primary-200)}.tabs__tab.is-active,.tabs__tab[aria-selected=true]{border-block-end-color:var(--color-base-primary-500);z-index:1;position:relative;opacity:1}.tabs__panel{margin-block-start:var(--size-space-unit, 1rem);outline-color:var(--color-base-primary-500);outline-offset:var(--size-space-unit, 1rem);display:none}.tabs__panel.is-active{display:block}";export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./tooltip.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{LitElement as a,html as c,unsafeCSS as h}from"lit";import{property as d,queryAssignedElements as b,customElement as f}from"lit/decorators.js";import m from"./tooltip.scss.js";import{generateId as u}from"../../lib/generate-id.js";var v=Object.defineProperty,y=Object.getOwnPropertyDescriptor,r=(i,t,l,s)=>{for(var e=s>1?void 0:s?y(t,l):t,p=i.length-1,n;p>=0;p--)(n=i[p])&&(e=(s?n(t,l,e):n(e))||e);return s&&e&&v(t,l,e),e};let o=class extends a{constructor(){super(),this.label="",this.description="",this.id=u("tooltip")}firstUpdated(){var t;const i=(t=this.slotted)==null?void 0:t[0];i&&(this.label?i.setAttribute("aria-labelledby",this.id):this.description&&i.setAttribute("aria-describedby",this.id))}render(){if(this.label&&this.description)throw new Error("You cannot provide both a label and a description");return c`
|
|
2
|
-
<div class="tooltip">
|
|
3
|
-
<div class="tooltip__slot">
|
|
4
|
-
<slot></slot>
|
|
5
|
-
</div>
|
|
6
|
-
<p id="${this.id}" class="tooltip__content" role="tooltip">
|
|
7
|
-
${this.label||this.description}
|
|
8
|
-
</p>
|
|
9
|
-
</div>
|
|
10
|
-
`}};o.styles=[h(m)];r([d({type:String})],o.prototype,"label",2);r([d({type:String})],o.prototype,"description",2);r([b({selector:"*"})],o.prototype,"slotted",2);o=r([f("grantcodes-tooltip")],o);export{o as GrantCodesTooltip};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GrantCodesTooltip as o}from"./tooltip.component.js";const a=o;export{o as GrantCodesTooltip,a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as o from"../../node_modules/react/index.js";import{createComponent as t}from"@lit/react";import{GrantCodesTooltip as e}from"./tooltip.component.js";const a=t({tagName:"grantcodes-tooltip",elementClass:e,react:o});export{a as Tooltip};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t="*,*:before,*:after{box-sizing:border-box}:host{display:block}:host,.tooltip,.tooltip__slot{width:fit-content}.tooltip{position:relative}.tooltip__slot{padding:.5rem;margin:-.5rem}.tooltip__content{display:none;position:absolute;width:fit-content;margin:0;max-width:100%;min-width:6rem;top:100%;left:50%;transform:translate(-50%);z-index:100;border-radius:var(--size-border-radius);padding:.6em 1em;font-size:var(--font-size-small);line-height:1;color:var(--color-base-primary-900);background-color:var(--color-base-primary-100);box-shadow:.2rem .4rem .8rem #0003;-webkit-user-select:none;user-select:none;text-align:center;opacity:0;transition:opacity .2s;transition-behavior:allow-discrete}.tooltip__slot:hover+.tooltip__content,.tooltip__slot:focus+.tooltip__content,.tooltip__slot:focus-within+.tooltip__content{display:block;opacity:1}";export{t as default};
|
package/dist/css/base.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}:where(button,input,select,textarea){background-color:transparent;border:1px solid WindowFrame;color:inherit;font:inherit;letter-spacing:inherit;padding:.25em .375em}:where(select){-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E") no-repeat right center/1em;border-radius:0;padding-right:1em}:where(select[multiple]){background-image:none}:where([type=color i],[type=range i]){border-width:0;padding:0}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}code,kbd,samp,pre{font-family:ui-monospace,Menlo,Consolas,Roboto Mono,"Ubuntu Monospace",Noto Mono,Oxygen Mono,Liberation Mono,monospace,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important}}:root{font-family:var(--font-family-body);line-height:var(--font-line-height-body);font-size:var(--font-size-base);font-weight:var(--font-weight-body)}h1,h2,h3,h4,h5,h6{line-height:var(--font-line-height-heading);font-weight:var(--font-weight-heading);text-wrap:balance}h1{font-size:var(--font-size-huge)}h2{font-size:var(--font-size-large)}h3{font-size:var(--font-size-medium)}h4{font-size:var(--font-size-normal)}h5{font-size:var(--font-size-small)}h6{font-size:var(--font-size-tiny)}p{text-wrap:pretty}pre{font-family:var(--font-family-monospace);line-height:1.2;width:100%;overflow:auto;border-radius:var(--component-card-border-radius);box-shadow:.1rem .2rem .4rem #0000001a;font-size:var(--font-size-normal);font-weight:400;padding:var(--size-space-unit, 1rem)}mark{background-color:var(--color-base-secondary-300)}a{color:var(--color-base-primary-500);text-decoration:underline;transition:color .2s,opacity .2s}a:visited{opacity:.6}a:hover,a:focus-visible{opacity:1;color:var(--color-base-primary-600);text-decoration:underline wavy}img{height:auto}*,*:before,*:after{box-sizing:border-box}:host{display:block}.button,button,input[type=submit]{display:inline-flex;flex-direction:row;align-items:center;gap:.5rem;background:var(--component-button-base-background);color:var(--component-button-base-color);border-width:var(--component-button-base-border-width);border-style:solid;border-color:var(--component-button-base-border-color);padding:.5em 1em;border-radius:var(--component-button-base-border-radius);font-size:1rem;font-weight:700;letter-spacing:.05em;text-decoration:none;outline:1px solid transparent;transition:color .2s,border-color .2s,background-color .2s,outline .2s;outline-color:transparent;outline-offset:var(--component-focus-ring-offset, 0px);outline-style:solid;outline-width:var(--component-focus-ring-width, 2px)}.button:focus-visible,button:focus-visible,input[type=submit]:focus-visible{outline-color:var(--component-focus-ring-color)}@media (prefers-contrast: more){.button:focus-visible,button:focus-visible,input[type=submit]:focus-visible{--component-focus-ring-color: var(--color-base-primary-200);box-shadow:0 0 0 calc((var(--component-focus-ring-width) + var(--component-focus-ring-offset, 0px)) * 1.5) var(--color-base-primary-800)}}.button:hover,button:hover,input[type=submit]:hover,.button:focus-visible,button:focus-visible,input[type=submit]:focus-visible{color:var(--component-button-active-color);background:var(--component-button-active-background);cursor:pointer;text-decoration:none}.button:active,button:active,input[type=submit]:active{transform:translateY(1px)}.button[disabled],button[disabled],input[disabled][type=submit]{cursor:not-allowed;filter:grayscale(70%);opacity:.8}:where(input,textarea,select){display:block;accent-color:var(--color-base-primary-500);border-radius:var(--component-input-base-border-radius);border-width:var(--component-input-base-border-width);border-style:solid;border-color:var(--component-input-base-border-color);background:var(--component-input-base-background);color:var(--component-input-base-color);padding:.5em 1em;transition:color .2s,background-color .2s,border-color .2s,outline .2s;font-size:1rem;outline-color:transparent;outline-offset:var(--component-focus-ring-offset, 0px);outline-style:solid;outline-width:var(--component-focus-ring-width, 2px)}:where(input,textarea,select):focus-visible{outline-color:var(--component-focus-ring-color)}@media (prefers-contrast: more){:where(input,textarea,select):focus-visible{--component-focus-ring-color: var(--color-base-primary-200);box-shadow:0 0 0 calc((var(--component-focus-ring-width) + var(--component-focus-ring-offset, 0px)) * 1.5) var(--color-base-primary-800)}}:where(input,textarea,select):not(textarea){line-height:1.1}:where(input,textarea,select):hover{border-color:var(--component-input-hover-border-color);color:var(--component-input-hover-color);background:var(--component-input-hover-background)}:where(input,textarea,select):focus{border-color:var(--component-input-active-border-color);color:var(--component-input-active-color);background:var(--component-input-active-background)}:where(input,textarea,select):invalid:not(:active){border-color:var(--color-base-error-500)}:where(input,textarea,select)[readonly]{cursor:not-allowed;border-style:dashed}:where(input,textarea,select):disabled{cursor:not-allowed;opacity:.6;filter:grayscale(100%) brightness(80%)}:where(input,textarea,select):disabled:hover,:where(input,textarea,select):disabled:focus-visible{border-color:var(--component-input-base-border-color);background:var(--component-input-base-background);color:var(--component-input-base-color)}:where(input,textarea,select):where(textarea){line-height:1.5;min-height:4.3em;resize:vertical}:where(input,textarea,select):where(select){position:relative;cursor:pointer;padding-inline-end:2.5em}:where(input,textarea,select):where(select),:where(input,textarea,select):where(select):hover,:where(input,textarea,select):where(select):focus,:where(input,textarea,select):where(select):focus-visible{background-position:right 1em top 50%;background-size:1em;background-image:url('data:image/svg+xml;utf8,<svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" class="tIfrV5XfYIEuoFNktgCj " aria-hidden="true" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"></polyline></svg>');background-repeat:no-repeat}:where(input,textarea,select) :where(option){padding-block:.2em;font-size:1em}:where(input,textarea,select) :where(option):nth-of-type(2n){background-color:#0000000d}:where(input,textarea,select) :where(option):checked{background:var(--component-button-active-background);color:var(--component-button-active-color)}:where(input,textarea,select):where([type=checkbox]),:where(input,textarea,select):where([type=radio]){display:block;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.2rem;height:1.2rem;padding:0;cursor:pointer}:where(input,textarea,select):where([type=checkbox]){border-radius:calc(var(--component-input-base-border-radius) / 2)}:where(input,textarea,select):where([type=checkbox]):after{content:"✓";content:"✓"/"";speak:none;display:block;position:absolute;font-size:.8rem;font-weight:700;line-height:0;left:0;width:100%;top:50%;color:transparent;text-align:center;transition:color .2s}:where(input,textarea,select):where([type=checkbox]):checked{border-color:var(--component-input-active-border-color);background-color:var(--component-input-active-border-color)}:where(input,textarea,select):where([type=checkbox]):checked:after{color:var(--component-input-base-border-color)}:where(input,textarea,select):where([type=radio]){border-radius:50%}:where(input,textarea,select):where([type=radio]):after{content:"";display:block;border-radius:50%;width:70%;height:70%;margin:15%;top:0;right:0;bottom:0;left:0;transition:background-color .2s}:where(input,textarea,select):where([type=radio]):checked:after{background-color:var(--component-input-active-border-color)}label{color:inherit;font-size:.8rem;cursor:pointer}:root{--grantcodes-ui-theme: "none";background-color:var(--color-base-background-main);fill:currentColor;--component-focus-ring-color: rgba(106, 91, 197, .4);--component-focus-ring-width: .2rem}::selection{background-color:var(--color-base-primary-200)}::backdrop{background-color:#0006;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--component-input-base-box-shadow: none;--component-button-base-box-shadow: none;--component-button-base-border-color: transparent;--size-block-width-wide: 70rem;--size-block-width-normal: 40rem;--size-border-width: .125rem;--size-border-radius: .5rem;--size-space-unit: 1rem;--font-weight-heading: 900;--font-weight-body: 600;--font-line-height-heading: 1.1;--font-line-height-body: 1.5;--font-size-base: clamp(1rem, .34vw + .91rem, 1.2rem);--font-size-huge: 2.44140625rem;--font-size-large: 1.5625rem;--font-size-medium: 1.25rem;--font-size-normal: 1rem;--font-size-small: .8rem;--font-size-tiny: .64rem;--font-family-system-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--color-base-error-900: #7a0906;--color-base-error-800: #93170a;--color-base-error-700: #b72b10;--color-base-error-600: #db4518;--color-base-error-500: #ff6321;--color-base-error-400: #ff9558;--color-base-error-300: #ffb379;--color-base-error-200: #ffd2a6;--color-base-error-100: #ffebd2;--color-base-warning-900: #786100;--color-base-warning-800: #927800;--color-base-warning-700: #b59700;--color-base-warning-600: #d8b800;--color-base-warning-500: #fcda00;--color-base-warning-400: #fde63f;--color-base-warning-300: #feed65;--color-base-warning-200: #fef598;--color-base-warning-100: #fefacb;--color-base-info-900: #004375;--color-base-info-800: #005d8d;--color-base-info-700: #0081af;--color-base-info-600: #00acd1;--color-base-info-500: #00dcf4;--color-base-info-400: #3ef5f8;--color-base-info-300: #64fbf2;--color-base-info-200: #98fdef;--color-base-info-100: #cbfef2;--color-base-success-900: #09600f;--color-base-success-800: #0f740f;--color-base-success-700: #219019;--color-base-success-600: #38ac24;--color-base-success-500: #53c932;--color-base-success-400: #85de61;--color-base-success-300: #aaee83;--color-base-success-200: #cff9ae;--color-base-success-100: #e9fcd6;--color-base-tertiary-900: #1b2c68;--color-base-tertiary-800: #2d437e;--color-base-tertiary-700: #48619c;--color-base-tertiary-600: #6985bb;--color-base-tertiary-500: #90acda;--color-base-tertiary-400: #adc6e8;--color-base-tertiary-300: #c2d8f3;--color-base-tertiary-200: #d9eafb;--color-base-tertiary-100: #ebf5fd;--color-base-secondary-900: #5c0d1c;--color-base-secondary-800: #6f151f;--color-base-secondary-700: #8a2225;--color-base-secondary-600: #a53731;--color-base-secondary-500: #c15444;--color-base-secondary-400: #d98570;--color-base-secondary-300: #ecaa90;--color-base-secondary-200: #f8cfb8;--color-base-secondary-100: #fbe9db;--color-base-primary-900: #17115e;--color-base-primary-800: #251d72;--color-base-primary-700: #382d8d;--color-base-primary-600: #4f42a9;--color-base-primary-500: #6a5bc5;--color-base-primary-400: #9183dc;--color-base-primary-300: #aea0ed;--color-base-primary-200: #cdc3f9;--color-base-primary-100: #e6e0fc;--color-base-dark-shade: #29263b;--color-base-dark-main: #24222f;--color-base-light-shade: #d6d5dd;--color-base-light-main: #f1f1f3;--asset-font-quicksand-weight-700-woff2: "assets/fonts/quicksand-bold.woff2";--asset-font-quicksand-weight-700-woff: "assets/fonts/quicksand-bold.woff";--asset-font-quicksand-weight-700-ttf: "assets/fonts/quicksand-bold.ttf";--asset-font-quicksand-weight-500-woff2: "assets/fonts/quicksand-medium.woff2";--asset-font-quicksand-weight-500-woff: "assets/fonts/quicksand-medium.woff";--asset-font-quicksand-weight-500-ttf: "assets/fonts/quicksand-medium.ttf";--asset-font-quicksand-weight-400-woff2: "assets/fonts/quicksand-regular.woff2";--asset-font-quicksand-weight-400-woff: "assets/fonts/quicksand-regular.woff";--asset-font-quicksand-weight-400-ttf: "assets/fonts/quicksand-regular.ttf";--asset-font-quicksand-weight-300-woff2: "assets/fonts/quicksand-light.woff2";--asset-font-quicksand-weight-300-woff: "assets/fonts/quicksand-light.woff";--asset-font-quicksand-weight-300-ttf: "assets/fonts/quicksand-light.ttf";--asset-font-quicksand-name: "Quicksand";--asset-font-greycliff-weight-900-woff2: "assets/fonts/greycliff-heavy.woff2";--asset-font-greycliff-weight-900-woff: "assets/fonts/greycliff-heavy.woff";--asset-font-greycliff-weight-900-eot: "assets/fonts/greycliff-heavy.eot";--asset-font-greycliff-weight-900-ttf: "assets/fonts/greycliff-heavy.ttf";--asset-font-greycliff-weight-800-woff2: "assets/fonts/greycliff-extra-bold.woff2";--asset-font-greycliff-weight-800-woff: "assets/fonts/greycliff-extra-bold.woff";--asset-font-greycliff-weight-800-eot: "assets/fonts/greycliff-extra-bold.eot";--asset-font-greycliff-weight-800-ttf: "assets/fonts/greycliff-extra-bold.ttf";--asset-font-greycliff-weight-700-woff2: "assets/fonts/greycliff-bold.woff2";--asset-font-greycliff-weight-700-woff: "assets/fonts/greycliff-bold.woff";--asset-font-greycliff-weight-700-eot: "assets/fonts/greycliff-bold.eot";--asset-font-greycliff-weight-700-ttf: "assets/fonts/greycliff-bold.ttf";--asset-font-greycliff-weight-600-woff2: "assets/fonts/greycliff-demi-bold.woff2";--asset-font-greycliff-weight-600-woff: "assets/fonts/greycliff-demi-bold.woff";--asset-font-greycliff-weight-600-eot: "assets/fonts/greycliff-demi-bold.eot";--asset-font-greycliff-weight-600-ttf: "assets/fonts/greycliff-demi-bold.ttf";--asset-font-greycliff-weight-500-woff2: "assets/fonts/greycliff-medium.woff2";--asset-font-greycliff-weight-500-woff: "assets/fonts/greycliff-medium.woff";--asset-font-greycliff-weight-500-eot: "assets/fonts/greycliff-medium.eot";--asset-font-greycliff-weight-500-ttf: "assets/fonts/greycliff-medium.ttf";--asset-font-greycliff-weight-400-woff2: "assets/fonts/greycliff-regular.woff2";--asset-font-greycliff-weight-400-woff: "assets/fonts/greycliff-regular.woff";--asset-font-greycliff-weight-400-eot: "assets/fonts/greycliff-regular.eot";--asset-font-greycliff-weight-400-ttf: "assets/fonts/greycliff-regular.ttf";--asset-font-greycliff-weight-300-woff2: "assets/fonts/greycliff-light.woff2";--asset-font-greycliff-weight-300-woff: "assets/fonts/greycliff-light.woff";--asset-font-greycliff-weight-300-eot: "assets/fonts/greycliff-light.eot";--asset-font-greycliff-weight-300-ttf: "assets/fonts/greycliff-light.ttf";--asset-font-greycliff-weight-200-woff2: "assets/fonts/greycliff-extra-light.woff2";--asset-font-greycliff-weight-200-woff: "assets/fonts/greycliff-extra-light.woff";--asset-font-greycliff-weight-200-eot: "assets/fonts/greycliff-extra-light.eot";--asset-font-greycliff-weight-200-ttf: "assets/fonts/greycliff-extra-light.ttf";--asset-font-greycliff-weight-100-woff2: "assets/fonts/greycliff-thin.woff2";--asset-font-greycliff-weight-100-woff: "assets/fonts/greycliff-thin.woff";--asset-font-greycliff-weight-100-eot: "assets/fonts/greycliff-thin.eot";--asset-font-greycliff-weight-100-ttf: "assets/fonts/greycliff-thin.ttf";--asset-font-greycliff-name: "Greycliff";--component-input-active-box-shadow: var(--component-input-base-box-shadow);--component-input-active-border-color: var(--color-base-primary-500);--component-input-active-color: var(--color-base-dark-main);--component-input-hover-box-shadow: var(--component-input-base-box-shadow);--component-input-hover-border-color: var(--color-base-dark-shade);--component-input-hover-color: var(--color-base-dark-main);--component-input-base-border-width: var(--size-border-width);--component-input-base-border-radius: var(--size-border-radius);--component-input-base-color: var(--color-base-dark-shade);--component-card-border-radius: var(--size-border-radius);--component-card-border-width: var(--size-border-width);--component-card-border-color: var(--color-base-light-shade);--component-card-background: var(--color-base-light-main);--component-card-color: var(--color-base-primary-500);--component-button-active-background: var(--color-base-primary-700);--component-button-hover-box-shadow: var(--component-button-base-box-shadow);--component-button-hover-border-color: var(--component-button-base-border-color);--component-button-hover-background: var(--color-base-primary-600);--component-button-hover-color: var(--color-base-light-main);--component-button-base-border-width: var(--size-border-width);--component-button-base-border-radius: var(--size-border-radius);--component-button-base-background: var(--color-base-primary-500);--component-button-base-color: var(--color-base-light-shade);--font-family-mono: var(--font-family-system-mono);--font-family-body: var(--asset-font-greycliff-name), var(--font-family-system);--font-family-heading: var(--asset-font-greycliff-name), var(--font-family-system);--color-font-base: var(--color-base-dark-main);--color-base-background-shade: var(--color-base-light-shade);--color-base-background-main: var(--color-base-light-main);--component-input-base-border-color: var(--color-base-background-shade);--component-input-base-background: var(--color-base-background-main);--component-button-active-box-shadow: var(--component-button-hover-box-shadow);--component-button-active-border-color: var(--component-button-hover-border-color);--component-button-active-color: var(--component-button-hover-color);--component-input-active-background: var(--component-input-base-background);--component-input-hover-background: var(--component-input-base-background)}@font-face{font-family:Greycliff;font-style:normal;font-weight:100;font-display:swap;src:url(../../fonts/greycliff-extra-light.woff2) format("woff2"),url(../../fonts/greycliff-extra-light.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:200;font-display:swap;src:url(../../fonts/greycliff-light.woff2) format("woff2"),url(../../fonts/greycliff-light.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:300;font-display:swap;src:url(../../fonts/greycliff-thin.woff2) format("woff2"),url(../../fonts/greycliff-thin.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:400;font-display:swap;src:url(../../fonts/greycliff-regular.woff2) format("woff2"),url(../../fonts/greycliff-regular.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:500;font-display:swap;src:url(../../fonts/greycliff-medium.woff2) format("woff2"),url(../../fonts/greycliff-medium.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:600;font-display:swap;src:url(../../fonts/greycliff-demi-bold.woff2) format("woff2"),url(../../fonts/greycliff-demi-bold.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:700;font-display:swap;src:url(../../fonts/greycliff-bold.woff2) format("woff2"),url(../../fonts/greycliff-bold.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:800;font-display:swap;src:url(../../fonts/greycliff-extra-bold.woff2) format("woff2"),url(../../fonts/greycliff-extra-bold.woff) format("woff")}@font-face{font-family:Greycliff;font-style:normal;font-weight:900;font-display:swap;src:url(../../fonts/greycliff-heavy.woff2) format("woff2"),url(../../fonts/greycliff-heavy.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:100;font-display:swap;src:url(../../fonts/greycliff-extra-light-oblique.woff2) format("woff2"),url(../../fonts/greycliff-extra-light-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:200;font-display:swap;src:url(../../fonts/greycliff-light-oblique.woff2) format("woff2"),url(../../fonts/greycliff-light-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:300;font-display:swap;src:url(../../fonts/greycliff-thin-oblique.woff2) format("woff2"),url(../../fonts/greycliff-thin-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:400;font-display:swap;src:url(../../fonts/greycliff-regular-oblique.woff2) format("woff2"),url(../../fonts/greycliff-regular-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:500;font-display:swap;src:url(../../fonts/greycliff-medium-oblique.woff2) format("woff2"),url(../../fonts/greycliff-medium-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:600;font-display:swap;src:url(../../fonts/greycliff-demi-bold-oblique.woff2) format("woff2"),url(../../fonts/greycliff-demi-bold-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:700;font-display:swap;src:url(../../fonts/greycliff-bold-oblique.woff2) format("woff2"),url(../../fonts/greycliff-bold-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:800;font-display:swap;src:url(../../fonts/greycliff-extra-bold-oblique.woff2) format("woff2"),url(../../fonts/greycliff-extra-bold-oblique.woff) format("woff")}@font-face{font-family:Greycliff;font-style:italic;font-weight:900;font-display:swap;src:url(../../fonts/greycliff-heavy-oblique.woff2) format("woff2"),url(../../fonts/greycliff-heavy-oblique.woff) format("woff")}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/icons.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"lucide-static";
|
package/dist/lib/generate-id.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function r(t){return`${t||"id"}-${Math.random().toString(36).substr(2,9)}`}export{r as generateId};
|
package/dist/main.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./components/avatar/index.js";import"./components/button/index.js";import"./components/button-group/index.js";import"./components/card/index.js";import"./components/code-preview/index.js";import"./components/container/index.js";import"./components/dialog/index.js";import"./components/dropzone/index.js";import"./components/form-field/index.js";import"./components/gallery/index.js";import"./components/icon/index.js";import"./components/loading/index.js";import"./components/notice/index.js";import"./components/pagination/index.js";import"./components/tabs/index.js";import"./components/tooltip/index.js";import{GrantCodesAvatar as T}from"./components/avatar/avatar.component.js";import{GrantCodesButton as c}from"./components/button/button.component.js";import{GrantCodesButtonGroup as y}from"./components/button-group/button-group.component.js";import{GrantCodesCard as D}from"./components/card/card.component.js";import{GrantCodesCodePreview as I}from"./components/code-preview/code-preview.component.js";import{GrantCodesContainer as w}from"./components/container/container.component.js";import{GrantCodesDialog as A}from"./components/dialog/dialog.component.js";import{GrantCodesDropzone as N}from"./components/dropzone/dropzone.component.js";import{GrantCodesFormField as j}from"./components/form-field/form-field.component.js";import{GrantCodesGallery as q}from"./components/gallery/gallery.component.js";import{GrantCodesGalleryImage as H}from"./components/gallery/gallery-image.component.js";import{GrantCodesIcon as K}from"./components/icon/icon.component.js";import{GrantCodesLoading as O}from"./components/loading/loading.component.js";import{GrantCodesNotice as R}from"./components/notice/notice.component.js";import{GrantCodesPagination as U}from"./components/pagination/pagination.component.js";import{GrantCodesTabs as W}from"./components/tabs/tabs.component.js";import{GrantCodesTab as Y}from"./components/tabs/tab.component.js";import{GrantCodesTooltip as _}from"./components/tooltip/tooltip.component.js";export{T as GrantCodesAvatar,c as GrantCodesButton,y as GrantCodesButtonGroup,D as GrantCodesCard,I as GrantCodesCodePreview,w as GrantCodesContainer,A as GrantCodesDialog,N as GrantCodesDropzone,j as GrantCodesFormField,q as GrantCodesGallery,H as GrantCodesGalleryImage,K as GrantCodesIcon,O as GrantCodesLoading,R as GrantCodesNotice,U as GrantCodesPagination,Y as GrantCodesTab,W as GrantCodesTabs,_ as GrantCodesTooltip};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import"../../../_virtual/_commonjsHelpers.js";import{__exports as r}from"../../../_virtual/react.production.min2.js";/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var y=Symbol.for("react.element"),T=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),U=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),M=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),C=Symbol.iterator;function z(e){return e===null||typeof e!="object"?null:(e=C&&e[C]||e["@@iterator"],typeof e=="function"?e:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,O={};function p(e,t,n){this.props=e,this.context=t,this.refs=O,this.updater=n||b}p.prototype.isReactComponent={};p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function x(){}x.prototype=p.prototype;function h(e,t,n){this.props=e,this.context=t,this.refs=O,this.updater=n||b}var S=h.prototype=new x;S.constructor=h;$(S,p.prototype);S.isPureReactComponent=!0;var k=Array.isArray,I=Object.prototype.hasOwnProperty,E={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function g(e,t,n){var u,o={},i=null,a=null;if(t!=null)for(u in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)I.call(t,u)&&!j.hasOwnProperty(u)&&(o[u]=t[u]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(u in s=e.defaultProps,s)o[u]===void 0&&(o[u]=s[u]);return{$$typeof:y,type:e,key:i,ref:a,props:o,_owner:E.current}}function B(e,t){return{$$typeof:y,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function R(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function H(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var w=/\/+/g;function m(e,t){return typeof e=="object"&&e!==null&&e.key!=null?H(""+e.key):t.toString(36)}function d(e,t,n,u,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case y:case T:a=!0}}if(a)return a=e,o=o(a),e=u===""?"."+m(a,0):u,k(o)?(n="",e!=null&&(n=e.replace(w,"$&/")+"/"),d(o,t,n,"",function(l){return l})):o!=null&&(R(o)&&(o=B(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(w,"$&/")+"/")+e)),t.push(o)),1;if(a=0,u=u===""?".":u+":",k(e))for(var s=0;s<e.length;s++){i=e[s];var c=u+m(i,s);a+=d(i,t,n,c,o)}else if(c=z(e),typeof c=="function")for(e=c.call(e),s=0;!(i=e.next()).done;)i=i.value,c=u+m(i,s++),a+=d(i,t,n,c,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function v(e,t,n){if(e==null)return e;var u=[],o=0;return d(e,u,"","",function(i){return t.call(n,i,o++)}),u}function W(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var f={current:null},_={transition:null},Y={ReactCurrentDispatcher:f,ReactCurrentBatchConfig:_,ReactCurrentOwner:E};function P(){throw Error("act(...) is not supported in production builds of React.")}var K=r.Children={map:v,forEach:function(e,t,n){v(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return v(e,function(){t++}),t},toArray:function(e){return v(e,function(t){return t})||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Q=r.Component=p,X=r.Fragment=D,Z=r.Profiler=L,ee=r.PureComponent=h,te=r.StrictMode=V,re=r.Suspense=N,ne=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y,oe=r.act=P,ue=r.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var u=$({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=E.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)I.call(t,c)&&!j.hasOwnProperty(c)&&(u[c]=t[c]===void 0&&s!==void 0?s[c]:t[c])}var c=arguments.length-2;if(c===1)u.children=n;else if(1<c){s=Array(c);for(var l=0;l<c;l++)s[l]=arguments[l+2];u.children=s}return{$$typeof:y,type:e.type,key:o,ref:i,props:u,_owner:a}},ce=r.createContext=function(e){return e={$$typeof:U,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:F,_context:e},e.Consumer=e},ie=r.createElement=g,se=r.createFactory=function(e){var t=g.bind(null,e);return t.type=e,t},ae=r.createRef=function(){return{current:null}},fe=r.forwardRef=function(e){return{$$typeof:A,render:e}},le=r.isValidElement=R,pe=r.lazy=function(e){return{$$typeof:q,_payload:{_status:-1,_result:e},_init:W}},ye=r.memo=function(e,t){return{$$typeof:M,type:e,compare:t===void 0?null:t}},ve=r.startTransition=function(e){var t=_.transition;_.transition={};try{e()}finally{_.transition=t}},de=r.unstable_act=P,_e=r.useCallback=function(e,t){return f.current.useCallback(e,t)},me=r.useContext=function(e){return f.current.useContext(e)},he=r.useDebugValue=function(){},Se=r.useDeferredValue=function(e){return f.current.useDeferredValue(e)},Ee=r.useEffect=function(e,t){return f.current.useEffect(e,t)},Re=r.useId=function(){return f.current.useId()},Ce=r.useImperativeHandle=function(e,t,n){return f.current.useImperativeHandle(e,t,n)},ke=r.useInsertionEffect=function(e,t){return f.current.useInsertionEffect(e,t)},we=r.useLayoutEffect=function(e,t){return f.current.useLayoutEffect(e,t)},be=r.useMemo=function(e,t){return f.current.useMemo(e,t)},$e=r.useReducer=function(e,t,n){return f.current.useReducer(e,t,n)},Oe=r.useRef=function(e){return f.current.useRef(e)},xe=r.useState=function(e){return f.current.useState(e)},Ie=r.useSyncExternalStore=function(e,t,n){return f.current.useSyncExternalStore(e,t,n)},je=r.useTransition=function(){return f.current.useTransition()},ge=r.version="18.3.1";export{K as Children,Q as Component,X as Fragment,Z as Profiler,ee as PureComponent,te as StrictMode,re as Suspense,ne as __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,oe as act,ue as cloneElement,ce as createContext,ie as createElement,se as createFactory,ae as createRef,r as default,fe as forwardRef,le as isValidElement,pe as lazy,ye as memo,ve as startTransition,de as unstable_act,_e as useCallback,me as useContext,he as useDebugValue,Se as useDeferredValue,Ee as useEffect,Re as useId,Ce as useImperativeHandle,ke as useInsertionEffect,we as useLayoutEffect,be as useMemo,$e as useReducer,Oe as useRef,xe as useState,Ie as useSyncExternalStore,je as useTransition,ge as version};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getDefaultExportFromCjs as e}from"../../_virtual/_commonjsHelpers.js";import{__module as r}from"../../_virtual/index.js";import"../../_virtual/react.production.min.js";import{__exports as t}from"../../_virtual/react.production.min2.js";var i=r.exports;r.exports=t;var o=r.exports;const c=e(o);export{c as default};
|
package/dist/react.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Avatar as t}from"./components/avatar/avatar.react.js";import{Button as p}from"./components/button/button.react.js";import{ButtonGroup as f}from"./components/button-group/button-group.react.js";import{Card as a}from"./components/card/card.react.js";import{Container as n}from"./components/container/container.react.js";import{CodePreview as d}from"./components/code-preview/code-preview.react.js";import{Dialog as u}from"./components/dialog/dialog.react.js";import{Dropzone as c}from"./components/dropzone/dropzone.react.js";import{FormField as B}from"./components/form-field/form-field.react.js";import{Gallery as F}from"./components/gallery/gallery.react.js";import{Icon as P}from"./components/icon/icon.react.js";import{Loading as b}from"./components/loading/loading.react.js";import{Notice as w}from"./components/notice/notice.react.js";import{Pagination as z}from"./components/pagination/pagination.react.js";import{Tabs as I}from"./components/tabs/tabs.react.js";import{Tooltip as N}from"./components/tooltip/tooltip.react.js";export{t as Avatar,p as Button,f as ButtonGroup,a as Card,d as CodePreview,n as Container,u as Dialog,c as Dropzone,B as FormField,F as Gallery,P as Icon,b as Loading,w as Notice,z as Pagination,I as Tabs,N as Tooltip};
|