-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 0f9b617 🚀
- Loading branch information
Showing
92 changed files
with
98 additions
and
98 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ts/01-getting-started.stories-z8yuoqH-.js → ...ts/01-getting-started.stories-_xqwTdwo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import{j as e,a as l}from"./marked.esm-dbrxtycE.js";import{r as t}from"./index-BMVQvedj.js";import{G as M}from"./image-window-loader-ae1-l40w.js";import{D as u}from"./data-editor-all-vh5PYcJs.js";import{S as x}from"./story-utils-K2EZnGjM.js";import{D as T,M as a,H as i,W as y}from"./doc-wrapper-m1-LpzDL.js";import"./throttle-7EuXLZa7.js";import"./_baseIteratee-WTHxv43n.js";import"./iframe-qD4w8K__.js";import"../sb-preview/runtime.js";import"./flatten-qRvRBp6y.js";import"./scrolling-data-grid-GIDCmpe8.js";import"./toConsumableArray-ppDpjNRJ.js";const F={title:"Glide-Data-Grid/Docs",decorators:[r=>e(x,{children:e(r,{})})]},s=[{name:"Deidre Morris",company:"GONKLE",email:"[email protected]",phone:"+1 (867) 507-3332"},{name:"Sheryl Craig",company:"EVENTAGE",email:"[email protected]",phone:"+1 (869) 520-2227"},{name:"Lidia Bowers",company:"ANOCHA",email:"[email protected]",phone:"+1 (808) 414-3826"},{name:"Jones Norton",company:"REPETWIRE",email:"[email protected]",phone:"+1 (875) 582-3320"},{name:"Lula Bruce",company:"COMDOM",email:"[email protected]",phone:"+1 (873) 452-2472"},{name:"Larsen Montgomery",company:"SQUISH",email:"[email protected]",phone:"+1 (893) 482-3651"},{name:"Becky Bright",company:"COMCUR",email:"[email protected]",phone:"+1 (879) 494-2331"},{name:"Charlotte Rowland",company:"FROLIX",email:"[email protected]",phone:"+1 (861) 439-2134"},{name:"Sonya Hensley",company:"GEEKETRON",email:"[email protected]",phone:"+1 (802) 553-2194"},{name:"Stephenson Guthrie",company:"EXOSWITCH",email:"[email protected]",phone:"+1 (903) 449-3271"},{name:"Mcmillan Cline",company:"TURNLING",email:"[email protected]",phone:"+1 (982) 496-2454"},{name:"Kemp Davis",company:"TETRATREX",email:"[email protected]",phone:"+1 (859) 594-2982"},{name:"Matilda Levy",company:"SLOFAST",email:"[email protected]",phone:"+1 (841) 521-2444"},{name:"Hattie Simpson",company:"COMTRAK",email:"[email protected]",phone:"+1 (962) 587-3805"},{name:"Kinney Munoz",company:"IDETICA",email:"[email protected]",phone:"+1 (921) 513-2012"},{name:"Lambert Raymond",company:"TURNABOUT",email:"[email protected]",phone:"+1 (919) 519-2442"},{name:"Bryant Dunlap",company:"BYTREX",email:"[email protected]",phone:"+1 (872) 583-2883"}],o=()=>{const r=t.useCallback(n=>{const[S,R]=n,p=s[R][["name","company","email","phone"][S]];return{kind:M.Text,allowOverlay:!1,displayData:p,data:p}},[]),[m,C]=t.useState(!1),[c,w]=t.useState(!1),[d,f]=t.useState(!0),h=t.useMemo(()=>[{title:"Name",id:"name"},{title:"Company",id:"company"},{title:"Email",id:"email"},{title:"Phone",id:"phone"}],[]);return l(T,{children:[e(a,{children:` | ||
import{j as e,a as l}from"./marked.esm-dbrxtycE.js";import{r as t}from"./index-BMVQvedj.js";import{G as M}from"./image-window-loader-aMebukIX.js";import{D as u}from"./data-editor-all-kwt0I9Kc.js";import{S as x}from"./story-utils-K2EZnGjM.js";import{D as T,M as a,H as i,W as y}from"./doc-wrapper-m1-LpzDL.js";import"./throttle-7EuXLZa7.js";import"./_baseIteratee-WTHxv43n.js";import"./iframe-lQqvcp2b.js";import"../sb-preview/runtime.js";import"./flatten-qRvRBp6y.js";import"./scrolling-data-grid-AbyJF5mC.js";import"./toConsumableArray-ppDpjNRJ.js";const F={title:"Glide-Data-Grid/Docs",decorators:[r=>e(x,{children:e(r,{})})]},s=[{name:"Deidre Morris",company:"GONKLE",email:"[email protected]",phone:"+1 (867) 507-3332"},{name:"Sheryl Craig",company:"EVENTAGE",email:"[email protected]",phone:"+1 (869) 520-2227"},{name:"Lidia Bowers",company:"ANOCHA",email:"[email protected]",phone:"+1 (808) 414-3826"},{name:"Jones Norton",company:"REPETWIRE",email:"[email protected]",phone:"+1 (875) 582-3320"},{name:"Lula Bruce",company:"COMDOM",email:"[email protected]",phone:"+1 (873) 452-2472"},{name:"Larsen Montgomery",company:"SQUISH",email:"[email protected]",phone:"+1 (893) 482-3651"},{name:"Becky Bright",company:"COMCUR",email:"[email protected]",phone:"+1 (879) 494-2331"},{name:"Charlotte Rowland",company:"FROLIX",email:"[email protected]",phone:"+1 (861) 439-2134"},{name:"Sonya Hensley",company:"GEEKETRON",email:"[email protected]",phone:"+1 (802) 553-2194"},{name:"Stephenson Guthrie",company:"EXOSWITCH",email:"[email protected]",phone:"+1 (903) 449-3271"},{name:"Mcmillan Cline",company:"TURNLING",email:"[email protected]",phone:"+1 (982) 496-2454"},{name:"Kemp Davis",company:"TETRATREX",email:"[email protected]",phone:"+1 (859) 594-2982"},{name:"Matilda Levy",company:"SLOFAST",email:"[email protected]",phone:"+1 (841) 521-2444"},{name:"Hattie Simpson",company:"COMTRAK",email:"[email protected]",phone:"+1 (962) 587-3805"},{name:"Kinney Munoz",company:"IDETICA",email:"[email protected]",phone:"+1 (921) 513-2012"},{name:"Lambert Raymond",company:"TURNABOUT",email:"[email protected]",phone:"+1 (919) 519-2442"},{name:"Bryant Dunlap",company:"BYTREX",email:"[email protected]",phone:"+1 (872) 583-2883"}],o=()=>{const r=t.useCallback(n=>{const[S,R]=n,p=s[R][["name","company","email","phone"][S]];return{kind:M.Text,allowOverlay:!1,displayData:p,data:p}},[]),[m,C]=t.useState(!1),[c,w]=t.useState(!1),[d,f]=t.useState(!0),h=t.useMemo(()=>[{title:"Name",id:"name"},{title:"Company",id:"company"},{title:"Email",id:"email"},{title:"Phone",id:"phone"}],[]);return l(T,{children:[e(a,{children:` | ||
# Getting Started | ||
Glide data grid is a powerful but flexible library requiring very few concepts required to get started. The grid will need data, columns, and a \`getCellContent\` callback to convert our data into cells on demand. Because the callback is used, there is no need to pre-format the data in any particular way, so long as it can be transformed into a cell. This example uses a flat array of objects.`}),e(i,{children:` | ||
|
2 changes: 1 addition & 1 deletion
2
...ssets/02-editing-data.stories-oN1JISL-.js → ...ssets/02-editing-data.stories-vm8AfesG.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import{j as e,a as T}from"./marked.esm-dbrxtycE.js";import{r as i}from"./index-BMVQvedj.js";import{G as s}from"./image-window-loader-ae1-l40w.js";import{D as h}from"./data-editor-all-vh5PYcJs.js";import{S as b}from"./story-utils-K2EZnGjM.js";import{D as x,M as d,H as y,W as u}from"./doc-wrapper-m1-LpzDL.js";import"./throttle-7EuXLZa7.js";import"./_baseIteratee-WTHxv43n.js";import"./iframe-qD4w8K__.js";import"../sb-preview/runtime.js";import"./flatten-qRvRBp6y.js";import"./scrolling-data-grid-GIDCmpe8.js";import"./toConsumableArray-ppDpjNRJ.js";const W={title:"Glide-Data-Grid/Docs",decorators:[a=>e(b,{children:e(a,{})})]},f=[{name:"Deidre Morris",company:"GONKLE",email:"[email protected]",phone:"+1 (867) 507-3332"},{name:"Sheryl Craig",company:"EVENTAGE",email:"[email protected]",phone:"+1 (869) 520-2227"},{name:"Lidia Bowers",company:"ANOCHA",email:"[email protected]",phone:"+1 (808) 414-3826"},{name:"Jones Norton",company:"REPETWIRE",email:"[email protected]",phone:"+1 (875) 582-3320"},{name:"Lula Bruce",company:"COMDOM",email:"[email protected]",phone:"+1 (873) 452-2472"},{name:"Larsen Montgomery",company:"SQUISH",email:"[email protected]",phone:"+1 (893) 482-3651"},{name:"Becky Bright",company:"COMCUR",email:"[email protected]",phone:"+1 (879) 494-2331"},{name:"Charlotte Rowland",company:"FROLIX",email:"[email protected]",phone:"+1 (861) 439-2134"},{name:"Sonya Hensley",company:"GEEKETRON",email:"[email protected]",phone:"+1 (802) 553-2194"},{name:"Stephenson Guthrie",company:"EXOSWITCH",email:"[email protected]",phone:"+1 (903) 449-3271"},{name:"Mcmillan Cline",company:"TURNLING",email:"[email protected]",phone:"+1 (982) 496-2454"},{name:"Kemp Davis",company:"TETRATREX",email:"[email protected]",phone:"+1 (859) 594-2982"},{name:"Matilda Levy",company:"SLOFAST",email:"[email protected]",phone:"+1 (841) 521-2444"},{name:"Hattie Simpson",company:"COMTRAK",email:"[email protected]",phone:"+1 (962) 587-3805"},{name:"Kinney Munoz",company:"IDETICA",email:"[email protected]",phone:"+1 (921) 513-2012"},{name:"Lambert Raymond",company:"TURNABOUT",email:"[email protected]",phone:"+1 (919) 519-2442"},{name:"Bryant Dunlap",company:"BYTREX",email:"[email protected]",phone:"+1 (872) 583-2883"}],m=()=>{const a=i.useRef([{name:"Deidre Morris",company:"GONKLE",email:"[email protected]",phone:"+1 (867) 507-3332"},{name:"Sheryl Craig",company:"EVENTAGE",email:"[email protected]",phone:"+1 (869) 520-2227"},{name:"Lidia Bowers",company:"ANOCHA",email:"[email protected]",phone:"+1 (808) 414-3826"},{name:"Jones Norton",company:"REPETWIRE",email:"[email protected]",phone:"+1 (875) 582-3320"},{name:"Lula Bruce",company:"COMDOM",email:"[email protected]",phone:"+1 (873) 452-2472"},{name:"Larsen Montgomery",company:"SQUISH",email:"[email protected]",phone:"+1 (893) 482-3651"},{name:"Becky Bright",company:"COMCUR",email:"[email protected]",phone:"+1 (879) 494-2331"},{name:"Charlotte Rowland",company:"FROLIX",email:"[email protected]",phone:"+1 (861) 439-2134"},{name:"Sonya Hensley",company:"GEEKETRON",email:"[email protected]",phone:"+1 (802) 553-2194"},{name:"Stephenson Guthrie",company:"EXOSWITCH",email:"[email protected]",phone:"+1 (903) 449-3271"},{name:"Mcmillan Cline",company:"TURNLING",email:"[email protected]",phone:"+1 (982) 496-2454"},{name:"Kemp Davis",company:"TETRATREX",email:"[email protected]",phone:"+1 (859) 594-2982"},{name:"Matilda Levy",company:"SLOFAST",email:"[email protected]",phone:"+1 (841) 521-2444"},{name:"Hattie Simpson",company:"COMTRAK",email:"[email protected]",phone:"+1 (962) 587-3805"},{name:"Kinney Munoz",company:"IDETICA",email:"[email protected]",phone:"+1 (921) 513-2012"},{name:"Lambert Raymond",company:"TURNABOUT",email:"[email protected]",phone:"+1 (919) 519-2442"},{name:"Bryant Dunlap",company:"BYTREX",email:"[email protected]",phone:"+1 (872) 583-2883"}]),E=i.useCallback(t=>{const[o,l]=t,n=a.current[l][["name","company","email","phone"][o]];return{kind:s.Text,allowOverlay:!0,displayData:n,data:n}},[]),k=i.useCallback(t=>{const[o,l]=t,n=f[l][["name","company","email","phone"][o]];return{kind:s.Text,allowOverlay:!0,displayData:n,data:n}},[]),R=i.useCallback((t,o)=>{if(o.kind!==s.Text)return;const l=["name","company","email","phone"],[r,c]=t,n=l[r];a.current[c][n]=o.data},[]),p=i.useMemo(()=>[{title:"Name",id:"name"},{title:"Company",id:"company"},{title:"Email",id:"email"},{title:"Phone",id:"phone"}],[]);return T(x,{children:[e(d,{children:` | ||
import{j as e,a as T}from"./marked.esm-dbrxtycE.js";import{r as i}from"./index-BMVQvedj.js";import{G as s}from"./image-window-loader-aMebukIX.js";import{D as h}from"./data-editor-all-kwt0I9Kc.js";import{S as b}from"./story-utils-K2EZnGjM.js";import{D as x,M as d,H as y,W as u}from"./doc-wrapper-m1-LpzDL.js";import"./throttle-7EuXLZa7.js";import"./_baseIteratee-WTHxv43n.js";import"./iframe-lQqvcp2b.js";import"../sb-preview/runtime.js";import"./flatten-qRvRBp6y.js";import"./scrolling-data-grid-AbyJF5mC.js";import"./toConsumableArray-ppDpjNRJ.js";const W={title:"Glide-Data-Grid/Docs",decorators:[a=>e(b,{children:e(a,{})})]},f=[{name:"Deidre Morris",company:"GONKLE",email:"[email protected]",phone:"+1 (867) 507-3332"},{name:"Sheryl Craig",company:"EVENTAGE",email:"[email protected]",phone:"+1 (869) 520-2227"},{name:"Lidia Bowers",company:"ANOCHA",email:"[email protected]",phone:"+1 (808) 414-3826"},{name:"Jones Norton",company:"REPETWIRE",email:"[email protected]",phone:"+1 (875) 582-3320"},{name:"Lula Bruce",company:"COMDOM",email:"[email protected]",phone:"+1 (873) 452-2472"},{name:"Larsen Montgomery",company:"SQUISH",email:"[email protected]",phone:"+1 (893) 482-3651"},{name:"Becky Bright",company:"COMCUR",email:"[email protected]",phone:"+1 (879) 494-2331"},{name:"Charlotte Rowland",company:"FROLIX",email:"[email protected]",phone:"+1 (861) 439-2134"},{name:"Sonya Hensley",company:"GEEKETRON",email:"[email protected]",phone:"+1 (802) 553-2194"},{name:"Stephenson Guthrie",company:"EXOSWITCH",email:"[email protected]",phone:"+1 (903) 449-3271"},{name:"Mcmillan Cline",company:"TURNLING",email:"[email protected]",phone:"+1 (982) 496-2454"},{name:"Kemp Davis",company:"TETRATREX",email:"[email protected]",phone:"+1 (859) 594-2982"},{name:"Matilda Levy",company:"SLOFAST",email:"[email protected]",phone:"+1 (841) 521-2444"},{name:"Hattie Simpson",company:"COMTRAK",email:"[email protected]",phone:"+1 (962) 587-3805"},{name:"Kinney Munoz",company:"IDETICA",email:"[email protected]",phone:"+1 (921) 513-2012"},{name:"Lambert Raymond",company:"TURNABOUT",email:"[email protected]",phone:"+1 (919) 519-2442"},{name:"Bryant Dunlap",company:"BYTREX",email:"[email protected]",phone:"+1 (872) 583-2883"}],m=()=>{const a=i.useRef([{name:"Deidre Morris",company:"GONKLE",email:"[email protected]",phone:"+1 (867) 507-3332"},{name:"Sheryl Craig",company:"EVENTAGE",email:"[email protected]",phone:"+1 (869) 520-2227"},{name:"Lidia Bowers",company:"ANOCHA",email:"[email protected]",phone:"+1 (808) 414-3826"},{name:"Jones Norton",company:"REPETWIRE",email:"[email protected]",phone:"+1 (875) 582-3320"},{name:"Lula Bruce",company:"COMDOM",email:"[email protected]",phone:"+1 (873) 452-2472"},{name:"Larsen Montgomery",company:"SQUISH",email:"[email protected]",phone:"+1 (893) 482-3651"},{name:"Becky Bright",company:"COMCUR",email:"[email protected]",phone:"+1 (879) 494-2331"},{name:"Charlotte Rowland",company:"FROLIX",email:"[email protected]",phone:"+1 (861) 439-2134"},{name:"Sonya Hensley",company:"GEEKETRON",email:"[email protected]",phone:"+1 (802) 553-2194"},{name:"Stephenson Guthrie",company:"EXOSWITCH",email:"[email protected]",phone:"+1 (903) 449-3271"},{name:"Mcmillan Cline",company:"TURNLING",email:"[email protected]",phone:"+1 (982) 496-2454"},{name:"Kemp Davis",company:"TETRATREX",email:"[email protected]",phone:"+1 (859) 594-2982"},{name:"Matilda Levy",company:"SLOFAST",email:"[email protected]",phone:"+1 (841) 521-2444"},{name:"Hattie Simpson",company:"COMTRAK",email:"[email protected]",phone:"+1 (962) 587-3805"},{name:"Kinney Munoz",company:"IDETICA",email:"[email protected]",phone:"+1 (921) 513-2012"},{name:"Lambert Raymond",company:"TURNABOUT",email:"[email protected]",phone:"+1 (919) 519-2442"},{name:"Bryant Dunlap",company:"BYTREX",email:"[email protected]",phone:"+1 (872) 583-2883"}]),E=i.useCallback(t=>{const[o,l]=t,n=a.current[l][["name","company","email","phone"][o]];return{kind:s.Text,allowOverlay:!0,displayData:n,data:n}},[]),k=i.useCallback(t=>{const[o,l]=t,n=f[l][["name","company","email","phone"][o]];return{kind:s.Text,allowOverlay:!0,displayData:n,data:n}},[]),R=i.useCallback((t,o)=>{if(o.kind!==s.Text)return;const l=["name","company","email","phone"],[r,c]=t,n=l[r];a.current[c][n]=o.data},[]),p=i.useMemo(()=>[{title:"Name",id:"name"},{title:"Company",id:"company"},{title:"Email",id:"email"},{title:"Phone",id:"phone"}],[]);return T(x,{children:[e(d,{children:` | ||
# Editing Data | ||
Editing data is handled via callbacks. Taking the getting started example as a starting point, the \`getContent\` callback can be modified to allow editing.`}),e(y,{children:` | ||
|
2 changes: 1 addition & 1 deletion
2
...assets/03-grid-column.stories--TNgEq6o.js → ...assets/03-grid-column.stories-rBwMNHDn.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.