playbook_ui 12.9.0 → 12.9.1.pre.alpha.PLAY689bugtxtinputlabel346

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d54aec3679094e4791b7db4d872da00502f1acc507ca01c5a9fef896198ba177
4
- data.tar.gz: f53ca38f7afc809696e91d76b9f689cd06d9cde9dffec33b2c190a4b6f4d9e29
3
+ metadata.gz: 969cff053238e0cdd3ab39c8e80aeed6f36e04fc853a18838e5301fc1c0f4fc2
4
+ data.tar.gz: fd281ea5d8c16b9fbe5eb8d9a4d556c8a801510282a309bc29777d6e2fb861f3
5
5
  SHA512:
6
- metadata.gz: 320612793bc0c3514229b1b91fd4b4d4f00af1e6c7768d2ce39fdfb5068099f15bc2b54eafea487257435fcc9e5f0e2e542ab2c98c0868703d8c6ce6e6635746
7
- data.tar.gz: 026d43d85426caad4497c0a44456ed005e8392911f493c6e0677eb0906d7f74e93acdea1a4f3003973ca949194d04a7f9d4f099298a903b6a27c531eaaad5d7b
6
+ metadata.gz: b87e2aebe7c5ba530cac6c24e1a3f6ec201a0910e2b1916fe8b2d975837c3137e301f6559a6db539b3c6ded899dbb7226724ea78b3f2f87e1495175ce3b0b098
7
+ data.tar.gz: 885e36256d35b2d99d799af8e8d729efac2ac72386b3700adcaea17a26402490124270b113e6a02b1f0ec3db80187c0f8483cc7dafcee6449f1ae31f5ccb91a0
@@ -140,10 +140,12 @@ const TextInput = (props: TextInputProps, ref: React.LegacyRef<HTMLInputElement>
140
140
  {...dataProps}
141
141
  className={css}
142
142
  >
143
- <Caption
144
- className="pb_text_input_kit_label"
145
- text={label}
146
- />
143
+ {label &&
144
+ <Caption
145
+ className="pb_text_input_kit_label"
146
+ text={label}
147
+ />
148
+ }
147
149
  <div className={`${addOnCss} text_input_wrapper`}>
148
150
  {render}
149
151
 
@@ -0,0 +1,4 @@
1
+ <%= pb_rails("text_input", props: {
2
+ placeholder: "Enter email address",
3
+ type: "email"
4
+ }) %>
@@ -0,0 +1,23 @@
1
+ import React, { useState } from 'react'
2
+
3
+ import TextInput from '../_text_input'
4
+
5
+ const TextInputNoLabel = (props) => {
6
+ const [email, setEmail] = useState('')
7
+
8
+ const handleUpdateEmail = ({ target }) => {
9
+ setEmail(target.value)
10
+ }
11
+ return (
12
+ <div>
13
+ <TextInput
14
+ onChange={handleUpdateEmail}
15
+ placeholder="Enter email address"
16
+ type="email"
17
+ value={email}
18
+ {...props}
19
+ />
20
+ </div>
21
+ )
22
+ }
23
+ export default TextInputNoLabel
@@ -6,6 +6,7 @@ examples:
6
6
  - text_input_disabled: Disabled
7
7
  - text_input_add_on: Add On
8
8
  - text_input_inline: Inline
9
+ - text_input_no_label: No Label
9
10
  react:
10
11
  - text_input_default: Default
11
12
  - text_input_error: With Error
@@ -13,3 +14,4 @@ examples:
13
14
  - text_input_disabled: Disabled
14
15
  - text_input_add_on: Add On
15
16
  - text_input_inline: Inline
17
+ - text_input_no_label: No Label
@@ -4,3 +4,4 @@ export { default as TextInputError } from './_text_input_error.jsx'
4
4
  export { default as TextInputDisabled } from './_text_input_disabled.jsx'
5
5
  export { default as TextInputAddOn } from './_text_input_add_on.jsx'
6
6
  export { default as TextInputInline } from './_text_input_inline.jsx'
7
+ export { default as TextInputNoLabel } from './_text_input_no_label.jsx'
@@ -1,7 +1,11 @@
1
1
  .pb_treemap_chart {
2
2
  .highcharts-drillup-button {
3
- @import 'highcharts/css/highcharts.scss';
4
-
3
+ .highcharts-button-box {
4
+ fill: $primary;
5
+ &:hover {
6
+ fill: #004ebb;
7
+ }
8
+ }
5
9
  text {
6
10
  transform: translateX(25px);
7
11
  fill: $white;
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "12.8.0"
5
- VERSION = "12.9.0"
4
+ PREVIOUS_VERSION = "12.9.1"
5
+ VERSION = "12.9.1.pre.alpha.PLAY689bugtxtinputlabel346"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.9.0
4
+ version: 12.9.1.pre.alpha.PLAY689bugtxtinputlabel346
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-16 00:00:00.000000000 Z
12
+ date: 2023-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -2000,6 +2000,8 @@ files:
2000
2000
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.md
2001
2001
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb
2002
2002
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
2003
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb
2004
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx
2003
2005
  - app/pb_kits/playbook/pb_text_input/docs/example.yml
2004
2006
  - app/pb_kits/playbook/pb_text_input/docs/index.js
2005
2007
  - app/pb_kits/playbook/pb_text_input/text_input.html.erb
@@ -2445,7 +2447,7 @@ homepage: http://playbook.powerapp.cloud
2445
2447
  licenses:
2446
2448
  - ISC
2447
2449
  metadata: {}
2448
- post_install_message:
2450
+ post_install_message:
2449
2451
  rdoc_options: []
2450
2452
  require_paths:
2451
2453
  - lib
@@ -2456,12 +2458,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
2456
2458
  version: '0'
2457
2459
  required_rubygems_version: !ruby/object:Gem::Requirement
2458
2460
  requirements:
2459
- - - ">="
2461
+ - - ">"
2460
2462
  - !ruby/object:Gem::Version
2461
- version: '0'
2463
+ version: 1.3.1
2462
2464
  requirements: []
2463
2465
  rubygems_version: 3.3.7
2464
- signing_key:
2466
+ signing_key:
2465
2467
  specification_version: 4
2466
2468
  summary: Playbook Design System
2467
2469
  test_files: []