@elastic/react-search-ui-views
TypeScript icon, indicating that this package has built-in type declarations

1.24.1 • Public • Published

react-search-ui-views

Part of the Search UI project.

This is the view layer for react-search-ui.

This library provides view implementations for all of React Search UI's components along with corresponding CSS, and a few layout components.

The components provided here have no logic behind them, they are simple, stateless, view-only components.

Usage

import React from "react";
import {
  Layout,
  PagingInfo,
  Result,
  SearchBox
} from "@elastic/react-search-ui-views";
import "@elastic/react-search-ui-views/lib/styles/styles.css";

export default function App() {
  return (
    <div>
      <Layout
        header={<SearchBox value="test" />}
        bodyHeader={
          <div className="meta">
            <PagingInfo
              end={10}
              searchTerm={"test"}
              start={1}
              totalResults={100}
            />
          </div>
        }
        bodyContent={
          <div>
            <Result
              title="A Result"
              fields={{ description: "This is an example of a result" }}
            />
          </div>
        }
      />
    </div>
  );
}

Storybook

A visual component reference is available locally. It is built with Storybook, and can be run locally with the following command:

npm run storybook

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.24.19,423latest

Version History

VersionDownloads (Last 7 Days)Published
1.24.19,423
1.24.05
1.23.1140
1.23.0985
1.22.21,726
1.22.154
1.22.073
1.21.51,907
1.21.454
1.21.328
1.21.284
1.21.1332
1.21.07
1.20.285,330
1.20.14
1.20.03
1.19.1233
1.19.03
1.18.3147
1.18.2260
1.8.23
1.18.124
1.18.015
1.17.1347
1.17.03
1.16.020
1.15.066
1.14.0268
1.13.03
1.12.13
1.12.03
1.11.324
1.11.215
1.11.13
1.11.03
1.11.0-canary.03
1.10.23
1.10.16
1.10.04
1.10.0-rc.13
1.10.0-rc.03
1.9.021
1.8.0328
1.8.0-rc.03
1.8.0-canary.13
1.7.0255
1.6.13
1.6.02,279
1.5.1110
1.5.1-rc.03
1.5.052
1.5.0-rc.33
1.5.0-rc.03
1.4.1389
1.4.1-rc.03
1.4.03
1.4.0-rc.43
1.4.0-rc.34
1.3.37
1.4.0-rc.03
1.4.0-canary.63
1.4.0-canary.53
1.3.3-minor.83
1.3.3-minor.33
1.3.3-minor.23
1.3.3-minor.13
1.3.3-canary.13
1.3.3-canary.03
1.3.21,457
1.3.13
1.3.0146
1.3.0-canary.113
1.2.04
1.2.0-rc.03
1.1.03
1.0.1-canary1.223
1.0.1-canary.223
1.0.0194
1.0.0-rc.23
1.0.0-rc.13
1.0.0-canary.33
1.0.0-alpha.13
1.0.0-rc.03
0.12.13
0.12.01
0.11.1-alpha.01
0.11.01
0.10.0126
0.9.2-alpha.63
0.9.33
0.9.23
0.9.15
0.9.03
0.8.045
0.7.03
0.6.03
0.5.33
0.5.23
0.5.13
0.5.03
0.4.03
0.3.03
0.2.13
0.2.03
0.1.01

Package Sidebar

Install

npm i @elastic/react-search-ui-views

Weekly Downloads

107,178

Version

1.24.1

License

Apache-2.0

Unpacked Size

88.2 kB

Total Files

8

Last publish

Collaborators

  • jen-huang
  • delvedor
  • lukasolson
  • ccowan
  • jbudz
  • thomasneirynck
  • verogo
  • weltenwort
  • pugnascotia
  • zinckiwi
  • brandon.kobel
  • nreese
  • mgreau
  • jonahbull
  • leathekd
  • lukeelmers
  • ddillinger
  • jasonstoltz
  • bamieh
  • markov00
  • joshmock
  • vignesh.shanmugam
  • watson
  • rhodesjason
  • jmlrt
  • mattkime
  • afoucret
  • nickpeihl
  • axw
  • mistic
  • elasticmachine
  • gtback
  • pickypg
  • trentm
  • andrewvc-elastic
  • jorge.sanz
  • stratoula
  • nkammah
  • streamich
  • nickofthyme
  • phoey1
  • breehall
  • kyrspl
  • johnwcambra
  • colleen.mcginnis
  • legrego
  • banerjeesoham004
  • patryk.kopycinski
  • kibanamachine
  • tkajtoch
  • cindy_c
  • cbishopewc
  • lenegadewoll
  • asnyder-elastic
  • lgestc
  • weronika-olejniczak
  • elena-shostak
  • kc13greiner
  • yan.savitski
  • jeramysoucy
  • miguel-elastic
  • bradtimmerman
  • obltmachine
  • jbwelastic
  • acstll
  • bmorelli25
  • sddonne