Skip to content

Commit

Permalink
Merge pull request #2162 from eBay/13.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agliga committed Apr 29, 2024
2 parents ed25da3 + 5c24de3 commit aebbc01
Show file tree
Hide file tree
Showing 387 changed files with 15,384 additions and 5,890 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-files-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

phone-input: new component
5 changes: 5 additions & 0 deletions .changeset/breezy-trees-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": patch
---

docs(snackbar): updated docs to support @action
5 changes: 5 additions & 0 deletions .changeset/long-candles-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

ebay-date-textbox: added floating label support
5 changes: 5 additions & 0 deletions .changeset/nice-islands-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

icon-button: added priority attribute
14 changes: 14 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"@ebay/ebayui-core": "13.3.1"
},
"changesets": [
"blue-files-decide",
"breezy-trees-cough",
"long-candles-lie",
"nice-islands-visit",
"twenty-bears-march"
]
}
5 changes: 5 additions & 0 deletions .changeset/twenty-bears-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": minor
---

progress-bar-expressive: new module
6 changes: 6 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
cache: npm
- name: Install dependencies
run: npm i
- name: Enter prerelease mode
if: ${{ github.ref != 'refs/heads/master' }}
run: npm run prerelease:start
- name: Exit prerelease mode
if: ${{ github.ref == 'refs/heads/master' }}
run: npm run prerelease:end
- name: Release
id: changesets
uses: changesets/action@v1
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# eBayUI-Core Changelog

## 13.4.0-next.0

### Minor Changes

- [`275bdac`](https://github.com/eBay/ebayui-core/commit/275bdac4688733764c62ec98150119c7614bb9ef) Thanks [@agliga](https://github.com/agliga)! - phone-input: new component

- [#2157](https://github.com/eBay/ebayui-core/pull/2157) [`4f8e826`](https://github.com/eBay/ebayui-core/commit/4f8e826d9378eba7f39aed2de7785085e4ce99c7) Thanks [@agliga](https://github.com/agliga)! - ebay-date-textbox: added floating label support

- [#2156](https://github.com/eBay/ebayui-core/pull/2156) [`3322847`](https://github.com/eBay/ebayui-core/commit/332284786f11d42dafc7cf023087bd34894f191c) Thanks [@agliga](https://github.com/agliga)! - icon-button: added priority attribute

- [#2141](https://github.com/eBay/ebayui-core/pull/2141) [`7c26a76`](https://github.com/eBay/ebayui-core/commit/7c26a7647fdde40774f05f061daf84d202b5b621) Thanks [@cordeliadillon](https://github.com/cordeliadillon)! - progress-bar-expressive: new module

### Patch Changes

- [#2154](https://github.com/eBay/ebayui-core/pull/2154) [`3c1cb8e`](https://github.com/eBay/ebayui-core/commit/3c1cb8eb62f0eb47265fafe3e47502ade04b26bf) Thanks [@agliga](https://github.com/agliga)! - docs(snackbar): updated docs to support @action

## 13.3.1

### Patch Changes
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ Each layer does its bit to enforce and enhance accessibility. We consider this l
- [`ebay-page-notice`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-page-notice)
- [`ebay-pagination`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-pagination)
- [`ebay-panel-dialog`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-panel-dialog)
- [`ebay-phone-input`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-phone-input)
- [`ebay-progress-bar`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-progress-bar)
- [`ebay-progress-bar-expressive`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-progress-bar-expressive)
- [`ebay-progress-spinner`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-progress-spinner)
- [`ebay-progress-stepper`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-progress-stepper)
- [`ebay-radio`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-radio)
Expand Down
1 change: 1 addition & 0 deletions browserstack.err
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[object Object]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/DocsRenderer-K4EAMTCU-DJ6u_zVT.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/assets/DocsRenderer-K4EAMTCU-DdJKI9EQ.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/WithTooltip-Y7J54OF7-BXWCAfUJ.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/assets/WithTooltip-Y7J54OF7-C-hkflDh.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{a as Q}from"./utils-DWCsNc5l.js";import{r as k,b as w,d as x,t as T}from"./registry-DoALHDDx.js";import{_ as a}from"./dynamic-tag-B1GLaPEW.js";import{i as C,a as c}from"./attr-tag-DphMQldM.js";import{_ as V}from"./const-element-_KqHYBBN.js";import{_ as E}from"./index-DwzlMs5I.js";import{_ as d}from"./render-tag-BBOJ9dEX.js";import{_ as j}from"./index-C36gxz_G.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-C73Z_Vi_.js";import"./index-BpE_pQA_.js";import"./index-mP6JM4Am.js";/* empty css */import"./index-BgASIJEW.js";import"./index-blmbJU0z.js";/* empty css */import"./index-Cwd2w34Z.js";import"./index-Dn2VikhO.js";import"./index--35j0Bzx.js";const K=`<h1 style='display: flex; justify-content: space-between; align-items: center;'>
import{a as Q}from"./utils-DWCsNc5l.js";import{r as B,b as w,d as x,t as T}from"./registry-DcejNBCz.js";import{_ as a}from"./dynamic-tag-CH7Ufq3Q.js";import{i as C,a as c}from"./attr-tag-DphMQldM.js";import{_ as V}from"./const-element-Bq6J7aqh.js";import{_ as D}from"./index-COaMFK6T.js";import{_ as s}from"./render-tag-BBOJ9dEX.js";import{_ as j}from"./index-CiA69Dh7.js";import{_ as K}from"./empty-component-BCB5DEsP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";/* empty css */import"./index-DHyUtbwr.js";import"./index-Cv18kqw9.js";import"./index-Cem8eMVZ.js";/* empty css */import"./index-Cso1OZot.js";import"./index-blmbJU0z.js";/* empty css */import"./index-BLIGXglt.js";import"./index-B0OhA0dc.js";import"./index--35j0Bzx.js";const P=`<h1 style='display: flex; justify-content: space-between; align-items: center;'>
<span>
ebay-alert-dialog
</span>
Expand All @@ -21,7 +21,7 @@ Used to force the user to read an import message. The dialog will only be dismis
- [Storybook](https://ebay.github.io/ebayui-core/?path=/story/dialogs-ebay-alert-dialog)
- [Storybook Docs](https://ebay.github.io/ebayui-core/?path=/docs/dialogs-ebay-alert-dialog)
- [Code Examples](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-alert-dialog/examples)
`,p="6eDQvQ0j",l=T(p);k.r(p,()=>l);const D={};l._=w(function(n,s,o,t,g,$){var e=t.getElId("alert-dialog-confirm"),y=t.getElId("alert-dialog-main");const{class:I,confirmText:f,confirm:O,renderBody:R,...S}=n,{renderBody:A,...M}=O||{};d(j,C(()=>(c("footer",{renderBody:m=>{d(E,{priority:"primary",ariaDescribedby:y,id:e,class:"alert-dialog__acknowledge",...M,renderBody:b=>{f?b.t(f,t):a(b,A,null,null,null,null,o,"1")}},m,o,"@confirm",[["click","emit",!1,["confirm"]]])}}),m=>{a(m,R,null,null,null,null,o,"2")}),{...S,role:"alertdialog",classPrefix:"alert-dialog",ignoreEscape:!0,mainId:y,buttonPosition:"hidden",focus:e,class:[I,"alert-dialog--mask-fade"],windowClass:["alert-dialog__window alert-dialog__window--fade"],footer:void 0}),s,o,"0",[["open","emit",!1,["open"]],["close","emit",!1,["close"]]])},{t:p,i:!0},D);l.Component=x(D,l._);const u="3f5QmEug",i=T(u),P=i,z=V("p",null,1).t("This 'alert' text should be 1-2 lines.");k.r(u,()=>i);const v={onCreate(){this.state={open:!1}},openDialog(){this.state.open=!0},closeDialog(){this.state.open=!1,this.emit("confirm")}};i._=w(function(n,s,o,t,g,$){d(l,C(()=>(c("header",{renderBody:e=>{a(e,n.header.renderBody,null,null,null,null,o,"1")}}),c("confirm",{renderBody:e=>{a(e,n.confirm.renderBody,null,null,null,null,o,"2")}}),e=>{a(e,n.renderBody,null,null,null,null,o,"3"),e.n(z,t)}),{open:g.open}),s,o,"0",[["open","emit",!1,["open"]],["close","emit",!1,["close"]],["confirm","closeDialog",!1]]),d(E,{renderBody:e=>{e.t("Open Alert Dialog",t)}},s,o,"5",[["click","openDialog",!1]])},{t:u},v);i.Component=x(v,i._);const F=`export interface Input {
`,p="6eDQvQ0j",d=T(p);B.r(p,()=>K);const E={};d._=w(function(n,l,o,t,g,$){var e=t.getElId("alert-dialog-confirm"),y=t.getElId("alert-dialog-main");const{class:I,confirmText:f,confirm:O,renderBody:R,...A}=n,{renderBody:S,...M}=O||{};s(j,C(()=>(c("footer",{renderBody:m=>{s(D,{priority:"primary",ariaDescribedby:y,id:e,class:"alert-dialog__acknowledge",...M,renderBody:b=>{f?b.t(f,t):a(b,S,null,null,null,null,o,"1")}},m,o,"@confirm",[["click","emit",!1,["confirm"]]])}}),m=>{a(m,R,null,null,null,null,o,"2")}),{...A,role:"alertdialog",classPrefix:"alert-dialog",ignoreEscape:!0,mainId:y,buttonPosition:"hidden",focus:e,class:[I,"alert-dialog--mask-fade"],windowClass:["alert-dialog__window alert-dialog__window--fade"],footer:void 0}),l,o,"0",[["open","emit",!1,["open"]],["close","emit",!1,["close"]]])},{t:p,s:!0},E);d.Component=x(E,d._);const u="3f5QmEug",i=T(u),z=i,F=V("p",null,1).t("This 'alert' text should be 1-2 lines.");B.r(u,()=>i);const v={onCreate(){this.state={open:!1}},openDialog(){this.state.open=!0},closeDialog(){this.state.open=!1,this.emit("confirm")}};i._=w(function(n,l,o,t,g,$){s(d,C(()=>(c("header",{renderBody:e=>{a(e,n.header.renderBody,null,null,null,null,o,"1")}}),c("confirm",{renderBody:e=>{a(e,n.confirm.renderBody,null,null,null,null,o,"2")}}),e=>{a(e,n.renderBody,null,null,null,null,o,"3"),e.n(F,t)}),{open:g.open,...n,header:void 0,confirm:void 0}),l,o,"0",[["open","emit",!1,["open"]],["close","emit",!1,["close"]],["confirm","closeDialog",!1]]),s(D,{renderBody:e=>{e.t("Open Alert Dialog",t)}},l,o,"5",[["click","openDialog",!1]])},{t:u},v);i.Component=x(v,i._);const H=`export interface Input {
renderBody?: Marko.Body;
header: {
renderBody?: Marko.Body;
Expand All @@ -36,6 +36,7 @@ Used to force the user to read an import message. The dialog will only be dismis
on-open('emit', 'open')
on-close('emit', 'close')
on-confirm('closeDialog')
...input
>
<@header><\${input.header.renderBody}/></@header>
<@confirm><\${input.confirm.renderBody}/></@confirm>
Expand All @@ -62,6 +63,6 @@ class {
this.emit('confirm')
}
}
`,H=n=>({input:Q(n)}),ce={title:"dialogs/ebay-alert-dialog",component:P,parameters:{docs:{description:{component:K}}},argTypes:{open:{type:"boolean",control:{type:"boolean"},description:"Whether dialog is open.",table:{disable:!0}},closeFocus:{control:{type:"text"},description:"An id for an element which will receive focus when the dialog closes. Defaults to the last clicked element before the dialog is opened"},confirm:{name:"@confirm",table:{category:"@attribute tags"},description:"Render body will be text for OK button"},header:{name:"@header",table:{category:"@attribute tags"}},onOpen:{action:"on-open",description:"Triggered on dialog open",table:{category:"Events",defaultValue:{summary:""}}},onConfirm:{action:"on-confirm",description:"Triggered on dialog confirm button click",table:{category:"Events",defaultValue:{summary:""}}},onClose:{action:"on-close",description:"Triggered when dialog is closed",table:{category:"Events",defaultValue:{summary:""}}}}},r=H.bind({});r.args={header:{renderBody:"Alert!"},confirm:{renderBody:"OK"},renderBody:"You must acknowledge this alert to continue."};r.parameters={docs:{source:{code:F}}};var h,_,B;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:`args => ({
`,U=n=>({input:Q(n)}),ue={title:"dialogs/ebay-alert-dialog",component:z,parameters:{docs:{description:{component:P}}},argTypes:{open:{type:"boolean",control:{type:"boolean"},description:"Whether dialog is open.",table:{disable:!0}},closeFocus:{control:{type:"text"},description:"An id for an element which will receive focus when the dialog closes. Defaults to the last clicked element before the dialog is opened"},confirm:{name:"@confirm",table:{category:"@attribute tags"},description:"Render body will be text for OK button"},header:{name:"@header",table:{category:"@attribute tags"}},onOpen:{action:"on-open",description:"Triggered on dialog open",table:{category:"Events",defaultValue:{summary:""}}},onConfirm:{action:"on-confirm",description:"Triggered on dialog confirm button click",table:{category:"Events",defaultValue:{summary:""}}},onClose:{action:"on-close",description:"Triggered when dialog is closed",table:{category:"Events",defaultValue:{summary:""}}}}},r=U.bind({});r.args={header:{renderBody:"Alert!"},confirm:{renderBody:"OK"},renderBody:"You must acknowledge this alert to continue."};r.parameters={docs:{source:{code:H}}};var h,_,k;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:`args => ({
input: addRenderBodies(args)
})`,...(B=(_=r.parameters)==null?void 0:_.docs)==null?void 0:B.source}}};const pe=["Standard"];export{r as Standard,pe as __namedExportsOrder,ce as default};
})`,...(k=(_=r.parameters)==null?void 0:_.docs)==null?void 0:k.source}}};const ge=["Default"];export{r as Default,ge as __namedExportsOrder,ue as default};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aebbc01

Please sign in to comment.